/* ----------------------------------------------------
   IIEC RECRUITMENT PORTAL DESIGN SYSTEM
   Theme: Cosmic Nebula & Aurora Mint
   ---------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
  /* Color Tokens - Luxury Tech Aureum (Dark Mode) */
  --bg: #050505;
  --surface: #0F0F11;
  --surface-strong: #16130b;
  --surface-soft: rgba(255, 255, 255, 0.02);
  --border: #1F1F23;
  --border-glow: rgba(212, 175, 55, 0.3);
  --text: #eae1d4;
  --muted: #d0c5af;
  
  --primary: #d4af37;
  --primary-glow: rgba(212, 175, 55, 0.15);
  --secondary: #c6c6c7;
  --secondary-glow: rgba(198, 198, 199, 0.1);
  --accent: #f2ca50;
  --shadow: none;

  /* Luxury High-Tech Secondary Color (Indigo Nebula) */
  --cosmic-accent: #6366f1;
  --cosmic-accent-glow: rgba(99, 102, 241, 0.15);
  
  /* Radii & Layout - Crisp Geometry */
  --radius-xl: 16px;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --container: 1200px;
}

body[data-theme='light'] {
  /* Color Tokens - Warm Ivory (Light Mode) */
  --bg: #faf8f5;
  --surface: #ffffff;
  --surface-strong: #f4f1ea;
  --surface-soft: rgba(150, 113, 23, 0.02);
  --border: #e4decb;
  --border-glow: rgba(150, 113, 23, 0.2);
  --text: #231f17;
  --muted: #6e6656;
  
  --primary: #967117;
  --primary-glow: rgba(150, 113, 23, 0.08);
  --secondary: #5c5344;
  --secondary-glow: rgba(92, 83, 68, 0.08);
  --accent: #b3261e;
  --shadow: none;

  /* High Contrast Royal Blue for Light Mode */
  --cosmic-accent: #4f46e5;
  --cosmic-accent-glow: rgba(79, 70, 229, 0.08);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  overflow-x: hidden;
  position: relative;
  background: var(--bg);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.form-page {
  padding-bottom: 48px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-soft);
  border: 2px solid var(--bg);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-glow);
}

/* ----------------------------------------------------
   Ambient Gradients & Grid Overlay
   ---------------------------------------------------- */
.ambient {
  display: block;
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  z-index: -2;
  mix-blend-mode: screen;
}

body[data-theme='light'] .ambient {
  display: block;
  opacity: 0.08;
  mix-blend-mode: multiply;
  filter: blur(100px);
}

.ambient-one {
  top: -15%;
  right: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, rgba(212, 175, 55, 0) 70%);
  animation: floatGlowOne 22s infinite alternate ease-in-out;
}

.ambient-two {
  bottom: 5%;
  left: -15%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--cosmic-accent-glow) 0%, rgba(99, 102, 241, 0) 70%);
  animation: floatGlowTwo 26s infinite alternate ease-in-out;
  animation-delay: -5s;
}

.ambient-three {
  top: 35%;
  right: -15%;
  width: 42vw;
  height: 42vw;
  background: radial-gradient(circle, rgba(150, 113, 23, 0.2) 0%, rgba(150, 113, 23, 0) 70%);
  animation: floatGlowThree 19s infinite alternate ease-in-out;
  animation-delay: -10s;
}

@keyframes floatGlowOne {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-6vw, 6vh) scale(1.1); }
}
@keyframes floatGlowTwo {
  0% { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(8vw, -8vh) scale(0.9); }
}
@keyframes floatGlowThree {
  0% { transform: translate(0, 0) scale(0.95); }
  100% { transform: translate(-4vw, -6vh) scale(1.05); }
}

.grain {
  display: block;
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
}

body[data-theme='light'] .grain {
  display: block;
  opacity: 0.04;
  background-image: radial-gradient(rgba(150, 113, 23, 0.06) 1.2px, transparent 1.2px);
}

/* ----------------------------------------------------
   Typography & Headers
   ---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Geist', sans-serif;
  color: var(--text);
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #f2ca50 70%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

body[data-theme='light'] .gradient-text {
  background: linear-gradient(135deg, #231f17 30%, #967117 70%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----------------------------------------------------
   Layout & Sections
   ---------------------------------------------------- */
main {
  width: 100%;
}

.section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background-color: var(--bg);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.section-alt {
  background-color: var(--surface);
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .section {
    padding: 80px 0;
  }
}

.screen {
  /* Legacy wrapper compatibility for Form page only */
  margin-top: 24px;
  padding: 32px 16px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-glow);
  background: var(--primary-glow);
  color: var(--primary);
  font-family: 'Geist', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body[data-theme='light'] .section-label {
  background: var(--primary-glow);
  border-color: var(--border-glow);
  color: var(--primary);
}

.section-copy {
  max-width: 65ch;
  margin-bottom: 12px;
}

/* ----------------------------------------------------
   Frosted Glass & 3D Tilt Cards
   ---------------------------------------------------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body[data-theme='light'] .glass {
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.tilt-card {
  position: relative;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.tilt-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-glow);
}

/* ----------------------------------------------------
   Sticky Topbar Navigation
   ---------------------------------------------------- */
.topbar {
  width: min(var(--container), calc(100% - 24px));
  margin: 16px auto 0;
  padding: 12px 20px;
  position: sticky;
  top: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(9, 9, 11, 0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

body[data-theme='light'] .topbar {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.brand-lockup div {
  display: none;
}

@media (min-width: 480px) {
  .brand-lockup div {
    display: block;
  }
}

.brand-lockup p {
  font-size: 0.9rem;
  font-weight: 700;
}

.brand-lockup span {
  font-size: 0.72rem;
  color: var(--muted);
}

.topbar-cta {
  display: inline-flex;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.25s ease, border-color 0.25s ease;
  font-size: 0.8rem;
  padding: 8px 16px;
  min-height: auto;
}

.topbar.scrolled .topbar-cta {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  background: var(--primary);
  color: #050505;
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}

.topbar.scrolled .topbar-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #050505;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.4);
}

body[data-theme='light'] .topbar.scrolled .topbar-cta {
  color: #ffffff;
}

body[data-theme='light'] .topbar.scrolled .topbar-cta:hover {
  color: #ffffff;
}

/* ----------------------------------------------------
   Buttons & Controls
   ---------------------------------------------------- */
.btn, .ghost-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.btn {
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  min-height: 48px;
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn.primary {
  background: var(--primary);
  color: #050505;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
  border: 1px solid var(--primary);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.5);
  background: var(--accent);
  border-color: var(--accent);
}

.btn.secondary, .btn.tertiary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn.secondary:hover, .btn.tertiary:hover {
  transform: translateY(-2px);
  background: var(--primary-glow);
  border-color: var(--primary);
  color: var(--primary);
}

body[data-theme='light'] .btn.primary {
  color: #ffffff;
}

body[data-theme='light'] .btn.secondary:hover,
body[data-theme='light'] .btn.tertiary:hover {
  background: var(--primary-glow);
  color: var(--primary);
}

.btn.full-width {
  width: 100%;
}

.ghost-chip {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ghost-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-glow);
}

.button-loader {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.theme-toggle, .menu-toggle, .menu-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.theme-toggle:hover, .menu-toggle:hover, .menu-close:hover {
  border-color: var(--border-glow);
  transform: scale(1.05);
}

.menu-toggle span {
  display: none;
}

/* Ripple */
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple-wave {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: rippleWave 0.6s linear;
  background: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}
@keyframes rippleWave {
  to {
    transform: scale(3.5);
    opacity: 0;
  }
}

/* ----------------------------------------------------
   Hero Layout
   ---------------------------------------------------- */
.hero {
  padding: 30px 24px 48px;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.hero-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.4);
  background: var(--cosmic-accent-glow);
  color: var(--cosmic-accent);
  font-family: 'Geist', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
}

body[data-theme='light'] .hero-badge {
  background: var(--cosmic-accent-glow);
  border-color: rgba(79, 70, 229, 0.3);
  color: var(--cosmic-accent);
}

.hero-copy {
  font-size: 1.05rem;
  max-width: 60ch;
  margin-bottom: 8px;
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.hero-stats {
  display: flex;
  justify-content: flex-start;
  margin-top: 14px;
}

.hero-stats .tilt-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}

.hero-stats strong {
  display: block;
  font-family: 'Geist', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2px;
}

.hero-stats span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Interactive Ecosystem Widget */
.hero-widget-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-interactive-hub {
  width: 100%;
  max-width: 380px;
  padding: 24px;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hub-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.hub-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--secondary);
  box-shadow: 0 0 10px var(--secondary);
  animation: pulseDot 2s infinite;
}

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

.hub-status-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
}

.hub-visual {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

.hub-circle-outer {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cosmic-accent));
  padding: 3px; /* acts as 3px border */
  display: grid;
  place-items: center;
  position: relative;
}

.hub-circle-inner {
  width: 134px;
  height: 134px;
  border-radius: 50%;
  background: var(--surface-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hub-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}

body[data-theme='light'] .hub-value {
  color: var(--text);
}

.hub-value-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

.hub-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hub-detail-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.hub-detail-item i {
  font-size: 1.25rem;
  color: var(--primary);
}

.hub-detail-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
}

.hub-detail-item span {
  font-size: 0.75rem;
  color: var(--muted);
}

.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 14px;
  width: fit-content;
}

/* ----------------------------------------------------
   About Section & Pillars Grid
   ---------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.feature-card i {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(139, 92, 246, 0.1);
  color: #a78bfa;
  font-size: 1.25rem;
}

body[data-theme='light'] .feature-card i {
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.35rem;
}

/* Pillars grid custom icon colors */
.pillars-grid .feature-card:nth-child(1) i { background: rgba(20, 184, 166, 0.12); color: #14b8a6; }
.pillars-grid .feature-card:nth-child(2) i { background: rgba(139, 92, 246, 0.12); color: #a78bfa; }
.pillars-grid .feature-card:nth-child(3) i { background: rgba(59, 130, 246, 0.12); color: #3b82f6; }
.pillars-grid .feature-card:nth-child(4) i { background: rgba(236, 72, 153, 0.12); color: #f472b6; }

/* ----------------------------------------------------
   Growth Timeline
   ---------------------------------------------------- */
.timeline-container {
  position: relative;
  margin-top: 24px;
  padding: 10px 0;
}

.timeline-line {
  position: absolute;
  left: 16px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background-color: var(--border);
  z-index: 1;
}

.timeline-line-progress {
  width: 100%;
  height: 0%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  z-index: 2;
  transition: height 0.1s ease-out;
}

.history-timeline {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.history-step {
  position: relative;
  padding: 24px 24px 24px 48px;
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
}

.timeline-dot {
  position: absolute;
  left: 10px;
  top: 30px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--bg);
  border: 2px solid var(--border);
  z-index: 5;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-active .timeline-dot {
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
  transform: scale(1.3);
}

.history-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--primary-glow);
  border: 1px solid var(--border-glow);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

body[data-theme='light'] .history-step span {
  background: var(--primary-glow);
}

/* ----------------------------------------------------
   What We Offer Accordion
   ---------------------------------------------------- */
.offerings-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.offer-group {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 12px 18px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.offer-group[open] {
  border-color: var(--border-glow);
}

.offer-group summary {
  list-style: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  outline: none;
}

.offer-group summary::-webkit-details-marker {
  display: none;
}

.offer-summary-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.offer-summary-left i {
  color: var(--secondary);
  font-size: 1.2rem;
}

/* custom chevron indicator */
.offer-group summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--muted);
  transition: transform 0.3s ease;
}

.offer-group[open] summary::after {
  transform: rotate(180deg);
  color: var(--secondary);
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 16px 0 8px;
}

.offer-grid article {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease;
}

.offer-grid article h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

/* ----------------------------------------------------
   Achievements Grid
   ---------------------------------------------------- */
.counter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.counter-card {
  padding: 32px 24px;
  text-align: center;
  border-radius: var(--radius-xl);
}

.counter-card strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.05em;
  margin-bottom: 6px;
  line-height: 1;
}

body[data-theme='light'] .counter-card strong {
  color: var(--text);
}

.counter-card span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ----------------------------------------------------
   Recruitment Domains (Portfolios)
   ---------------------------------------------------- */
.domain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.domain-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}

.domain-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  background: var(--primary-glow);
  color: var(--primary);
  border: 1px solid var(--border-glow);
}

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

.domain-card h3 {
  font-size: 1.35rem;
}

.domain-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.domain-card li {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

.domain-card li strong {
  color: var(--text);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.domain-card .btn {
  margin-top: auto;
}

.domain-card-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.domain-card-header-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.domain-card-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}

.domain-toggle-arrow {
  display: none;
}

@media (max-width: 768px) {
  .domain-card {
    gap: 0 !important;
    height: auto !important;
    padding: 20px !important;
  }
  
  .domain-card-header {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer;
    width: 100%;
  }
  
  .domain-card-header-left {
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
  }
  
  .domain-toggle-arrow {
    display: inline-block !important;
    font-size: 1rem;
    color: var(--primary);
    transition: transform 0.3s ease;
  }
  
  .domain-card-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    height: auto !important;
    width: 100%;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin-top 0.3s ease;
  }
  
  .domain-card.expanded {
    border-color: var(--primary) !important;
  }
  
  .domain-card.expanded .domain-card-body {
    max-height: 1000px;
    opacity: 1;
    margin-top: 20px !important;
  }
  
  .domain-card.expanded .domain-toggle-arrow {
    transform: rotate(180deg);
  }
}

/* ----------------------------------------------------
   Recruitment Process Steps
   ---------------------------------------------------- */
.process-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.process-timeline .timeline-item {
  padding: 24px;
  border-radius: var(--radius-xl);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.process-timeline .timeline-item span {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #1a1c1c;
  display: grid;
  place-items: center;
  font-family: 'Geist', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: none;
}

body[data-theme='light'] .process-timeline .timeline-item span {
  color: #ffffff;
}

.process-timeline .timeline-item h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

/* ----------------------------------------------------
   FAQ Accordions
   ---------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  width: 100%;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
  font-family: 'Geist', sans-serif;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: var(--border-glow);
  background: rgba(255, 255, 255, 0.05);
}

body[data-theme='light'] .faq-item:hover {
  background: rgba(15, 23, 42, 0.03);
}

.faq-panel {
  padding: 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ----------------------------------------------------
   Contact Card & Footer
   ---------------------------------------------------- */
.contact-card {
  padding: 40px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at center top, rgba(212, 175, 55, 0.1), transparent 70%), var(--surface);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

body[data-theme='light'] .contact-card {
  background: radial-gradient(circle at center top, rgba(150, 113, 23, 0.05), transparent 70%), var(--surface);
  border-color: rgba(150, 113, 23, 0.2);
}

.contact-card h3 {
  font-size: 1.5rem;
}

.contacts-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.contact-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.contact-phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--primary);
  color: #050505;
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
  transition: all 0.25s ease;
  width: 100%;
  max-width: 240px;
}

.contact-phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.5);
  background: var(--accent);
  border-color: var(--accent);
}

body[data-theme='light'] .contact-phone-btn {
  color: #ffffff;
}

.member-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 10px;
}

.contact-meta a {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}

.contact-meta a:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
}

body[data-theme='light'] .contact-meta a:hover {
  background: rgba(15, 23, 42, 0.03);
}

.contact-meta a i {
  font-size: 1.1rem;
  color: var(--primary);
}

.footer-section {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 120px 0;
  width: 100%;
}

.footer-cta {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
  }
}

.footer-cta h2 {
  margin-bottom: 8px;
  font-size: 1.6rem;
}

.footer-cta p {
  color: var(--muted);
  max-width: 50ch;
}

.footer-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .footer-grid-layout {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-info p {
  font-weight: 700;
  color: var(--text);
}

.footer-info span {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-info .footer-tagline {
  font-style: italic;
  margin-top: 8px;
  display: block;
}

.footer-links, .footer-external {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h4, .footer-external h4 {
  font-family: 'Geist', sans-serif;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-links a, .footer-external a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  width: fit-content;
}

.footer-links a:hover, .footer-external a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ----------------------------------------------------
   Responsive Bottom Bar (Phone & Tablet)
   ---------------------------------------------------- */
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 520px);
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  border-radius: 99px;
  background: rgba(22, 19, 15, 0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

body[data-theme='light'] .bottom-nav {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(150, 113, 23, 0.08);
}

.bottom-nav .nav-item {
  color: var(--muted);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.bottom-nav .nav-item i {
  font-size: 1.1rem;
}

.bottom-nav .nav-item span {
  display: none;
}

.bottom-nav .nav-item.active,
.bottom-nav .nav-item:hover {
  color: var(--primary);
  background: var(--primary-glow);
}

body[data-theme='light'] .bottom-nav .nav-item.active,
body[data-theme='light'] .bottom-nav .nav-item:hover {
  background: var(--primary-glow);
}

.bottom-nav .apply-pill {
  background: var(--primary) !important;
  color: #050505 !important;
  box-shadow: 0 4px 14px var(--primary-glow);
  border-radius: var(--radius-sm) !important;
}

body[data-theme='light'] .bottom-nav .apply-pill {
  color: #ffffff !important;
}

/* ----------------------------------------------------
   Mobile Fullscreen Overlay Menu
   ---------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
}

.mobile-menu-panel {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  font-weight: 700;
  transition: all 0.2s ease;
}

.mobile-menu-link:hover {
  border-color: var(--border-glow);
  background: rgba(255, 255, 255, 0.06);
}

/* ----------------------------------------------------
   Form Layout & Floating Labels
   ---------------------------------------------------- */
.form-shell {
  width: min(var(--container), calc(100% - 48px));
  max-width: 720px;
  margin: 0 auto;
}

.application-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 16px;
  border-radius: var(--radius-xl);
}

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

/* Floating labels css inputs */
.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.floating-group {
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  margin-bottom: 12px;
  width: 100%;
}

.floating-group input,
.floating-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  outline: none;
  font-family: inherit;
  transition: all 0.25s ease;
}

body[data-theme='light'] .floating-group input,
body[data-theme='light'] .floating-group textarea {
  background: var(--surface);
  border-color: var(--border);
}

.floating-group label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
  pointer-events: auto;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.floating-group input:focus,
.floating-group textarea:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--primary);
}

body[data-theme='light'] .floating-group input:focus,
body[data-theme='light'] .floating-group textarea:focus {
  background: var(--surface);
}

.floating-group input:focus ~ label,
.floating-group textarea:focus ~ label {
  color: var(--primary);
}

/* Custom dropdown style */
.select-group {
  margin-bottom: 2px;
}

.select-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
  display: block;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper select {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

body[data-theme='light'] .select-wrapper select {
  background: var(--surface);
  border-color: var(--border);
}

.select-wrapper select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.select-chevron {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.select-wrapper select option {
  background-color: var(--surface-strong);
  color: var(--text);
  padding: 10px;
}

.portfolio-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0;
}

.portfolio-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
}

.dynamic-questions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  margin-top: 3px;
}

.checkbox-row span {
  font-size: 0.9rem;
  color: var(--muted);
}

.form-note {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

/* submission loads overlays */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 0, 20, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: none;
  place-items: center;
  z-index: 1100;
  padding: 24px;
}

.loading-overlay.show {
  display: grid;
}

.loading-card {
  width: 100%;
  max-width: 400px;
  padding: 32px 24px;
  text-align: center;
  border-radius: var(--radius-xl);
}

.spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.success-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  left: 24px;
  width: min(calc(100% - 48px), 420px);
  margin: 0 auto;
  padding: 20px;
  border-radius: var(--radius-lg);
  display: none;
  align-items: center;
  gap: 16px;
  z-index: 1200;
}

.success-toast.show {
  display: flex;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-toast i {
  color: var(--secondary);
  font-size: 1.5rem;
}

.success-toast strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

.success-toast span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ----------------------------------------------------
   Reveal Observer Animations
   ---------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------
   Media Queries (Tablets & Desktop)
   ---------------------------------------------------- */
@media (min-width: 576px) {
  .bottom-nav .nav-item span {
    display: inline;
  }
}

@media (min-width: 768px) {
  .screen {
    padding: 48px 24px;
    margin-top: 24px;
  }

  .application-form {
    padding: 24px;
    gap: 20px;
  }

  .topbar {
    padding: 12px 24px;
  }

  .topbar-cta {
    display: inline-flex;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .menu-toggle {
    display: none;
  }

  .bottom-nav {
    display: grid;
  }

  .cta-row {
    grid-template-columns: repeat(2, 1fr);
    max-width: 420px;
  }

  .hero-stats {
    display: flex;
    justify-content: flex-start;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .domain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .full-width-group {
    grid-column: span 2;
  }

  .success-toast {
    left: auto;
    right: 24px;
    margin: 0;
  }
}

@media (min-width: 1024px) {
  .hero-grid-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
  }

  .hero-interactive-hub {
    max-width: 100%;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .offer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .domain-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-timeline {
    grid-template-columns: repeat(5, 1fr);
  }

  .contact-meta {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-card {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 36px 40px;
    align-items: center;
  }
  .contacts-wrapper {
    align-items: flex-end;
    width: auto;
  }
  .contact-member {
    align-items: flex-end;
  }

  .footer {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  /* Two Column Form Layout on Desktop */
  .form-shell {
    max-width: var(--container);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    align-items: start;
    margin-top: 24px;
  }

  .form-hero {
    position: sticky;
    top: 96px;
    margin-top: 0;
    min-height: calc(100vh - 160px);
    justify-content: center;
  }

  .application-form {
    margin-top: 0;
    padding: 36px;
  }
}

.iiec-logo,
.csmu-logo {
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.brand-lockup .iiec-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.mobile-menu-head .iiec-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.footer-logos .iiec-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

.footer-logos .csmu-logo {
  height: 50px;
  width: auto;
}

.text-link {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px dashed var(--secondary);
  transition: all 0.2s ease;
}

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

.footer-website-link {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  transition: all 0.25s ease;
}

.footer-website-link:hover {
  transform: translateY(-2px);
  border-color: var(--border-glow);
}

/* ----------------------------------------------------
   Rebuild Custom Additions (Sticky CTA, Focus, Explorer Card)
   ---------------------------------------------------- */

/* Global Keyboard focus state */
*:focus-visible {
  outline: 2.5px solid var(--secondary) !important;
  outline-offset: 4px !important;
}



/* Prominent Card Styling (Explorer Track) */
.domain-card.prominent-card {
  border: 1px solid var(--primary);
  background: rgba(212, 175, 55, 0.015);
}

.domain-card.prominent-card:hover {
  border-color: var(--primary);
}

.domain-card.prominent-card h3 {
  background: linear-gradient(135deg, #ffffff 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body[data-theme='light'] .domain-card.prominent-card h3 {
  background: linear-gradient(135deg, #231f17 45%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Dynamic Portfolio Introduction Box */
.portfolio-intro-box {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-soft);
  margin-bottom: 24px;
  display: none; /* hidden by default, shown via JS */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.portfolio-intro-box.show {
  display: block;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.portfolio-intro-box h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 6px;
  font-family: 'Geist', sans-serif;
  font-weight: 700;
}

.portfolio-intro-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
}



/* Micro-animations hover lift */
.feature-card, .domain-card, .counter-card, .btn, .ghost-chip, .timeline-item {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover, .domain-card:hover, .counter-card:hover {
  transform: translateY(-2px);
}

.btn:hover, .ghost-chip:hover {
  transform: translateY(-1px);
}

/* Hero Tagline & Deadline custom classes */
.hero-deadline-badge {
  font-size: 0.95rem;
  color: var(--secondary);
  font-weight: 700;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-tagline {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-top: -8px;
  margin-bottom: 4px;
}

/* Premium File Upload Styling */
.file-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  width: 100%;
}

.file-label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.file-input-wrapper {
  position: relative;
  width: 100%;
  min-height: 120px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.file-input-wrapper:hover {
  border-color: var(--primary);
  background: var(--primary-glow);
}

.file-input-wrapper input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
}

.file-input-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  text-align: center;
  padding: 20px;
  pointer-events: none;
}

.file-input-trigger i {
  font-size: 2rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.file-input-wrapper:hover .file-input-trigger i {
  transform: translateY(-4px);
}

.file-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: -2px;
}

.photo-preview-box {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
}

.photo-preview-box img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.remove-photo-btn {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.remove-photo-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
}

/* Status Banner (Success/Error) */
.status-banner {
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideDownStatus 0.3s ease;
}

.status-banner.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #22c55e;
}

.status-banner.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

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

/* Select Chips Style */
.multiselect-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
  width: 100%;
}

.multiselect-header-label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.chips-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.select-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.select-chip:hover {
  border-color: var(--primary);
  background: var(--primary-glow);
}

.select-chip.active {
  background: linear-gradient(135deg, var(--primary), var(--cosmic-accent));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

body[data-theme='light'] .select-chip.active {
  color: #ffffff;
}

