﻿/* ============================= */
/* Global Section Styling */
/* ============================= */
.section {
    padding: 30px 10px;
}

.container {
    max-width: 1100px;
    margin: auto;
}

.container2 {
    max-width: 1100px;
    max-height: 200px;
}

/* ============================= */
/* Fade-in Animation Base */
/* ============================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ============================= */
/* Hero Section */
/* ============================= */
.about-hero {
    /*background: linear-gradient(135deg, #7b1113, #9e1c1f);*/
    /*background: linear-gradient(135deg, #FFFC02, #028411);*/
    background: linear-gradient(135deg, #7b1113, #b22222);
    color: #fff;
    text-align: center;
    padding: 8px 10px;
    border-radius: 18px;
    margin: 10px 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

    .about-hero h1 {
        font-size: 32px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    .about-hero p {
        font-size: 18px;
        opacity: 0.95;
    }

/* ============================= */
/* Headings */
/* ============================= */
h1 {
    margin-bottom: 20px;
    font-weight: 600;
    color: white;
}

h2 {
    margin-bottom: 10px;
    font-weight: 500;
    color: aliceblue;
}

/* ============================= */
/* Grid Layouts */
/* ============================= */
.grid-4, .grid-3, .grid-2 {
    display: grid;
    gap: 25px;
}

.grid-4,
.grid-3,
.grid-2 {
    grid-template-columns: 1fr;
}

/* ============================= */
/* Cards */
/* ============================= */
.card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all .3s ease;
    border-top: 4px solid #7b1113;
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.12);
    }

/* ============================= */
/* Light Background Section */
/* ============================= */
.light-bg {
    background: #f4f6f8;
}

/* ============================= */
/* Highlight Section */
/* ============================= */
.highlight {
    background: linear-gradient(135deg, #7b1113, #b22222);
    color: #fff;
    border-radius: 16px;
}

/* ============================= */
/* Statistics Section */
/* ============================= */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    text-align: center;
}

.stat {
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

    .stat h3 {
        font-size: 30px;
        color: #7b1113;
        margin-bottom: 8px;
    }

    .stat p {
        font-size: 15px;
        color: #555;
    }

/* ============================= */
/* Responsive - Desktop */
/* ============================= */
@media(min-width:768px) {

    .about-hero h1 {
        font-size: 42px;
    }

    .about-hero p {
        font-size: 20px;
    }

    .grid-4 {
        grid-template-columns: repeat(4,1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3,1fr);
    }

    .grid-2 {
        grid-template-columns: repeat(2,1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(4,1fr);
    }
}
