@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');


/* ==================================================
   RESET
================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    background: #f6f8fb;
    color: #202124;
    line-height: 1.8;
    overflow-x: hidden;
}


/* ==================================================
   COMMON HEADER
================================================== */

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow:
        0 3px 18px rgba(15, 23, 42, 0.05);
}

.site-header-container {
    width: min(1180px, calc(100% - 40px));
    min-height: 74px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* ==================================================
   BRAND
================================================== */

.site-brand {
    display: flex;
    align-items: center;

    gap: 11px;

    text-decoration: none;
    color: #111827;

    flex-shrink: 0;
}

.site-brand-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #111827;
    color: #ffffff;

    font-size: 16px;
    font-weight: 800;
}

.site-brand-text {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.site-brand-title {
    margin: 0;
    padding: 0;

    color: #111827;

    font-size: 20px;
    font-weight: 800;

    line-height: 1.2;
}

.site-brand-subtitle {
    margin: 0;
    padding: 0;

    color: #6b7280;

    font-size: 11px;
    font-weight: 500;

    line-height: 1.2;
}


/* ==================================================
   NAVIGATION
================================================== */

.site-nav {
    display: flex;
    align-items: center;

    gap: 5px;

    flex-shrink: 0;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding: 0 13px;

    border-radius: 8px;

    color: #374151;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.site-nav a:hover {
    background: #eff6ff;
    color: #2563eb;
}


/* ==================================================
   REQUEST BUTTON
================================================== */

.site-nav .site-nav-request {
    min-height: 38px;

    padding: 0 16px;

    margin-right: 4px;

    border-radius: 8px;

    background: #2563eb !important;
    color: #ffffff !important;

    box-shadow:
        0 6px 16px rgba(37, 99, 235, 0.18);
}

.site-nav .site-nav-request:hover {
    background: #1d4ed8 !important;
    color: #ffffff !important;

    transform: translateY(-1px);
}


/* ==================================================
   PHONE BUTTON
================================================== */

.site-nav .site-nav-phone {
    width: 42px;
    height: 42px;

    min-height: 42px;

    padding: 0;
    margin-right: 4px;

    border-radius: 50%;

    background: #fef2f2 !important;
    color: #dc2626 !important;

    border: 1px solid #fecaca;

    font-size: 22px;
    font-weight: 700;

    line-height: 1;

    box-shadow:
        0 4px 12px rgba(220, 38, 38, 0.12);
}

.site-nav .site-nav-phone:hover {
    background: #fee2e2 !important;
    color: #b91c1c !important;

    border-color: #fca5a5;

    transform: scale(1.05);
}


/* ==================================================
   REQUEST FORM ANCHOR
================================================== */

#request-form {
    scroll-margin-top: 100px;
}


/* ==================================================
   HERO
================================================== */

.hero {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(37, 99, 235, 0.13),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(14, 165, 233, 0.09),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fbff 100%
        );

    padding: 105px 20px 95px;

    text-align: center;

    border-bottom: 1px solid #edf0f4;
}

.hero::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    border: 1px solid rgba(37, 99, 235, 0.08);

    top: -110px;
    right: -70px;
}

.hero::after {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    border-radius: 50%;

    border: 1px solid rgba(14, 165, 233, 0.08);

    bottom: -90px;
    left: -50px;
}

.hero h1 {
    position: relative;
    z-index: 1;

    color: #111827;

    font-size: clamp(34px, 5vw, 54px);

    font-weight: 800;

    line-height: 1.4;

    margin-bottom: 20px;

    letter-spacing: -1px;
}

.hero h2 {
    position: relative;
    z-index: 1;

    color: #111827;

    font-size: clamp(28px, 4vw, 40px);

    font-weight: 800;

    margin-bottom: 15px;
}

.hero p {
    position: relative;
    z-index: 1;

    max-width: 760px;

    margin: 0 auto 32px;

    color: #6b7280;

    font-size: 17px;

    line-height: 2;
}


/* ==================================================
   BUTTON
================================================== */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 175px;

    background: #2563eb;

    color: #ffffff;

    padding: 12px 25px;

    border-radius: 10px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.18);

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.button:hover {
    background: #1d4ed8;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(37, 99, 235, 0.25);
}

.button-secondary {
    background: #ffffff;

    color: #2563eb;

    border: 1px solid #dbe4ff;

    box-shadow: none;

    margin-right: 8px;
}

.button-secondary:hover {
    background: #f8faff;

    color: #1d4ed8;

    box-shadow: none;
}


/* ==================================================
   SERVICES
================================================== */

.services {
    max-width: 1240px;

    margin: 0 auto;

    padding: 80px 24px;
}

.section-title {
    text-align: center;

    max-width: 780px;

    margin: 0 auto 50px;
}

.section-title h2 {
    color: #111827;

    font-size: 31px;

    font-weight: 800;

    margin-bottom: 12px;

    letter-spacing: -0.5px;
}

.section-title p {
    color: #6b7280;

    font-size: 15px;

    line-height: 2;
}


/* ==================================================
   SERVICE GRID
================================================== */

.service-list {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}


/* ==================================================
   SERVICE CARD
================================================== */

.service {
    position: relative;

    background: #ffffff;

    padding: 32px 28px 28px;

    border: 1px solid #e6eaf0;

    border-radius: 18px;

    text-align: right;

    box-shadow:
        0 5px 22px rgba(15, 23, 42, 0.045);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;

    overflow: hidden;
}

.service::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;
    left: 0;

    height: 3px;

    background: linear-gradient(
        90deg,
        #2563eb,
        #38bdf8
    );

    opacity: 0;

    transition: opacity 0.25s ease;
}

.service:hover {
    transform: translateY(-6px);

    border-color: #d7e3ff;

    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.09);
}

.service:hover::before {
    opacity: 1;
}


/* ==================================================
   SERVICE ICON
================================================== */

.service-icon {
    width: 60px;
    height: 60px;

    margin-bottom: 20px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #e0f2fe
        );

    color: #2563eb;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 26px;

    box-shadow:
        inset 0 0 0 1px rgba(37, 99, 235, 0.05);
}


/* ==================================================
   SERVICE CONTENT
================================================== */

.service h3 {
    color: #111827;

    font-size: 19px;

    font-weight: 800;

    margin-bottom: 12px;
}

.service p {
    color: #6b7280;

    font-size: 14px;

    line-height: 2;

    margin-bottom: 17px;
}

.service ul {
    list-style: none;

    margin: 0 0 23px;
}

.service li {
    position: relative;

    color: #4b5563;

    font-size: 13px;

    line-height: 1.9;

    padding-right: 20px;

    margin-bottom: 6px;
}

.service li::before {
    content: "✓";

    position: absolute;

    right: 0;
    top: 1px;

    color: #2563eb;

    font-size: 13px;

    font-weight: 800;
}

.service .button {
    width: 100%;

    min-width: auto;

    margin-top: auto;
}


/* ==================================================
   FEATURE STRIP
================================================== */

.feature-strip {
    background: #111827;

    color: #ffffff;

    padding: 55px 20px;
}

.feature-container {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    text-align: center;
}

.feature h3 {
    font-size: 17px;

    margin-bottom: 8px;
}

.feature p {
    color: #9ca3af;

    font-size: 13px;

    line-height: 1.9;
}


/* ==================================================
   CONTACT FORM
================================================== */

.form-wrapper {
    max-width: 800px;

    margin: 0 auto;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 18px;

    padding: 35px;

    box-shadow:
        0 8px 30px rgba(15, 23, 42, 0.06);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    color: #374151;

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    font-family: inherit;

    font-size: 14px;

    color: #111827;

    background: #ffffff;

    border: 1px solid #d9dde4;

    border-radius: 10px;

    padding: 12px 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.10);
}

.form-group textarea {
    min-height: 140px;

    resize: vertical;
}

.form-submit {
    width: 100%;

    border: none;

    cursor: pointer;

    font-family: inherit;

    font-size: 15px;
}


/* ==================================================
   ALERTS
================================================== */

.alert {
    max-width: 800px;

    margin: 0 auto 25px;

    padding: 15px 18px;

    border-radius: 10px;

    font-size: 14px;

    text-align: center;
}

.alert-success {
    background: #ecfdf5;

    color: #047857;

    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fef2f2;

    color: #b91c1c;

    border: 1px solid #fecaca;
}


/* ==================================================
   ABOUT
================================================== */

.about-box {
    max-width: 900px;

    margin: auto;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 18px;

    padding: 40px;

    box-shadow:
        0 8px 30px rgba(15, 23, 42, 0.05);
}

.about-box p {
    color: #4b5563;

    font-size: 15px;

    line-height: 2.2;

    margin-bottom: 20px;
}


/* ==================================================
   PROGRAMS
================================================== */

.program-list {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.program {
    background: #ffffff;

    border: 1px solid #e6eaf0;

    border-radius: 16px;

    padding: 28px;

    box-shadow:
        0 5px 20px rgba(15, 23, 42, 0.045);

    transition: all 0.25s ease;
}

.program:hover {
    transform: translateY(-4px);

    box-shadow:
        0 14px 35px rgba(15, 23, 42, 0.08);
}

.program-icon {
    font-size: 30px;

    margin-bottom: 15px;
}

.program h3 {
    color: #111827;

    font-size: 18px;

    margin-bottom: 10px;
}

.program p {
    color: #6b7280;

    font-size: 13px;

    line-height: 2;

    margin-bottom: 18px;
}


/* ==================================================
   CONTACT INFORMATION
================================================== */

.contact-info {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    max-width: 1000px;

    margin: 0 auto;
}

.contact-card {
    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 16px;

    padding: 25px;

    text-align: center;

    box-shadow:
        0 5px 20px rgba(15, 23, 42, 0.04);
}

.contact-card-icon {
    font-size: 28px;

    margin-bottom: 12px;
}

.contact-card h3 {
    color: #111827;

    font-size: 16px;

    margin-bottom: 7px;
}

.contact-card p {
    color: #6b7280;

    font-size: 13px;
}


/* ==================================================
   FOOTER
================================================== */

.site-footer {
    width: 100%;

    margin-top: 50px;

    background: #111827;

    color: #ffffff;
}

.site-footer-container {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;

    padding: 32px 0 25px;

    display: grid;

    grid-template-columns:
        1.4fr
        1fr
        1fr
        1.3fr;

    gap: 32px;
}

.footer-column {
    min-width: 0;
}

.footer-brand-title {
    margin: 0 0 6px;

    color: #ffffff;

    font-size: 23px;

    font-weight: 800;
}

.footer-brand-slogan {
    max-width: 280px;

    margin: 0;

    color: #9ca3af;

    font-size: 12px;

    line-height: 1.8;
}

.footer-title {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;
}

.footer-links {
    list-style: none;

    margin: 0;

    padding: 0;
}

.footer-links li {
    margin-bottom: 5px;
}

.footer-links a {
    color: #9ca3af;

    text-decoration: none;

    font-size: 12px;

    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-phone {
    display: block;
    margin: 0;
    padding: 0;
    text-align: right;
    direction: rtl;
}
.footer-address,
.footer-hours {
    margin: 0;

    color: #9ca3af;

    font-size: 12px;

    line-height: 1.8;
}

.footer-hours {
    margin-top: 5px;
}


/* ==================================================
   FOOTER BOTTOM
================================================== */

.site-footer-bottom {
    width: 100%;

    border-top: 1px solid #1f2937;
}

.site-footer-bottom-container {
    width: min(1180px, calc(100% - 40px));

    min-height: 46px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.site-footer-bottom-container p {
    margin: 0;

    color: #6b7280;

    font-size: 10px;
}

.site-footer-bottom-container a {
    color: #9ca3af;

    font-size: 10px;

    text-decoration: none;
}

.site-footer-bottom-container a:hover {
    color: #ffffff;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 950px) {

    .site-header-container {
        min-height: 70px;
    }

    .site-nav {
        flex-wrap: wrap;

        justify-content: center;
    }

    .service-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .program-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .feature-container {
        grid-template-columns: 1fr;
    }

    .site-footer-container {
        grid-template-columns: 1fr 1fr;

        gap: 28px 35px;
    }
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 600px) {

    .site-header-container {
        width: calc(100% - 20px);

        min-height: auto;

        padding: 10px 0;

        flex-direction: column;

        gap: 8px;
    }

    .site-brand {
        align-self: flex-start;
    }

    .site-nav {
        width: 100%;

        gap: 2px;

        justify-content: center;

        flex-wrap: wrap;
    }

    .site-nav a {
        min-height: 34px;

        padding: 0 7px;

        font-size: 12px;
    }

    .site-nav .site-nav-request {
        min-height: 34px;

        padding: 0 11px;
    }

    .site-nav .site-nav-phone {
        width: 38px;
        height: 38px;

        min-height: 38px;

        font-size: 20px;
    }

    .site-brand-icon {
        width: 40px;
        height: 40px;
    }

    .site-brand-title {
        font-size: 19px;
    }

    .site-brand-subtitle {
        font-size: 10px;
    }

    .hero {
        padding: 65px 18px 60px;
    }

    .hero h1 {
        font-size: 31px;
    }

    .hero h2 {
        font-size: 27px;
    }

    .hero p {
        font-size: 15px;
    }

    .services {
        padding: 55px 15px;
    }

    .section-title {
        margin-bottom: 35px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .section-title p {
        font-size: 14px;
    }

    .service-list {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .service {
        padding: 27px 22px 24px;
    }

    .service h3 {
        font-size: 18px;
    }

    .service p {
        font-size: 13px;
    }

    .service li {
        font-size: 12.5px;
    }

    .program-list {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        padding: 22px 18px;
    }

    .button-secondary {
        margin-right: 0;

        margin-top: 10px;
    }

    .about-box {
        padding: 25px 20px;
    }


    /* ---------- MOBILE FOOTER ---------- */

    .site-footer {
        margin-top: 40px;
    }

    .site-footer-container {
        width: calc(100% - 30px);

        grid-template-columns: 1fr;

        gap: 22px;

        padding: 28px 0 22px;
    }

    .footer-brand-title {
        font-size: 22px;
    }

    .footer-title {
        margin-bottom: 8px;
    }

    .site-footer-bottom-container {
        width: calc(100% - 30px);

        min-height: auto;

        padding: 13px 0;

        flex-direction: column;

        align-items: flex-start;

        gap: 6px;
    }
}