/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    --primary-color: #388E3C; /* Darker Green from logo/headings */
    --secondary-color: #4CAF50; /* Lighter Green */
    --accent-color: #F4511E; /* Orange */
    --dark-bg-color: #1a1a1a; /* Very Dark Grey/Black for Hero */
    --light-bg-color: #f3f3f3; /* Off-white for About/Essence */
    --footer-bg-color: #f8f9fa; /* Light Grey */
    --text-dark: #333;
    --text-light: #f8f9fa;
    --text-muted: #6c757d;
    /* --- CHANGE FONT HERE --- */
    --heading-font: 'Lora', serif; /* Use Lora for headings */
    --body-font: 'Lora', serif;    /* Use Lora for body */
    /* --- END CHANGE --- */
    --bs-body-font-size: 1.15rem;
  }
  
  body {
    /* Use the body-font variable */
    font-family: var(--body-font);
    color: var(--text-dark);
    line-height: 1.7;
    font-weight: 400; /* Set default weight for Lora */
  }
  
  h1, h2, h3, h4, h5, h6 {
    /* Use the heading-font variable */
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-weight: 700; /* Use bold weight for headings */
  }
  
  /* --- Optional Refinements for Lora --- */
  
  /* You might want to slightly adjust heading sizes or spacing if needed */
  .section-title {
    font-size: 2.4rem; /* Minor adjustment maybe */
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
  }
  
  .hero-title {
    font-size: 39px; /* Minor adjustment maybe */
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
    font-family: var(--heading-font); /* Ensure it uses the variable */
  }
  
  /* Ensure button text uses the body font, maybe slightly bolder */
  .btn {
      font-family: var(--body-font);
      font-weight: 600; /* Make buttons slightly bolder than normal text */
  }
  
  /* Ensure Navbar links use the body font */
  .navbar-nav .nav-link {
      font-family: var(--body-font);
      font-weight: 600; /* Example: Make nav links bolder */
  }

/*--------------------------------------------------------------
# Header & Navbar
--------------------------------------------------------------*/
.navbar {
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black */
  /* padding-top: 1rem;
  padding-bottom: 1rem; */
  transition: background-color 0.3s ease-in-out;
}

.navbar.scrolled { /* Add this class with JS on scroll */
    background-color: rgba(0, 0, 0, 0.95);
}

.navbar-brand img {
    max-height: 75px; /* Adjust as needed */
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 250;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #fff;
}

.navbar-dark .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-dark .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='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
    background-color: #333; /* Darker dropdown */
    border: none;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
}

.dropdown-item:hover, .dropdown-item:focus {
    color: #fff;
    background-color: #444;
}

.lang-dropdown {
    display: flex;
    align-items: center;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
  /* background-color: var(--dark-bg-color); */
  color: var(--text-light);
  min-height: 80vh; /* Adjust height as needed */
  padding-top: 120px; /* Account for fixed navbar */
  padding-bottom: 60px;
  background-image: url('../img/hero-bg-texture.png'); /* Optional subtle texture */
  background-blend-mode: overlay;
}

.hero-title {
  font-size: 39px;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff; /* Override default green for hero */
  font-family: var(--heading-font);
}

.hero-subtitle {
  font-size: 16px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-image {
    max-width: 90%;
    height: auto;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn-custom-orange {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    padding: 10px 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 4px; /* Slightly rounded */
}

.btn-custom-orange:hover,
.btn-custom-orange:focus {
    /* background-color: darken(var(--accent-color), 10%);
    border-color: darken(var(--accent-color), 10%); */
    background-color:#fff; 
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Certifications Carousel Section
--------------------------------------------------------------*/
.certifications-carousel-section {
    background-color: #fff; /* White background */
    border-bottom: 1px solid #eee;
  }
  
  #certCarousel .carousel-item {
    padding: 1rem 0; /* Add some vertical padding inside slides */
    /* Control transition speed */
    transition: transform .6s ease-in-out;
  }
  
  .cert-logo {
    max-height: 80px; /* Control logo size */
    width: auto; /* Maintain aspect ratio */
    /* filter: grayscale(80%); 
    opacity: 0.7; */
    transition: all 0.3s ease;
    margin: 0 auto; /* Helps centering */
  }
  
  .cert-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
  }
  
  /* Style Carousel Controls */
  #certCarousel .carousel-control-prev,
  #certCarousel .carousel-control-next {
    width: 5%; /* Make controls less wide */
  }
  
  #certCarousel .carousel-control-prev-icon,
  #certCarousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3); /* Darker background for visibility */
    background-size: 50%, 50%; /* Make the arrow icon smaller */
    border-radius: 50%;
    padding: 10px; /* Add padding around icon */
  }
  
  /* Optional: Hide controls on extra small screens if too cluttered */
  @media (max-width: 575.98px) {
    #certCarousel .carousel-control-prev,
    #certCarousel .carousel-control-next {
      display: none; /* Hide controls on xs screens */
    }
     .cert-logo {
       max-height: 40px; /* Slightly smaller logos on mobile */
     }
  }
/*--------------------------------------------------------------
# About & Essence Sections
--------------------------------------------------------------*/
.about-section, .essence-section {
  background-color: var(--light-bg-color);
}

.about-section img, .essence-section img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/*--------------------------------------------------------------
# Quality Standards Section
--------------------------------------------------------------*/
.quality-section {
    background-color: #fff; /* White background */
}
.quality-icon {
    max-height: 100px; /* Adjust size */
    margin-bottom: 1rem;
}

.quality-section h4 {
    color: var(--text-dark); /* Dark text for titles here */
    font-family: var(--body-font);
    font-weight: 700;
    font-size: 1.2rem;
}
/*--------------------------------------------------------------
# Ayurvedic Essentials (Products) Section
--------------------------------------------------------------*/
.essentials-section {
    background-color: #fff; /* White background */
}

.product-card {
    /* Keep the original subtle border or remove if shadow is enough */
    /* border: 1px solid #eee; */
    border: none; /* Remove border if using shadow primarily */
    transition: all 0.3s ease;
    position: relative; /* For header positioning if needed */
    border-radius: 8px; /* Add rounded corners to the card */
    overflow: hidden; /* Important: Keeps image corners clipped to card radius */

    /* --- Default Card Shadow --- */
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    background-color: #FAF8F3;
}

.product-card:hover {
    /* --- Enhanced Hover Shadow --- */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* More pronounced shadow */
    transform: translateY(-5px); /* Keep the subtle lift effect */
}

.product-card .card-img-top {
    /* --- REMOVE FRAME STYLES --- */
    /* border: 6px solid #e0cda9; */
    padding: 10px;
    /* background-color: #fff; */
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
    /* box-sizing: border-box; */
    /* border-radius: 4px; */ /* Remove specific image radius if card has one */

    /* --- Keep existing essential styles --- */
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.product-card .card-title {
    font-size: 1.3rem;
    margin-top: 1rem;
    color: var(--primary-color);
}

.product-card .card-text {
    color: var(--text-muted);
    flex-grow: 1; /* Pushes button down */
    margin-bottom: 1rem;
}

/* Revert Optional adjustments if they were made for the frame */
.essentials-section .product-card .card-body {
     padding-top: 1rem; /* Revert to default or adjust as needed */
     padding-left: 1rem;
     padding-right: 1rem;
     padding-bottom: 1rem;
}

.essentials-section .product-card .product-header {
    top: 15px;  /* Revert to original position */
    left: 15px; /* Revert to original position */
    /* (Keep other product-header styles as they were) */
}



/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials-section {
    background-image: url('../img/testimonial-bg.jpg'); /* Replace with your background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    position: relative;
}

.testimonials-section::before { /* Overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(255 255 255 / 65%); /* Adjust opacity */
    z-index: 1;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background-color: #fff;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 1.5rem;
}

.testimonial-card .card-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
    height: 145px;
}

.testimonial-card .blockquote-footer {
    color: #fe4818;
}
.testimonial-card .blockquote-footer cite {
    font-weight: bold;
    color: var(--primary-color);
}


/*--------------------------------------------------------------
# Global Reach Section
--------------------------------------------------------------*/
.global-reach-section {
    background-color: #fff;
}
.flag-icon {
    height: 40px; /* Adjust size */
    margin: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 3px;
}

/*--------------------------------------------------------------
# Join Us CTA Section
--------------------------------------------------------------*/
.join-cta-section {
    background-color: var(--secondary-color); /* Use the lighter green */
}
.join-cta-section h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 0.5rem !important;
}



/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer-section {
    background-color: var(--footer-bg-color);
    color: var(--text-muted);
    font-size: 1.0rem;
}

.footer-logo {
    max-height: 80px;
}

.footer-tagline {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.footer-heading {
    font-size: 1.1rem;
    color: var(--primary-color); /* Green headings in footer */
    margin-bottom: 1rem;
    font-family: var(--heading-font);
}

.footer-links li, .footer-contact li, .footer-address {
    margin-bottom: 0.5rem;
}

.footer-links a, .footer-contact a, .footer-bottom-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-contact a:hover, .footer-bottom-links a:hover {
    color: var(--accent-color);
}

.footer-address {
    font-style: normal;
    line-height: 1.6;
}

.footer-divider {
    border-top: 1px solid #dee2e6;
}

.footer-bottom-links li {
    margin-right: 1rem;
}
.footer-bottom-links li:last-child {
    margin-right: 0;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    background-color: #dcdcdc; /* Grey background */
    color: var(--text-dark);
    font-size: 1rem;
    transition: all 0.3s ease;
    margin: 0 3px;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.copyright-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/*--------------------------------------------------------------
# Floating WhatsApp Icon
--------------------------------------------------------------*/
.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366; /* WhatsApp Green */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/*--------------------------------------------------------------
# Back to Top Button
--------------------------------------------------------------*/
#backToTopBtn {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 25px;
  right: 95px; /* Position next to WhatsApp */
  z-index: 999;
  border: none;
  outline: none;
  background-color: var(--accent-color);
  color: white;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
}

#backToTopBtn:hover {
  background-color: darken(var(--accent-color), 10%);
}


/*--------------------------------------------------------------
# Responsive Adjustments
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .navbar .container { /* Ensure full width container on mobile nav */
      max-width: none;
    }
    .footer-section .text-md-end {
        text-align: center !important;
    }
    .footer-section .text-md-start {
        text-align: center !important;
    }
     .social-icons {
        margin-bottom: 1rem;
    }
    .copyright-text {
        display: block !important; /* Ensure copyright is on its own line */
    }
    #backToTopBtn {
      right: 25px;
      bottom: 95px; /* Position above WhatsApp on mobile */
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 60px 0;
    }
    .hero-section {
        min-height: auto;
        padding-top: 100px;
        text-align: center;
    }
     .hero-image {
        margin-top: 30px;
        max-width: 70%;
    }
    .flags-container img {
        height: 30px;
        margin: 0.5rem;
    }
    .join-cta-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    .join-cta-section .btn {
        width: 100%;
    }
    .footer-heading {
        margin-top: 1rem;
    }
}