/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Vazirmatn", sans-serif;
    background: #f8fafc;
    color: #172033;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

.container {
    width: min(1150px, calc(100% - 40px));
    margin: auto;
}

.section {
    padding: 100px 0;
}


/* =========================
   HEADER
========================= */

.header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e8edf3;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: 800;
}

.logo-title {
    display: block;
    font-size: 18px;
    font-weight: 800;
}

.logo-subtitle {
    display: block;
    font-size: 11px;
    color: #718096;
}

.menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu a {
    color: #526071;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.menu a:hover {
    color: #2563eb;
}

.nav-phone {
    background: #2563eb;
    color: white;
    padding: 9px 20px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    background:
        radial-gradient(circle at 10% 20%, #dbeafe 0, transparent 30%),
        linear-gradient(135deg, #f8fbff, #eef5ff);

    padding: 90px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 80px;
}

.badge {
    display: inline-block;
    background: #e0ecff;
    color: #2563eb;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.hero h1 span {
    color: #2563eb;
}

.hero-text > p {
    color: #64748b;
    font-size: 17px;
    max-width: 650px;
    margin: 20px 0 30px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid #cbd5e1;
    background: white;
    color: #334155;
}

.btn-outline:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.hero-info {
    display: flex;
    gap: 35px;
    margin-top: 45px;
}

.hero-info div {
    display: flex;
    flex-direction: column;
}

.hero-info strong {
    font-size: 18px;
}

.hero-info span {
    color: #718096;
    font-size: 12px;
}


/* Hero Card */

.hero-card {
    background: white;
    border: 1px solid #e5eaf0;
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.computer-icon {
    width: 75px;
    height: 75px;
    border-radius: 20px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin-bottom: 20px;
}

.hero-card h2 {
    font-size: 25px;
    margin-bottom: 5px;
}

.hero-card > p {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 25px;
}

.hero-card-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-top: 1px solid #edf1f5;
    padding: 16px 0;
}

.hero-card-item > span {
    font-size: 20px;
}

.hero-card-item small {
    display: block;
    color: #94a3b8;
    font-size: 11px;
}

.hero-card-item strong {
    display: block;
    font-size: 13px;
}

.card-button {
    display: block;
    text-align: center;
    background: #f1f5f9;
    padding: 11px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
}

.card-button:hover {
    background: #e2e8f0;
}


/* =========================
   SECTION TITLE
========================= */

.section-title {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 55px;
}

.section-title > span,
.section-label {
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
}

.section-title h2 {
    font-size: 34px;
    margin: 8px 0;
}

.section-title p {
    color: #718096;
    font-size: 14px;
}


/* =========================
   SERVICES
========================= */

.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    padding: 30px;
    border: 1px solid #e7edf3;
    border-radius: 16px;
    background: white;
    transition: 0.25s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #bfdbfe;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.07);
}

.service-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.service-card p {
    color: #718096;
    font-size: 13px;
}


/* =========================
   ABOUT
========================= */

.about {
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    min-height: 400px;
    border-radius: 25px;
    background:
        linear-gradient(
            135deg,
            #dbeafe,
            #eff6ff
        );

    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-inner {
    width: 75%;
    height: 75%;
    border-radius: 20px;
    background: white;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.about-image-inner span {
    font-size: 70px;
}

.about-image-inner strong {
    font-size: 18px;
}

.about-text h2 {
    font-size: 36px;
    line-height: 1.5;
    margin: 8px 0 20px;
}

.about-text p {
    color: #64748b;
    margin-bottom: 15px;
    font-size: 14px;
}

.about-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 25px;
}

.about-list div {
    font-size: 13px;
    font-weight: 600;
}

.about-list span {
    color: #2563eb;
    font-weight: 900;
    margin-left: 5px;
}


/* =========================
   CTA
========================= */

.cta {
    background: #2563eb;
    color: white;
    padding: 60px 0;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta span {
    font-size: 13px;
    opacity: 0.85;
}

.cta h2 {
    font-size: 28px;
    margin-top: 5px;
}

.btn-light {
    background: white;
    color: #2563eb;
}

.btn-light:hover {
    transform: translateY(-2px);
}


/* =========================
   CONTACT
========================= */

.contact {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px;
}

.contact-info {
    border: 1px solid #e6ebf0;
    border-radius: 20px;
    padding: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid #edf1f5;
}

.contact-item:last-of-type {
    border-bottom: none;
}

.contact-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item span {
    display: block;
    font-size: 11px;
    color: #94a3b8;
}

.contact-item p,
.contact-item a {
    font-size: 13px;
    font-weight: 600;
}

.contact-item a {
    color: #2563eb;
}

.contact-buttons {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.map {
    min-height: 450px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e6ebf0;
}

.map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: 0;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: #111827;
    color: white;
    padding: 45px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.footer h3 {
    font-size: 18px;
}

.footer p {
    color: #9ca3af;
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 12px;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: left;
    color: #9ca3af;
    font-size: 11px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .menu {
        gap: 15px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-card {
        max-width: 600px;
        width: 100%;
        margin: auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        min-height: 300px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map {
        min-height: 350px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .copyright {
        text-align: center;
    }
}


@media (max-width: 700px) {

    .container {
        width: min(100% - 30px, 1150px);
    }

    .nav-phone {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .menu {
        position: absolute;
        top: 78px;
        right: 15px;
        left: 15px;

        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 15px;

        padding: 15px;

        display: none;
        flex-direction: column;
        align-items: stretch;

        box-shadow: 0 15px 40px rgba(15, 23, 42, 0.1);
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        padding: 10px;
        border-bottom: 1px solid #f1f5f9;
    }

    .menu a:last-child {
        border-bottom: none;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-text > p {
        font-size: 15px;
    }

    .hero-info {
        gap: 20px;
        justify-content: space-between;
    }

    .hero-card {
        padding: 25px;
    }

    .section {
        padding: 70px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-text h2 {
        font-size: 29px;
    }

    .about-list {
        grid-template-columns: 1fr;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta h2 {
        font-size: 23px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-buttons .btn {
        width: 100%;
    }
}


@media (max-width: 400px) {

    .hero h1 {
        font-size: 31px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-info {
        gap: 10px;
    }

    .hero-info strong {
        font-size: 15px;
    }

}