:root {
  --brand: #1b8f5a;
  --brand-light: #e6f4ee;
  --brand-dark: #156b43;
  --accent: #f9c74f;
  --text-dark: #2d3748;
  --text-light: #718096;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
/* Navbar / Header Gradient with improved animation */
.navbar {
  background: linear-gradient(135deg, #ecf0ec,#3CB371); /* Green → Dark Green */
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  animation: fadeInDown 0.8s ease-out forwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Override nav links for light text with improved transitions */
.navbar .nav-link {
  color: #fff;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #28a745; /* highlight stays green */
  background: rgba(255, 255, 255, 0.2); /* keep frosted hover */
  transform: translateY(-2px);
}


    /* Navbar Links */
.navbar .nav-link {
  position: relative;
  padding: 8px 18px;
  border-radius: 25px;
  font-weight: 500;
  color: #000;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  z-index: 1;
}

/* Active Glass Effect (Green) */
.navbar .nav-link.active {
  background: rgba(255, 255, 255, 0.15); /* semi-transparent glass */
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px); /* frosted blur */
  color: #28a745; /* Green highlight */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

/* Hover Glass Effect (Green) */
.navbar .nav-link:hover {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  color: #28a745; /* Green hover */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px) scale(1.05);
}

/* Link hover animation */
.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #28a745;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateX(-50%);
  opacity: 0;
}

.navbar .nav-link:hover::after {
  width: 70%;
  opacity: 1;
}

/* Contact Button with Green Glass */
.btn-dark {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  position: relative;
}

.btn-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(40, 167, 69, 0.85);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 0;
}

.btn-dark:hover::before {
  left: 0;
}

.btn-dark:hover {
  color: #fff;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
  transform: translateY(-3px);
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* space between text and arrow */
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.contact-btn .btn-arrow {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  font-size: 1.2em;
  position: relative;
  z-index: 1;
}

.contact-btn:hover .btn-arrow {
  transform: translateX(8px); /* arrow slides further */
}

.contact-btn .btn-text {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  z-index: 1;
}

.contact-btn:hover .btn-text {
  transform: translateX(4px); /* text follows the arrow */
}


/* Hero Section */
 
/* Floating WhatsApp */
.floating-whatsapp{
  position:fixed; right:16px; bottom:16px; z-index:999; width:56px; height:56px; border-radius:50%;
  display:grid; place-items:center; color:#fff; background:#25D366; box-shadow:0 8px 22px rgba(0,0,0,.2)
}

/* Back to top (arrow above WhatsApp) */
.back-to-top{
  position:fixed; right:16px; bottom:84px; z-index:999; display:none; width:44px; height:44px; border-radius:10px;
  box-shadow:0 6px 16px rgba(0,0,0,.18)
}
.services-hero {
  padding: 80px 0;
  background: linear-gradient(to right, var(--white) 60%, var(--brand-light) 40%);
  animation: fadeIn 1s ease-out;
}

.services-hero h1 {
  animation: fadeInUp 0.8s ease-out;
}

.services-hero .lead {
  animation: fadeInUp 1s ease-out 0.2s;
  animation-fill-mode: both;
}

.divider {
  height: 4px;
  width: 60px;
  background: var(--brand);
  margin-bottom: 1.5rem;
  animation: expandWidth 1.2s ease-out;
}

.services-image-container {
  position: relative;
  animation: fadeInRight 1s ease-out;
}

.services-image-container::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent);
  border-radius: 1rem;
  z-index: -1;
}

/* Service Items */
.service-item {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-content {
  border-radius: 1rem;
}

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.service-item:hover .service-icon {
  transform: rotate(10deg) scale(1.1);
}

.service-features {
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
}

/* Service Icons with Gradients */
.general-icon {
  background: linear-gradient(135deg, #a8e063, #56ab2f);
  color: var(--white);
}

.womens-icon {
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
  color: var(--white);
}

.child-icon {
  background: linear-gradient(135deg, #fbc2eb, #a6c1ee);
  color: var(--white);
}

.skin-icon {
  background: linear-gradient(135deg, #84fab0, #8fd3f4);
  color: var(--white);
}

.allergy-icon {
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
  color: var(--white);
}

.lifestyle-icon {
  background: linear-gradient(135deg, #f6d365, #fda085);
  color: var(--white);
}

.arthritis-icon {
  background: linear-gradient(135deg, #84fab0, #8fd3f4);
  color: var(--white);
}

.spondylosis-icon {
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
  color: var(--white);
}

.brain-icon {
  background: linear-gradient(135deg, #fbc2eb, #a6c1ee);
  color: var(--white);
}

.renal-icon {
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
  color: var(--white);
}

.diabetes-icon {
  background: linear-gradient(135deg, #f6d365, #fda085);
  color: var(--white);
}

.immune-icon {
  background: linear-gradient(135deg, #a8e063, #56ab2f);
  color: var(--white);
}

.sleep-icon {
  background: linear-gradient(135deg, #84fab0, #8fd3f4);
  color: var(--white);
}

/* Ensure images are displayed properly */
.service-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Consultation Process */
.consultation-process {
  background: var(--white);
}

.process-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  height: 100%;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out;
}

.process-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.process-number {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  background: var(--brand);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.process-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.process-card:hover .process-icon {
  background: var(--brand);
  color: var(--white);
  transform: rotate(10deg);
}

/* FAQ Section */
.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.accordion-button {
  font-weight: 600;
  padding: 1.25rem;
  background-color: var(--white);
  color: var(--text-dark);
}

.accordion-button:not(.collapsed) {
  background-color: var(--brand-light);
  color: var(--brand-dark);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--brand-light);
}

.accordion-button::after {
  background-size: 1.25rem;
  transition: all 0.3s ease;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--brand-light), var(--white));
}

/* Footer */
footer {animation: fadeInUp 0.8s ease-out;}
.footer{background:#0e3b2b;color:#cfe7db}
.footer a{color:#cfe7db;text-decoration:none}
.footer a:hover{color:#fff}

.footer-contact li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-contact li i {
  color: var(--accent);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.social-link {
  color: var(--white);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 60px;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .services-hero {
    background: var(--white);
  }
  
  .services-image-container::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .services-hero {
    padding: 60px 0;
  }
  
  .service-item .row {
    flex-direction: column-reverse;
  }
  
  .service-item .order-lg-1 {
    order: 2 !important;
  }
  
  .service-item .order-lg-2 {
    order: 1 !important;
  }
}