/* =========================
   Fonts
========================= */

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}



/* =========================
   Reset
========================= */

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


html {
    scroll-behavior: smooth;
}


body {

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

    direction: rtl;

    color: #1e293b;

    background: #ffffff;

    line-height: 1.7;

}


img {

    max-width: 100%;

    display: block;

}


a {

    text-decoration: none;

    color: inherit;

}


h1,
h2,
h3 {

    line-height: 1.5;

}






/* =========================
   Fix menu anchor position
   for sticky header
========================= */


#products,
#target-customers,
#problems,
#features,
#services,
#customers,
#contact {

    scroll-margin-top: 95px;

}







/* =========================
   Header
========================= */


header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: #ffffff;

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

}



.navbar {

    max-width: 1200px;

    margin: auto;

    padding: 12px 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

}



.logo {

    display: flex;

    flex-direction: column;

}



.brand {

    font-size: 28px;

    font-weight: 900;

    color: #2563eb;

}



.logo span {

    font-size: 14px;

    color: #64748b;

}



.menu {

    display: flex;

    gap: 25px;

}



.menu a {

    font-weight: 600;

    color: #334155;

}



.menu a:hover {

    color: #2563eb;

}



.header-phone a {

    direction: ltr;

    unicode-bidi: embed;

    color: #16a34a;

    font-weight: 800;

}








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


.hero {

    min-height: 520px;

    display: flex;

    align-items: center;

    background:

        linear-gradient(rgba(255, 255, 255, .9),
            rgba(255, 255, 255, .9));

}



.hero-content {

    max-width: 1200px;

    margin: auto;

    padding: 60px 20px;

}



.hero h1 {

    font-size: 46px;

    font-weight: 900;

    color: #0f172a;

    margin-bottom: 15px;

}



.hero h2 {

    font-size: 28px;

    color: #2563eb;

    margin-bottom: 20px;

}



.hero p {

    max-width: 800px;

    font-size: 18px;

    color: #475569;

    margin-bottom: 30px;

}

.trust-line {

    margin-top: 20px;

    /* text-align: center; */

    font-size: 15px;

    color: #555;

    font-weight: 500;

}





/* =========================
 Buttons
========================= */


.btn {

    display: inline-block;

    padding: 12px 30px;

    border-radius: 12px;

    font-weight: 700;

    margin: 5px;

    transition: .3s;

}



.primary {

    background: #2563eb;

    color: white;

}



.primary:hover {

    background: #1d4ed8;

}



.second {

    background: #e2e8f0;

}








/* =========================
 Sections
========================= */


.section,
.services,
.contact {

    max-width: 1200px;

    margin: auto;

    padding: 55px 20px;

}



.section h2,
.services h2,
.contact h2 {

    text-align: center;

    font-size: 34px;

    margin-bottom: 35px;

}








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


.target-users {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
}


.target-users li {
    background: #f3f4f6;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
}




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


.cards {

    display: grid;

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

    gap: 30px;

}



.card {

    background: #ffffff;

    border-radius: 20px;

    overflow: hidden;

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

    padding-bottom: 25px;

}



.product-images {

    display: grid;

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

    gap: 8px;

}


.product-images img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .12);
    transition: transform .2s;
}

.product-images img:hover {
    transform: scale(1.03);
}

.zoom-image {

    transition: .3s;

}



.zoom-image:hover {

    transform: scale(1.03);

}



.card h3 {

    font-size: 24px;

    padding: 20px 25px 5px;

}



.card p {

    padding: 0 25px;

}



.card ul {

    margin: 20px 40px;

}



.card li {

    margin-bottom: 8px;

}

/* Main Products */

.main-products {

    display: grid;

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

    gap: 25px;

    margin: 35px 0 45px 0;

}


.main-product-card {

    background: #ffffff;

    border: 2px solid #e2e8f0;

    border-radius: 16px;

    padding: 30px;

    text-align: right;

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

}


.main-product-card:hover {

    transform: translateY(-5px);

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

}


.main-product-card h3 {

    font-size: 22px;

    margin-bottom: 15px;

    color: #1e3a8a;

}


.main-product-card p {

    line-height: 1.9;

    margin-bottom: 15px;

}


.main-product-card ul {

    padding-right: 20px;

    line-height: 2;

}


.main-product-card li {

    margin-bottom: 5px;

}



/* Mobile */

@media (max-width: 768px) {


    .main-products {

        grid-template-columns: 1fr;

    }


    .main-product-card {

        padding: 22px;

    }


}

/* =========================================
   Target Customers + Problems Sections
   ========================================= */


/* Common section style */

.target-customers,
.problems {

    padding: 60px 20px;

}


/* Section titles */

.target-customers h2,
.problems h2 {

    text-align: center;

    font-size: 28px;

    margin-bottom: 20px;

    line-height: 1.8;

}


/* Section intro text */

.section-intro {

    max-width: 750px;

    margin: 0 auto 40px;

    text-align: center;

    line-height: 2;

    color: #555;

}


/* Cards container */

.target-customers .problem-list,
.problems .problem-list {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    gap: 22px;

    max-width: 1100px;

    margin: 0 auto;

}



/* Card */

.target-customers .problem-card,
.problems .problem-card {

    background: #ffffff;

    padding: 25px;

    border-radius: 14px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, .08);

    transition: all .2s ease;

}



/* Hover */

.target-customers .problem-card:hover,
.problems .problem-card:hover {

    transform: translateY(-4px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);

}



/* Card title */

.target-customers .problem-card h3,
.problems .problem-card h3 {

    margin-top: 0;

    margin-bottom: 12px;

    font-size: 19px;

    line-height: 1.8;

}



/* Card text */

.target-customers .problem-card p,
.problems .problem-card p {

    margin: 0;

    color: #555;

    line-height: 2;

    font-size: 15px;

}



/* Mobile */

@media (max-width: 768px) {


    .target-customers,
    .problems {

        padding: 40px 15px;

    }


    .target-customers h2,
    .problems h2 {

        font-size: 23px;

    }


    .target-customers .problem-list,
    .problems .problem-list {

        grid-template-columns: 1fr;

        gap: 16px;

    }


    .target-customers .problem-card,
    .problems .problem-card {

        padding: 20px;

    }

}



/* =========================
Experience Section 
========================= */

.experience {

    padding: 50px 20px;

}


.experience-content {

    max-width: 900px;

    margin: 0 auto;

    text-align: center;

}


.experience h2 {

    font-size: 28px;

    line-height: 1.8;

    margin-bottom: 20px;

}


.experience p {

    color: #555;

    line-height: 2;

    font-size: 16px;

    margin-bottom: 30px;

}



.experience-highlight {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;

}



.experience-highlight span {

    background: #fff;

    padding: 12px 18px;

    border-radius: 10px;

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

    font-size: 14px;

}



@media (max-width:768px) {


    .experience {

        padding: 35px 15px;

    }


    .experience h2 {

        font-size: 22px;

    }


    .experience-highlight {

        flex-direction: column;

        align-items: stretch;

    }


}



/* =========================
 Customers
========================= */

.customers {
    padding: 60px 20px;
    text-align: center;
}


.customers h2 {
    margin-bottom: 15px;
}


.customers p {
    max-width: 700px;
    margin: 0 auto 35px;
}


.customer-list {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));

    gap: 20px;

}


.customer-card {

    background: #fff;

    border-radius: 12px;

    padding: 20px;

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

}


.customer-card h3 {

    margin: 0 0 8px;

    font-size: 17px;

}


.customer-card span {

    color: #666;

    font-size: 14px;

}



/* =========================
 services
========================= */


.services {

    background: #f8fafc;

    border-radius: 30px;

    text-align: center;

}

.services h3 {

    /* font-size: 18px; */

    color: #2563eb;

    margin-bottom: 10px;

}

.services p {

    max-width: 800px;

    margin: auto;

}



.services-box {

    margin-top: 30px;

    display: grid;

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

    gap: 20px;

}



.services-box div {

    background: white;

    padding: 20px;

    border-radius: 15px;

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

}







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


.features {

    display: grid;

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

    gap: 25px;

}



.feature-card {

    background: white;

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);

}



.feature-card img {

    height: 180px;

    width: 100%;

    object-fit: cover;

}



.feature-card h3 {

    padding: 15px 20px 5px;

}



.feature-card p {

    padding: 0 20px 20px;

}







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

.cta {

    margin: 60px 20px;

    padding: 45px 20px;

    text-align: center;

    border-radius: 16px;

}


.cta h2 {

    margin-bottom: 15px;

}


.cta p {

    margin-bottom: 25px;

}



/* =========================
 Contact
========================= */


.contact {

    text-align: center;

}



.contact p {

    margin-bottom: 25px;

}








/* =========================
 Footer
========================= */


footer {

    background: #0f172a;

    text-align: center;

    padding: 35px 20px;

}



footer p {

    color: #cbd5e1;

}



footer strong {

    color: white;

    font-size: 25px;

}







/* =========================
 Animation
========================= */


.hidden {

    opacity: 0;

    transform: translateY(30px);

    transition: .6s;

}



.show {

    opacity: 1;

    transform: translateY(0);

}







/* =========================
 Lightbox
========================= */


.lightbox {

    position: fixed;

    inset: 0;

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

    display: flex;

    justify-content: center;

    align-items: center;

    z-index: 99999;

}



.lightbox-content {

    position: relative;

}



.lightbox-content img {

    max-width: 90vw;

    max-height: 85vh;

    border-radius: 15px;

}



.lightbox-close {

    position: absolute;

    top: -45px;

    right: 0;

    width: 40px;

    height: 40px;

    border: none;

    border-radius: 50%;

    cursor: pointer;

    font-size: 30px;

}







/* =========================
 Mobile Call Button
========================= */


.mobile-call {

    display: none;

}







/* =========================
 Mobile
========================= */


@media(max-width:768px) {


    .navbar {

        padding: 12px 15px;

    }


    .menu {

        display: none;

    }


    .brand {

        font-size: 22px;

    }



    .header-phone a {

        font-size: 14px;

    }



    .hero {

        min-height: auto;

    }



    .hero-content {

        text-align: center;

        padding: 40px 20px 90px;

    }



    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.55;
        margin-bottom: 14px;
    }

    .hero h2 {
        font-size: 1.2rem;
        line-height: 1.8;
        margin-bottom: 16px;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.9;
    }



    .btn {

        width: 100%;

    }



    .cards {

        grid-template-columns: 1fr;

    }



    .product-images {

        grid-template-columns: 1fr;

    }



    .product-images img {

        height: 230px;

    }



    .services-box {

        grid-template-columns: 1fr;

    }



    .features {

        grid-template-columns: 1fr;

    }



    .mobile-call {

        display: block;

        position: fixed;

        bottom: 15px;

        left: 15px;

        right: 15px;

        background: #16a34a;

        color: white;

        text-align: center;

        padding: 12px;

        border-radius: 50px;

        font-weight: 800;

        z-index: 9999;

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

    }

}

/* =========================
   Small Phone Typography
   ========================= */

@media (max-width: 480px) {

    .hero-content {
        padding: 35px 16px 70px;
    }

    .hero h1 {
        font-size: 1.55rem;
        line-height: 1.6;
    }

    .hero h2 {
        font-size: 1.08rem;
        line-height: 1.85;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.95;
    }

    .trust-line {
        font-size: 14px;
        line-height: 1.8;
    }

    .section h2,
    .services h2,
    .contact h2 {
        font-size: 1.35rem;
        line-height: 1.75;
    }

    .target-customers h2,
    .problems h2 {
        font-size: 1.3rem;
        line-height: 1.75;
    }

    .experience h2 {
        font-size: 1.3rem;
        line-height: 1.75;
    }

    .feature-card h3,
    .main-product-card h3 {
        font-size: 1.05rem;
        line-height: 1.75;
    }

    .card h3 {
        font-size: 1.15rem;
        line-height: 1.7;
    }

    .cta h2 {
        font-size: 1.3rem;
        line-height: 1.75;
    }
}