/* ===== THEME VARIABLES ===== */
:root {
    --body-bg: #ffffff;
    --body-text: #0f172a;
    --card-bg: #ffffff;
    --section-light-bg: #f8fafc;
    --accent: #f59e0b;
    --accent-soft: rgba(245, 158, 11, 0.12);
    --muted-text: #6b7280;
}

body.dark-mode {
    --body-bg: #020617;
    --body-text: #e5e7eb;
    --card-bg: #020617;
    --section-light-bg: #020617;
    --accent-soft: rgba(245, 158, 11, 0.16);
    --muted-text: #9ca3af;
}

/* ===== Global Beautification ===== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--body-bg);
    color: var(--body-text);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.section-title {
    font-weight: 700;
    font-size: 2rem;
}

.section-subtitle {
    color: var(--muted-text);
    font-size: 0.9rem;
}

.page-wrapper {
    min-height: 80vh;
}

/* override bootstrap light/dark bg for theme */
.bg-light {
    background-color: var(--section-light-bg) !important;
}

.bg-dark {
    background-color: #020617 !important;
}

/* muted text in dark mode */
.text-muted {
    color: var(--muted-text) !important;
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: #0f172a;
    color: #facc15;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 14px 35px rgba(15,23,42,0.45);
    font-size: 1.3rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(15,23,42,0.7);
}

body.dark-mode .theme-toggle {
    background: #e5e7eb;
    color: #0f172a;
}

/* ===== HERO SLIDER STYLES ===== */
.hero-slider {
    position: relative;
}

.hero-slide {
    height: 100vh;
    min-height: 550px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    color: #fff;
    padding: 0 1rem;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.6)
    );
}

/* animate children instead of full block */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1,
.hero-content p,
.hero-content .hero-actions {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    animation-delay: 0s;
}

.hero-content p {
    font-size: 1.05rem;
    animation-delay: 0.15s;
}

.hero-actions {
    animation-delay: 0.3s;
}

.hero-btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

/* Animation */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Carousel Controls Styling */
#heroSlider .carousel-control-prev-icon,
#heroSlider .carousel-control-next-icon {
    filter: drop-shadow(0 0 4px rgba(0,0,0,0.8));
}

#heroSlider .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* ===== PROGRAM IMAGE CARDS ===== */
.image-card {
    height: 200px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: transform 0.4s ease;
}

.card:hover .image-card {
    transform: scale(1.05);
}

/* Card hover */
.card.border-0.shadow-sm {
    background-color: var(--card-bg);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.card.border-0.shadow-sm:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

/* ===== GALLERY ===== */
.gallery-img {
    height: 450px;
    object-fit: cover;
}

/* ===== TEAM ===== */
.team-card img {
    height: 250px;
    object-fit: cover;
}

/* ===== CTA ===== */
.cta-big {
    background: linear-gradient(135deg, #ffb703, #fb8500);
    padding: 70px 0;
}

/* ===== NAV / LOGO EXTRA ===== */
.site-logo
{
height:13vh;
width:auto;
}
.logo-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fbbf24;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
}

.navbar .nav-link.active {
    color: #f59e0b !important;
}

/* ===== ABOUT SECTION UPGRADE ===== */
.about-section {
    position: relative;
    background: radial-gradient(circle at top left, #fff7e6 0, #f8f9fa 45%, #ffffff 100%);
    overflow: hidden;
}

body.dark-mode .about-section {
    background: radial-gradient(circle at top left, #0f172a 0, #020617 45%, #020617 100%);
}

.about-section::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    background: rgba(255, 193, 7, 0.18);
    border-radius: 50%;
    top: -60px;
    right: -60px;
    filter: blur(2px);
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #d08700;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.about-badge span.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffb703;
}

/* left border highlight on subtitle */
.about-lead {
    border-left: 3px solid #ffb703;
    padding-left: 12px;
}

/* bullet list styling */
.about-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.4rem;
}

.about-list-icon {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 193, 7, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    background: #fffdf5;
    color: #d08700;
}

/* image + overlay card */
.about-image-wrap {
    position: relative;
}

.about-image-main {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3; /* desktop default */
}

.aboutimage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* optional soft overlay (no extra image) */
.about-image-main::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.18), transparent);
    pointer-events: none;
}

/* mini stats row at bottom */
.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
}

.about-stat {
    min-width: 110px;
}

.about-stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted-text);
}

.about-stat-value {
    font-weight: 700;
    color: #343a40;
}

/* ===== HOW YOU CAN HELP – STYLED ===== */

.help-section {
    position: relative;
    overflow: hidden;
}

.help-section::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.13);
    top: -80px;
    left: -80px;
    filter: blur(4px);
    pointer-events: none;
}

.help-section::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.07);
    bottom: -90px;
    right: -70px;
    filter: blur(4px);
    pointer-events: none;
}

.help-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    font-weight: 600;
}

.help-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

/* subtle gradient border effect */
.help-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.35), rgba(59, 130, 246, 0.28));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.help-card:hover::before {
    opacity: 1;
}

.help-card .card-body {
    position: relative;
    z-index: 1;
    background: #ffffff;
}

/* inner background when hovered (glass feel) */
.help-card:hover .card-body {
    background: rgba(255, 255, 255, 0.96);
}

.help-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

/* icon circle */
.help-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #d97706;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.help-card:hover .help-card-icon {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
    background: rgba(245, 158, 11, 0.18);
}

/* link style */
.help-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f59e0b;
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.help-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b, #fb923c);
    transition: width 0.25s ease;
}

.help-link:hover::after {
    width: 100%;
}

/* small stagger effect on first load with your reveal-on-scroll */
.help-section .col-md-4:nth-child(1) .help-card {
    transition-delay: 0.02s, 0.02s, 0.02s;
}
.help-section .col-md-4:nth-child(2) .help-card {
    transition-delay: 0.07s, 0.07s, 0.07s;
}
.help-section .col-md-4:nth-child(3) .help-card {
    transition-delay: 0.12s, 0.12s, 0.12s;
}

/* dark mode support (agar tum use kar rahe ho) */
body.dark-mode .help-card .card-body {
    background: #020617;
    color: #e5e7eb;
}

body.dark-mode .help-card {
    background: #020617;
}

body.dark-mode .section-subtitle {
    color: #9ca3af;
}


/* ===== STORIES SECTION ===== */
.story-card {
    border-radius: 18px;
    border: 1px solid #f1f5f9;
    padding: 1.5rem;
    background: var(--card-bg);
    box-shadow: 0 8px 28px rgba(15,23,42,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15,23,42,0.12);
}

/* ===== PARTNERS ===== */
.partner-logo {
    height: 46px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-3px);
}

/* ===== LEADERSHIP SECTION ===== */
.leadership-section {
    background: radial-gradient(circle at top left, #fdf2e9 0, #ffffff 45%, #f9fafb 100%);
}

body.dark-mode .leadership-section {
    background: radial-gradient(circle at top left, #111827 0, #020617 45%, #020617 100%);
}

.leader-card {
    border-radius: 20px;
    background: var(--card-bg);
    box-shadow: 0 12px 35px rgba(15,23,42,0.12);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.leader-photo {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.leader-body {
    padding: 1.2rem 1.3rem 1.3rem;
}

.leader-role {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted-text);
}

/* ===== SCROLL REVEAL (IntersectionObserver) ===== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: all 0.7s ease-out;
    will-change: opacity, transform;
}

.reveal-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE TWEAKS ===== */

/* Tablets & below */
@media (max-width: 991.98px) {
    .hero-slide {
        height: 75vh;
        min-height: 480px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .gallery-img {
        height: 360px;
    }

    .team-card img {
        height: 220px;
    }

    .about-image-main {
        aspect-ratio: 4 / 3;
        margin-top: 10px;
    }
}

/* Mobiles */
@media (max-width: 767.98px) {
    .hero-slide {
        height: auto;
        padding: 90px 1rem 70px;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .gallery-img {
        height: 260px;
    }

    .image-card {
        height: 180px;
    }

    .team-card img {
        height: 210px;
    }

    .about-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .about-image-main {
        aspect-ratio: 4 / 3;
    }

    .leader-photo {
        height: 200px;
    }
}

/* Extra small */
@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
    }

    .image-card {
        height: 170px;
    }

    .gallery-img {
        height: 220px;
    }
}

/* ===== FOUNDER + CERTIFICATES (50/50) ===== */

.founder-card {
    background: linear-gradient(140deg, #fef3c7, #ffffff);
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: 0 18px 40px rgba(15,23,42,0.18);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

body.dark-mode .founder-card {
    background: radial-gradient(circle at top left, #1f2937 0, #020617 60%);
    box-shadow: 0 20px 50px rgba(0,0,0,0.85);
}

.founder-image-wrap {
    height: 240px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(248, 196, 113, 0.8);
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 0.5s ease;
}
.founder-card:hover .founder-image {
    transform: scale(1.08);
}

.founder-label {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    background: rgba(15,23,42,0.9);
    color: #fde68a;
}

/* founder stats */
.founder-stat {
    padding: 0.55rem 0.9rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(251, 191, 36, 0.6);
    min-width: 150px;
}
body.dark-mode .founder-stat {
    background: rgba(15,23,42,0.92);
}

.founder-stat-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6b7280;
}
.founder-stat-value {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111827;
}
body.dark-mode .founder-stat-value {
    color: #f9fafb;
}

/* CERT SLIDER SIDE */
.cert-slider {
    position: relative;
}



body.dark-mode .cert-card {
    background: #020617;
    box-shadow: 0 18px 50px rgba(0,0,0,0.9);
}

/* CERT SLIDER SIDE */
.cert-card {
    /* background: var(--card-bg, #ffffff); */
    border-radius: 20px;
    padding: 1.2rem;
    /* box-shadow: 0 16px 40px rgba(15,23,42,0.16); */
    
    /* yeh 3 line important */
    display: flex;
    justify-content: center;
    align-items: center;
}

.cert-image-wrap {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: #f9fafb;

    /* yeh add kar */
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
}

.cert-image {
    width: 100%;
    height: auto;
    object-fit: contain; /* certificate ke aspect ratio ka dhyaan */
    display: block;
}


.cert-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cert-tag {
    color: #6b7280;
}
body.dark-mode .cert-tag {
    color: #9ca3af;
}

/* indicators */
#certSlider .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background-color: rgba(148,163,184,0.75);
}
#certSlider .carousel-indicators .active {
    background: linear-gradient(135deg, #f59e0b, #fb923c);
}

/* controls softness */
#certSlider .carousel-control-prev-icon,
#certSlider .carousel-control-next-icon {
    filter: drop-shadow(0 0 4px rgba(0,0,0,0.7));
}

/* responsive tweaks */
@media (max-width: 991.98px) {
    .founder-image-wrap {
        height: 220px;
    }
    .cert-card {
        flex-direction: column;
    }
    .cert-image-wrap {
        flex: 0 0 auto;
        height: 200px;
    }
}

@media (max-width: 575.98px) {
    .founder-card {
        padding: 1.1rem;
    }
    .cert-card {
        padding: 1rem;
    }
}
