/* =========================
   GENERAL PAGE
   ========================= */

body {
    font-family: Arial, sans-serif;
    color: #15151A;
    background: white;
    margin: 0;
    line-height: 1.6;
}


/* =========================
   NAVIGATION
   ========================= */

.navbar {
    background: white;
    border-bottom: 1px solid #E5E5E5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    width: 130px;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #333333;
    font-size: 15px;
    font-weight: 500;
}

.nav-links a:hover {
    color: #9E2AA7;
}

.book-button {
    background: #9E2AA7;
    color: white !important;
    padding: 12px 20px;
    border-radius: 25px;
    transition: 0.3s;
}

.book-button:hover {
    transform: translateY(-2px);
}


/* =========================
   HERO SECTION
   ========================= */

.hero-text {
    text-align: center;
    padding: 70px 20px 40px;
}

.hero-text h1 {
    color: #9E2AA7;
    font-size: 42px;
    margin: 0 0 10px;
}

.hero-text h2 {
    color: #359E99;
    font-size: 28px;
    margin: 0 0 15px;
}

.doctor-details {
    color: #5E626A;
    font-size: 17px;
    margin: 0;
}

.hero-description {
    max-width: 650px;
    margin: 25px auto 30px;
    color: #5E626A;
    font-size: 18px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.hero-secondary-button {
    display: inline-block;
    padding: 12px 20px;
    border: 1px solid #359E99;
    border-radius: 25px;
    color: #359E99;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.hero-secondary-button:hover {
    background: #359E99;
    color: white;
}


/* =========================
   TREATMENTS SECTION
   ========================= */

.treatments {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}

.treatments > h2 {
    color: #359E99;
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
}

.section-intro {
    text-align: center;
    color: #5E626A;
    max-width: 650px;
    margin: 0 auto 40px;
    font-size: 18px;
}


/* =========================
   TREATMENT GRID
   ========================= */

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.treatment-card {
    background: white;
    border: 1px solid #E5E5E5;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.10);
}

.treatment-card h3 {
    color: #9E2AA7;
    font-size: 23px;
    margin-top: 0;
}

.treatment-card p {
    color: #5E626A;
    font-size: 16px;
}

.treatment-card a {
    color: #359E99;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.treatment-card a:hover {
    color: #9E2AA7;
}


/* =========================
   ABOUT SECTION
   ========================= */

#about {
    padding: 70px 20px;
    background: #faf8f8;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: #359E99;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 10px;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 8px;
    color: #9E2AA7;
}

.about-text p {
    color: #5E626A;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-qualifications {
    color: #9E2AA7 !important;
    font-weight: bold;
    font-size: 16px !important;
}

.about-speciality {
    padding: 15px 20px;
    border-left: 4px solid #359E99;
    background: white;
    border-radius: 8px;
}

.about-speciality strong {
    color: #359E99;
}

.about-photo {
    flex: 0 0 350px;
    text-align: center;
}

.about-photo img {
    width: 100%;
    max-width: 350px;
    border-radius: 18px;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}


/* =========================
   APPOINTMENT SECTION
   ========================= */

.appointment {
    max-width: 700px;
    margin: 80px auto;
    padding: 50px 40px;
    background: #FAFAFA;
    border-radius: 20px;
}

.appointment h2 {
    color: #359E99;
    text-align: center;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 10px;
}

.appointment-form {
    max-width: 600px;
    margin: 40px auto 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #333333;
    font-weight: bold;
    margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid #DADADA;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    background: white;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #359E99;
    box-shadow: 0 0 0 3px rgba(53, 158, 153, 0.12);
}

.submit-button {
    display: block;
    margin: 10px auto 0;
    background: #9E2AA7;
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}


/* =========================
   CONTACT SECTION
   ========================= */

.contact {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #E5E5E5;
    margin-top: 40px;
}

.contact h2 {
    color: #9E2AA7;
    font-size: 28px;
    margin-bottom: 5px;
}

.contact a {
    color: #9E2AA7;
    font-weight: bold;
    text-decoration: none;
}


/* =========================
   CONTACT CARD
   ========================= */

.contact-card {
    max-width: 700px;
    margin: 5px auto 0;
    text-align: center;
}

.contact-logo {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    margin: 0 auto 25px;
}

.google-location {
    display: inline-block;
    background: #F7F1E5;
    color: #9E2AA7 !important;
    border: 1px solid #D8C7A3;
    padding: 12px 22px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
}

.google-location:hover {
    background: #D8C7A3;
    color: #15151A !important;
    transform: translateY(-2px);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.call-button {
    background: #9E2AA7;
    color: white !important;
}

.whatsapp-button {
    background: #359E99;
    color: white !important;
}

.appointment-button {
    background: #9E2AA7;
    color: white !important;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}


/* =========================
   TREATMENT PAGES
   ========================= */

.treatment-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
}

.treatment-page-content {
    max-width: 800px;
    margin: 0 auto;
}

.treatment-page h1 {
    color: #9E2AA7;
    font-size: 42px;
    margin-bottom: 10px;
}

.treatment-page h2 {
    color: #359E99;
    font-size: 28px;
    margin-top: 0;
}

.treatment-page p {
    color: #5E626A;
    font-size: 17px;
    line-height: 1.8;
}

.treatment-book-button {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
}

.treatment-information {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 50px 20px;
}

.treatment-information h2 {
    color: #359E99;
    font-size: 28px;
}

.treatment-information p,
.treatment-information li {
    color: #5E626A;
    font-size: 17px;
    line-height: 1.8;
}

.treatment-information ul {
    padding-left: 25px;
}


/* =========================
   TREATMENT CONTACT
   ========================= */

.treatment-contact {
    text-align: center;
    padding: 50px 20px;
    border-top: 1px solid #E5E5E5;
    margin-top: 40px;
}

.treatment-contact h2 {
    color: #359E99;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 10px;
}

.treatment-contact p {
    color: #5E626A;
    font-size: 17px;
}


/* =========================
   FOOTER
   ========================= */

.footer {
    background: #15151A;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 35px 50px;
    margin-top: 60px;
}

.footer-left {
    text-align: left;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
}

.footer-center h3 {
    margin: 0 0 5px;
}

.footer-doctor {
    margin-top: 8px !important;
}

.footer-doctor em {
    color: white;
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    letter-spacing: 0;
}

.footer p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.5;
}

.footer-left p,
.footer-right p {
    margin: 5px 0;
}

.footer-right .footer-contact-line {
    margin: 0;
}

.footer-right .footer-contact-line:last-child {
    margin-bottom: 0;
}

.footer-left strong {
    color: white;
}

.footer-right a {
    color: #D8C7A3;
    text-decoration: none;
}

.footer-right a:hover {
    color: #FFFFFF;
}

.footer-contact-line {
    white-space: nowrap;
}


/* =========================
   KEYBOARD FOCUS
   ========================= */

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid #359E99;
    outline-offset: 3px;
}


/* =========================
   APPOINTMENT SCROLL
   ========================= */

#appointment {
    scroll-margin-top: 80px;
}

#contact {
    scroll-margin-top: 40px;
}

#about {
    scroll-margin-top: 40px;
}

#treatments {
    scroll-margin-top: 130px;
}


/* MENU BUTTON - DESKTOP */

.menu-button {
    display: none;
}



/* =========================
   MOBILE
   ========================= */

@media (max-width: 700px) {

    /* NAVIGATION */

    .nav-container {
        padding: 7px 15px;
    }

    .nav-logo img {
        width: 95px;
    }

    .nav-links {
        display: none;
    }

    .nav-links.show-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 10px;
        background: white;
        width: 180px;
        padding: 8px;
        gap: 2px;
        box-sizing: border-box;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
    }

    .nav-links.show-menu a {
        padding: 5px 8px;
        font-size: 13px;
    }

    .menu-button {
        display: block;
        background: none;
        border: none;
        font-size: 19px;
        padding: 5px;
        line-height: 1;
        cursor: pointer;
    }


    /* HERO */

    .hero-text {
        padding: 18px 18px 16px;
    }

    .hero-text h1 {
        font-size: 23px;
        line-height: 1.2;
        margin-bottom: 3px;
    }

    .hero-text h2 {
        font-size: 16px;
        line-height: 1.25;
        margin-bottom: 5px;
    }

    .doctor-details {
        font-size: 12px;
        line-height: 1.4;
    }

    .hero-description {
        margin: 9px auto 12px;
        font-size: 12px;
        line-height: 1.45;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 6px;
        margin-top: 10px;
    }

    .hero-buttons a {
        width: 140px;
        padding: 7px 10px;
        font-size: 12px;
        text-align: center;
        box-sizing: border-box;
    }


    /* TREATMENTS */

    .treatments {
        margin: 24px auto;
        padding: 0 18px;
    }

    .treatments > h2 {
        font-size: 18px;
        line-height: 1.25;
        margin-bottom: 4px;
    }

    .treatments .section-intro {
        margin-bottom: 14px;
        font-size: 12px;
        line-height: 1.45;
    }

    .treatment-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .treatment-card {
        padding: 11px 13px;
        border-radius: 10px;
    }

    .treatment-card h3 {
        font-size: 16px;
        line-height: 1.25;
        margin: 0 0 3px;
    }

    .treatment-card p {
        font-size: 13px;
        line-height: 1.45;
        margin: 0 0 5px;
    }

    .treatment-card a {
        font-size: 12px;
    }


    /* ABOUT */

    #about {
        padding: 24px 18px;
    }

    .about-container {
        flex-direction: column;
        gap: 14px;
    }

    .about-photo {
        order: -1;
        flex: none;
    }

    .about-photo img {
        width: 100%;
        max-width: 170px;
        margin: 0 auto;
    }

    .about-text h2 {
        font-size: 18px;
        line-height: 1.25;
        margin-bottom: 4px;
    }

    .about-text h3 {
        font-size: 17px;
        line-height: 1.25;
        margin-bottom: 4px;
    }

    .about-text p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 9px;
    }

    .about-qualifications {
        font-size: 12px !important;
    }

    .about-speciality {
        padding: 9px 12px;
        font-size: 13px;
    }


    /* APPOINTMENT */

    .appointment {
        width: 88%;
        max-width: 360px;
        margin: 15px auto;
        padding: 12px;
        border: 1px solid #E5E5E5;
        border-radius: 10px;
        box-sizing: border-box;
    }

    .appointment h2 {
        font-size: 16px;
        line-height: 1.2;
        margin-bottom: 2px;
    }

    .appointment .section-intro {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .appointment-form {
        margin-top: 8px;
    }

    .form-group {
        margin-bottom: 6px;
    }

    .form-group label {
        margin-bottom: 1px;
        font-size: 11px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 6px 8px;
        font-size: 13px;
        border-radius: 7px;
    }

    .form-group textarea {
        height: 45px;
        min-height: 45px;
        padding: 5px 8px;
        box-sizing: border-box;
    }

    .submit-button {
        padding: 7px 14px;
        font-size: 12px;
    }


    /* CONTACT */

    .contact {
        padding: 22px 18px;
        margin-top: 20px;
    }

    .contact h2 {
        font-size: 20px;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .contact-card {
        margin-top: 15px;
    }

    .contact-logo {
        max-width: 240px;
        margin-bottom: 15px;
    }

    .google-location {
        font-size: 12px;
        margin-bottom: 14px;
    }

    .contact-buttons {
        gap: 7px;
    }

    .contact-button {
        padding: 8px 13px;
        font-size: 12px;
    }


    /* TREATMENT PAGES */

    .treatment-page {
        padding: 18px;
    }

    .treatment-page-content {
        max-width: 100%;
    }

    .treatment-page h1 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 4px;
    }

    .treatment-page h2 {
        font-size: 16px;
        line-height: 1.25;
        margin-bottom: 7px;
    }

    .treatment-page p {
        font-size: 12px;
        line-height: 1.45;
        margin-bottom: 9px;
    }

    .treatment-book-button {
        margin-top: 8px;
        padding: 7px 14px;
        font-size: 12px;
    }


    /* TREATMENT INFORMATION */

    .treatment-information {
        padding: 12px 18px;
        margin-bottom: 15px;
    }

    .treatment-information h2 {
        font-size: 16px;
        line-height: 1.25;
        margin-top: 16px;
        margin-bottom: 5px;
    }

    .treatment-information h2:first-child {
        margin-top: 0;
    }

    .treatment-information p,
    .treatment-information li {
        font-size: 12px;
        line-height: 1.45;
    }

    .treatment-information p {
        margin-bottom: 9px;
    }

    .treatment-information ul {
        padding-left: 18px;
        margin-top: 5px;
        margin-bottom: 11px;
    }

    .treatment-information li {
        margin-bottom: 3px;
    }


    /* FUTURE TREATMENT IMAGES */

    .treatment-images {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 18px 0;
    }

    .treatment-images img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 10px;
    }

    .before-after {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 7px;
        margin: 17px 0;
    }

    .before-after img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
    }


    /* TREATMENT CONTACT */

    .treatment-contact {
        padding: 18px;
        margin-top: 15px;
    }

    .treatment-contact h2 {
        font-size: 16px;
        line-height: 1.25;
        margin-bottom: 5px;
    }

    .treatment-contact p {
        font-size: 12px;
        line-height: 1.45;
        margin-bottom: 8px;
    }


    /* FOOTER */

.footer {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 25px 18px;
    margin-top: 25px;
    text-align: center;
}

.footer-left,
.footer-center,
.footer-right {
    text-align: center;
}

.footer p {
    margin: 4px 0;
    font-size: 10px;
    line-height: 1.6;
}

.footer-left {
    padding-bottom: 5px;
}

.footer-center {
    padding: 5px 0;
}

.footer-right {
    padding-top: 5px;
}

.footer-center h3 {
    font-size: 12px;
    margin-bottom: 4px;
}

.footer-doctor {
    margin-top: 3px !important;
}

.footer-doctor em {
    font-size: 11px;
    font-weight: normal;
    font-style: normal;
}

.footer-right p {
    margin: 6px 0;
}

.footer-contact-line {
    white-space: normal;
    margin: 6px 0;
}

#treatments {
    scroll-margin-top: 80px;
}