/* ==========================================================================
   UJCT — PREMIUM LIGHT THEME DESIGN SYSTEM
   Professional | Elegant | Richly Animated | Glassmorphic
   ========================================================================== */

/* Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* =====================
   CSS VARIABLES (Light)
   ===================== */
:root {
  /* Brand Palette */
  --primary:         #1d4ed8;        /* Royal Blue */
  --primary-light:   #3b82f6;        /* Sky Blue */
  --primary-pale:    #eff6ff;        /* Pale Blue Tint */
  --primary-border:  #bfdbfe;        /* Blue Border */
  --accent-gold:     #f59e0b;        /* Radiant Amber */
  --accent-gold-dark:#d97706;
  --accent-emerald:  #059669;        /* Trust Emerald */
  --accent-rose:     #e11d48;        /* Warm Rose */

  /* Backgrounds */
  --bg-page:         #f8faff;        /* Soft Blue-White */
  --bg-section-alt:  #f0f5ff;        /* Section Alt */
  --bg-card:         #ffffff;
  --bg-card-hover:   #f5f9ff;
  --bg-hero:         #eef4ff;

  /* Borders */
  --border-light:    rgba(29, 78, 216, 0.06);
  --border-medium:   rgba(29, 78, 216, 0.12);
  --border-accent:   rgba(29, 78, 216, 0.18);

  /* Text */
  --text-primary:    #0f172a;        /* Near-Black */
  --text-secondary:  #1e3a8a;        /* Dark Blue */
  --text-muted:      #64748b;        /* Slate */
  --text-light:      #94a3b8;

  /* Premium Shadows */
  --shadow-sm:       0 2px 8px rgba(29, 78, 216, 0.04);
  --shadow-md:       0 8px 30px rgba(29, 78, 216, 0.06), 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-lg:       0 20px 50px rgba(29, 78, 216, 0.1), 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-xl:       0 30px 80px rgba(29, 78, 216, 0.12), 0 10px 30px rgba(15, 23, 42, 0.04);
  --shadow-glow:     0 0 40px rgba(29, 78, 216, 0.15);

  /* Transitions */
  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --transition:      all 0.5s var(--ease-out);
  --transition-fast: all 0.25s var(--ease-out);

  /* Typography */
  --font-sans:       'Inter', sans-serif;
  --font-serif:      'Playfair Display', serif;

  /* Radius */
  --radius-sm:       12px;
  --radius-md:       20px;
  --radius-lg:       28px;
  --radius-xl:       36px;
}

/* =====================
   SCROLLBAR & PROGRESS
   ===================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-section-alt); }
::-webkit-scrollbar-thumb { 
  background: linear-gradient(180deg, var(--primary-border), var(--primary-light)); 
  border-radius: 4px; 
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Scroll Progress Bar at Viewport Top */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent-gold), var(--accent-rose));
  width: 0%;
  z-index: 10000;
  transition: width 0.1s var(--ease-out);
  box-shadow: 0 2px 10px rgba(29, 78, 216, 0.3);
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { 
  box-sizing: border-box; 
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

html { 
  scroll-behavior: smooth; 
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .serif-font {
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
}

/* =====================
   UTILITY & PREMIUM CLASSES
   ===================== */
.text-gradient-blue {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-indigo {
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Elegant Section Divider */
.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), transparent);
  border-radius: 4px;
  margin: 1.25rem auto 0;
  position: relative;
}

.section-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--accent-gold);
  animation: pulse-ring 2s infinite;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  background: rgba(29, 78, 216, 0.05);
  border: 1px solid var(--primary-border);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.section-label i {
  animation: spinSlow 8s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================================
   PREMIUM GLASS CARDS WITH MOUSE SPOTLIGHT GLOW
   ============================================================ */
.spotlight-card {
  position: relative;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(29, 78, 216, 0.08) !important;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s var(--ease-out) !important;
  z-index: 1;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.12), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s ease;
}

/* Mouse-following spotlight overlay */
.spotlight-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(29, 78, 216, 0.08),
    transparent 50%
  );
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.spotlight-card:hover {
  transform: translateY(-6px) scale(1.005);
  box-shadow: var(--shadow-xl);
  border-color: rgba(29, 78, 216, 0.2) !important;
}

.spotlight-card:hover::after {
  opacity: 1;
}

/* 3D tilt custom class compatibility */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.tilt-card > * {
  transform: translateZ(20px);
}

/* ============================================================
   BUTTONS (MAGNETIC & ANIMATED)
   ============================================================ */
.glow-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff !important;
  border: none;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.9rem 2.25rem;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.25);
  position: relative;
  overflow: hidden;
  z-index: 2;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.glow-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-light) 0%, #60a5fa 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.glow-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(29, 78, 216, 0.35);
}

.glow-btn:hover::before { 
  opacity: 1; 
}

.glow-btn:active {
  transform: translateY(-1px);
}

/* Shimmer Light Sweep on Primary buttons */
.glow-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-25deg);
  z-index: 1;
}

.glow-btn:hover::after {
  animation: shineSweep 1.5s var(--ease-out) infinite;
}

@keyframes shineSweep {
  100% { left: 125%; }
}

/* Gold CTA variant */
.glow-btn-gold {
  background: linear-gradient(135deg, var(--accent-gold-dark) 0%, var(--accent-gold) 100%);
  color: #fff !important;
  border: none;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.9rem 2.25rem;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25);
  position: relative;
  overflow: hidden;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.glow-btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.35);
}

/* Outline premium button */
.btn-outline-primary-custom {
  background: transparent;
  color: var(--primary) !important;
  border: 2.5px solid var(--primary-border);
  border-radius: 50px;
  padding: 0.85rem 2.25rem;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-outline-primary-custom:hover {
  background: rgba(29, 78, 216, 0.04);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* =====================
   NAVIGATION
   ===================== */
.navbar-light-glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(29, 78, 216, 0.06);
  padding: 1.25rem 0;
  transition: padding 0.4s var(--ease-out), background-color 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 4px 20px rgba(29, 78, 216, 0.02);
}

.navbar-light-glass.scrolled {
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(29, 78, 216, 0.06);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(29, 78, 216, 0.25);
  transition: var(--transition);
  flex-shrink: 0;
  position: relative;
}

.brand-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 1px solid var(--primary-border);
  opacity: 0.5;
  transition: var(--transition);
}

.navbar-brand:hover .brand-icon {
  transform: rotate(-10deg) scale(1.08);
}

.navbar-brand:hover .brand-icon::after {
  transform: scale(1.15);
  opacity: 0;
}

/* Logo image in navbar */
.brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  transition: var(--transition);
  display: block;
}

.navbar-brand:hover .brand-logo {
  transform: scale(1.06);
}

.brand-text {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.brand-text span {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 1.15rem !important;
  letter-spacing: 0.2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 50%;
}

/* =====================
   HERO SECTION (MESH GRADIENT)
   ===================== */
.hero-section {
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 100px;
  display: flex;
  align-items: center;
  position: relative;
  /* Complex animated moving mesh background */
  background: 
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.12), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.08), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.06), transparent 60%),
    var(--bg-page);
  background-size: 200% 200%;
  animation: meshGradientShift 20s ease infinite;
  overflow: hidden;
}

@keyframes meshGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Decorative floating blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  animation: blobFloat 12s ease-in-out infinite;
}

.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16), transparent 70%);
  top: -150px;
  right: -100px;
}

.hero-blob-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12), transparent 70%);
  bottom: -50px;
  left: -100px;
  animation-delay: 4s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33%        { transform: translate(40px, -40px) scale(1.08) rotate(120deg); }
  66%        { transform: translate(-20px, 30px) scale(0.92) rotate(240deg); }
}

.hero-section .container { position: relative; z-index: 2; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--primary);
  background: rgba(29, 78, 216, 0.05);
  border: 1px solid var(--primary-border);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.75rem;
  color: var(--text-primary);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.75rem;
  max-width: 580px;
  line-height: 1.8;
}

/* Typing cursor dynamic element style */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  background-color: var(--primary-light);
  margin-left: 2px;
  animation: blinkCursor 0.8s step-end infinite;
}

@keyframes blinkCursor {
  from, to { background-color: transparent }
  50% { background-color: var(--primary-light) }
}

/* Premium Hero Info Card */
.hero-card {
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent-gold));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 50px;
}

/* Benefit mini-cards inside hero */
.benefit-card-inline {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: rgba(29, 78, 216, 0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.benefit-card-inline:last-child { margin-bottom: 0; }

.benefit-card-inline:hover {
  background: var(--primary-pale);
  border-color: var(--primary-border);
  transform: translateX(6px) scale(1.01);
}

.benefit-card-inline .icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-pale), #dbeafe);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  border: 1px solid var(--primary-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.benefit-card-inline:hover .icon-wrapper {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 4px 10px rgba(29, 78, 216, 0.15);
}

/* =====================
   SECTION HEADERS
   ===================== */
.section-header {
  margin-bottom: 4.5rem;
  position: relative;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 0.85rem;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 1.15rem auto 0;
  line-height: 1.8;
}

/* =====================
   OBJECTIVES SECTION
   ===================== */
#objectives {
  background: var(--bg-section-alt);
  border-top: 1px solid rgba(29, 78, 216, 0.05);
  border-bottom: 1px solid rgba(29, 78, 216, 0.05);
  position: relative;
}

.objectives-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .objectives-container { grid-template-columns: 1fr; gap: 2.5rem; }
}

.objective-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.objective-item-btn {
  background: var(--bg-card);
  border: 1px solid rgba(29, 78, 216, 0.06);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.objective-item-btn:hover {
  background: var(--primary-pale);
  border-color: var(--primary-border);
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.objective-item-btn.active {
  background: linear-gradient(135deg, var(--primary-pale) 0%, #e0eaff 100%);
  border-color: var(--primary);
  transform: translateX(12px);
  box-shadow: var(--shadow-md);
}

.objective-number {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-light);
  min-width: 36px;
  transition: var(--transition);
}

.objective-item-btn.active .objective-number {
  color: var(--primary);
  transform: scale(1.1);
}

.objective-title-short {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.objective-item-btn .text-muted {
  font-size: 0.82rem;
  color: var(--text-muted) !important;
}

/* Right Detail Card */
.objective-detail-container {
  position: sticky;
  top: 120px;
}

.objective-detail-card {
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.objective-detail-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.detail-content-wrapper {
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  opacity: 1;
  transform: translateY(0);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.detail-content-wrapper.transitioning {
  opacity: 0;
  transform: translateY(20px);
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.detail-badge {
  background: rgba(29, 78, 216, 0.05);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  padding: 0.4rem 1.15rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.detail-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-pale), #dbeafe);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.35rem;
  box-shadow: var(--shadow-sm);
  animation: pulseIcon 3s infinite ease-in-out;
}

@keyframes pulseIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); box-shadow: 0 0 15px rgba(29,78,216,0.15); }
}

.detail-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.detail-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.detail-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  border-top: 1px solid rgba(29, 78, 216, 0.06);
  padding-top: 1.75rem;
}

.footer-metric-group {
  background: rgba(29, 78, 216, 0.02);
  border: 1px solid rgba(29, 78, 216, 0.06);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  transition: var(--transition);
}

.footer-metric-group:hover {
  background: var(--primary-pale);
  border-color: var(--primary-border);
  transform: translateY(-2px);
}

.footer-metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.footer-metric-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

/* =====================
   STATS SECTION (SLATE GRADIENT)
   ===================== */
.stats-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
}

.stats-section .stat-card {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.stats-section .stat-card:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.3);
}

.stat-card .stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin: 0 auto 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

.stats-section .stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-color: transparent;
}

.stat-number {
  font-size: 3.25rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-serif);
  margin-bottom: 0.5rem;
  line-height: 1;
  background: linear-gradient(135deg, #fff 60%, rgba(255,255,255,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* =====================
   ABOUT SECTION
   ===================== */
#about {
  background: var(--bg-page);
}

.about-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-feature-item {
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.about-feature-item:nth-child(even) {
  margin-top: 2rem;
}

@media (max-width: 576px) {
  .about-feature-item:nth-child(even) { margin-top: 0; }
}

.about-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin: 0 auto 1.25rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.about-feature-item:hover .about-feature-icon {
  transform: scale(1.15) rotate(-8deg);
  box-shadow: var(--shadow-md);
}

.check-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(29, 78, 216, 0.05);
}

.check-item:last-child { border-bottom: none; }

.check-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-pale), #dbeafe);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.check-item:hover .check-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-color: transparent;
}

/* =====================
   CONTACT SECTION
   ===================== */
#contact {
  background: var(--bg-section-alt);
  border-top: 1px solid rgba(29, 78, 216, 0.05);
}

.contact-wrapper {
  border-radius: var(--radius-xl);
  padding: 4.5rem;
  box-shadow: var(--shadow-xl);
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(29, 78, 216, 0.02);
  border: 1px solid rgba(29, 78, 216, 0.05);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.contact-info-item:hover {
  border-color: var(--primary-border);
  background: var(--primary-pale);
  transform: translateX(6px);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-pale), #dbeafe);
  border: 1px solid var(--primary-border);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

/* Premium Form Inputs */
.form-group-custom {
  position: relative;
  margin-bottom: 2rem;
}

.form-control-custom {
  width: 100%;
  background: rgba(29, 78, 216, 0.02);
  border: 1.5px solid rgba(29, 78, 216, 0.1);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.35rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-control-custom:focus {
  background: var(--bg-card);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.08);
}

.form-label-custom {
  position: absolute;
  left: 1.35rem;
  top: 1.15rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition);
  font-size: 0.95rem;
  background: transparent;
}

.form-control-custom:focus ~ .form-label-custom,
.form-control-custom:not(:placeholder-shown) ~ .form-label-custom {
  top: -0.6rem;
  left: 0.9rem;
  font-size: 0.75rem;
  color: var(--primary);
  background: var(--bg-card);
  padding: 0 0.5rem;
  border-radius: 4px;
  font-weight: 700;
}

/* Alerts */
.inquiry-alert {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
  display: none;
  animation: slideInDown 0.4s var(--ease-out);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.inquiry-alert.success {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  color: #15803d;
  display: block;
}

.inquiry-alert.danger {
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  color: #b91c1c;
  display: block;
}

/* Trust card in contact */
.trust-card {
  background: linear-gradient(135deg, var(--primary-pale) 0%, #e0eaff 100%);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(29,78,216,0.06), transparent 70%);
  border-radius: 50%;
}

/* =====================
   FOOTER
   ===================== */
footer.site-footer {
  background: #090d16;
  color: #fff;
  padding: 5rem 0 2.5rem;
  position: relative;
}

footer.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.footer-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 4px 15px rgba(29, 78, 216, 0.35);
}

.footer-brand-text {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
}

.footer-brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: var(--transition);
}

.footer-brand-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(6px);
}

.footer-divider {
  border-color: rgba(255,255,255,0.06);
  margin: 3rem 0 2rem;
}

/* =====================
   SECURED ADMIN PANEL STYLES
   ===================== */
.admin-login-body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: 
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.05), transparent 50%),
    var(--bg-page);
  background-size: 200% 200%;
  animation: meshGradientShift 15s ease infinite;
}

.admin-login-card {
  width: 100%;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(29, 78, 216, 0.08);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-xl);
  animation: fadeInUp 0.7s var(--ease-out);
  position: relative;
}

.admin-login-card::before {
  content: '';
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent-gold));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin: -3.5rem -3.5rem 3rem;
  width: calc(100% + 7rem);
}

.admin-login-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.75rem;
  margin: 0 auto 1.75rem;
  box-shadow: 0 8px 25px rgba(29, 78, 216, 0.25);
  animation: floatShield 4s ease-in-out infinite;
}

@keyframes floatShield {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Administrative Dashboard */
.dashboard-body {
  background-color: var(--bg-page);
  min-height: 100vh;
}

.admin-dashboard-container {
  padding-top: 130px;
  padding-bottom: 100px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(29, 78, 216, 0.06);
}

.admin-metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.metric-card {
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.metric-details h3 {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
}

.metric-details p {
  font-size: 2.25rem;
  font-weight: 800;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-serif);
  line-height: 1.1;
}

.metric-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.metric-card:hover .metric-icon {
  transform: scale(1.1) rotate(5deg);
}

.metric-icon.indigo { background: #ede9fe; color: #7c3aed; }
.metric-icon.amber  { background: #fffbeb; color: #d97706; }
.metric-icon.teal   { background: #e0f2fe; color: #0284c7; }
.metric-icon.emerald{ background: #f0fdf4; color: #059669; }

/* Dashboard Tables */
.table-glass-wrapper {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(29, 78, 216, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.table-glass {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.table-glass th {
  background: rgba(29, 78, 216, 0.03);
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-bottom: 1.5px solid rgba(29, 78, 216, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-family: var(--font-sans);
}

.table-glass td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(29, 78, 216, 0.05);
  color: var(--text-primary);
  font-size: 0.92rem;
  vertical-align: middle;
}

.table-glass tr:last-child td { border-bottom: none; }

.table-glass tbody tr {
  transition: background-color 0.25s ease;
}

.table-glass tbody tr:hover td {
  background: rgba(29, 78, 216, 0.02);
}

/* Administrative Status Badges */
.badge-status {
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: var(--shadow-sm);
}

.badge-status.pending   { background: #fffbeb; color: #d97706; border: 1.5px solid #fcd34d; }
.badge-status.reviewed  { background: #eff6ff; color: #2563eb; border: 1.5px solid #93c5fd; }
.badge-status.in-progress { background: #f0fdf4; color: #15803d; border: 1.5px solid #86efac; }

.status-select {
  background: var(--bg-section-alt);
  color: var(--text-primary);
  border: 1.5px solid rgba(29, 78, 216, 0.1);
  border-radius: 10px;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
}

.status-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.08);
}

.logout-btn {
  background: #fef2f2;
  color: #b91c1c !important;
  border: 1.5px solid #fca5a5;
  border-radius: 50px;
  transition: var(--transition);
  font-weight: 700;
  font-size: 0.9rem;
}

.logout-btn:hover {
  background: #ef4444;
  color: #fff !important;
  border-color: #ef4444;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(239, 68, 68, 0.25);
}

/* ============================================================
   TRANSITIONS & REVEAL ENGINE (INTERSECTION OBSERVER COMPATIBLE)
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.6; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(0.9); opacity: 0; }
}

/* Interactive Multi-Direction Reveals */
.animate-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.animate-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.animate-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.animate-reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.animate-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.animate-reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Micro delays for staggering triggers */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* Page transition curtain (Elegant Overlay sliding) */
.page-transition {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  z-index: 99999;
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}

.page-transition.active {
  animation: pageCurtainSlide 0.8s cubic-bezier(0.85, 0, 0.15, 1) forwards;
}

@keyframes pageCurtainSlide {
  0%   { transform: scaleY(0); transform-origin: bottom; }
  45%  { transform: scaleY(1); transform-origin: bottom; }
  55%  { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: top; }
}

/* =====================
   RESPONSIVE ADJUSTMENTS
   ===================== */
@media (max-width: 991px) {
  .hero-section { text-align: center; padding-top: 130px; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .d-flex.flex-wrap { justify-content: center; }
  .hero-card { margin-top: 2rem; }
  .about-feature-item { margin-top: 0 !important; }
  .admin-header { flex-direction: column; gap: 1.5rem; text-align: center; }
}

@media (max-width: 768px) {
  .contact-wrapper { padding: 2.5rem; }
  .hero-card { padding: 2rem; }
  .objective-detail-card { padding: 2rem; }
  .brand-text { font-size: 1.15rem; }
  .brand-icon { width: 38px; height: 38px; }
}

@media (max-width: 576px) {
  .about-feature-grid { grid-template-columns: 1fr; }
  .detail-footer-grid { grid-template-columns: 1fr; }
  .admin-login-card { padding: 2rem; }
}
