:root {
  --primary-red: #d32f2f;
  --primary-green: #2e7d32;
  --dark-bg: #1a1a1a;
  --light-bg: #f8f9fa;
  --text-dark: #333333;
  --text-light: #666666;
  --border-color: #e0e0e0;
  --accent-gold: #ffc107;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Navbar Styles */
.navbar-custom {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-red) 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.5rem;
}

.logo-img {
  height: 60px;
  width: auto;
}

.brand-text {
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.dropdown-menu {
  background: white;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover {
  background-color: var(--light-bg);
  color: var(--primary-red);
}

/* Hero Section */
.hero-section {
  height: 600px;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: white;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-section > .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}



.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-primary {
  background-color: var(--accent-gold);
  border: none;
  color: var(--primary-red);
  font-weight: 600;
  padding: 12px 30px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
  font-weight: 600;
  padding: 10px 28px;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--primary-red);
  transform: translateY(-2px);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-red) 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1.3rem;
  opacity: 0.9;
}

/* Section Title */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-red);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary-green);
}

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

.feature-card {
  background: white;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-red);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-red);
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* Services Overview */
.service-item {
  background: white;
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-green);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.service-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateX(5px);
}

.service-item h4 {
  color: var(--primary-red);
  margin-bottom: 15px;
  font-weight: 600;
}

.service-item i {
  color: var(--primary-green);
  margin-right: 10px;
}

.learn-more {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 15px;
}

.learn-more:hover {
  transform: translateX(5px);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-green) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.btn-light {
  background-color: white;
  color: var(--primary-red);
  font-weight: 600;
  border: none;
  padding: 12px 40px;
  transition: all 0.3s ease;
}

.btn-light:hover {
  background-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Mission Cards */
.mission-card {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.mission-icon {
  font-size: 3.5rem;
  color: var(--primary-green);
  margin-bottom: 20px;
}

.mission-card h3 {
  color: var(--primary-red);
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.mission-card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Value Cards */
.value-card {
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.1) 0%, rgba(46, 125, 50, 0.1) 100%);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: var(--primary-red);
  box-shadow: 0 10px 25px rgba(211, 47, 47, 0.15);
  transform: translateY(-5px);
}

.value-card h4 {
  color: var(--primary-red);
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Team Cards */
.team-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-image {
  height: 280px;
  overflow: hidden;
  background: var(--light-bg);
}

.team-image img {
  transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-info {
  padding: 25px;
}

.team-info h4 {
  color: var(--primary-red);
  font-size: 1.3rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.position {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.team-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Service Detail Pages */
.service-detail {
  padding: 60px 0;
}

.service-detail h2 {
  color: var(--primary-red);
  margin-bottom: 20px;
}

.service-benefits {
  list-style: none;
  padding: 0;
}

.service-benefits li {
  padding: 12px 0;
  color: var(--text-dark);
  font-size: 1.05rem;
  border-bottom: 1px solid var(--border-color);
}

.service-benefits li:last-child {
  border-bottom: none;
}

.service-benefits i {
  color: var(--primary-green);
  margin-right: 12px;
  font-weight: bold;
}

/* Contact Cards */
.contact-card {
  background: white;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--primary-red);
  margin-bottom: 20px;
}

.contact-card h4 {
  color: var(--primary-red);
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
}

.contact-card p {
  color: var(--text-light);
  line-height: 1.8;
}



/* Contact Form */
.contact-form {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-form .form-label {
  color: var(--primary-red);
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-form .form-control {
  border: 2px solid var(--border-color);
  border-radius: 6px;
  padding: 12px;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.25);
}

/* Office Hours */
.office-hours {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.hours-item {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.hours-item:last-child {
  border-bottom: none;
}

.hours-item h5 {
  color: var(--primary-red);
  margin-bottom: 10px;
  font-weight: 600;
}

.hours-item p {
  color: var(--text-light);
  margin: 0;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-green) 100%);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background: var(--dark-bg);
  color: white;
  padding: 0;
}

.footer h5 {
  color: var(--accent-gold);
  margin-bottom: 20px;
  font-weight: 700;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .hero-buttons {
    flex-direction: column;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .feature-card,
  .mission-card,
  .contact-card {
    padding: 25px;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }

  .logo-img {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .feature-card,
  .mission-card {
    padding: 20px;
  }

  .contact-form {
    padding: 20px;
  }
}
