/* ===== ROOT VARIABLES ===== */
:root {
    --primary: #0046FF;
    --secondary: #00C6FF;
    --accent: #FF8A00;
    --dark: #1e1e1e;
    --light: #f9f9fc;
    --radius: 18px;
    --gradient: linear-gradient(120deg, var(--primary), var(--secondary));
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ===== BASE ===== */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: #fff;
    margin: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.about-wrapper {
}

/* ===== HERO SECTION ===== */
.about-hero {
    position: relative;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    background: var(--gradient);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(3px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 20px;
    animation: fadeUp 1.2s ease;
}

    .hero-content h1 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 15px;
        line-height: 1.2;
        letter-spacing: -0.5px;
    }

    .hero-content p {
        font-size: 1.2rem;
        opacity: 0.95;
        margin-bottom: 30px;
        line-height: 1.7;
    }

.btn-hero {
    padding: 14px 38px;
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.35s ease;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.25);
}

    .btn-hero:hover {
        background: var(--accent);
        color: #fff;
        transform: translateY(-4px);
    }

/* ===== ABOUT SECTION ===== */
.about-section {
    background: #fff;
    padding: 100px 20px 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .about-section:nth-child(even) {
        background: var(--light);
    }

    .about-section::after {
        content: "";
        position: absolute;
        bottom: -60px;
        left: 50%;
        transform: translateX(-50%);
        width: 140%;
        height: 150px;
        background: var(--gradient);
        border-radius: 50% 50% 0 0;
        opacity: 0.08;
    }

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-intro {
    max-width: 850px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* ===== STATS GRID ===== */
.stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 35px 45px;
    min-width: 240px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

    .stat-card i {
        font-size: 2.3rem;
        color: var(--primary);
        margin-bottom: 10px;
        display: block;
    }

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
}

.stat-card p {
    font-size: 0.95rem;
    color: #555;
    margin-top: 8px;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: -60%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
    transform: rotate(25deg);
    transition: opacity 0.4s ease;
    opacity: 0;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: var(--gradient);
    color: #fff;
}

    .stat-card:hover i {
        color: #fff;
    }

/* ===== CTA SECTION ===== */
.about-section:last-child {
    padding: 120px 20px;
    text-align: center;
}

    .about-section:last-child h2 {
        color: #fff;
        font-size: 2.5rem;
    }

    .about-section:last-child p {
        color: rgba(255, 255, 255, 0.9);
        max-width: 700px;
        margin: 0 auto 40px;
    }

    .about-section:last-child .btn-hero {
        background: #fff;
        color: var(--primary);
        font-weight: 600;
        box-shadow: var(--shadow);
    }

        .about-section:last-child .btn-hero:hover {
            background: var(--accent);
            color: #fff;
        }

/* ===== ANIMATIONS ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

    [data-animate].animated {
        opacity: 1;
        transform: translateY(0);
    }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-grid {
        gap: 25px;
    }

    .stat-card {
        min-width: 180px;
        padding: 25px;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn-hero {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .stat-card {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* ====== ABOUT SECTION ====== */
.about-section {
    background: linear-gradient(135deg, #f6fff8 0%, #ffffff 100%);
    padding: 50px 20px;
    font-family: "Poppins", sans-serif;
    padding-bottom:10px
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 60px;
}

.about-text {
    flex: 1;
    min-width: 340px;
    color: #1b4332;
}

    .about-text h2 {
        font-size: 2.6rem;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .about-text .highlight {
        color: #2ba84a;
    }

    .about-text .tagline {
        font-size: 1.5rem;
        color: #228b3a;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .about-text p {
        font-size: 1.05rem;
        color: #3b3b3b;
        line-height: 1.8;
        margin-bottom: 20px;
    }

.btn-secondary {
    display: inline-block;
    background: transparent;
    border: 2px solid #2ba84a;
    color: #2ba84a;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .btn-secondary:hover {
        background: #2ba84a;
        color: #fff;
    }

.about-image {
    flex: 1;
    min-width: 340px;
    min-height: 420px;
    background: url('/images/about-hf-savlet.jpg') center center / cover no-repeat;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-image {
        width: 100%;
        height: 300px;
    }
}

.about-financial {
    background: linear-gradient(353deg, #0aa550 0%, #0aa550 40%, #166239 100%);
}