/* ==========================================================================
   PROLEX INTERNATIONAL — CORPORATE GATEWAY STYLES
   Modern High-End Dark Obsidian Theme with Branch Glow Systems
   ========================================================================== */

:root {
  /* Color Palette - Core Corporate */
  --bg-main: #050811;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(22, 33, 58, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 255, 255, 0.18);
  
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-accent: #38BDF8;

  /* Division 1: Recruitment (Emerald / Teal) */
  --rec-primary: #10B981;
  --rec-light: #34D399;
  --rec-dark: #064E3B;
  --rec-glow: rgba(16, 185, 129, 0.35);
  --rec-badge-bg: rgba(16, 185, 129, 0.12);
  --rec-border: rgba(16, 185, 129, 0.4);

  /* Division 2: Study (Violet / Indigo) */
  --stu-primary: #8B5CF6;
  --stu-light: #A78BFA;
  --stu-dark: #4C1D95;
  --stu-glow: rgba(139, 92, 246, 0.35);
  --stu-badge-bg: rgba(139, 92, 246, 0.12);
  --stu-border: rgba(139, 92, 246, 0.4);

  /* Division 3: IT (Cobalt / Cyan) */
  --it-primary: #0EA5E9;
  --it-light: #38BDF8;
  --it-dark: #0369A1;
  --it-glow: rgba(14, 165, 233, 0.35);
  --it-badge-bg: rgba(14, 165, 233, 0.12);
  --it-border: rgba(14, 165, 233, 0.4);

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-width: 1240px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-floating: 0 20px 40px -15px rgba(0, 0, 0, 0.8);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

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

/* Background Ambient Lighting & Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.glow-sphere {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: floatSpheres 20s ease-in-out infinite alternate;
}

.glow-sphere-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.4) 0%, rgba(14, 165, 233, 0) 70%);
  top: -150px;
  right: -100px;
}

.glow-sphere-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, rgba(139, 92, 246, 0) 70%);
  bottom: 10%;
  left: -200px;
  animation-duration: 25s;
}

.glow-sphere-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, rgba(16, 185, 129, 0) 70%);
  top: 45%;
  right: 15%;
  animation-duration: 22s;
}

@keyframes floatSpheres {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.08); }
  100% { transform: translate(-30px, -40px) scale(0.95); }
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography & Headings */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, #38BDF8 0%, #818CF8 50%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10B981;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-glow {
  background: linear-gradient(135deg, #2563EB, #4F46E5);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.6);
  background: linear-gradient(135deg, #1D4ED8, #4338CA);
}

.btn-glass {
  background: var(--bg-glass);
  border-color: var(--border-subtle);
  color: var(--text-primary);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(5, 8, 17, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(5, 8, 17, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.brand-logo:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
  transition: filter 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
  filter: drop-shadow(0 4px 16px rgba(56, 189, 248, 0.35));
}

.footer-logo-img {
  height: 40px;
}

.node-emblem-img {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.4));
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-toggle .bar {
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero Section */
.hero-section {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 70px;
  text-align: center;
  position: relative;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge-wrapper {
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.12;
  margin-bottom: 24px;
  max-width: 900px;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 36px;
}

/* Quick Pills */
.branch-quick-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 50px;
}

.quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pill-recruitment:hover {
  border-color: var(--rec-primary);
  background: rgba(16, 185, 129, 0.1);
  box-shadow: 0 0 20px var(--rec-glow);
  transform: translateY(-2px);
}
.pill-recruitment .pill-dot { background: var(--rec-primary); }

.pill-study:hover {
  border-color: var(--stu-primary);
  background: rgba(139, 92, 246, 0.1);
  box-shadow: 0 0 20px var(--stu-glow);
  transform: translateY(-2px);
}
.pill-study .pill-dot { background: var(--stu-primary); }

.pill-it:hover {
  border-color: var(--it-primary);
  background: rgba(14, 165, 233, 0.1);
  box-shadow: 0 0 20px var(--it-glow);
  transform: translateY(-2px);
}
.pill-it .pill-dot { background: var(--it-primary); }

/* Stats Banner */
.hero-stats-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 950px;
  padding: 24px 36px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* Divisions Section */
.divisions-section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Division Cards Grid */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  perspective: 1000px;
}

.division-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.division-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 3;
}

/* Card Branch Theming */
.card-recruitment::before {
  background: linear-gradient(90deg, var(--rec-light), var(--rec-primary));
}
.card-recruitment:hover {
  border-color: var(--rec-border);
  box-shadow: 0 20px 45px -10px var(--rec-glow);
  transform: translateY(-8px);
}

.card-study::before {
  background: linear-gradient(90deg, var(--stu-light), var(--stu-primary));
}
.card-study:hover {
  border-color: var(--stu-border);
  box-shadow: 0 20px 45px -10px var(--stu-glow);
  transform: translateY(-8px);
}

.card-it::before {
  background: linear-gradient(90deg, var(--it-light), var(--it-primary));
}
.card-it:hover {
  border-color: var(--it-border);
  box-shadow: 0 20px 45px -10px var(--it-glow);
  transform: translateY(-8px);
}

.card-inner {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.25) 100%);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.branch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 9999px;
}

.card-recruitment .branch-badge {
  background: var(--rec-badge-bg);
  color: var(--rec-light);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.card-study .branch-badge {
  background: var(--stu-badge-bg);
  color: var(--stu-light);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.card-it .branch-badge {
  background: var(--it-badge-bg);
  color: var(--it-light);
  border: 1px solid rgba(14, 165, 233, 0.25);
}

.badge-icon {
  width: 16px;
  height: 16px;
  display: flex;
}
.badge-icon svg {
  width: 100%;
  height: 100%;
}

.card-indicator {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.card-main {
  flex-grow: 1;
}

.card-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.card-tagline {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.card-recruitment .card-tagline { color: var(--rec-light); }
.card-study .card-tagline { color: var(--stu-light); }
.card-it .card-tagline { color: var(--it-light); }

.card-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.feature-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #CBD5E1;
}

/* Card Action Block */
.card-action-block {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.domain-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.domain-icon {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.btn-branch {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  transition: all 0.25s ease;
}

/* Branch specific button colors */
.btn-recruitment {
  background: linear-gradient(135deg, #059669, #10B981);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.25);
}
.btn-recruitment:hover {
  background: linear-gradient(135deg, #047857, #059669);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.45);
  transform: translateY(-2px);
}

.btn-study {
  background: linear-gradient(135deg, #7C3AED, #8B5CF6);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.25);
}
.btn-study:hover {
  background: linear-gradient(135deg, #6D28D9, #7C3AED);
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.45);
  transform: translateY(-2px);
}

.btn-it {
  background: linear-gradient(135deg, #0284C7, #0EA5E9);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.25);
}
.btn-it:hover {
  background: linear-gradient(135deg, #0369A1, #0284C7);
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.45);
  transform: translateY(-2px);
}

/* About Section */
.about-section {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, rgba(5, 8, 17, 0) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(5, 8, 17, 0) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 22px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease;
}

.pillar-item:hover {
  border-color: var(--border-active);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.pillar-rec { background: var(--rec-badge-bg); color: var(--rec-light); border: 1px solid var(--rec-border); }
.pillar-stu { background: var(--stu-badge-bg); color: var(--stu-light); border: 1px solid var(--stu-border); }
.pillar-tec { background: var(--it-badge-bg); color: var(--it-light); border: 1px solid var(--it-border); }

.pillar-item h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.pillar-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Synergy Card Visual */
.synergy-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.synergy-header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #38BDF8;
  border-radius: 50%;
  box-shadow: 0 0 10px #38BDF8;
}

.synergy-diagram {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 30px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-center {
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, #1E293B 0%, #0F172A 100%);
  border: 2px solid rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.3);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.node-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.node-sub {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.node-orbit {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-1 {
  width: 210px;
  height: 210px;
  animation: rotateOrbit1 30s linear infinite;
}

.orbit-2 {
  width: 250px;
  height: 250px;
  animation: rotateOrbit2 35s linear infinite reverse;
}

.orbit-3 {
  width: 280px;
  height: 280px;
  animation: rotateOrbit3 40s linear infinite;
}

@keyframes rotateOrbit1 { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotateOrbit2 { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotateOrbit3 { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.orbit-item {
  position: absolute;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.item-rec {
  top: -14px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid var(--rec-primary);
  color: var(--rec-light);
  box-shadow: 0 0 15px var(--rec-glow);
}

.item-stu {
  right: -20px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid var(--stu-primary);
  color: var(--stu-light);
  box-shadow: 0 0 15px var(--stu-glow);
}

.item-it {
  bottom: -14px;
  background: rgba(14, 165, 233, 0.2);
  border: 1px solid var(--it-primary);
  color: var(--it-light);
  box-shadow: 0 0 15px var(--it-glow);
}

.synergy-footnote {
  color: var(--text-secondary);
  font-size: 0.875rem;
  max-width: 320px;
  margin: 0 auto;
}

/* Impact Banner */
.impact-section {
  padding: 60px 0 100px 0;
}

.impact-banner {
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.15) 0%, rgba(15, 23, 42, 0.8) 70%);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: var(--shadow-floating);
  backdrop-filter: blur(16px);
}

.impact-text {
  max-width: 600px;
}

.impact-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 12px;
}

.impact-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.impact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #0B1120;
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #FFFFFF;
}

.modal-header {
  margin-bottom: 28px;
}

.modal-header .badge {
  margin-bottom: 12px;
}

.modal-header h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.modal-header p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #38BDF8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.form-group select option {
  background: #0B1120;
  color: #FFFFFF;
}

.w-full {
  width: 100%;
}

.form-feedback {
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  min-height: 20px;
}

.form-feedback.success {
  color: #10B981;
}

/* Footer */
.site-footer {
  background: #03060C;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 30px 0;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-corp-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

.branch-link.link-rec:hover { color: var(--rec-light); }
.branch-link.link-stu:hover { color: var(--stu-light); }
.branch-link.link-it:hover { color: var(--it-light); }

.link-ext {
  font-size: 0.8rem;
  opacity: 0.7;
}

.footer-direct-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.direct-pill {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.direct-pill.pill-rec:hover {
  border-color: var(--rec-primary);
  color: var(--rec-light);
  background: rgba(16, 185, 129, 0.08);
}

.direct-pill.pill-stu:hover {
  border-color: var(--stu-primary);
  color: var(--stu-light);
  background: rgba(139, 92, 246, 0.08);
}

.direct-pill.pill-it:hover {
  border-color: var(--it-primary);
  color: var(--it-light);
  background: rgba(14, 165, 233, 0.08);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--text-secondary);
}

.dot-sep {
  color: var(--border-subtle);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .divisions-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .impact-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
  }

  .impact-actions {
    width: 100%;
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(5, 8, 17, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-active);
    padding: 24px;
    display: none;
    flex-direction: column;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 18px;
  }

  .mobile-toggle {
    display: flex;
  }

  #open-contact-modal-btn {
    display: none;
  }

  .hero-stats-banner {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }

  .stat-divider {
    width: 60%;
    height: 1px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
