@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

/* ========================================
   1. GLOBAL SETTINGS
======================================== */

:root {
    --primary: #426da9;
    --primary-dark: #2d5186;
    --background: #ffffff;
    --surface: #f5f6f8;
    --text: #101828;
    --muted: #414d61;
    --border: #dce1e9;
    --white: #ffffff;
    --shadow: 0 15px 45px rgba(16, 24, 40, 0.09);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img,
video {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 80px));
    margin-inline: auto;
}

/* ========================================
   2. NAVIGATION
======================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #edf0f4;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.navbar {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-icon {
    display: none;
}

.brand strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -0.8px;
    line-height: 1.3;
    color: #101828;
    text-transform: uppercase;
}

.brand strong::after {
    content: ".";
    color: var(--primary);
}

.brand small {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: #414d61;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links .nav-contact {
    padding: 0;
    background: none;
    color: #414d61;
    box-shadow: none;
    border-radius: 0;
}

.nav-links .nav-contact:hover {
    background: none;
    color: var(--primary);
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px;
    background: var(--text);
    border-radius: 5px;
}

/* ========================================
   3. BUTTONS
======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 21px;
    border-radius: 5px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: #172033;
    color: white;
    border-color: #172033;
    box-shadow: none;
}

.btn-primary:hover {
    background: #2b3952;
    color: white;
}

.btn-secondary {
    background: white;
    color: #172033;
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--surface);
    border-color: #c5cedb;
}

/* ========================================
   4. HERO SECTION
======================================== */

.hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 105px;
    background: #ffffff;
}

.hero::before {
    display: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 75px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.eyebrow::before {
    display: none;
}

.hero h1,
.section-heading h2,
.page-heading h1,
.about-copy h2 {
    font-family: 'Playfair Display', serif;
    letter-spacing: -1.5px;
    font-weight: 600;
}

/* LARGE UPPERCASE DOCTOR NAME */

.hero h1 {
    margin: 22px 0 25px;
    font-size: clamp(58px, 6.5vw, 88px);
    line-height: 1.12;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -2px;
    color: #101828;
    text-transform: uppercase;
}

.hero h1 span {
    display: inline-block;
    color: #426da9;
    font-size: inherit;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-description {
    max-width: 570px;
    color: #414d61;
    font-size: 17px;
    line-height: 2;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

/* ========================================
   5. PREMIUM PORTRAIT AREA
======================================== */

.hero-visual {
    position: relative;
    min-height: 490px;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

/* Large decorative circle */

.hero-visual::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: #f0f4fa;
    border: 1px solid #dce6f5;
    z-index: -2;
}

/* Small decorative circle */

.hero-visual::after {
    content: "";
    position: absolute;
    width: 95px;
    height: 95px;
    right: 1%;
    top: 5%;
    border-radius: 50%;
    background: #dce8f8;
    z-index: -1;
}

/* Portrait frame */

.portrait-frame {
    position: relative;
    width: min(78%, 350px);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 175px 175px 12px 12px;
    background: linear-gradient(145deg, #dce7f6, #b7cce8);
    border: 6px solid #ffffff;
    outline: 1px solid #d8e1ef;
    box-shadow: 0 24px 65px rgba(25, 49, 87, 0.16);
    z-index: 1;
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.portrait-frame:hover img {
    transform: scale(1.035);
}

/* Portrait placeholder */

.portrait-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    text-align: center;
    color: #263d5c;
    background:
        radial-gradient(
            circle at 50% 35%,
            #ffffff 0%,
            #edf3fb 42%,
            #d9e5f5 100%
        );
}

.portrait-placeholder .placeholder-icon {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin-bottom: 23px;
    border-radius: 50%;
    border: 1px solid #c7d6ec;
    background: rgba(255, 255, 255, 0.85);
    color: #426da9;
    font-size: 43px;
}

.portrait-placeholder p {
    font-weight: 700;
    font-size: 14px;
    color: #17263e;
}

.portrait-placeholder small {
    margin-top: 7px;
    font-size: 11px;
    color: #52647c;
    overflow-wrap: anywhere;
}

/* Floating information card */

.floating-card {
    position: absolute;
    left: -10px;
    bottom: 38px;
    width: 235px;
    padding: 21px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e0e6ef;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(16, 24, 40, 0.12);
    z-index: 2;
}

.floating-card strong {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #101828;
}

.floating-card span {
    display: block;
    margin-top: 6px;
    color: #414d61;
    font-size: 12px;
    line-height: 1.8;
}

/* ========================================
   6. GENERAL SECTIONS
======================================== */

.section {
    padding: 100px 0;
}

.section-white {
    background: #ffffff;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 45px;
}

.section-heading.center {
    text-align: center;
    margin-inline: auto;
}

.section-heading.center .eyebrow {
    justify-content: center;
}

.section-heading h2 {
    margin: 15px 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.25;
    color: #101828;
}

.section-heading p {
    color: #414d61;
    font-size: 15px;
    line-height: 1.9;
}

/* ========================================
   7. FEATURE CARDS
======================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.feature-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #f7f8fa;
    box-shadow: none;
    transition: border-color 0.2s ease,
                background 0.2s ease;
}

.feature-card::before {
    display: none;
}

.feature-card:hover {
    transform: none;
    border-color: #c5d1e0;
    background: #f2f5f9;
    box-shadow: none;
}

.feature-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 4px;
    background: #e8eef8;
    color: var(--primary);
    font-size: 21px;
}

.feature-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #101828;
    margin-bottom: 12px;
}

.feature-card p {
    color: #414d61;
    font-size: 14px;
    line-height: 1.9;
}

.text-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
}

.text-link:hover {
    color: #172033;
}

/* ========================================
   8. PAGE HEADINGS
======================================== */

.page-heading {
    padding: 75px 0 65px;
    text-align: left;
    background: #ffffff;
    border-bottom: 1px solid #edf0f4;
}

.page-heading .container {
    max-width: 1180px;
}

.page-heading h1 {
    margin: 12px 0 18px;
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.2;
    color: #101828;
}

.page-heading p {
    max-width: 800px;
    margin: 0;
    color: #414d61;
    font-size: 17px;
    line-height: 1.9;
}

/* ========================================
   9. VIDEO AND PHOTO GALLERY
======================================== */

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.media-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: white;
    box-shadow: none;
    transition: border-color 0.2s ease;
}

.media-card:hover {
    transform: none;
    border-color: #bdcadd;
    box-shadow: none;
}

.media-thumbnail {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f2f5;
}

.media-thumbnail img,
.media-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-thumbnail img {
    transition: opacity 0.25s ease;
}

.media-card:hover .media-thumbnail img {
    transform: none;
    opacity: 0.94;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    background: rgba(23, 32, 51, 0.88);
    color: white;
    font-size: 17px;
    box-shadow: none;
}

.media-content {
    padding: 22px;
}

.media-content h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    color: #101828;
    margin-bottom: 8px;
}

.media-content p {
    color: #414d61;
    font-size: 13px;
    line-height: 1.8;
}

.media-category {
    display: inline-block;
    margin-bottom: 11px;
    padding: 3px 9px;
    border-radius: 3px;
    background: #edf2f9;
    color: #345f9c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ========================================
   10. ABOUT SECTION
======================================== */

.about-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
    align-items: start;
}

.about-panel {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #f7f8fa;
}

.about-panel h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 21px;
    color: #101828;
    margin-bottom: 15px;
}

.about-panel p,
.about-copy p {
    color: #414d61;
    font-size: 15px;
    line-height: 1.95;
    margin-bottom: 17px;
}

.about-copy h2 {
    font-size: 36px;
    line-height: 1.35;
    color: #101828;
    margin-bottom: 20px;
}

/* ========================================
   11. CONTACT
======================================== */

.contact-box {
    max-width: 720px;
    margin: auto;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #f7f8fa;
    box-shadow: none;
}

.contact-box h3 {
    font-size: 22px;
    color: #101828;
}

.contact-box p {
    margin: 12px 0;
    color: #414d61;
}

/* ========================================
   12. FOOTER
======================================== */

.site-footer {
    padding: 55px 0 25px;
    background: #f7f8fa;
    color: #101828;
    border-top: 1px solid var(--border);
}

.footer-brand {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    font-weight: 700;
}

.footer-content > p {
    max-width: 550px;
    margin-top: 12px;
    color: #414d61;
    font-size: 14px;
    line-height: 1.9;
}

.footer-bottom {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: #526078;
    font-size: 12px;
}

/* ========================================
   13. FORMS
======================================== */

.form-card {
    max-width: 650px;
    margin: 35px auto;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: white;
    box-shadow: none;
}

.form-group {
    margin-bottom: 21px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #101828;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #dce2ea;
    border-radius: 3px;
    background: white;
    color: #101828;
    outline: none;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(77, 120, 184, 0.08);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.alert {
    padding: 14px;
    margin-bottom: 20px;
    border-radius: 3px;
    background: #fff1f0;
    color: #a12b26;
    font-size: 13px;
}

/* ========================================
   14. ANIMATIONS
======================================== */

.fade-in {
    animation: fadeIn 0.65s ease both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   15. TABLET RESPONSIVENESS
======================================== */

@media (max-width: 1000px) {
    .navbar {
        gap: 18px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .brand strong {
        font-size: 23px;
    }

    .hero-grid {
        gap: 40px;
    }

    .media-grid,
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ========================================
   16. MOBILE RESPONSIVENESS
======================================== */

@media (max-width: 760px) {
    .container {
        width: calc(100% - 36px);
    }

    .navbar {
        min-height: 72px;
    }

    .brand strong {
        font-size: 21px;
        letter-spacing: -0.5px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        padding: 15px 22px 23px;
        background: white;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 5px;
        font-size: 14px;
    }

    .nav-links .nav-contact {
        text-align: left;
        margin-top: 0;
        padding: 12px 5px;
    }

    .hero {
        padding: 60px 0 70px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: 2.5px;
    }

    .hero h1 {
        font-size: clamp(38px, 9vw, 58px);
        line-height: 1.15;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.9;
    }

    .hero-actions {
        gap: 10px;
    }

    .btn {
        padding: 12px 15px;
        font-size: 13px;
    }

    .hero-visual {
        min-height: 400px;
        margin-top: 5px;
    }

    .hero-visual::before {
        width: min(340px, 90vw);
        height: min(340px, 90vw);
    }

    .hero-visual::after {
        width: 65px;
        height: 65px;
        right: 2%;
        top: 3%;
    }

    .portrait-frame {
        width: min(76%, 300px);
        border-radius: 145px 145px 12px 12px;
    }

    .floating-card {
        left: 0;
        bottom: 15px;
        width: 205px;
        padding: 15px;
    }

    .section {
        padding: 65px 0;
    }

    .section-heading h2 {
        font-size: 32px;
        letter-spacing: -0.5px;
    }

    .section-heading p {
        font-size: 14px;
    }

    .card-grid,
    .media-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 24px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-copy h2 {
        font-size: 30px;
    }

    .page-heading {
        padding: 55px 0 45px;
    }

    .page-heading h1 {
        font-size: 40px;
    }

    .page-heading p {
        font-size: 15px;
    }

    .contact-box,
    .form-card {
        padding: 23px;
    }

    .site-footer {
        padding-top: 42px;
    }
}

/* ========================================
   17. ACCESSIBILITY
======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}