:root {
  --bg-dark: #050505;
  --bg-darker: #000000;
  --primary-red: #ff0033;
  --primary-red-glow: rgba(255, 0, 51, 0.4);
  --primary-red-dark: #cc0000;
  --text-main: #ffffff;
  --text-muted: #aaaaaa;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

html {
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-darker);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* NO display:flex — this breaks GSAP pin-spacer */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
}

/* Hide scrollbar like aero.cet.ac.in */
body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
}

/* Animated Background Gradients & Image — all position: fixed, won't affect layout */
.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  background-image: url('./cet.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.28) contrast(1.2);
  /* Slightly brighter but still dark enough for text */
}

.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  opacity: 0.6;
  pointer-events: none;
}

.bg-gradient-1 {
  background: radial-gradient(circle at 15% 50%, rgba(255, 0, 51, 0.15), transparent 40%);
  animation: float1 15s ease-in-out infinite alternate;
}

.bg-gradient-2 {
  background: radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.05), transparent 40%);
  animation: float2 20s ease-in-out infinite alternate;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

@keyframes float1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(10%, 10%) scale(1.2);
  }
}

@keyframes float2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-10%, -10%) scale(1.3);
  }
}

/* Side Navigation Bar */
.side-nav {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 200;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 10px;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
}

.nav-item {
  color: var(--text-muted);
  font-size: 1.1rem;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.nav-item:hover,
.nav-item.active {
  color: #fff;
  background: var(--primary-red);
  box-shadow: 0 0 15px var(--primary-red-glow);
}

.nav-item::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 52px;
  background: rgba(0, 0, 0, 0.85);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  border: 1px solid var(--glass-border);
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-item:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  z-index: 100;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header-left, .header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-center {
  flex: 1;
  text-align: center;
}

.logo {
  height: 50px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.sfi-text {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 1px;
}
.text-white { color: #fff; }
.text-red { color: var(--primary-red); }

.college-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #fff, var(--primary-red), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shine 3s linear infinite;
  margin: 0;
}

.support-cell-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.support-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.support-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ============================================
   HORIZONTAL SCROLL STRUCTURE
   Exact same CSS pattern as the working reference
   ============================================ */
.horizontal-scroll-wrapper {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.pin-wrap {
  display: flex;
  height: 100vh;
  width: max-content;
}

.slide {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.slide-content {
  width: 100%;
  max-width: 1400px;
  padding: 20px 60px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.text-center {
  align-items: center;
  text-align: center;
}

/* Hero Content */
.header-quote {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-red);
  margin-bottom: 20px;
}

.main-title {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.main-quote {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
}

.scroll-indicator {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.scroll-arrow {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary-red), transparent);
  position: relative;
  animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(15px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* Sections */
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #fff, var(--primary-red), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shine 3s linear infinite;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-red);
  border-radius: 2px;
}

.slide-content.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Grids */
.hub-grid {
  display: grid;
  gap: 20px;
  width: 100%;
}

.horiz-grid {
  grid-auto-flow: column;
  overflow: visible;
}

/* Cards (Tilt & Glassmorphism) */
.tilt-card {
  transform-style: preserve-3d;
  transform: perspective(1000px);
}

.image-card,
.volunteer-card,
.hub-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-main);
  transition: border-color 0.3s ease, box-shadow 0.4s ease, transform 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.image-card {
  background-size: cover;
  background-position: center;
}

.image-card:hover,
.volunteer-card:hover,
.hub-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px var(--primary-red-glow);
}

.glossy-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

.card-content {
  position: relative;
  z-index: 2;
  transform: translateZ(30px);
}

.card-content i {
  font-size: 2.5rem;
  color: var(--primary-red);
  margin-bottom: 15px;
  filter: drop-shadow(0 0 10px var(--primary-red-glow));
}

.card-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Volunteers Section */
.volunteer-home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  height: 100%;
  max-height: 520px;
  align-items: stretch;
}

.volunteer-home-grid .volunteer-card {
  padding: 12px 14px !important;
  gap: 8px !important;
  justify-content: space-between !important;
}

.volunteer-home-grid .vol-dept-title {
  font-size: 1.05rem !important;
  margin-bottom: 4px !important;
}

.volunteer-home-grid .contacts-wrapper {
  gap: 6px !important;
}

.volunteer-home-grid .volunteer-contact {
  padding: 6px 10px !important;
  border-radius: 10px !important;
}

.volunteer-home-grid .volunteer-name {
  font-size: 0.95rem !important;
}

.volunteer-home-grid .action-btn {
  width: 30px !important;
  height: 30px !important;
  font-size: 0.95rem !important;
}

.volunteers-section .hub-grid {
  gap: 20px;
}

.volunteer-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px !important;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(25, 25, 35, 0.75), rgba(15, 15, 20, 0.55));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.03), 0 8px 32px rgba(0, 0, 0, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.volunteer-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 30, 45, 0.45);
  box-shadow: 0 12px 35px rgba(255, 30, 45, 0.15), 0 8px 24px rgba(0, 0, 0, 0.6);
}

.hub-card {
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.7), rgba(10, 10, 10, 0.9));
  backdrop-filter: blur(12px);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05), 0 10px 40px rgba(0, 0, 0, 0.6);
}

.hub-card i {
  font-size: 3.5rem;
  color: var(--primary-red);
  margin-bottom: 25px;
  filter: drop-shadow(0 0 15px var(--primary-red-glow));
}

.hub-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 1px;
}

.hub-card p {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.6;
}

.vol-dept-title {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  transform: translateZ(20px);
}

.icon-red {
  color: var(--primary-red);
  margin-right: 12px;
}

.contacts-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  transform: translateZ(10px);
}

.volunteer-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(25, 25, 35, 0.8), rgba(15, 15, 20, 0.6));
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.volunteer-contact:hover {
  background: linear-gradient(135deg, rgba(35, 30, 42, 0.9), rgba(20, 18, 26, 0.8));
  border-color: rgba(255, 30, 45, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 30, 45, 0.15), 0 4px 12px rgba(0, 0, 0, 0.5);
}

.volunteer-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.volunteer-name::before {
  content: '\f590';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-red);
  font-size: 1.1rem;
}

.volunteer-actions {
  display: flex;
  gap: 10px;
}

.action-btn {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.action-btn:hover {
  background: var(--primary-red);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--primary-red-glow);
}

.volunteer-contact .action-btn:has(.fa-whatsapp),
.volunteer-contact a[href*="wa.me"] {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.35);
}

.volunteer-contact .action-btn:has(.fa-whatsapp):hover,
.volunteer-contact a[href*="wa.me"]:hover {
  background: #25d366;
  color: #ffffff;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
}

.volunteer-contact .action-btn:has(.fa-phone),
.volunteer-contact a[href*="tel:"] {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.volunteer-contact .action-btn:has(.fa-phone):hover,
.volunteer-contact a[href*="tel:"]:hover {
  background: #3b82f6;
  color: #ffffff;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.45);
}

/* Latest Updates */
.updates-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.update-item {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px 40px;
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.7), rgba(10, 10, 10, 0.9));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02), 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.update-item:hover {
  transform: translateX(10px);
  border-color: rgba(255, 255, 255, 0.15);
}

.update-tag {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
}

.tag-new {
  background: rgba(255, 0, 51, 0.15);
  color: var(--primary-red);
}

.tag-update {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.tag-info {
  background: rgba(100, 100, 100, 0.2);
  color: #ccc;
}

.update-content h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #fff;
}

.update-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid var(--glass-border);
}

.gradient-text {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #fff, var(--primary-red), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shine 3s linear infinite;
}

.gradient-text-light {
  font-weight: 600;
  background: linear-gradient(90deg, #888, #fff, #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.social-icons a {
  color: #fff;
  font-size: 24px;
  transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
  color: var(--primary-red);
  transform: translateY(-3px);
}

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

.mobile-break {
  display: none;
}

.glow-btn {
  text-decoration: none;
  background: linear-gradient(90deg, #1a1a1a, #2a2a2a);
  border: 1px solid rgba(255, 0, 51, 0.3);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.glow-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 51, 0.2), transparent);
  transition: left 0.5s;
}

.glow-btn:hover {
  transform: scale(1.05);
  border-color: var(--primary-red);
  box-shadow: 0 0 20px var(--primary-red-glow);
}

.glow-btn:hover::before {
  left: 100%;
}

.contacts-list {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.contacts-list strong {
  color: #fff;
}

/* Responsive Tweaks for Mobile Normal Vertical Scroll */
@media (max-width: 1024px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .horizontal-scroll-wrapper {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }

  .pin-wrap {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    width: 100% !important;
    transform: none !important;
  }

  .slide {
    width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    min-height: auto;
    padding: 80px 20px 40px !important;
    overflow: visible !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero {
    min-height: 100vh !important;
  }

  .slide-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 10px 0 !important;
    overflow: visible !important;
    height: auto !important;
  }

  .slide-content .section-title {
    align-self: center !important;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
  }

  .about-section .tilt-card {
    width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    min-height: 250px !important;
  }

  .about-section .tilt-card p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* Departments grid */
  .departments-section .horiz-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: auto !important;
    grid-auto-flow: row !important;
    gap: 15px !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    width: 100% !important;
  }

  .departments-section .tilt-card {
    min-width: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 130px !important;
    padding: 20px 15px !important;
  }

  /* Volunteers grid */
  .volunteer-home-grid,
  .volunteers-section .horiz-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    width: 100% !important;
  }

  .volunteer-home-grid .volunteer-card {
    padding: 18px !important;
    gap: 12px !important;
  }

  .volunteer-home-grid .vol-dept-title {
    font-size: 1.2rem !important;
  }

  .volunteer-home-grid .volunteer-contact {
    padding: 10px 14px !important;
  }

  .volunteer-home-grid .volunteer-name {
    font-size: 1.05rem !important;
  }

  .volunteer-home-grid .action-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.1rem !important;
  }

  .volunteers-section .tilt-card {
    min-width: 0 !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Updates section */
  .updates-container {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 15px !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .updates-section .update-item {
    min-width: 100% !important;
    width: 100% !important;
    padding: 20px !important;
    height: auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  /* Resource Hub (final-slide) */
  .final-slide .hub-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: auto !important;
    grid-auto-flow: row !important;
    gap: 15px !important;
    height: auto !important;
    max-height: none !important;
    width: 100% !important;
    overflow: visible !important;
  }

  .final-slide .tilt-card {
    min-width: 0 !important;
    width: 100% !important;
    height: auto !important;
    padding: 25px 15px !important;
  }

  /* Vertical Footer */
  .footer {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 40px !important;
  }

  .footer-frame-1, .footer-frame-2, .footer-frame-3 {
    min-width: 0 !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
  }

  .contact-stack {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-flow: row !important;
    gap: 15px !important;
    width: 100% !important;
  }

  .footer-slide {
    padding-top: 20px !important;
    padding-bottom: 40px !important;
  }

  .update-content h4 {
    font-size: 1.1rem;
  }
  .update-content p {
    font-size: 0.9rem;
  }

  .cursor,
  .cursor-follower {
    display: none;
  }

  * {
    cursor: auto !important;
  }

  .side-nav {
    display: none;
  }
}

@media (max-width: 500px) {
  .departments-section .horiz-grid,
  .final-slide .hub-grid,
  .contact-stack {
    grid-template-columns: 1fr !important;
  }
}

/* ===== STANDARD DEPARTMENT PAGE FOOTER ===== */
.page-footer {
  margin-top: 100px;
  padding: 60px 5% 30px;
  background: rgba(5, 5, 8, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.page-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.footer-assist-banner {
  text-align: center;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(0,0,0,0.6));
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 20px;
  padding: 40px 20px;
  box-shadow: 0 0 40px rgba(37, 211, 102, 0.08);
}

.footer-assist-title {
  font-size: 1.35rem;
  margin-bottom: 22px;
  font-weight: 700;
  background: linear-gradient(90deg, #ffffff, #b0b0b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: start;
}

.footer-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.footer-card-title {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 25px;
  text-align: center;
  background: linear-gradient(90deg, #ffffff, #ff8a94, #e6192e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.footer-contact-item {
  padding: 14px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  transition: all 0.3s ease;
}

.footer-contact-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}

.footer-contact-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 5px;
}

.footer-contact-num {
  color: #25D366;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-copyright {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

@media (max-width: 500px) {
  .footer-contacts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 15px 10px;
  }

  /* Stack footer vertically */
  .footer-follow > div {
    flex-direction: column !important;
    gap: 40px !important;
  }

  .header-text h1 {
    font-size: 0.9rem;
  }

  .logo {
    height: 35px;
  }

  .main-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  /* Hide extra header text on mobile, keep only logos and college name */
  .sfi-text, .support-cell-text {
    display: none !important;
  }

  .mobile-break {
    display: block !important;
  }

  .college-title {
    font-size: 1rem !important;
    line-height: 1.3;
  }

  .header-content {
    justify-content: space-between;
  }

  /* Perfectly center the Hero section text on mobile */
  .hero {
    padding-top: 100px !important; /* Offset header height so visual center is correct */
  }

  .hero .slide-content {
    justify-content: center;
    gap: 15px;
  }

  .hero .header-quote {
    font-size: 0.8rem;
    margin-bottom: 0;
  }

  .hero .main-title {
    font-size: 2.2rem;
    margin-bottom: 0;
  }

  .hero .main-quote {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .hero .scroll-indicator {
    margin-top: 10px;
  }

  .header-center {
    flex: 1;
    text-align: center;
    padding: 0 10px;
  }
}

/* DEPARTMENT FOOTER - MATCHING HEADER BACKGROUND */
.dept-footer {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 3% 25px;
  margin-top: 80px;
  color: #fff;
}

.dept-footer-grid {
  max-width: 1500px;
  width: 96%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.dept-footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dept-footer-col:first-child {
  justify-self: start;
  align-items: flex-start;
}

.dept-footer-col:nth-child(2) {
  justify-self: center;
  align-items: center;
}

.dept-footer-col:last-child {
  justify-self: end;
  align-items: flex-end;
}

.dept-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dept-footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.dept-footer-brand-text h4 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  margin: 0;
}

.dept-footer-brand-text p {
  font-size: 0.8rem;
  color: #e6192e;
  font-weight: 600;
  margin: 2px 0 0;
  text-transform: uppercase;
}

.dept-footer-about {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #a0a0a0;
  margin: 0;
}

.dept-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.social-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d0d0d0;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.social-pill:hover {
  background: rgba(230, 25, 46, 0.15);
  border-color: #e6192e;
  color: #fff;
  transform: translateY(-2px);
}

.insta-pill {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff !important;
  border: none;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.35);
  transition: all 0.3s ease;
}

.insta-pill:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 22px rgba(220, 39, 67, 0.6);
}

.dept-wa-btn {
  background: linear-gradient(135deg, #128c3e, #25D366);
  color: #fff;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
  transition: all 0.3s ease;
}

.dept-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.dept-footer-heading {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* TEXT CONTACTS AS GLOWING CARDS */
.text-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
  width: 100%;
}

.t-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 16px;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.t-contact:hover {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.45);
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.2);
}

.t-name {
  color: #e0e0e0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.t-num {
  color: #25D366;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.35);
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.t-contact:hover .t-num, .t-num:hover {
  background: #25D366;
  color: #000;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.7);
}

.text-red { color: #e6192e; }

.dept-footer-bottom {
  max-width: 1250px;
  margin: 40px auto 0;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .dept-footer {
    padding: 50px 24px 30px;
  }
  .dept-footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: left;
  }
  .dept-footer-col,
  .dept-footer-col:first-child,
  .dept-footer-col:nth-child(2),
  .dept-footer-col:last-child {
    justify-self: start;
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }
  .dept-footer-brand {
    justify-content: flex-start;
    text-align: left;
  }
  .dept-footer-socials {
    justify-content: flex-start;
  }
  .text-contacts-list {
    align-items: flex-start;
    width: 100%;
  }
  .t-contact {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
  }
  .dept-footer-bottom {
    text-align: center;
    width: 100%;
  }
}

/* DEPARTMENTS MODAL FOR MOBILE / CONVENIENCE */
.dept-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dept-modal-overlay.active {
  opacity: 1;
}

.dept-modal-container {
  background: rgba(18, 18, 24, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(230, 25, 46, 0.2);
  overflow: hidden;
}

.dept-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.dept-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.dept-modal-close:hover {
  background: #e6192e;
  transform: rotate(90deg);
}

.dept-modal-grid {
  padding: 24px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.dept-modal-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dept-modal-card i {
  font-size: 1.4rem;
}

.dept-modal-card:hover {
  background: rgba(230, 25, 46, 0.15);
  border-color: #e6192e;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(230, 25, 46, 0.25);
}

/* Hide mobile trigger card on PC view */
@media (min-width: 769px) {
  .mobile-only-card {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .departments-section {
    display: none !important;
  }
}

/* DEPARTMENT VOLUNTEERS PREMIUM CARDS */
.volunteer-grid-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.volunteer-detail-card {
  background: linear-gradient(135deg, rgba(25, 25, 35, 0.7), rgba(15, 15, 20, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 30px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.volunteer-detail-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
  opacity: 0.5;
  transition: opacity 0.35s ease;
}

.volunteer-detail-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 30, 45, 0.45);
  background: linear-gradient(135deg, rgba(35, 30, 42, 0.8), rgba(20, 18, 26, 0.65));
  box-shadow: 0 16px 40px rgba(255, 30, 45, 0.2), 0 8px 24px rgba(0, 0, 0, 0.6);
}

.volunteer-detail-card:hover::after {
  opacity: 1;
}

.volunteer-detail-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.volunteer-detail-info::before {
  content: '\f590'; /* fa-headset */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 1.5rem;
  color: #ff3344;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 30, 45, 0.12);
  border: 1px solid rgba(255, 30, 45, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 30, 45, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.volunteer-detail-card:hover .volunteer-detail-info::before {
  background: var(--primary-red);
  color: #fff;
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 0 25px rgba(255, 30, 45, 0.5);
}

.volunteer-detail-info .name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}

.volunteer-detail-info .role {
  font-size: 0.82rem;
  font-weight: 600;
  color: #bbb;
  background: rgba(255, 255, 255, 0.07);
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.volunteer-actions {
  display: flex;
  gap: 14px;
  width: 100%;
  justify-content: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.volunteer-actions .action-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.volunteer-actions .whatsapp-btn-small {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.35);
}

.volunteer-actions .whatsapp-btn-small:hover {
  background: #25d366;
  color: #ffffff;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

.volunteer-actions .call-btn-small {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.volunteer-actions .call-btn-small:hover {
  background: #3b82f6;
  color: #ffffff;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.45);
}

@media (max-width: 600px) {
  .volunteer-grid-detail {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .volunteer-detail-card {
    padding: 22px 14px 18px;
    gap: 14px;
  }
  .volunteer-detail-info::before {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
  .volunteer-detail-info .name {
    font-size: 1.15rem;
  }
  .volunteer-actions .action-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

@media (max-width: 400px) {
  .volunteer-grid-detail {
    grid-template-columns: 1fr;
  }
}