/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}



/* Reset default cursor */
html,
body,
a,
button {
  cursor: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}

/* <=== Loading... ===> */

#loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

.spinner {
  width: 50px; height: 50px;
  border: 5px solid #ddd;
  border-top: 5px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* === Pointer Cursor Follower === */

.cursor {
  position: fixed;
  width: 14px;
  /* smaller size */
  height: 14px;
  border: 2px solid #000;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: difference;
  z-index: 9999;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.15);
  /* transparent */
  transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-follower {
  position: fixed;
  width: 28px;
  /* smaller size */
  height: 28px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  /* more transparent */
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.08);
  /* transparent */
  transition: transform 0.1s, width 0.3s, height 0.3s;
}

/* Cursor states */
.cursor.hover {
  width: 28px;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.25);
  /* transparent on hover */
}

.cursor-follower.hover {
  width: 40px;
  height: 40px;
  border-width: 2px;
  background: rgba(255, 255, 255, 0.15);
}

/* Hide cursor on touch devices */
@media (pointer: coarse) {

  .cursor,
  .cursor-follower {
    display: none;
  }
} 

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation - nav Bar */

.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  /* Other color adjustments in script.js line 29 */
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
  background: none;
  margin-top: 10px;
}

.logo:hover {
  transform: scale(1.1);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
}

.brand-subtitle {
  font-size: 0.85rem;
  color: #ffffff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.join-btn {
  padding: 8px 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.08);
  transition: background 0.3s, transform 0.2s;
}

.join-btn:hover {
  background: linear-gradient(135deg, #f9825e, #db5f32);
  transform: translateY(-2px);
}

.college-logo {
  /* display: flex;
  align-items: center;
  justify-content: center; */
  margin-top: 20px;
}

.college-logo img {
  width: 138px;
  height: 138px;
  object-fit: contain;
  border-radius: 9px;
  background: none;
}
.college-logo:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .brand-text {
    display: none; /* hides SOA NCC & subtitle */
  }

  .join-btn {
    display: none; /* hides the Join button */
  }
}


/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(5, 5, 5, 0.074);
  padding: 24px 0;
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 100;
}

.dropdown-parent:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 32px;
  color: #30353d;
  text-decoration: none;
  font-size: 18px;
  transition: background 0.s;
}

.dropdown-menu a:hover {
  background: #d7ddea;
}


/* <=== Hero Section ===> */

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero background fallback + video */
.hero-background {
    position: absolute;
    inset: 0;
    background: url('media/HeroPage/HeroImage.jpeg') center center / cover no-repeat;
    z-index: -2;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 0;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    
}

.hero-title{
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: bold;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FF9933, #ffffff, #138808);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 24px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7); 
}

.hero-description {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 500;
    margin-bottom: 32px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.hero-buttons button,
.hero-buttons a {
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);  /* subtle border */
  background: rgba(255, 255, 255, 0.362);      /* frosted glass */
  backdrop-filter: blur(10px);                /* the glass effect */
  -webkit-backdrop-filter: blur(10px);        /* Safari support */
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);   /* soft shadow */
}

/* Hover effect */
.hero-buttons button:hover,
.hero-buttons a:hover {
  background: rgba(255, 255, 255, 0.554);      /* brighter glass */
  /* color: #000; */
  transform: translateY(-3px) scale(1.03);    /* slight lift */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);  /* stronger glow */
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.7),
               0 0 16px rgba(59, 130, 246, 0.7); 
}



/* Music Control */
.music-control {
    position: fixed;
    bottom: 20px;
    left: 20px; /* left bottom */
    z-index: 1000;
    background: rgba(178, 178, 178, 0.443);
    border: 2px solid rgba(236, 236, 236, 0.424);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.music-control:hover {
    background: rgba(66, 184, 231, 0.511);
    border-color: rgba(255,255,255,0.5);
    transform: scale(1.1);
}

.music-control.muted {
    opacity: 0.6;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    cursor: pointer;
    animation: bounce 2s infinite;
    font-size: 28px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Responsive */
@media (max-width:768px) {
    .hero-buttons { flex-direction: column; }
    .btn { width: 250px; padding: 14px 30px; }
    .music-control { width: 50px; height: 50px; font-size: 18px; bottom: 15px; left: 15px; }
}

@media (max-width:480px) {
    .hero-title { font-size: clamp(4rem, 7vw, 5rem); }
    .hero-subtitle { font-size: clamp(1.2rem, 3.5vw, 2.5rem); }
    .hero-description { font-size: clamp(1rem, 2.5vw, 1.8rem); }
    .btn { width: 200px; padding: 12px 25px; font-size: 14px; }
}


/* ================= ABOUT SECTION ================= */
.about {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 50%, #f1f5f9 100%);
}

/* Slideshow Styles */
.about-image-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.slideshow {
  /* position: relative; */
  height: 50vh;
}
@media (max-width: 768px) {
  .slideshow {
    height: 300px; /* or 50vh, adjust as needed */
  }

  .slide {
    object-fit: contain; 
    background-color: #000; /* optional, avoids white gaps */
  }
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  transform: scale(0.98);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* Enhanced about content */
.about-content {
  text-align: center;
}

.about-content h2 {
  font-size: 3rem;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
  /* This allows text-align:center to work */
  padding-bottom: 10px;
}

.about-text p {
  font-size: 18px;
  color: #374151;
  margin-bottom: 16px;
  line-height: 1.8;
  text-align: justify;
}


/* Responsive design for about section */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .interactive-features {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-card i {
    font-size: 2rem;
  }
}

/* ================= NCC OBJECTIVES ================= */
.ncc-objectives {
  background: linear-gradient(135deg, #ebf8ff 0%, #f0f9ff 50%, #e6f0ff 100%);
  min-height: 100vh;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

/* Keep your blobs (sky, navy, red) but subtle */
.ncc-objectives::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 30%, rgba(93, 169, 233, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(200, 16, 46, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 60% 20%, rgba(11, 31, 75, 0.06) 0%, transparent 50%);
  animation: liquidFloat 20s ease-in-out infinite;
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.core-principles-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  /* Light theme glass badge */
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(11, 31, 75, 0.1);
  box-shadow: 0 8px 32px rgba(11, 31, 75, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-radius: 25px;
  padding: 8px 20px;
  color: #0b1f4b;
  font-size: 14px;
  font-weight: 500;
  margin: 0 auto 40px auto;
  width: fit-content;
  transition: all 0.3s ease;
}

/* Added hover effect for badge */
.core-principles-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(11, 31, 75, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.star-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.main-title {
  font-size: 3.5rem;
  font-weight: bold;
  /* Dark text for light theme with gradient */
  background: linear-gradient(135deg, #0b1f4b 0%, #5da9e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.subtitle {
  font-size: 1.1rem;
  /* Dark text for light theme */
  color: #475569;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  /* Light theme glass card with premium effects */
  background: rgba(255, 255, 255, 0.890);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px rgba(11, 31, 75, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

/* Enhanced hover effects with 3D tilt and glow */
.card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(93, 169, 233, 0.3);
  box-shadow: 0 20px 60px rgba(11, 31, 75, 0.15), 0 0 40px rgba(93, 169, 233, 0.2), inset 0 1px 0
    rgba(255, 255, 255, 0.9);
}

/* Added shimmer effect on hover */
.card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(93, 169, 233, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.card:hover::before {
  transform: translateX(100%);
}

.card-icon {
  margin-bottom: 15px;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  /* Added transition for icon animation */
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

/* Icon hover animations */
.card:hover .card-icon {
  transform: scale(1.1) rotateY(10deg);
}

.aims-icon {
  background-color: #ff6e6e;
  color: white;
  /* Added glass effect to icon */
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
}

.vision-icon {
  background-color: #77a7fb;
  color: white;
  box-shadow: 0 4px 20px rgba(30, 41, 59, 0.2);
}

.motto-icon {
  background-color: #8fdbff;
  color: white;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}

.card-title {
  margin-bottom: 15px;
  font-size: 1.7rem;
  font-weight: bold;
  /* Dark text for light theme */
  color: #0b1f4b;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

/* Title animation on hover */
.card:hover .card-title {
  transform: translateY(-2px);
  text-shadow: 0 2px 10px rgba(11, 31, 75, 0.1);
}

.card-content {
  /* Dark text for light theme */
  color: #475569;
  line-height: 1.5;
  position: relative;
  z-index: 2;
}

.card-content ul {
  list-style: none;
  text-align: left;
}

.card-content li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
  font-size: 18px;
  /* Added transition for list items */
  transition: all 0.2s ease;
}

/* List item hover effect */
.card:hover .card-content li {
  transform: translateX(5px);
}

.card-content li::before {
  content: "•";
  /* Updated bullet color for light theme */
  color: #5da9e9;
  font-size: 16px;
  position: absolute;
  left: 0;
  top: 0;
}

.card-content li:last-child {
  margin-bottom: 0;
}

/* Added floating animation for cards */
@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.card:nth-child(1) {
  animation: cardFloat 6s ease-in-out infinite;
}

.card:nth-child(2) {
  animation: cardFloat 6s ease-in-out infinite 2s;
}

.card:nth-child(3) {
  animation: cardFloat 6s ease-in-out infinite 4s;
}

/* Tablet adjustments */
@media (max-width: 768px) {
  .ncc-objectives { 
    padding: 40px 15px; 
  }
  
  .main-title {
    font-size: 2.5rem;
  }

  
  .cards-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    padding: 18px 16px; /* reduce card padding */
    border-radius: 16px; /* slightly smaller radius */
  }

  .card-title {
    font-size: 1.3rem; /* shrink title */
    margin-bottom: 10px;
  }

  .card-content li {
    font-size: 15px; /* reduce list font */
    margin-bottom: 6px;
  }
}

/* Phone adjustments */
@media (max-width: 480px) {
  .ncc-objectives { 
    padding: 40px 15px; 
  }
  
  .main-title {
    font-size: 2.5rem;
  }

  
  .cards-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    padding: 15px 14px; /* very compact */
    border-radius: 14px;
  }

  .card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    font-size: 20px;
  }

  .card-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .card-content li {
    font-size: 16px;
    margin-bottom: 5px;
  }
}


/* ================= ACTIVITIES SECTION ================= */
.activities {
  padding: 80px 0;
  background: white;
  min-height: 100vh;
}


/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  text-align: center;
  font-size: 3rem;
  color: #434343;
  margin-bottom: 16px;
  font-weight: bold;
}


.section-header p {
  text-align: center;
  font-size: 1.1rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== ACTIVITIES GRID ===== */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

/* ===== ACTIVITY CARD ===== */
.activity-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ===== ACTIVITY IMAGE CONTAINER ===== */
.activity-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.activity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

/* ===== HOVER OVERLAY WITH DESCRIPTION ===== */
.activity-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.3s ease;
  padding: 20px;
  text-align: center;
}

/* Show overlay on hover */
.activity-card:hover .activity-overlay {
  opacity: 1;
}

/* Blur and scale image on hover */
.activity-card:hover .activity-image img {
  transform: scale(1.05);
  filter: blur(2px);
}

/* ===== TITLE OVERLAY ON IMAGE ===== */
.activity-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 30px 20px 20px;
  text-align: center;
}

.activity-title-overlay h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 8px;
}

/* ===== OVERLAY DESCRIPTION TEXT ===== */
.overlay-description {
  color: white;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* ===== VIEW GALLERY BUTTON ===== */
.view-gallery-btn {
  background: #3b82f6;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: all 0.3s ease;
}

.view-gallery-btn:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

/* ===== ACTIVITY CONTENT BELOW IMAGE ===== */
.activity-content {
  padding: 24px;
}

.activity-content h3 {
  font-size: 1.2rem;
  color: #1f2937;
  margin-bottom: 8px;
  font-weight: bold;
}

.activity-content p {
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .activities {
    padding: 60px 0;
  }

  .activities-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .activity-image {
    height: 200px;
  }

  .activity-content {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .activities {
    padding: 40px 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .overlay-description {
    font-size: 0.9rem;
  }
}

/* ================= OFFICER SECTION ================= */
.leadership {
  padding: 100px 0;
  background: linear-gradient(135deg, #ffffff 0%, #c2dffc 50%, #d1e3f5 100%);
  position: relative;
  overflow: hidden;
}
.leadership::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 20%, rgba(93, 169, 233, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(11, 31, 75, 0.08) 0%, transparent 50%);
  animation: liquidFloat 20s ease-in-out infinite;
  z-index: 0;
}


@keyframes liquidFloat {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(-20px, -30px) rotate(1deg);
  }
  66% {
    transform: translate(20px, -20px) rotate(-1deg);
  }
}

.leadership-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.military-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Light theme subtle pattern */
  background-image: linear-gradient(rgba(237, 242, 253, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 198, 225, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Light frosted overlay */
  /* background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.6) 100%); */
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  /* Light glassmorphism badge with glow */
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(214, 234, 250, 0.2);
  border-radius: 50px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #0b1f4b;
  box-shadow: 0 4px 20px rgba(93, 169, 233, 0.15);
}

.section-badge i {
  color: #c8102e;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  /* Dark text for light theme */
  color: #0b1f4b;
}

.ncc-gradient-text {
  background: linear-gradient(135deg, #dc2626, #1e3a8a, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  font-size: 18px;
  /* Dark subtitle for light theme */
  color: rgba(30, 41, 59, 0.7);
  max-width: 700px;
  margin: 0 auto;
}

/* Commanding Officer */
.commanding-officer {
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.officer-card.commander {
  display: flex;
  align-items: center;
  /* Light glassmorphism with premium glow effects */
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(93, 169, 233, 0.2);
  max-width: 900px;
  margin: 0 auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(93, 169, 233, 0.1), 0 4px 16px rgba(11, 31, 75, 0.05), inset 0 1px 0
    rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.officer-card.commander::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(93, 169, 233, 0.1), transparent);
  transition: left 0.6s ease;
}

.officer-card.commander:hover::before {
  left: 100%;
}

.officer-card.commander:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(93, 169, 233, 0.2), 0 10px 30px rgba(11, 31, 75, 0.1), 0 0 40px rgba(93, 169, 233, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgba(93, 169, 233, 0.4);
}

.officer-image {
  position: relative;
  width: 200px;
  height: 200px;
  min-width: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 40px;
}

.officer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid #c8102e;
  border-radius: 50%;
  box-sizing: border-box;
  transition: all 0.4s ease;
}

.officer-card.commander .image-border {
  border-width: 6px;
  /* Premium gold border with glow */
  border: 6px solid transparent;
  background: linear-gradient(45deg, rgb(68, 68, 68)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: subtract;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: subtract;
}

.officer-card:hover .image-border {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.4), 0 0 60px rgba(255, 215, 0, 0.2);
}

.rank-badge {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  /* Light glassmorphism badge */
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: #0b1f4b;
  border: 1px solid rgba(93, 169, 233, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.officer-details {
  flex: 1;
}

.officer-card.commander h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 5px;
  /* Dark text for light theme */
  color: #0b1f4b;
}

.officer-card.commander .officer-rank {
  font-size: 16px;
  color: #2a525e;
  font-weight: 600;
  margin-bottom: 20px;
}

.officer-quote {
  position: relative;
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  /* Dark text for readability */
  color: rgba(30, 41, 59, 0.8);
  padding: 0 30px;
}

.officer-quote i:first-child {
  position: absolute;
  top: -10px;
  left: 0;
  font-size: 24px;
  color: rgba(93, 169, 233, 0.3);
}

.officer-quote i:last-child {
  position: absolute;
  bottom: -20px;
  right: 0;
  font-size: 24px;
  color: rgba(93, 169, 233, 0.3);
}

/* Divisions Grid */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 2;
}

.division-card {
  /* Light glassmorphism with premium effects */
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 35px;
  border: 1px solid rgba(93, 169, 233, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 25px rgba(93, 169, 233, 0.08), 0 3px 12px rgba(11, 31, 75, 0.04), inset 0 1px 0
    rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.division-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(93, 169, 233, 0.08), transparent);
  transition: left 0.6s ease;
}

.division-card:hover::before {
  left: 100%;
}

.division-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 15px 45px rgba(93, 169, 233, 0.15), 0 8px 25px rgba(11, 31, 75, 0.08), 0 0 30px rgba(93, 169, 233, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgba(93, 169, 233, 0.3);
}

.division-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(93, 169, 233, 0.15);
}

/* .division-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c8102e, #0b1f4b, #5da9e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-right: 20px;
  color: white;
  box-shadow: 0 4px 15px rgba(93, 169, 233, 0.3), 0 0 20px rgba(11, 31, 75, 0.2);
  transition: all 0.3s ease;
} */

.division-card:hover .division-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(93, 169, 233, 0.4), 0 0 30px rgba(11, 31, 75, 0.3);
}

.division-card h3 {
  font-size: 22px;
  font-weight: 700;
  /* Dark text for light theme */
  color: #0b1f4b;
}

.division-card .officers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

/* Division Officers */
.officer-card {
  display: flex;
  align-items: center;
}

.division-card .officer-image {
  width: 120px;
  height: 120px;
  min-width: 120px;
  margin-right: 20px;
}

.division-card .officer-image .image-border {
  border-color: #5da9e9;
  /* Added glow effect */
  box-shadow: 0 0 15px rgba(93, 169, 233, 0.3);
  transition: all 0.3s ease;
}

.division-card .officer-card:hover .image-border {
  box-shadow: 0 0 25px rgba(93, 169, 233, 0.5);
}

.division-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  /* Dark text for light theme */
  color: #0b1f4b;
}

.division-card .officer-position {
  font-size: 14px;
  color: #5da9e9;
  font-weight: 600;
  margin-bottom: 10px;
}

.division-card .officer-quote {
  font-size: 14px;
  padding: 0 20px;
  /* Dark text for readability */
  color: rgba(30, 41, 59, 0.7);
}

.division-card .officer-quote i:first-child {
  font-size: 18px;
  top: -5px;
  color: rgba(93, 169, 233, 0.4);
}

.division-card .officer-quote i:last-child {
  font-size: 18px;
  bottom: -10px;
  color: rgba(93, 169, 233, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .officer-card.commander {
    flex-direction: column;
    text-align: center;
  }

  .officer-card.commander .officer-image {
    margin-right: 0;
    margin-bottom: 30px;
  }

  .divisions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 36px;
  }

  .officer-card.commander h3 {
    font-size: 24px;
  }

  .officer-card.commander .officer-quote {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .officer-card {
    flex-direction: column;
    text-align: center;
  }

  .division-card .officer-image {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .division-header {
    flex-direction: column;
    text-align: center;
  }

  .division-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

/* ================= RANKS (Cadet Leadership) ================= */
.ranks {
  padding: 80px 0;
  background: #ffffff;
  position: relative;
}
.ranks::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, #c8102e, #5da9e9, #0b1f4b);
}

@keyframes liquidFloat {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  25% {
    transform: translate(-10px, -20px) rotate(1deg) scale(1.05);
  }
  50% {
    transform: translate(15px, -10px) rotate(-1deg) scale(0.95);
  }
  75% {
    transform: translate(-5px, 15px) rotate(0.5deg) scale(1.02);
  }
}

.ranks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .ranks-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row for tablets */
  }
}

@media (max-width: 768px) {
  .ranks-grid {
    grid-template-columns: 1fr; /* 1 card per row for mobile */
    gap: 20px;
  }
}

.cadet-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cadet-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.cadet-card:hover {
  transform: translateY(-12px) rotateX(5deg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 30px rgba(93, 169, 233, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(93, 169, 233, 0.4);
}

.cadet-card:hover::before {
  transform: translateX(100%);
}

.cadet-image {
  margin-bottom: 16px;
  position: relative;
}

.cadet-image img {
  width: 150px;
  height: 150px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.cadet-card:hover .cadet-image img {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(93, 169, 233, 0.3);
}

.cadet-card h3 {
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, #0b1f4b 0%, #5da9e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
  transition: all 0.3s ease;
}

.cadet-rank {
  background: linear-gradient(135deg, #5da9e9 0%, #c8102e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 4px;
  transition: all 0.3s ease;
}

.cadet-year {
  color: rgba(11, 31, 75, 0.7);
  margin-bottom: 12px;
  font-weight: 500;
}

.cadet-intro {
  color: rgba(11, 31, 75, 0.8);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}

/* View All Button */
.view-all-btn {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  padding: 16px 32px;
  background: rgba(93, 169, 233, 0.2);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(93, 169, 233, 0.3);
  color: #0b1f4b;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(93, 169, 233, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.view-all-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.view-all-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(93, 169, 233, 0.3), 0 0 25px rgba(93, 169, 233, 0.2);
  background: rgba(93, 169, 233, 0.3);
  border-color: rgba(93, 169, 233, 0.5);
}

.view-all-btn:hover::before {
  left: 100%;
}

.view-all-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.view-all-btn:hover i {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .ranks-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}


/* ================= ACHIEVEMENTS ================= */
.achievements {
  padding: 120px 0;
  background: linear-gradient(135deg, #fdf6e3 0%, #fffaf0 50%, #fdf6e3 100%);
  color: #1e293b;
  position: relative;
}
.achievements::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(90deg, #fbbf24, #fcd34d, #fbbf24);
}



.achievements-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.carousel-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px rgba(11, 31, 75, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0
    rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 70px rgba(11, 31, 75, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.15), inset 0 1px 0
    rgba(255, 255, 255, 0.3);
}

.carousel-slide {
  display: none;
  position: relative;
  height: 500px;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 44px;
  color: white;
  text-align: center;
}

.slide-content h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 18px;
}

.slide-content p {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 24px;
}

.carousel-btn.next {
  right: 24px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 224, 177, 0.594);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background:  rgba(255, 209, 72, 0.466);
  transform: scale(1.3);
  box-shadow: 0 4px 15px rgba(143, 143, 142, 0.466);
}

/* Responsive Design */
@media (max-width: 768px) {
  .achievements {
    padding: 60px 0;
  }

  .section-title {
    font-size: 36px;
  }

  .carousel-slide {
    height: 300px;
  }

  .slide-content {
    padding: 20px;
  }

  .slide-content h3 {
    font-size: 24px;
  }

  .slide-content p {
    font-size: 14px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .carousel-btn.prev {
    left: 15px;
  }

  .carousel-btn.next {
    right: 15px;
  }
}


/* Join Section */
.join {
  padding: 120px 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #ebf8ff 50%, #e0f2fe 100%);
  color: #1a365d;
  position: relative;
  overflow: hidden;
}


/* Added animated liquid gradient blobs for light theme */
.join::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 30%, rgba(93, 169, 233, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(11, 31, 75, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(200, 16, 46, 0.08) 0%, transparent 50%);
  animation: liquidFlow 20s ease-in-out infinite;
  z-index: 0;
}

@keyframes liquidFlow {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(-20px, -30px) rotate(1deg);
  }
  66% {
    transform: translate(20px, -20px) rotate(-1deg);
  }
}

.join-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}


.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Updated overlay for light theme */
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.6) 0%, rgba(224, 242, 254, 0.4) 100%);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.section-badge.white {
  /* Updated badge styling for light theme */
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  color: #1a365d;
  border: 1px solid rgba(93, 169, 233, 0.2);
}

.section-title.white {
  /* Updated title color for light theme */
  color: #1a365d;
  background: linear-gradient(135deg, #0b1f4b 0%, #5da9e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle.white {
  /* Updated subtitle color for light theme */
  color: rgba(26, 54, 93, 0.8);
}

.ncc-gold-text {
  /* Updated gold text for better contrast in light theme */
  background: linear-gradient(90deg, #c8102e, #0b1f4b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.benefit-card {
  position: relative;
  /* Updated card background for light theme glassmorphism */
  background: rgba(255, 255, 255, 0.890);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(8, 0, 4, 2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(93, 169, 233, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Updated card overlay for light theme */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(93, 169, 233, 0.05) 100%);
  z-index: -1;
  border-radius: 20px;
}

.card-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  /* Updated glow effect for light theme */
  background: radial-gradient(circle at center, rgba(93, 169, 233, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.benefit-card:hover .card-glow {
  opacity: 1;
}

.benefit-card:hover {
  transform: translateY(-50px) scale(10);
  /* Updated hover shadow for light theme */
  box-shadow: 0 20px 60px rgba(66, 144, 208, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.5), inset 0 1px 0
    rgba(255, 255, 255, 0.6);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
}

.join-ncc-red {
  background: linear-gradient(135deg, #e76767, #f6a9a9);
  color: white;
}

.join-ncc-white {
  background: linear-gradient(135deg, #feec86, #f3b560);
  color: white;
}

.join-ncc-navy {
  background: linear-gradient(135deg, #6262fc, #92c5f7);
  color: white;
}

.join-ncc-skyblue {
  background: linear-gradient(135deg, #bee4f4, #6fd5f8);
  color: white;
}

.benefit-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  /* Updated heading color for light theme */
  color: #1a365d;
}

.benefit-card p {
  font-size: 14px;
  line-height: 1.6;
  /* Updated text color for light theme */
  color: rgba(26, 54, 93, 0.8);
}

.card-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Updated particles for light theme */
  background-image: radial-gradient(circle, rgba(93, 169, 233, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.benefit-card:hover .card-particles {
  opacity: 1;
}

/* CTA Button */
.join-cta {
  text-align: center;
  position: relative;
  z-index: 2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-large {
  padding: 18px 40px;
  font-size: 16px;
}

.btn-white {
  background: linear-gradient(135deg, #0b1f4b 0%, #5da9e9 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(93, 169, 233, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
  background: linear-gradient(135deg, #0a1a3a 0%, #4a90d9 100%);
  box-shadow: 0 12px 35px rgba(93, 169, 233, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.btn-white:active {
  transform: translateY(1px);
}

.btn i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(5px);
}

.join-note {
  margin-top: 20px;
  font-size: 14px;
  /* Updated note color for light theme */
  color: rgba(26, 54, 93, 0.7);
  letter-spacing: 0.5px;
}



/* Responsive Adjustments */
@media (max-width: 768px) {
  .join {
    padding: 80px 0;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .parallax-flag {
    width: 200px;
    height: 133px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 28px;
  }

  .btn-large {
    padding: 15px 30px;
    font-size: 12px;
  }
}


/* ================= FAQS ================= */
.faqs {
  padding: 80px 0;
  background: #ffffff; /* keep pure white for readability */
  position: relative;
  overflow: hidden;
}


.faq-list {
  max-width: 800px;
  margin: 0 auto;
  /* Added relative positioning for z-index */
  position: relative;
  z-index: 1;
}

.faq-item {
  /* Applied glassmorphism styling */
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
  /* Enhanced hover effects with glow */
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(93, 169, 233, 0.15);
  border-color: rgba(93, 169, 233, 0.3);
}

.faq-question {
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  font-size: 18px;
  font-weight: 600;
  /* Updated text color for glassmorphism */
  color: #0b1f4b;
}

.faq-question i {
  /* Updated icon color */
  color: #5da9e9;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 24px 24px;
  /* Updated text color for better contrast */
  color: #334155;
  line-height: 1.6;
}

/* ================= GOVT LINKS ================= */
.gov-links {
  padding: 64px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}


.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  align-items: center;
}

.org-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  /* Added relative positioning for z-index */
  position: relative;
  z-index: 1;
}

.org-item:hover {
  /* Enhanced hover effects */
  transform: translateY(-8px) scale(1.05);
}

.org-logo {
  width: 80px;
  height: 80px;
  /* Applied glassmorphism styling */
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  margin-bottom: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Added shimmer effect on hover */
.org-logo::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.org-item:hover .org-logo {
  /* Enhanced hover effects with glow */
  box-shadow: 0 25px 50px rgba(93, 169, 233, 0.2);
  border-color: rgba(93, 169, 233, 0.4);
  background: rgba(255, 255, 255, 0.4);
}

.org-item:hover .org-logo::before {
  transform: translateX(100%);
}

.org-item p {
  font-size: 14px;
  /* Updated text color */
  color: #475569;
  font-weight: 500;
}

/* Smaller logos on mobile */
@media (max-width: 400px) {
  .org-item {
    width: 90px; /* smaller width */
    margin: 0 12px; /* tighter spacing */
  }
}

/* Scrolling banner */
.scroll-banner {
  overflow: hidden;
  position: relative;
  width: 100%;
  /* Updated background to match glassmorphism theme */
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.scroll-content {
  display: flex;
  width: max-content;
  animation: scroll-left 25s linear infinite;
  animation-play-state: running;
  transition: animation-duration 0.5s ease;
}

.scroll-banner:hover .scroll-content {
  animation-play-state: paused; /* fully stops scrolling */
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Added keyframe animations for floating blobs */
@keyframes float-blob-1 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(30px, -20px) rotate(90deg);
  }
  50% {
    transform: translate(-20px, -30px) rotate(180deg);
  }
  75% {
    transform: translate(-30px, 20px) rotate(270deg);
  }
}

@keyframes float-blob-2 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(-25px, -15px) rotate(120deg);
  }
  66% {
    transform: translate(25px, -25px) rotate(240deg);
  }
}

@keyframes float-blob-3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -30px) scale(1.1);
  }
}

@keyframes float-blob-4 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-30px, 20px) scale(0.9);
  }
}


/* Government Links Section */
.gov-links {
  padding: 64px 0;
  background: #f3f4f6;
}

/* .org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  align-items: center;
} */

.org-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.org-item:hover {
  transform: translateY(-4px);
}

.org-logo {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.org-item:hover .org-logo {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.org-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  display: block;
  margin: 0 auto;
}

.org-logo i {
  font-size: 32px;
  color: #374151;
}

.org-item p {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

/* Default logo size */
.org-item {
  flex: 0 0 auto;
  width: 150px;
  margin: 0 24px;
  text-align: center;
}

/* Smaller logos on mobile */
@media (max-width: 400px) {
  .org-item {
    width: 90px;  /* smaller width */
    margin: 0 12px; /* tighter spacing */
  }
}


/* Scrolling banner */
.scroll-banner {
  overflow: hidden;
  position: relative;
  width: 100%;
  background: #f3f4f6;
}

.scroll-content {
  display: flex;
  width: max-content;
  animation: scroll-left 25s linear infinite;
  animation-play-state: running;
  transition: animation-duration 0.5s ease;
}

.scroll-banner:hover .scroll-content {
  animation-play-state: paused; /* fully stops scrolling */
}


@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.org-item {
  flex: 0 0 auto;
  width: 150px;
  margin: 0 24px;
  text-align: center;
}


/* ================= FOOTER ================= */
.footer {
  background: linear-gradient(135deg, #0b1f4b 0%, #111827 100%);
  color: white;
  padding: 64px 0 32px;
}


.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
/* LINKS COLOR  */
.contact-item a{
  color: rgb(156, 163, 175);
  text-decoration: none;
}

.contact-item a:hover {
  color: white;  
}

.footer-logo .logo {
  width: 48px;
  height: 48px;
}

.footer-brand h3 {
  font-size: 20px;
  font-weight: bold;
}

.footer-brand p {
  color: rgb(156, 163, 175);
  margin-bottom: 24px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: #374151;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #3b82f6;
  transform: translateY(-2px);
}

.footer-contact h4,
.footer-links h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-item i {
  color: #ff6b35;
  margin-top: 4px;
}

.contact-item span,
.contact-item div {
  color: #9ca3af;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: #9ca3af;
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: white;
}

/* ================= ALUMNI ================= */
.alumni {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  /* Subtle darker gradient (lavender + steel blue) */
  background: linear-gradient(
    135deg,
    #eef1f7 0%,   /* light lavender-grey */
    #dbe4f0 40%,  /* soft steel blue */
    #e6ebf5 70%,  /* muted lavender */
    #d8e0ed 100%  /* cool slate tint */
  );
  color: #1e293b;
}

/* Optional: add gentle animated blobs for premium depth */
.alumni::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -15%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(93, 169, 233, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-blob-3 25s ease-in-out infinite;
  z-index: 0;
}


.alumni-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  /* Updated particles for light theme */
  background-image: radial-gradient(circle, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  animation: floatParticles 100s linear infinite;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  /* Reduced opacity for light theme */
  opacity: 0.15;
}

.orb-1 {
  width: 300px;
  height: 300px;
  /* Light theme orb colors */
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
  top: -100px;
  left: -100px;
  animation: floatOrb1 15s ease-in-out infinite alternate;
}

.orb-2 {
  width: 400px;
  height: 400px;
  /* Light theme orb colors */
  background: radial-gradient(circle, rgba(239, 68, 68, 0.2), transparent 70%);
  bottom: -150px;
  right: -100px;
  animation: floatOrb2 20s ease-in-out infinite alternate;
}

.orb-3 {
  width: 200px;
  height: 200px;
  /* Light theme orb colors */
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent 70%);
  top: 50%;
  left: 30%;
  animation: floatOrb3 12s ease-in-out infinite alternate;
}

.container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  /* Light theme badge styling */
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 50px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #3b82f6;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.section-badge i {
  color: #ef4444;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}


.section-subtitle {
  font-size: 18px;
  /* Updated text color for light theme */
  color: rgba(71, 85, 105, 0.8);
  max-width: 700px;
  margin: 0 auto;
}

/* Alumni Grid */
.alumni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 80px;
}

.alumni-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  /* Light theme card shadow */
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
  /* Added light glassmorphism background */
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(142, 142, 142, 0.3);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
  
}

.alumni-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Light theme gradient overlay */
  /* background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%); */
  z-index: 1;
  border-radius: 16px;
}

.card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease; /* smooth fade */
}


.alumni-card:hover .card-glow {
  opacity: 1;
}

/* .alumni-card:hover {
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.2), 0 0 30px rgba(177, 232, 255, 0.1);
} */

.alumni-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.alumni-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.alumni-card:hover .alumni-image img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Lighter overlay for light theme */
  background: linear-gradient(to top, rgba(30, 41, 59, 0.6) 0%, rgba(30, 41, 59, 0) 50%);
}

.alumni-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  /* Light theme badge */
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: #1e293b;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.card-shine {
  position: absolute;
  top: 0;
  left: -75%; /* start off left side */
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  opacity: 0;
}

/* Trigger sweep animation */
.alumni-card:hover .card-shine {
  animation: shineSweep 1.2s ease forwards;
  opacity: 1;
}

@keyframes shineSweep {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}


.ncc-navy-badge {
  /* Light theme navy badge */
  background: rgba(59, 130, 246, 0.9);
  color: white;
}

.card-content {
  padding: 20px;
  position: relative;
  z-index: 2;
}

.card-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  /* Dark text for light theme */
  color: #1e293b;
}

.alumni-position {
  font-size: 16px;
  /* Updated position color for light theme */
  color: #3b82f6;
  font-weight: 600;
  margin-bottom: 5px;
}

.alumni-achievement {
  font-size: 14px;
  /* Updated achievement color for light theme */
  color: rgba(30, 41, 59, 0.7);
  margin-bottom: 15px;
}

.alumni-description {
  font-size: 14px;
  line-height: 1.6;
  /* Updated description color for light theme */
  color: rgba(71, 85, 105, 0.8);
  margin-bottom: 20px;
}

.card-footer {
  padding: 0 20px 20px;
}

.achievement-stats {
  display: flex;
  flex-wrap: wrap; 
  gap: 15px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  /* Light theme stat items */
  color: rgba(30, 41, 59, 0.8);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(59, 130, 246, 0.1);
  padding: 6px 12px;
  border-radius: 50px;
  /* flex: 1 1 auto; */
  min-width: 0; 
}

/* Color Variants */
.ncc-navy {
background: linear-gradient(135deg, rgba(0, 136, 166, 0.15), rgba(166, 215, 231, 0.25));
backdrop-filter: blur(16px);

}

/* These are not used, if you want to give colors to each card, change the html:
<div class="alumni-card -------ncc-navy-------" data-aos="fade-up" data-aos-delay="400">
*/

/* .ncc-red {
background: linear-gradient(135deg, rgba(128, 0, 128, 0.15), rgba(230, 230, 250, 0.25));
backdrop-filter: blur(16px);
}

.ncc-white-card {
background: linear-gradient(135deg, rgba(220, 20, 60, 0.18), rgba(255, 182, 193, 0.25));
backdrop-filter: blur(16px);
}

.ncc-skyblue {
background: linear-gradient(135deg, rgba(70, 130, 180, 0.15), rgba(176, 224, 230, 0.25));
backdrop-filter: blur(16px);
} */


/* Animations */
@keyframes floatParticles {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 500px 500px;
  }
}

@keyframes floatOrb1 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

@keyframes floatOrb2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-50px, -50px);
  }
}

@keyframes floatOrb3 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(30px, -30px);
  }
}

/* Responsive Adjustments */
/* Tablet */
@media (max-width: 768px) {
  .section-title {
    font-size: 36px;
  }

  .alumni-grid {
    grid-template-columns: repeat(2, 1fr); /* two equal-width columns */
    gap: 16px; /* optional: add spacing between cards */
  }

  .alumni-stats {
    text-size-adjust: 18px;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Phone */
@media (max-width: 480px) {
  .section-title {
    font-size: 30px;
  }

  .alumni-grid {
    grid-template-columns: repeat(2, 1fr); /* still 2 cards per row */
    gap: 12px; /* smaller gap on phones */
  }
  
  .alumni-stats {
    grid-template-columns: 2fr;
  }
}


/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-10px) translateX(-50%);
  }

  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}


/* ================= CONTRIBUTORS ================= */
.contributors {
  padding: 100px 0;
  background: white;
  position: relative;
  overflow: hidden;
  min-height: 700px;
}

.contributors .card {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  flex: 0 0 33.33%;
}

.contributors-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.code-particle {
  position: relative;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(93, 169, 233, 0.08) 1px, transparent 1px),
    radial-gradient(circle, rgba(200, 16, 46, 0.06) 1px, transparent 1px),
    radial-gradient(circle, rgba(11, 31, 75, 0.07) 1px, transparent 1px);
  background-size: 50px 50px, 70px 70px, 90px 90px;
  animation: floatParticles 120s linear infinite;
}

.tech-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.12;
}

.tech-orb.orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(93, 169, 233, 0.4), transparent 70%);
  top: 20%;
  left: -100px;
  animation: floatTechOrb1 18s ease-in-out infinite alternate;
}

.tech-orb.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.3), transparent 70%);
  bottom: -150px;
  right: -100px;
  animation: floatTechOrb2 22s ease-in-out infinite alternate;
}

.dev-gradient-text {
  background: linear-gradient(90deg, #0b1f4b, #5da9e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Contributors Carousel */
.carousel-wrapper {
  margin-top: 50px;
  position: relative;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-container-contributor {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 30px;
  align-items: center;
  transition: transform 0.5s ease-in-out;
}

.contributor-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  flex: 0 0 calc(33.333% - 20px);
  height: 450px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: scale(0.9);
  opacity: 0.7;
}



.contributor-card.active {
  transform: scale(1.1);
  opacity: 1;
  z-index: 10;
  box-shadow: 0 20px 60px rgba(93, 169, 233, 0.3);
  border: 2px solid rgba(93, 169, 233, 0.4);
}

.contributor-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.contributor-image img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.5);
}

.card-content {
  padding: 20px 25px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.card-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1e293b;
}

.contributor-role {
  font-size: 14px;
  color: #5da9e9;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 15px;
}

.contributor-description {
  font-size: 13px;
  color: rgba(30, 41, 59, 0.8);
  line-height: 1.6;
  margin-bottom: 20px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: #0b1f4b;
  font-size: 18px;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-arrow-left {
  left: 10px;
}

.carousel-arrow-right {
  right: 10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(93, 169, 233, 0.3);
  cursor: pointer;
  position: relative;
}

.dot.active {
  background: #5da9e9;
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(93, 169, 233, 0.5);
}


/* Card Footer */
.card-footer {
  padding: 0 20px 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.social-link {
  color: rgba(30, 41, 59, 0.8);
  font-size: 18px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

/* Featured Card */
.featured {
  border: 2px solid #5da9e9;
}

.featured-ribbon {
  position: absolute;
  top: 15px;
  left: -8px;
  background: #5da9e9;
  color: white;
  padding: 5px 30px 5px 20px;
  font-size: 12px;
  font-weight: 700;
  z-index: 3;
  clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 50%, 100% 100%, 0 100%);
}

/* Animations */
@keyframes floatTechOrb1 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

@keyframes floatTechOrb2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-50px, -50px);
  }
}

@keyframes codePulse {
  0% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.8;
  }

  100% {
    opacity: 0.5;
  }
}

@keyframes liquidFlow {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(-20px, -30px) rotate(1deg);
  }
  66% {
    transform: translate(20px, -20px) rotate(-1deg);
  }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .contributor-card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .contributors {
    padding: 60px 0;
    min-height: 600px;
  }

  .contributor-card {
    flex: 0 0 300px;
    height: 400px;
  }

  .contributor-image {
    height: 160px;
    padding: 15px;
  }

  .contributor-image img {
    width: 100px;
    height: 100px;
  }

  .card-content {
    padding: 15px 20px;
  }

  .card-content h3 {
    font-size: 20px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .contributors {
    padding: 40px 0;
    min-height: 550px;
  }

  .contributor-card {
    flex: 0 0 280px;
    height: 380px;
  }

  .contributor-image {
    height: 140px;
  }

  .contributor-image img {
    width: 90px;
    height: 90px;
  }

  .card-content h3 {
    font-size: 18px;
  }

  .contributor-description {
    font-size: 12px;
  }
}
