/* ==========================================================================
   ANU INFOTECH - ULTRA-MODERN 3D GLASSMORPHISM DESIGN SYSTEM
   ========================================================================== */

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

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Color Palette - Directly Extracted from Anu Infotech Logo (Optimized for Light Theme) */
  --logo-lime: #6f9508;
  --logo-lime-bright: #8dbb11;
  --logo-cyan: #0096c7;
  --logo-cyan-bright: #00b9f2;
  --logo-navy: #0b131b;
  --logo-dark: #0f172a;

  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-surface: #ffffff;
  
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-bg-hover: rgba(255, 255, 255, 0.98);
  --glass-bg-light: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(226, 232, 240, 0.9);
  --glass-border-hover: rgba(0, 150, 199, 0.45);
  --glass-glow: rgba(0, 150, 199, 0.12);

  --accent-lime: #6f9508;
  --accent-cyan: #0096c7;
  --accent-blue: #0284c7;
  --accent-purple: #7c3aed;
  --accent-amber: #d97706;
  --accent-emerald: #059669;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  --grad-primary: linear-gradient(135deg, #7da510 0%, #0096c7 100%);
  --grad-lime: linear-gradient(135deg, #8dbb11 0%, #688e07 100%);
  --grad-cyan: linear-gradient(135deg, #00b9f2 0%, #0284c7 100%);
  --grad-emerald: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --grad-amber: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  --grad-purple: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  --grad-dark: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);

  --shadow-glass: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --shadow-3d: 0 20px 40px -10px rgba(15, 23, 42, 0.1), 0 8px 16px -8px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 35px rgba(0, 150, 199, 0.12);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* 3D Ambient Orbs Background */
.ambient-scene {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  will-change: transform;
}

.orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(181, 212, 57, 0.5), rgba(0, 185, 242, 0.3));
  top: -120px;
  left: 10%;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 185, 242, 0.45), rgba(56, 189, 248, 0.2));
  top: 35%;
  right: -120px;
}

.orb-3 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(181, 212, 57, 0.4), rgba(16, 185, 129, 0.25));
  bottom: -80px;
  left: 20%;
}

/* Mesh Grid overlay */
.mesh-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

.site-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.25rem; }
p { color: var(--text-muted); font-size: 1.05rem; }

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-emerald {
  background: var(--grad-emerald, linear-gradient(135deg, #059669 0%, #10b981 100%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-amber {
  background: var(--grad-amber, linear-gradient(135deg, #d97706 0%, #f59e0b 100%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-cyan {
  background: var(--grad-cyan, linear-gradient(135deg, #00b9f2 0%, #0284c7 100%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Glass Components */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
  transition: all var(--transition-smooth);
}

.glass-panel:hover {
  border-color: rgba(0, 150, 199, 0.35);
  box-shadow: var(--shadow-3d);
}

.glass-card-3d {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
  position: relative;
  overflow: hidden;
}

.glass-card-3d::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.75s ease;
  pointer-events: none;
  z-index: 3;
}

.glass-card-3d:hover::before {
  left: 100%;
}

.glass-card-3d:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-3d), 0 0 25px rgba(0, 150, 199, 0.12);
}

/* Interactive 3D tilt inner content */
.tilt-content {
  transform: translateZ(25px);
}

/* Badges & Pills */
.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(241, 245, 249, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.glass-pill-cyan {
  background: rgba(0, 150, 199, 0.1);
  border-color: rgba(0, 150, 199, 0.25);
  color: #0284c7;
}

.glass-pill-emerald {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: #059669;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--logo-cyan);
  box-shadow: 0 0 8px var(--logo-cyan);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* Buttons */
.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn-glass-primary {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(0, 150, 199, 0.35);
}

.btn-glass-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(0, 150, 199, 0.45);
  color: #ffffff;
}

.btn-glass-secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-main);
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04);
}

.btn-glass-secondary:hover {
  background: #f8fafc;
  border-color: var(--logo-cyan);
  color: var(--logo-cyan);
  transform: translateY(-2px);
}

.btn-glass-emerald {
  background: var(--grad-lime);
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(111, 149, 8, 0.35);
}

.btn-glass-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(111, 149, 8, 0.45);
  color: #ffffff;
}

/* Layout Utilities */
.container-custom {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-py {
  padding: 85px 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px;
}

.section-title-wrap p {
  margin-top: 14px;
  font-size: 1.125rem;
}

/* Top Announcement Bar */
.top-announcement {
  background: rgba(111, 149, 8, 0.08);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(111, 149, 8, 0.2);
  padding: 8px 0;
  font-size: 0.875rem;
  color: #334155;
  z-index: 100;
}

.top-announcement a {
  color: var(--logo-lime);
  text-decoration: none;
  font-weight: 600;
  margin-left: 8px;
  transition: color var(--transition-fast);
}

.top-announcement a:hover {
  color: #000;
  text-decoration: underline;
}

/* Header & Glass Navigation */
.header-glass {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  z-index: 99;
  transition: background var(--transition-fast), border-color var(--transition-fast), padding var(--transition-fast);
  padding: 14px 0;
}

.header-glass.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(0, 150, 199, 0.3);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
  padding: 10px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-brand:hover img {
  transform: scale(1.08);
}

.logo-brand .brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.logo-brand .brand-subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--logo-cyan);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: #475569;
  text-decoration: none;
  transition: all var(--transition-fast);
  padding: 6px 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--logo-cyan);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Mobile Toggle */
.mobile-menu-btn {
  display: none;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* 3D Interactive Hero Mesh System */
.hero-section-3d {
  position: relative;
  overflow: hidden;
}

.hero-mesh-canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.94;
  transition: opacity 0.4s ease;
}

#heroMeshCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Inner Portals Interactive Mesh Net Canvas */
.inner-hero-with-mesh {
  position: relative;
  overflow: hidden;
}

.inner-mesh-canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.92;
}

.inner-mesh-canvas-container canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Gateway Portals Hero */
.gateway-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
}

.portal-card {
  padding: 48px 36px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
}

.portal-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 185, 242, 0.12), transparent 70%);
  pointer-events: none;
}

.portal-card-it::after {
  background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.12), transparent 70%);
}

.portal-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
  background: rgba(0, 150, 199, 0.08);
  border: 1px solid rgba(0, 150, 199, 0.2);
  color: var(--logo-cyan);
}

.portal-card h3 {
  font-size: 1.85rem;
  margin-bottom: 12px;
}

.portal-arrow {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--logo-cyan);
  font-family: var(--font-heading);
  transition: transform var(--transition-fast);
}

.portal-card:hover .portal-arrow {
  transform: translateX(6px);
}

/* Stats Counter Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-box {
  padding: 30px 20px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Card Grids */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Technology Stack Grid & Cards */
.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 1200px) {
  .tech-stack-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .tech-stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .tech-stack-grid {
    grid-template-columns: 1fr;
  }
}

.tech-stack-card {
  padding: 28px 22px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.tech-stack-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 16px 32px -10px rgba(0, 150, 199, 0.16);
}

.tech-stack-icon {
  font-size: 2.6rem;
  margin-bottom: 12px;
  line-height: 1;
  display: inline-block;
  transition: transform var(--transition-fast);
}

.tech-stack-card:hover .tech-stack-icon {
  transform: scale(1.12);
}

.course-card, .service-card, .blog-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.card-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg-surface);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-3d:hover .card-img-wrap img {
  transform: scale(1.08);
}

.card-badge-floating {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

/* Dynamic Gallery Grid */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  background: #ffffff;
  backdrop-filter: blur(12px);
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--grad-primary);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(0, 150, 199, 0.35);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  background: var(--bg-surface);
  box-shadow: var(--shadow-glass);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.1) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
}

.gallery-meta {
  color: #38c9f8;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 520px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.lightbox-info {
  padding: 24px 30px;
  background: #ffffff;
}

.lightbox-info h3 {
  color: #0f172a;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 10;
  transition: background var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(239, 68, 68, 0.9);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background: var(--logo-cyan);
  color: #fff;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* Forms & Captcha */
.glass-form-wrap {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.glass-input, .glass-textarea, .glass-select {
  width: 100%;
  padding: 13px 18px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  color: #0f172a;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.glass-input:focus, .glass-textarea:focus, .glass-select:focus {
  outline: none;
  border-color: var(--logo-cyan);
  box-shadow: 0 0 0 3px rgba(0, 150, 199, 0.2);
  background: #ffffff;
}

.glass-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Captcha Block */
.captcha-box-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.captcha-image-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.captcha-refresh-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--logo-cyan);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.captcha-refresh-btn:hover {
  background: rgba(0, 150, 199, 0.1);
  transform: rotate(180deg);
}

.captcha-input-field {
  flex: 1;
}

/* Alert Boxes */
.alert-glass {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-glass-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #065f46;
}

.alert-glass-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #991b1b;
}

/* Footer (Sleek Grounding Modern Dark Footer) */
.footer-glass {
  background: #0b131b;
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 70px 0 30px;
  margin-top: auto;
  position: relative;
  z-index: 10;
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--logo-cyan);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--logo-cyan-bright);
  transform: translateX(4px);
}

.social-icons-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-icon-box:hover {
  background: var(--grad-primary);
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #64748b;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-menu-btn { display: block; }
  
  .gateway-grid { grid-template-columns: 1fr; }
  .cards-grid-3, .cards-grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .captcha-box-wrapper { flex-direction: column; align-items: stretch; }
  .section-py { padding: 60px 0; }
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  border-left: 1px solid #e2e8f0;
  z-index: 1000;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 35px rgba(15, 23, 42, 0.1);
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: none;
}

.mobile-nav-overlay.active {
  display: block;
}
