/* ==================================================
   FIXED LOCAL VIDEO BACKGROUND
   ================================================== */
.fixed-video-bg {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: -1; 
    overflow: hidden; 
    background: #000; 
}

.fixed-video-bg video {
    position: absolute; 
    top: 50%; 
    left: 50%;
    min-width: 100%; 
    min-height: 100%;
    transform: translate(-50%, -50%); 
    object-fit: cover; /* This is the magic rule that makes it scale perfectly */
    pointer-events: none; /* Keeps it completely unclickable */
}

.video-overlay {
    position: absolute; 
    inset: 0; 
    background: rgba(0, 0, 0, 0.6); /* Adjust the 0.6 if you want it lighter or darker */
    z-index: 1;
}

    /* 1. Reset margins and set up a dynamic vertical layout */
html, body {
    margin: 0;
    padding: 0;
    /* 100dvh is 'Dynamic Viewport Height' - it recalculates perfectly on mobile scroll */
    min-height: 100vh; 
    display: flex;
    flex-direction: column;
    /* Optional: hide horizontal overflow if anything is pushing the screen too wide */
    overflow-x: hidden; 
}

/* ==================================================
   TRANSPARENT MAIN CONTENT & GLASSMORPHISM
   ================================================== */
.nida-main-content {
    position: relative; z-index: 10; color: #ffffff; padding-bottom: 80px; font-family: system-ui, sans-serif;
    overscroll-behavior-y: none !important;
    min-height: 100vh;
    flex: 1;
    width: 100%;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Reusable Glass Panel Class */
.glass-panel, .glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px; color: inherit; text-decoration: none;
}
.glass-card { display: block; transition: all 0.3s ease; }
.glass-card:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-5px); border-color: rgba(255,255,255,0.4); }

.section-heading {
    font-size: 1.8rem; margin: 50px 0 20px;
    border-bottom: 2px solid rgba(29, 168, 39, 0.8);
    display: inline-block; padding-bottom: 8px; text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}
.btn-solid-green {
    display: inline-block; background: #1da827; color: #fff;
    padding: 10px 25px; border-radius: 4px; text-decoration: none; font-weight: bold; margin-top: 15px;
}

/* 1. Quick Links Strip */
.quick-links-strip {
    text-align: right; padding: 10px 20px; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.2);
}
.quick-links-strip a { color: #fff; text-decoration: none; margin: 0 10px; transition: color 0.2s; }
.quick-links-strip a:hover { color: #1da827; }

/* 2. Hero Slider */
.hero-slider-section { position: relative; margin-top: 30px; overflow: hidden; height: 350px; }
.slide { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; transition: opacity 0.8s ease-in-out; pointer-events: none; }
.slide.active { opacity: 1; pointer-events: auto; }
.slide-content { padding: 50px; max-width: 600px; margin-top: 40px; }
.slide-content h2 { font-size: 2.5rem; margin-bottom: 15px; text-shadow: 0 3px 8px rgba(0,0,0,0.8); }
.slider-controls { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; }
.dot.active { background: #1da827; }

/* Grids */
.grid-3-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.grid-4-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

/* 3. News Cards */
.news-card { padding: 25px; }
.news-date { color: #ffd700; font-size: 0.85rem; margin-bottom: 10px; font-weight: bold; }
.news-card h3 { margin-bottom: 10px; }
.news-thumbnail {
    width: 60%;
    height: auto; /* Forces all images to be the exact same height */
    object-fit: cover; /* Crops the image perfectly without stretching it */
    border-radius: 8px; /* Matches standard glassmorphism inner corners */
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* Gives the image depth */
}

/* 4. Contact Strip */
.contact-flex { display: flex; justify-content: space-around; padding: 20px; margin-top: 50px; flex-wrap: wrap; gap: 15px;}
.contact-item { font-weight: bold; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }

/* 5. Action Cards */
.action-card { padding: 30px 20px; text-align: center; }
.action-card .icon { font-size: 2.5rem; display: block; margin-bottom: 15px; }


/* ==================================================
   blinking behaviour
   ================================================== */
/* 6 & 8. Carousels (Smooth Glide Setup) */
.carousel-wrapper { width: 100%; overflow: hidden; position: relative; padding: 10px 0;}
.carousel-track { 
    display: flex; 
    gap: 20px; 
    overflow-x: auto; 
    scrollbar-width: none; 
    padding-bottom: 10px;
    /* Removed scroll-snap-type so JS can glide freely */
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-card { 
    min-width: 300px; 
    padding: 30px; 
    /* Removed scroll-snap-align */
}
.partner-track .partner-card { 
    min-width: 200px; 
    padding: 20px; 
    text-align: center; 
    font-weight: bold; 
    font-size: 1.2rem; 
}

/* ==================================================
   blinking behaviour end
   ================================================== */


/* 7. Fixed Info Blocks */
.info-block { padding: 40px; }
.info-block h3 { margin-bottom: 15px; font-size: 1.5rem; color: #1da827; }
.stat-block { text-align: center; }
.stat-block h2 { font-size: 4rem; color: #ffd700; margin-bottom: 10px; text-shadow: 0 2px 5px rgba(0,0,0,0.5);}

 footer {
     margin-top: auto;
     width: 100%;
 }
/* ==================================================
   MOBILE STRICT OVERRIDES (Max 992px)
   ================================================== */
@media (max-width: 992px) {
    .quick-links-strip { display: none !important; } /* Hides top strip on mobile to save space */
    
    .hero-slider-section { height: auto !important; min-height: 300px !important; }
    .slide-content { padding: 25px !important; margin-top: 10px !important; }
    .slide-content h2 { font-size: 1.8rem !important; }
    
    .grid-3-cols, .grid-4-cols, .grid-2-cols { grid-template-columns: 1fr !important; }
    
    .contact-flex { flex-direction: column !important; text-align: center !important; }
    
    /* Ensure carousels don't break width */
    .carousel-card { min-width: 80vw !important; }
    .partner-track .partner-card { min-width: 40vw !important; }
}

