/* Hero & Carousel */
#hero-carousel {
    height: 100vh;
    min-height: 600px;
}

.hero-slide {
    height: 100vh;
    background-size: cover;
    animation: kenburns 20s infinite alternate;
}

/* Mission & Jagged Tiger Image */
.jagged-wrapper {
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
}

.mission-tiger-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: url('../images/logos/vector.webp');
    -webkit-mask-image: url('../images/vectors/vector.png');
    mask-size: 100% 100%;
}

/* Community Social Grid */
.community-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
}/* ============================================
   SECTIONS — requires main.css for :root variables
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('../images/hero/hero-bg.jpg') center/cover no-repeat;
    min-height: 600px;
    padding-top: 80px;
}

/* Ensure subsequent sections are NOT dynamic */
#impact, #programs, #gallery {
    height: auto;
    min-height: 0;
}

/* ============================================
   HERO CAROUSEL
   ============================================ */
#hero-carousel {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    background-color: #000;
}

.hero-slide {
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: kenburns 20s infinite alternate;
}

.carousel-item.active .hero-slide {
    transform: scale(1.1);
}

@keyframes kenburns {
    from { transform: scale(1); }
    to   { transform: scale(1.15); }
}

/* Hero Overlay */
.hero-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.hero-overlay-content .container {
    pointer-events: auto;
}

#changing-text {
    transition: opacity 0.5s ease-in-out;
    display: inline-block;
}

/* Carousel Inner / Item / Hero Wrapper */
.carousel-inner, .carousel-item, .hero-wrapper {
    height: 100vh;
    min-height: 600px;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Ken Burns on img tags */
.carousel-item img {
    transition: transform 10s ease;
}

.carousel-item.active img {
    transform: scale(1.1);
}

/* ============================================
   MISSION SECTION
   ============================================ */
.mission-feature {
    background: #f8fdf7;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mission-feature:hover {
    background: #ffffff;
    border-color: var(--accent-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Jagged Mask */
.jagged-mask {
    width: 100%;
    height: auto;
    object-fit: cover;
    mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    clip-path: polygon(10% 0%, 95% 5%, 100% 40%, 90% 90%, 50% 100%, 5% 85%, 0% 30%);
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.2));
}

.cursor-pointer:hover span {
    color: var(--accent-green);
    transition: 0.3s;
}

/* Jagged Wrapper */
.jagged-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
}

.mission-tiger-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    -webkit-mask-image: url('../images/logos/vector.webp');
    mask-image: url('../images/logos/vector.webp');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    filter: drop-shadow(10px 20px 30px rgba(0,0,0,0.25));
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.mission-tiger-img:hover {
    transform: scale(1.15);
}

/* Footer Architecture */
.main-footer {
    background-color: var(--dark-bg);
    color: #cfd8dc;
}

/* --- STARBURST BADGE LABEL --- */
.hero-organic-label-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 22px 47px;
    margin-bottom: 2rem;
    z-index: 1;

    /* Orange color directly on element — no pseudo-element needed */
    background-color: rgb(250, 176, 57);

    /* Starburst shape via clip-path polygon (24 spikes) */
    clip-path: polygon(
        100% 50%, 91.6% 55%, 98.3% 62.2%, 88.8% 64.5%,
        93.3% 73.5%, 83.4% 73.2%, 85.4% 83.2%, 75.6% 80.1%,
        75%  90.7%, 66.1% 85.1%, 62.9% 95.4%, 55.5% 87.7%,
        50%  97%,  44.5% 87.7%, 37.1% 95.4%, 33.9% 85.1%,
        25%  90.7%, 24.4% 80.1%, 14.6% 83.2%, 16.6% 73.2%,
        6.7% 73.5%, 11.2% 64.5%, 1.7%  62.2%, 8.4%  55%,
        0%   50%,  8.4%  45%,   1.7%  37.8%, 11.2% 35.5%,
        6.7% 26.5%, 16.6% 26.8%, 14.6% 16.8%, 24.4% 19.9%,
        25%  9.3%, 33.9% 14.9%, 37.1% 4.6%,  44.5% 12.3%,
        50%  3%,   55.5% 12.3%, 62.9% 4.6%,  66.1% 14.9%,
        75%  9.3%, 75.6% 19.9%, 85.4% 16.8%, 83.4% 26.8%,
        93.3% 26.5%, 88.8% 35.5%, 98.3% 37.8%, 91.6% 45%
    );

    /* No ::before or ::after needed at all */
}

/* Remove the pseudo-elements entirely — they were causing the box */
.hero-organic-label-container::before,
.hero-organic-label-container::after {
    display: none;
}

/* Typography */
.pankhol-juva-text {
    font-family: 'Satisfy', cursive;
    font-weight: 400;
    font-size: 23px;
    line-height: 23px;
    color: rgb(15, 11, 19);           /* Dark brown for contrast on orange */
    text-shadow: none;
    display: block;
    transform: rotate(-1deg);
    letter-spacing: 0.5px;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    transform: rotate(2deg); /* Keeps text horizontal while badge tilts */
}


.display-2 {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    line-height: 0.9;
    color: #ffffff;
    margin-bottom: 1.2rem;

    /*
       No forced breaks — text wraps naturally like the reference.
       On wide screens: single line.
       On narrow screens: wraps to two lines automatically.
    */
    word-break: keep-all;
}

/* The green cycling word */
.hero-cycle-word {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    color: #4caf50;
    display: inline-block;
    position: relative;

    /* Underline matching reference */
    border-bottom: 4px solid #4caf50;
    padding-bottom: 3px;

    /* 
       Slower, smoother transition — 0.6s feels natural
       (was 0.35s before — too fast for live project)
    */
    transition: opacity 0.6s ease, transform 0.6s ease;
    opacity: 1;
    transform: translateY(0px);
}

/* --- HERO NAVIGATION ARROWS --- */
.custom-hero-arrow {
    width: 80px; /* Narrower hit area than default */
    opacity: 1;
    z-index: 15;
    /* Positioned low to match reference 2026-03-12_20-27.jpg */
    top: auto;
    bottom: 20%; 
}

.carousel-control-prev.custom-hero-arrow { left: 3%; }
.carousel-control-next.custom-hero-arrow { right: 3%; }

.arrow-circle {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.1); /* Subtle dark fill for visibility */
}

.custom-hero-arrow:hover .arrow-circle {
    background: var(--accent-green); /* Your brand green rgb(99, 171, 69) */
    border-color: var(--accent-green);
    transform: scale(1.1);
}




/* --- MOBILE LAYOUT REFINEMENT --- */
@media (max-width: 768px) {
    .hero-organic-label-container {
        /* 1. Remove the standard Bootstrap margin */
        margin-bottom: -3px !important; 
        
        /* 2. Use a small negative margin if you want them even closer */
        /* margin-bottom: -10px !important; */
    }

    .hero-heading {
        /* 3. Reduce the top margin of the heading itself */
        margin-top: 5px !important;
    }
}