@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700;800&display=swap');

@font-face {
    font-family: 'IranNastaliq';
    src: url('/fonts/IranNastaliq-Web.woff2') format('woff2');
    font-weight: normal;
}

html,
body {
    margin: 0;
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
}


/* ================= HEADER ================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
}


/* ================= NAVBAR ================= */

.main-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 190px;
    background: #F1EEF4;
    border-bottom: 1px solid #eeeeee;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
}

.navbar-container {
    max-width: 1250px;
    height: 100%;
    margin: 0 auto;
    padding: 0 45px;
    display: flex;
    align-items: center;
    direction: rtl;
}


/* ================= LOGO ================= */

.navbar-logo {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .navbar-logo img {
        width: 230px;
        height: auto;
        display: block;
        cursor: pointer;
        object-fit: contain;
    }


/* ================= MENU ================= */

.menu-group {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 45px;
}

    .menu-group .mud-nav-link {
        color: #153E6E !important;
        font-size: 18px !important;
        font-weight: 400 !important;
        transition: all .3s ease;
        border-radius: 25px;
        padding: 8px 18px !important;
        white-space: nowrap;
    }

        .menu-group .mud-nav-link.active {
            color: white !important;
            background: #A8B88A !important;
            box-shadow: 0 5px 15px rgba(0,0,0,.12);
        }

        .menu-group .mud-nav-link:hover {
            color: #C89B3C !important;
            background: #faf8f4 !important;
        }


/* ================= MAIN ================= */

.main-content {
    padding-top: 0;
}


/* ================= HERO ================= */

.hero-section {
    margin: 0;
    padding-top: 0;
    direction: ltr;
    min-height: calc(100vh - 95px);
    background-image: url('/image/hero-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 6%;
    padding-right: 0;
}

.hero-content {
    width: 520px;
    text-align: right;
    direction: rtl;
    transform: translateY(-80px);
}

.hero-title,
.hero-title.mud-typography,
.mud-typography.hero-title {
    font-family: 'IranNastaliq', serif !important;
    font-size: 50px !important;
    font-weight: normal !important;
    line-height: 1.8 !important;
    color: #5A438D !important;
}

.hero-subtitle {
    font-weight: 700;
    margin-top: 8px;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 17px;
    line-height: 2;
    margin-bottom: 25px;
}

.hero-text,
.hero-subtitle,
.mud-button-root {
    font-family: 'Vazirmatn', sans-serif;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 25px;
}


/* ================= CONTACT BAR ================= */

.contact-bar {
    max-width: 1100px;
    margin: -45px auto 50px auto;
    padding: 22px 30px;
    background: white;
    border-radius: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    gap: 25px;
    flex-wrap: wrap;
    position: relative;
    z-index: 5;
    direction: rtl;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4d4d4d;
    font-size: 15px;
}

    .contact-item .mud-icon-root {
        color: #7B4CB8;
    }

    .contact-item a {
        color: #4d4d4d;
        text-decoration: none;
        font-weight: 600;
    }


/* ================= PAGES ================= */

.about-page,
.articles-page,
.services-page,
.contact-page,
.therapists-page {
    padding-top: 60px;
    padding-bottom: 60px;
    direction: rtl;
    background-color: #FAF8FD;
    min-height: calc(100vh - 190px);
}

.contact-title,
.therapists-title {
    font-weight: 800;
    margin-bottom: 10px;
}

.contact-header,
.contact-header h1,
.about-header,
.about-header h1,
.therapists-header,
.therapists-header h1,
.articles-header,
.articles-header h1,
.services-header,
.services-header h2 {
    outline: none !important;
    border: none;
}

/* ================= CONTACT PAGE ================= */

/* ================= CONTACT PAGE ================= */

.contact-page {
    padding: 75px 40px 70px;
    direction: rtl;
}


/* ---------- HEADER ---------- */

.contact-header {
    text-align: center;
    direction: rtl;
    margin-bottom: 50px;
}

    .contact-header h1 {
        margin: 0 0 12px;
        font-size: 36px;
        font-weight: 800;
        color: #173f2f;
    }

    .contact-header p {
        margin: 0;
        font-size: 18px;
        font-weight: 400;
        color: #6b6b6b;
    }


/* ---------- CONTACT CARD ---------- */

.contact-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 25px;
    border-radius: 20px !important;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,.08) !important;
}

.contact-info-title {
    color: #173f2f !important;
    font-weight: 700 !important;
}



.contact-card .mud-icon-root {
    margin-left: 8px;
    vertical-align: middle;
}

/* ================= THERAPISTS ================= */


.therapists-page {
    padding: 75px 40px 60px;
    direction: rtl;
}


/* ---------- HEADER ---------- */

.therapists-header {
    text-align: center;
    direction: rtl;
    margin-bottom: 50px;
}

    .therapists-header h1 {
        margin: 0 0 12px;
        font-size: 36px;
        font-weight: 800;
        color: #173f2f;
    }

    .therapists-header p {
        margin: 0;
        font-size: 18px;
        font-weight: 400;
        color: #6b6b6b;
    }


/* ---------- THERAPIST CARDS ---------- */

.poster-card {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    transition: all .3s ease;
}

    .poster-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 35px rgba(0,0,0,.15);
    }

.poster-image {
    width: 100%;
    height: auto;
    display: block;
}
/* ================= ABOUT HEADER ================= */

.about-header {
    text-align: center;
    direction: rtl;
    margin-bottom: 45px;
}

    .about-header h1 {
        font-size: 36px;
        font-weight: 800;
        color: #173f2f;
        margin: 0 0 12px 0;
    }

    .about-header p {
        font-size: 18px;
        color: #6b6b6b;
        margin: 0;
    }


/* ================= ABOUT CONTENT ================= */

.about-content {
    max-width: 1150px;
    margin: 0 auto;
    text-align: right;
    direction: rtl;
}

    .about-content p {
        font-size: 17px;
        line-height: 2.2;
        color: #333;
    }

/* ================= ARTICLES PAGE ================= */

.articles-page {
    padding: 75px 40px 70px;
    direction: rtl;
    background-color: #FAF8FD;
    min-height: calc(100vh - 190px);
}


/* ---------- HEADER ---------- */

.articles-header {
    text-align: center;
    direction: rtl;
    margin-bottom: 50px;
}

    .articles-header h1 {
        margin: 0 0 12px;
        font-size: 36px;
        font-weight: 800;
        color: #173f2f;
    }

    .articles-header p {
        margin: 0;
        font-size: 18px;
        font-weight: 400;
        color: #6b6b6b;
    }


/* ---------- CONTENT ---------- */

.articles-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* ================= SERVICES ================= */

.services-section {
    direction: rtl;
    padding: 80px 20px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

    .services-header h2 {
        font-size: 36px;
        color: #173f2f;
        font-weight: 800;
        margin-bottom: 12px;
    }

    .services-header p {
        font-size: 18px;
        color: #6b6b6b;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px 26px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e6dfd2;
    transition: all 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    }

.service-icon {
    width: 64px;
    height: 64px;
    background: #315f45;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 30px;
}

.service-card h3 {
    font-size: 22px;
    color: #173f2f;
    margin-bottom: 12px;
    font-weight: 800;
}

.service-card p {
    color: #6b6b6b;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 18px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card li {
    position: relative;
    padding-right: 20px;
    margin-bottom: 10px;
    color: #333;
    font-size: 15px;
}

    .service-card li::before {
        content: "•";
        position: absolute;
        right: 0;
        color: #c1a56b;
        font-size: 16px;
    }


/* ================= VIDEO ================= */

.about-video-section {
    margin-top: 35px;
    display: flex;
    justify-content: center;
}

.video-button {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.play-icon {
    font-size: 55px !important;
    color: #A8B88A;
    transition: .3s;
}

.video-button:hover .play-icon {
    transform: scale(1.12);
}

.clinic-video-player {
    width: auto;
    max-width: 90vw;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.25);
    display: block;
}


/* ================= TABLET ================= */

@media (max-width: 992px) {

    .navbar-container {
        padding: 0 20px;
    }

    .menu-group {
        margin-right: 20px;
    }

        .menu-group .mud-nav-link {
            font-size: 16px !important;
            padding: 7px 12px !important;
        }

    .navbar-logo img {
        width: 95px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ================= MOBILE ================= */

/* ================= HAMBURGER ================= */

.mobile-menu-button {
    display: none;
    background: transparent;
    border: none;
    color: #153E6E;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 5px 10px;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    /* ---------- NAVBAR ---------- */

    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: white;
    }

    .main-navbar {
        height: 75px;
        position: sticky;
        top: 0;
        z-index: 1000;
        background: #F1EEF4;
        box-shadow: 0 4px 15px rgba(0,0,0,.08);
        overflow: visible;
    }

    .navbar-container {
        width: 100%;
        height: 75px;
        box-sizing: border-box;
        padding: 0 18px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        direction: rtl;
        position: relative;
        overflow: visible;
    }


    /* ---------- LOGO ---------- */

    .navbar-logo {
        width: auto;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

        .navbar-logo img {
            width: 70px;
            height: auto;
            display: block;
            object-fit: contain;
            cursor: pointer;
        }


    /* ---------- HAMBURGER BUTTON ---------- */

    .mobile-menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        background: transparent;
        border: none;
        color: #153E6E;
        font-size: 30px;
        line-height: 1;
        cursor: pointer;
        z-index: 1002;
    }


    /* ---------- CLOSED MENU ---------- */

    .menu-group {
        display: none;
    }


        /* ---------- OPEN MENU ---------- */

        .menu-group.menu-open {
            display: flex !important;
            position: absolute;
            top: 75px;
            right: 0;
            left: 0;
            width: 100% !important;
            max-width: none !important;
            margin: 0 !important;
            padding: 15px 18px 20px !important;
            box-sizing: border-box;
            background: white;
            flex-direction: column;
            align-items: stretch;
            justify-content: flex-start;
            gap: 5px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
            z-index: 9999;
        }


            /* ---------- LINKS ---------- */

            .menu-group.menu-open .mud-nav-link {
                display: flex !important;
                width: 100% !important;
                box-sizing: border-box;
                font-size: 15px !important;
                font-weight: 500 !important;
                padding: 12px 18px !important;
                color: #153E6E !important;
                text-align: right;
                border-radius: 12px;
            }

                .menu-group.menu-open .mud-nav-link:hover {
                    background: #f7f4ef !important;
                    color: #C89B3C !important;
                }

                .menu-group.menu-open .mud-nav-link.active {
                    background: #A8B88A !important;
                    color: white !important;
                }


    /* ---------- MAIN ---------- */

    .main-content {
        padding-top: 0;
    }


    /* ---------- HERO ---------- */

    .hero-section {
        min-height: 360px;
        height: auto;
        padding: 35px 22px 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-position: center;
        background-size: cover;
        position: relative;
    }

        .hero-section::before {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(255, 255, 255, 0.18);
            z-index: 0;
        }

    .hero-content {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 430px;
        margin: 0 auto;
        text-align: center;
        direction: rtl;
        transform: none;
    }


    .hero-title,
    .hero-title.mud-typography,
    .mud-typography.hero-title {
        font-size: 29px !important;
        line-height: 1.8 !important;
        margin-bottom: 10px !important;
        text-align: center;
        color: #65499a;
    }

    .hero-subtitle {
        font-size: 17px !important;
        font-weight: 700;
        line-height: 1.8;
        margin: 0 0 8px;
        text-align: center;
    }

    .hero-text {
        max-width: 380px;
        margin: 0 auto 18px;
        font-size: 14px !important;
        line-height: 2;
        text-align: center;
    }


    .hero-buttons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

        .hero-buttons .mud-button-root {
            min-width: 130px;
            font-size: 14px !important;
            padding: 8px 14px !important;
        }


    /* ---------- CONTACT BAR ---------- */

    .contact-bar {
        margin: 20px 15px 40px;
        padding: 18px;
        flex-direction: column;
        gap: 15px;
    }

    .contact-item {
        font-size: 14px;
        width: 100%;
        justify-content: flex-start;
    }


    /* ---------- PAGES ---------- */

    .about-page,
    .contact-page,
    .therapists-page {
        padding-top: 35px;
        padding-bottom: 40px;
    }


    /* ---------- SERVICES ---------- */

    .services-section {
        padding: 50px 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-header {
        margin-bottom: 35px;
    }

        .services-header h2 {
            font-size: 28px;
        }

        .services-header p {
            font-size: 15px;
        }

    .service-card {
        padding: 24px 20px;
    }

        .service-card h3 {
            font-size: 20px;
        }

        .service-card p,
        .service-card li {
            font-size: 14px;
        }

    /* ---------- CONTACT PAGE ---------- */

    .contact-page {
        padding: 45px 15px;
    }

    .contact-header {
        margin-bottom: 35px;
    }

        .contact-header h1 {
            font-size: 28px;
        }

        .contact-header p {
            font-size: 15px;
            line-height: 1.8;
        }

    .contact-card {
        padding: 15px 12px;
        border-radius: 16px !important;
    }
    /* ---------- THERAPISTS ---------- */

    .therapists-page {
        padding: 45px 15px;
    }

    .therapists-header {
        margin-bottom: 35px;
    }

        .therapists-header h1 {
            font-size: 28px;
        }

        .therapists-header p {
            font-size: 15px;
            line-height: 1.8;
        }

    .poster-card {
        max-width: 280px;
    }

    /* ---------- VIDEO ---------- */

    .clinic-video-player {
        max-width: 95vw;
        max-height: 75vh;
    }
}


