/* =========================================================
   DR. M A SUBOOR SHAHEROSE
   FINAL WEBSITE — GLOBAL HOME PAGE STYLES
   ========================================================= */


/* =========================
   1. RESET
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", Arial, sans-serif;
    color: #17213d;
    background: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}


/* =========================
   2. TYPOGRAPHY
   ========================= */

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: 1.15;
    color: #0c1d5b;
}

h2 {
    font-size: clamp(36px, 4vw, 54px);
}

h3 {
    font-size: 23px;
}

p {
    color: #66718a;
}


/* =========================
   3. HEADER
   ========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #ececf3;
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    width: 190px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
}

.main-nav a {
    position: relative;
    padding: 32px 0;
    font-size: 16px;
    font-weight: 600;
    color: #273250;
    transition: color 0.25s ease;
}
.doctor-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px !important;
    background: #ffffff;
    z-index: 5000;
    border-bottom: 1px solid #e7e7ec;
    box-shadow: 0 2px 12px rgba(17, 29, 75, 0.08);
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 23px;
    width: 0;
    height: 2px;
    background: #8c3dcc;
    transition: width 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #6323ad;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 9px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background: #0c1d5b;
}


/* =========================
   4. HERO
   ========================= */

.hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0c1d5b;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 22, 70, 0.93) 0%,
            rgba(8, 22, 70, 0.78) 42%,
            rgba(8, 22, 70, 0.25) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 0;
    max-width: 1180px;
}

.hero-label {
    margin-bottom: 22px;
    color: #d9b9f5;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2.4px;
}

.hero h1 {
    max-width: 680px;
    color: #ffffff;
    font-size: clamp(52px, 7vw, 88px);
    letter-spacing: -2px;
}

.hero-description {
    max-width: 590px;
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.87);
    font-size: 20px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 38px;
}


/* =========================
   5. BUTTONS
   ========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 700;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #8c3dcc;
    color: #ffffff;
}

.btn-primary:hover {
    background: #6323ad;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: #0c1d5b;
}

.btn-dark {
    background: #0c1d5b;
    color: #ffffff;
}

.btn-dark:hover {
    background: #6323ad;
}

.btn-light {
    background: #ffffff;
    color: #0c1d5b;
}

.btn-light:hover {
    background: #f1e9f9;
}

.btn-large {
    min-height: 58px;
    padding: 0 34px;
    font-size: 18px;
}


/* =========================
   6. SECTION HEADINGS
   ========================= */

.section-eyebrow {
    margin-bottom: 14px;
    color: #8c3dcc;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2.2px;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading p:last-child {
    margin-top: 18px;
    font-size: 18px;
}

.section-line {
    width: 58px;
    height: 3px;
    margin: 25px 0;
    background: #8c3dcc;
}


/* =========================
   7. INTRODUCTION
   ========================= */

.intro {
    background: #ffffff;
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 90px;
}

.intro-image-wrap {
    position: relative;
    max-width: 450px;
}

.intro-image-wrap::before {
    content: "";
    position: absolute;
    width: 78%;
    height: 78%;
    left: -24px;
    bottom: -24px;
    background: #f0e6f8;
    z-index: 0;
}

.doctor-image {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
}

.intro-content {
    max-width: 600px;
}

.intro-content h2 {
    max-width: 570px;
}

.intro-content p:not(.section-eyebrow) {
    margin-bottom: 18px;
    font-size: 18px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    color: #6323ad;
    font-size: 16px;
    font-weight: 800;
}

.text-link span {
    font-size: 22px;
    transition: transform 0.2s ease;
}

.text-link:hover span {
    transform: translateX(5px);
}


/* =========================
   8. CREDENTIALS
   ========================= */

.credentials {
    background: #f7f3fc;
}

.credential-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.credential-card {
    position: relative;
    min-height: 285px;
    padding: 34px 28px;
    background: #ffffff;
    border: 1px solid #eee8f5;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.credential-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(38, 25, 69, 0.08);
}

.credential-number {
    margin-bottom: 52px;
    color: #b78bdc;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
}

.credential-card h3 {
    margin-bottom: 13px;
}

.credential-card p {
    font-size: 16px;
    line-height: 1.75;
}


/* =========================
   9. APPROACH PREVIEW
   ========================= */

.approach-preview {
    background: #ffffff;
}

.approach-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 100px;
    align-items: center;
}

.approach-content {
    max-width: 570px;
}

.approach-content p:not(.section-eyebrow) {
    margin-bottom: 18px;
}

.approach-content .btn {
    margin-top: 18px;
}

.approach-points {
    border-top: 1px solid #dddde6;
}

.approach-point {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid #dddde6;
}

.approach-point > span {
    color: #8c3dcc;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
}

.approach-point h3 {
    margin-bottom: 8px;
}

.approach-point p {
    font-size: 14px;
}


/* =========================
   10. CANCER INFORMATION
   ========================= */

.cancer-preview {
    padding-top: 20px;
    background: #ffffff;
}

.cancer-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 65px 75px;
    background: #0c1d5b;
}

.cancer-box > div {
    max-width: 680px;
}

.cancer-box h2 {
    color: #ffffff;
}

.cancer-box p:last-child {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.76);
}


/* =========================
   11. APPOINTMENT CTA
   ========================= */

.appointment {
    background: #f7f3fc;
}

.appointment-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.appointment-inner > div:first-child {
    max-width: 720px;
}

.appointment-inner h2 {
    margin-bottom: 16px;
}

.appointment-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.appointment-action span {
    color: #66718a;
    font-size: 12px;
}


/* =========================
   12. FOOTER
   ========================= */

.site-footer {
    background: #081642;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 70px;
    padding: 75px 0 60px;
}

.footer-brand img {
    width: 185px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    margin-bottom: 5px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
}

.footer-brand span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.footer-grid h3 {
    margin-bottom: 22px;
    color: #ffffff;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.66);
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #d8b8f0;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.66);
    font-size: 13px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: #ffffff;
}


/* =========================
   13. WHATSAPP FLOAT
   ========================= */

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #6323ad;
    box-shadow: 0 10px 30px rgba(29, 12, 54, 0.25);
    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px);
    background: #8c3dcc;
}

.whatsapp-float span {
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}


/* =========================
   14. TABLET
   ========================= */

@media (max-width: 1050px) {

    .container {
        width: min(100% - 40px, 920px);
    }

    .main-nav {
        gap: 20px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .intro-grid,
    .approach-grid {
        gap: 55px;
    }

    .credential-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        gap: 40px;
    }
}


/* =========================
   15. MOBILE NAVIGATION
   ========================= */

@media (max-width: 850px) {

    .header-inner {
        min-height: 76px;
    }

    .brand-logo {
        width: 160px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 24px 20px;
        background: #ffffff;
        border-bottom: 1px solid #ececf3;
        box-shadow: 0 15px 30px rgba(20, 25, 50, 0.08);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 14px 0;
        border-bottom: 1px solid #f0f0f5;
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }

    .main-nav a::after {
        display: none;
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        padding: 80px 0;
    }

    .intro-grid,
    .approach-grid {
        grid-template-columns: 1fr;
    }

    .intro-image-wrap {
        max-width: 430px;
    }

    .approach-content {
        max-width: none;
    }

    .cancer-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 50px;
    }

    .appointment-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .appointment-action {
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}


/* =========================
   16. SMALL MOBILE
   ========================= */

@media (max-width: 600px) {

    .container {
        width: min(100% - 32px, 520px);
    }

    .section {
        padding: 72px 0;
    }

    .hero {
        min-height: 590px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(8, 22, 70, 0.92),
                rgba(8, 22, 70, 0.70)
            );
    }

    .hero-content {
        padding: 65px 0;
    }

    .hero h1 {
        font-size: clamp(45px, 13vw, 64px);
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
    }

    .btn {
        width: 100%;
    }

    .intro-grid,
    .approach-grid {
        gap: 45px;
    }

    .intro-image-wrap::before {
        left: -12px;
        bottom: -12px;
    }

    .credential-grid {
        grid-template-columns: 1fr;
    }

    .credential-card {
        min-height: auto;
    }

    .credential-number {
        margin-bottom: 35px;
    }

    .approach-point {
        grid-template-columns: 45px 1fr;
        gap: 12px;
    }

    .cancer-box {
        padding: 38px 28px;
    }

    .appointment-inner {
        gap: 35px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .social-links {
        flex-wrap: wrap;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }
}


/* =========================
   17. ACCESSIBILITY
   ========================= */

a:focus-visible,
button:focus-visible {
    outline: 3px solid #b78bdc;
    outline-offset: 3px;
}


/* =========================
   18. REDUCED MOTION
   ========================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}