/* ==============================
   YSFI — Custom Theme Stylesheet
   ============================== */

/* --- CSS Variables --- */
:root {
    --navy: #0B1F4B;
    --navy-dark: #061230;
    --saffron: #F4791F;
    --saffron-dark: #d9681a;
    --green: #178A3A;
    --green-dark: #126d2e;
    --off-white: #FDFDFD;
    --light-grey: #F2F2F2;
    --white: #FFFFFF;
    --text-dark: #1a1a2e;
    --text-muted: #5a5a7a;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 2px 8px rgba(11, 31, 75, 0.08);
    --shadow-md: 0 4px 20px rgba(11, 31, 75, 0.12);
    --shadow-lg: 0 8px 40px rgba(11, 31, 75, 0.18);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--off-white);
    overflow-x: hidden;
}

p {
    text-align: justify;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
}

/* --- Section Common --- */
.section-section {
    padding: 100px 0;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--saffron);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 650px;
    text-align: justify;
}

/* --- Buttons --- */
.btn-saffron {
    background: var(--saffron);
    color: var(--white);
    border: 2px solid var(--saffron);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-saffron:hover {
    background: var(--saffron-dark);
    border-color: var(--saffron-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244, 121, 31, 0.4);
}

.btn-green {
    background: var(--green);
    color: var(--white);
    border: 2px solid var(--green);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-green:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(23, 138, 58, 0.4);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-outline-navy {
    border: 2px solid var(--navy);
    color: var(--navy);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

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

.btn-outline-green {
    border: 2px solid var(--white);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-outline-green:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

.btn-member {
    font-size: 0.85rem;
    padding: 10px 24px;
}

/* ==============================
   HEADER
   ============================== */

/* --- Top Bar (Row 1) --- */
.top-bar {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    font-size: 0.82rem;
    padding: 2px 0;
    overflow: hidden;
    position: relative;
    z-index: 1001;
}

.top-bar-inner {
    position: relative;
}

.marquee-wrapper {
    flex: 1;
    overflow: hidden;
    margin-right: 20px;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marqueeScroll 40s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    padding: 0 40px;
    font-weight: 500;
}

.marquee-item i {
    color: var(--saffron);
    margin-right: 8px;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.top-bar-right {
    gap: 16px;
    flex-shrink: 0;
}

.top-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    white-space: nowrap;
}

.top-link:hover {
    color: var(--saffron);
}

.top-link i {
    margin-right: 5px;
}

.top-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.3);
}

.social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.8rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--saffron);
    transform: scale(1.1);
}

/* --- Identity Bar (Row 2) --- */
.identity-bar {
    background: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid rgba(11, 31, 75, 0.06);
    position: relative;
    z-index: 1001;
}

.identity-bar-inner {
    gap: 20px;
}

.logo-brand-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ysfi-logo {
    width: 95px;
    height: 95px;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    padding: 5px;
    border: 3.5px solid #ffffff;
    box-shadow: 
        0 10px 25px rgba(11, 31, 75, 0.2),
        0 3px 8px rgba(0, 0, 0, 0.12),
        inset 0 3px 5px rgba(255, 255, 255, 0.9),
        inset 0 -3px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease;
}

.ysfi-logo:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 15px 32px rgba(11, 31, 75, 0.3),
        0 5px 12px rgba(244, 117, 33, 0.35),
        inset 0 3px 5px rgba(255, 255, 255, 1),
        inset 0 -3px 6px rgba(0, 0, 0, 0.2);
}

.fed-title {
    font-size: clamp(1.1rem, 2.5vw, 1.65rem);
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--navy);
    margin: 0;
    line-height: 1.2;
}

.fed-tagline {
    margin: 4px 0 0;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.tag-saffron {
    color: var(--saffron);
}

.tag-green {
    color: var(--green);
}

.tag-divider {
    color: var(--navy);
    margin: 0 6px;
    opacity: 0.3;
}

/* --- Main Nav (Row 3) --- */
.main-nav {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 0;
}

.main-nav.scrolled {
    padding: 0;
    box-shadow: var(--shadow-md);
}

.main-nav .container-fluid {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler {
    border: none;
    padding: 8px 12px;
    font-size: 1.5rem;
    color: var(--white);
    margin-left: auto;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--white);
    font-size: 1.6rem;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 14px !important;
    position: relative;
    transition: var(--transition);
}

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

.nav-link:hover {
    color: var(--white) !important;
}

.nav-link:hover::after {
    width: 70%;
}

.nav-link.active {
    color: var(--white) !important;
}

.nav-link.active::after {
    width: 70%;
    background: var(--saffron);
}

/* Mobile Nav */
@media (max-width: 991.98px) {
    .main-nav .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy-dark);
        padding: 10px 0;
        box-shadow: var(--shadow-lg);
        max-height: 70vh;
        overflow-y: auto;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .nav-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 0.85rem;
    }

    .nav-link::after {
        display: none;
    }
}

/* ==============================
   HERO SLIDER
   ============================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1.5;
    max-height: 80vh;
    overflow: hidden;
    background: var(--navy-dark);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 31, 75, 0.85) 0%, rgba(11, 31, 75, 0.4) 50%, transparent 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 700px;
    padding-bottom: 60px;
}

.slide-badge {
    display: inline-block;
    background: var(--saffron);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    width: fit-content;
}

.slide-title {
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.15;
}

.slide-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    max-width: 550px;
    line-height: 1.6;
}

.slide-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.slider-arrow:hover {
    background: var(--saffron);
    border-color: var(--saffron);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.slider-dot.active {
    background: var(--saffron);
    border-color: var(--saffron);
    transform: scale(1.2);
}

/* Hero Slide Transitions */
.transition-fade.active .slide-bg {
    animation: fadeSlide 6s ease-in-out infinite;
}

.transition-slide-left.active .slide-bg {
    animation: slideLeftIn 6s ease-in-out infinite;
}

.transition-slide-up.active .slide-bg {
    animation: slideUpIn 6s ease-in-out infinite;
}

.transition-zoom-in.active .slide-bg {
    animation: zoomInKenBurns 6s ease-in-out infinite;
}

.transition-slide-right.active .slide-bg {
    animation: slideRightIn 6s ease-in-out infinite;
}

.transition-diagonal-wipe.active .slide-bg {
    animation: diagonalWipe 6s ease-in-out infinite;
}

.transition-scale-fade.active .slide-bg {
    animation: scaleFade 6s ease-in-out infinite;
}

.transition-slide-down.active .slide-bg {
    animation: slideDownIn 6s ease-in-out infinite;
}

.transition-blur-focus.active .slide-bg {
    animation: blurToFocus 6s ease-in-out infinite;
}

.transition-zoom-out.active .slide-bg {
    animation: zoomOut 6s ease-in-out infinite;
}

@keyframes fadeSlide {

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

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

@keyframes slideLeftIn {
    0% {
        transform: translateX(3%) scale(1.05);
    }

    50% {
        transform: translateX(-1%) scale(1.02);
    }

    100% {
        transform: translateX(3%) scale(1.05);
    }
}

@keyframes slideUpIn {
    0% {
        transform: translateY(3%) scale(1.03);
    }

    50% {
        transform: translateY(-1%) scale(1);
    }

    100% {
        transform: translateY(3%) scale(1.03);
    }
}

@keyframes zoomInKenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

@keyframes slideRightIn {
    0% {
        transform: translateX(-3%) scale(1.05);
    }

    50% {
        transform: translateX(1%) scale(1.02);
    }

    100% {
        transform: translateX(-3%) scale(1.05);
    }
}

@keyframes diagonalWipe {
    0% {
        clip-path: inset(0 100% 0 0);
    }

    50% {
        clip-path: inset(0 0 0 0);
    }

    100% {
        clip-path: inset(0 100% 0 0);
    }
}

@keyframes scaleFade {

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

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

@keyframes slideDownIn {
    0% {
        transform: translateY(-3%) scale(1.03);
    }

    50% {
        transform: translateY(1%) scale(1);
    }

    100% {
        transform: translateY(-3%) scale(1.03);
    }
}

@keyframes blurToFocus {

    0%,
    100% {
        filter: blur(0px);
        transform: scale(1);
    }

    25% {
        filter: blur(4px);
        transform: scale(1.03);
    }

    50% {
        filter: blur(0px);
        transform: scale(1);
    }
}

@keyframes zoomOut {
    0% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

/* Slide enter animations */
.hero-slide.active .slide-content {
    animation: slideContentIn 0.8s ease forwards 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

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

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

.about-image-wrap {
    position: relative;
    display: inline-block;
}

.about-image {
    width: 100%;
    height: 450px;
    object-fit: contain;
    background: #ffffff;
    padding: 30px;
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--saffron), var(--green));
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.5;
}

.about-section p {
    text-align: justify;
}

.about-lead {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: justify;
}

.about-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 20px 0 8px;
    padding-left: 12px;
    border-left: 3px solid var(--saffron);
}

.about-list {
    padding-left: 20px;
}

.about-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-dark);
    text-align: justify;
}

.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

/* Core Values */
.core-values h3 {
    font-size: 1.5rem;
}

.value-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.value-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-badge i {
    font-size: 1.8rem;
    color: var(--saffron);
}

.value-badge span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
}

/* ==============================
   PILLARS SECTION
   ============================== */
.pillars-section {
    background: var(--light-grey);
}

.pillar-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pillar-saffron {
    border-top-color: var(--saffron);
}

.pillar-green {
    border-top-color: var(--green);
}

.pillar-navy {
    border-top-color: var(--navy);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--white);
}

.pillar-saffron .pillar-icon {
    background: linear-gradient(135deg, var(--saffron), #f9a826);
}

.pillar-green .pillar-icon {
    background: linear-gradient(135deg, var(--green), #2ecc71);
}

.pillar-navy .pillar-icon {
    background: linear-gradient(135deg, var(--navy), #1a3a6e);
}

.pillar-card h3 {
    font-size: 1.3rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.pillar-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: justify;
}

.pillar-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--saffron);
}

.pillar-link:hover {
    color: var(--saffron-dark);
}

.pillar-link i {
    transition: var(--transition);
}

.pillar-link:hover i {
    transform: translateX(4px);
    display: inline-block;
}

/* ==============================
   PREMIUM NETWORK SECTION & MAP
   ============================== */
.network-section {
    background: linear-gradient(180deg, #F8FAFC 0%, #EFF4F9 100%);
    position: relative;
    overflow: hidden;
}

/* Filter Pills */
.network-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-pill {
    background: var(--white);
    border: 1px solid rgba(11, 31, 75, 0.12);
    padding: 8px 18px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    box-shadow: 0 4px 12px rgba(11, 31, 75, 0.2);
}

/* Map Card Wrapper */
.map-card-wrapper {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(11, 31, 75, 0.08);
    border: 1px solid rgba(11, 31, 75, 0.06);
    overflow: hidden;
    transition: var(--transition);
}

.map-card-wrapper:hover {
    box-shadow: 0 20px 45px rgba(11, 31, 75, 0.12);
}

.map-header-bar {
    background: #071536;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.map-status-beacon {
    width: 10px;
    height: 10px;
    background-color: var(--saffron);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--saffron);
    animation: beaconPulse 1.8s infinite;
}

@keyframes beaconPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(244, 121, 31, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(244, 121, 31, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(244, 121, 31, 0);
    }
}

.map-title-text {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 3D Map Container Inner */
.map-container-inner-3d {
    background: linear-gradient(135deg, #F4F7FA 0%, #E9EEF4 100%);
    padding: 15px;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.map-3d-wrapper {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
}

.india-3d-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 15px 25px rgba(11, 31, 75, 0.12));
}

/* 3D Pin Markers */
.pin-3d-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 5;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), z-index 0.2s;
}

.pin-3d-marker .pin-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 26px;
    margin-top: -13px;
    margin-left: -13px;
    border-radius: 50%;
    background: rgba(244, 121, 31, 0.35);
    animation: pinPulseRing 2s infinite ease-in-out;
    pointer-events: none;
}

.pin-3d-marker .pin-pulse.hq {
    background: rgba(255, 193, 7, 0.45);
}

@keyframes pinPulseRing {
    0% {
        transform: scale(0.6);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.6);
        opacity: 0.1;
    }

    100% {
        transform: scale(0.6);
        opacity: 0.9;
    }
}

.pin-3d-marker .pin-head {
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #FF9100 0%, #E65100 100%);
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}

.pin-3d-marker .pin-head i {
    transform: rotate(45deg);
    font-size: 0.75rem;
}

.pin-3d-marker .pin-head.hq {
    background: linear-gradient(135deg, #0B1F4B 0%, #1A3B8B 100%);
    border-color: #FFC107;
}

.pin-3d-marker .pin-label {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(11, 31, 75, 0.9);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    transition: all 0.25s ease;
}

.pin-3d-marker .pin-label.hq {
    background: var(--saffron);
    color: #FFFFFF;
    top: -26px;
    font-size: 0.72rem;
}

/* Hover & Active States for 3D Markers */
.pin-3d-marker:hover,
.pin-3d-marker.active {
    transform: translate(-50%, -60%) scale(1.35);
    z-index: 10;
}

.pin-3d-marker:hover .pin-head,
.pin-3d-marker.active .pin-head {
    background: linear-gradient(135deg, #00E676 0%, #1B5E20 100%);
    border-color: #FFFFFF;
    box-shadow: 0 0 14px #00E676;
}

.pin-3d-marker:hover .pin-label,
.pin-3d-marker.active .pin-label {
    background: #00E676;
    color: #071536;
    font-weight: 800;
}

/* Tooltip */
.map-tooltip {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(7, 21, 54, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(244, 121, 31, 0.4);
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -120%) scale(0.9);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 100;
}

.map-tooltip.show {
    opacity: 1;
    transform: translate(-50%, -120%) scale(1);
}

.map-tooltip.light {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(11, 31, 75, 0.15);
    box-shadow: 0 10px 30px rgba(11, 31, 75, 0.18);
}

.map-tooltip.light .tooltip-title {
    color: var(--navy);
}

.map-tooltip.light .tooltip-zone {
    color: var(--text-muted);
}

.light-legend {
    background: #E2E8F0;
    border-top: 1px solid rgba(11, 31, 75, 0.08);
}

/* Map Legend */
.map-legend {
    background: #040B1E;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.hq {
    background: var(--saffron);
    box-shadow: 0 0 6px var(--saffron);
}

.legend-dot.active {
    background: #00E676;
    box-shadow: 0 0 6px #00E676;
}

/* State Cards Container */
.state-cards-container {
    background: var(--white);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(11, 31, 75, 0.08);
    border: 1px solid rgba(11, 31, 75, 0.06);
}

.state-cards-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    max-height: 460px;
    overflow-y: auto;
    padding-right: 6px;
}

.state-cards-grid::-webkit-scrollbar {
    width: 5px;
}

.state-cards-grid::-webkit-scrollbar-thumb {
    background: rgba(11, 31, 75, 0.2);
    border-radius: 10px;
}

.state-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #F8FAFC;
    border: 1px solid rgba(11, 31, 75, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.state-card-icon {
    width: 36px;
    height: 36px;
    background: rgba(244, 121, 31, 0.12);
    color: var(--saffron);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-right: 12px;
    transition: var(--transition);
}

.state-card-info {
    flex-grow: 1;
}

.state-name {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.state-zone {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.state-status {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--green);
    background: rgba(23, 138, 58, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
}

.state-card:hover,
.state-card.active {
    background: var(--navy);
    border-color: var(--navy);
    transform: translateX(4px);
    box-shadow: 0 6px 18px rgba(11, 31, 75, 0.15);
}

.state-card:hover .state-name,
.state-card.active .state-name {
    color: var(--white);
}

.state-card:hover .state-zone,
.state-card.active .state-zone {
    color: rgba(255, 255, 255, 0.7);
}

.state-card:hover .state-card-icon,
.state-card.active .state-card-icon {
    background: var(--saffron);
    color: var(--white);
}

.state-card:hover .state-status,
.state-card.active .state-status {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

/* Counters Row */
.counter-box {
    background: var(--white);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    border: 1px solid rgba(11, 31, 75, 0.06);
    transition: var(--transition);
}

.counter-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(11, 31, 75, 0.12) !important;
}

.counter-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.4rem;
}

.counter-icon-wrap.saffron {
    background: rgba(244, 121, 31, 0.12);
    color: var(--saffron);
}

.counter-icon-wrap.green {
    background: rgba(23, 138, 58, 0.12);
    color: var(--green);
}

.counter-icon-wrap.navy {
    background: rgba(11, 31, 75, 0.1);
    color: var(--navy);
}

.counter-number-group {
    display: flex;
    align-items: center;
    justify-content: center;
}

.counter-number,
.counter-suffix {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.counter-suffix {
    color: var(--saffron);
}

.counter-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 6px;
    margin-bottom: 0;
}

/* ==============================
   EVENTS SECTION & CAROUSEL SLIDER
   ============================== */
.events-section {
    background: var(--light-grey);
    position: relative;
    overflow: hidden;
}

.events-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
}

.events-slider-track-wrap {
    overflow: hidden;
    width: 100%;
    border-radius: var(--radius-md);
    padding: 10px 4px;
}

.events-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.events-slide {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 0;
}

@media (max-width: 991px) {
    .events-slide {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 575px) {
    .events-slide {
        flex: 0 0 100%;
    }
}

.event-card {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.event-date {
    background: var(--navy);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    min-width: 85px;
    flex-shrink: 0;
}

.event-day {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.event-month {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-year {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 2px;
}

.event-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.event-info h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    line-height: 1.3;
    text-align: left;
}

.event-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-align: justify;
}

.event-info p i {
    color: var(--saffron);
    margin-right: 4px;
}

.event-desc {
    font-size: 0.85rem;
    margin-top: 8px !important;
    color: var(--text-muted) !important;
    text-align: justify !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
    line-height: 1.5;
    flex-grow: 1;
}

.event-info .btn {
    align-self: flex-start;
    margin-top: 12px;
}

/* Arrows */
.events-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.events-arrow:hover {
    background: var(--saffron);
    color: var(--white);
    transform: scale(1.1);
}

.events-arrow:focus {
    outline: none;
}

/* Pagination Dots */
.events-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.events-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.events-dot.active {
    background: var(--saffron);
    width: 28px;
    border-radius: 10px;
}

/* ==============================
   NEWS SECTION & CAROUSEL SLIDER
   ============================== */
.news-section {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.news-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
}

.news-slider-track-wrap {
    overflow: hidden;
    width: 100%;
    border-radius: var(--radius-md);
    padding: 10px 4px;
}

.news-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.news-slide {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 0;
}

@media (max-width: 991px) {
    .news-slide {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 575px) {
    .news-slide {
        flex: 0 0 100%;
    }
}

.news-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--saffron);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 4px;
}

.news-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.news-body h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.35;
    text-align: left;
}

.news-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-align: justify !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
    line-height: 1.5;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.news-meta i {
    margin-right: 4px;
}

.news-read-more {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--saffron);
}

.news-read-more:hover {
    color: var(--saffron-dark);
}

/* Arrows for News Slider */
.news-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.news-arrow:hover {
    background: var(--saffron);
    color: var(--white);
    transform: scale(1.1);
}

.news-arrow:focus {
    outline: none;
}

/* Dots for News Slider */
.news-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.news-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-dot.active {
    background: var(--saffron);
    width: 28px;
    border-radius: 10px;
}

/* ==============================
   ACHIEVEMENTS SECTION & PHOTO COLLAGE
   ============================== */
.achievements-section {
    background: var(--light-grey);
    position: relative;
    overflow: hidden;
}

/* Photo Collage Styles */
.achievements-collage-wrap {
    position: relative;
    padding: 10px;
}

.achievements-collage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.collage-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
}

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

.collage-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.collage-item:hover img {
    transform: scale(1.08);
}

.collage-item-1 {
    height: 220px;
    border-top-left-radius: 24px;
}

.collage-item-2 {
    height: 180px;
    margin-top: 40px;
    border-top-right-radius: 24px;
}

.collage-item-3 {
    height: 180px;
    margin-top: -20px;
    border-bottom-left-radius: 24px;
}

.collage-item-4 {
    height: 220px;
    border-bottom-right-radius: 24px;
}

@media (max-width: 575px) {
    .collage-item-1, .collage-item-4 {
        height: 160px;
    }
    .collage-item-2, .collage-item-3 {
        height: 140px;
    }
    .collage-item-2 {
        margin-top: 20px;
    }
    .collage-item-3 {
        margin-top: -10px;
    }
}

/* Floating Accent Badge */
.collage-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 2px solid var(--saffron);
    border-radius: 50px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    z-index: 5;
    animation: floatBadge 4s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes floatBadge {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-8px);
    }
}

.badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--saffron);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
}

.badge-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.collage-accent-bg {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(244, 117, 33, 0.12), rgba(19, 136, 8, 0.12));
    border-radius: 30px;
    z-index: 1;
}

/* Timeline Styles */
.achievements-timeline {
    position: relative;
    width: 100%;
    padding-left: 36px;
}

.achievements-timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--saffron), var(--green));
    border-radius: 3px;
}

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

.achievement-item:last-child {
    margin-bottom: 0;
}

.achievement-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--white);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    margin-left: -36px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.achievement-icon.saffron {
    background: var(--saffron);
}

.achievement-icon.green {
    background: var(--green);
}

.achievement-icon.navy {
    background: var(--navy);
}

.achievement-content {
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    flex: 1;
    transition: var(--transition);
}

.achievement-content:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.achievement-content h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--navy);
    text-align: left;
}

.achievement-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    text-align: justify !important;
    word-spacing: normal !important;
    line-height: 1.5;
}
}

/* ==============================
   3D DIMENSIONAL GALLERY CAROUSEL
   ============================== */
.gallery-section {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.gallery-3d-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 0;
}

.gallery-3d-stage {
    position: relative;
    width: 100%;
    max-width: 960px;
    height: 420px;
    perspective: 1200px;
    perspective-origin: 50% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-3d-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.gallery-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 460px;
    height: 330px;
    margin-top: -165px;
    margin-left: -230px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, box-shadow 0.6s ease, z-index 0.6s ease, filter 0.6s ease;
    user-select: none;
    backface-visibility: hidden;
    border: 3px solid rgba(255, 255, 255, 0.9);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 31, 75, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.gallery-overlay i {
    font-size: 2.2rem;
    color: var(--white);
    transform: scale(0.6);
    transition: transform 0.3s ease;
}

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

.gallery-item.active:hover .gallery-overlay i {
    transform: scale(1);
}

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

/* Responsive sizes for 3D stage */
@media (max-width: 991px) {
    .gallery-3d-stage {
        height: 350px;
    }
    .gallery-item {
        width: 360px;
        height: 260px;
        margin-top: -130px;
        margin-left: -180px;
    }
}

@media (max-width: 575px) {
    .gallery-3d-stage {
        height: 290px;
    }
    .gallery-item {
        width: 280px;
        height: 210px;
        margin-top: -105px;
        margin-left: -140px;
    }
}

/* Arrows for Gallery */
.gallery-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    border: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    flex-shrink: 0;
    font-size: 1.2rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

@media (min-width: 1200px) {
    .gallery-prev {
        left: -15px;
    }
    .gallery-next {
        right: -15px;
    }
}

.gallery-arrow:hover {
    background: var(--saffron);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.gallery-arrow:focus {
    outline: none;
}

/* Dots for Gallery */
.gallery-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: var(--saffron);
    width: 28px;
    border-radius: 10px;
}

/* ==============================
   VOLUNTEER SECTION
   ============================== */
.volunteer-section {
    background: var(--light-grey);
}

.volunteer-lead {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.volunteer-benefits {
    margin-bottom: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.benefit-item i {
    color: var(--green);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.volunteer-form-wrap,
.contact-form-wrap,
.contact-info-wrap {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.volunteer-form-wrap h3,
.contact-form-wrap h3,
.contact-info-wrap h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
}

.form-control,
.form-select {
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    border: 1px solid rgba(11, 31, 75, 0.15);
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--saffron);
    box-shadow: 0 0 0 3px rgba(244, 121, 31, 0.15);
}

.form-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.invalid-feedback {
    font-size: 0.8rem;
}

/* ==============================
   CTA BAND
   ============================== */
.cta-band {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 50%, #0a1a3f 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(244, 121, 31, 0.08);
}

.cta-band::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(23, 138, 58, 0.08);
}

.cta-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    color: var(--white);
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

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

.contact-info-item i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(244, 121, 31, 0.1);
    color: var(--saffron);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--navy);
    margin-bottom: 2px;
}

.contact-info-item a,
.contact-info-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.contact-info-item a:hover {
    color: var(--saffron);
}

.contact-social {
    margin-top: 20px;
}

.contact-social strong {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--navy);
    display: block;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-grey);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--saffron);
    color: var(--white);
    transform: translateY(-2px);
}

/* ==============================
   FOOTER
   ============================== */
#main-footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 60px 0 0;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    padding: 6px;
    margin-bottom: 18px;
    border: 3.5px solid rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 3px 6px rgba(255, 255, 255, 0.95),
        inset 0 -4px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease;
    display: inline-block;
}

.footer-logo:hover {
    transform: translateY(-5px) scale(1.06);
    box-shadow: 
        0 18px 38px rgba(0, 0, 0, 0.6),
        0 6px 16px rgba(244, 117, 33, 0.45),
        inset 0 3px 6px rgba(255, 255, 255, 1),
        inset 0 -4px 8px rgba(0, 0, 0, 0.3);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--saffron);
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-links a:hover {
    color: var(--saffron);
}

.footer-newsletter-text {
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form .form-control:focus {
    border-color: var(--saffron);
    box-shadow: none;
}

.newsletter-form .btn {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
    color: var(--saffron);
}

/* ==============================
   LIGHTBOX
   ============================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--saffron);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* ==============================
   BACK TO TOP
   ============================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--saffron);
    color: var(--white);
    border: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--saffron-dark);
    transform: translateY(-4px);
}

/* ==============================
   SCROLL ANIMATIONS
   ============================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

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

/* Large tablets / small desktops */
@media (max-width: 1199.98px) {
    .navbar-nav .nav-link {
        padding: 16px 10px !important;
        font-size: 0.75rem;
    }
}

/* Tablets */
@media (max-width: 991.98px) {
    .slide-title {
        font-size: 1.8rem;
    }

    .identity-bar-inner {
        justify-content: space-between;
    }

    .ysfi-logo {
        width: 75px;
        height: 75px;
    }

    .fed-title {
        font-size: 1.1rem;
    }

    .about-image-wrap {
        display: block;
        margin: 0 auto 30px auto;
        max-width: 320px;
        width: 100%;
        text-align: center;
    }

    .section-section {
        padding: 70px 0;
    }

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

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

    .event-date {
        flex-direction: row;
        gap: 8px;
        padding: 12px 20px;
        min-width: unset;
    }

    .event-day {
        font-size: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .slide-content {
        padding: 0 16px 40px;
    }

    .slide-title {
        font-size: 1.5rem;
    }

    .slide-subtitle {
        font-size: 0.9rem;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .section-section {
        padding: 50px 0;
    }

    .top-bar-right {
        display: none !important;
    }

    .identity-bar-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 12px;
    }

    .logo-brand-group {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 8px;
    }

    .ysfi-logo {
        width: 65px;
        height: 65px;
        margin: 0 auto;
    }

    .fed-title {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }

    .fed-tagline {
        font-size: 0.75rem;
    }

    .about-image-wrap {
        max-width: 280px;
    }

    .about-image {
        height: 280px;
        margin: 0 auto;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-logo {
        width: 95px;
        height: 95px;
        margin: 0 auto 16px auto;
        display: block;
    }

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

    .counters-row .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .volunteer-form-wrap,
    .contact-form-wrap,
    .contact-info-wrap {
        padding: 24px;
    }

    .cta-band {
        padding: 50px 0;
    }

    .footer-bottom .d-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Small mobile */
@media (max-width: 575.98px) {
    .hero-slider {
        height: 60vh;
        min-height: 350px;
    }

    .slide-btns {
        flex-direction: column;
    }

    .slide-btns .btn {
        width: 100%;
    }

    .btn-saffron,
    .btn-green,
    .btn-outline-light,
    .btn-outline-navy,
    .btn-outline-green {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section-tag {
        font-size: 0.7rem;
    }

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