@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=League+Spartan:wght@500;700;800&family=Abhaya+Libre:wght@500;700&family=Noto+Sans+Sinhala:wght@400;600&display=swap');

:root {
  --primary-black: #000000;
  --primary-white: #ffffff;
  --primary-gold: #FFD700;
  --gold-accent: #FFA500;
  --dark-gold: #DAA520;
  --light-gray: #f8f9fa;
  --dark-gray: #2a2a2a;
  --shadow-light: 0 4px 20px rgba(255, 215, 0, 0.3);
  --shadow-dark: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 0 30px rgba(255, 215, 0, 0.45);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);

  --font-heading: 'League Spartan', system-ui, -apple-system, Segoe UI, Roboto, 'Noto Sans Sinhala', sans-serif;
  --font-body: 'Inter', 'Noto Sans Sinhala', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-serif-si: 'Abhaya Libre', 'Noto Serif Sinhala', serif;
  /* Sinhala display fallback */


  --dur-fast: 200ms;
  --dur-med: 600ms;
  --dur-slow: 12s;
}

:lang(si) body {
  font-family: var(--font-body);
}

:lang(si) h1,
:lang(si) h2,
:lang(si) h3,
:lang(si) h4,
:lang(si) h5,
:lang(si) h6 {
  font-family: var(--font-serif-si);
  font-weight: 700;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--primary-white);
  background: var(--primary-black);
  overflow-x: hidden;
  cursor: none;
  /* custom cursor */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== GLOBAL BACKGROUND (Aurora + Particles) ===== */
/* Aurora film */
body::before {
  content: '';
  position: fixed;
  inset: -20vmax;
  /* bleed for transforms */
  background: radial-gradient(60vmax 40vmax at 10% 20%, rgba(255, 215, 0, 0.08), transparent 60%),
    radial-gradient(40vmax 30vmax at 90% 10%, rgba(255, 165, 0, 0.06), transparent 60%),
    radial-gradient(60vmax 40vmax at 80% 80%, rgba(255, 215, 0, 0.06), transparent 60%),
    conic-gradient(from 0deg at 50% 50%, rgba(255, 215, 0, 0.04), rgba(255, 165, 0, 0.04), rgba(255, 215, 0, 0.04));
  filter: blur(30px) saturate(120%);
  animation: auroraDrift var(--dur-slow) linear infinite;
  pointer-events: none;
  z-index: -2;
}

/* Subtle grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 0 0 0.03 0.05 0.07 0.09'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.35;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: -1;
}

@keyframes auroraDrift {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(10deg) scale(1.05);
  }

  100% {
    transform: rotate(0deg) scale(1);
  }
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--primary-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 10px var(--primary-gold), 0 0 20px rgba(255, 215, 0, 0.4);
}

.cursor-follower {
  position: fixed;
  width: 22px;
  height: 22px;
  background: rgba(255, 215, 0, 0.15);
  border: 3px solid var(--primary-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  backdrop-filter: blur(2px);
}

.cursor.hover {
  transform: scale(2);
  background: var(--gold-accent);
  box-shadow: 0 0 20px var(--gold-accent), 0 0 40px rgba(255, 223, 0, 0.5);
}

.cursor-follower.hover {
  transform: scale(2);
  background: rgba(255, 215, 0, 0.4);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: var(--primary-gold);
  text-shadow: 0 4px 20px rgba(255, 215, 0, 0.25);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: var(--primary-gold);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary-gold);
}

p {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  font-weight: 400;
  opacity: 0.92;
}

.small {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  /* top stick */
  background: transparent;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  z-index: 1000;
  padding: 0.8rem 0;
  transition: 0.3s ease-in-out;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
}

.page-header {
  height: 60vh;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.8),
      rgba(255, 215, 0, 0.1)),
    radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.2) 0%, transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  margin-top: 80px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-right: 0.8rem;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-gold);
  transition: 0.3s ease;
}

.logo:hover .logo-text {
  text-shadow: 0 0 10px var(--primary-gold);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary-white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
  transition: 0.25s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.btn-become-leo {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  background: var(--primary-gold);
  color: var(--primary-black);
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(255, 215, 0, 0.35);
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}

.btn-become-leo:hover {
  background: var(--gold-accent);
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.55);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary-gold);
  cursor: pointer;
}

.mobile-toggle:hover {
  transform: scale(1.1);
}

/* ===== LOADER ===== */
#loader {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  /* slightly transparent black */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  backdrop-filter: blur(10px);
  /* background blur */
}

.loader-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
}

#loader img {
  width: 150px;
  height: auto;
  display: block;
  border-radius: 50%;
  z-index: 2;
  position: relative;
  filter: drop-shadow(0 0 15px var(--primary-gold));
  /* subtle glow */
}

.loader-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  border: 4px solid rgba(196, 8, 8, 0.2);
  border-top-color: var(--primary-gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spinRing 1.5s linear infinite;
  box-shadow: 0 0 20px var(--primary-gold);
  z-index: 1;
}

@keyframes spinRing {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

#loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* ===== HERO ===== */
.hero {
  min-height: 110vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated geometry overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(255, 215, 0, 0.08)),
    url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1200 800%22%3E%3Cdefs%3E%3Cpattern id=%22g%22 width=%2240%22 height=%2240%22 patternUnits=%22userSpaceOnUse%22%3E%3Cpath d=%22M 40 0 L 0 0 0 40%22 fill=%22none%22 stroke=%22rgba(255,215,0,0.08)%22 stroke-width=%221%22/%3E%3C/pattern%3E%3C/defs%3E%3Crect width=%22100%25%22 height=%22100%25%22 fill=%22url(%23g)%22/%3E%3C/svg%3E');
  opacity: 0.65;
  animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
  0% {
    transform: translateX(0) translateY(0);
  }

  100% {
    transform: translateX(-40px) translateY(-40px);
  }
}

/* Floating orbs without extra DOM */
.hero::after {
  content: '';
  position: absolute;
  inset: -10%;
  pointer-events: none;
  background:
    radial-gradient(220px 220px at 15% 80%, rgba(255, 215, 0, 0.12), transparent 70%),
    radial-gradient(280px 280px at 85% 20%, rgba(255, 165, 0, 0.10), transparent 70%),
    radial-gradient(180px 180px at 70% 70%, rgba(255, 215, 0, 0.08), transparent 70%);
  filter: blur(10px);

}

@keyframes floatOrbs {
  from {
    transform: translateY(0) scale(1);
  }

  to {
    transform: translateY(-2%) scale(1.02);
  }
}

.hero-content {
  max-width: 800px;
  z-index: 2;
  animation: fadeInUp 1.1s ease-out both;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 2.5rem;
  opacity: 0.9;
  font-weight: 400;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  overflow: visible;
  border-right: 3px solid var(--primary-gold);
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  letter-spacing: 0.05em;
  max-width: 90%;
  line-height: 1.6;
}

/* Typing animation keyframes */
@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* Cursor blink animation */
@keyframes blink-caret {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: var(--primary-gold);
  }
}

/* ===== BUTTONS ===== */
.btn {
  padding: 1.05rem 2.1rem;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: var(--primary-gold);
  color: var(--primary-black);
  box-shadow: var(--shadow-light);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
  background: var(--gold-accent);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-gold);
  border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
  background: var(--primary-gold);
  color: var(--primary-black);
  transform: translateY(-3px);
}

/* Magnetic-ish hover (subtle) */
.btn:hover {
  filter: brightness(1.02);
}

/* CTA Buttons Container */
.cta-buttons {
  display: flex;
  gap: 2rem;
  /* Increased from 1rem */
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 680px;
  margin: 1rem auto 0;
  font-weight: 400;
}

/* ===== CARD GRID ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.2rem;
  margin-top: 3.6rem;
}

.card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 215, 0, 0.05));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 215, 0, 0.18);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  position: relative;
  opacity: 0;
  transform: translateY(40px) scale(0.985);
}

.card.animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: var(--shadow-gold);
  border-color: var(--primary-gold);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
  transition: left 0.6s ease;
}

.card:hover::before {
  left: 100%;
}

.card-image {
  height: 220px;
  background: linear-gradient(135deg, var(--primary-gold), var(--gold-accent));
  position: relative;
  overflow: hidden;
}

.card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.12) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.12) 75%);
  background-size: 20px 20px;
  opacity: 0.28;
}

.card-content {
  padding: 1.8rem;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
  color: var(--primary-gold);
}

.card-text {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.card-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.badge {
  background: rgba(255, 215, 0, 0.18);
  color: var(--primary-gold);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 215, 0, 0.28);
}

/* ===== FORMS ===== */
.form-container {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 215, 0, 0.05));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 2.6rem;
  border-radius: 22px;
  box-shadow: var(--shadow-dark);
}

.form-group {
  margin-bottom: 1.7rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.65rem;
  font-weight: 600;
  color: var(--primary-gold);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1.05rem;
  border: 2px solid rgba(255, 215, 0, 0.28);
  border-radius: 12px;
  font-size: 1rem;
  transition: var(--transition);
  background: rgba(0, 0, 0, 0.5);
  color: var(--primary-white);
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.12);
  transform: translateY(-2px);
}

/* ===== TABLES ===== */
.table-container {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 215, 0, 0.05));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 20px;
  overflow: hidden;
  margin: 2rem 0;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table thead {
  background: rgba(255, 215, 0, 0.1);
}

.table th,
.table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.table th {
  color: var(--primary-gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 1px;
}

.table tbody tr:hover {
  background: rgba(255, 215, 0, 0.05);
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.9), rgba(255, 215, 0, 0.1));
  border: 2px solid var(--primary-gold);
  border-radius: 20px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.modal-title {
  color: var(--primary-gold);
  font-size: 1.4rem;
  margin: 0;
}

.close {
  background: none;
  border: none;
  color: var(--primary-gold);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
}

.close:hover {
  transform: scale(1.08);
  color: var(--gold-accent);
}

/* ===== DASHBOARD ===== */

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, var(--primary-black), var(--dark-gray));
  color: var(--primary-white);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.4rem;
  margin-bottom: 2.6rem;
}

.footer-section h3 {
  margin-bottom: 1.2rem;
  color: var(--primary-gold);
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.7rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.footer-section ul li a:hover {
  color: var(--primary-gold);
  padding-left: 10px;
}

.social-icons {
  display: flex;
  gap: 1.1rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
}

.social-icons a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.4rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.social-icons a:hover {
  color: var(--primary-black);
  background: var(--primary-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--primary-gold), var(--gold-accent));
  color: var(--primary-black);
  padding: 1.1rem 1.6rem;
  border-radius: 12px;
  box-shadow: var(--shadow-gold), 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 10001;
  transform: translateY(100px) scale(0.9);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 400px;
}

.toast::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 1.2rem;
}

.toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  animation: toastPulse 0.5s ease-out;
}

@keyframes toastPulse {
  0% {
    transform: translateY(0) scale(0.95);
  }

  50% {
    transform: translateY(-5px) scale(1.02);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

.toast.error {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: var(--primary-white);
}

.toast.error::before {
  content: '\f057';
}

/* ===== LOADING SPINNER ===== */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 215, 0, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-gold);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== ANIMATIONS & REVEALS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes goldGlow {

  0%,
  100% {
    text-shadow: 0 4px 20px rgba(255, 215, 0, 0.25);
  }

  50% {
    text-shadow: 0 4px 28px rgba(255, 215, 0, 0.6);
  }
}

.hero h1 {
  animation: goldGlow 3s ease-in-out infinite;
}

/* Scroll reveal utility */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NEW ENHANCED ANIMATIONS ===== */

/* Scale In Animation */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Bounce Animation */
@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-15px);
  }

  60% {
    transform: translateY(-8px);
  }
}

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* Slide In from Left */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide In from Right */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Rotate In */
@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
  }

  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

/* Pulse Glow */
@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
  }

  50% {
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.3);
  }
}

/* Float Animation */
@keyframes floatUp {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Wiggle */
@keyframes wiggle {

  0%,
  100% {
    transform: rotate(0);
  }

  25% {
    transform: rotate(-3deg);
  }

  75% {
    transform: rotate(3deg);
  }
}

/* Text Gradient Animation */
@keyframes textGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ===== ANIMATION UTILITY CLASSES ===== */
.animate-scale-in {
  animation: scaleIn 0.6s ease-out forwards;
}

.animate-bounce {
  animation: bounce 1s ease-in-out;
}

.animate-bounce-loop {
  animation: bounce 2s ease-in-out infinite;
}

.animate-shimmer {
  background: linear-gradient(90deg,
      rgba(255, 215, 0, 0) 0%,
      rgba(255, 215, 0, 0.4) 50%,
      rgba(255, 215, 0, 0) 100%);
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
}

.animate-slide-left {
  animation: slideInLeft 0.7s ease-out forwards;
}

.animate-slide-right {
  animation: slideInRight 0.7s ease-out forwards;
}

.animate-rotate-in {
  animation: rotateIn 0.5s ease-out forwards;
}

.animate-pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

.animate-float {
  animation: floatUp 3s ease-in-out infinite;
}

.animate-wiggle:hover {
  animation: wiggle 0.5s ease-in-out;
}

/* Staggered Card Animations */
.card-grid .card:nth-child(1) {
  animation-delay: 0s;
}

.card-grid .card:nth-child(2) {
  animation-delay: 0.1s;
}

.card-grid .card:nth-child(3) {
  animation-delay: 0.2s;
}

.card-grid .card:nth-child(4) {
  animation-delay: 0.3s;
}

.card-grid .card:nth-child(5) {
  animation-delay: 0.4s;
}

.card-grid .card:nth-child(6) {
  animation-delay: 0.5s;
}

.card-grid .card:nth-child(7) {
  animation-delay: 0.6s;
}

.card-grid .card:nth-child(8) {
  animation-delay: 0.7s;
}

.card-grid .card:nth-child(9) {
  animation-delay: 0.8s;
}

/* Enhanced Card Hover Animation */
.card {
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 400ms ease,
    border-color 300ms ease !important;
}

.card:hover {
  transform: translateY(-12px) scale(1.02) rotateX(2deg) !important;
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.25),
    0 0 30px rgba(255, 215, 0, 0.1) !important;
}

/* Button Micro-interactions */
.btn {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-4px) scale(1.05) !important;
}

.btn:active {
  transform: translateY(-1px) scale(0.98) !important;
}

/* Social Icons Animation */
.social-icons a {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.social-icons a:hover {
  transform: translateY(-5px) scale(1.15) rotate(5deg) !important;
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4) !important;
}

/* Link Underline Animation */
.footer-section ul a {
  position: relative;
  display: inline-block;
}

.footer-section ul a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: width 0.3s ease;
}

.footer-section ul a:hover::after {
  width: 100%;
}

/* Section Header Animation */
.section-header h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-gold), var(--gold-accent));
  margin: 1rem auto 0;
  border-radius: 2px;
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
}

/* Badge Animation */
.badge {
  transition: all 0.3s ease !important;
}

.badge:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3) !important;
}

/* Image Zoom on Hover */
.card-image,
.gallery-image,
.officer-image,
.event-image {
  overflow: hidden;
}

.card-image img,
.gallery-image img,
.officer-image img,
.event-image img {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.card:hover .card-image img,
.gallery-item:hover .gallery-image img,
.officer-card:hover .officer-image img,
.event-card:hover .event-image img {
  transform: scale(1.1) !important;
}

/* Text highlight on hover */
.card-title,
.event-title,
.officer-name {
  transition: color 0.3s ease, text-shadow 0.3s ease !important;
}

.card:hover .card-title,
.event-card:hover .event-title,
.officer-card:hover .officer-name {
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5) !important;
}

/* Loading skeleton animation */
@keyframes skeletonPulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.8;
  }
}

.skeleton {
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.05) 25%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0.05) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* Shine border helper (apply to cards/buttons if needed) */
.glow-border {
  position: relative;
}

.glow-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0), rgba(255, 215, 0, 0.65), rgba(255, 215, 0, 0));
  filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glow-border:hover::after {
  opacity: 1;
}

/* ===== SECTION BACKGROUNDS (alternating) ===== */
.section:nth-child(even) {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(0, 0, 0, 0.95) 50%, rgba(255, 215, 0, 0.03) 100%);
}

.section:nth-child(odd) {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(255, 215, 0, 0.03) 50%, rgba(0, 0, 0, 0.95) 100%);
}

/* ===== UTILS ===== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.hidden {
  display: none;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

/* Tilt on hover (apply class .tilt) */
.tilt {
  transform-style: preserve-3d;
  transition: transform 300ms ease;
}

.tilt:hover {
  transform: perspective(700px) rotateX(3deg) rotateY(-3deg) translateY(-4px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {

  /* Tablet - smaller logo text */
  .logo-text {
    font-size: 1.2rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 260px;
    background: rgba(0, 0, 0, 0.96);
    flex-direction: column;
    padding-top: 6rem;
    gap: 2.2rem;
    transition: 0.4s ease;
    z-index: 9999;
  }

  .nav-links.active {
    right: 0;
  }

  .btn-become-leo {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  .cursor,
  .cursor-follower {
    display: none;
  }

  .container {
    padding: 0 1rem;
  }

  /* Mobile logo - smaller text */
  .logo-text {
    font-size: 1.1rem;
  }

  /* Mobile navigation - centered menu */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-dark);
    border-radius: 0 0 20px 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-top: none;
    align-items: center;
    /* Center menu items */
    text-align: center;
    /* Center text */
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .form-container {
    padding: 1.6rem 1.2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    text-align: center;
  }

  .section {
    padding: 4rem 0;
  }

  .section-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .table-container {
    overflow-x: auto;
  }

  .modal-content {
    width: 95%;
    padding: 1.4rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Dropdown container */
.nav-links .dropdown {
  position: relative;
}

/* Dropdown Menu */
.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  /* match dark header */
  list-style: none;
  padding: 8px 0;
  margin: 0;
  border-radius: 8px;
  min-width: 200px;
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.1);

  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

/* Dropdown links */
.nav-links .dropdown-menu li a {
  display: block;
  padding: 12px 18px;
  color: #fff;
  /* white text */
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Hover effect */
.nav-links .dropdown-menu li a:hover {
  background: linear-gradient(90deg, #FFD700, #FFB700);
  /* gold gradient */
  color: #000;
  transform: translateX(5px);
  /* modern slide effect */
}

/* Show dropdown with animation */
.nav-links .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Caret icon */
.nav-links .dropdown>a i {
  margin-left: 5px;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

/* Rotate caret on hover */
.nav-links .dropdown:hover>a i {
  transform: rotate(180deg);
}

/* Mobile dropdown adjustments */
@media (max-width: 768px) {
  .nav-links .dropdown-menu {
    position: static;
    /* Remove absolute positioning on mobile */
    transform: none;
    opacity: 0;
    /* Hidden by default */
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
  }

  /* Show dropdown when parent is hovered/clicked */
  .nav-links .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    margin-top: 0.5rem;
  }

  .nav-links .dropdown-menu li a {
    text-align: center;
  }

  .nav-links .dropdown-menu li a:hover {
    transform: none;
    /* Remove slide effect on mobile */
  }
}

/* ===== PAGE HEADERS (Other Pages) ===== */
.page-header {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

/* Animated geometry overlay - same as hero */
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(255, 215, 0, 0.08)),
    url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1200 800%22%3E%3Cdefs%3E%3Cpattern id=%22g%22 width=%2240%22 height=%2240%22 patternUnits=%22userSpaceOnUse%22%3E%3Cpath d=%22M 40 0 L 0 0 0 40%22 fill=%22none%22 stroke=%22rgba(255,215,0,0.08)%22 stroke-width=%221%22/%3E%3C/pattern%3E%3C/defs%3E%3Crect width=%22100%25%22 height=%22100%25%22 fill=%22url(%23g)%22/%3E%3C/svg%3E');
  opacity: 0.65;
  animation: backgroundMove 20s linear infinite;
}

/* Floating orbs - same as hero */
.page-header::after {
  content: '';
  position: absolute;
  inset: -10%;
  pointer-events: none;
  background:
    radial-gradient(220px 220px at 15% 80%, rgba(255, 215, 0, 0.12), transparent 70%),
    radial-gradient(280px 280px at 85% 20%, rgba(255, 165, 0, 0.10), transparent 70%),
    radial-gradient(180px 180px at 70% 70%, rgba(255, 215, 0, 0.08), transparent 70%);
  filter: blur(10px);
  animation: floatOrbs 14s ease-in-out infinite alternate;
}

.page-header .hero-content {
  max-width: 800px;
  z-index: 2;
  animation: fadeInUp 1.1s ease-out both;
}

.page-header h1 {
  animation: goldGlow 3s ease-in-out infinite;
}

.event-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 215, 0, 0.05));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 215, 0, 0.18);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 300ms ease, box-shadow 300ms ease;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
}

.event-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
  border-color: var(--primary-gold);
}

.event-image {
  height: 240px;
  background: linear-gradient(135deg, var(--primary-gold), var(--gold-accent));
  position: relative;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-date-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--primary-gold);
  padding: 8px 15px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
}

.event-status-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-upcoming {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-ongoing {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-completed {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.event-content {
  padding: 2rem;
}

.event-title {
  font-size: 1.4rem;
  color: var(--primary-gold);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.event-description {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.event-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.event-detail i {
  color: var(--primary-gold);
  width: 16px;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: 2px solid rgba(255, 215, 0, 0.3);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--primary-gold);
  color: var(--primary-black);
  border-color: var(--primary-gold);
}

.no-events {
  text-align: center;
  padding: 4rem 0;
  color: rgba(255, 255, 255, 0.6);
}

.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 0;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 215, 0, 0.3);
  border-top: 4px solid var(--primary-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .event-details {
    gap: 0.6rem;
  }

  .filter-tabs {
    gap: 0.5rem;
  }

  .filter-tab {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}


/* ===== STYLES FROM gallery.html ===== */

.page-header {
  height: 60vh;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.8),
      rgba(255, 215, 0, 0.1)),
    radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.2) 0%, transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  margin-top: 80px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 215, 0, 0.05));
  border: 1px solid rgba(255, 215, 0, 0.18);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  cursor: pointer;
}

.gallery-item.animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
  border-color: var(--primary-gold);
}

.gallery-image {
  width: 100%;
  height: 250px;
  position: relative;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  color: white;
}

.gallery-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--primary-gold);
}

.gallery-description {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.4;
}

.gallery-date {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--primary-gold);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 215, 0, 0.9);
  color: var(--primary-black);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: 2px solid rgba(255, 215, 0, 0.3);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  text-transform: capitalize;
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--primary-gold);
  color: var(--primary-black);
  border-color: var(--primary-gold);
  transform: translateY(-2px);
}

.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 0;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 215, 0, 0.3);
  border-top: 4px solid var(--primary-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.no-gallery {
  text-align: center;
  padding: 4rem 0;
  color: rgba(255, 255, 255, 0.6);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: transparent;
}

.modal-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: white;
  padding: 2rem;
  border-radius: 0 0 15px 15px;
}

.modal-title {
  font-size: 1.5rem;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.modal-description {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.5;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: var(--primary-gold);
  font-size: 2rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.close-modal:hover {
  background: rgba(255, 215, 0, 0.2);
  transform: scale(1.1);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: var(--primary-gold);
  font-size: 2rem;
  cursor: pointer;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.modal-nav:hover {
  background: rgba(255, 215, 0, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.modal-prev {
  left: 20px;
}

.modal-next {
  right: 20px;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
  }

  .filter-tabs {
    gap: 0.5rem;
  }

  .filter-tab {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }

  .modal-info {
    padding: 1.5rem;
  }

  .modal-title {
    font-size: 1.2rem;
  }

  .modal-nav {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .close-modal {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    top: 15px;
    right: 15px;
  }
}


/* ===== STYLES FROM officers.html ===== */

/* Enhanced Officer Cards with 3D Effect */
.section {
  padding: 4rem 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.officer-card {
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 215, 0, 0.03));
  backdrop-filter: blur(25px);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  transform: translateY(50px) rotateX(10deg);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 215, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.officer-card.animate {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}

.officer-card:hover {
  transform: translateY(-15px) rotateX(-5deg) scale(1.02);
  box-shadow:
    0 35px 60px rgba(255, 215, 0, 0.25),
    0 0 0 1px var(--primary-gold),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: var(--primary-gold);
}

/* Animated border effect */
.officer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.officer-card:hover::before {
  transform: translateX(100%);
}

/* Glowing orb effect */
.officer-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.officer-card:hover::after {
  opacity: 1;
}

.officer-image {
  height: 300px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-gold), var(--gold-accent));
}

.officer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
  filter: brightness(0.9) contrast(1.1);
}

.officer-card:hover .officer-image img {
  transform: scale(1.08);
  filter: brightness(1) contrast(1.2);
}

.officer-image::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.5) 40%,
      transparent 100%);
  z-index: 1;
}

.officer-position-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary-gold), var(--gold-accent));
  color: var(--primary-black);
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.9rem;
  text-align: center;
  backdrop-filter: blur(15px);
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.officer-card:hover .officer-position-badge {
  transform: translateY(0);
  opacity: 1;
}

.officer-content {
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
}

.officer-name {
  font-size: 1.6rem;
  color: var(--primary-gold);
  margin-bottom: 0.8rem;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.officer-year {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.officer-bio {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1rem;
  opacity: 0.9;
}

.officer-contact {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 1.5rem;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
  color: var(--primary-gold);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(255, 215, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.contact-link::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;
}

.contact-link:hover::before {
  left: 100%;
}

.contact-link:hover {
  background: linear-gradient(135deg, var(--primary-gold), var(--gold-accent));
  color: var(--primary-black);
  transform: translateY(-5px) scale(1.15);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.5);
  border-color: var(--primary-gold);
}

.leadership-structure {
  margin: 4rem 0;
  text-align: center;
}

.position-group {
  margin-bottom: 4rem;
}

.group-title {
  font-size: 2.2rem;
  color: var(--primary-gold);
  margin-bottom: 3rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  font-family: 'Playfair Display', serif;
}

.group-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
  border-radius: 2px;
}

.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem 0;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 215, 0, 0.2);
  border-top: 4px solid var(--primary-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.no-officers {
  text-align: center;
  padding: 6rem 0;
  color: var(--text-muted);
}

.no-officers i {
  font-size: 4rem;
  color: var(--primary-gold);
  margin-bottom: 2rem;
  opacity: 0.7;
}

/* Custom cursor */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: all 0.3s ease;
}

.cursor-follower {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--primary-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.3s ease;
}

.cursor.hover {
  transform: scale(1.5);
  border-color: transparent;
  background: var(--primary-gold);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3rem;
    transition: left 0.3s ease;
  }

  .nav-links.active {
    left: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .officer-card {
    transform: translateY(30px);
  }

  .officer-card:hover {
    transform: translateY(-8px) scale(1.01);
  }

  .officer-image {
    height: 250px;
  }

  .officer-content {
    padding: 2rem 1.5rem;
  }

  .group-title {
    font-size: 1.8rem;
  }

  .cursor,
  .cursor-follower {
    display: none;
  }
}


/* ===== STYLES FROM projects.html ===== */

.page-header {
  height: 60vh;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.8),
      rgba(255, 215, 0, 0.1)),
    radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.2) 0%, transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  margin-top: 80px;
}

.filter-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-button {
  padding: 1rem 2rem;
  background: transparent;
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.filter-button.active,
.filter-button:hover {
  background: var(--primary-gold);
  color: var(--primary-black);
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 215, 0, 0.05));
  border-radius: 15px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-gold);
  display: block;
  font-family: 'Playfair Display', serif;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-top: 0.5rem;
}

.loading {
  text-align: center;
  padding: 3rem;
  color: var(--primary-gold);
}


/* ===== STYLES FROM contact.html ===== */

.tab-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-button {
  padding: 1rem 2rem;
  background: transparent;
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.tab-button.active,
.tab-button:hover {
  background: var(--primary-gold);
  color: var(--primary-black);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}


/* ===== STYLES FROM newsletter.html ===== */

/* Additional styles for newsletter page */
.magazine-hero {
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.8),
      rgba(255, 215, 0, 0.1)),
    radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 165, 0, 0.1) 0%, transparent 50%);
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.magazine-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1200 800%22%3E%3Cdefs%3E%3Cpattern id=%22grid%22 width=%2260%22 height=%2260%22 patternUnits=%22userSpaceOnUse%22%3E%3Cpath d=%22M 60 0 L 0 0 0 60%22 fill=%22none%22 stroke=%22rgba(255,215,0,0.05)%22 stroke-width=%221%22/%3E%3C/pattern%3E%3C/defs%3E%3Crect width=%22100%25%22 height=%22100%25%22 fill=%22url(%23grid)%22/%3E%3C/svg%3E');
  opacity: 0.3;
  animation: gridMove 25s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translateX(0) translateY(0);
  }

  100% {
    transform: translateX(-60px) translateY(-60px);
  }
}

.magazine-content {
  max-width: 800px;
  z-index: 2;
}

.magazine-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  font-weight: 400;
}

.team-section {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 215, 0, 0.05));
  border-radius: 20px;
  padding: 3rem 2rem;
  margin: 3rem 0;
  border: 1px solid rgba(255, 215, 0, 0.15);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.6), rgba(255, 215, 0, 0.08));
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 15px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
  border-color: var(--primary-gold);
}

.team-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid var(--primary-gold);
  object-fit: cover;
  flex-shrink: 0;
}

.team-info h4 {
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.team-role {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
}

.filters-section {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  background: rgba(255, 215, 0, 0.1);
  color: var(--primary-gold);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-gold);
  color: var(--primary-black);
  transform: translateY(-2px);
}

.magazines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.magazine-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 215, 0, 0.05));
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.magazine-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold);
  border-color: var(--primary-gold);
}

.magazine-cover {
  height: 400px;
  background: linear-gradient(45deg, var(--primary-gold), var(--gold-accent));
  position: relative;
  overflow: hidden;
}

.magazine-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.magazine-card:hover .magazine-cover img {
  transform: scale(1.05);
}

.magazine-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.magazine-card:hover .magazine-overlay {
  opacity: 1;
}

.magazine-info {
  padding: 1.5rem;
}

.magazine-title {
  color: var(--primary-gold);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.magazine-date {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.magazine-preview {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.view-btn {
  background: var(--primary-gold);
  color: var(--primary-black);
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.view-btn:hover {
  background: var(--gold-accent);
  transform: translateY(-2px);
}

/* Modal styles */
.magazine-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  backdrop-filter: blur(10px);
}

.magazine-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.95), rgba(255, 215, 0, 0.1));
  border: 2px solid var(--primary-gold);
  border-radius: 20px;
  padding: 2rem;
  max-width: 800px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.close-btn {
  background: none;
  border: none;
  color: var(--primary-gold);
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-btn:hover {
  transform: scale(1.1);
  color: var(--gold-accent);
}

.magazine-viewer {
  text-align: center;
}

.magazine-cover-large {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-dark);
}

.full-magazine-btn {
  background: var(--primary-gold);
  color: var(--primary-black);
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.full-magazine-btn:hover {
  background: var(--gold-accent);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    flex-direction: column;
    text-align: center;
  }

  .magazines-grid {
    grid-template-columns: 1fr;
  }

  .filters-section {
    justify-content: stretch;
  }

  .filter-btn {
    flex: 1;
    text-align: center;
  }
}