/* =============================================
   KAMAL BASANT VRIDDHJAN ASHRAM - MAIN STYLES
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Hind:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #2e7d32;
    --primary-light: #4caf50;
    --primary-dark: #1b5e20;
    --secondary: #f9a825;
    --accent: #e65100;
    --gold: #c8982a;
    --cream: #fdf6e3;
    --white: #ffffff;
    --dark: #1a1a2e;
    --text: #333333;
    --text-light: #666666;
    --shadow: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-hover: 0 16px 48px rgba(0,0,0,0.2);
    --radius: 12px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hind', 'Poppins', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* =============================================
   PRELOADER
   ============================================= */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

    #preloader.hide {
        opacity: 0;
        visibility: hidden;
    }

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    width: 100px;
    animation: pulse 1.5s infinite;
}

.preloader-text {
    color: var(--white);
    font-size: 1rem;
    margin-top: 16px;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar-top {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 6px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.9);
}

    .navbar-top .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.top-info span {
    margin-right: 20px;
}

.top-info i {
    margin-right: 5px;
    color: var(--secondary);
}

.top-social a {
    color: rgba(255,255,255,0.8);
    margin-left: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}

    .top-social a:hover {
        color: var(--secondary);
    }

.main-nav {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

    .main-nav.scrolled {
        box-shadow: 0 4px 30px rgba(0,0,0,0.15);
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
    }

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

    .nav-brand img {
        height: 65px;
        width: 65px;
        border-radius: 50%;
        border: 3px solid var(--primary);
        object-fit: cover;
        transition: var(--transition);
    }

    .nav-brand:hover img {
        transform: rotate(5deg) scale(1.05);
    }

.brand-text h1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}

.brand-text span {
    font-size: 0.72rem;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

    .nav-links a {
        text-decoration: none;
        color: var(--text);
        font-weight: 500;
        font-size: 0.95rem;
        padding: 8px 16px;
        border-radius: 6px;
        transition: var(--transition);
        position: relative;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: var(--transition);
            border-radius: 2px;
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 70%;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--primary);
            background: rgba(46,125,50,0.07);
        }

    .nav-links .btn-donate {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: var(--white) !important;
        border-radius: 30px;
        padding: 9px 22px !important;
        box-shadow: 0 4px 15px rgba(46,125,50,0.3);
    }

        .nav-links .btn-donate:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(46,125,50,0.4);
        }

        .nav-links .btn-donate::after {
            display: none;
        }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--primary);
        border-radius: 3px;
        transition: var(--transition);
    }

    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 8px);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -8px);
    }

/* =============================================
   NAVBAR — GALLERY DROPDOWN
   ============================================= */

.nav-links li.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .dropdown-toggle .caret {
        font-size: 0.7rem;
        transition: transform 0.3s ease;
    }

.nav-links li.dropdown:hover .dropdown-toggle .caret,
.nav-links li.dropdown.open .dropdown-toggle .caret {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    min-width: 230px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
    border: 1px solid #f0f0f0;
    list-style: none;
    padding: 14px 0 8px;
    margin: 0;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

/* Desktop: hover या click दोनों से open */
@media (min-width: 769px) {
    .nav-links li.dropdown:hover > .dropdown-menu,
    .nav-links li.dropdown.open > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Gallery link और dropdown के बीच invisible gap */
    .nav-links li.dropdown::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 14px;
        background: transparent;
    }
}

.dropdown-menu li {
    margin: 0;
}

    .dropdown-menu li a {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 11px 20px;
        color: var(--text);
        font-size: 0.92rem;
        font-weight: 500;
        text-decoration: none;
        border-radius: 0;
        background: transparent !important;
        transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    }

        .dropdown-menu li a::after {
            display: none;
        }

        .dropdown-menu li a i {
            color: var(--primary);
            font-size: 0.9rem;
            width: 18px;
            text-align: center;
            transition: color 0.2s ease;
        }

        .dropdown-menu li a:hover {
            background: #e8f5e9 !important;
            color: var(--primary-dark);
            padding-left: 24px;
        }

            .dropdown-menu li a:hover i {
                color: var(--primary-dark);
            }

        .dropdown-menu li a.active {
            background: #e8f5e9 !important;
            color: var(--primary-dark);
            font-weight: 600;
        }

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider {
    position: relative;
    height: 92vh;
    min-height: 560px;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

    .slide.active {
        opacity: 1;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.08);
        transition: transform 6s ease;
    }

    .slide.active img {
        transform: scale(1);
    }

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27,94,32,0.82) 0%, rgba(0,0,0,0.5) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 90%;
    max-width: 800px;
}

.slide-badge {
    display: inline-block;
    background: rgba(249,168,37,0.25);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
    animation: fadeInDown 0.8s ease 0.3s both;
}

.slide-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.5s both;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.3);
}

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

.slide-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    opacity: 0.92;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease 0.7s both;
}

.slide-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.9s both;
}

.slider-controls {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

    .slider-dot.active {
        background: var(--secondary);
        width: 28px;
        border-radius: 5px;
    }

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.arrow-btn {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .arrow-btn:hover {
        background: var(--primary);
        border-color: var(--primary);
        transform: scale(1.1);
    }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 6px 20px rgba(46,125,50,0.35);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(46,125,50,0.5);
    }

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.7);
}

    .btn-outline:hover {
        background: var(--white);
        color: var(--primary-dark);
    }

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--secondary));
    color: var(--white);
    box-shadow: 0 6px 20px rgba(200,152,42,0.4);
}

    .btn-gold:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(200,152,42,0.5);
    }

/* =============================================
   SECTION COMMONS
   ============================================= */
section {
    padding: 90px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
}

    .section-tag::before,
    .section-tag::after {
        content: '';
        display: inline-block;
        width: 30px;
        height: 2px;
        background: var(--primary);
        vertical-align: middle;
        margin: 0 10px;
    }

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.divider {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 20px auto 0;
    border-radius: 2px;
}

/* =============================================
   STATS TICKER
   ============================================= */
.stats-ticker {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 28px 0;
    overflow: hidden;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
    color: var(--white);
    padding: 10px 20px;
    animation: fadeIn 1s ease;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--secondary);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.88rem;
    opacity: 0.9;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.2);
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
    height: 480px;
}

.about-img-main {
    position: absolute;
    width: 72%;
    height: 85%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    top: 0;
    left: 0;
    transition: var(--transition);
}

.about-img-secondary {
    position: absolute;
    width: 50%;
    height: 55%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    bottom: 0;
    right: 0;
    border: 5px solid var(--white);
    transition: var(--transition);
}

.about-images:hover .about-img-main {
    transform: rotate(-2deg) scale(1.02);
}

.about-images:hover .about-img-secondary {
    transform: rotate(2deg) scale(1.02);
}

.about-badge-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    text-align: center;
    font-weight: 600;
    border: 4px solid var(--white);
    box-shadow: var(--shadow);
    z-index: 5;
    line-height: 1.4;
    padding: 10px;
}

.about-content {
    padding: 20px 0;
}

.about-tagline {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
    font-style: italic;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 18px;
    font-size: 1.02rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 28px 0;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
}

.value-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* =============================================
   OBJECTIVES SECTION
   ============================================= */
.objectives-section {
    background: linear-gradient(160deg, var(--dark) 0%, #0d3b1e 100%);
    position: relative;
    overflow: hidden;
}

    .objectives-section::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(46,125,50,0.15) 0%, transparent 60%);
        animation: rotate 20s linear infinite;
    }

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.objectives-section .section-title {
    color: var(--white);
}

.objectives-section .section-tag {
    color: var(--secondary);
}

    .objectives-section .section-tag::before,
    .objectives-section .section-tag::after {
        background: var(--secondary);
    }

.objectives-section .section-subtitle {
    color: rgba(255,255,255,0.7);
}

.objectives-section .divider {
    background: linear-gradient(90deg, var(--secondary), var(--primary-light));
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    position: relative;
    z-index: 1;
}

.obj-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .obj-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-light), var(--secondary));
        transform: scaleX(0);
        transition: var(--transition);
        transform-origin: left;
    }

    .obj-card:hover::before {
        transform: scaleX(1);
    }

    .obj-card:hover {
        transform: translateY(-8px);
        background: rgba(255,255,255,0.1);
        border-color: rgba(76,175,80,0.4);
        box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    }

.obj-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: var(--transition);
    color: var(--white);
}

.obj-card:hover .obj-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--secondary), var(--accent));
}

.obj-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.obj-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}

/* =============================================
   GALLERY SECTION
   ============================================= */
.gallery-section {
    background: var(--white);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 22px;
    border: 2px solid var(--primary);
    border-radius: 30px;
    background: transparent;
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

    .filter-btn.active,
    .filter-btn:hover {
        background: var(--primary);
        color: var(--white);
    }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27,94,32,0.9), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9000;
    align-items: center;
    justify-content: center;
}

    .lightbox.open {
        display: flex;
    }

    .lightbox img {
        max-width: 90vw;
        max-height: 90vh;
        border-radius: var(--radius);
        animation: zoomIn 0.3s ease;
    }

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
    line-height: 1;
}

    .lightbox-close:hover {
        color: var(--secondary);
        transform: rotate(90deg);
    }

/* =============================================
   TEAM SECTION
   ============================================= */
.team-section {
    background: var(--cream);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

    .team-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-hover);
    }

.team-img-wrap {
    position: relative;
    height: 280px;
    overflow: hidden;
}

    .team-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 15%;
        transition: transform 0.5s ease;
    }

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

.team-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27,94,32,0.8), transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover .team-img-overlay {
    opacity: 1;
}

.team-body {
    padding: 24px 20px;
}

.team-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.team-role {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-size: 0.78rem;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.team-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* =============================================
   PAGE HERO (Niyam / News / Videos)
   ============================================= */
.page-hero {
    background: linear-gradient(rgba(27, 94, 32, 0.85), rgba(27, 94, 32, 0.85)), url('../Images/Slider/about.webp') center/cover no-repeat;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .page-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

.page-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    font-weight: 700;
    position: relative;
}

.page-hero-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    margin-top: 10px;
    position: relative;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    position: relative;
}

    .breadcrumb a {
        color: var(--secondary);
        text-decoration: none;
    }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

/* =============================================
   RULES / NIYAM PAGE
   ============================================= */
.rules-section {
    background: var(--white);
}

.rules-intro {
    background: linear-gradient(135deg, var(--cream), #e8f5e9);
    border-radius: var(--radius);
    padding: 36px 40px;
    margin-bottom: 50px;
    border-left: 5px solid var(--primary);
    font-size: 1.05rem;
    color: var(--text);
    text-align: center;
}

    .rules-intro strong {
        color: var(--primary-dark);
        font-size: 1.2rem;
    }

.rule-accordion {
    border: 1px solid #e0e0e0;
    border-radius: var(--radius);
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

    .rule-accordion:hover {
        box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    }

.rule-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

    .rule-header:hover,
    .rule-header.open {
        background: linear-gradient(135deg, #e8f5e9, var(--cream));
    }

.rule-num {
    min-width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.rule-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    flex: 1;
}

.rule-arrow {
    color: var(--primary);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.rule-header.open .rule-arrow {
    transform: rotate(180deg);
}

.rule-body {
    display: none;
    padding: 20px 28px 28px 88px;
    background: #fafafa;
    border-top: 1px solid #eee;
}

    .rule-body.show {
        display: block;
        animation: slideDown 0.3s ease;
    }

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rule-body ol,
.rule-body ul {
    padding-left: 20px;
}

.rule-body li {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 0.97rem;
    line-height: 1.8;
}

    .rule-body li::marker {
        color: var(--primary);
    }

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 50px;
    align-items: start;
}

.contact-info-card {
    background: linear-gradient(160deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius);
    padding: 40px 36px;
    color: var(--white);
}

    .contact-info-card h3 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .contact-info-card > p {
        opacity: 0.85;
        margin-bottom: 36px;
        font-size: 0.95rem;
    }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-icon {
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.78rem;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.97rem;
    opacity: 0.95;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 44px 40px;
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
}

    .contact-form-card h3 {
        font-size: 1.5rem;
        color: var(--dark);
        margin-bottom: 8px;
    }

    .contact-form-card > p {
        color: var(--text-light);
        margin-bottom: 30px;
        font-size: 0.95rem;
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

    .form-group label {
        display: block;
        font-weight: 500;
        color: var(--text);
        margin-bottom: 7px;
        font-size: 0.92rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 13px 16px;
        border: 1.5px solid #e0e0e0;
        border-radius: 8px;
        font-size: 0.95rem;
        font-family: inherit;
        transition: var(--transition);
        color: var(--text);
        background: #fafafa;
    }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--primary);
            background: var(--white);
            box-shadow: 0 0 0 3px rgba(46,125,50,0.12);
        }

    .form-group textarea {
        resize: vertical;
        min-height: 120px;
    }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: linear-gradient(160deg, #0d1b0f 0%, #1b3020 100%);
    color: rgba(255,255,255,0.82);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-brand img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    margin-bottom: 16px;
    object-fit: cover;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.footer-brand .tagline {
    color: var(--secondary);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    color: rgba(255,255,255,0.7);
    margin-right: 8px;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.95rem;
}

    .footer-social a:hover {
        background: var(--primary);
        color: var(--white);
        transform: translateY(-3px);
    }

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

    .footer-col h4::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 36px;
        height: 3px;
        background: var(--primary);
        border-radius: 2px;
    }

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: rgba(255,255,255,0.65);
        text-decoration: none;
        font-size: 0.9rem;
        transition: var(--transition);
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .footer-links a:hover {
            color: var(--secondary);
            padding-left: 6px;
        }

        .footer-links a i {
            font-size: 0.7rem;
            color: var(--primary-light);
        }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.88rem;
}

    .footer-contact-item i {
        color: var(--secondary);
        font-size: 0.9rem;
        margin-top: 3px;
        flex-shrink: 0;
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

    .footer-bottom p {
        color: rgba(255,255,255,0.5);
    }

    .footer-bottom span {
        color: var(--secondary);
    }

/* =============================================
   SCROLL TO TOP
   ============================================= */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(46,125,50,0.4);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    z-index: 800;
}

    .scroll-top.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .scroll-top:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(46,125,50,0.5);
    }

/* =============================================
   ANIMATIONS — SCROLL REVEAL
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    .reveal-left.visible {
        opacity: 1;
        transform: translateX(0);
    }

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    .reveal-right.visible {
        opacity: 1;
        transform: translateX(0);
    }

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =============================================
   FLOATING WHATSAPP
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 52px;
    height: 52px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
    z-index: 800;
    animation: whatsappPulse 2s infinite;
    transition: var(--transition);
}

    .whatsapp-float:hover {
        transform: scale(1.15);
    }

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(37,211,102,0.5);
    }

    50% {
        box-shadow: 0 6px 30px rgba(37,211,102,0.8), 0 0 0 8px rgba(37,211,102,0.15);
    }
}

/* =============================================
   NEWS PAGE — Compact Thumbnails
   ============================================= */


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-images {
        height: 360px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .navbar-top {
        display: none;
    }

    .nav-container {
        padding: 8px 16px;
    }

    .nav-brand {
        min-width: 0;
        gap: 8px;
    }

    .nav-brand img {
        width: 52px;
        height: 52px;
    }

    .brand-text {
        min-width: 0;
    }

    .brand-text h1 {
        font-size: 0.95rem;
    }

    .brand-text span {
        display: block;
        font-size: 0.58rem;
        line-height: 1.3;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        overflow-x: hidden;
        overflow-y: auto;
        max-height: calc(100vh - 70px);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links > li {
        width: 100%;
        max-width: 100%;
    }

    .nav-links > li > a {
        display: flex;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        padding: 12px 16px;
    }

    .hamburger {
        display: flex;
        flex-shrink: 0;
    }

    .nav-links li.dropdown {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .nav-links li.dropdown > .dropdown-toggle {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .nav-links li.dropdown > .dropdown-menu {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: calc(100% - 12px) !important;
        min-width: 0 !important;
        max-width: calc(100% - 12px) !important;
        box-sizing: border-box;
        margin: 4px 0 8px 12px !important;
        padding: 8px 0 !important;
        background: #f5faf6 !important;
        border: none !important;
        border-left: 3px solid var(--primary) !important;
        border-radius: 6px !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .nav-links li.dropdown:not(.open) > .dropdown-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .nav-links li.dropdown.open > .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .nav-links li.dropdown > .dropdown-menu li {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .nav-links li.dropdown > .dropdown-menu li a {
        display: flex !important;
        align-items: center;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 10px 18px !important;
        font-size: 0.9rem;
        white-space: normal;
    }

    .nav-links li.dropdown > .dropdown-menu li a:hover {
        padding-left: 22px !important;
        background: #e0f2e1 !important;
    }

    .nav-links li.dropdown.open .caret {
        transform: rotate(180deg);
    }

    /* Mobile hero: keep the complete slide image visible */
    .hero-slider {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
        background: var(--primary-dark);
    }

    .hero-slider .slide {
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .hero-slider .slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center center;
        transform: none !important;
        background: var(--primary-dark);
    }

    .hero-slider .slide-overlay {
        inset: 0;
    }

    .hero-slider .slide-content {
        width: 92%;
        max-width: 92%;
        padding: 0 8px;
    }

    .hero-slider .slide-title {
        font-size: clamp(1.35rem, 6vw, 2rem);
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .hero-slider .slide-subtitle {
        font-size: 0.82rem;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .hero-slider .slide-badge {
        font-size: 0.65rem;
        padding: 5px 12px;
        margin-bottom: 10px;
        letter-spacing: 1px;
    }

    .hero-slider .slide-btns {
        gap: 8px;
    }

    .hero-slider .slide-btns .btn {
        padding: 9px 16px;
        font-size: 0.78rem;
    }

    .hero-slider .slider-arrows {
        padding: 0 8px;
    }

    .hero-slider .arrow-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .hero-slider .slider-controls {
        bottom: 10px;
        gap: 6px;
    }

    .hero-slider .slider-dot {
        width: 7px;
        height: 7px;
    }

    .hero-slider .slider-dot.active {
        width: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        gap: 8px;
    }

    .stat-divider {
        display: none;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .rule-body {
        padding-left: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .nav-links {
        padding-left: 12px;
        padding-right: 12px;
    }

    .nav-brand img {
        width: 46px;
        height: 46px;
    }

    .brand-text h1 {
        font-size: 0.86rem;
    }

    .brand-text span {
        font-size: 0.52rem;
    }

    .nav-links li.dropdown > .dropdown-menu {
        width: calc(100% - 8px) !important;
        max-width: calc(100% - 8px) !important;
        margin-left: 8px !important;
    }

    .nav-links li.dropdown > .dropdown-menu li a {
        padding-left: 14px !important;
        padding-right: 12px !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .slide-btns {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .hero-slider {
        aspect-ratio: 4 / 3;
    }

    .hero-slider .slide-title {
        font-size: 1.25rem;
    }

    .hero-slider .slide-subtitle {
        font-size: 0.72rem;
        margin-bottom: 10px;
    }

    .hero-slider .slide-btns .btn {
        padding: 7px 12px;
        font-size: 0.7rem;
    }

    .contact-form-card {
        padding: 28px 20px;
    }
}
