

:root {
    --primary-color: #8B0000;      /* Deep Red */
    --secondary-color: #F4C430;    /* Golden Yellow */
    --dark-color: #5A0000;
    --light-gray: #f8f9fa;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}
body {
    font-family: var(--font-body);
    color: #333;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}



.about-hero {
    position: relative;
    background: url('../images/img2478.jpeg') center/cover no-repeat;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}



.stats-section {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.80), rgba(0,0,0,0.80)),
                url('../images/img478.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 88px 0;
    color: #fff;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    text-align: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.about-hero h1,
.about-hero p {
    position: relative;
    color: #fff;
    z-index: 1;
}

.about-hero h1 {
    font-size: 42px;
    font-weight: 700;
}

.about-hero p {
    font-size: 18px;
    margin-top: 10px;
}


/* ================= TITLES ================= */

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title span {
    color: #d4af37; /* Gold Accent */
}

.section-subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 50px;
}

/* ================= ABOUT SECTION ================= */

/* ===== ABOUT SECTION ===== */

.about-section {
    padding: 120px 0;
    background: linear-gradient(to right, #f9fafc, #ffffff);
}

/* ===== Section Header ===== */

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 1px;
}

.section-header span {
    color: #b71c1c;
    position: relative;
}

/* Decorative underline */
.section-header span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 4px;
    background: #b71c1c;
    border-radius: 2px;
}

.section-header p {
    color: #777;
    margin-top: 15px;
    font-size: 17px;
}

/* ===== Layout ===== */

.about-grid {
 
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}


/* ===== Text Card ===== */

.about-card {
    background: #ffffff;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    transition: 0.4s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.12);
}

.about-card h3 {
    margin-top: 20px;
    font-size: 22px;
    color: #b71c1c;
    font-weight: 700;
}

.about-card p {
    margin-top: 10px;
    line-height: 1.8;
    color: #555;
}

/* ===== Image Styling ===== */

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.15);
    transition: 0.4s ease;
}

.about-image img:hover {
    transform: scale(1.04);
}

/* ===== Button ===== */




/* Fix layout issue */

.about-text,
.about-image {
    flex: 1;
}

/* Make sure container is centered */
.about-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Ensure image is visible */
.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 992px) {
    .about-grid {
        flex-direction: column;
        text-align: center;
    }

    .about-card {
        padding: 35px;
    }
}
/* ================= WHAT WE DO ================= */

.what-section {
    padding: 50px 0;
    background: #fdf8f0; /* Light Warm Background */
}

.card-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.sport-card {
    position: relative;
    width: 30%;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.sport-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease; /* smoother zoom */
}

/* OVERLAY */
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 91%;
    transform: translate(-50%, -50%);
    background: rgba(183, 28, 28, 0.90);
    border-radius: 8px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 20px;

    color: #fff;

    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Title */
.overlay h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Small Description */
.overlay p {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
}
/* HOVER EFFECT */
.sport-card:hover .overlay {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95); /* slight shrink */
}

.sport-card:hover img {
    transform: scale(1.08);
}
/* ================= RESPONSIVE ================= */

@media(max-width: 991px) {

    .about-grid {
        flex-direction: column;
    }

    .card-grid {
        flex-direction: column;
    }

    .sport-card {
        width: 100%;
    }
}

/* ===============================
   WHY SECTION
================================= */


.why-section {
    padding: 90px 0 100px 0;
   
}
.why-section .section-title {
    text-align: center !important;
}

.why-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.why-box {
    width: 30%;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ICON */
.why-box i {
    font-size: 36px;
    color: #b71c1c; /* Primary Red */
    margin-bottom: 15px;
    transition: 0.3s ease;
}

/* HOVER EFFECT */
.why-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Gold top border on hover */
.why-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: #d4af37; /* Gold */
    transition: 0.4s ease;
}

.why-box:hover::before {
    width: 100%;
}

/* Icon color change on hover */
.why-box:hover i {
    color: #8e0000; /* Hover Red */
}


/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .why-grid {
        flex-direction: column;
        align-items: center;
    }

    .why-box {
        width: 100%;
        margin-bottom: 25px;

        /* Animation start state */
        opacity: 0;
        transform: translateY(40px);
        animation: fadeUp 0.8s ease forwards;
    }

    /* Delay animation for each box */
    .why-box:nth-child(1) {
        animation-delay: 0.2s;
    }

    .why-box:nth-child(2) {
        animation-delay: 0.4s;
    }

    .why-box:nth-child(3) {
        animation-delay: 0.6s;
    }
}
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===============================
   STATS SECTION - PROFESSIONAL
================================= */

.stats-section {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.80), rgba(0,0,0,0.80)),
                url('../images/img24o90.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 88px 0;
    color: #fff;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    text-align: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-box {
    flex: 1;
    min-width: 200px;
    transition: all 0.4s ease;
    padding: 20px;
}

.stat-box:hover {
    transform: translateY(-12px);
}

.stat-number {
    font-size: 52px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.stat-line {
    width: 60px;
    height: 4px;
    background: #d4af37; /* Gold Accent */
    margin: 15px auto 20px;
    transition: 0.4s ease;
}

.stat-box:hover .stat-line {
    width: 80px;
    background: #b71c1c; /* Primary Red */
}

.stat-text {
    font-size: 18px;
    letter-spacing: 1px;
    color: #ddd;
    text-transform: uppercase;
}

/* Subtle glow effect on hover */
.stat-box:hover .stat-number {
    color: #d4af37;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

/* Responsive */
@media (max-width: 991px) {
    .stats-container {
        flex-direction: column;
        gap: 50px;
    }
}


/*volunter*/
/* ===== PROBLEM SECTION ===== */

/* ===== MODERN PROBLEM SECTION STYLE ===== */

.problem-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fc, #eef2f7);
}

/* Section Header */

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 1px;
}

.section-header span {
    color: #b71c1c;
}

.section-header p {
    margin-top: 15px;
    color: #666;
    font-size: 17px;
}

/* Grid Layout */

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

/* Card Design */

.problem-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 35px 30px;
    border-radius: 16px;
    position: relative;
    border-left: 6px solid #b71c1c;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    transition: 0.4s ease;
}

/* Hover Effect */

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 55px rgba(0,0,0,0.12);
}

/* Large Background Number Effect */

.problem-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
}

.problem-card p {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

/* Icon Styling */

.problem-icon {
    font-size: 28px;
    margin-bottom: 15px;
}

/* Subtle Number Style */

.problem-card h3::before {
    content: attr(data-number);
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 60px;
    font-weight: 800;
    color: rgba(183, 28, 28, 0.07);
}

/* Responsive */

@media (max-width: 768px) {
    .problem-grid {
        flex-direction: column;
        align-items: center;
    }
}

.problem-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    background: rgba(183, 28, 28, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: 0.3s ease;
}

.problem-icon i {
    font-size: 26px;
    color: #b71c1c;
}

.problem-card:hover .problem-icon {
    background: #b71c1c;
}

.problem-card:hover .problem-icon i {
    color: #fff;
}
/* =============================
   ABOUT + PROGRESS SECTION
============================= */

.about-section{
    background:#fff;
    padding:80px 0;
}

.about-container{
    max-width:1200px;
    margin:auto;
    display:flex;
    gap:50px;
    flex-wrap:wrap;
    align-items:center;
}

.about-image{
    flex:1;
}

.about-image img{
    width:100%;
    border-radius:6px;
}

.about-content{
    flex:1;
}

.about-content h3{
    font-size:28px;
    margin-bottom:15px;
}

.about-content h3 span{
    color:#b71c1c;
}

.about-content p{
    color:#555;
    line-height:1.7;
}


.progress-wrapper {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.progress-box {
    text-align: center;
}

.circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 8px solid #d4af37; /* Gold */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 22px;
    color: #b71c1c;
    transition: 0.4s;
}

.progress-box:hover .circle{
    border-color:#8e0000; /* Hover Red */
}

.progress-box p{
    margin-top:10px;
    font-weight:600;
}

/* =============================
   RESPONSIVE
============================= */

/* =============================
   MOBILE FIX ONLY
============================= */

@media (max-width: 768px) {

    .about-section {
        padding: 50px 20px;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .about-image img {
        border-radius: 10px;
    }

    .about-content h3 {
        font-size: 22px;
    }

    .about-content p {
        font-size: 14px;
    }

    /* Progress Section Mobile Layout */
    .progress-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }

    .progress-box {
        width: 45%;   /* 2 per row */
    }

    .circle {
        width: 100px;
        height: 100px;
        font-size: 18px;
        border-width: 6px;
    }

    .progress-box p {
        font-size: 14px;
    }
}

.btn-primary:hover {
    background: #8B0000;
    color: #fff;
    border-color: #8B0000;
}


html, body {
    overflow-x: hidden;
    max-width: 100%;
}