﻿.about-hero {
    padding: 100px 0 60px;
    background: #1e2a78;
    color: white;
    text-align: center;
    margin-top: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

    .about-hero h1 {
        font-size: 48px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .about-hero p {
        font-size: 18px;
        opacity: 0.9;
    }
.about-main {
    padding: 90px 0;
    background: #f6f8fc;
}
.p {
    font-size: 19px;
    line-height: 1.3;
    color: #000000;
    font-weight: 400;
}
.about-img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    max-height: 420px;
    max-width: 620px;
    margin-left: 70px;
}

.about-main h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}
.mission {
    padding: 80px 0;
    background: white;
}

.mission-box {
    padding: 40px;
    border-radius: 15px;
    background: #f6f8fc;
    transition: 0.3s;
}

    .mission-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }


.about-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg,#2d3a8c,#3f4db5);
    color: white;
    text-align: center;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

    /* bottom border line */

    .about-hero::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50%;
        height: 6px;
        background: #ff6a00;
    }

    /* right side border */

    .about-hero::before {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 50%;
        height: 6px;
        background: #22c55e;
    }

.stats-section {
    padding: 80px 0;
    background: #f5f7fb;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.stat-box {
    padding: 70px 20px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    /* NUMBER */

    .stat-box h2 {
        font-size: 50px;
        font-weight: 700;
        color: #222;
        margin-bottom: 10px;
    }

    .stat-box p {
        font-size: 18px;
        color: #555;
    }

/* COLORS */

.stat-yellow {
    background: #efe6c9 url('/Images/about1.jpg');
    background-size: cover;
}

.stat-green {
    background: #dce7d5 url('/Images/about1.jpg');
    background-size: cover;
}

.stat-blue {
    background: #d6e3ef url('/Images/about1.jpg');
    background-size: cover;
}




/* ===== TABLET ===== */

@media (max-width: 992px) {

    .about-hero {
        padding: 60px 20px;
    }

    .about-main {
        padding: 50px 0;
    }

    .mission {
        padding: 50px 0;
    }

    .stats-section {
        padding: 50px 0;
    }

    .about-img {
        margin-left: 0;
        margin-top: 15px;
        max-width: 100%;
    }

    .about-main h2 {
        font-size: 34px;
    }

    .about-hero h1 {
        font-size: 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 20px;
    }
}


/* ===== MOBILE ===== */

@media (max-width: 768px) {

    .about-hero {
        padding: 40px 15px;
        margin-top: 10px;
    }

    .about-main {
        padding: 40px 0;
        text-align: center;
    }

    .mission {
        padding: 40px 0;
    }

    .stats-section {
        padding: 40px 0;
    }

    .about-hero h1 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .about-hero p {
        font-size: 15px;
    }

    .about-main .row {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    /* TEXT FIRST */

    .about-main .col-lg-6:last-child {
        order: 1;
    }

    /* IMAGE SECOND */

    .about-main .col-lg-6:first-child {
        order: 2;
    }

    .about-img {
        margin: 15px auto;
        display: block;
        max-width: 100%;
    }

    .about-main h2 {
        font-size: 26px;
        margin-bottom: 10px;
    }

    p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .mission-box {
        margin-bottom: 15px;
        padding: 25px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-box {
        padding: 30px 15px;
    }

        .stat-box h2 {
            font-size: 36px;
        }
}


/* ===== SMALL MOBILE ===== */

@media (max-width: 480px) {

    .about-hero {
        padding: 30px 10px;
    }

        .about-hero h1 {
            font-size: 24px;
        }

    .about-main h2 {
        font-size: 22px;
    }

    .stat-box h2 {
        font-size: 32px;
    }

    .stat-box p {
        font-size: 14px;
    }
}