/* ========================================
   THE LITTLE ANGELS EDUCATION SYSTEM
   Liquid Glass (Glassmorphism) Theme
   Multi-Page Website
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --primary: #008bd1;
  --primary-dark: #006b9f;
  --primary-light: #33a2da;
  --accent: #FFC107;
  --accent-glow: #FFD54F;
  --accent-light: rgba(255, 193, 7,0.12);
  --bg: #f0f2f5;
  --bg-alt: #e8eaf0;
  --bg-warm: #faf8f5;
  --text: #0d0d3b;
  --text-light: #4a4a6a;
  --white: #ffffff;
  --success: #27ae60;
  --danger: #e74c3c;
  --warning: #f39c12;
  --glass-bg: rgba(255, 255, 255, 0.22);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: rgba(0, 139, 209, 0.1);
  --glass-bg-dark: rgba(0, 139, 209, 0.72);
  --glass-border-dark: rgba(255, 193, 7, 0.3);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100vw; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
iframe, video { max-width: 100%; width: 100%; box-sizing: border-box; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Background ---------- */
body::before {
  content: '';
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 600px 600px at 15% 15%, rgba(0, 139, 209,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 85% 55%, rgba(255, 193, 7,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 50% 90%, rgba(0, 139, 209,0.03) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

/* ---------- Glass Panels ---------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,0.45);
}
.glass-dark {
  background: var(--glass-bg-dark);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-border-dark);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.08);
  color: var(--white);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp { from { opacity:0; transform:translateY(40px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes slideDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-10px); } }
@keyframes glowPulse { 0%,100% { box-shadow:0 0 15px rgba(255, 193, 7,0.3); } 50% { box-shadow:0 0 30px rgba(255, 193, 7,0.6); } }
@keyframes ripple { 0% { transform:scale(0.8);opacity:0.3; } 50% { transform:scale(1.1);opacity:0.1; } 100% { transform:scale(0.8);opacity:0.3; } }
@keyframes shimmer { 0% { background-position:-200% center; } 100% { background-position:200% center; } }
@keyframes spin { from { transform:rotate(0deg); } to { transform:rotate(360deg); } }

.animate-in { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; will-change: transform, opacity; }
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- TOP BAR ---------- */
.top-bar {
  background: #004266;
  color: var(--white);
  padding: 8px 0;
  font-size: 0.82rem;
  z-index: 100;
  position: relative;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar a { color: var(--accent); font-weight: 600; }
.top-bar a:hover { color: var(--accent-glow); text-shadow: 0 0 10px rgba(255, 193, 7,0.4); }
.top-bar i { margin-right: 6px; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: sticky; top: 0; z-index: 999;
  background: var(--primary);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
  transition: var(--transition);
}
@supports not (backdrop-filter: blur(12px)) {
  .navbar { background: var(--primary); }
}
.navbar.scrolled { background: var(--primary); box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.navbar .container {
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  width: 100%; 
  max-width: none;
  padding: 0 5%;
  height: 70px; 
}

.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.nav-logo span { font-family: var(--font-heading); font-weight: 800; font-size: 0.9rem; color: var(--white); white-space: nowrap !important; }
.nav-logo .logo-accent { color: var(--accent-glow); }

.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; flex-shrink: 0; }
.nav-links a {
  padding: 8px 10px; font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.85);
  border-radius: 10px; position: relative; transition: var(--transition);
  white-space: nowrap; display: inline-flex; align-items: center;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; width: 0; height: 2px;
  background: var(--accent-glow); transition: 0.3s ease; transform: translateX(-50%); border-radius: 2px;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-links a:hover::after { width: 55%; }
.nav-links a.active { color: var(--accent-glow); background: rgba(255,255,255,0.12); }

.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Admin Badge */
.admin-badge {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, #FFD54F 100%);
  color: #004266; font-size: 0.8rem; font-weight: 700;
  animation: slideDown 0.3s ease;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.admin-logout-btn {
  background: rgba(0,0,0,0.15); border: none; color: #ffffff;
  width: 24px; height: 24px; border-radius: 6px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 0.7rem;
  transition: var(--transition);
}
.admin-logout-btn:hover { background: rgba(0,0,0,0.3); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; z-index: 1001; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--white); border-radius: 3px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.nav-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.4); z-index: 999; opacity: 0; visibility: hidden; transition: 0.3s ease;
}
.nav-overlay.active { opacity: 1; visibility: visible; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem;
  border-radius: 14px; cursor: pointer; border: none; transition: all 0.35s ease;
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}
.btn:hover::before { left: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #FFD54F 100%);
  color: #004266; box-shadow: 0 4px 20px rgba(255, 193, 7,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(255, 193, 7,0.45); }

.btn-accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white); box-shadow: 0 4px 20px rgba(0, 139, 209,0.25);
}
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0, 139, 209,0.4); }

.btn-outline-dark {
  background: transparent; color: var(--text); border: 2px solid rgba(0, 139, 209,0.15);
  padding: 11px 26px;
}
.btn-outline-dark:hover { background: rgba(0, 139, 209,0.04); border-color: var(--primary); color: var(--primary); }

.btn-outline-light {
  background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px); padding: 11px 26px;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); color: var(--accent-glow); transform: translateY(-3px); }

.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #c0392b; transform: translateY(-2px); }

.btn-sm { padding: 8px 16px; font-size: 0.82rem; border-radius: 10px; }
.btn-icon {
  width: 38px; height: 38px; padding: 0; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem;
}

/* ---------- SECTION & HEADER ---------- */
.section { padding: 90px 0; position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header .tag {
  display: inline-block; padding: 6px 20px; background: var(--accent-light);
  border-radius: 50px; color: var(--accent); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px;
}
.section-header h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); color: var(--primary); margin-bottom: 12px; }
.section-header p { font-size: 1rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, var(--primary-dark) 100%);
  padding: 80px 0 60px; position: relative; overflow: hidden; text-align: center; color: var(--white);
}
.page-hero::before {
  content: ''; position: absolute; top: -50%; right: -15%; width: 500px; height: 500px;
  border-radius: 50%; border: 1px solid rgba(255, 193, 7,0.12); animation: ripple 8s infinite ease-in-out;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%; width: 350px; height: 350px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.06); animation: ripple 10s infinite ease-in-out 3s;
}
.page-hero h1 { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 900; margin-bottom: 10px; position: relative; z-index: 1; }
.page-hero p { font-size: 1.05rem; opacity: 0.85; position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }

/* ---------- HOME HERO ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--primary-dark); }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden; background: #000; }
.hero-bg img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1); transition: opacity 1s ease-in-out, transform 6s linear; }
.hero-bg img.active { opacity: 1; transform: scale(1.1); z-index: 1; }
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2;
  background: linear-gradient(135deg, rgba(0, 139, 209, 0.4) 0%, rgba(0, 139, 209, 0.25) 50%, rgba(255, 193, 7, 0.1) 100%);
}

.hero-nav-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  background-color: transparent; color: white; border: none; font-size: 1.5rem;
  padding: 5px 10px; cursor: pointer; transition: background 0.3s ease;
  border-radius: 4px; text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}
.hero-nav-arrow:hover { background-color: rgba(0, 0, 0, 0.1); }
.hero-nav-arrow.left { left: 20px; }
.hero-nav-arrow.right { right: 20px; }

@media (max-width: 768px) {
  .hero-nav-arrow {
    font-size: 1.2rem;
    padding: 3px 6px;
  }
  .hero-nav-arrow.left { left: 5px; }
  .hero-nav-arrow.right { right: 5px; }
}
.hero-ripple {
  position: absolute; border-radius: 50%; border: 1px solid rgba(255, 193, 7,0.12);
  z-index: 2; pointer-events: none; animation: ripple 7s infinite ease-in-out;
}
.hero-ripple:nth-child(4) { width: 350px; height: 350px; top: 12%; right: 6%; }
.hero-ripple:nth-child(5) { width: 220px; height: 220px; bottom: 18%; left: 4%; animation-delay: 2.5s; }
.hero-ripple:nth-child(6) { width: 180px; height: 180px; top: 55%; right: 25%; animation-delay: 5s; }

.hero-content { position: relative; z-index: 3; text-align: center; max-width: 880px; padding: 40px 24px; color: var(--white); }
.hero-badge {
  display: inline-block; padding: 8px 28px; background: var(--accent);
  border: 1px solid var(--accent); border-radius: 50px;
  color: #004266; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero h1 { font-size: clamp(2rem,5vw,3.4rem); font-weight: 900; line-height: 1.15; margin-bottom: 18px; text-shadow: 0 2px 20px rgba(0,0,0,0.25); }
.hero h1 .glow { color: var(--accent-glow); text-shadow: 0 0 30px rgba(255, 193, 7,0.4); }
.hero .hero-sub { font-size: clamp(0.95rem,2.2vw,1.25rem); font-weight: 300; line-height: 1.65; opacity: 0.9; margin-bottom: 32px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-offer {
  display: inline-block; padding: 12px 30px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 14px;
  backdrop-filter: blur(8px); margin-bottom: 28px;
  font-size: 1.1rem; font-weight: 700; color: var(--accent-glow);
  animation: glowPulse 3s infinite;
}
.hero-offer strong { color: var(--white); font-size: 1.3rem; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- HIGHLIGHT CARDS ---------- */
.highlights { position: relative; margin-top: 60px; z-index: 10; padding-bottom: 20px; }
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.highlight-card {
  padding: 0 0 36px 0; text-align: center; transition: all 0.4s ease;
}
.highlight-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0, 139, 209, 0.12), 0 5px 15px rgba(0, 0, 0, 0.05); }

.card-img-top {
  width: 100%; height: 220px; object-fit: cover;
  border-top-left-radius: var(--radius); border-top-right-radius: var(--radius);
  margin-bottom: 20px; display: block;
}
.highlight-card h3 { padding: 0 28px; font-size: 1.15rem; color: var(--primary); margin-bottom: 6px; }
.highlight-card p { padding: 0 28px; font-size: 0.88rem; color: var(--text-light); }

/* ---------- PRINCIPAL PAGE ---------- */
.principal-content { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: start; }
.principal-image-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 139, 209,0.15);
  aspect-ratio: 5/7; background: linear-gradient(135deg, var(--bg-alt), var(--bg));
  display: flex; align-items: center; justify-content: center;
}
.principal-image-frame img { width: 100%; height: 100%; object-fit: cover; }
.principal-image-frame .placeholder-icon { font-size: 5rem; color: rgba(0, 139, 209,0.15); }
.principal-caption {
  text-align: center; padding: 18px 0; font-family: var(--font-heading);
  font-weight: 600; color: var(--primary); font-size: 1.05rem;
}
.principal-caption small { display: block; color: var(--accent); font-size: 0.85rem; font-weight: 500; margin-top: 2px; }

.principal-text h3 { font-size: 1.6rem; color: var(--primary); margin-bottom: 18px; }
.principal-text p { color: var(--text-light); margin-bottom: 16px; line-height: 1.85; font-size: 0.98rem; }
.principal-text blockquote {
  padding: 18px 24px; margin: 24px 0;
  background: rgba(0, 139, 209,0.04); border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0; font-style: italic;
  color: var(--primary); font-weight: 500; font-size: 1.02rem; line-height: 1.7;
}

/* ---------- RESULTS PAGE ---------- */
.year-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.year-tab {
  padding: 10px 24px; border-radius: 12px; cursor: pointer; font-weight: 600;
  font-size: 0.92rem; background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px); color: var(--text); transition: var(--transition);
  font-family: var(--font-heading);
}
.year-tab:hover { background: rgba(0, 139, 209,0.06); color: var(--primary); }
.year-tab.active { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); border-color: transparent; box-shadow: 0 4px 16px rgba(0, 139, 209,0.25); }

.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.result-card {
  padding: 30px 24px; text-align: center; position: relative; transition: var(--transition);
}
.result-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px var(--glass-shadow); }

.result-avatar {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.6rem; font-weight: 700; font-family: var(--font-heading);
  box-shadow: 0 4px 16px rgba(0, 139, 209,0.2);
  overflow: hidden;
}
.result-avatar img { width: 100%; height: 100%; object-fit: cover; }

.result-card h4 { font-size: 1.1rem; color: var(--primary); margin-bottom: 4px; }
.result-marks { font-size: 0.88rem; color: var(--text-light); margin-bottom: 14px; font-weight: 500; }

/* Circular gauge */
.gauge-wrap { position: relative; width: 90px; height: 90px; margin: 0 auto 8px; }
.gauge-wrap svg { transform: rotate(-90deg); }
.gauge-bg { fill: none; stroke: rgba(0, 139, 209,0.08); stroke-width: 6; }
.gauge-fill { fill: none; stroke-width: 6; stroke-linecap: round; transition: stroke-dashoffset 1s ease; }
.gauge-text {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-size: 1.05rem; font-weight: 800; color: var(--primary); font-family: var(--font-heading);
}

/* Admin overlay on card */
.card-admin-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 139, 209,0.8); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  opacity: 0; transition: 0.3s ease; backdrop-filter: blur(4px);
}
.result-card:hover .card-admin-overlay { opacity: 1; }
.card-admin-overlay .btn-icon { background: rgba(255,255,255,0.15); color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.card-admin-overlay .btn-icon:hover { background: var(--accent); color: #004266; border-color: var(--accent); }

/* ---------- GALLERY PAGE ---------- */
.masonry-grid { columns: 3; column-gap: 20px; }
.gallery-item {
  break-inside: avoid; margin-bottom: 20px; border-radius: var(--radius);
  overflow: hidden; position: relative; cursor: pointer;
  border: 1px solid var(--glass-border); box-shadow: 0 6px 20px var(--glass-shadow);
  transition: all 0.4s ease;
}
.gallery-item img { width: 100%; display: block; transition: transform 0.5s ease; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 14px 40px var(--glass-shadow); }
.gallery-item:hover img { transform: scale(1.05); }

.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 18px;
  background: linear-gradient(transparent, rgba(0, 139, 209,0.85)); color: var(--white);
  transform: translateY(100%); transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }
.gallery-caption p { font-size: 0.9rem; font-weight: 500; }

/* Gallery admin */
.gallery-admin-del {
  position: absolute; top: 10px; right: 10px; width: 32px; height: 32px;
  background: var(--danger); color: var(--white); border: none; border-radius: 8px;
  cursor: pointer; font-size: 0.85rem; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: 0.3s ease; z-index: 5;
}
.gallery-item:hover .gallery-admin-del { opacity: 1; }
.gallery-admin-del:hover { background: #c0392b; transform: scale(1.1); }

.gallery-caption-edit {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 8px; z-index: 5;
  background: rgba(0, 139, 209,0.9);
}
.gallery-caption-edit input {
  width: 100%; padding: 8px 12px; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px; background: rgba(255,255,255,0.1); color: var(--white);
  font-family: var(--font-body); font-size: 0.85rem;
}
.gallery-caption-edit input:focus { outline: none; border-color: var(--accent); }

/* Floating add button */
.btn-fab-admin {
  position: fixed; bottom: 90px; right: 20px; width: 56px; height: 56px;
  border-radius: 16px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--accent) 0%, #FFD54F 100%);
  color: #004266; font-size: 1.4rem;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(255, 193, 7,0.4); z-index: 50;
  transition: all 0.35s ease;
}
.btn-fab-admin:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 10px 36px rgba(255, 193, 7,0.55); }
.admin-active .btn-fab-admin { display: flex; }

/* ---------- CAREERS PAGE ---------- */
.careers-list { display: flex; flex-direction: column; gap: 18px; max-width: 800px; margin: 0 auto; }
.career-card {
  padding: 28px 30px; display: flex; align-items: flex-start; gap: 18px; transition: var(--transition);
  position: relative;
}
.career-card:hover { transform: translateX(4px); box-shadow: 0 10px 36px var(--glass-shadow); }

.career-icon {
  width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center; color: var(--accent-glow); font-size: 1.2rem;
}
.career-info { flex: 1; }
.career-info h4 { font-size: 1.1rem; color: var(--primary); margin-bottom: 2px; }
.career-info .dept { font-size: 0.82rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.career-info p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

.career-status {
  padding: 4px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap;
}
.career-status.open { background: rgba(39,174,96,0.12); color: var(--success); }
.career-status.closed { background: rgba(231,76,60,0.12); color: var(--danger); }

.career-admin-actions { display: flex; gap: 6px; margin-top: 12px; }

/* ---------- MODALS ---------- */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(13,20,83,0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s ease; padding: 20px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
  width: 100%; padding: 0; animation: slideDown 0.35s ease;
  max-height: 90vh; overflow-y: auto;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: auto !important;
}
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 28px; border-bottom: 1px solid rgba(0, 139, 209,0.08);
}
.modal-header h3 { font-size: 1.15rem; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.modal-close {
  width: 34px; height: 34px; border-radius: 10px; border: none; cursor: pointer;
  background: rgba(0, 139, 209,0.05); color: var(--text-light); font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.modal-close:hover { background: var(--danger); color: var(--white); }
.modal-body { padding: 22px 28px; }
.modal-footer { padding: 16px 28px; border-top: 1px solid rgba(0, 139, 209,0.08); display: flex; justify-content: flex-end; gap: 10px; }

body.modal-open {
  overflow: hidden !important;
  touch-action: none !important;
}

/* ---------- FORMS ---------- */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-weight: 600; font-size: 0.82rem; color: var(--text);
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; max-width: 100%; padding: 11px 15px; border: 1px solid rgba(0, 139, 209,0.1);
  border-radius: 12px; font-family: var(--font-body); font-size: 0.92rem;
  color: var(--text); background: rgba(255,255,255,0.7); backdrop-filter: blur(4px);
  transition: var(--transition);
  box-sizing: border-box;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 193, 7,0.12);
  background: rgba(255,255,255,0.95);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-error { color: var(--danger); font-size: 0.82rem; margin-top: 6px; font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- TOAST ---------- */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
  padding: 14px 28px; border-radius: 14px; font-size: 0.9rem; font-weight: 600;
  z-index: 3000; display: flex; align-items: center; gap: 10px;
  opacity: 0; transition: all 0.4s ease; backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-success { background: rgba(39,174,96,0.9); color: var(--white); }
.toast-error { background: rgba(231,76,60,0.9); color: var(--white); }
.toast-info { background: rgba(0, 139, 209,0.9); color: var(--white); }
.toast-warning { background: rgba(243,156,18,0.9); color: var(--white); }

/* ---------- FOOTER ---------- */
.footer { position: relative; overflow: hidden; padding: 60px 0 0; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--primary-dark); z-index: -1; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-col h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 36px; height: 3px; background: var(--accent); border-radius: 3px; }
.footer-col p, .footer-col a { color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.8; }
.footer-col a:hover { color: var(--accent-glow); }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.contact-item i { color: var(--accent); margin-top: 4px; flex-shrink: 0; }
.footer-map { border-radius: var(--radius-sm); overflow: hidden; margin-top: 10px; border: 1px solid rgba(255,255,255,0.08); height: 150px; }
.footer-map iframe { width: 100%; height: 100%; border: 0; filter: brightness(0.82) contrast(1.1); }
.social-links { display: flex; gap: 10px; margin-top: 14px; }
.social-links a {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6); font-size: 1rem; transition: var(--transition);
}
.social-links a:hover { background: var(--accent); color: #004266; border-color: var(--accent); transform: translateY(-3px); }
.footer-bottom { padding: 18px 0; text-align: center; color: rgba(255,255,255,0.35); font-size: 0.8rem; }
.aura-link { color: inherit; text-decoration: underline; transition: color 0.3s ease; }
.aura-link:hover { color: var(--accent-glow); }

/* ---------- FLOATING WHATSAPP ---------- */
.floating-whatsapp {
  position: fixed; bottom: 28px; right: 28px; z-index: 1000;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: all 0.35s ease;
  animation: waFloat 3s ease-in-out infinite;
}
.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
}
@keyframes waFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---------- GALLERY LIGHTBOX ---------- */
.lightbox-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.92); z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
  cursor: zoom-out; padding: 20px;
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-overlay img {
  max-width: 90%; max-height: 90vh; border-radius: 12px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.5); object-fit: contain;
  animation: slideDown 0.35s ease;
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.1); color: #fff; font-size: 1.3rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease; backdrop-filter: blur(8px);
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); transform: scale(1.1); }
.lightbox-caption {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.8); font-size: 0.95rem; font-weight: 500;
  text-align: center; max-width: 600px;
  background: rgba(0,0,0,0.4); padding: 10px 24px; border-radius: 10px;
  backdrop-filter: blur(8px);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1024px) {
  .principal-content { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .masonry-grid { columns: 2; }
}
@media (min-width: 1025px) and (max-width: 1100px) {
  .nav-logo span { font-size: 0.75rem; }
  .navbar .container { gap: 1vw; }
}
@media (max-width:1024px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh;
    flex-direction: column; background: rgba(255,255,255,0.97); backdrop-filter: blur(30px);
    padding: 100px 28px 28px; gap: 4px; transition: right 0.4s ease;
    box-shadow: -8px 0 40px rgba(0, 139, 209,0.08); z-index: 1000;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1rem; padding: 13px 18px; width: 100%; color: var(--text); }
  .nav-links a.active { color: var(--accent); background: rgba(255, 193, 7,0.08); }
  .nav-links a:hover { color: var(--primary); background: rgba(0, 139, 209,0.04); }
}
@media (max-width:768px) {
  .highlights-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .masonry-grid { columns: 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero h1 { font-size: 1.6rem; }
  .hero-offer { font-size: 0.95rem; }
}
@media (max-width:480px) {
  .masonry-grid { columns: 1; }
  .navbar .container { height: 58px; }
  .nav-logo span { font-size: 0.9rem; }
  .nav-logo img { width: 36px; height: 36px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .admin-badge { font-size: 0.7rem; padding: 5px 10px; }
}

/* ---------- FEATURE CARDS ANIMATIONS ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.highlights-grid .glass.animate-in {
  /* Override default animate-in */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
  animation: none !important;
}

.highlights-grid .glass.animate-in.visible {
  animation: fadeInUp 0.6s ease-out forwards !important;
}

.highlights-grid .glass:nth-child(1).visible { animation-delay: 0.1s !important; }
.highlights-grid .glass:nth-child(2).visible { animation-delay: 0.2s !important; }
.highlights-grid .glass:nth-child(3).visible { animation-delay: 0.3s !important; }

/* Card Hover Effects */
.highlights-grid .glass {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
.highlights-grid .glass:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 40px rgba(0, 139, 209, 0.12), 0 5px 15px rgba(0, 0, 0, 0.05) !important;
}

/* Button Hover Effects */
.btn-accent {
  transition: all 0.3s ease;
}
.btn-accent:hover {
  transform: scale(1.05) !important;
  background: var(--primary-dark) !important;
  color: #ffffff !important;
}

.btn-outline-dark {
  transition: all 0.3s ease;
}
.btn-outline-dark:hover {
  transform: scale(1.05) !important;
  background: var(--primary) !important;
  color: #ffffff !important;
}

/* ---------- UI/UX PRO MAX ACCESSIBILITY ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* FORCE NAVBAR ALIGNMENT */
header nav ul, .nav-list, .navbar-nav, .nav-links {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 15px !important;
}

header nav ul li a, .nav-list a, .navbar-nav a, .nav-links a {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Ensure the Downloads button aligns correctly */
.btn-download, .nav-btn {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* ---------- ABOUT ROWS ---------- */
.about-rows-container {
  display: flex; flex-direction: column; gap: 50px;
}
.about-row {
  display: flex; flex-direction: row; align-items: center; gap: 40px;
}
.about-row.reverse {
  flex-direction: row-reverse;
}
.about-row-image {
  flex: 1; width: 50%;
}
.about-row-image img {
  width: 100%; height: auto; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 139, 209, 0.15); object-fit: cover;
}
.about-row-text {
  flex: 1; width: 50%; text-align: left;
}
.about-row-text h3 {
  font-size: 1.8rem; color: var(--primary); margin-bottom: 15px; line-height: 1.3;
}
.about-row-text p {
  font-size: 1.05rem; color: var(--text-light); line-height: 1.7;
}

@media (max-width: 768px) {
  .about-row, .about-row.reverse {
    flex-direction: column;
    text-align: center;
  }
  .about-row-text {
    text-align: center;
  }
  .about-row-image, .about-row-text {
    width: 100%;
  }
}

/* ========== FAQ ACCORDION ========== */
.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item[open] {
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.faq-item summary {
  padding: 1.2rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary);
  cursor: pointer;
  list-style: none; /* Hide default marker */
  display: flex;
  align-items: center;
  position: relative;
  transition: background 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker in Safari */
}

.faq-arrow {
  margin-left: auto;
  color: var(--text-light);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-content {
  padding: 0 1.5rem 1.2rem 1.5rem;
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
  border-top: 1px solid rgba(0,0,0,0.03);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

