/* ===================================
   Wishbon Ayurveda Pharma 2025
   Modern Pharmaceutical Website
   =================================== */

/* CSS Variables for Theme */
:root {
    --primary-color: #16a34a;
    --secondary-color: #0284c7;
    --accent-color: #0dcaf0;
    --text-dark: #1a202c;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

/* Dark Mode Variables */
body.dark-mode {
    --primary-color: #22c55e;
    --secondary-color: #38bdf8;
    --text-dark: #f1f5f9;
    --text-light: #cbd5e1;
    --bg-light: #1e293b;
    --bg-white: #0f172a;
    --border-color: #334155;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
p { margin-bottom: 1rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #15803d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

/* Navigation */
/* -------------------------------
   NAVBAR BASE STYLE
---------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;                       /* Perfect height */
    display: flex;
    align-items: center;
    z-index: 9999;
    background: transparent !important; /* Transparent on video */
    box-shadow: none !important;
    padding: 0;
}

/* CONTAINER FIX */
.navbar .container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;                       /* Vertically center items */
    padding: 0 40px;                    /* L-R space */
}

/* LOGO */
.nav-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  margin: 0;
  padding-left: 16px;
}

.nav-logo {
  height: 60px;
  width: 180px;
  display: block;
  margin-left: 27px;
  transform: translateY(0);
}

/* ================================
   MOBILE RESPONSIVE (max-width: 768px)
================================ */
@media (max-width: 768px) {
  .nav-brand {
    padding-left: 10px;
  }

  .nav-logo {
    height: 80px;   /* Reduce size on tablets */
    width: 180px;
    margin-left: 10px;
  }
}

/* ================================
   SMALL MOBILE (max-width: 480px)
================================ */
@media (max-width: 480px) {
  .nav-brand {
    padding-left: 6px;
  }

  .nav-logo {
    height: 44px;   /* Perfect size for small phones */
    width: 130px;
    margin-left: 6px;
  }
}

/* NAV MENU */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;                          /* space between menu items */
    list-style: none;
   
    margin-left: auto;  
   
}

/* NAV LINKS */
.nav-menu li a {
    color: #fff !important;             /* White on video */
    font-size: 17px;
    font-weight: 500;
    padding: 10px   10px;
    text-decoration: none;
    transition: 0.3s ease;
    font-family: 'Poppins', sans-serif;
    
}

.nav-menu li a:hover {
    opacity: 0.7;
}

/* THEME BUTTON */
.theme-toggle {
    background: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
}

/* MOBILE TOGGLE BUTTON */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
}

/* --------------------------------
   NAVBAR AFTER SCROLL
----------------------------------- */
.navbar.scrolled {
    background: white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar.scrolled .nav-menu li a {
    color: #111 !important;   /* dark text after scroll */
}

.navbar.scrolled .nav-brand h1 {
    color: #00a14b;            /* your logo color stays green */
}

.navbar.scrolled .nav-toggle {
    color: #111 !important;
}

/* --------------------------------
   MOBILE RESPONSIVE
----------------------------------- */
@media (max-width: 991px) {

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 90px;
        right: 0;
        width: 220px;
        background: rgba(0,0,0,0.85);
        flex-direction: column;
        padding: 20px;
        display: none;
        border-radius: 0 0 0 12px;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu li a {
        color: white !important;
        font-size: 18px;
    }
}


.nav-brand h1 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

.theme-toggle {
    background-color: var(--bg-light);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    background-color: var(--border-color);
}
/* NAVBAR SLIDE + FADE + SOFT BOUNCE */
@keyframes navbarReveal {
    0% {
        transform: translateY(-80px);
        opacity: 0;
    }
    60% {
        transform: translateY(10px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    animation: navbarReveal 0.9s ease-out forwards;
}
/* MENU ITEMS ANIMATION */
.nav-menu li {
    opacity: 0;
    transform: translateY(-10px);
    animation: menuPop 0.6s ease-out forwards;
}

@keyframes menuPop {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay each item */
.nav-menu li:nth-child(1) { animation-delay: 0.4s; }
.nav-menu li:nth-child(2) { animation-delay: 0.5s; }
.nav-menu li:nth-child(3) { animation-delay: 0.6s; }
.nav-menu li:nth-child(4) { animation-delay: 0.7s; }
.nav-menu li:nth-child(5) { animation-delay: 0.8s; }
.nav-menu li:nth-child(6) { animation-delay: 0.9s; }

/* Theme toggle appear last */
.theme-toggle {
    opacity: 0;
    transform: scale(0.8);
    animation: togglePop 0.6s ease-out forwards;
    animation-delay: 1s;
}

@keyframes togglePop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
.navbar {
    background: transparent !important;
    box-shadow: none !important;
}
.navbar.scrolled {
    background: white !important;
    box-shadow: var(--shadow-sm) !important;
    backdrop-filter: blur(10px);
}
nav a { color: #fff !important; }

/* Mobile Navbar */
/* MOBILE NAVBAR */
@media (max-width: 991px) {
  .nav-toggle {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 1002;
  }

  .nav-menu {
    display: none;             /* hidden initially */
    position: absolute;
    top: 90px;
    right: 0;
    width: 100%;
    background-color: white;    /* white background */
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    list-style: none;
    z-index: 1001;             /* above other content */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .nav-menu.active {
    display: flex;
    animation: slideIn 0.3s ease-out forwards;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu li a {
    color: var(--text-dark) !important; /* dark color for links */
    font-size: 18px;
    text-decoration: none;
    display: block;
    padding: 10px 0;
  }

  .nav-menu li a:hover {
    color: var(--primary-color) !important;
  }

  @keyframes slideIn {
    0% { transform: translateY(-20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
  }
}
@media (max-width: 991px) {
    .nav-menu {
        position: absolute;
        top: 90px;      /* below navbar */
        right: 0;
        width: 250px;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        display: none;   /* hide by default */
        border-radius: 0 0 0 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;   /* show menu when toggled */
    }

    .nav-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 28px;
        color: #111;
        cursor: pointer;
    }

    .nav-menu li a {
        color: #111 !important;
        font-size: 18px;
        padding: 10px 0;
    }
}

    @keyframes slideIn {
        0% { transform: translateY(-30px); opacity: 0; }
        100% { transform: translateY(0); opacity: 1; }
    }



    /* Slide-in animation */
    @keyframes slideIn {
        0% {
            transform: translateX(100%);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }

    .theme-toggle {
        margin-top: 20px;
    }
/* WhatsApp Floating Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;      /* distance from bottom */
    right: 20px;       /* distance from right */
    background-color: #25D366; /* WhatsApp green */
    color: white;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.whatsapp-button i {
    font-size: 28px;
}
/* WhatsApp Button Responsive Fix */
@media (max-width: 600px) {
    .whatsapp-button {
        right: 12px;
     
        bottom: 12px;
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 400px) {
    .whatsapp-button {
        right: 8px;
        bottom: 10px;
        width: 50px;
        height: 50px;
    }
}

/* FIX MOBILE SCREEN CUT-OFF */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
}



/* Hero Section */
/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* DARK MODE FIX */
body.dark-mode .hero {
    background: none;
}

/* 🔥 BACKGROUND VIDEO */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 1 !important;  /* full clear */
    filter: none !important; /* remove any blur */
}

/* OVERLAY – Make lighter or remove */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.20); /* only 20% shade for text visibility */
    z-index: 2;
}

/* CONTENT ABOVE VIDEO */
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3; /* on top of video + overlay */
}

/* ✨ TEXT STYLES – FIXED FOR VIDEO BG */
.hero-title {
    font-size: 3.5rem;
    color: #ffffff; /* full white for clarity */
    margin-bottom: 1rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.7);
    animation: fadeInUp 1s ease-out;
    font-family: 'Poppins', sans-serif;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #f2f2f2;
    margin-bottom: 2rem;
    text-shadow: 0 3px 10px rgba(0,0,0,0.6);
    animation: fadeInUp 1.2s ease-out;
    font-family: 'Poppins', sans-serif;
}

/* STATS */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    animation: fadeInUp 1.4s ease-out;
    font-family: 'Poppins', sans-serif;
}
.hero-stats strong {
    font-size: 32px;
    font-weight: 700;
    display: inline-block;
}


.stat-item {
    font-size: 1rem;
    color: #eaeaea; /* soft white */
}

.stat-item strong {
    display: block;
    font-size: 1.7rem;
    color: #00e676; /* Ayurveda green highlight */
    text-shadow: 0 3px 12px rgba(0,0,0,0.7);
}

/* BUTTONS */
.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeInUp 1.6s ease-out;
}

/* RIGHT IMAGE (If used) */
.hero-image {
    animation: slideInRight 1.2s ease-out;
    position: relative;
    z-index: 3;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .hero-video {
        display: none; /* hide video on mobile */
    }

    .hero {
        background: url('images/hero.jpg') center/cover no-repeat;
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    font-family: 'Poppins', sans-serif;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
}

/* Products Section */
/* ============================
   PRODUCTS SECTION
============================ */
.products {
    background-color: var(--bg-white);
}

/* Grid layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding-bottom: 20px; /* optional */
}

/* Product card styling */
.product-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: auto; /* allow card to grow with image */
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Product image container */
.product-image {
    position: relative;
    overflow: hidden;
}

/* Product image styling */
.product-image img {
    width: 100%;
    height: 450px;           /* increased height */
    object-fit: cover;       /* fills container without cropping */
    transition: var(--transition);
    padding: 10px;           /* reduced padding so image appears bigger */
    box-shadow: 0 4px 15px rgba(17, 17, 17, 0.12);
    border-radius: 12px;
}

.product-card:hover .product-image img {
    transform: scale(1.1); /* hover zoom effect */
}

/* Product info section */
.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    font-family: 'Poppins', sans-serif;
}

.product-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;   /* pushes button to bottom */
    font-family: 'Poppins', sans-serif;
}

.product-info .btn {
    margin-top: auto;  /* aligns button at bottom */
}

/* Product badge */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* Back button styling */
.back {
    display: inline-block;
    margin: 10px 30px;
    font-size: 1.8rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 200;
}

.back:hover {
    text-decoration: underline;
}

/* EVERYTHING SLIDES FROM LEFT */
.reveal-left {
    opacity: 0;
    transform: translateX(-70px);
    transition: all 0.8s ease-out;
}

.see-all {
    display: block;
    text-align: right;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: 0.3s;
}

.see-all:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

/* Reveal animations */
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scroll reveal animations for product cards */
.product-card.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: transform 700ms cubic-bezier(.2,.9,.2,1), opacity 700ms ease;
    will-change: transform, opacity;
}

.product-card.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   MOBILE RESPONSIVE
============================ */
@media screen and (max-width: 768px) {

    .product-grid {
        grid-template-columns: 1fr; /* stack products vertically */
        gap: 20px;
    }

    .product-card {
        height: auto; /* auto height for mobile */
    }

    .product-image img {
        height: 350px; /* slightly smaller on mobile */
        padding: 5px;
    }
}


/* About Section */
.about {
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.about-text h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-family: 'Poppins', sans-serif;
}

.about-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    font-family: 'Poppins', sans-serif;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.feature-item i {
    font-size: 1.5rem;
}

/* Blog Section */
.blog {
    background-color: var(--bg-white);
}

.blog-grid {
     display: grid;
    grid-template-columns: repeat(2, 1fr); /* EXACTLY 2 CARDS PER ROW */
    gap: 2rem;
}

.blog-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.blog-icon i {
    font-size: 1.75rem;
    color: white;
}

.blog-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.blog-card p {
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
}
/* EVERYTHING SLIDES FROM RIGHT */
.reveal-right {
    opacity: 0;
    transform: translateX(70px);
    transition: all 0.8s ease-out;
}

/* When visible */
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.blog-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative; /* important */
}

.read-more {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 200;
    color: var(--primary-color);
    text-decoration: none;
    transition: 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}


/* Contact Section */
.contact {
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.contact-form-container {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    font-family: 'Poppins', sans-serif;
}

.contact-form-container h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 35px;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    background-color: rgba(22, 163, 74, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.info-item p,
.info-item a {
    color: var(--text-light);
    text-decoration: none;
}

.info-item a:hover {
    color: var(--primary-color);
}
/* Initial hidden state */
.reveal-bottom {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

/* Visible state when scrolled into view */
.reveal-bottom.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}


/* Doctor Zone */
.doctor-zone {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    
}

.doctor-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
}

.doctor-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.doctor-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
}

.doctor-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

.doctor-form input {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}
/* Zoom-in animation */
.zoom-in {
    opacity: 0;
    transform: scale(0.85); /* slightly smaller */
    transition: all 0.8s ease-out; /* smooth effect */
}

/* When visible */
.zoom-in.visible {
    opacity: 1;
    transform: scale(1); /* full size */
}




/* Innovations */
.innovations {
    background: linear-gradient(135deg, #f0fdf4, #dbeafe);
    text-align: center;
}

body.dark-mode .innovations {
    background: linear-gradient(135deg, #1e3a28, #1e293b);
}

.innovation-list {
    list-style: none;
    max-width: 800px;
    margin: 2rem auto;
    text-align: left;
    font-family: 'Poppins', sans-serif;
}

.innovation-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background-color: var(--bg-white);
    border-radius: 8px;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.innovation-list li:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-sm);
}

.innovation-list i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: #16a34a;
    color: white;
    padding: 3rem 0 1rem;
    text-align: center;
}

body.dark-mode .footer {
    background-color: #0f172a;
}

.footer-content p {
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.footer-update {
    font-size: 0.9rem;
    color: #fff;
}
.footer-social a {
    color: white;
    font-size: 1.6rem;
    transition: 0.3s;
}

.footer-social a:hover {
    color: #00c853; /* Ayurvedic green */
    transform: scale(1.2);
}
.footer-legal {
    font-size: 0.85rem;
    color: #fff;
    margin-top: 1rem;
}

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

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

.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-slide-in {
    animation: slideInRight 1s ease-out;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container,
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: block;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

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

    .doctor-form {
        flex-direction: column;
    }
}

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

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

    .product-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
.footer-social {
    margin-top: 15px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-social a {
    color: white;
    font-size: 1.6rem;
    transition: 0.3s;
}
.footer-social a:hover {
    color: #00c853; /* Ayurvedic green */
    transform: scale(1.2);
}
/* Mobile Responsive */
@media (max-width: 480px) {

    .footer-social {
        gap: 15px;           /* reduce spacing */
        margin-top: 12px;
    }

    .footer-social a {
        font-size: 1.3rem;   /* smaller icons for mobile */
    }

    .footer-social a:hover {
        transform: scale(1.1); /* slightly reduced hover zoom */
    }
}
