
:root {
    --color-navy: #123f91;
    --color-maroon: #8f1835;
    --color-orange: #ff9f00;
    --color-black: #18243a;
    --color-white: #ffffff;

    --page-bg: #f5f8fc;
    --border: #e1e8f0;
    --muted: #718096;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page-bg);
    color: var(--color-black);
    font-family: Inter, sans-serif;
    overflow-x: hidden;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
}

.site-header {
    background: white;
    position: relative;
    z-index: 100;
}

.top-bar {
    height: 40px;
    border-bottom: 1px solid #edf0f4;
    background: var(--color-navy);
}

.top-bar-inner {
    width: 100%;
    max-width: 1440px;
    margin: auto;
    height: 100%;
    padding: 0 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.location,
.login-link {
    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--color-white);

    font-family: Sora, sans-serif;
    font-weight: 700;
    font-size: 14px;
}

.location svg,
.login-link svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

.login-link {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.main-header {
    height: 80px;
    background: white;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    height: 100%;
    max-width: 1440px;
    margin: auto;
    padding: 0 35px;

    display: flex;
    align-items: center;
    gap: 35px;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 150px;
    max-height: 60px;
    display: block;
}

.logo-fallback {
    display: none;
    font-family: Sora, sans-serif;
    font-weight: 800;
    font-size: 27px;
    color: var(--color-navy);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.desktop-nav a {
    color: #536176;
    font-family: Sora, sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--color-navy);
}
.desktop-nav a.active {
    border-bottom: 2px solid var(--color-navy);
}
.search-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: #f2f6fb;
    color: var(--color-navy);
    cursor: pointer;
}

.search-btn svg {
    width: 20px;
    height: 20px;
}

.mobile-menu-btn {
    display: none;
}

.home-page {
    width: 100%;
    max-width: 1440px;
    margin: auto;
    padding-bottom: 40px;
}

.section {
    padding: 28px 35px 0;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 18px;
}

.section-heading h2 {
    margin: 0;

    color: var(--color-black);

    font-family: Sora, sans-serif;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.section-heading a {
    color: #0870cf;

    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.horizontal-cards {
    display: flex;
    gap: 16px;

    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding: 10px 0px;
}

.horizontal-cards::-webkit-scrollbar {
    display: none;
}

.horizontal-cards > * {
    scroll-snap-align: start;
}

.services-scroll {
    gap: 12px;
}

.service-card {
    height: 60px;
    min-width: 100px;
    padding: 10px 20px;
    border-radius: 40px;
    background: linear-gradient(135deg, #0d438e, #1768c0);
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 50, 120, 0.15);
}

.service-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: white;
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon svg {
    width: 20px;
    height: 20px;
}

.service-card strong {
    font-size: 14px;
    font-weight: 700;
}

.hero-section {
    padding: 38px 35px 0;
}

.hero-slider {
    width: 100%;
}

.hero-slide {
    position: relative;

    height: 325px;

    border-radius: 30px;

    overflow: hidden;

    background: #173e75;
}

.hero-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(0, 35, 89, 0.96) 0%,
        rgba(0, 45, 100, 0.72) 40%,
        rgba(0, 35, 89, 0.05) 100%
    );
}

.hero-content {
    position: absolute;

    left: 42px;
    top: 50%;

    transform: translateY(-50%);

    max-width: 560px;

    color: white;
}

.hero-content h1 {
    margin: 0 0 12px;

    font-family: Sora, sans-serif;

    font-size: clamp(35px, 4vw, 52px);
    line-height: 1.03;

    font-weight: 800;
}

.hero-content p {
    margin: 0 0 20px;

    max-width: 480px;

    font-size: 17px;
    line-height: 1.5;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 15px 23px;

    background: var(--color-orange);
    color: var(--color-navy);

    border-radius: 14px;

    font-weight: 800;
}

.hero-dots {
    position: absolute;

    left: 50%;
    bottom: 18px;

    transform: translateX(-50%);

    display: flex;
    gap: 9px;
}

.hero-dots span {
    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.55);
}

.hero-dots span.active {
    width: 27px;
    border-radius: 20px;
    background: white;
}

.test-category-scroll {
    gap: 16px;
}

.test-card {
    width: 180px;
    min-width: 180px;
    height: 155px;

    border: 1px solid var(--border);

    border-radius: 20px;

    background: white;

    padding: 15px;

    text-align: center;

    box-shadow: 0 8px 25px rgba(0, 30, 80, 0.05);

    display: flex;
    align-items: center;
    flex-direction: column;
}

.test-icon {
    width: 64px;
    height: 64px;

    border-radius: 18px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.test-icon svg {
    width: 31px;
    height: 31px;
}

.test-icon.blue {
    color: #1670d1;
    background: #eaf3ff;
}

.test-icon.orange {
    color: #ed9200;
    background: #fff0df;
}

.test-icon.green {
    color: #00a889;
    background: #e7f8f3;
}

.test-icon.red {
    color: #ff3131;
    background: #ffe8e8;
}

.test-icon.purple {
    color: #7c5bd1;
    background: #eee7ff;
}

.test-card h3 {
    margin: 12px 0 0;

    font-size: 13px;
    font-weight: 700;

    color: #111;
}

.test-card p {
    margin: 14px 0 0;

    font-size: 11px;
    color: #73829a;
}

.brand-card {
    min-width: 210px;
    width: 210px;
    height: 135px;

    border-radius: 20px;

    background: white;
    border: 1px solid var(--border);

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--color-navy);

    font-family: Sora, sans-serif;
    font-weight: 800;

    text-align: center;
}

.brand-icon {
    width: 45px;
    height: 45px;

    margin-right: 8px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-icon svg {
    width: 45px;
    height: 45px;
}

.disease-scroll {
    gap: 25px;
}

.disease-card {
    min-width: 105px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.disease-icon {
    width: 86px;
    height: 86px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 4px solid white;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}

.disease-icon svg {
    width: 37px;
    height: 37px;
}

.disease-icon.pink {
    color: #ef4054;
    background: #ffe5e7;
}

.disease-icon.blue {
    color: #1470ce;
    background: #e4f0ff;
}

.disease-icon.green {
    color: #00a68d;
    background: #e3f8f2;
}

.disease-icon.yellow {
    color: #ee9200;
    background: #fff0dc;
}

.disease-icon.purple {
    color: #7654d0;
    background: #eee8ff;
}

.disease-icon.cyan {
    color: #0897a8;
    background: #e2f8fa;
}

.disease-card h3 {
    margin: 11px 0 0;

    text-align: center;

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;
}

.doctors-scroll {
    gap: 16px;
}

.doctor-card {
    min-width: 320px;
    width: 320px;

    overflow: hidden;

    border-radius: 24px;

    background: white;
    border: 1px solid var(--border);

    box-shadow: 0 10px 30px rgba(0, 30, 80, 0.06);
}

.doctor-card > img {
    width: 100%;
    height: 215px;

    display: block;

    object-fit: cover;
}

.doctor-info {
    padding: 15px;
}

.doctor-info h3 {
    margin: 0;

    font-family: Sora, sans-serif;
    font-size: 17px;
    font-weight: 800;
}

.doctor-info p {
    margin: 6px 0 18px;

    color: #77859b;

    font-size: 12px;
}

.rating {
    color: #f6a000;

    font-size: 14px;
}

.rating span {
    color: #111;
    margin-left: 4px;
}

.doctor-info button {
    width: 100%;
    height: 40px;

    margin-top: 14px;

    border: 0;
    border-radius: 12px;

    background: #e7f1ff;
    color: #086dcc;

    font-weight: 800;

    cursor: pointer;
}

.package-category {
    min-width: 150px;
    width: 150px;
    height: 115px;

    border-radius: 19px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 11px;

    color: var(--color-navy);

    text-align: center;

    border: 1px solid var(--border);
}

.package-category svg {
    width: 30px;
    height: 30px;
}

.package-category strong {
    font-size: 12px;
}

.blue-bg {
    background: #eaf3ff;
}

.pink-bg {
    background: #fff0f5;
}

.green-bg {
    background: #e9f9f3;
}

.yellow-bg {
    background: #fff3df;
}

.purple-bg {
    background: #eee9ff;
}

.packages-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 16px;
}

.health-package {
    min-height: 210px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 22px;

    padding: 25px 18px 18px;

    display: flex;
    flex-direction: column;
}

.package-tag {
    align-self: flex-start;

    padding: 6px 11px;

    border-radius: 20px;

    background: #eaf3ff;

    color: #086dcc;

    font-size: 11px;
    font-weight: 800;
}

.health-package h3 {
    margin: 13px 0 5px;

    font-family: Sora, sans-serif;

    font-size: 17px;
    font-weight: 800;
}

.health-package p {
    margin: 0;

    color: #75839a;

    font-size: 12px;
    line-height: 1.5;
}

.package-bottom {
    margin-top: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.package-bottom strong {
    color: var(--color-navy);

    font-size: 22px;
    font-weight: 800;
}

.package-bottom del {
    margin-left: 5px;

    color: #9ba5b3;

    font-size: 12px;
    font-weight: 700;
}

.package-bottom button {
    border: 0;

    padding: 11px 15px;

    border-radius: 11px;

    background: #eb292f;

    color: white;

    font-weight: 800;

    cursor: pointer;
}

.cta-section {
    margin: 35px 35px 0;

    min-height: 270px;

    border-radius: 25px;

    background: linear-gradient(120deg, #f1f7ff, #fff8e9);

    border: 1px solid var(--border);

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    text-align: center;

    padding: 30px;
}

.cta-icon {
    color: var(--color-navy);

    margin-bottom: 12px;
}

.cta-icon svg {
    width: 44px;
    height: 44px;
}

.cta-section h2 {
    margin: 0;

    font-family: Sora, sans-serif;

    font-size: 23px;
    font-weight: 800;
}

.cta-section p {
    margin: 8px 0 18px;

    color: #78869b;

    font-size: 13px;
}

.cta-section a {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 167px;
    height: 62px;

    border-radius: 15px;

    background: var(--color-navy);

    color: white;

    font-weight: 800;
}

.bottom-nav {
    display: none;
}

.desktop-footer {
    margin-top: 50px;

    background: #102f69;

    color: white;
}

.footer-inner {
    max-width: 1440px;
    margin: auto;

    min-height: 90px;

    padding: 20px 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: white;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.5);

    opacity: 0;
    visibility: hidden;

    transition: 0.3s;

    z-index: 900;
}

.sidebar {
    position: fixed;

    left: 0;
    top: 0;
    bottom: 0;

    width: 390px;

    background: white;

    transform: translateX(-100%);

    transition: transform 0.3s ease;

    z-index: 1000;

    padding: 28px 24px;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 45px;
}

.sidebar-logo {
    color: #1766d5;
    font-family: Sora, sans-serif;
    font-size: 30px;
    font-weight: 800;
}

.sidebar-logo .logo{
    max-height: 60px;
}

.sidebar-header button {
    border: 0;
    background: transparent;

    color: #777;

    cursor: pointer;
}

.sidebar-header svg {
    width: 31px;
    height: 31px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-menu a {
    min-height: 72px;

    border-radius: 17px;

    background: #f4f7fb;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 0 20px;

    color: #050505;

    font-family: Sora, sans-serif;

    font-size: 20px;
    font-weight: 800;
}

.sidebar-menu a svg {
    width: 25px;
    color: #0870cf;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.modal-overlay.hidden {
    display: none;
}

.search-modal,
.login-modal {
    position: relative;
    max-width: 400px;
    background: white;
    border-radius: 28px;
    padding: 38px 36px;
    margin: auto 10px;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 10px;
    border: 0;
    background: transparent;
    color: #777;
    cursor: pointer;
}

.modal-close svg {
    width: 28px;
    height: 28px;
}

.search-modal h2,
.login-modal h2 {
    margin: 0 0 4px;

    font-family: Sora, sans-serif;

    font-size: 28px;
    font-weight: 800;
}

.search-modal p,
.login-modal p {
    margin: 0 0 25px;
    color: #788391;
    font-size: 16px;
}

.search-form {
    display: flex;
    gap: 12px;
}

.search-form input,
.login-input {
    width: 100%;
    height: 57px;
    border: 1px solid #dce5ef;
    border-radius: 15px;
    padding: 0 18px;
    outline: none;
    font-size: 18px;
}

.search-form button,
.otp-button {
    border: 0;
    background: var(--color-navy);
    color: white;
    border-radius: 0 15px 15px 0;
    padding: 0 25px;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
}

.otp-button {
    width: 100%;
    height: 62px;
    margin-top: 13px;
    border-radius: 14px;
}

@media (max-width: 1023px) {
    .top-bar {
        height: 40px;
    }

    .top-bar-inner {
        padding: 0 22px;
    }

    .main-header {
        height: 102px;
    }

    .header-inner {
        padding: 0 20px;
        justify-content: space-between;
    }

    .mobile-menu-btn {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 19px;
        background: #f1f5fa;
        color: var(--color-navy);
        cursor: pointer;
    }

    .mobile-menu-btn svg {
        width: 25px;
        height: 25px;
    }

    .desktop-nav {
        display: none;
    }

    .logo {
        margin-right: auto;
        margin-left: 15px;
    }

    .logo img {
        width: 145px;
    }

    .search-btn {
        width: 50px;
        height: 50px;

        border-radius: 19px;
    }

    .home-page {
        padding-bottom: 105px;
    }

    .section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-slide {
        height: 323px;
    }

    .bottom-nav {
        position: fixed;

        left: 0;
        right: 0;
        bottom: 0;

        height: 100px;

        background: rgba(255, 255, 255, 0.97);

        border-top: 1px solid #e2e7ee;

        z-index: 800;

        display: grid;

        grid-template-columns: repeat(5, 1fr);

        align-items: center;

        padding: 8px 8px;
    }

    .bottom-nav-item {
        height: 90px;

        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;

        gap: 6px;

        color: #7c889c;

        font-size: 12px;
        font-weight: 800;
    }

    .bottom-nav-item svg {
        width: 26px;
        height: 26px;
    }

    .bottom-nav-item.active {
        color: #0870cf;
    }

    .test-nav {
        position: relative;
        margin-top: -45px;
    }

    .test-circle {
        width: 76px;
        height: 76px;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 50%;

        background: var(--color-navy);

        color: white;

        border: 6px solid white;

        box-shadow:
            0 0 0 1px #e2e7ee,
            0 10px 25px rgba(0, 30, 80, 0.2);
    }

    .test-circle svg {
        width: 32px;
        height: 32px;
    }

    .desktop-footer {
        display: none;
    }
}

@media (max-width: 600px) {
    .top-bar {
        height: 40px;
    }

    .top-bar-inner {
        padding: 0 22px;
    }

    .location,
    .login-link {
        font-size: 12px;
        gap:5px;
    }
    
    .location svg, .login-link svg {
    width: 12px;
    height: 12px;
    
}

    .main-header {
        height: 102px;
    }

    .header-inner {
        padding: 0 20px;
        gap: 12px;
    }

    .mobile-menu-btn,
    .search-btn {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    .logo {
        margin-left: 2px;
        margin-right: auto;
    }

    .logo img {
        width: 135px;
    }

    .section {
        padding-top: 27px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .section-heading h2 {
        font-size: 23px;
    }

    .section-heading a {
        font-size: 12px;
    }

    .test-card h3 {
    margin: 8px 0 0;
    
}
.test-card p {
    margin: 8px 0 0;
}

    .service-card {
        height: 40px;
        min-width: 77px;
        padding: 5px 10px;
        gap: 5px;
    }

    .service-icon {
        width: 15px;
        height: 15px;
    }

    .service-icon svg {
        width: 10px;
        height: 15px;
    }

    .service-card strong {
        font-size: 10px;
    }

    .hero-section {
        padding: 30px 20px 0;
    }

    .hero-slide {
        height: 323px;
        border-radius: 28px;
    }

    .hero-content {
        left: 30px;
        right: 20px;
    }

    .hero-content h1 {
        font-size: 39px;
    }

    .hero-content p {
        font-size: 16px;
        max-width: 390px;
    }

    .test-card {
        min-width: 116px;
        width: 116px;
        height: 120px;
        border-radius:10px;
    }

    .test-icon {
        width: 64px;
        height: 64px;
    }

    .test-icon svg {
    width: 24px;
    height: 24px;
}

    .brand-card {
        min-width: 160px;
        width: 160px;
        height: 135px;
    }

    .disease-card {
        min-width: 105px;
    }

    .doctor-card {
        min-width: 217px;
        width: 217px;
    }

    .doctor-card > img {
        height: 192px;
    }

    .doctor-info h3 {
        font-size: 15px;
    }

    .package-category {
        min-width: 127px;
        width: 127px;
        height: 115px;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .health-package {
        min-height: 210px;
    }

    .cta-section {
        margin-left: 20px;
        margin-right: 20px;
    }


    .search-modal,
    .login-modal {
        padding: 30px 20px;
        margin: 0 10px;
        border-radius: 28px 28px 0px 0px;
    }

    .search-modal h2,
    .login-modal h2 {
        font-size: 22px;
    }

    .search-modal p,
    .login-modal p {
        font-size: 12px;
    }
    .search-form {
        gap: 0;
    }

    .search-form input {
        border-radius: 15px 0 0 15px;
    }

    .search-form button {
        border-radius: 0 15px 15px 0;
    }
}

@media (max-width: 425px) {
        .brand-card {
        min-width: 140px;
        width: 140px;
        height: 100px;
    }

    .brand-icon svg {
    width: 30px;
    height: 30px;
}

.brand-card  strong{
        font-size: 12px;
    }
.w-7 {
    width: 1.2rem !important;
}
.h-7 {
    height: 1.2rem !important  ;
}
.w-\[78px\] {
    width: 60px !important; 
}

.h-\[78px\] {
    height: 60px !important;
}

.sidebar-menu a {
    min-height: 60px;
    border-radius: 10px;
    gap: 10px;
    padding: 0 10px;
    font-size: 16px;
    width: 320px;
}
.sidebar {
    
    padding: 18px 14px;
    width:320px;
}

    
    
}

@media (max-width: 375px) {
    .service-card strong {
        font-size: 8px;
    }

    .service-card {
        height: 30px;
        min-width: 60px;
        padding: 0px 5px;
        gap: 3px;
    }

    .section-heading h2 {
        font-size: 18px;
    }
    .sidebar-menu a {
    
    width: 275px;
}

    
}
