* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    direction: rtl;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    background-color: #ffffff;
    color: #222;
    line-height: 1.8;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}


:root {
    --primary: #e63946;
    --primary-dark: #c92f3b;

    --secondary: #1d3557;

    --dark: #17202a;
    --text: #444;
    --muted: #777;

    --light: #f7f8fa;
    --white: #fff;

    --border: #e8e8e8;

    --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);

    --radius: 12px;

    --container: 1200px;
}



.container {
    width: 90%;
    max-width: var(--container);
    margin: 0 auto;
}




.top-header {
    background-color: #fafafa;
    border-bottom: 1px solid var(--border);
}

.top-header-content {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-links a {
    color: var(--muted);
    font-size: 13px;

    transition: color 0.3s ease;
}

.top-links a:hover {
    color: var(--primary);
}



.main-header {
    background-color: var(--white);

    position: relative;
    z-index: 1000;

    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar {
    min-height: 85px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}




.logo {
    color: var(--primary);

    font-size: 28px;
    font-weight: 900;

    white-space: nowrap;
}

.logo:hover {
    color: var(--primary-dark);
}




.main-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > a {
    display: flex;
    align-items: center;
    gap: 5px;

    padding: 28px 13px;

    color: #333;
    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.3s ease,
        background-color 0.3s ease;
}

.main-menu > li > a:hover {
    color: var(--primary);
}




.arrow {
    font-size: 15px;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .arrow {
    transform: rotate(180deg);
}



.dropdown-menu {
    position: absolute;

    top: 100%;
    right: 0;

    min-width: 230px;

    padding: 10px 0;

    background-color: var(--white);

    border-radius: 0 0 10px 10px;

    box-shadow: var(--shadow);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}

.has-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;

    padding: 10px 20px;

    color: #444;
    font-size: 14px;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        padding-right 0.25s ease;
}

.dropdown-menu li a:hover {
    color: var(--primary);
    background-color: #fafafa;

    padding-right: 25px;
}




.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 8px;

    background-color: var(--primary);
    color: white;

    font-size: 22px;

    cursor: pointer;
}



.hero {
    min-height: 550px;

    display: flex;
    align-items: center;

    position: relative;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.25)
        ),
        linear-gradient(
            135deg,
            #1d3557,
            #457b9d
        );

    color: white;
}

.hero-content {
    max-width: 650px;

    padding: 80px 0;
}

.hero-subtitle {
    display: inline-block;

    margin-bottom: 15px;

    color: #ffd166;

    font-size: 16px;
    font-weight: bold;
}

.hero h1 {
    margin-bottom: 20px;

    font-size: 48px;
    line-height: 1.4;
    font-weight: 900;
}

.hero p {
    max-width: 600px;

    margin-bottom: 30px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 18px;
}



.hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 10px 25px;

    border-radius: 7px;

    font-size: 14px;
    font-weight: bold;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);

    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
}

.btn-outline {
    border: 1px solid white;
    color: white;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: white;
    color: var(--secondary);
}




.features {
    position: relative;

    margin-top: -70px;

    padding-bottom: 80px;

    z-index: 5;
}

.features-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.feature-card {
    padding: 35px 25px;

    background-color: white;

    border-radius: var(--radius);

    text-align: center;

    box-shadow: var(--shadow);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background-color: rgba(230, 57, 70, 0.1);

    color: var(--primary);

    font-size: 25px;
}

.feature-card h2 {
    margin-bottom: 8px;

    color: var(--secondary);

    font-size: 19px;
}

.feature-card p {
    color: var(--muted);

    font-size: 14px;
}


section {
    overflow: hidden;
}

.section-subtitle {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--primary);

    font-size: 14px;
    font-weight: bold;
}

.section-heading {
    margin-bottom: 45px;

    text-align: center;
}

.section-heading h2 {
    color: var(--secondary);

    font-size: 32px;
    font-weight: 900;
}




.about-section {
    padding: 90px 0;

    background-color: var(--light);
}

.about-content {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;

    color: var(--secondary);

    font-size: 36px;
    line-height: 1.5;
}

.about-text p {
    margin-bottom: 25px;

    color: var(--text);

    font-size: 16px;
}

.about-image {
    min-height: 350px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(230, 57, 70, 0.9),
            rgba(29, 53, 87, 0.9)
        );

    box-shadow: var(--shadow);
}




.services-section {
    padding: 90px 0;

    background-color: white;
}

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.service-card {
    padding: 35px 30px;

    background-color: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);

    border-color: transparent;

    box-shadow: var(--shadow);
}

.service-card h3 {
    margin-bottom: 12px;

    color: var(--secondary);

    font-size: 20px;
}

.service-card p {
    color: var(--muted);

    font-size: 14px;
}


.downloads-section {
    padding: 90px 0;

    background-color: var(--light);
}

.downloads-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.download-card {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 120px;

    padding: 25px;

    background-color: white;

    border-radius: var(--radius);

    color: var(--secondary);

    font-size: 17px;
    font-weight: bold;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}

.download-card:hover {
    transform: translateY(-7px);

    color: var(--primary);

    box-shadow: var(--shadow);
}



.testimonials {
    padding: 90px 0;

    background-color: white;
}

.testimonial-slider {
    max-width: 800px;

    margin: 0 auto;
}

.testimonial {
    padding: 40px;

    background-color: var(--light);

    border-radius: var(--radius);

    text-align: center;
}

.testimonial p {
    margin-bottom: 20px;

    color: var(--text);

    font-size: 17px;
}

.testimonial strong {
    color: var(--primary);
}




.site-footer {
    padding-top: 70px;

    background-color: #17202a;

    color: white;
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 50px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column h3 {
    margin-bottom: 20px;

    color: white;

    font-size: 19px;
}

.footer-column p {
    color: #b8bec5;

    font-size: 14px;
}

.footer-column a {
    margin-bottom: 8px;

    color: #b8bec5;

    font-size: 14px;

    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary);
}




.footer-bottom {
    padding: 20px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    text-align: center;
}

.footer-bottom p {
    color: #9ca3aa;

    font-size: 13px;
}




::selection {
    background-color: var(--primary);
    color: white;
}




::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-dark);
}

.slider-controls {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: 25px;
}

.slider-controls button {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    background-color: white;
    color: var(--secondary);

    font-size: 25px;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.slider-controls button:hover {
    background-color: var(--primary);
    color: white;

    transform: translateY(-2px);
}

.header-scrolled {
    position: sticky;
    top: 0;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.1);

    animation: headerSlideDown 0.3s ease;
}


@keyframes headerSlideDown {

    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }

}


.scroll-top {
    position: fixed;

    left: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background-color: var(--primary);
    color: white;

    font-size: 20px;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    z-index: 9999;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        background-color 0.3s ease;
}


.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.scroll-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}


@media (max-width: 600px) {

    .scroll-top {
        left: 15px;
        bottom: 15px;

        width: 40px;
        height: 40px;

        font-size: 18px;
    }

}

.input-error {
    border-color: #e63946 !important;

    outline: none;

    box-shadow:
        0 0 0 3px rgba(230, 57, 70, 0.1);
}


.form-error {
    display: block;

    margin-top: 6px;

    color: #e63946;

    font-size: 12px;
}


.form-success {
    width: 100%;

    margin-bottom: 20px;

    padding: 12px 15px;

    border-radius: 8px;

    background-color: #e8f7ee;

    color: #218838;

    font-size: 14px;

    text-align: center;
}
.modal {
    position: fixed;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background-color: rgba(0, 0, 0, 0.55);

    opacity: 0;
    visibility: hidden;

    z-index: 10000;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


.modal.modal-active {
    opacity: 1;
    visibility: visible;
}


.modal-content {
    position: relative;

    width: 100%;
    max-width: 550px;

    max-height: 90vh;

    overflow-y: auto;

    padding: 35px;

    background-color: white;

    border-radius: 15px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.2);

    transform: translateY(20px) scale(0.97);

    transition:
        transform 0.3s ease;
}


.modal.modal-active .modal-content {
    transform: translateY(0) scale(1);
}


.modal-close {
    position: absolute;

    top: 15px;
    left: 15px;

    width: 35px;
    height: 35px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background-color: #f3f3f3;

    color: #555;

    font-size: 20px;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}


.modal-close:hover {
    background-color: var(--primary);

    color: white;
}


.modal-content h2 {
    margin-bottom: 20px;

    color: var(--secondary);

    font-size: 25px;
}


.modal-content p {
    color: var(--text);

    font-size: 14px;
}


body.modal-open {
    overflow: hidden;
}


@media (max-width: 600px) {

    .modal {
        padding: 15px;
    }

    .modal-content {
        padding: 30px 20px;

        border-radius: 12px;
    }

    .modal-content h2 {
        font-size: 21px;
    }

}

/* =========================================================
   PRODUCTS PAGE
========================================================= */


/* =========================
   Page Hero
========================= */

.page-hero {
    min-height: 360px;

    display: flex;
    align-items: center;

    position: relative;

    background:
        linear-gradient(
            135deg,
            #1d3557,
            #457b9d
        );

    color: white;
}


.page-hero-content {
    max-width: 700px;

    padding: 70px 0;
}


.page-hero-content .hero-subtitle {
    display: inline-block;

    margin-bottom: 15px;

    color: #ffd166;

    font-size: 16px;
    font-weight: bold;
}


.page-hero-content h1 {
    margin-bottom: 18px;

    color: white;

    font-size: 42px;
    line-height: 1.5;
    font-weight: 900;
}


.page-hero-content p {
    max-width: 600px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 17px;
    line-height: 2;
}



/* =========================
   Products Section
========================= */

.products-page {
    padding: 90px 0;

    background-color: var(--light);
}


.products-page .section-heading p {
    max-width: 650px;

    margin: 15px auto 0;

    color: var(--muted);

    font-size: 15px;
}



/* =========================
   Products Grid
========================= */

.products-page-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}



/* =========================
   Product Card
========================= */

.product-large-card {
    display: flex;

    align-items: flex-start;

    gap: 25px;

    padding: 35px 30px;

    background-color: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.product-large-card:hover {
    transform: translateY(-7px);

    border-color: transparent;

    box-shadow: var(--shadow);
}



/* =========================
   Product Icon
========================= */

.product-large-icon {
    flex: 0 0 75px;

    width: 75px;
    height: 75px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background-color:
        rgba(230, 57, 70, 0.08);

    color: var(--primary);

    font-size: 32px;
}



/* =========================
   Product Content
========================= */

.product-large-content {
    flex: 1;
}


.product-label {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--primary);

    font-size: 13px;
    font-weight: bold;
}


.product-large-content h2 {
    margin-bottom: 12px;

    color: var(--secondary);

    font-size: 22px;
    line-height: 1.6;
}


.product-large-content > p {
    margin-bottom: 18px;

    color: var(--muted);

    font-size: 14px;

    line-height: 2;
}



/* =========================
   Product Features
========================= */

.product-features {
    margin-bottom: 25px;
}


.product-features li {
    margin-bottom: 7px;

    color: var(--text);

    font-size: 13px;
}



/* =========================
   Product Button
========================= */

.product-large-content .btn {
    min-width: 140px;
}



/* =========================
   Products CTA
========================= */

.products-cta {
    padding: 90px 0;

    background-color: var(--white);

    text-align: center;
}


.products-cta-content {
    max-width: 720px;

    margin: 0 auto;
}


.products-cta-content .section-subtitle {
    margin-bottom: 10px;
}


.products-cta-content h2 {
    margin-bottom: 15px;

    color: var(--secondary);

    font-size: 32px;
    line-height: 1.6;
}


.products-cta-content p {
    margin-bottom: 25px;

    color: var(--muted);

    font-size: 15px;

    line-height: 2;
}




#apps,
#drivers,
#useful-apps,
#saba-files,
#store,
#company,
#jobs,
#hardware {
    scroll-margin-top: 100px;
}

/* =========================================================
   SERVICES PAGE
========================================================= */

.services-page {
    padding: 90px 0;
    background-color: var(--light);
}

.services-page .section-heading p {
    max-width: 650px;
    margin: 15px auto 0;
    color: var(--muted);
    font-size: 15px;
}

.services-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.service-large-card {
    display: flex;
    align-items: flex-start;
    gap: 25px;

    padding: 35px 30px;

    background-color: var(--white);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.service-large-card:hover {
    transform: translateY(-7px);

    border-color: transparent;

    box-shadow: var(--shadow);
}

.service-large-icon {
    flex: 0 0 75px;

    width: 75px;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background-color:
        rgba(230, 57, 70, 0.08);

    color: var(--primary);

    font-size: 30px;
}

.service-large-content {
    flex: 1;
}

.service-label {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--primary);

    font-size: 13px;
    font-weight: bold;
}

.service-large-content h2 {
    margin-bottom: 12px;

    color: var(--secondary);

    font-size: 22px;
    line-height: 1.6;
}

.service-large-content > p {
    margin-bottom: 18px;

    color: var(--muted);

    font-size: 14px;
    line-height: 2;
}

.service-features {
    margin-bottom: 25px;
}

.service-features li {
    margin-bottom: 7px;

    color: var(--text);

    font-size: 13px;
}

.services-cta {
    padding: 90px 0;

    background-color: var(--white);

    text-align: center;
}

.services-cta-content {
    max-width: 720px;
    margin: 0 auto;
}

.services-cta-content h2 {
    margin-bottom: 15px;

    color: var(--secondary);

    font-size: 32px;
    line-height: 1.6;
}

.services-cta-content p {
    margin-bottom: 25px;

    color: var(--muted);

    font-size: 15px;
    line-height: 2;
}

#setup,
#support,
#training,
#consultation {
    scroll-margin-top: 100px;
}

/* =========================================================
   ABOUT PAGE
========================================================= */

.about-page {
    padding: 90px 0;
    background-color: var(--white);
}

.about-page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-page-text h2 {
    margin-bottom: 20px;

    color: var(--secondary);

    font-size: 36px;
    line-height: 1.5;
}

.about-page-text p {
    margin-bottom: 15px;

    color: var(--text);

    font-size: 15px;
    line-height: 2.1;
}

.about-page-image {
    min-height: 400px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-box {
    width: 100%;
    min-height: 400px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 40px;

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            #e63946,
            #1d3557
        );

    color: white;

    text-align: center;

    box-shadow: var(--shadow);
}

.about-image-box span {
    margin-bottom: 10px;

    font-size: 34px;
    font-weight: 900;
}

.about-image-box strong {
    font-size: 18px;
    font-weight: normal;
}


/* Values */

.about-values {
    padding: 90px 0;

    background-color: var(--light);
}

.about-values-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}

.about-value-card {
    padding: 30px 25px;

    background-color: white;

    border-radius: var(--radius);

    text-align: center;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.about-value-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow);
}

.about-value-icon {
    width: 60px;
    height: 60px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background-color:
        rgba(230, 57, 70, 0.1);

    color: var(--primary);

    font-size: 24px;
}

.about-value-card h3 {
    margin-bottom: 10px;

    color: var(--secondary);

    font-size: 19px;
}

.about-value-card p {
    color: var(--muted);

    font-size: 13px;

    line-height: 2;
}


/* Statistics */

.about-stats {
    padding: 70px 0;

    background-color: var(--secondary);

    color: white;
}

.about-stats-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

    text-align: center;
}

.about-stat {
    display: flex;

    flex-direction: column;

    align-items: center;
}

.about-stat strong {
    margin-bottom: 5px;

    color: white;

    font-size: 34px;
    font-weight: 900;
}

.about-stat span {
    color: rgba(255, 255, 255, 0.75);

    font-size: 14px;
}


/* CTA */

.about-cta {
    padding: 90px 0;

    background-color: white;

    text-align: center;
}

.about-cta-content {
    max-width: 700px;

    margin: 0 auto;
}

.about-cta-content h2 {
    margin-bottom: 15px;

    color: var(--secondary);

    font-size: 32px;

    line-height: 1.6;
}

.about-cta-content p {
    margin-bottom: 25px;

    color: var(--muted);

    font-size: 15px;

    line-height: 2;
}

/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-page {
    padding: 90px 0;
    background-color: var(--light);
}

.contact-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 40px;

    align-items: start;
}


/* Contact Info */

.contact-info {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

.contact-info-card {
    display: flex;

    align-items: center;

    gap: 18px;

    padding: 22px;

    background-color: var(--white);

    border-radius: var(--radius);

    border: 1px solid var(--border);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow);
}

.contact-icon {
    flex: 0 0 55px;

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background-color:
        rgba(230, 57, 70, 0.1);

    color: var(--primary);

    font-size: 22px;
}

.contact-info-card h3 {
    margin-bottom: 3px;

    color: var(--secondary);

    font-size: 16px;
}

.contact-info-card p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.8;
}


/* Contact Form */

.contact-form-wrapper {
    padding: 35px;

    background-color: var(--white);

    border-radius: var(--radius);

    border: 1px solid var(--border);

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.04);
}

.contact-form-wrapper h2 {
    margin-bottom: 8px;

    color: var(--secondary);

    font-size: 25px;
}

.contact-form-wrapper > p {
    margin-bottom: 25px;

    color: var(--muted);

    font-size: 14px;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.form-group {
    display: flex;

    flex-direction: column;

    margin-bottom: 18px;
}

.form-group label {
    margin-bottom: 7px;

    color: var(--secondary);

    font-size: 13px;

    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    padding: 12px 14px;

    border: 1px solid var(--border);

    border-radius: 7px;

    outline: none;

    background-color: #fff;

    color: var(--text);

    font-size: 14px;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.form-group input {
    min-height: 48px;
}

.form-group select {
    min-height: 48px;

    cursor: pointer;
}

.form-group textarea {
    resize: vertical;

    min-height: 130px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(230, 57, 70, 0.08);
}

.contact-submit {
    width: 100%;

    border: none;

    cursor: pointer;
}

.form-message {
    margin-top: 15px;

    color: var(--primary);

    font-size: 13px;

    text-align: center;
}


/* Map */

.contact-map-section {
    padding: 0 0 90px;

    background-color: var(--light);
}

.contact-map {
    min-height: 300px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #1d3557,
            #457b9d
        );

    color: white;

    text-align: center;

    box-shadow: var(--shadow);
}

.contact-map-content {
    padding: 40px;
}

.contact-map-content span {
    display: block;

    margin-bottom: 8px;

    color: #ffd166;

    font-size: 15px;

    font-weight: bold;
}

.contact-map-content h2 {
    margin-bottom: 12px;

    font-size: 30px;
}

.contact-map-content p {
    color: rgba(255, 255, 255, 0.8);

    font-size: 14px;
}


/* CTA */

.contact-cta {
    padding: 90px 0;

    background-color: var(--white);

    text-align: center;
}

.contact-cta-content {
    max-width: 700px;

    margin: 0 auto;
}

.contact-cta-content h2 {
    margin-bottom: 15px;

    color: var(--secondary);

    font-size: 31px;

    line-height: 1.6;
}

.contact-cta-content p {
    margin-bottom: 25px;

    color: var(--muted);

    font-size: 15px;

    line-height: 2;
}

/* =========================================================
   CUSTOMER CLUB PAGE
========================================================= */

.customer-page {
    padding: 90px 0;

    background-color: var(--light);
}

.customer-intro {
    max-width: 750px;

    margin: 0 auto 45px;

    text-align: center;
}

.customer-intro h2 {
    margin-bottom: 15px;

    color: var(--secondary);

    font-size: 34px;

    line-height: 1.6;
}

.customer-intro p {
    color: var(--muted);

    font-size: 15px;

    line-height: 2;
}


/* Benefits */

.customer-benefits {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.customer-benefit-card {
    padding: 30px 22px;

    background-color: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    text-align: center;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.customer-benefit-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow);
}

.customer-benefit-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background-color:
        rgba(230, 57, 70, 0.1);

    color: var(--primary);

    font-size: 25px;
}

.customer-benefit-card h3 {
    margin-bottom: 10px;

    color: var(--secondary);

    font-size: 18px;
}

.customer-benefit-card p {
    color: var(--muted);

    font-size: 13px;

    line-height: 2;
}


/* Membership */

.customer-membership {
    padding: 80px 0;

    background-color: var(--secondary);
}

.membership-box {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    padding: 45px;

    border-radius: 20px;

    background-color:
        rgba(255, 255, 255, 0.06);

    border: 1px solid
        rgba(255, 255, 255, 0.1);
}

.membership-content {
    max-width: 700px;
}

.membership-content .section-subtitle {
    color: #ffd166;
}

.membership-content h2 {
    margin-bottom: 12px;

    color: white;

    font-size: 30px;

    line-height: 1.6;
}

.membership-content p {
    color: rgba(255, 255, 255, 0.75);

    font-size: 14px;

    line-height: 2;
}

.membership-action {
    flex-shrink: 0;
}


/* Form */

.customer-form-section {
    padding: 90px 0;

    background-color: var(--light);
}

.customer-form-wrapper {
    max-width: 850px;

    margin: 0 auto;

    padding: 40px;

    background-color: white;

    border-radius: var(--radius);

    border: 1px solid var(--border);

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.04);
}

.customer-form-heading {
    margin-bottom: 30px;

    text-align: center;
}

.customer-form-heading h2 {
    margin-bottom: 8px;

    color: var(--secondary);

    font-size: 28px;
}

.customer-form-heading p {
    color: var(--muted);

    font-size: 14px;
}

.customer-form {
    width: 100%;
}

.customer-form .btn {
    min-width: 160px;

    border: none;

    cursor: pointer;
}


/* CTA */

.customer-cta {
    padding: 90px 0;

    background-color: white;

    text-align: center;
}

.customer-cta-content {
    max-width: 700px;

    margin: 0 auto;
}

.customer-cta-content h2 {
    margin-bottom: 15px;

    color: var(--secondary);

    font-size: 32px;

    line-height: 1.6;
}

.customer-cta-content p {
    margin-bottom: 25px;

    color: var(--muted);

    font-size: 15px;

    line-height: 2;
}

/* =========================================================
   SABA ACCOUNTING
   MAIN STYLE
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    direction: rtl;
    text-align: right;

    margin: 0;

    background: #f7f7f8;

    color: #333;

    font-family:
        Tahoma,
        Arial,
        sans-serif;

    line-height: 1.8;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --primary: #d9213f;
    --primary-dark: #b91832;

    --secondary: #202b38;

    --dark: #18212b;

    --white: #ffffff;

    --light: #f7f7f8;

    --border: #e5e5e5;

    --muted: #777;

    --shadow:
        0 12px 35px rgba(0, 0, 0, .10);

    --radius: 6px;

}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: 100%;

    max-width: 1200px;

    margin-right: auto;
    margin-left: auto;

    padding-right: 15px;
    padding-left: 15px;
}


/* =========================================================
   TOP HEADER
========================================================= */

.top-header {

    background: var(--secondary);

    color: #fff;

    font-size: 13px;
}


.top-header-inner {

    min-height: 42px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.top-header-right,
.top-header-left {

    display: flex;

    align-items: center;

    gap: 12px;
}


.top-header a {

    color: #fff;

    transition:
        color .25s ease;
}


.top-header a:hover {

    color: var(--primary);

}


/* =========================================================
   MAIN HEADER
========================================================= */

.main-header {

    position: relative;

    z-index: 1000;

    background: #fff;

    border-bottom: 1px solid var(--border);

    box-shadow:
        0 3px 15px rgba(0, 0, 0, .05);
}


.main-header-inner {

    min-height: 94px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   LOGO
========================================================= */

.site-logo {

    flex: 0 0 auto;

    display: block;
}


.site-logo img {

    width: 155px;

    max-height: 70px;

    object-fit: contain;
}


/* =========================================================
   MENU
========================================================= */

.main-menu {

    margin-right: auto;
}


.main-menu > ul {

    display: flex;

    align-items: center;

    gap: 2px;
}


.main-menu > ul > li {

    position: relative;
}


.main-menu > ul > li > a {

    min-height: 94px;

    padding: 0 14px;

    display: flex;

    align-items: center;

    gap: 5px;

    color: var(--secondary);

    font-size: 13px;

    white-space: nowrap;

    transition:
        background-color .25s ease,
        color .25s ease;
}


.main-menu > ul > li > a:hover,
.main-menu > ul > li.active > a {

    color: var(--primary);

}


.main-menu > ul > li > a span {

    font-size: 14px;
}


/* =========================================================
   DROPDOWN
========================================================= */

.main-menu .dropdown {

    position: absolute;

    top: 100%;

    right: 0;

    width: 220px;

    padding: 8px 0;

    background: #fff;

    border: 1px solid var(--border);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .10);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(8px);

    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease;

    z-index: 999;
}


.main-menu .has-dropdown:hover > .dropdown {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);

}


.main-menu .dropdown li {

    position: relative;
}


.main-menu .dropdown a {

    display: block;

    padding: 9px 17px;

    color: var(--secondary);

    font-size: 13px;

    transition:
        background-color .2s ease,
        color .2s ease;
}


.main-menu .dropdown a:hover {

    background: #fafafa;

    color: var(--primary);

}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.mobile-menu-btn {

    display: none;

    width: 42px;
    height: 42px;

    padding: 8px;

    border: 0;

    background: transparent;

    cursor: pointer;
}


.mobile-menu-btn span {

    display: block;

    height: 2px;

    margin: 6px 0;

    background: var(--secondary);
}


/* =========================================================
   PAGE TITLE
========================================================= */

.page-title {

    position: relative;

    background:
        linear-gradient(
            135deg,
            var(--secondary),
            #303c49
        );

    color: #fff;
}


.page-title-inner {

    min-height: 210px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.page-title-subtitle {

    display: inline-block;

    margin-bottom: 5px;

    color: #ddd;

    font-size: 13px;
}


.page-title h1 {

    margin: 0;

    font-size: 34px;

    font-weight: 700;
}


.breadcrumb {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #ddd;

    font-size: 13px;
}


.breadcrumb a:hover {

    color: #fff;

}


/* =========================================================
   SECTION
========================================================= */

.downloads-section {

    padding: 80px 0 100px;

    background: var(--light);
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {

    max-width: 700px;

    margin: 0 auto 45px;

    text-align: center;
}


.section-heading .section-subtitle {

    display: inline-block;

    margin-bottom: 7px;

    color: var(--primary);

    font-size: 13px;

    font-weight: 700;
}


.section-heading h2 {

    margin: 0;

    color: var(--secondary);

    font-size: 30px;

    line-height: 1.6;
}


.section-heading p {

    margin-top: 12px;

    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   DOWNLOAD GRID
========================================================= */

.downloads-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}


/* =========================================================
   DOWNLOAD CARD
========================================================= */

.download-card {

    overflow: hidden;

    display: flex;

    flex-direction: column;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow:
        0 4px 18px rgba(0, 0, 0, .04);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.download-card:hover {

    transform:
        translateY(-7px);

    border-color:
        transparent;

    box-shadow:
        var(--shadow);
}


/* =========================================================
   DOWNLOAD IMAGE
========================================================= */

.download-image {

    position: relative;

    width: 100%;

    height: 235px;

    overflow: hidden;

    background: #eee;
}


.download-image img {

    width: 100%;
    height: 100%;

    object-fit: var(contain);

    transition:
        transform .5s ease;
}


.download-card:hover
.download-image img {

    transform:
        scale(1.07);
}

.download-image-dor img {
    width: 95%;
    height: 95%;
    object-fit: var(contain);

    transition:
        transform .5s ease;
}




/* =========================================================
   IMAGE OVERLAY
========================================================= */

.download-image-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(217, 33, 63, .82);

    opacity: 0;

    transition:
        opacity .3s ease;
}


.download-card:hover
.download-image-overlay {

    opacity: 1;
}


.download-image-overlay a {

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff;

    color: var(--primary);

    font-size: 28px;

    transform:
        scale(.65);

    transition:
        transform .3s ease,
        background-color .25s ease,
        color .25s ease;
}


.download-card:hover
.download-image-overlay a {

    transform:
        scale(1);
}


.download-image-overlay a:hover {

    background:
        var(--secondary);

    color: #fff;
}


/* =========================================================
   DOWNLOAD CONTENT
========================================================= */

.download-content {

    flex: 1;

    display: flex;

    flex-direction: column;

    padding: 24px;
}


.download-content h3 {

    min-height: 58px;

    margin: 0 0 10px;

    color: var(--secondary);

    font-size: 19px;

    line-height: 1.7;
}


.download-author {

    padding-bottom: 12px;

    margin-bottom: 14px;

    border-bottom:
        1px solid var(--border);

    color: var(--muted);

    font-size: 12px;
}


.download-content p {

    min-height: 75px;

    margin: 0 0 20px;

    color: var(--muted);

    font-size: 13px;

    line-height: 2;
}


/* =========================================================
   DOWNLOAD BUTTONS
========================================================= */

.download-actions {

    display: flex;

    gap: 8px;

    margin-top: auto;
}


.btn {

    min-height: 43px;

    padding: 8px 16px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 4px;

    font-size: 12px;

    cursor: pointer;

    transition:
        background-color .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease;
}


.download-actions .btn {

    flex: 1;
}


.btn-primary {

    background:
        var(--primary);

    border:
        1px solid var(--primary);

    color: #fff;
}


.btn-primary:hover {

    background:
        var(--primary-dark);

    border-color:
        var(--primary-dark);

    color: #fff;

    transform:
        translateY(-2px);
}


.btn-outline-dark {

    background:
        transparent;

    border:
        1px solid var(--border);

    color:
        var(--secondary);
}


.btn-outline-dark:hover {

    background:
        var(--secondary);

    border-color:
        var(--secondary);

    color: #fff;

}


/* =========================================================
   PAGINATION
========================================================= */

.download-pagination {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    margin-top: 50px;
}


.download-pagination a {

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 5px;

    color: var(--secondary);

    font-size: 14px;

    transition:
        background-color .25s ease,
        border-color .25s ease,
        color .25s ease;
}


.download-pagination a:hover,
.download-pagination a.active {

    background:
        var(--primary);

    border-color:
        var(--primary);

    color: #fff;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    background:
        var(--secondary);

    color: #ddd;
}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.4fr 1fr 1fr 1fr;

    gap: 45px;

    padding: 70px 0;
}


.footer-logo {

    display: inline-block;

    margin-bottom: 20px;
}


.footer-logo img {

    width: 145px;

    max-height: 65px;

    object-fit: contain;
}


.footer-about p {

    margin: 0;

    color: #c7cbd0;

    font-size: 13px;

    line-height: 2.2;

    text-align: justify;
}


.footer-column h4 {

    position: relative;

    padding-bottom: 12px;

    margin: 0 0 22px;

    color: #fff;

    font-size: 17px;
}


.footer-column h4::after {

    content: "";

    position: absolute;

    right: 0;

    bottom: 0;

    width: 40px;

    height: 2px;

    background:
        var(--primary);
}


.footer-column ul li {

    margin-bottom: 10px;
}


.footer-column ul li a {

    color: #c7cbd0;

    font-size: 13px;

    transition:
        color .25s ease,
        padding-right .25s ease;
}


.footer-column ul li a:hover {

    padding-right: 5px;

    color: var(--primary);
}


/* =========================================================
   FOOTER SOCIAL
========================================================= */

.footer-social {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 22px;
}


.footer-social a {

    padding: 5px 10px;

    border:
        1px solid rgba(255,255,255,.15);

    border-radius: 4px;

    color: #ddd;

    font-size: 11px;

    transition:
        background-color .25s ease,
        border-color .25s ease;
}


.footer-social a:hover {

    background:
        var(--primary);

    border-color:
        var(--primary);

    color: #fff;
}


/* =========================================================
   FOOTER CONTACT
========================================================= */

.footer-contact li {

    color: #c7cbd0;

    font-size: 12px;

    line-height: 2;

}


.footer-contact strong {

    color: #fff;
}


.footer-contact a {

    color: #ddd;
}


.footer-contact a:hover {

    color: var(--primary);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {

    background:
        rgba(0, 0, 0, .18);

    border-top:
        1px solid rgba(255,255,255,.08);
}


.footer-bottom-inner {

    min-height: 65px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.footer-bottom p {

    margin: 0;

    color: #aaa;

    font-size: 11px;
}


/* =========================================================
   RESPONSIVE
========================================================= */


/* ---------- 1100px ---------- */

@media (max-width: 1100px) {

    .main-menu > ul > li > a {

        padding-left: 9px;

        padding-right: 9px;

        font-size: 12px;
    }


    .downloads-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 18px;
    }

}


/* ---------- 950px ---------- */

@media (max-width: 950px) {

    .main-header-inner {

        min-height: 80px;
    }


    .main-menu {

        display: none;
    }


    .mobile-menu-btn {

        display: block;
    }


    .site-logo img {

        width: 140px;
    }


    .page-title-inner {

        min-height: 180px;
    }


    .downloads-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .footer-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 35px;
    }

}


/* ---------- 650px ---------- */

@media (max-width: 650px) {

    .container {

        padding-left: 18px;

        padding-right: 18px;
    }


    .top-header-inner {

        justify-content: center;
    }


    .top-header-left {

        display: none;
    }


    .top-header-right {

        font-size: 11px;
    }


    .page-title-inner {

        min-height: 150px;

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        gap: 8px;
    }


    .page-title h1 {

        font-size: 27px;
    }


    .breadcrumb {

        font-size: 11px;
    }


    .downloads-section {

        padding:
            60px 0 75px;
    }


    .section-heading {

        margin-bottom: 30px;
    }


    .section-heading h2 {

        font-size: 26px;
    }


    .downloads-grid {

        grid-template-columns: 1fr;

        gap: 20px;
    }


    .download-image {

        height: 240px;
    }


    .download-content {

        padding: 22px 20px;
    }


    .download-content h3 {

        min-height: auto;

        font-size: 18px;
    }


    .download-content p {

        min-height: auto;
    }


    .download-actions {

        flex-direction: column;
    }


    .download-actions .btn {

        width: 100%;
    }


    .footer-grid {

        grid-template-columns: 1fr;

        gap: 35px;

        padding:
            50px 0;
    }


    .footer-bottom-inner {

        min-height: auto;

        padding: 18px 0;

        flex-direction: column;

        align-items: flex-start;

        gap: 8px;
    }

}


/* ---------- 400px ---------- */

@media (max-width: 400px) {

    .top-header-right {

        gap: 7px;

        font-size: 10px;
    }


    .site-logo img {

        width: 125px;
    }


    .page-title h1 {

        font-size: 24px;
    }


    .download-image {

        height: 210px;
    }


    .download-content h3 {

        font-size: 17px;
    }

}


html {
    direction: rtl;
}

body {
    direction: rtl;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.9;
    margin: 0;
    padding: 0;
}


/* همه المان‌های متنی */

button,
input,
textarea,
select,
a,
p,
span,
li,
label,
div {
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}


/* تیترها */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    font-weight: 700;
    line-height: 1.6;
}


/* =====================================================
   HEADER FONT
===================================================== */

.top-header {
    font-size: 13px;
}

.top-header a {
    font-weight: 400;
}

.main-menu > ul > li > a {
    font-size: 14px;
    font-weight: 500;
}

.main-menu .dropdown li a {
    font-size: 13px;
    font-weight: 400;
}


/* =====================================================
   HERO
===================================================== */

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.7;
}

.hero p {
    font-size: 17px;
    line-height: 2;
}


/* =====================================================
   BUTTON
===================================================== */

.btn {
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
}


/* =====================================================
   SECTIONS
===================================================== */

.section-subtitle {
    font-size: 14px;
    font-weight: 500;
}

.section-heading h2 {
    font-size: 30px;
    font-weight: 800;
}

.section-heading p {
    font-size: 15px;
}


/* =====================================================
   CARDS
===================================================== */

.feature-card h2,
.product-card h3,
.service-card h3 {
    font-weight: 700;
}

.feature-card p,
.product-card p,
.service-card p {
    font-size: 14px;
    line-height: 2;
}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    font-size: 13px;
}

.site-footer h4 {
    font-size: 17px;
    font-weight: 700;
}

.site-footer p,
.site-footer li,
.site-footer a {
    line-height: 2;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .section-heading h2 {
        font-size: 24px;
    }

    .main-menu > ul > li > a {
        font-size: 14px;
    }

}



body * {
    font-family: "Vazirmatn" !important;
}


/* =====================================================
   DOWNLOAD PAGE HEADER
   استایل اختصاصی هدر صفحه دانلود
   ===================================================== */

.download-page-header {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            135deg,
            rgba(29, 53, 87, 0.98),
            rgba(69, 123, 157, 0.95)
        );
    color: #fff;
}

.download-page-header::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -250px;
    left: -100px;
    border-radius: 50%;
    background: rgba(230, 57, 70, 0.16);
}

.download-page-header::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -120px;
    bottom: -190px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
}

.download-page-header .container {
    position: relative;
    z-index: 2;
}

.download-page-header .page-title-inner {
    min-height: 230px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.download-page-header .page-title-content {
    max-width: 700px;
}

.download-page-header .page-title-subtitle {
    display: inline-block;
    margin-bottom: 8px;
    color: #ffd166;
    font-size: 14px;
    font-weight: 700;
}

.download-page-header h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.5;
}

.download-page-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
}

.download-page-header .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.download-page-header .breadcrumb a {
    color: #fff;
    transition: color 0.3s ease;
}

.download-page-header .breadcrumb a:hover {
    color: #ffd166;
}

.download-page-header .breadcrumb .separator {
    color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 900px) {
    .download-page-header {
        min-height: 210px;
    }

    .download-page-header .page-title-inner {
        min-height: 210px;
    }

    .download-page-header h1 {
        font-size: 34px;
    }
}

@media (max-width: 650px) {
    .download-page-header {
        min-height: 180px;
    }

    .download-page-header .page-title-inner {
        min-height: 180px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 8px;
    }

    .download-page-header h1 {
        font-size: 27px;
    }

    .download-page-header p {
        font-size: 13px;
    }

    .download-page-header .breadcrumb {
        font-size: 11px;
    }
}

@media (max-width: 400px) {
    .download-page-header h1 {
        font-size: 24px;
    }

    .download-page-header p {
        font-size: 12px;
    }
}


/* =========================================================
   ACADEMIES PAGE - COMPATIBILITY LAYER
   این بخش فقط برای academies.html اضافه شده است.
   CSS قبلی سایت حذف نشده و دست نخورده باقی مانده است.
========================================================= */

/* ---------------------------------------------------------
   ACADEMIES HEADER
--------------------------------------------------------- */

.site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
}

.site-header .top-header {
    background: var(--secondary);
}

.site-header .top-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.site-header .top-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-header .top-links a {
    color: #fff;
    font-size: 13px;
    transition: color .25s ease;
}

.site-header .top-links a:hover,
.site-header .top-links a.active {
    color: var(--primary);
}

.site-header .top-links span {
    color: rgba(255,255,255,.45);
}

.site-header .main-header {
    position: relative;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 3px 15px rgba(0,0,0,.05);
}

.site-header .header-inner {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-header .site-logo {
    flex: 0 0 auto;
    display: block;
}

.site-header .site-logo img {
    width: 155px;
    max-height: 70px;
    object-fit: contain;
}

.site-header .main-nav {
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 2px;
}

.site-header .main-nav > a,
.site-header .dropdown-btn {
    min-height: 94px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: color .25s ease, background-color .25s ease;
}

.site-header .main-nav > a:hover,
.site-header .dropdown-btn:hover,
.site-header .dropdown-btn > a:hover {
    color: var(--primary);
}

.site-header .nav-dropdown {
    position: relative;
}

.site-header .dropdown-btn {
    cursor: pointer;
}

.site-header .dropdown-btn > a {
    color: inherit;
    text-decoration: none;
}

.site-header .dropdown-btn > span {
    font-size: 14px;
    line-height: 1;
}

.site-header .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 9999;
    width: 220px;
    padding: 8px 0;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.site-header .nav-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-header .dropdown-menu a {
    display: block;
    padding: 9px 17px;
    color: var(--secondary);
    font-size: 13px;
    transition: background-color .2s ease, color .2s ease;
}

.site-header .dropdown-menu a:hover {
    background: #fafafa;
    color: var(--primary);
}

.site-header .menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 7px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.site-header .menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
}

/* ---------------------------------------------------------
   PAGE TITLE FIX
   در CSS اصلی h1 بک گراند سفید داشت؛ برای academies اصلاح شد.
--------------------------------------------------------- */

.page-title > .container {
    position: relative;
    z-index: 2;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
}

.page-title h1 {
    background: transparent;
    padding-right: 0;
    color: #fff;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.6;
}

.page-title .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255,255,255,.75);
    font-size: 13px;
}

.page-title .breadcrumb a {
    color: #fff;
    transition: color .25s ease;
}

.page-title .breadcrumb a:hover {
    color: #ffd166;
}

.page-title .breadcrumb span {
    color: rgba(255,255,255,.65);
}

/* ---------------------------------------------------------
   ACADEMIES SECTION
--------------------------------------------------------- */

.academies-section {
    padding: 85px 0 100px;
    background: var(--light);
}

.academies-section .section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 42px;
    text-align: center;
}

.academies-section .section-heading h2 {
    margin: 0;
    color: var(--secondary);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.6;
    white-space: nowrap;
}

.academies-section .heading-line {
    display: block;
    width: 55px;
    height: 2px;
    flex: 0 0 55px;
    background: var(--primary);
    border-radius: 10px;
}

/* ---------------------------------------------------------
   ACADEMY TABS
--------------------------------------------------------- */

.academy-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 45px;
}

.academy-tab {
    min-width: 145px;
    padding: 11px 24px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: #fff;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.academy-tab:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.academy-tab.active {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 6px 18px rgba(217,33,63,.20);
}

.academy-tab.active:hover {
    color: #fff;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* ---------------------------------------------------------
   ACADEMY GRID
--------------------------------------------------------- */

.academies-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

/* ---------------------------------------------------------
   ACADEMY CARD
--------------------------------------------------------- */

.academy-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 4px 18px rgba(0,0,0,.04);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.academy-card:hover {
    transform: translateY(-7px);
    border-color: transparent;
    box-shadow: var(--shadow);
}

.academy-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px;
    background: linear-gradient(135deg, rgba(29,53,87,.05), rgba(217,33,63,.04));
    border-bottom: 1px solid var(--border);
}

.academy-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(217,33,63,.10);
    font-size: 25px;
    line-height: 1;
}

.academy-card-header h3 {
    margin: 0;
    color: var(--secondary);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.7;
}

.academy-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px;
}

.info-row {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text);
    font-size: 13px;
    line-height: 1.9;
}

.info-row > span:last-child {
    min-width: 0;
    word-break: break-word;
}

.info-label {
    color: var(--secondary);
    font-weight: 700;
}

.info-row.address {
    align-items: start;
}

.activity {
    margin-top: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.activity strong {
    display: block;
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.activity p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
}

.academy-card.hidden {
    display: none;
}

/* ---------------------------------------------------------
   ACADEMIES RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1100px) {
    .site-header .main-nav > a,
    .site-header .dropdown-btn {
        padding-left: 9px;
        padding-right: 9px;
        font-size: 13px;
    }

    .academies-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 950px) {
    .site-header .header-inner {
        min-height: 80px;
    }

    .site-header .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 20px 20px;
        background: #fff;
        border-top: 1px solid var(--border);
        box-shadow: 0 15px 30px rgba(0,0,0,.10);
    }

    .site-header .main-nav.active {
        display: flex;
    }

    .site-header .menu-toggle {
        display: flex;
    }

    .site-header .main-nav > a,
    .site-header .dropdown-btn {
        width: 100%;
        min-height: 48px;
        justify-content: space-between;
        padding: 0 10px;
        border-bottom: 1px solid #f1f1f1;
    }

    .site-header .nav-dropdown {
        width: 100%;
    }

    .site-header .dropdown-menu {
        position: static;
        width: 100%;
        display: none;
        padding: 0;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: #f8f9fa;
    }

    .site-header .nav-dropdown:hover > .dropdown-menu {
        display: block;
    }

    .site-header .dropdown-menu a {
        padding: 9px 25px;
        border-bottom: 1px solid #eee;
    }

    .page-title > .container {
        min-height: 180px;
    }

    .academies-section .section-heading h2 {
        font-size: 28px;
    }
}

@media (max-width: 650px) {
    .site-header .top-inner {
        min-height: 40px;
        justify-content: center;
    }

    .site-header .top-links {
        gap: 8px;
        font-size: 11px;
    }

    .site-header .top-links a {
        font-size: 11px;
    }

    .site-header .site-logo img {
        width: 140px;
    }

    .page-title > .container {
        min-height: 150px;
        gap: 7px;
    }

    .page-title h1 {
        font-size: 27px;
    }

    .page-title .breadcrumb {
        font-size: 11px;
    }

    .academies-section {
        padding: 60px 0 75px;
    }

    .academies-section .section-heading {
        gap: 10px;
        margin-bottom: 30px;
    }

    .academies-section .section-heading h2 {
        font-size: 25px;
        white-space: normal;
    }

    .academies-section .heading-line {
        width: 35px;
        flex-basis: 35px;
    }

    .academy-tabs {
        gap: 8px;
        margin-bottom: 30px;
    }

    .academy-tab {
        min-width: 0;
        flex: 1 1 auto;
        padding: 9px 13px;
        font-size: 12px;
    }

    .academies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .academy-card-header {
        padding: 18px;
    }

    .academy-card-header h3 {
        font-size: 17px;
    }

    .academy-info {
        padding: 18px;
    }

    .info-row {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 9px;
        font-size: 12px;
    }

    .activity p {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .site-header .site-logo img {
        width: 120px;
    }

    .page-title h1 {
        font-size: 24px;
    }

    .academies-section .section-heading h2 {
        font-size: 22px;
    }

    .academy-tab {
        width: 100%;
        flex: 1 1 100%;
    }

    .info-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .info-label {
        color: var(--primary);
    }
}


.download-image-bbc img {
    max-width: 70%;
    max-height: 70%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: auto;
}

/* =========================
   Logout Button
========================= */

.logout-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.logout-btn:hover {
    color: var(--primary, #e63946);
}

.logout-btn i {
    font-size: 14px;
}