:root {
    --primary: #0f4c3a;
    /* Sharper Medical Green */
    --primary-light: #166551;
    --secondary: #b8860b;
    /* Dark Goldenrod */
    --secondary-dark: #8b6508;
    --accent: #f8faf9;
    --text-main: #1d211f;
    --text-muted: #64748b;
    --bg-premium: #ffffff;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.03);
    --radius: 8px;
    /* Sharper borders for professional look */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-premium);
    background-image: radial-gradient(rgba(15, 76, 58, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    /* Subtle medical grid */
    overflow-x: hidden;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

/* TOPBAR */
.topbar {
    background: var(--primary);
    padding: 8px 0;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.social-icons a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* NAVBAR */
.navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.book-btn {
    background: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.3);
}

.book-btn:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
}

/* HERO */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fdfbf7 0%, #e8f5e9 100%);
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 36px;
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-badges span {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    padding: 8px 18px;
    margin: 5px 10px 5px 0;
    font-size: 15px;
    font-weight: 500;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.cta-btn {
    background: var(--primary);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(15, 76, 58, 0.2);
    transition: var(--transition);
    border: 2px solid var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-3px);
}

.hero-img {
    border-radius: var(--radius);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    background: var(--white);
    padding: 10px;
}

/* TRUST STRIP */
.trust-strip {
    background: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid var(--accent);
}

.trust-item h4 {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.trust-item p {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.treatment-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 50px 35px;
    border-radius: 20px;
    border: 1px solid rgba(15, 76, 58, 0.08);
    height: 100%;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 76, 58, 0.1);
    border-color: var(--secondary);
}

.treatment-card i {
    font-size: 45px;
    margin-bottom: 25px;
    display: block;
    color: var(--secondary);
}

.process-line {
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--primary) 0, var(--primary) 10px, transparent 10px, transparent 20px);
    z-index: 0;
    opacity: 0.2;
}

.process-step-new {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 20px;
    font-weight: 700;
    border: 5px solid var(--white);
    box-shadow: var(--shadow);
}


.treatment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
    border-radius: var(--radius) var(--radius) 0 0;
    opacity: 0;
    transition: var(--transition);
}

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

.treatment-card:hover::before {
    opacity: 1;
}

.treatment-card h5 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 15px;
}

/* DOCTOR SECTION */
.doctor-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.doctor-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-uppercase: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.doctor-img {
    height: 380px;
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.doctor-card:hover .doctor-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.doctor-role {
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
}

/* BRANCHES */
.branch-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid var(--white);
    padding: 30px;
    border-radius: var(--radius);
}

.bg-accent {
    background: var(--accent);
}

/* APPOINTMENT SECTION */
.appointment-section {
    background: var(--primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin: 60px 0;
    padding: 80px 0;
    box-shadow: 0 30px 60px rgba(18, 55, 42, 0.15);
}


.appointment-section input {
    height: 54px;
    border-radius: 10px;
    border: none;
    padding: 0 20px;
}

.appointment-section .btn {
    background: var(--secondary);
    color: var(--white);
    height: 54px;
    font-weight: 700;
    border-radius: 10px;
}

/* FOOTER */
footer {
    background: #0a0a0a;
    color: #888;
}

footer h5 {
    color: var(--white);
    margin-bottom: 25px;
}

/* MODALS */
.premium-modal {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.premium-input {
    height: 50px;
    border-radius: 10px;
    border: 1px solid #eee;
    background: #f8f9fa;
}

.premium-input:focus {
    box-shadow: none;
    border-color: var(--secondary);
    background: var(--white);
}

.btn-premium-primary {
    background: var(--primary);
    color: var(--white);
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
}

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

.btn-premium-secondary {
    background: var(--secondary);
    color: var(--white);
    border: none;
    transition: var(--transition);
}

.btn-premium-secondary:hover {
    background: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* FAB */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fab-btn {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: var(--transition);
}

.whatsapp-fab {
    background: #25d366;
    color: white;
}

.whatsapp-fab:hover {
    background: #128c7e;
    transform: translateY(-5px);
    color: white;
}

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

.call-fab:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
    color: white;
}

.fab-label {
    margin-left: 10px;
    font-size: 14px;
}

.mobile-book {
    display: none;
}

.clinical-badge {
    background: var(--white);
    border: 1px solid var(--accent);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-soft);
}

.clinical-badge i {
    color: var(--secondary);
}

.process-step {
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.col-md-3:last-child .process-step {
    border-right: none;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    border: 5px solid var(--accent);
}

.clinical-border {
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
}

@media (max-width: 768px) {
    .process-step {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 38px;
    }

    .fab-container {
        bottom: 80px;
        /* Above mobile sticky button if any */
        right: 20px;
    }

    .fab-label {
        display: none;
    }

    .fab-btn {
        width: 50px;
        height: 50px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .fab-btn i {
        margin: 0;
        font-size: 20px;
    }

    .mobile-book {
        display: block;
        position: sticky;
        bottom: 0;
        width: 100%;
        background: var(--primary);
        padding: 15px;
        text-align: center;
        z-index: 1001;
    }

    .mobile-book a {
        color: var(--white);
        font-weight: 700;
        text-decoration: none;
        display: block;
    }
}

/* GLOBAL PREMIUM UTILS */
.google-stars {
    color: #fbbc04;
    font-size: 14px;
}

.condition-tag {
    background: var(--white);
    border: 1px solid #e2e8f0;
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    margin: 5px;
}

.condition-tag:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.stats-card {
    background: var(--white);
    border: 1px solid rgba(15, 76, 58, 0.1);
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

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

.stats-card h3 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-family: 'Barlow', sans-serif;
}

.text-terracotta {
    color: #c04836 !important;
}
.bg-terracotta {
    background-color: #c04836 !important;
    color: #fff !important;
}
.video-item {
    background: var(--white);
    padding: 10px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 15px;
}

.ratio {
    min-height: 250px; /* Ensures iframe has a presence even before loading */
}

.video-item iframe {
    border-radius: 8px;
    border: none;
}
.video-link-wrapper {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.video-link-wrapper img {
    transition: transform 0.5s ease;
    width: 100%;
}

.video-link-wrapper:hover img {
    transform: scale(1.05); /* Subtle medical zoom */
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 76, 58, 0.2); /* Clinical green tint */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.play-overlay i {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    padding-left: 5px; /* Adjust for play icon centering */
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.video-link-wrapper:hover .play-overlay {
    background: rgba(15, 76, 58, 0.4);
}

.video-link-wrapper:hover .play-overlay i {
    transform: scale(1.2);
    background: var(--secondary);
    color: var(--white);
}

.rounded-8 {
    border-radius: 8px;
}

/* Enhancing standard cards for premium feel */
.why-choose-us .rounded-20 {
    border: 1px solid rgba(15, 76, 58, 0.1) !important;
    background: linear-gradient(145deg, #ffffff 0%, #f9fbf9 100%);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.why-choose-us .rounded-20:hover {
    transform: translateY(-8px);
    border-color: var(--secondary) !important;
    box-shadow: 0 15px 30px rgba(15, 76, 58, 0.08);
}

/* OWL CAROUSEL PREMIUM NAV */
.owl-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.owl-nav button {
    width: 45px !important;
    height: 45px !important;
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 20px !important;
    transition: var(--transition) !important;
    box-shadow: var(--shadow-soft) !important;
    border: none !important;
}

.owl-nav button:hover {
    background: var(--secondary) !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow) !important;
}

.owl-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.owl-dot span {
    width: 8px !important;
    height: 8px !important;
    background: #cbd5e1 !important;
    display: block;
    border-radius: 50%;
    transition: var(--transition) !important;
}

.owl-dot.active span {
    background: var(--secondary) !important;
    width: 24px !important;
    border-radius: 10px !important;
}

/* FOOTER PREMIM */
footer {
    background: #0a2e26;
    color: rgba(255, 255, 255, 0.8);
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 10px;
}

.footer-link:hover {
    color: var(--secondary);
    padding-left: 5px;
}