:root {
    --primary: #14527b;
    --primary-dark: #094bb0;
    --secondary: #2d8cff;
    --ink: #0f172a;
    --text: #5b6475;
    --line: #dfe9fb;
    --white: #ffffff;
    --soft: #f5f9ff;
    --soft-2: #ecf4ff;
    --footer: #0a47a8;
    --shadow: 0 20px 60px rgba(10, 71, 168, 0.10);
    --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

/* Body scroll lock class */
body.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 90px 0;
    overflow: hidden;
}

.section-title {
    margin: 0 0 12px;
    font-size: clamp(2rem, 3vw, 2.35rem);
    line-height: 1.15;
    font-weight: 800;
    color: var(--ink);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.brand a {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
}

.section-kicker::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--secondary);
    box-shadow: 18px 0 0 rgba(45, 140, 255, 0.26);
}

.section-desc,
p {
    color: var(--text);
    line-height: 1.78;
}

.footer-brand p {
    color: white;
}

.footer-new p {
    color: #fff;
}

.brand.footer-logos {
    width: 100%;
}

.center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(11, 99, 229, 0.24);
    transition: 0.25s ease;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(11, 99, 229, 0.25);
    color: var(--primary);
    box-shadow: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    font-size: 0.95rem;
    font-weight: 700;
}



.hero {
    padding-top: 24px;
    padding-bottom: 0px;
    background: #e7effa;
}

.hero-grid,
.split-grid,
.appointment-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 48px;
    align-items: center;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2.65rem, 5vw, 3.25rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero h1 .accent {
    color: var(--primary);
}

.hero p {
    max-width: 620px;
    margin-bottom: 30px;
    font-size: 1.02rem;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.visual-wrap {
    position: relative;
    isolation: isolate;
    min-height: 560px;
}

.doctor-figure {
    position: relative;
    width: min(100%, 460px);
    margin: 18px auto 0;
    aspect-ratio: 4 / 5;
    z-index: 2;
    border-radius: 28px;
    overflow: hidden;
}

.doctor-figure::before {
    left: 8%;
    transform: rotate(18deg);
}

.doctor-figure::after {
    right: 8%;
    transform: rotate(-18deg);
}

.WidgetTitle__Container-sc-9c92769d-0.lfCQiA.es-widget-title-container {
    display: none;
}

.doctor-figure .steth {
    position: absolute;
    inset: auto auto 16% 50%;
    width: 120px;
    height: 120px;
    transform: translateX(-50%);
    border: 6px solid #1f3c88;
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    border-radius: 50%;
    opacity: 0.55;
}

.floating-card {
    position: absolute;
    z-index: 3;
    background: var(--white);
    padding: 18px 18px 16px;
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    min-width: 140px;
}

.floating-card h4 {
    margin: 0;
    font-size: 2rem;
    color: var(--primary);
    line-height: 1;
}

.floating-card p {
    margin: 8px 0 0;
    font-size: 0.92rem;
    line-height: 1.45;
}

.floating-card.one {
    top: -7px;
    left: 55px;
}

.floating-card.two {
    right: -5%;
    top: 59%;
    width: 46%;
}

.floating-card.three {
    bottom: 5%;
    min-width: 170px;
}

.floating-card.froth {
    /* bottom: 5%; */
    min-width: 170px;
}

.mini-rating {
    display: flex;
    gap: 5px;
    margin-top: 8px;
    color: #ffb703;
    font-size: 0.92rem;
}

.dot,
.ring {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--secondary);
    opacity: 0.85;
}

.ring {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(11, 99, 229, 0.24);
}


/* HEADER */
.topbar {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.brand img {
        /* height: 75px; */
    width: 334px;
}

/* NAV LINKS */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #1f2a48;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* BUTTON */
.book-now-btn {
    padding: 8px 18px;
    border: 2px solid #14527b;
    color: #14527b;
    border-radius: 6px;
    text-decoration: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(11, 99, 229, 0.24);
    transition: 0.25s ease;
    cursor: pointer;
}

.btn:hover {
    color: #ffffff;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(11, 99, 229, 0.25);
    color: var(--primary);
    box-shadow: none;
}

/* DROPDOWN */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    list-style: none;
    min-width: 220px;
    display: none;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 10px 0;
    /* height: 300px;
    overflow: scroll; */
}

.submenu li {
    position: relative;
}

.submenu a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
}

.submenu a:hover {
    background: #f5f7fa;
}

/* RIGHT SIDE SUBMENU */
.submenu-right {
    left: 100%;
    top: 0;
}

/* HOVER DESKTOP */
@media (min-width: 992px) {
    .has-dropdown:hover>.submenu {
        display: block;
    }
}

/* MOBILE MENU BUTTON */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* ================= MOBILE ================= */
@media (max-width: 991px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        display: none;
        padding: 15px;
        border-top: 1px solid #eee;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        padding: 10px 0;
    }

    /* DROPDOWN MOBILE */
    .submenu {
        position: static;
        display: none;
        border: none;
        padding-left: 15px;
    }

    .submenu.active {
        display: block;
    }

    .submenu-right {
        left: 0;
    }

    /* BOOK BUTTON */
    .book-now-btn {
        display: none;
    }
}








 /* ===================== SERVICES SECTION MODERN ===================== */

.services-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8faff 0%, #e8f0fe 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 82, 123, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(45, 140, 255, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Section Badge */
.section-badge {
    display: inline-block;
    padding: 6px 20px;
    background: linear-gradient(135deg, #14527b, #2d8cff);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 16px;
}

.highlight-text {
    color: #14527b;
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(45, 140, 255, 0.15);
    border-radius: 4px;
    z-index: -1;
}

.services-header {
    margin-bottom: 60px;
}

.services-header .section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #1a2a3a;
}

.services-header .section-desc {
    max-width: 680px;
    margin: 0 auto;
    color: #5a6a7a;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ===== SERVICES GRID ===== */
.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* ===== SERVICE CARD ===== */
.service-card-modern {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.service-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(20, 82, 123, 0.15);
    border-color: rgba(45, 140, 255, 0.1);
}

/* Image Wrapper */
.service-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: #e8f0fe;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card-modern:hover .service-img {
    transform: scale(1.08);
}

/* Image Overlay Gradient */
.service-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-modern:hover .service-image-wrapper::after {
    opacity: 1;
}

/* Icon Circle */
.service-icon-circle {
    position: absolute;
    bottom: -20px;
    left: 24px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #14527b, #2d8cff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(20, 82, 123, 0.3);
    z-index: 3;
    transition: all 0.3s ease;
}

.service-card-modern:hover .service-icon-circle {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 12px 32px rgba(20, 82, 123, 0.4);
}

.service-icon-circle svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
}

/* Content */
.service-content {
    padding: 28px 24px 24px;
    position: relative;
    z-index: 2;
    background: #fff;
}

.service-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 10px;
    line-height: 1.3;
}

.service-content p {
    color: #5a6a7a;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-link {
    color: #14527b;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #2d8cff;
    gap: 12px;
}

/* ===== CTA Button ===== */
.services-cta {
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: linear-gradient(135deg, #14527b, #2d8cff);
    border: none;
    padding: 14px 40px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(20, 82, 123, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(20, 82, 123, 0.35);
    color: #fff;
    background: linear-gradient(135deg, #0e3d5e, #1a7ae0);
}

.btn-lg {
    padding: 16px 48px;
    font-size: 1.1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .services-grid-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 992px) {
    .services-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .services-header .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 50px 0;
    }

    .services-grid-modern {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 420px;
        margin: 0 auto;
    }

    .services-header .section-title {
        font-size: 1.8rem;
    }

    .services-header .section-desc {
        font-size: 1rem;
        padding: 0 15px;
    }

    .service-image-wrapper {
        height: 200px;
    }

    .service-content {
        padding: 20px 18px 20px;
    }

    .service-content h3 {
        font-size: 1.05rem;
    }

    .service-icon-circle {
        width: 48px;
        height: 48px;
        bottom: -18px;
        left: 18px;
    }

    .service-icon-circle svg {
        width: 24px;
        height: 24px;
    }

    .btn-lg {
        padding: 14px 32px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-header .section-title {
        font-size: 1.5rem;
    }

    .service-image-wrapper {
        height: 180px;
    }
}

     .swiper {
        width: 100%;
        height: 100%;
      }

      .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #444;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }


      .nav-links .has-dropdown .submenu li a .menu-icon-img {
                            width: 40px !important;
                            /* height: 28px !important; */
                            flex-shrink: 0 !important;
                            object-fit: contain !important;
                        }

                        /* ===== MULTI-COLUMN DROPDOWN WITH ICONS ===== */
                        .nav-links .has-dropdown .submenu {
                            display: grid !important;
                            grid-template-columns: repeat(3, 1fr) !important;
                            gap: 8px 16px !important;
                            width: 780px !important;
                            max-width: 90vw !important;
                            padding: 18px 22px !important;
                            background: #ffffff !important;
                            border-radius: 14px !important;
                            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
                            border: 1px solid rgba(0, 0, 0, 0.06) !important;
                            left: 50% !important;
                            transform: translateX(-50%) !important;
                            transition: all 0.25s ease !important;
                            opacity: 0 !important;
                            visibility: hidden !important;
                            pointer-events: none !important;
                            top: calc(100% + 10px) !important;
                            position: absolute !important;
                            z-index: 999 !important;
                        }

                        /* Hover pe dikhao */
                        .nav-links .has-dropdown:hover .submenu {
                            opacity: 1 !important;
                            visibility: visible !important;
                            pointer-events: auto !important;
                            top: calc(100% + 0px) !important;
                        }

                        /* Submenu items - icon + text */
                        .nav-links .has-dropdown .submenu li {
                            display: flex !important;
                            align-items: center !important;
                            gap: 10px !important;
                            padding: 6px 8px !important;
                            border-radius: 8px !important;
                            transition: background 0.2s ease !important;
                            list-style: none !important;
                            background: transparent !important;
                            border: none !important;
                            margin: 0 !important;
                        }

                        .nav-links .has-dropdown .submenu li:hover {
                            background: #f0f7ff !important;
                        }

                        .nav-links .has-dropdown .submenu li a {
                            display: flex !important;
                            align-items: center !important;
                            gap: 10px !important;
                            color: #1a2a3a !important;
                            /* font-size: 0.82rem !important; */
                            font-weight: 500 !important;
                            padding: 4px 0 !important;
                            text-decoration: none !important;
                            white-space: normal !important;
                            line-height: 1.3 !important;
                            width: 100% !important;
                        }

                        /* Icon styling - aap icons ko img ya unicode emoji ke saath use kar sakte hain */
                        .nav-links .has-dropdown .submenu li a .menu-icon {
                            width: 28px !important;
                            height: 28px !important;
                            flex-shrink: 0 !important;
                            display: inline-flex !important;
                            align-items: center !important;
                            justify-content: center !important;
                            background: #e8f0fe !important;
                            border-radius: 6px !important;
                            font-size: 16px !important;
                            color: #14527b !important;
                        }

                        /* ===== RESPONSIVE: Tablet par 2 columns ===== */
                        @media (max-width: 1024px) {
                            .nav-links .has-dropdown .submenu {
                                grid-template-columns: repeat(2, 1fr) !important;
                                width: 650px !important;
                                max-width: 92vw !important;
                                padding: 16px 18px !important;
                            }
                        }

                        /* ===== RESPONSIVE: Mobile par full width single column ===== */
                        @media (max-width: 768px) {
                            .nav-links .has-dropdown .submenu {
                                grid-template-columns: 1fr !important;
                                width: 100% !important;
                                max-width: 100% !important;
                                position: static !important;
                                box-shadow: none !important;
                                border: none !important;
                                border-radius: 0 !important;
                                padding: 8px 0 8px 20px !important;
                                background: #f8faff !important;
                                opacity: 1 !important;
                                visibility: visible !important;
                                pointer-events: auto !important;
                                transform: none !important;
                                display: none !important;
                            }

                            .nav-links .has-dropdown .submenu.active {
                                display: grid !important;
                            }

                            .nav-links .has-dropdown:hover .submenu {
                                opacity: 1 !important;
                                visibility: visible !important;
                                top: auto !important;
                            }
                        }




































































.hero .d1 {
    left: 4%;
    top: 12%;
}

.hero .d2 {
    right: 8%;
    top: 8%;
}

.hero .d3 {
    left: 52%;
    bottom: 12%;
}

.hero .r1 {
    right: 16%;
    bottom: 24%;
}

.about-card {
    position: relative;
    padding: 0px 28px 0 28px;
    border-radius: 32px;
    box-shadow: var(--shadow);
}

section#about {
    background: #ffffff;
}

.portrait-shell {
    aspect-ratio: 1 / 1.08;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 42%, #d7e9ff 0 55%, #eef6ff 56%, #f8fbff 100%);
    display: grid;
    place-items: end center;
}

.exp-badge {
    position: absolute;
    left: 10px;
    bottom: 14px;
    padding: 16px 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 20px 35px rgba(11, 99, 229, 0.24);
}

.exp-badge strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.list-check {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.list-check li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #24314e;
    font-weight: 600;
}

.list-check li::before {
    content: "✓";
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #deebff;
    color: var(--primary);
    font-size: 0.95rem;
    flex: 0 0 auto;
}

.services-grid,
.testimonial-grid,
.footer-grid {
    display: grid;
    gap: 24px;
}

.services-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 42px;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(223, 233, 251, 0.9);
    transition: 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(10, 71, 168, 0.12);
}

.icon-box {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    color: var(--primary);
    background: linear-gradient(135deg, #e8f2ff, #d6e7ff);
    margin-bottom: 18px;
    padding: 7px;
}

.card h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
}

.skills-shell {
    margin-top: 42px;
    display: grid;
    grid-template-columns: 1fr 420px 1fr;
    gap: 28px;
    align-items: center;
}

.skill-col {
    display: grid;
    gap: 24px;
}

.skill-item {
    background: transparent;
    padding: 6px 0;
}

.skill-item h4 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.skill-item .bar {
    height: 9px;
    background: #dbe7fb;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 12px;
}

.skill-item .bar>span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: inherit;
}

section#skills {
    background: #ffffff;
}

.skill-center .doctor-figure {
    width: 100%;
    max-width: 330px;
    aspect-ratio: 4 / 5;
    box-shadow: none;
    background: radial-gradient(circle at 50% 18%, #ffdfcc 0 9%, transparent 9.2%),
        radial-gradient(circle at 50% 11%, #302b3b 0 11%, transparent 11.2%),
        radial-gradient(circle at 50% 28%, #ffffff 0 17%, transparent 17.2%),
        radial-gradient(circle at 37% 44%, #ffffff 0 11%, transparent 11.2%),
        radial-gradient(circle at 63% 44%, #ffffff 0 11%, transparent 11.2%),
        radial-gradient(circle at 50% 74%, #f2f7ff 0 37%, transparent 37.3%),
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(225, 236, 255, 0.78) 100%),
        radial-gradient(circle at 50% 50%, #d6e9ff 0 62%, #eaf3ff 63%, #f6faff 100%);
}

.stats-card,
.chart-card {
    position: absolute;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border-radius: 20px;
    padding: 16px;
}

.stats-card {
    top: -50px;
    left: -16px;
    background: #126bea;
    color: white;
    width: 200px;
}

.chart-card {
    right: 18px;
    bottom: 18px;
    width: 180px;
}

.chart {
    height: 72px;
    position: relative;
    margin-top: 10px;
    background: linear-gradient(transparent 96%, rgba(11, 99, 229, 0.08) 96%),
        linear-gradient(90deg, transparent 96%, rgba(11, 99, 229, 0.08) 96%);
    background-size: 100% 24px, 30px 100%;
    border-radius: 12px;
    overflow: hidden;
}

.chart svg {
    width: 100%;
    height: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.field,
.field-full {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    border-radius: 16px;
    padding: 15px 16px;
    outline: none;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7);
    grid-column: 1 / -1;

}

.field:focus,
.field-full:focus {
    border-color: rgba(11, 99, 229, 0.45);
    box-shadow: 0 0 0 4px rgba(11, 99, 229, 0.08);
}

.field-full {
    grid-column: 1 / -1;
    min-height: 120px;
    resize: vertical;
}

.appointment-visual {
    position: relative;
    min-height: 540px;
    display: grid;
    place-items: center;
}

.testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 42px;
    align-items: stretch;
}

.testimonial {
    position: relative;
    min-height: 250px;
}

.testimonial.featured {
    background: linear-gradient(180deg, #0c63e4, #094eb8);
    color: var(--white);
}

.testimonial.featured p,
.testimonial.featured .meta {
    color: rgba(255, 255, 255, 0.85);
}

.testimonial .stars {
    color: #ffbf47;
    letter-spacing: 2px;
    margin-top: 16px;
    font-size: 1rem;
}

.avatar {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(180deg, #fff6f0, #ffd3b8);
    border: 4px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.avatar::before {
    content: "";
    position: absolute;
    inset: 7px 11px 17px;
    background: #3b3245;
    border-radius: 50% 50% 42% 42%;
}

.avatar::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 8px;
    height: 18px;
    background: #ffe0cc;
    border-radius: 999px 999px 8px 8px;
}

.contact-grid {
    align-items: start;
    margin-top: 42px;
}

.contact-info {
    display: grid;
    gap: 18px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(223, 233, 251, 0.95);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: linear-gradient(135deg, #e8f2ff, #d6e7ff);
    font-size: 1.15rem;
    flex: 0 0 auto;
}

footer {
    position: relative;
    color: rgba(255, 255, 255, 0.82);
    /* background: linear-gradient(180deg, var(--footer), #083b8a); */
    background: linear-gradient(180deg, #1c6d7e, #18547d);
    padding: 72px 0 28px;
    margin-top: 30px;
    overflow: hidden;
}

.footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    align-items: start;
}

footer h4 {
    color: var(--white);
    margin: 0 0 18px;
    font-size: 1.05rem;
}

.footer-brand {
    max-width: 340px;
}

.footer-links {
    display: grid;
    gap: 12px;
}

.footer-links a:hover {
    color: var(--white);
}

.socials {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 34px;
    padding-top: 20px;
    font-size: 0.92rem;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.soft-bg {
    background: #eaf2fd;
}


/* ========== ANIMATIONS ADDED (without breaking layout) ========== */

/* Fade up animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade left animation */
@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade right animation */
@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale pop animation */
@keyframes scalePop {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Gentle float for floating cards */
@keyframes gentleFloat {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-8px);
    }
}

/* Progress bar fill animation */
@keyframes fillBar {
    from {
        width: 0%;
    }

    to {
        width: var(--target-width);
    }
}

/* Apply animations to elements */
.hero-grid>div:first-child {
    animation: fadeUp 0.8s ease forwards;
}

.hero-grid .visual-wrap {
    animation: fadeRight 0.8s ease forwards;
}

.split-grid>div:first-child {
    animation: fadeLeft 0.7s ease forwards;
}

.split-grid>div:last-child {
    animation: fadeRight 0.7s ease forwards;
}

.services-grid .card {
    opacity: 0;
    animation: scalePop 0.6s ease forwards;
}

.services-grid .card:nth-child(1) {
    animation-delay: 0.1s;
}

.services-grid .card:nth-child(2) {
    animation-delay: 0.2s;
}

.services-grid .card:nth-child(3) {
    animation-delay: 0.3s;
}

.services-grid .card:nth-child(4) {
    animation-delay: 0.4s;
}

.skill-col:first-child {
    animation: fadeLeft 0.8s ease forwards;
}

.skill-center {
    opacity: 0;
    animation: scalePop 0.7s ease forwards;
    animation-delay: 0.2s;
}

.skill-col:last-child {
    animation: fadeRight 0.8s ease forwards;
}

.appointment-grid>div:first-child {
    animation: fadeLeft 0.7s ease forwards;
}

.appointment-grid>div:last-child {
    animation: fadeRight 0.7s ease forwards;
}

.testimonial-grid .card {
    opacity: 0;
    animation: scalePop 0.6s ease forwards;
}

.testimonial-grid .card:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-grid .card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-grid .card:nth-child(3) {
    animation-delay: 0.3s;
}

.contact-grid>div:first-child {
    animation: fadeLeft 0.7s ease forwards;
}

.contact-grid>div:last-child {
    animation: fadeRight 0.7s ease forwards;
}

.footer-grid>div {
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
}

.footer-grid>div:nth-child(1) {
    animation-delay: 0.05s;
}

.footer-grid>div:nth-child(2) {
    animation-delay: 0.15s;
}

.footer-grid>div:nth-child(3) {
    animation-delay: 0.25s;
}

.footer-grid>div:nth-child(4) {
    animation-delay: 0.35s;
}

/* Floating cards gentle float animation */
.floating-card {
    animation: gentleFloat 3s ease-in-out infinite alternate;
}

.floating-card.one {
    animation-delay: 0s;
}

.floating-card.two {
    animation-delay: 0.5s;
}

.floating-card.three {
    animation-delay: 1s;
}

/* Skill bar animation on scroll - will be triggered by Intersection Observer */
.skill-item .bar>span {
    width: 0%;
    transition: width 1.2s ease-out;
}

.skill-item.visible .bar>span {
    width: var(--target-width, 85%);
}

/* Section title and kicker subtle animation */
.section-kicker,
.section-title,
.section-desc {
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
}

.section-kicker {
    animation-delay: 0s;
}

.section-title {
    animation-delay: 0.1s;
}

.section-desc {
    animation-delay: 0.2s;
}

/* Hover animations preserved */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn {
    transition: all 0.3s ease;
}

.menu-toggle {
    display: none;
}

.close-menu {
    display: none;
}

@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    .close-menu {
        display: block;
    }
}

@media (max-width: 1120px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-shell {
        grid-template-columns: 1fr;
    }

    .skill-center {
        order: -1;
        max-width: 520px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



@media (max-width: 680px) {
    .stats-card {
        top: -30px;
        left: 4px;
    }

    .section {
        padding: 74px 0;
    }

    .mini-rating {
        justify-content: center;
    }

    .services-grid,
    .testimonial-grid,
    .footer-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 12vw, 3rem);
    }

    .section-title {
        font-size: 1.9rem;
    }

    .floating-card {
        position: static;
        /* margin-top: 14px; */
        /* margin-bottom: 24px; */
        width: 80%;
        margin: 0 auto 24px auto;
    }

    .visual-wrap {
        display: grid;
        gap: 0px;
    }

    .doctor-figure {
        width: min(100%, 340px);
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* ===== MOBILE OPTIMIZATION ===== */

@media (max-width: 768px) {

    .visual-wrap {
        display: flex;
        flex-direction: column;
    }

    .doctor-figure {
        order: -1;
        /* sabse upar aa jayega */
    }

    .floating-card.two {
        width: 80%;
    }

    .brand {
        width: 70%;
    }

    a.btn.btn-outline.book-now-btn {
        display: none;
    }

    /* Section spacing */
    .section {
        padding: 60px 0;
    }

    /* Container padding */
    .container {
        width: calc(100% - 20px);
    }

    /* Headings */
    .section-title {
        font-size: 1.6rem;
    }

    .section-desc {
        font-size: 0.9rem;
    }

    /* HERO SECTION */
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 50px;
    }

    .hero-actions {
        justify-content: center;
    }

    .doctor-figure {
        width: 100%;
        margin: 0 auto;
    }

    /* SERVICES */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .card {
        padding: 20px;
    }

    /* SKILLS */
    .skills-shell {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .skill-center {
        order: -1;
        text-align: center;
    }

    /* APPOINTMENT */
    .appointment-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .appointment-visual {
        margin-top: 20px;
    }

    /* CONTACT */
    .contact-grid {
        grid-template-columns: 1fr;
    }



    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* BUTTON */
    .btn {
        width: 100%;
        padding: 12px;
    }

    .field,
    .field-full {
        padding: 14px;
        font-size: 0.95rem;
    }
}

.brand-footer-logos {
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
}

div#google_translate_element div.goog-te-gadget-simple {
    background-color: #ffffff;
    border-color: #222;
    width: 100%;
    display: flex;
}

div#google_translate_element {
    position: fixed;
    z-index: 9999;
    top: 85px;
    right: 0;
}

div#google_translate_element div.goog-te-gadget-simple a.goog-te-menu-value span {
    color: #ccc;
}

div#google_translate_element div.goog-te-gadget-simple a.goog-te-menu-value span:hover {
    color: #eee;
}

/* end dark google translate theme */

.goog-te-gadget-simple .VIpgJd-ZVi9od-xl07Ob-lTBxed {
    color: #000;
    display: flex;
}