/* =========================================================
   GOOGLE FONTS
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');



/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}


body {
    font-family: "DM Sans", sans-serif;
    background: #f7f4ee;
    color: #2d3540;
    line-height: 1.6;
    overflow-x: hidden;
}


img {
    max-width: 100%;
    display: block;
}


a {
    text-decoration: none;
    color: inherit;
}


button,
a {
    -webkit-tap-highlight-color: transparent;
}



/* =========================================================
   VARIABLES
========================================================= */

:root {

    --cream: #f7f4ee;

    --cream-dark: #ece7dc;

    --navy: #102238;

    --navy-light: #1b314a;

    --gold: #b8914d;

    --gold-light: #d6b779;

    --text: #2d3540;

    --white: #ffffff;

    --border: rgba(16, 34, 56, 0.12);

}



/* =========================================================
   COMMON
========================================================= */

section {
    padding: 110px 8%;
}


.section-tag {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 22px;
}


h1,
h2,
h3,
h4 {
    line-height: 1.12;
}



/* =========================================================
   HEADER
========================================================= */

.header {
    width: 100%;
    min-height: 82px;

    background: rgba(247, 244, 238, 0.97);

    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;

    z-index: 9999;

    backdrop-filter: blur(12px);
}


.header-inner {
    width: 100%;
    max-width: 1500px;

    min-height: 105px;

    margin: auto;

    padding: 12px 8%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;
}



/* =========================================================
   LOGO
========================================================= */

.logo {
    display: flex;
    align-items: center;

    flex-shrink: 0;
}


.logo img {
    width: 80px;
    height: 80px;

    object-fit: contain;

    position: absolute;

    top: 15px;
    left: 8%;

    z-index: 10001;
}



/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
    display: flex;
    align-items: center;

    gap: 30px;

    margin-left: auto;
    margin-right: 35px;
}


.navbar a {
    color: var(--navy);

    font-size: 14px;
    font-weight: 500;

    transition: 0.3s ease;

    position: relative;
}


.navbar a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--gold);

    transition: 0.3s ease;
}


.navbar a:hover {
    color: var(--gold);
}


.navbar a:hover::after {
    width: 100%;
}



/* =========================================================
   HEADER BUTTON
========================================================= */

.header-btn {
    background: var(--navy);
    color: var(--white);

    padding: 16px 26px;

    font-size: 13px;
    font-weight: 600;

    border: 1px solid var(--navy);

    transition: 0.3s ease;

    white-space: nowrap;
}


.header-btn:hover {
    background: var(--gold);
    border-color: var(--gold);

    transform: translateY(-2px);
}



/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 720px;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 70px;

    padding-top: 100px;
    padding-bottom: 80px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(184, 145, 77, 0.13),
            transparent 30%
        ),

        var(--cream);
}


.hero-content {
    max-width: 680px;
}


.hero-tag {
    color: var(--gold);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 22px;
}


.hero h1 {
    font-family: "Playfair Display", serif;

    font-size: clamp(60px, 6vw, 88px);

    font-weight: 600;

    color: var(--navy);

    letter-spacing: -3px;

    margin-bottom: 28px;
}


.hero h1 span {
    display: block;

    color: var(--gold);
}


.hero-description {
    max-width: 580px;

    color: #59616a;

    font-size: 18px;

    line-height: 1.75;

    margin-bottom: 38px;
}



/* =========================================================
   BUTTONS
========================================================= */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 15px;

    flex-wrap: wrap;
}


.primary-btn,
.secondary-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 15px 27px;

    font-size: 14px;

    font-weight: 600;

    transition: 0.3s ease;
}


.primary-btn {
    background: var(--navy);

    color: var(--white);

    border: 1px solid var(--navy);
}


.primary-btn:hover {
    background: var(--gold);

    border-color: var(--gold);

    transform: translateY(-3px);
}


.secondary-btn {
    color: var(--navy);

    border: 1px solid var(--navy);

    background: transparent;
}


.secondary-btn:hover {
    background: var(--navy);

    color: var(--white);
}



/* =========================================================
   HERO FEATURES
========================================================= */

.hero-features {

    margin-top: 60px;

    padding-top: 27px;

    border-top: 1px solid var(--border);

    display: flex;

    gap: 45px;
}


.hero-feature {
    display: flex;

    flex-direction: column;
}


.hero-feature strong {
    color: var(--navy);

    font-size: 15px;
}


.hero-feature span {
    color: #777;

    font-size: 12px;
}



/* =========================================================
   HERO IMAGE
========================================================= */

.hero-image {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #eee9df;

    border: 1px solid rgba(184, 145, 77, 0.35);
}


.hero-image img {
    width: 100%;

    height: auto;

    max-height: 590px;

    object-fit: contain;

    object-position: center;

    display: block;
}



/* =========================================================
   ABOUT
========================================================= */

.about {
    background: var(--white);

    text-align: center;

    padding-top: 125px;

    padding-bottom: 125px;
}


.about h2 {
    font-family: "Playfair Display", serif;

    color: var(--navy);

    font-size: clamp(55px, 6vw, 82px);

    font-weight: 600;

    letter-spacing: -3px;

    max-width: 850px;

    margin: auto;
}


.about h2 span {
    color: var(--gold);
}


.about-description {
    max-width: 700px;

    margin: 35px auto 0;

    color: #626971;

    font-size: 17px;

    line-height: 1.8;
}



/* =========================================================
   DOCTOR
========================================================= */

.doctor {
    display: grid;

    grid-template-columns: 0.95fr 1.05fr;

    align-items: center;

    gap: 90px;

    background: var(--cream);
}


.doctor-image {
    width: 100%;

    overflow: hidden;
}


.doctor-image img {
    width: 100%;

    height: auto;

    max-height: 650px;

    object-fit: contain;

    object-position: center;

    display: block;
}


.doctor-content {
    max-width: 650px;
}


.doctor-content h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(50px, 5vw, 72px);

    color: var(--navy);

    font-weight: 600;

    letter-spacing: -2px;

    margin-bottom: 15px;
}


.doctor-content h3 {
    color: var(--gold);

    font-size: 16px;

    font-weight: 500;

    letter-spacing: 1px;

    margin-bottom: 27px;
}


.doctor-content > p:not(.section-tag) {
    color: #626971;

    max-width: 600px;

    font-size: 17px;

    line-height: 1.8;

    margin-bottom: 32px;
}



/* =========================================================
   SERVICES
========================================================= */

.services {
    background: var(--navy);

    color: var(--white);
}


.services-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 70px;

    margin-bottom: 65px;
}


.services-heading h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(50px, 5vw, 72px);

    font-weight: 600;

    letter-spacing: -2px;
}


.services-heading > p {
    max-width: 430px;

    color: rgba(255,255,255,0.65);

    font-size: 16px;

    line-height: 1.8;
}



/* =========================================================
   SERVICE GRID
========================================================= */

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}


.service-card {
    min-height: 270px;

    padding: 32px;

    border: 1px solid rgba(255,255,255,0.16);

    display: flex;

    flex-direction: column;

    transition: 0.3s ease;
}


.service-card:hover {
    background: rgba(255,255,255,0.05);

    border-color: var(--gold);

    transform: translateY(-5px);
}


.service-card span {
    color: var(--gold-light);

    font-size: 12px;

    margin-bottom: auto;
}


.service-card h3 {
    font-family: "Playfair Display", serif;

    font-size: 26px;

    margin-bottom: 15px;
}


.service-card p {
    color: rgba(255,255,255,0.65);

    font-size: 14px;

    line-height: 1.7;
}



/* =========================================================
   WHY CHOOSE US
========================================================= */

.why-us {
    background: var(--cream-dark);

    text-align: center;
}


.why-us h2 {
    font-family: "Playfair Display", serif;

    color: var(--navy);

    font-size: clamp(50px, 5vw, 72px);

    font-weight: 600;

    letter-spacing: -2px;

    margin-bottom: 65px;
}


.why-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    text-align: left;
}


.why-card {
    padding: 32px;

    background: var(--cream);

    border-top: 2px solid var(--gold);

    min-height: 255px;
}


.why-card span {
    color: var(--gold);

    font-size: 14px;

    font-weight: 600;
}


.why-card h3 {
    color: var(--navy);

    font-size: 19px;

    line-height: 1.4;

    margin-top: 35px;

    margin-bottom: 15px;
}


.why-card p {
    color: #666;

    font-size: 14px;

    line-height: 1.7;
}



/* =========================================================
   CLINIC
========================================================= */

.clinic {
    background: var(--white);
}


.clinic > h2 {
    max-width: 850px;

    font-family: "Playfair Display", serif;

    color: var(--navy);

    font-size: clamp(52px, 5.5vw, 78px);

    font-weight: 600;

    letter-spacing: -3px;

    margin-bottom: 65px;
}



/* =========================================================
   GALLERY
========================================================= */

.gallery {
    display: grid;

    grid-template-columns: 1.4fr 0.8fr 0.8fr;

    gap: 20px;

    align-items: stretch;
}


.gallery-item {
    width: 100%;

    height: 400px;

    overflow: hidden;

    background: #eee9df;
}


.gallery-large {
    height: 520px;
}


.gallery-item img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    transition: transform 0.6s ease;
}


.gallery-item:hover img {
    transform: scale(1.03);
}



/* =========================================================
   CONTACT
========================================================= */

.contact {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 90px;

    background: var(--cream);

    align-items: start;
}


.contact-content h2 {
    font-family: "Playfair Display", serif;

    color: var(--navy);

    font-size: clamp(52px, 5.5vw, 76px);

    font-weight: 600;

    letter-spacing: -3px;

    margin-bottom: 30px;
}


.contact-content > p:not(.section-tag) {
    color: #626971;

    max-width: 520px;

    font-size: 17px;

    line-height: 1.8;
}


.contact-details {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 0 40px;
}


.contact-item {
    padding: 0 0 30px;

    margin-bottom: 30px;

    border-bottom: 1px solid var(--border);
}


.contact-item strong {
    display: block;

    color: var(--gold);

    font-size: 11px;

    letter-spacing: 3px;

    margin-bottom: 17px;
}


.contact-item a,
.contact-item p {
    color: var(--navy);

    font-size: 15px;

    line-height: 1.7;
}


.contact-item a:hover {
    color: var(--gold);
}



/* =========================================================
   APPOINTMENT
========================================================= */

.appointment {
    background: var(--navy);

    color: var(--white);

    text-align: center;

    padding-top: 130px;

    padding-bottom: 130px;
}


.appointment .section-tag {
    color: var(--gold-light);
}


.appointment h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(55px, 6vw, 82px);

    font-weight: 600;

    letter-spacing: -3px;

    margin-bottom: 50px;
}


.appointment h2 span {
    color: var(--gold-light);
}


.appointment-buttons {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;
}


.appointment-primary,
.appointment-secondary {
    min-height: 58px;

    padding: 17px 30px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-size: 14px;

    font-weight: 600;

    transition: 0.3s ease;
}


.appointment-primary {
    background: var(--gold);

    color: var(--white);

    border: 1px solid var(--gold);
}


.appointment-primary:hover {
    background: var(--gold-light);

    border-color: var(--gold-light);

    transform: translateY(-3px);
}


.appointment-secondary {
    color: var(--white);

    border: 1px solid rgba(255,255,255,0.4);
}


.appointment-secondary:hover {
    background: var(--white);

    color: var(--navy);
}



/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #0b1a2c;

    color: var(--white);

    padding: 45px 8%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.footer-logo img {
    width: 120px;

    height: 120px;

    object-fit: contain;
}


.footer-info p {
    color: rgba(255,255,255,0.5);

    font-size: 12px;
}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    section {
        padding: 90px 6%;
    }


    .header-inner {
        padding: 12px 6%;
    }


    .logo img {
        left: 6%;

        width: 145px;
        height: 145px;
    }


    .navbar {
        gap: 18px;

        margin-right: 20px;
    }


    .navbar a {
        font-size: 13px;
    }


    .header-btn {
        padding: 13px 18px;
    }


    .hero {
        gap: 45px;

        grid-template-columns: 1fr 0.9fr;
    }


    .hero h1 {
        font-size: 64px;
    }


    .doctor {
        gap: 55px;
    }


    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}



/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 850px) {

    section {
        padding: 80px 6%;
    }


    .header {
        position: relative;
    }


    .header-inner {
        min-height: 80px;

        padding: 12px 6%;
    }


    .logo img {
        position: relative;

        top: auto;
        left: auto;

        width: 100px;
        height: 100px;

        margin: -5px 0 -5px 0;
    }


    .navbar {
        display: none;
    }


    .header-btn {
        padding: 13px 17px;

        font-size: 12px;
    }



    /* HERO */

    .hero {
        grid-template-columns: 1fr;

        gap: 50px;

        min-height: auto;

        padding-top: 70px;
    }


    .hero-image {
        order: -1;

        width: 100%;
    }


    .hero-image img {
        width: 100%;

        height: auto;

        max-height: none;

        object-fit: contain;
    }


    .hero h1 {
        font-size: 62px;
    }


    .hero-description {
        font-size: 17px;
    }



    /* ABOUT */

    .about h2 {
        font-size: 58px;
    }



    /* DOCTOR */

    .doctor {
        grid-template-columns: 1fr;

        gap: 55px;
    }


    .doctor-image img {
        width: 100%;

        max-height: none;

        object-fit: contain;
    }



    /* SERVICES */

    .services-heading {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }


    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }



    /* GALLERY */

    .gallery {
        grid-template-columns: 1fr 1fr;
    }


    .gallery-large {
        grid-column: span 2;

        height: 450px;
    }



    /* CONTACT */

    .contact {
        grid-template-columns: 1fr;

        gap: 55px;
    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    section {
        padding: 70px 6%;
    }



    /* HEADER */

    .header-inner {
        padding: 10px 6%;

        gap: 10px;
    }


    .logo img {
        width: 85px;

        height: 85px;
    }


    .header-btn {
        padding: 12px 14px;

        font-size: 11px;
    }



    /* HERO */

    .hero {
        padding-top: 55px;

        gap: 45px;
    }


    .hero h1 {
        font-size: 50px;

        letter-spacing: -2px;
    }


    .hero-description {
        font-size: 16px;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .primary-btn,
    .secondary-btn {
        width: 100%;
    }


    .hero-features {
        flex-direction: column;

        gap: 15px;

        margin-top: 45px;
    }


    .hero-feature {
        flex-direction: row;

        gap: 8px;
    }



    /* ABOUT */

    .about {
        padding-top: 90px;

        padding-bottom: 90px;
    }


    .about h2 {
        font-size: 43px;

        letter-spacing: -1px;
    }


    .about-description {
        font-size: 15px;
    }



    /* DOCTOR */

    .doctor-content h2 {
        font-size: 45px;
    }



    /* SERVICES */

    .services-heading h2 {
        font-size: 44px;
    }


    .services-grid {
        grid-template-columns: 1fr;
    }


    .service-card {
        min-height: 230px;
    }



    /* WHY */

    .why-us h2 {
        font-size: 43px;
    }


    .why-grid {
        grid-template-columns: 1fr;
    }



    /* CLINIC */

    .clinic > h2 {
        font-size: 44px;

        letter-spacing: -1px;
    }


    .gallery {
        grid-template-columns: 1fr;
    }


    .gallery-large {
        grid-column: span 1;

        height: 400px;
    }


    .gallery-item {
        height: 350px;
    }



    /* CONTACT */

    .contact-content h2 {
        font-size: 45px;
    }


    .contact-details {
        grid-template-columns: 1fr;
    }



    /* APPOINTMENT */

    .appointment h2 {
        font-size: 46px;
    }


    .appointment-buttons {
        flex-direction: column;
    }


    .appointment-primary,
    .appointment-secondary {
        width: 100%;

        max-width: 330px;
    }



    /* FOOTER */

    footer {
        flex-direction: column;

        align-items: flex-start;

        padding: 40px 6%;
    }


    .footer-logo img {
        width: 95px;

        height: 95px;
    }

}

/* ========================================
   MOBILE RESPONSIVE
======================================== */

@media (max-width: 850px) {

    /* Header */
    .header {
        padding: 15px 20px;
    }

    .navbar {
        gap: 15px;
    }

    .navbar a {
        font-size: 13px;
    }

    .header .btn {
        padding: 11px 16px;
        font-size: 13px;
    }


    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 50px 20px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: clamp(42px, 11vw, 64px);
        line-height: 0.95;
    }

    .hero-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        width: 100%;
        min-height: auto;
    }

    .hero-image img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }


    /* About / Doctor */
    .about-grid,
    .doctor-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .doctor-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }


    /* Services */
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }


    /* Clinic Gallery */
    .gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item,
    .gallery-item:first-child {
        min-height: auto;
        height: auto;
    }

    .gallery-item img {
        width: 100%;
        height: auto;
        min-height: 0;
        object-fit: contain;
    }


    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 600px) {

    body {
        overflow-x: hidden;
    }

    /* Header */
    .header {
        padding: 12px 15px;
    }

    .logo img {
        width: 105px;
    }

    .navbar {
        display: none;
    }

    .header .btn {
        font-size: 12px;
        padding: 10px 13px;
    }


    /* Hero */
    .hero {
        padding: 40px 15px;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 43px;
        line-height: 0.95;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }


    /* Sections */
    section {
        padding-left: 15px;
        padding-right: 15px;
    }


    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }


    /* Images */
    .hero-image img,
    .doctor-image img,
    .gallery-item img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }


    /* Text */
    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 22px;
    }
}