﻿{
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: #f4f7fb;
    color: #1e293b;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

/* ================= NAVBAR ================= */

.navbar {
    background: rgba(15, 23, 42, .78) !important;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 14px 0;
    transition: .3s;
}

.navbar-brand {
    font-weight: 900;
    font-size: 1.2rem;
}

.nav-link {
    color: #fff !important;
    opacity: .85;
    transition: .3s;
    margin-right: 12px;
}

    .nav-link:hover {
        opacity: 1;
        transform: translateY(-2px);
    }

/* ================= HERO ================= */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, .35), transparent 30%), radial-gradient(circle at bottom left, rgba(6, 182, 212, .25), transparent 30%), linear-gradient(135deg, #0f172a, #111827, #1e293b);
    color: white;
}

    .hero::before {
        content: '';
        position: absolute;
        width: 500px;
        height: 500px;
        background: rgba(59, 130, 246, .18);
        border-radius: 50%;
        top: -200px;
        left: -100px;
        filter: blur(100px);
    }

    .hero::after {
        content: '';
        position: absolute;
        width: 450px;
        height: 450px;
        background: rgba(6, 182, 212, .18);
        border-radius: 50%;
        bottom: -200px;
        right: -100px;
        filter: blur(100px);
    }

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.2rem;
    opacity: .88;
    line-height: 2.1;
    max-width: 850px;
}

.hero-buttons {
    margin-top: 40px;
}

.btn-main {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: white;
    border: none;
    padding: 15px 34px;
    border-radius: 16px;
    font-weight: 700;
    transition: .35s;
    box-shadow: 0 12px 35px rgba(37, 99, 235, .35);
}

    .btn-main:hover {
        transform: translateY(-5px);
        color: white;
        box-shadow: 0 18px 45px rgba(37, 99, 235, .5);
    }

.btn-outline-custom {
    border: 1px solid rgba(255, 255, 255, .3);
    color: white;
    padding: 15px 34px;
    border-radius: 16px;
    margin-right: 12px;
    transition: .3s;
}

    .btn-outline-custom:hover {
        background: white;
        color: #111827;
    }

/* ================= STATS ================= */

.stats {
    margin-top: -80px;
    position: relative;
    z-index: 5;
}

.stat-box {
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(14px);
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
    transition: .3s;
}

    .stat-box:hover {
        transform: translateY(-8px);
    }

    .stat-box h2 {
        font-weight: 900;
        color: #2563eb;
        font-size: 2.4rem;
    }

/* ================= SECTION ================= */

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title h2 {
        font-weight: 900;
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .section-title p {
        max-width: 750px;
        margin: auto;
        color: #64748b;
        line-height: 2;
    }

/* ================= FEATURES ================= */

.features {
    padding: 120px 0;
}

.feature-box {
    background: white;
    border-radius: 28px;
    padding: 40px 30px;
    transition: .35s;
    border: 1px solid #e2e8f0;
    height: 100%;
    position: relative;
    overflow: hidden;
}

    .feature-box::before {
        content: '';
        position: absolute;
        width: 140px;
        height: 140px;
        background: rgba(37, 99, 235, .06);
        border-radius: 50%;
        top: -60px;
        left: -60px;
    }

    .feature-box:hover {
        transform: translateY(-12px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, .08);
    }

.feature-icon {
    width: 75px;
    height: 75px;
    border-radius: 22px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, .25);
}

.feature-box h4 {
    font-weight: 800;
    margin-bottom: 18px;
}

.feature-box p {
    color: #64748b;
    line-height: 2;
}

/* ================= CAROUSEL ================= */

.carousel-section {
    padding: 40px 0 100px;
}

.carousel-inner {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
}

.carousel-item img {
    aspect-ratio: 16 / 8;
    object-fit: fill;
    
}

.carousel-caption {
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 18px;
    bottom: 30px;
}

/* ================= ABOUT ================= */

.about {
    padding: 120px 0;
    background: white;
}

.about-box {
    background: #f8fafc;
    border-radius: 30px;
    padding: 50px;
}

    .about-box h3 {
        font-weight: 900;
        margin-bottom: 30px;
    }

    .about-box p {
        line-height: 2.2;
        color: #475569;
    }

.about-list li {
    margin-bottom: 18px;
    color: #334155;
}

/* ================= CONTACT ================= */

.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f172a, #111827);
    color: white;
}

.contact-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 28px;
    padding: 45px;
    backdrop-filter: blur(14px);
}

    .contact-card h3 {
        font-weight: 800;
        margin-bottom: 30px;
    }

.contact-item {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

    .contact-item i {
        color: #38bdf8;
        margin-left: 10px;
    }

/* ================= FOOTER ================= */

footer {
    background: #020617;
    color: rgba(255, 255, 255, .7);
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, .05);
}

    footer a {
        color: white;
        font-weight: 700;
    }

/* ================= MOBILE ================= */

@media(max-width:768px) {

    .hero {
        text-align: center;
        padding-top: 120px;
        padding-bottom: 100px;
        min-height: auto;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 15px;
    }

    .btn-outline-custom {
        margin-right: 0;
    }

    .about-box {
        padding: 30px;
    }

    .contact-card {
        padding: 30px;
    }
}
