/* Global Styles */
:root {
  --primary-color: #FFC0CB;
  --secondary-color: #212529;
  --accent-color: #f8f9fa;
  --text-color: #333333;
  --light-gray: #e9ecef;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--text-color);
  background-color: #f8f9fa;
}

/* Header & Navigation */
.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("/placeholder.svg?height=800&width=1600");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

/* Tool Cards */
.tool-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tool-card .card-img-top {
  height: 180px;
  object-fit: cover;
}

.tool-card .card-title {
  font-weight: 600;
  color: var(--primary-color);
}

/* Tool Forms */
.tool-form {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tool-form h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.tool-result {
  background-color: var(--light-gray);
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #cc0000;
  border-color: #cc0000;
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Features Section */
.features-section {
  padding: 80px 0;
}

.feature-box {
  text-align: center;
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.feature-box i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Testimonials */
.testimonial {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.testimonial-author {
  font-weight: 600;
  margin-top: 15px;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: white;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Admin Panel */
.admin-sidebar {
  background-color: var(--secondary-color);
  color: white;
  min-height: 100vh;
  padding: 20px 0;
}

.admin-sidebar .nav-link {
  color: rgba(255, 255, 255, 0.8);
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.admin-content {
  padding: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .tool-card .card-img-top {
    height: 150px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
