: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;
}


/* Hero Section */
/* ===== HERO SLIDER ===== */
.carousel-item {
    height: 100vh;
    position: relative;
}

.hero-image-slide {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('../images/bg5.jpeg') center/cover no-repeat;
}

.hero-video-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(139, 0, 0, 0.75); /* Deep red overlay */
}

.carousel-caption {
    top: 0;
    bottom: 0;
}

/* Sections */
section {
    padding: 80px 0;
}

/* .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 15px;
} */

/* Cards */
/* Section */
.causes-section {
    background: #f8f9fa;
}

/* Title */
.section-title {
    font-weight: 700;
    letter-spacing: 1px;
}

.section-title span {
     color: var(--secondary-color);

}

.section-subtitle {
    color: #777;
    font-size: 15px;
}

/* Card */
.cause-card {
    background: #fff;
    overflow: hidden;
    transition: 0.3s ease;
}

.cause-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.cause-content {
    background: #f3f3f3;
    padding: 25px;
}

.cause-content h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.cause-card {
    background: #fff;
    overflow: hidden;
    transition: 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Make content flexible */
.cause-content {
    background: #f3f3f3;
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Equal paragraph height */
.cause-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    min-height: 80px; /* keeps cards equal */
}

/* List styling */
.cause-content ul {
    padding-left: 18px;
    margin-bottom: 20px;
}

.cause-content ul li {
    font-size: 14px;
    margin-bottom: 6px;
}

/* Push footer to bottom */
.cause-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Button */
.btn-donate {
    background: var(--secondary-color);
    color: #fff;
    padding: 6px 15px;
    font-size: 13px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-donate:hover {
    background: #000;
}

/* Tag */
.amount {
    font-size: 12px;
    font-weight: 600;
    color: #555;
}



/* ==========================
   SPORTS GALLERY
========================== */

.gallery-section {
    background: #f8f9fa;
}

.section-title {
    font-weight: 700;
}

.section-title span {
        color: var(--secondary-color);

}

.section-subtitle {
    color: #666;
    max-width: 600px;
    margin: auto;
}

/* Filter Menu */
.gallery-menu span {
    margin: 0 15px;
    cursor: pointer;
    font-weight: 500;
    color: #555;
}

.gallery-menu span.active,
.gallery-menu span:hover {
    color: #8B0000;;
}

/* Gallery Grid */
.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.sports-blog-section {
    background: #f8f9fa;
}

.section-header h2 {
    font-weight: 700;
}

.section-header h2 span {
  color: var(--secondary-color);

}

.section-header p {
    max-width: 600px;
    margin: 10px auto 0;
    color: #666;
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Image */
.blog-img {
    position: relative;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: 0.5s;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

/* Date Badge */
.blog-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #8B0000;;
    color: #fff;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
}

/* Content */
.blog-content {
    padding: 20px;
}

.blog-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

.blog-meta span {
    margin-right: 15px;
}

.blog-content h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-content p {
    font-size: 14px;
    color: #666;
}

/* Read More */
.read-more {
    font-size: 14px;
    font-weight: 600;
    color:  #8B0000;;
    text-decoration: none;
    transition: 0.3s;
}

.read-more:hover {
    letter-spacing: 1px;
}


/* Footer */
.cause-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-donate {
    border: 1px solid #333;
    padding: 6px 18px;
    background: #8B0000;
    font-size: 13px;
    text-decoration: none;
    color:#F4C430;
    transition: 0.3s;
}

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

.amount {
    font-weight: 600;
    font-size: 14px;
}

/* ============================
   HELP SECTION - SPORTS STYLE
============================ */

.help-section {
    position: relative;
    background: url('../images/img4398.jpeg') center/cover no-repeat;
    min-height: 500px;
    padding: 100px 0;
}

.help-section .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.help-box {
    position: relative;
    padding: 20px;
}

.icon-box {
    width: 55px;
    height: 55px;
    border: 2px solid #8B0000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--secondary-color);
}

.help-box h5 {
    margin-top: 10px;
}

.help-box p {
    font-size: 14px;
    color: #ddd;
}

.btn-outline-light {
    border-radius: 0;
}


.team-section {
    padding: 100px 0;
    background: #f9f9f9;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-weight: 700;
}

.section-header h2 span {
    color: #1abc9c;
}

.section-header p {
    color: #777;
    max-width: 600px;
    margin: 15px auto 0;
}

/* Card */
.team-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.team-img {
    position: relative;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    transition: 0.5s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.1);
}

/* Social Hover */
.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    text-align: center;
    transition: 0.4s;
}

.team-card:hover .team-social {
    bottom: 20px;
}

.team-social a {
    display: inline-block;
    margin: 0 5px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: #8B0000;
    color: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.team-social a:hover {
    background: #000;
}

/* Info */
.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.team-info span {
    font-size: 14px;
    color: #999;
}


.team-section {
    padding: 100px 0;
    background: #f8f9fa;
}

/* Make columns equal height */
.team-section .row {
    display: flex;
    flex-wrap: wrap;
}

.team-section .col-lg-3 {
    display: flex;
}

/* Card */
.team-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Equal Image Size */
.team-img {
    position: relative;
    width: 100%;
    height: 320px;        /* SAME HEIGHT FOR ALL */
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* Crop nicely */
    transition: 0.5s ease;
}

/* Hover Effects */
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.team-card:hover .team-img img {
    transform: scale(1.08);
}

/* Social Icons */
.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    text-align: center;
    transition: 0.4s;
}

.team-card:hover .team-social {
    bottom: 20px;
}

.team-social a {
    display: inline-block;
    margin: 0 5px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: #8B0000;
    color: #fff;
    border-radius: 50%;
    transition: 0.3s;
    font-size: 14px;
}

.team-social a:hover {
    background: #000;
}

/* Info Section */
.team-info {
    padding: 25px 20px;
    text-align: center;
    flex-grow: 1;   /* Keeps cards equal */
}

.team-info h5 {
    margin-bottom: 6px;
    font-weight: 600;
}

.team-info span {
    font-size: 14px;
    color: #777;
    letter-spacing: 0.5px;
}


/* resistration */
.mini-event-section {
    position: relative;
    padding: 70px 0;
    color: #fff;
    overflow: hidden;
}

/* Background Image with Blur */
.mini-event-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/pexels-jimbear-2310482.jpg') center/cover no-repeat;
    filter: blur(8px);
    transform: scale(1.1); /* prevents edge cut after blur */
    z-index: -2;
}

/* Dark Overlay */
.mini-event-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: -1;
}

.mini-event-content h4 {
    font-weight: 600;
    margin: 10px 0 5px;
    font-size: 22px;
}

.mini-event-content p {
    margin: 0;
    color: #ddd;
    font-size: 14px;
}

.event-badge {
    background: #F4C430;
    padding: 5px 14px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    color: #8B0000;
}

.mini-event-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #F4C430;
    color: #8B0000;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    border-radius: 3px;
}

.mini-event-btn:hover {
    background: #fff;
    color: #000;
}

/*************/

.sponsors-section {
    background: #f8f9fa;
}

.section-header h2 {
    font-weight: 700;
}

.section-header h2 span {
    color: var(--secondary-color);   /* Sports accent color */
}

.section-header p {
    max-width: 600px;
    margin: 10px auto 0;
    color: #666;
}

/* Sponsor Box */

/* ===== HERO SLIDER ===== */
.carousel-item {
    position: relative;
    overflow: hidden;
}

.slice {
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: translateY(-100%);
    animation: sliceDrop 1s forwards;
}

@keyframes sliceDrop {
    to {
        transform: translateY(0);
    }
}
.carousel-item {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video-wrapper video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.hero-image-slide {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('../images/bg1.jpeg') center/cover no-repeat;

}

.carousel-caption {
    bottom: 0;
    top: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-size: 100% 100%;
}


.hero-image-slide-2 {
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('../images/img14.jpeg') center/cover no-repeat;
    
}

.hero-image-slide-3 {
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('../images/img16.jpeg') center/cover no-repeat;
    
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #8B0000;
  border-color: #8B0000;
  color: #fff;
  transform: translateY(-2px);
  animation: glowPulse 1.2s ease-in-out infinite;
}
/* ===============================
   NIVO STYLE SLIDE ANIMATION
=================================*/

/* Main slide animation */
/* Smooth slide transition speed */
.carousel-item {
    height: 100vh;
    position: relative;
    transition: transform 1.5s ease-in-out !important;
}
/* Image base */
/* Background smooth zoom */
.hero-image-slide,
.hero-image-slide-2,
.hero-video-wrapper video {
    transform: scale(1);
    transition: transform 8s ease;
}

.carousel-item.active .hero-image-slide,
.carousel-item.active .hero-image-slide-2,
.carousel-item.active video {
    transform: scale(1.1);
}
.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
}

.carousel-item .carousel-caption h1,
.carousel-item .carousel-caption p,
.carousel-item .carousel-caption a {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.carousel-item.active .carousel-caption h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.carousel-item.active .carousel-caption p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.carousel-item.active .carousel-caption a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.2s;
}
/* ======================================
   ULTRA PREMIUM HERO SLIDER
====================================== */

/* Smooth slide movement */
.carousel-item {
    height: 100vh;
    position: relative;
    transition: transform 1.8s cubic-bezier(0.77, 0, 0.175, 1) !important;
}

/* Background zoom */
.hero-image-slide,
.hero-image-slide-2,
.hero-video-wrapper video {
    transform: scale(1);
    transition: transform 10s ease, filter 1.5s ease;
}

/* Active zoom + blur clear */
.carousel-item.active .hero-image-slide,
.carousel-item.active .hero-image-slide-2,
.carousel-item.active video {
    transform: scale(1.12);
    filter: blur(0);
}

/* Blur effect during transition */
.carousel-item-next .hero-image-slide,
.carousel-item-prev .hero-image-slide {
    filter: blur(5px);
}

/* Overlay fade */
.hero-overlay {
    background: rgba(0,0,0,0.65);
    transition: background 1.5s ease;
}

.carousel-item.active .hero-overlay {
    background: rgba(0,0,0,0.55);
}

/* Text Animation */
.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
}

.carousel-item .carousel-caption h1,
.carousel-item .carousel-caption p,
.carousel-item .carousel-caption a {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s ease;
}

.carousel-item.active .carousel-caption h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.carousel-item.active .carousel-caption p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

.carousel-item.active .carousel-caption a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.5s;
}

/* =====================
   TOP PROGRESS BAR
===================== */
.slider-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
    z-index: 10;
}

.slider-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--secondary-color);
    animation: progressBar 7s linear infinite;
}

@keyframes progressBar {
    from { width: 0%; }
    to { width: 100%; }
}



html, body {
    overflow-x: hidden;
    max-width: 100%;
}
 
* {
    box-sizing: border-box;
}
 
/* ── Hero Slider mobile fix ── */
@media (max-width: 767px) {
 
    /* Reduce hero height on mobile */
    .carousel-item {
        height: 70vh !important;
        min-height: 420px;
    }
 
    .hero-image-slide,
    .hero-image-slide-2 {
        height: 70vh !important;
        min-height: 420px;
    }
 
    .hero-video-wrapper,
    .hero-video-wrapper video {
        height: 70vh !important;
        min-height: 420px;
    }
 
    /* Caption — vertically centered, no overflow */
    .carousel-caption {
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        padding: 0 16px;
        width: 100%;
        left: 0;
        right: 0;
    }
 
    .carousel-caption h1 {
        font-size: 1.6rem !important;
        margin-bottom: 12px !important;
    }
 
    .carousel-caption p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
 
    .carousel-caption .btn {
        padding: 10px 22px !important;
        font-size: 13px !important;
        margin-bottom: 8px;
    }
 
    /* Stack buttons on mobile */
    .carousel-caption div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
 
    .carousel-caption div .btn {
        margin-right: 0 !important;
        width: fit-content;
    }
}
 
/* ── Section padding reduce on mobile ── */
@media (max-width: 767px) {
 
    section {
        padding: 50px 0 !important;
    }
 
    /* About section */
    #about .col-lg-6.ps-lg-5 {
        padding-left: 15px !important;
    }
 
    /* Gallery items smaller on mobile */
    .gallery-item img {
        height: 300px;
    }
 
    /* Blog cards */
    .blog-img img {
        height: 320px;
    }
 
    /* Team image height */
    .team-img {
        height: 240px !important;
    }
 
    /* Help section */
    .help-section {
        padding: 60px 0;
    }
 
    .help-box {
        margin-bottom: 20px;
    }
 
    /* Mini event section — stack on mobile */
    .mini-event-section .col-lg-4 {
        text-align: left !important;
        margin-top: 16px;
    }
 
    /* Cause cards */
    .cause-card img {
        height: 190px;
    }
 
    /* Sponsor boxes */
    .sponsor-box img {
        height: 45px;
    }
}



