* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --primary-green: #568223; /* Olive/Moss Green */
  --light-green: #dcedc8; /* Very light green */
  --dark-green: #689f38; /* Darker Olive Green */
  --white: #ffffff; /* White */
  --light-gray: #f5f5f5; /* Very light gray */
  --dark-gray: #212121; /* Darker Gray/Black */
}

/* Body Styling */
body {
  font-family: "Open Sans", sans-serif;
  color: var(--dark-gray);
  background-color: var(--white);
  padding-top: 80px; /* Account for fixed navbar */
}

/* Navbar Styling */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

.navbar.scrolled {
  background-color: var(--light-gray);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

/* Navigation Links */
.nav-link {
  color: var(--dark-gray) !important;
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-green) !important;
}

.nav-link.active {
  color: var(--primary-green) !important;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background-color: var(--primary-green);
  border-radius: 2px;
}

/* Dropdown Menu */
.dropdown-menu {
  background-color: var(--white);
  border: 1px solid var(--light-green);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 0.5rem 0;
}

.dropdown-item {
  color: var(--dark-gray);
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-item i {
  color: var(--primary-green);
  width: 20px;
}

.dropdown-item:hover {
  background-color: var(--light-green);
  color: var(--dark-green);
  padding-left: 2rem;
}

.dropdown-item:active {
  background-color: var(--dark-green);
  color: var(--white);
}

/* Service Dropdown Specific Styling */
.service-dropdown .dropdown-menu {
  min-width: 350px;
}

.service-dropdown .dropdown-item {
  flex-direction: row;
  align-items: flex-start;
}

.service-dropdown .dropdown-item i {
  font-size: 1.5rem;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

.service-dropdown .dropdown-item strong {
  color: var(--dark-green);
}

.service-dropdown .dropdown-item:hover strong {
  color: var(--primary-green);
}

/* Navbar Toggler */
.navbar-toggler {
  border-color: var(--primary-green);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(86, 130, 35, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(86, 130, 35)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Page Content */
h1 {
  color: var(--primary-green);
  /* margin-top: 2rem; */
  margin-bottom: 1rem;
  font-weight: 700;
}

.lead {
  color: var(--dark-gray);
  margin-bottom: 2rem;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--white);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-link.active::after {
    display: none;
  }

  .dropdown-menu {
    border: none;
    box-shadow: none;
    background-color: var(--light-gray);
    margin-left: 1rem;
  }
}

/* Footer */

/* Custom Dropdown Styles (Kept for the unique 'dropup' animation/placement) */
.custom-dropdown {
  position: relative;
  list-style: none;
}

.custom-dropdown-toggle {
  cursor: pointer;
  display: block;
  padding: 0.5rem 0; /* Consistent padding for base drop-down toggle */
  position: relative;
  color: var(--light-gray) !important;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  font-weight: 600;
}

.custom-dropdown-toggle:hover {
  color: var(--primary-green) !important;
  text-decoration: none;
}

.custom-dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  /* Positioning for 'dropup' effect */
  bottom: 100%;
  background: var(--dark-green);
  min-width: 220px;
  border-radius: 4px;
  /* REDESIGN: Added a subtle border for definition */
  border: 1px solid var(--primary-green);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.4); /* Slightly stronger shadow */
  z-index: 1000;
  margin-bottom: 5px;
  transform-origin: bottom center;
  animation: dropup 0.2s ease-out;
}

@keyframes dropup {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--light-gray) !important;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Slightly clearer separator */
}

.custom-dropdown-item:last-child {
  border-bottom: none;
}

/* REDESIGN: Updated hover for contrast and vibrancy */
.custom-dropdown-item:hover {
  background-color: var(--primary-green);
  color: var(
    --light-green
  ) !important; /* Changed to light-green for vibrant text */
  text-decoration: none;
  padding-left: 1.25rem;
}

.custom-dropdown-menu.show {
  display: block;
}

/* --- Footer CSS --- */
footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 4rem 0 2rem;
  font-family: "Inter", sans-serif; /* Recommended font */
}

footer h4 {
  color: var(--light-green);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

footer h5 {
  color: var(--light-green);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

footer p {
  color: var(--light-gray);
  line-height: 1.8;
  font-size: 0.95rem;
}

.footer-links li {
  margin-bottom: 0.1rem; /* Reduced margin to tighten up list */
}

/* Base link styling for Quick Links and Courses */
.footer-links a {
  color: var(--light-gray);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: block;
  font-weight: 600;
  padding: 0.35rem 0.5rem; /* Consistent padding for block hover */
  border-radius: 4px;
}

/* Hover effect for Quick Links and Courses list items */
.footer-links a:hover {
  color: var(--light-green) !important;
  background-color: rgba(86, 130, 35, 0.2); /* Subtle green background shade */
  text-decoration: none;
  padding-left: 0.75rem; /* Slight indent on hover */
}

/* Ensure the custom dropdown toggle respects the new base padding */
.custom-dropdown-toggle {
  padding: 0.35rem 0.5rem;
}

.footer-contact li {
  color: var(--light-gray);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-contact a {
  color: var(--light-gray);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-contact a:hover {
  color: var(--primary-green);
  text-decoration: none;
}

.footer-contact i {
  color: var(--primary-green);
  width: 20px;
  margin-right: 0.5rem !important;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
}

/* Single Social Link */
.single-social {
  width: auto;
  min-width: 120px;
  height: 40px;
  border-radius: 25px;
  padding: 0 20px;
  background: var(--primary-green);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  text-decoration: none;
  color: var(--white);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Added cubic-bezier for smoother motion */
}

.single-social .social-text {
  font-size: 1rem;
  font-weight: 500;
}

/* Enhanced Follow Us hover effect */
.single-social:hover {
  background: var(--dark-green);
  color: var(--white);
  transform: scale(1.03); /* Subtle zoom effect */
  box-shadow: 0 5px 15px rgba(86, 130, 35, 0.6); /* Enhanced shadow */
}

.single-social i {
  font-size: 1.25rem;
}

footer .btn-success {
  background: var(--primary-green);
  border: none;
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

footer .btn-success:hover {
  background: var(--dark-green);
}

.copyright {
  color: var(--light-gray);
  font-size: 0.9rem;
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991.98px) {
  footer {
    padding: 3rem 0 1rem;
  }

  footer .col-lg-3 {
    margin-bottom: 2rem;
  }

  .custom-dropdown-menu {
    left: 0;
    right: auto;
  }
}

/* Contact Modal Styles - Modern Design */
#contactModal .modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

#contactModal .modal-header {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  color: var(--white);
  border-bottom: none;
  padding: 2rem;
  position: relative;
}

#contactModal .modal-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

#contactModal .modal-title {
  font-weight: 700;
  font-size: 1.75rem;
  position: relative;
  z-index: 1;
}

#contactModal .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.9;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

#contactModal .btn-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

#contactModal .modal-body {
  padding: 2.5rem;
  background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

#contactModal .modal-body p {
  font-size: 0.95rem;
  color: #6c757d;
}

#contactModal .form-label {
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

#contactModal .form-label i {
  font-size: 1.1rem;
}

#contactModal .form-control {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #fff;
}

#contactModal .form-control:hover {
  border-color: #dee2e6;
}

#contactModal .form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.25rem rgba(86, 130, 35, 0.1);
  background-color: #fff;
}

#contactModal .form-control::placeholder {
  color: #adb5bd;
  font-size: 0.95rem;
}

#contactModal .btn-primary {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(86, 130, 35, 0.3);
}

#contactModal .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(86, 130, 35, 0.4);
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
}

#contactModal .btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(86, 130, 35, 0.3);
}

#formMessage {
  border-radius: 10px;
  margin-bottom: 1.5rem;
  padding: 1rem;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#formMessage.alert-success {
  background-color: #d4edda;
  border: 2px solid #28a745;
  color: #155724;
}

#formMessage.alert-danger {
  background-color: #f8d7da;
  border: 2px solid #dc3545;
  color: #721c24;
}

/* ========================================
   HERO SECTION STYLES
   ======================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: 'EB Garamond', serif;
}

/* Ensure carousel is visible */
.carousel {
  display: block;
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.carousel.carousel-fade {
  opacity: 1;
}

.carousel.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.carousel.carousel-fade .carousel-item.active {
  opacity: 1;
}

.carousel.carousel-fade .carousel-item-next,
.carousel.carousel-fade .carousel-item-prev,
.carousel.carousel-fade .carousel-item.active.carousel-item-start,
.carousel.carousel-fade .carousel-item.active.carousel-item-end {
  opacity: 0;
  transform: translateX(0);
}

.carousel.carousel-fade .carousel-item-next.carousel-item-start,
.carousel.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
  transform: translateX(0);
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 100%;
}

.carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
  height: 100vh;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-item {
    transition: none;
  }
}

.carousel-item.active {
  display: block;
}

/* Ensure carousel controls are visible */
.carousel-control-prev,
.carousel-control-next {
  z-index: 1000;
  width: 5%;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(86, 130, 35, 0.5);
  border-radius: 50%;
  padding: 10px;
  width: 40px;
  height: 40px;
  background-size: 60%;
  display: inline-block;
}

/* Carousel Indicators */
.carousel-indicators {
  z-index: 1000;
  margin-bottom: 1rem;
}

.carousel-indicators [data-bs-target] {
  background-color: rgba(86, 130, 35, 0.5);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  margin: 0 5px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.carousel-indicators .active {
  background-color: #568223;
  opacity: 1;
}

.hero-background {
  position: absolute;
  top: 1rem;
  left: 10rem;
  width: 100%;
  height: 100%;
  background-image: url('https://educationboard.in/IMG-20250915-WA0002.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  z-index: 0;
}

/* Fix for carousel display issues */
.carousel-item {
  display: block;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.carousel-item.active {
  opacity: 1;
  position: relative;
  z-index: 2;
}

.carousel-item-next,
.carousel-item-prev {
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.carousel-item-next.carousel-item-start,
.carousel-item-prev.carousel-item-end {
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
}

.carousel-item.active.carousel-item-start,
.carousel-item.active.carousel-item-end {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

/* Enhanced carousel transition effects */
.carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
  transform: none;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active.carousel-item-start,
.carousel-fade .carousel-item.active.carousel-item-end {
  opacity: 0;
}

.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
  transform: translateX(0);
}

/* Carousel Indicators */
.carousel-indicators [data-bs-target] {
  background-color: rgba(86, 130, 35, 0.5);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  margin: 0 5px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.carousel-indicators .active {
  background-color: #568223;
  opacity: 1;
}

.hero-container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  padding: 2rem 0;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
}

.hero-highlight {
  color: var(--primary-green);
  font-weight: 700;
}

.hero-subtitle {
  font-size: 2rem;
  line-height: 1.6;
  font-weight: 600;
  color: #514F50;
  margin-bottom: 2rem;
}

.btn-hero {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  color: white;
  padding: 18px 45px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  box-shadow: 0 10px 20px rgba(86, 130, 35, 0.2);
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(86, 130, 35, 0.3);
  color: white;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .btn-hero {
    padding: 14px 30px;
    font-size: 1rem;
  }
}

/* ========================================
   ABOUT SECTION STYLES
   ======================================== */
.about-section {
  padding: 4rem 0;
  background-color: #ffffff;
  overflow: hidden;
}

.section-title {
  font-family: 'EB Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 3rem;
}

.text-highlight {
  color: var(--primary-green);
  font-weight: 900;
}

.about-card-wrapper {
  position: relative;
  padding: 2rem;
}

.about-card-decoration {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(86, 130, 35, 0.1), rgba(104, 159, 56, 0.1));
  border-radius: 20px;
  z-index: 0;
  display: none;
}

@media (min-width: 768px) {
  .about-card-decoration {
    display: block;
  }
}

.about-card-main {
  position: relative;
  z-index: 1;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 3px solid var(--primary-green);
}

.about-logo {
  max-width: 100%;
  height: auto;
}

.about-content {
  margin: 2rem 0;
}

.about-intro {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
}

.text-green {
  color: var(--primary-green);
  font-weight: 500;
}

.about-mission {
  background: linear-gradient(135deg, rgba(220, 237, 200, 0.3), rgba(220, 237, 200, 0.1));
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-green);
  margin: 1.5rem 0;
}

.about-mission p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dark-gray);
  margin: 0;
}

.about-commitment {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-top: 1.5rem;
}

.btn-discover {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  color: white;
  padding: 18px 45px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  box-shadow: 0 10px 20px rgba(86, 130, 35, 0.2);
  transition: all 0.3s ease;
}

.btn-discover:hover {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(86, 130, 35, 0.3);
  color: white;
}

/* ========================================
   SERVICES SECTION STYLES
   ======================================== */
.services-section {
  padding: 3rem 0;
  background-color: #ffffff;
}

.service-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
  border: 2px solid transparent;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(86, 130, 35, 0.2);
  border-color: var(--primary-green);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon i {
  font-size: 2rem;
  color: white;
}

.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.service-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* ========================================
   CERTIFICATION SECTION STYLES
   ======================================== */
.certification-section {
  /* padding: 8rem 0; */
  background-color: #ffffff;
  font-family: 'EB Garamond', serif;
}

.certification-content {
  padding: 3rem 2rem;
}

.certification-title {
  font-size: 3.3rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 2rem;
}

.certification-intro {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #555;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.certification-details {
  font-size: 1.3rem;
  line-height: 1.6;
  color: #555;
}

.certification-image {
  padding: 2rem;
}

.certification-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

@media (max-width: 992px) {
  .certification-content {
    order: 2;
  }
  
  .certification-image {
    order: 1;
    margin-bottom: 2rem;
  }
}

/* ========================================
   CONSULTANCY SECTION STYLES
   ======================================== */
.consultancy-section {
  padding: 6rem 0 8rem;
  background: #e8e8e8;
  position: relative;
  overflow: hidden;
}

.consultancy-layout {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 600px;
  padding: 2rem 0;
}

/* Central plant graphic background */
.consultancy-center-graphic {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140rem;
  height: 100%;
  background-image: url('https://educationboard.in/IMG-20250913-WA0001.jpg');
  background-size: 150%;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 1;
  z-index: 0;
}

/* Positioned cards */
.consultancy-card-positioned {
  position: absolute;
  width: 320px;
  z-index: 1;
}

/* Card positioning - matching reference layout */
.consultancy-pos-1 {
  top: 0;
  left: 0;
}

.consultancy-pos-2 {
  top: 0;
  right: 0;
}

.consultancy-pos-3 {
  bottom: 0;
  left: 0;
}

.consultancy-pos-4 {
  bottom: 0;
  right: 0;
}

/* Card content styling */
.consultancy-card-content {
  background: white;
  padding: 2rem 1.75rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.consultancy-card-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(86, 130, 35, 0.15);
}

/* Icon styling inside cards */
.consultancy-card-icon {
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.consultancy-card-icon i {
  font-size: 1.25rem;
  color: #999;
}

/* Card heading */
.consultancy-card-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

/* Card description */
.consultancy-card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .consultancy-layout {
    max-width: 900px;
  }
  
  .consultancy-center-graphic {
    width: 500px;
    height: 500px;
  }
  
  .consultancy-card-positioned {
    width: 280px;
  }
}

@media (max-width: 992px) {
  .consultancy-section {
    padding: 4rem 0;
  }
  
  .consultancy-layout {
    position: relative;
    min-height: auto;
    padding: 0;
  }
  
  .consultancy-center-graphic {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 400px;
    height: 400px;
    margin: 3rem auto;
    opacity: 0.3;
  }
  
  .consultancy-card-positioned {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 2rem;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }
  
  .consultancy-pos-1 { order: 1; }
  .consultancy-pos-2 { order: 2; }
  .consultancy-pos-3 { order: 3; }
  .consultancy-pos-4 { order: 4; }
}

@media (max-width: 768px) {
  .consultancy-center-graphic {
    height: 300px;
    max-width: 300px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .consultancy-card-content {
    padding: 1.5rem;
  }
}

/* ========================================
   TESTIMONIALS SECTION STYLES
   ======================================== */
.testimonials-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
  position: relative;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 2px solid transparent;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(86, 130, 35, 0.15);
  border-color: var(--light-green);
}

.testimonial-quote-icon {
  position: absolute;
  top: -15px;
  left: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(86, 130, 35, 0.3);
}

.testimonial-quote-icon i {
  font-size: 1.25rem;
  color: white;
}

.testimonial-rating {
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
}

.testimonial-rating i {
  color: #ffc107;
  font-size: 1rem;
  margin-right: 3px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark-gray);
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--light-green);
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--light-green), var(--primary-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-avatar i {
  font-size: 2.5rem;
  color: white;
}

.author-info {
  flex-grow: 1;
}

.author-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 0.25rem;
}

.author-position {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0;
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 4rem 0;
  }
  
  .testimonial-card {
    margin-bottom: 1.5rem;
  }
}

/* FAQ SECTION STYLES */

.faq-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Section Title Styling */
.section-title {
    font-size: 2.75rem; /* Slightly larger title */
    font-weight: 800; /* Extra bold */
    color: var(--dark-gray);
}
.text-highlight {
    color: var(--primary-green);
}


.faq-accordion-item {
  background: var(--white);
  border: none;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease-in-out; /* Increased to 0.4s for smoother feel */
}

.faq-accordion-item:hover {
  box-shadow: 0 8px 25px rgba(86, 130, 35, 0.12);
}

.faq-accordion-button {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-gray);
  background: var(--white);
  padding: 1.5rem 2rem;
  border: none;
  transition: all 0.4s ease-in-out; /* Increased to 0.4s for smoother feel */
  display: flex;
  align-items: center;
}

.faq-accordion-button:not(.collapsed) {
  /* Apply linear gradient on active state */
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  color: var(--white);
  box-shadow: none;
}

.faq-accordion-button:not(.collapsed) i {
  color: var(--white);
}

.faq-accordion-button i {
  color: var(--primary-green);
  font-size: 1.3rem;
  transition: color 0.4s ease-in-out; /* Increased to 0.4s for smoother feel */
}

.faq-accordion-button:hover {
  background: linear-gradient(135deg, rgba(86, 130, 35, 0.1), rgba(104, 159, 56, 0.1));
}

.faq-accordion-button:not(.collapsed):hover {
  background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
}

.faq-accordion-button:focus {
  box-shadow: none;
  border: none;
}

/* Custom SVG for collapsed state (green) */
.faq-accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23568223'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-left: auto;
  transition: transform 0.4s ease-in-out; /* Increased to 0.4s for smoother feel */
}

/* Custom SVG for active state (white) and rotation */
.faq-accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}

.faq-accordion-body {
  padding: 1.5rem 2rem 2rem;
  background: var(--white);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.faq-accordion-body p {
  margin: 0;
}

/* CTA Box Styling */
.cta-info-box {
    max-width: 600px;
    background-color: var(--light-green); 
    border: 1px solid var(--primary-green);
    border-radius: 0.75rem;
    color: var(--text-color);
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(86, 130, 35, 0.2);
    transition: all 0.4s ease-in-out; /* Added transition for hover effect */
}

.cta-info-box:hover {
    transform: translateY(-3px); /* Smooth hover lift */
    box-shadow: 0 8px 15px rgba(86, 130, 35, 0.3); /* Enhanced shadow on hover */
}

.cta-info-box p {
    font-size: 1.25rem;
    margin: 0;
    line-height: 1.5;
}
.cta-info-box i.fas {
    color: var(--dark-green);
}

/* Hero Button Styling */
.btn-hero {
    background-color: var(--primary-green);
    color: var(--white);
    border: 2px solid var(--primary-green);
    padding: 0.85rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.4s ease-in-out; /* Increased to 0.4s for smoother feel */
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-hero:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .faq-section {
    padding: 4rem 0;
  }
  
  .faq-accordion-button {
    font-size: 1rem;
    padding: 1.25rem 1.5rem;
  }
  
  .faq-accordion-button i {
    font-size: 1.1rem;
  }
  
  .faq-accordion-body {
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .cta-info-box p {
    font-size: 1rem;
  }
}

/* ========================================
   EVENTS SECTION STYLES
   ======================================== */
.events-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.event-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
  overflow: hidden;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(86, 130, 35, 0.15);
}

.event-date {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.event-date .day {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.event-date .month-year {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.event-card .card-body {
  flex-grow: 1;
  padding: 2rem;
}

.event-card .card-title {
  color: var(--dark-green);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.event-card .card-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

.event-card .card-footer {
  background-color: var(--light-gray);
  border-top: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding: 1rem 2rem;
}

.event-card .card-footer .btn-outline-success {
  border-color: var(--primary-green);
  color: var(--primary-green);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.event-card .card-footer .btn-outline-success:hover {
  background-color: var(--primary-green);
  color: white;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .events-section {
    padding: 4rem 0;
  }
  
  .event-card .card-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ========================================
   STATISTICS SECTION STYLES
   ======================================== */
.stats-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.stats-highlight {
  color: white;
  font-weight: 800;
}

.stats-item {
  text-align: center;
  padding: 2rem 1rem;
  transition: transform 0.3s ease;
}

.stats-item:hover {
  transform: translateY(-5px);
}

.stats-number {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1;
  font-family: 'EB Garamond', serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stats-text {
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .stats-section {
    padding: 4rem 0;
  }
  
  .stats-number {
    font-size: 2.5rem;
  }
  
  .stats-text {
    font-size: 1rem;
  }
}

/* ========================================
   PRESS RELEASE SECTION STYLES
   ======================================== */
.press-release-section {
  padding: 4rem 0;
  background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
  position: relative;
}

.press-content-wrapper {
  margin-bottom: 3rem;
}

.press-gallery .press-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.press-gallery .press-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(86, 130, 35, 0.2);
}

.press-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.press-gallery .press-item:hover .press-image {
  transform: scale(1.05);
}

#pressImageModal .modal-content {
  background: transparent;
}

#modalPressImage {
  max-height: 85vh;
  object-fit: contain;
}

@media (max-width: 768px) {
  .press-release-section {
    padding: 3rem 0;
  }
  
  .press-image {
    height: 200px;
  }
}

/* ========================================
   AWARD WINNERS SECTION STYLES
   ======================================== */
.award-winners-section {
  padding: 6rem 0;
  background: white;
  overflow: hidden;
}

.award-slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-top: 3rem;
}

.award-slide-track {
  display: flex;
  width: 100%;
  animation: scroll 40s linear infinite;
  gap: 2rem;
}

.award-slide-track:hover {
  animation-play-state: paused;
}

/* Carousel Items */
.carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-item {
    transition: none;
  }
}

.carousel-item.active {
  display: block;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.award-card {
  min-width: 300px;
  height: 350px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.award-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(86, 130, 35, 0.25);
}

.award-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-320px * 7));
  }
}

@media (max-width: 768px) {
  .award-winners-section {
    padding: 4rem 0;
  }
  
  .award-slider {
    height: 300px;
  }
  
  .award-card {
    min-width: 250px;
    height: 280px;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-270px * 7));
    }
  }
}

/* ========================================
   IMPACT MAP SECTION STYLES
   ======================================== */
.impact-map-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.map-container {
  position: relative;
  text-align: center;
}

.map-container img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  opacity: 0.8;
}

.map-pin {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--primary-green);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 5px rgba(86, 130, 35, 0.3);
  cursor: pointer;
  transform: translate(-50%, -50%);
  animation: pulse 2s infinite;
}

.map-pin:hover {
  animation-play-state: paused;
  background-color: var(--dark-green);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(86, 130, 35, 0.5);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(86, 130, 35, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(86, 130, 35, 0);
  }
}

/* Pin positions - adjust these percentages for your map image */
.pin-1 {
  top: 30%;
  left: 25%;
}

.pin-2 {
  top: 45%;
  left: 50%;
}

.pin-3 {
  top: 60%;
  left: 75%;
}

.pin-4 {
  top: 75%;
  left: 40%;
}

.map-content h3 {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.map-stats .stat-item {
  margin-bottom: 1.5rem;
}

.map-stats .stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--dark-green);
}

.map-stats .stat-label {
  font-size: 1rem;
  color: var(--dark-gray);
}

/* Responsive Map Section */
@media (max-width: 768px) {
  .impact-map-section {
    padding: 4rem 0;
  }
  
  .map-container {
    margin-bottom: 2rem;
  }
  
  .map-stats .stat-number {
    font-size: 2rem;
  }
}

/* ========================================
   TIMELINE SECTION STYLES
   ======================================== */
.timeline-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.timeline-container {
  position: relative;
  width: 100%;
  padding: 2rem 0;
}

/* The Central Line */
.timeline-container::after {
  content: "";
  position: absolute;
  width: 4px;
  background-color: var(--light-green);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  z-index: 1;
}

/* Timeline Item */
.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  z-index: 2;
}

/* The Dot on the Line */
.timeline-item::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--white);
  border: 4px solid var(--primary-green);
  top: 25px;
  border-radius: 50%;
  z-index: 2;
}

/* Left and Right Positioning */
.timeline-left {
  left: 0;
}

.timeline-right {
  left: 50%;
}

.timeline-right::after {
  left: -10px;
}

/* Content Box */
.timeline-content {
  padding: 20px 30px;
  background-color: var(--white);
  position: relative;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--primary-green);
}

.timeline-content h4 {
  font-weight: 600;
  color: var(--dark-green);
}

.timeline-date {
  font-weight: bold;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
  display: inline-block;
}

/* Responsive Timeline */
@media (max-width: 768px) {
  .timeline-section {
    padding: 4rem 0;
  }
  
  .timeline-container::after {
    left: 20px;
    margin-left: 0;
  }

  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 15px;
  }

  .timeline-item::after {
    left: 11px;
  }

  .timeline-right {
    left: 0%;
  }
}

/* ========================================
   FACEBOOK SECTION STYLES
   ======================================== */

/* Keyframe animation for the pulsating border (SMOOTHED HEARTBEAT) */
@keyframes heart-beat {
    0%, 100% {
        /* Start and end state: minimal shadow */
        box-shadow: 0 0 5px 0 rgba(var(--dark-green-r), var(--dark-green-g), var(--dark-green-b), 0.7);
    }
    50% {
        /* Maximum expansion of the shadow (the 'beat') - SPREAD ACROSS 50% FOR SMOOTHNESS */
        box-shadow: 0 0 25px 25px rgba(var(--dark-green-r), var(--dark-green-g), var(--dark-green-b), 0.3);
    }
}

/* RGB components for use in rgba() functions (needed for animation) */
:root {
    --primary-green-r: 86;
    --primary-green-g: 130;
    --primary-green-b: 35;
    --dark-green-r: 104;
    --dark-green-g: 159;
    --dark-green-b: 56;
}

/* Facebook feed section styling */
#facebook-feed {
    background-color: var(--light-green);
    background-image: none;
    font-family: 'EB Garamond', serif;
    border-radius: 0;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.1);
    color: var(--dark-gray);
    padding-top: 6rem;
    padding-bottom: 6rem;
    min-height: 500px;
}

.text-accent-green {
    color: var(--primary-green) !important;
    text-shadow: none;
}

.display-4-custom {
    font-size: clamp(2.5rem, 7vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.lead-custom {
    font-size: clamp(1rem, 3vw, 1.35rem);
    color: var(--dark-gray);
}

/* Inner widget styles with animation */
.fb-page {
    background-color: transparent;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    max-width: 600px !important;
    width: 100% !important;
    min-height: auto;
    box-shadow: none;
    animation: heart-beat 1.8s infinite alternate ease-in-out;
    padding: 10px;
}

.fb-page:hover {
    animation: none;
    box-shadow: 0 0 10px 5px rgba(var(--dark-green-r), var(--dark-green-g), var(--dark-green-b), 0.7);
}

/* Custom button hover styles */
.btn-custom-green:hover {
    background-color: var(--primary-green) !important;
    border-color: var(--primary-green) !important;
    color: var(--white) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* ========================================
   COLLABORATION SECTION STYLES
   ======================================== */

.text-primary-green {
    color: var(--primary-green) !important;
}

/* Section Styling (Eye-Catching Background) */
#collaboration-section {
    /* padding: 8rem 0; */
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Subtle green accent at the top-left corner */
#collaboration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background-color: var(--light-green);
    transform: rotate(-45deg) translate(-50%, -50%);
    border-radius: 0 0 50% 0;
    opacity: 0.3;
    z-index: 0;
}

.section-content {
    position: relative;
    z-index: 1;
}

/* Headline & Text Styling */
.headline {
    font-family: 'EB Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark-gray);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.lead-paragraph {
    font-size: 1.15rem;
    color: #4a4a4a;
    line-height: 1.6;
    font-weight: 300;
}

/* Button Styling (More Prominent) */
.btn-custom-green {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 25px rgba(86, 130, 35, 0.4);
    border: 3px solid var(--dark-green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-custom-green:hover {
    background-color: var(--dark-green);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(86, 130, 35, 0.6);
    color: var(--white);
}

/* Image Layer Styling (Enhanced Visual Depth) */
.image-layer-container {
    position: relative;
    max-width: 500px;
    width: 100%;
    margin-bottom: 2rem;
}

/* Rotated Background Block (Layer 1) */
.image-layer-bg {
    background-color: var(--light-green);
    position: absolute;
    top: 25px;
    right: 25px;
    left: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    border-radius: 1.5rem;
    transform: rotate(3deg);
    z-index: 1;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.05);
}

/* Image Container (Layer 2) */
.image-container {
    position: relative;
    z-index: 2;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.image-container:hover {
    transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .image-layer-container {
        margin-bottom: 3rem;
        margin-top: 2rem;
    }
    
    .image-layer-bg {
        top: 15px;
        right: 15px;
        left: auto;
        transform: rotate(-3deg);
    }
    
    .collab-text-wrapper {
        text-align: center !important;
    }
    
    .collab-text-wrapper .text-lg-start {
        text-align: center !important;
    }
}

/* ========================================
   3D GALLERY SECTION STYLES
   ======================================== */

#gallery-3d-section {
    padding: 5rem 1rem;
    background-color: #f1f2f6;
    overflow: hidden;
    position: relative;
}

/* Container for the 3D viewable area */
#perspective-wrapper {
    min-height: 400px;
    max-height: 550px;
    height: 50vw;
    background-color: var(--light-gray);
    overflow: hidden;
    position: relative;
    padding: 0 !important;
    perspective: 1500px;
    perspective-origin: center center;
    border-radius: 12px;
}

/* Individual slide card in 3D space */
.gallery-card-3d {
    position: absolute;
    transform-style: preserve-3d;
    border-radius: 12px;
    transition: transform 1.2s ease-in-out, left 1.2s ease-in-out, width 1.2s ease-in-out, top 1.2s ease-in-out;
    opacity: 1;
}

/* Inner frame to hold the image and shadow */
.gallery-card-3d > div {
    background: white;
    border-radius: 5px;
}

/* Image styling */
.gallery-card-3d img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    pointer-events: none;
    border-radius: 3px;
}

/* Button styling for navigation arrows */
.nav-button {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-green);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    line-height: 40px;
    text-align: center;
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-button:active {
    transform: scale(0.95);
}

/* Gallery headline styling */
.gallery-headline {
    font-family: 'EB Garamond', serif;
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: #2d3436;
    margin-bottom: 1rem;
}

.gallery-description {
    font-size: 1.3rem;
    color: #636e72;
    margin-bottom: 2rem;
}

/* Gallery CTA button */
.btn-gallery-cta {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 12px 33px;
    border: 2px solid var(--primary-green);
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

.btn-gallery-cta:hover {
    background-color: white;
    color: var(--primary-green);
    box-shadow: none;
    transform: translateY(0);
}

/* ========================================
   PRESS RELEASE SECTION STYLES (DYNAMIC GALLERY WALL)
   ======================================== */

.press-release-section {
    padding: 4rem 2rem;
    background-color: var(--light-gray);
    position: relative;
    width: 100%;
}

.press-canvas {
    position: relative;
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    z-index: 1;
}

.press-content-container,
.press-element {
    background-color: transparent;
    border-radius: 12px;
}

.press-content-container {
    position: relative;
    z-index: 10;
    padding: 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.press-element {
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.press-element.landscape {
    aspect-ratio: 1.5 / 1;
}

.press-element.portrait {
    aspect-ratio: 1 / 1.4;
}

.press-element img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.press-element:hover {
    z-index: 11 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 20px 50px rgba(86, 130, 35, 0.25);
}

.deco-shape {
    position: absolute;
    z-index: 0;
    transition: transform 0.2s linear;
}

.shape-1 {
    top: 2%;
    left: 5%;
    width: 15vw;
    max-width: 200px;
    height: 15vw;
    max-height: 200px;
    background-color: var(--primary-green);
    opacity: 0.15;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 12s ease-in-out infinite alternate;
}

.shape-2 {
    bottom: 2%;
    right: 5%;
    width: 20vw;
    max-width: 250px;
    height: 20vw;
    max-height: 250px;
    background-color: var(--light-green);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 15s ease-in-out infinite alternate-reverse;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg) scale(1);
    }
    50% {
        border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%;
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(360deg) scale(1);
    }
}

/* Desktop Gallery Wall Layout */
@media (min-width: 992px) {
    .press-canvas {
        display: grid;
        grid-template-columns: repeat(18, 1fr);
        grid-template-rows: repeat(18, 1fr);
        gap: 1.5rem;
    }

    .press-content-container {
        grid-column: 7 / 13;
        grid-row: 8 / 12;
        align-self: center;
    }

    /* Fixed positions for all 12 images */
    .press-pos-1 {
        grid-column: 2 / 6;
        grid-row: 2 / 7;
        transform: rotate(-6deg);
        align-self: end;
        z-index: 3;
    }

    .press-pos-2 {
        grid-column: 14 / 18;
        grid-row: 1 / 5;
        transform: rotate(5deg);
        align-self: center;
        z-index: 4;
    }

    .press-pos-3 {
        grid-column: 1 / 5;
        grid-row: 13 / 18;
        transform: rotate(4deg);
        align-self: center;
        justify-self: end;
        z-index: 2;
    }

    .press-pos-4 {
        grid-column: 15 / 19;
        grid-row: 14 / 18;
        transform: rotate(-4deg);
        align-self: start;
        justify-self: center;
        z-index: 5;
    }

    .press-pos-5 {
        grid-column: 8 / 12;
        grid-row: 1 / 6;
        transform: rotate(2deg);
        align-self: start;
        z-index: 2;
    }

    .press-pos-6 {
        grid-column: 7 / 11;
        grid-row: 14 / 19;
        transform: rotate(-3deg);
        align-self: end;
        z-index: 3;
    }

    .press-pos-7 {
        grid-column: 1 / 5;
        grid-row: 8 / 12;
        transform: rotate(-5deg);
        align-self: start;
        justify-self: start;
        z-index: 4;
    }

    .press-pos-8 {
        grid-column: 15 / 19;
        grid-row: 6 / 10;
        transform: rotate(7deg);
        align-self: end;
        justify-self: end;
        z-index: 4;
    }

    .press-pos-9 {
        grid-column: 11 / 15;
        grid-row: 11 / 15;
        transform: rotate(10deg);
        z-index: 3;
        align-self: start;
    }

    .press-pos-10 {
        grid-column: 5 / 9;
        grid-row: 12 / 16;
        transform: rotate(-7deg);
        align-self: start;
        justify-self: end;
        z-index: 4;
    }

    /* Prominent vertical position for the portrait image */
    .press-pos-11 {
        grid-column: 4 / 8;
        grid-row: 6 / 9;
        transform: rotate(8deg);
        align-self: start;
        justify-self: end;
        z-index: 5;
    }

    /* Position for the 12th landscape image */
    .press-pos-12 {
        grid-column: 11 / 15;
        grid-row: 4 / 8;
        transform: rotate(-5deg);
        align-self: end;
        justify-self: start;
        z-index: 3;
    }
}

/* Mobile/Tablet: Stack images with gentle rotation */
@media (max-width: 991px) {
    .press-canvas {
        aspect-ratio: auto;
        min-height: auto;
        padding: 2rem 0;
    }

    .press-content-container {
        position: relative;
        margin-bottom: 2rem;
    }

    .press-element {
        position: relative !important;
        width: 80% !important;
        margin: 1.5rem auto;
        left: auto !important;
        top: auto !important;
    }

    .press-element:nth-child(odd) {
        transform: rotate(-2deg) !important;
    }

    .press-element:nth-child(even) {
        transform: rotate(2deg) !important;
    }

    .deco-shape {
        display: none;
    }
}

/* ========================================
   NEWSLETTER FORM SECTION STYLES (MODERN DESIGN)
   ======================================== */

.newsletter-form-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--light-green) 0%, #ffffff 50%, var(--light-green) 100%);
    padding: 3rem 0;
    overflow: hidden;
}

/* Animated decorative shapes */
.newsletter-deco-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.newsletter-deco-shape.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-green);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    left: 5%;
    animation: morph 15s ease-in-out infinite alternate, float 20s ease-in-out infinite;
}

.newsletter-deco-shape.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--dark-green);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    bottom: 15%;
    right: 10%;
    animation: morph 18s ease-in-out infinite alternate-reverse, float 25s ease-in-out infinite;
}

.newsletter-deco-shape.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--primary-green);
    border-radius: 50%;
    top: 60%;
    left: 15%;
    animation: float 30s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* Newsletter header */
.newsletter-header {
    animation: fadeInDown 0.8s ease;
}

.newsletter-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--dark-gray);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.newsletter-highlight {
    color: var(--primary-green);
    display: block;
    position: relative;
    font-style: italic;
}

.newsletter-subtitle {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Newsletter card */
.newsletter-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--dark-green));
}

.newsletter-card-icon {
    text-align: center;
    margin-bottom: 2rem;
}

.newsletter-card-icon i {
    font-size: 3.5rem;
    color: var(--primary-green);
    opacity: 0.8;
}

/* Newsletter alert */
#newsletterAlert {
    margin-bottom: 1.5rem;
    border-radius: 15px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    animation: slideDown 0.3s ease;
}

#newsletterAlert.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

#newsletterAlert.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Newsletter form */
.newsletter-form {
    margin-bottom: 2rem;
}

.newsletter-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--light-gray);
    border-radius: 60px;
    padding: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.newsletter-input-group:focus-within {
    border-color: var(--primary-green);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(86, 130, 35, 0.15);
}

.input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    color: var(--primary-green);
    font-size: 1.2rem;
}

.newsletter-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 18px 10px;
    font-size: 1.1rem;
    outline: none;
    color: var(--dark-gray);
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-submit-btn {
    position: relative;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.newsletter-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    transition: left 0.3s ease;
}

.newsletter-submit-btn:hover::before {
    left: 0;
}

.newsletter-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(86, 130, 35, 0.3);
}

.btn-text,
.btn-icon {
    position: relative;
    z-index: 1;
}

.btn-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.newsletter-submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Trust indicators */
.newsletter-trust-indicators {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.95rem;
}

.trust-item i {
    color: var(--primary-green);
    font-size: 1rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .newsletter-form-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .newsletter-card {
        padding: 2rem;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        border-radius: 20px;
    }
    
    .newsletter-input {
        width: 100%;
        text-align: center;
    }
    
    .newsletter-submit-btn {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .newsletter-title {
        font-size: 2rem;
    }
    
    .newsletter-subtitle {
        font-size: 1rem;
    }
    
    .newsletter-card-icon i {
        font-size: 2.5rem;
    }
    
    .newsletter-trust-indicators {
        gap: 1rem;
    }
}

/* ========================================
   CONSULTATION FORM SECTION STYLES (MODERN DESIGN)
   ======================================== */

.consultation-form-section {
    position: relative;
    background: #ffffff;
    padding: 3rem 0;
    overflow: hidden;
}

/* Decorative shapes */
.consultation-deco-shape {
    position: absolute;
    opacity: 0.08;
    animation: morph 20s ease-in-out infinite alternate;
}

.consultation-deco-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-green);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 5%;
    left: -100px;
}

.consultation-deco-shape.shape-2 {
    width: 350px;
    height: 350px;
    background: var(--dark-green);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    bottom: 10%;
    right: -80px;
    animation: morph 25s ease-in-out infinite alternate-reverse;
}

/* Header */
.consultation-header {
    position: relative;
    z-index: 1;
    animation: fadeInDown 0.8s ease;
}

.consultation-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--dark-gray);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.consultation-highlight {
    color: var(--primary-green);
    font-style: italic;
    display: block;
}

.consultation-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Consultation card */
.consultation-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 3.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(86, 130, 35, 0.1);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.consultation-card-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--light-green) 0%, transparent 100%);
    border-radius: 0 30px 0 100%;
    opacity: 0.5;
}

/* Form styling */
.consultation-form {
    position: relative;
    z-index: 1;
}

.form-group-modern {
    margin-bottom: 1.5rem;
}

.form-label-modern {
    display: block;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.form-label-modern i {
    color: var(--primary-green);
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.form-input-modern,
.form-select-modern {
    width: 100%;
    height: 60px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 0 20px;
    font-size: 1.05rem;
    color: var(--dark-gray);
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
}

.form-input-modern:focus,
.form-select-modern:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(86, 130, 35, 0.1);
    transform: translateY(-2px);
}

.form-input-modern:hover,
.form-select-modern:hover {
    border-color: var(--dark-green);
}

.form-input-modern::placeholder {
    color: #aaa;
}

.form-select-modern {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23568223' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px;
}

.form-select-modern option {
    padding: 10px;
}

/* Submit button */
.consultation-submit-btn {
    position: relative;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(86, 130, 35, 0.25);
}

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.consultation-submit-btn:hover .btn-ripple {
    width: 300px;
    height: 300px;
}

.btn-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consultation-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(86, 130, 35, 0.35);
}

.consultation-submit-btn:active {
    transform: translateY(-1px);
}

/* Privacy note */
.privacy-note {
    color: #999;
    font-size: 0.9rem;
}

.privacy-note i {
    color: var(--primary-green);
    margin-right: 0.5rem;
}

/* Benefits section */
.consultation-benefits {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.benefit-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--light-gray);
    border-radius: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-item:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1) rotate(360deg);
}

.benefit-item h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-family: 'EB Garamond', serif;
}

.benefit-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .consultation-form-section {
        padding: 4rem 0;
    }
    
    .consultation-card {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .consultation-title {
        font-size: 2rem;
    }
    
    .consultation-subtitle {
        font-size: 1rem;
    }
    
    .consultation-card {
        padding: 2rem;
    }
    
    .form-input-modern,
    .form-select-modern {
        height: 55px;
        font-size: 1rem;
    }
    
    .consultation-submit-btn {
        padding: 18px 35px;
        font-size: 1rem;
        width: 100%;
    }
    
    .benefit-item {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .consultation-card {
        padding: 1.5rem;
    }
    
    .form-label-modern {
        font-size: 0.95rem;
    }
}

/* ========================================
   SDP MODAL STYLES
   ======================================== */

#sdpModal .modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
}

#sdpModal .modal-header {
    background: linear-gradient(135deg, var(--light-green) 0%, #ffffff 100%);
    padding: 1.5rem 2rem;
    flex-shrink: 0;
}

#sdpModal .modal-title {
    font-family: 'EB Garamond', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 0;
}

#sdpModal .btn-close {
    font-size: 1.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

#sdpModal .btn-close:hover {
    opacity: 1;
}

#sdpModal .modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

/* Hide scrollbar but keep functionality */
#sdpModal .modal-body::-webkit-scrollbar {
    width: 6px;
}

#sdpModal .modal-body::-webkit-scrollbar-track {
    background: transparent;
}

#sdpModal .modal-body::-webkit-scrollbar-thumb {
    background: rgba(86, 130, 35, 0.3);
    border-radius: 3px;
}

#sdpModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(86, 130, 35, 0.5);
}

/* SDP Modal Tabs */
#sdpModal .nav-tabs {
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 0;
}

#sdpModal .nav-tabs .nav-link {
    color: var(--dark-gray);
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: transparent;
}

#sdpModal .nav-tabs .nav-link:hover {
    color: var(--primary-green);
    background-color: rgba(86, 130, 35, 0.05);
}

#sdpModal .nav-tabs .nav-link.active {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
    background-color: #ffffff;
}

#sdpModal .nav-tabs .nav-link i {
    margin-right: 0.3rem;
}

/* SDP Modal Tab Content */
#sdpModal .tab-pane {
    padding: 1.5rem 0.5rem;
    animation: fadeIn 0.4s ease;
}

/* Compact Summary Styles */
.sdp-summary-compact {
    font-size: 0.9rem;
}

.sdp-summary-compact p {
    line-height: 1.6;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#sdpModal .form-control,
#sdpModal .form-select {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 0.6rem 0.9rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

#sdpModal .form-control-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

#sdpModal .form-label {
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

#sdpModal .form-control:focus,
#sdpModal .form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(86, 130, 35, 0.15);
}

#sdpModal .custom-control-label {
    cursor: pointer;
    user-select: none;
}

#sdpModal .custom-control-input:checked ~ .custom-control-label {
    color: var(--primary-green);
    font-weight: 600;
}

#sdpModal .alert {
    border-radius: 10px;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

#sdpModal .alert-info {
    background-color: rgba(86, 130, 35, 0.1);
    color: var(--dark-gray);
}

#sdpModal .alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: var(--dark-gray);
}

#sdpModal .alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--dark-gray);
}

/* SDP Modal Buttons */
#sdpModal .sdp-next-btn,
#sdpModal .sdp-back-btn {
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

#sdpModal .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

#sdpModal .sdp-next-btn {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    border: none;
    color: white;
}

#sdpModal .sdp-next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(86, 130, 35, 0.3);
}

#sdpModal .sdp-back-btn {
    background: transparent;
    border: 2px solid #e0e0e0;
    color: var(--dark-gray);
}

#sdpModal .sdp-back-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    background-color: rgba(86, 130, 35, 0.05);
}

/* Action List Styling */
#sdpModal #modalActionPlanContainer .list-group-item {
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

#sdpModal #modalActionPlanContainer .list-group-item:hover {
    background-color: var(--light-green);
    border-color: var(--primary-green);
}

#sdpModal .modal-remove-action-btn {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    transition: all 0.3s ease;
}

#sdpModal .modal-remove-action-btn:hover {
    transform: scale(1.1);
}

/* Summary Card Styling */
#sdpModal .card.bg-light {
    background-color: var(--light-green) !important;
    border: none;
    border-radius: 15px;
}

#sdpModal .card.bg-light .card-body {
    padding: 2rem;
}

#sdpModal .list-group {
    border-radius: 8px;
    overflow: hidden;
}

#sdpModal .list-group-item:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

#sdpModal .list-group-item:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Service Card Hover Effect for Modal Trigger */
.service-card[data-toggle="modal"] {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card[data-toggle="modal"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(86, 130, 35, 0.1) 0%, rgba(104, 159, 56, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card[data-toggle="modal"]:hover::after {
    opacity: 1;
}

.service-card[data-toggle="modal"]:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(86, 130, 35, 0.2);
}

/* Responsive Design for SDP Modal */
@media (max-width: 991px) {
    #sdpModal .modal-title {
        font-size: 1.5rem;
    }
    
    #sdpModal .modal-body {
        padding: 1.5rem;
    }
    
    #sdpModal .tab-pane {
        padding: 1.5rem 0.5rem;
    }
    
    #sdpModal .nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    #sdpModal .modal-header {
        padding: 1.5rem;
    }
    
    #sdpModal .modal-title {
        font-size: 1.25rem;
    }
    
    #sdpModal .nav-tabs .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    #sdpModal .nav-tabs .nav-link i {
        display: none;
    }
    
    #sdpModal .sdp-next-btn,
    #sdpModal .sdp-back-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
