/* Satvam Ayurveda - Premium Design System */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@600;700;800&display=swap');

:root {
    --primary-green: #2E7D32;
    --primary-dark: #1B5E20;
    --primary-light: #E8F5E9;
    --accent-green: #81C784;
    --accent-gold: #C5A059;
    --accent-gold-dark: #B38B4D;
    --off-white: #FAFAFA;
    --white: #FFFFFF;
    --white-glass: rgba(255, 255, 255, 0.85);
    --dark-glass: rgba(0, 0, 0, 0.05);
    --text-main: #2C3E50;
    --text-muted: #546E7A;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 40px rgba(46, 125, 50, 0.12);
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 90px;
    --border-radius: 24px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(rgba(250, 250, 250, 0.9), rgba(250, 250, 250, 0.9)), 
                url('assets/green img satvam.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--text-main);
    line-height: 1.7;
    opacity: 0;
    transition: opacity 0.6s ease;
}

body.page-loaded {
    opacity: 1;
}

body.page-exit {
    opacity: 0;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}

/* Typography Utilities */
.text-forest { color: var(--primary-green); }
.text-center { text-align: center; }

/* Layout Containers */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

section {
    padding: 100px 0;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--white-glass);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    font-size: 20px;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .scroll-top {
        bottom: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
    }
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    padding: 12px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2.5px;
    background: var(--primary-green);
    border-radius: 4px;
    transition: var(--transition);
}

.hamburger.toggle span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}
.hamburger.toggle span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}
.hamburger.toggle span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

@media (max-width: 992px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        box-shadow: -20px 0 60px rgba(0,0,0,0.1);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px;
        transition: 0.6s cubic-bezier(0.85, 0, 0.15, 1);
        z-index: 1000;
        gap: 25px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateX(30px);
        transition: 0.4s ease forwards;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active li:nth-child(1) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.4s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.5s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.6s; }
    .nav-links.active li:nth-child(6) { transition-delay: 0.7s; }

    .nav-links a {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--text-main);
        padding: 10px;
        display: block;
    }

    .nav-links .btn-book {
        margin-top: 10px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    main {
        padding-top: 100px !important;
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-green);
}

.btn-book {
    background: var(--primary-green);
    color: var(--white) !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.2);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-book:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(46, 125, 50, 0.3);
    background: var(--primary-dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)), url('assets/satvam hero img.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 80px;
        text-align: center;
        background-attachment: scroll;
    }
    .hero-text h1 {
        font-size: 2.4rem !important;
    }
}

.hero-text p {
    font-size: clamp(1rem, 4vw, 1.2rem);
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Feature Cards */
.info-contact {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: var(--white-glass);
    backdrop-filter: blur(10px);
    padding: clamp(20px, 5vw, 50px);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.contact-brand-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.contact-brand-block img {
    height: 120px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.info-grid-internal {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 600px) {
    .info-grid-internal {
        grid-template-columns: 1fr;
    }
}

.info-card h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.info-item {
    margin-bottom: 30px;
}

.info-item p {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.6;
}

.info-item strong {
    display: block;
    color: var(--primary-green);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-green);
}

.feature-card img {
    width: 100%;
    height: 250px;
    object-fit: contain; /* Shows the full original image without cropping */
    background: rgba(255, 255, 255, 0.4); /* Subtle background to frame different ratios */
    border-radius: 16px;
    margin-bottom: 24px;
    padding: 10px; /* Internal breathing room for the full photo */
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Doctor Section */
.doctor-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 992px) {
    .doctor-section, .hero-content {
        grid-template-columns: 1fr !important;
        gap: 40px;
        text-align: center;
    }
}

.doctor-img img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-hover);
}

/* Shop Grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-gold);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: white;
    padding: 20px;
}

.product-info {
    padding: 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
    color: var(--primary-dark);
}

.product-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.btn-whatsapp {
    display: block;
    background: #25D366;
    color: white !important;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* Stats Section - Premium Elite Upgrade */
#stats {
    background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), 
                url('assets/green img satvam.jpg');
    background-size: cover;
    background-attachment: fixed;
    padding: 80px 0;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    width: 100%;
    background: var(--white-glass);
    padding: 50px 40px; /* More padding for step look */
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    text-align: center;
    position: relative;
    margin-bottom: 20px;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-gold);
}

/* Testimonial Enhancements */
.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left !important;
}

.review-stars {
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.stat-number {
    display: block;
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 1rem;
    color: var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (min-width: 992px) {
    .stats-grid {
        flex-direction: row;
        max-width: 1280px;
        justify-content: center;
    }
    .stat-item {
        flex: 1;
    }
}

.stat-number {
    display: block;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

/* ==========================================================================
   Premium Footer Styles
   ========================================================================== */
footer {
    background: var(--primary-dark); /* The rich dark green from your palette */
    color: rgba(255, 255, 255, 0.9);
    padding: 80px 0 30px;
    border-top: 4px solid var(--accent-gold);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links a:hover {
        transform: translateX(0) scale(1.05);
    }
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

/* Beautiful hover animation for links */
.footer-links a:hover {
    color: var(--accent-gold);
    transform: translateX(8px); /* Gently pushes the link to the right on hover */
}

.footer-phone {
    display: inline-block;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 8px;
    transition: var(--transition);
}

.footer-phone:hover {
    background: var(--primary-green);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ==========================================================================
    .gallery-item {
        height: 280px;
    }
    .lightbox-content {
        max-width: 100%;
    }
}

/* ==========================================================================
   Floating Widgets (WhatsApp & AI Chat)
   ========================================================================== */
.floating-widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2000;
}

@media (max-width: 768px) {
    .floating-widgets {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-5px);
}

.btn-wa-float {
    background: #25D366;
    color: white;
    font-size: 30px;
}

.btn-ai-float {
    background: var(--primary-green);
    color: white;
    font-size: 24px;
}

/* Chatbot Window */
.chat-window {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 90%;
    max-width: 350px;
    height: 450px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 2001;
}

.chat-window.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    background: var(--primary-green);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msg {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    font-size: 0.9rem;
}

.msg-ai {
    background: #e8f5e9;
    align-self: flex-start;
    color: var(--text-main);
}

.msg-user {
    background: var(--primary-green);
    color: white;
    align-self: flex-end;
}

.chat-input {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 10px;
    outline: none;
}

.chat-input button {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
}

/* ==========================================================================
   Premium Form Upgrades
   ========================================================================== */
.premium-form {
    padding: clamp(20px, 5vw, 50px);
    background: rgba(255, 255, 255, 0.9);
}

.form-row {
    display: flex;
    gap: 24px;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.half-width {
    flex: 1;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
    font-family: inherit;
}

/* Custom styling for the Dropdown Arrow */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23297a33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 48px;
    cursor: pointer;
}

/* Beautiful Focus Animation */
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(41, 122, 51, 0.15), inset 0 2px 5px rgba(0,0,0,0.02);
    transform: translateY(-2px);
}

/* WhatsApp Gradient Button */
.btn-submit {
    width: 100%;
    padding: 20px;
    font-size: 1.1rem;
    margin-top: 15px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50px;
    color: white;
    font-weight: 700;
    transition: var(--transition);
}

.btn-submit:hover {
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); /* Green glow */
}

/* Mobile Responsiveness for Form */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0; /* Let the margin-bottom of form-group handle spacing */
    }
}

/* ==========================================================================
   Therapies Grid Styles
   ========================================================================== */
.therapies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.therapy-card {
    background: var(--white-glass);
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.therapy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-green);
}

.therapy-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.therapy-card h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.therapy-indication {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-green);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.therapy-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .therapies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .therapies-grid {
        grid-template-columns: 1fr;
    }
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1100px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .shop-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Contact Layout Fix */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* Responsive Badges & Grids */
.badge-row {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.responsive-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .responsive-two-col {
        grid-template-columns: 1fr;
    }
    .badge-row {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    section {
        padding: 60px 0;
    }
    .floating-widgets {
        bottom: 20px;
        right: 20px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Final Mobile Responsive Fixes - User Requested Perfection */
@media (max-width: 992px) {
    /* 1. Reset Squeezed Grids to Single Column Stack */
    .hero-content, 
    .doctor-section, 
    .info-grid-internal, 
    .contact-layout {
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 30px !important;
    }

    /* 2. Full Width Content Containers */
    .hero-text, 
    .doctor-text, 
    .clinic-details, 
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
    }

    /* 3. Stats Section Refinement */
    .stats-grid {
        display: flex !important;
        flex-direction: column !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        gap: 30px !important;
    }

    .stat-item {
        width: 100% !important;
        padding: 30px 20px !important;
    }

    /* 4. Fluid Typography to Prevent Overflow */
    .hero-text h1 {
        font-size: clamp(2rem, 8vw, 2.5rem) !important;
        line-height: 1.2;
    }

    .stat-number {
        font-size: 2.8rem !important;
    }

    /* 5. Mobile Header & Main Spacing */
    main {
        padding-top: 100px !important; /* Smaller gap for mobile header */
    }

    .hero {
        height: auto !important;
        min-height: 80vh;
        padding-top: 120px;
        background-attachment: scroll; /* Disabling fixed background for mobile performance */
    }
}

/* ==========================================================================
   About Page - Premium Medical Branding
   ========================================================================== */
.doctor-img {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-green);
    color: white;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
    z-index: 2;
    border: 2px solid var(--white);
}

.experience-badge .num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.about-quote {
    font-size: 1.4rem;
    color: var(--primary-green);
    font-style: italic;
    border-left: 4px solid var(--accent-gold);
    padding-left: 20px;
    margin: 30px 0;
    line-height: 1.4;
}

.philosophy-card {
    background: linear-gradient(135deg, var(--white-glass), rgba(255,255,255,0.95));
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: var(--shadow-soft);
    margin-top: 40px;
}

.philosophy-card h3 {
    color: var(--primary-green);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .experience-badge {
        bottom: 20px;
        right: 20px;
        padding: 15px;
    }
    .experience-badge .num { font-size: 1.5rem; }
    .about-quote { font-size: 1.1rem; }
}

/* Section Entrance Animations */
/* Consolidated in main section block */

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--off-white);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 10px;
    border: 3px solid var(--off-white);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green);
}
