/*
Theme Name: Invexom
Theme URI: https://invexom.com/
Author: Invexom
Description: Lightweight custom theme foundation for the Invexom platform.
Version: 0.1.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: invexom
*/

/* -------------------------------------------------------------------------- */
/* INVEXOM - Premium Dark & Light Technology Homepage Stylesheet              */
/* Palette: Primary #2563EB | Cyan #06B6D4 | Violet #7C3AED                     */
/* Typography: Michroma (Display H1) | Source Serif 4 (Headings) | Manrope (UI)*/
/* -------------------------------------------------------------------------- */


:root {
  /* Color Tokens - Default Dark Mode */
  --bg-dark: #080b0f;
  --bg-dark-alt: #0d121a;
  --surface-card: #111827;
  --surface-card-hover: #162032;
  --surface-card-light: #1f293d;
  
  --primary-blue: #2563eb;
  --primary-blue-glow: rgba(37, 99, 235, 0.35);
  --cyan-accent: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.3);
  --violet-accent: #7c3aed;
  --violet-glow: rgba(124, 58, 237, 0.3);
  
  --text-white: #ffffff;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dark-muted: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(37, 99, 235, 0.4);
  
  /* Fonts */
  --font-hero: 'Michroma', sans-serif;
  --font-editorial: 'Source Serif 4', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  
  /* Layout */
  --max-width: 1280px;
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Token Overrides */
[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-dark-alt: #ffffff;
  --surface-card: #ffffff;
  --surface-card-hover: #f1f5f9;
  --surface-card-light: #e2e8f0;

  --text-white: #0f172a;
  --text-main: #1e293b;
  --text-muted: #475569;
  --text-dark-muted: #64748b;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-card: rgba(15, 23, 42, 0.12);
  --border-glow: rgba(37, 99, 235, 0.35);

  --primary-blue-glow: rgba(37, 99, 235, 0.2);
}


/* Full-width layout for Invexom shortcode pages */
/* Remove theme container side padding only when
   About or Contact shortcode is present */

.container:has(.invexom-about-page),
.container:has(.invexom-contact-page) {
    width: 100%;
    max-width: none;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.invexom-message-p {
		font-size: 16px;
		color: var(--inv-text-muted);
		margin-bottom: 20px;
		margin-top: 5rem;
	}
.main-cls{
    padding-top: 2.5rem;
}
/* Top Scroll Progress Indicator */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-blue), var(--cyan-accent), var(--violet-accent));
  z-index: 10000;
  box-shadow: 0 0 10px var(--cyan-accent);
  transition: width 0.1s ease-out;
}

/* Theme Toggle Button Styles */
.theme-toggle-btn {
  background: var(--surface-card, #1e293b);
  border: 1px solid var(--border-subtle, #334155);
  color: var(--text-main, #f8fafc);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle-btn:hover {
  background: var(--surface-card-hover, #334155);
  border-color: var(--border-glow, #6366f1);
  transform: scale(1.08) rotate(15deg);
}

.theme-toggle-btn:active {
  transform: scale(0.95);
}

/* Base SVG icon rules */
.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  position: absolute;
  pointer-events: none;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s ease;
}

/* Sun Icon (default in Dark mode) */
.theme-toggle-btn .sun-icon {
  color: #f59e0b;
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Moon Icon (hidden by default in Dark mode) */
.theme-toggle-btn .moon-icon {
  color: #6366f1;
  opacity: 0;
  transform: scale(0) rotate(-90deg);
}

/* Light theme state: Hide sun, show moon */
[data-theme="light"] .theme-toggle-btn .sun-icon {
  opacity: 0;
  transform: scale(0) rotate(90deg);
}

[data-theme="light"] .theme-toggle-btn .moon-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Click animation pulse */
.theme-toggle-btn.animating {
  animation: spinPulse 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes spinPulse {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
  }
}
/* Base resets & box sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg-dark);
  position: relative;
  line-height: 1.6;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Background Subtle Gradient Glows */
body::before {
  content: '';
  position: fixed;
  top: -10vw;
  left: -10vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(8, 11, 15, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: '';
  position: fixed;
  bottom: -10vw;
  right: -10vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, rgba(8, 11, 15, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

[data-theme="light"] body::before {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
}
[data-theme="light"] body::after {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, rgba(248, 250, 252, 0) 70%);
}

/* Typography Utilities */
.font-hero { font-family: var(--font-hero); }
.font-editorial { font-family: var(--font-editorial); }
.font-ui { font-family: var(--font-body); }

h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-family: var(--font-hero);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

h2 {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  letter-spacing: -0.01em;
  font-weight: 600;
}

h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--cyan-accent);
}

h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
padding: 2.5rem 1.5rem 0rem 1.5rem;}

.section-padding {
  padding: 6rem 0;
}

.section-alt {
  background: var(--bg-dark-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--cyan-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.60rem;
  margin-top: 0.40rem;
}

[data-theme="light"] .section-tag {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.2);
  color: #0284c7;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-top: 0.75rem;
}

.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Gradient Text Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--text-white) 0%, var(--primary-blue) 60%, var(--violet-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Creative Scroll Reveal Transitions */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(35px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Buttons & UI Controls */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-blue);
  color: #ffffff !important;
  box-shadow: 0 4px 20px var(--primary-blue-glow);
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
  background: var(--surface-card);
  color: var(--text-white);
  border: 1px solid var(--border-card);
}

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

[data-theme="light"] .btn-secondary {
  background: #e2e8f0;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .btn-secondary:hover {
  background: #cbd5e1;
  color: #0f172a;
}
/* -------------------------------------------------------------------------- */
/* FLOATING LIQUID-JELLY GLASS NAVBAR & DROPDOWNS                            */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* FLOATING LIQUID-JELLY GLASS NAVBAR & DROPDOWNS                            */
/* -------------------------------------------------------------------------- */

:root {
  --header-top-gap: 12px;
  --header-height: 62px;
  
  --bg-glass-dark: rgba(10, 15, 26, 0.65);
  --bg-glass-scrolled-dark: rgba(10, 15, 26, 0.65);
  --border-glass-dark: rgba(255, 255, 255, 0.12);
  --pill-bg-dark: #ffffff;
  --pill-text-dark: #0f172a;
  --dropdown-bg-dark: rgba(12, 18, 30, 0.95);

  --bg-glass-scrolled-light: rgba(255, 255, 255, 0.94);
  --border-glass-light: rgba(15, 23, 42, 0.08);
  --pill-bg-light: #0f172a;
  --pill-text-light: #ffffff;
  --dropdown-bg-light: rgba(255, 255, 255, 0.97);

  --transition-jelly: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Outer Floating Wrapper */
.header-wrapper {
  position: fixed;
  top: var(--header-top-gap);
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

/* Floating Glass Capsule Bar */
.navbar {
  pointer-events: auto;
  width: 100%;
  max-width: 1240px;
  height: var(--header-height);
  border-radius: 9999px;
  background: var(--bg-glass-dark) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid var(--border-glass-dark) !important;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.navbar.scrolled {
  background: var(--bg-glass-scrolled-dark) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
              0 0 25px rgba(6, 182, 212, 0.2);
}

[data-theme="light"] .navbar {
  background: var(--bg-glass-light) !important;
  border-color: var(--border-glass-light) !important;

}

[data-theme="light"] .navbar.scrolled {
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 0.6rem 0 1.25rem;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-hero, 'Michroma', sans-serif);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: #ffffff;
  text-decoration: none;
  text-transform: lowercase;
  flex-shrink: 0;
  z-index: 2;
}

[data-theme="light"] .brand-logo {
  color: #0f172a;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(6, 182, 212, 0.35));
  transition: transform 0.35s var(--transition-jelly);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.12) rotate(-6deg);
}

/* Nav Menu Wrapper & Liquid Jelly Pill */
.nav-menu-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  padding: 3px;
}

[data-theme="light"] .nav-menu-wrapper {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.06);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
}

/* Dynamic Liquid Jelly Pill */
.jelly-indicator {
  position: absolute;
  top: 3px;
  left: 3px;
  height: calc(100% - 6px);
  background: var(--pill-bg-dark);
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 255, 255, 0.25);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: transform 0.45s var(--transition-jelly), width 0.45s var(--transition-jelly), opacity 0.3s ease;
}

[data-theme="light"] .jelly-indicator {
  background: var(--pill-bg-light);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.48rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 9999px;
  white-space: nowrap;
  transition: color 0.3s ease;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

[data-theme="light"] .nav-link {
  color: #64748b;
}

.nav-link:hover,
.nav-link.active,
.nav-item.is-open > .nav-link,
.nav-item:hover > .nav-link {
  color: var(--pill-text-dark);
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active,
[data-theme="light"] .nav-item.is-open > .nav-link,
[data-theme="light"] .nav-item:hover > .nav-link {
  color: var(--pill-text-light);
}

.chevron-icon {
  transition: transform 0.3s ease;
  stroke-width: 2.5;
}

.nav-item.is-open .chevron-icon,
.nav-item:hover .chevron-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu (Desktop) */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.95);
  min-width: 215px;
  padding: 0.5rem;
  background: var(--dropdown-bg-dark) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border: 1px solid var(--border-glass-dark) !important;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.3s var(--transition-jelly), visibility 0.25s;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

[data-theme="light"] .nav-dropdown {
  background: var(--dropdown-bg-light) !important;
  border-color: var(--border-glass-light) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.nav-item.is-open .nav-dropdown,
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.6rem 0.9rem;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.2s ease;
}

[data-theme="light"] .dropdown-item {
  color: #475569;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateX(4px);
}

[data-theme="light"] .dropdown-item:hover {
  background: rgba(15, 23, 42, 0.05);
  color: #0f172a;
}

/* Nav Actions Right */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  z-index: 2;
}

/* Theme Toggle Button & SVG Fix */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass-dark);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--transition-jelly), border-color 0.3s ease;
}

[data-theme="light"] .theme-toggle-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--border-glass-light);
  color: #0f172a;
}

.theme-toggle-btn:hover {
  transform: scale(1.08);
}

.theme-toggle-btn svg {
  position: absolute;
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor !important;
  stroke-width: 2;
  fill: none;
  transition: transform 0.5s var(--transition-jelly), opacity 0.3s ease;
}

/* Dark Mode: Moon visible, Sun hidden */
.theme-toggle-btn .sun-icon {
  opacity: 0 !important;
  pointer-events: none;
  transform: rotate(-90deg) scale(0.5);
}

.theme-toggle-btn .moon-icon {
  opacity: 1 !important;
  transform: rotate(0deg) scale(1);
}

/* Light Mode: Sun visible, Moon hidden */
[data-theme="light"] .theme-toggle-btn .sun-icon {
  opacity: 1 !important;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-toggle-btn .moon-icon {
  opacity: 0 !important;
  pointer-events: none;
  transform: rotate(90deg) scale(0.5);
}

/* Auth Buttons */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-auth-secondary {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  transition: background 0.2s ease;
}

[data-theme="light"] .btn-auth-secondary {
  color: #0f172a;
}

.btn-auth-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .btn-auth-secondary:hover {
  background: rgba(0, 0, 0, 0.05);
}

.btn-auth-primary {
  background: #ffffff;
  color: #0f172a;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s var(--transition-jelly), box-shadow 0.3s ease;
}

[data-theme="light"] .btn-auth-primary {
  background: #0f172a;
  color: #ffffff;
}

.btn-auth-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.35);
}

/* Logged-In User Menu */
.invexom-user-menu {
  position: relative;
}

.invexom-user-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.invexom-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #818cf8);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-glass-dark);
  transition: transform 0.3s var(--transition-jelly);
}

.invexom-user-toggle:hover .invexom-user-avatar {
  transform: scale(1.08);
}

.invexom-user-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 220px;
  background: var(--dropdown-bg-dark) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border: 1px solid var(--border-glass-dark) !important;
  border-radius: 20px;
  padding: 0.75rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: opacity 0.25s ease, transform 0.3s var(--transition-jelly), visibility 0.25s;
  z-index: 100;
}

.invexom-user-menu.is-open .invexom-user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.invexom-user-header {
  padding: 0.4rem 0.6rem;
  display: flex;
  flex-direction: column;
}

.invexom-user-header strong {
  color: #ffffff;
  font-size: 0.92rem;
}

[data-theme="light"] .invexom-user-header strong {
  color: #ffffff;
}

.invexom-user-header span {
  color: #ffffff;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.invexom-user-divider {
  height: 1px;
  background: var(--border-glass-dark);
  margin: 0.4rem 0;
}

.invexom-user-dropdown a {
  display: block;
  padding: 0.55rem 0.6rem;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.invexom-user-dropdown a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.invexom-user-dropdown a.invexom-logout {
  color: #f90000;
}

/* -------------------------------------------------------------------------- */
/* MOBILE RESPONSIVE DRAWER & HAMBURGER BUTTON                               */
/* -------------------------------------------------------------------------- */
.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass-dark);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.mobile-nav-toggle svg {
  width: 22px !important;
  height: 22px !important;
  stroke: currentColor !important;
  stroke-width: 2;
  fill: none;
}

[data-theme="light"] .mobile-nav-toggle {
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--border-glass-light);
  color: #0f172a;
}

.mobile-drawer {
  display: none;
}

@media (max-width: 992px) {
  .nav-menu-wrapper {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: flex !important;
  }

  .auth-buttons {
    display: none !important;
  }

  /* Responsive Floating Drawer */
  .mobile-drawer {
    display: block;
    position: fixed;
    top: 80px;
    left: 1rem;
    right: 1rem;
    background: var(--dropdown-bg-dark) !important;
    backdrop-filter: blur(24px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
    border: 1px solid var(--border-glass-dark) !important;
    border-radius: 24px;
    padding: 1.2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.96);
    transition: all 0.35s var(--transition-jelly);
    z-index: 999;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    pointer-events: auto;
  }

  [data-theme="light"] .mobile-drawer {
    background: var(--dropdown-bg-light) !important;
    border-color: var(--border-glass-light) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  }

  .mobile-drawer.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease;
  }

  [data-theme="light"] .mobile-nav-link {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.03);
  }

  .mobile-nav-link:hover,
  .mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.1);
  }

  [data-theme="light"] .mobile-nav-link:hover {
    background: rgba(0, 0, 0, 0.06);
  }

  .mobile-accordion-toggle .chevron-icon {
    transition: transform 0.3s ease;
  }

  .mobile-accordion-toggle.is-open .chevron-icon {
    transform: rotate(180deg);
  }

  .mobile-accordion-content {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.4rem 0 0.4rem 0.8rem;
  }

  .mobile-accordion-content.is-open {
    display: flex;
  }

  .mobile-sub-link {
    padding: 0.6rem 0.9rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s ease;
  }

  [data-theme="light"] .mobile-sub-link {
    color: #64748b;
  }

  .mobile-sub-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
  }

  [data-theme="light"] .mobile-sub-link:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.05);
  }

  .mobile-auth-wrapper {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-glass-dark);
    display: flex;
    gap: 0.5rem;
  }

  [data-theme="light"] .mobile-auth-wrapper {
    border-top-color: var(--border-glass-light);
  }

  .mobile-btn {
    flex: 1;
    text-align: center;
    padding: 0.65rem 1rem;
  }
}
/* -------------------------------------------------------------------------- */
/* 2. 3D HERO SECTION                                                         */
/* -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-height - 1rem ) );
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-canvas-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#hero-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-overlay-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(90deg, rgba(8, 11, 15, 0.9) 0%, rgba(8, 11, 15, 0.72) 48%, rgba(8, 11, 15, 0.35) 100%),
              radial-gradient(circle at 75% 50%, transparent 20%, rgba(8, 11, 15, 0.65) 90%);
}

[data-theme="light"] .hero-overlay-vignette {
  background: linear-gradient(90deg, rgba(248, 250, 252, 0.94) 0%, rgba(248, 250, 252, 0.76) 50%, rgba(248, 250, 252, 0.4) 100%),
              radial-gradient(circle at 75% 50%, transparent 20%, rgba(248, 250, 252, 0.75) 90%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.hero-headline {
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-headline .brand-word {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

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

@media (max-width: 1024px) {
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

@media (max-width: 1024px) {
  .hero-cta-group {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 1024px) {
  .social-proof {
    justify-content: center;
  }
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--bg-dark);
  margin-left: -10px;
  background: var(--surface-card);
  object-fit: cover;
}

.avatar-img:first-child {
  margin-left: 0;
}

.avatar-count {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-dark);
  margin-left: -10px;
}

.social-proof-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.social-proof-text strong {
  color: var(--text-white);
}

/* 3D Portal Canvas Container */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .hero-visual-wrapper {
    height: 400px;
  }
}

@media (max-width: 640px) {
  .hero-visual-wrapper {
    height: 320px;
  }
}

#hero-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

.portal-frame-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 28px;
  border: 1px solid rgba(6, 182, 212, 0.2);
  box-shadow: inset 0 0 50px rgba(37, 99, 235, 0.15), 0 0 40px rgba(6, 182, 212, 0.1);
  background: radial-gradient(circle at center, transparent 40%, rgba(8, 11, 15, 0.4) 100%);
}

[data-theme="light"] .portal-frame-overlay {
  background: radial-gradient(circle at center, transparent 40%, rgba(248, 250, 252, 0.5) 100%);
  border-color: rgba(37, 99, 235, 0.3);
}

/* -------------------------------------------------------------------------- */
/* STATS BAR                                                                  */
/* -------------------------------------------------------------------------- */
/* ======================================================
   THEME VARIABLES
   ====================================================== */

:root {
  /* LIGHT MODE */
  --stats-bar-bg: rgba(255, 255, 255, 0.75);          /* Pure white frosted container */
  --stats-bar-border: rgba(255, 255, 255, 0.9);
  --stats-bar-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
  
  --stat-card-bg: transparent;                        /* NO background color change */
  --stat-card-border: rgba(15, 23, 42, 0.1);          /* Simple thin border */
  --stat-card-hover-border: rgba(2, 132, 199, 0.4);
  
  --stat-number-color: #0f172a;                       /* Black text in light mode */
  --stat-label-color: #475569;                        /* Dark gray label */
  
  --stat-icon-bg: #e0f2fe;                            /* Soft sky blue icon badge */
  --stat-icon-border: #bae6fd;
  --stat-icon-color: #0284c7;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* DARK MODE */
    --stats-bar-bg: rgba(15, 23, 42, 0.65);
    --stats-bar-border: rgba(255, 255, 255, 0.15);
    --stats-bar-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    
    --stat-card-bg: transparent;                      /* NO background color change */
    --stat-card-border: rgba(255, 255, 255, 0.15);    /* Simple thin border in dark mode */
    --stat-card-hover-border: rgba(56, 189, 248, 0.5);
    
    --stat-number-color: #ffffff;                     /* White text in dark mode */
    --stat-label-color: #94a3b8;                      /* Light gray label */
    
    --stat-icon-bg: rgba(14, 165, 233, 0.15);
    --stat-icon-border: rgba(14, 165, 233, 0.3);
    --stat-icon-color: #38bdf8;
  }
}

.dark {
  --stats-bar-bg: rgba(15, 23, 42, 0.65);
  --stats-bar-border: rgba(255, 255, 255, 0.15);
  --stats-bar-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  
  --stat-card-bg: transparent;
  --stat-card-border: rgba(255, 255, 255, 0.15);
  --stat-card-hover-border: rgba(56, 189, 248, 0.5);
  
  --stat-number-color: #ffffff;
  --stat-label-color: #94a3b8;
  
  --stat-icon-bg: rgba(14, 165, 233, 0.15);
  --stat-icon-border: rgba(14, 165, 233, 0.3);
  --stat-icon-color: #38bdf8;
}

/* ======================================================
   LAYOUT STYLES
   ====================================================== */

/* Main Container */
.stats-bar {
  margin-top: 2.5rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  background: var(--stats-bar-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--stats-bar-border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--stats-bar-shadow);
  transition: all 0.3s ease;
}

/* Desktop: 4 Columns in 1 Row */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Stat Item: Transparent + Simple Thin Border + Blur */
.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--stat-card-bg);                   /* Transparent background */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--stat-card-border);          /* Simple thin border */
  border-radius: 16px;
  padding: 16px 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Icon Box */
.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--stat-icon-bg);
  border: 1px solid var(--stat-icon-border);
  color: var(--stat-icon-color);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

/* Typography */
.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--stat-number-color);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--stat-label-color);
  margin-top: 2px;
  white-space: nowrap;
}

/* ======================================================
   MOBILE & TABLET: 2 STAT BOXES PER ROW (2x2 GRID)
   ====================================================== */
@media (max-width: 768px) {
  .stats-bar {
    margin-top: 1.5rem;
    padding: 14px;
    border-radius: 18px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);            /* 2 stat boxes per row */
    gap: 10px;
  }

  .stat-item {
    padding: 12px 10px;
    gap: 10px;
    border-radius: 14px;
  }

  .stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .stat-icon svg {
    width: 18px;
    height: 18px;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.75rem;
    white-space: normal;
    line-height: 1.2;
  }
}
/* -------------------------------------------------------------------------- */
/* 3. WHAT IS INVEXOM? (ABOUT)                                                */
/* -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.about-card-visual {
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.15), var(--surface-card));
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  overflow: hidden;
  transition: background var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="light"] .about-card-visual {
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.08), #ffffff);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.architectural-sculpture {
  position: relative;
  z-index: 2;
  width: 180px;
  height: 180px;
  margin-bottom: 1.5rem;
}

.architectural-sculpture svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px var(--primary-blue-glow));
  animation: floatSlow 6s ease-in-out infinite alternate;
}

@keyframes floatSlow {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(4deg); }
}

.about-feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .about-feature-list {
    grid-template-columns: 1fr;
  }
}

.about-feature-item {
  display: flex;
  gap: 0.85rem;
}

.about-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.12);
  color: var(--cyan-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

[data-theme="light"] .about-feature-icon {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.12);
}

.about-feature-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.about-feature-text p {
  font-size: 0.85rem;
}

/* -------------------------------------------------------------------------- */
/* 4. INTERNSHIPS SECTION                                                     */
/* -------------------------------------------------------------------------- */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-blue);
  color: #ffffff !important;
  border-color: var(--primary-blue);
  box-shadow: 0 4px 15px var(--primary-blue-glow);
}

[data-theme="light"] .filter-btn {
  background: #e2e8f0;
  color: #1e293b;
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .filter-btn:hover, [data-theme="light"] .filter-btn.active {
  background: #2563eb;
  color: #ffffff !important;
  border-color: #2563eb;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

.card-internship {
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-normal);
  overflow: hidden;
}

.card-internship:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px var(--primary-blue-glow);
}

[data-theme="light"] .card-internship {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .card-internship:hover {
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
  border-color: #2563eb;
}

.card-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--cyan-accent);
}

[data-theme="light"] .card-icon-box {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.1);
}

.card-internship h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.card-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: var(--cyan-accent);
  font-weight: 600;
}

[data-theme="light"] .card-tag {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.card-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: all var(--transition-fast);
}

[data-theme="light"] .card-action-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.card-internship:hover .card-action-btn {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #ffffff;
}

/* -------------------------------------------------------------------------- */
/* 5. SERVICES SECTION                                                        */
/* -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.service-card:hover {
  border-color: var(--cyan-accent);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15);
}

[data-theme="light"] .service-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .service-card:hover {
  border-color: #2563eb;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.2));
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-accent);
  margin-bottom: 1.5rem;
}

[data-theme="light"] .service-icon {
  color: #0284c7;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  margin-bottom: 1.5rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tag-item {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

[data-theme="light"] .service-tag-item {
  background: #f1f5f9;
  color: #334155;
  border-color: #cbd5e1;
}

/* -------------------------------------------------------------------------- */
/* 6. WHY INVEXOM (VALUES)                                                    */
/* -------------------------------------------------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

@media (max-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition-fast);
}

.value-card:hover {
  background: var(--surface-card-hover);
  border-color: var(--border-glow);
}

[data-theme="light"] .value-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* -------------------------------------------------------------------------- */
/* 7. FEATURED WORK / PROJECTS                                               */
/* -------------------------------------------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-fast);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan-accent);
}

[data-theme="light"] .project-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.project-preview {
  height: 180px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(124, 58, 237, 0.3));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-preview svg {
  width: 64px;
  height: 64px;
  color: rgba(255, 255, 255, 0.8);
}

.project-body {
  padding: 1.5rem;
}

.project-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

/* -------------------------------------------------------------------------- */
/* 8. HOW IT WORKS                                                            */
/* -------------------------------------------------------------------------- */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

@media (max-width: 992px) {
  .steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .steps-container {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: border-color var(--transition-fast);
}

.step-card:hover {
  border-color: var(--primary-blue);
}

[data-theme="light"] .step-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.step-number {
  font-family: var(--font-hero);
  font-size: 0.9rem;
  color: var(--cyan-accent);
  margin-bottom: 1rem;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

[data-theme="light"] .step-number {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.1);
}

.step-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  border: 1px solid var(--border-glow);
}

[data-theme="light"] .step-icon {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

/* -------------------------------------------------------------------------- */
/* 9. CTA SECTION                                                            */
/* -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(124, 58, 237, 0.25) 100%), var(--surface-card);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

[data-theme="light"] .cta-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(124, 58, 237, 0.12) 100%), #ffffff;
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.25);
}

@media (max-width: 992px) {
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 3rem 2rem;
  }
}

.cta-content {
  max-width: 600px;
  z-index: 2;
}

.cta-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.cta-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  max-width: 460px;
}

@media (max-width: 992px) {
  .cta-form {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .cta-form {
    flex-direction: column;
    width: 100%;
  }
  .cta-form input, .cta-form button {
    width: 100%;
  }
}

.cta-input {
  flex: 1;
  background: rgba(8, 11, 15, 0.6);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.25rem;
  color: var(--text-white);
  outline: none;
  transition: border-color var(--transition-fast);
}

[data-theme="light"] .cta-input {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.2);
  color: #0f172a;
}

.cta-input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 12px var(--primary-blue-glow);
}
/* -------------------------------------------------------------------------- */
/* 10. FOOTER                                                                 */
/* -------------------------------------------------------------------------- */
.footer {
  background: #06090e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.5rem 1.5rem 2rem;
  position: relative;
  z-index: 10;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

[data-theme="light"] .footer {
  background: #f1f5f9;
  border-top-color: rgba(15, 23, 42, 0.08);
}

.footer .container {
  width: min(1200px, 100%);
  margin: 0 auto;
}

/* Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.1fr 1.7fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  align-items: start;
}

/* Brand Column */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-col .brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-white, #f8fafc);
  font-family: 'Michroma', system-ui, -apple-system, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: opacity 0.2s ease;
}

[data-theme="light"] .footer-brand-col .brand-logo {
  color: #0f172a;
}

.footer-brand-col .brand-logo:hover {
  opacity: 0.9;
}

.footer-brand-col .brand-logo-img {
  display: block;
  width: 42px;
  height: auto;
  object-fit: contain;
}

.footer-brand-col p {
  margin-top: 1rem;
  max-width: 320px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted, #94a3b8);
}

/* Headings */
.footer-heading {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-white, #f8fafc);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

[data-theme="light"] .footer-heading {
  color: #0f172a;
}

.footer-heading::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(180deg, #06b6d4, #2563eb);
}

/* Navigation Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

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

[data-theme="light"] .footer-links a {
  color: #475569;
}

[data-theme="light"] .footer-links a:hover {
  color: #2563eb;
}

/* Newsletter Column */
.footer-newsletter-col p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 1rem;
}

[data-theme="light"] .footer-newsletter-col p {
  color: #475569;
}

.cta-form {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  width: 100%;
}

.cta-input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white, #f8fafc);
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

[data-theme="light"] .cta-input {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

.cta-input::placeholder {
  color: rgba(148, 163, 184, 0.6);
}

.cta-input:focus {
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

.footer .btn-primary {
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: #ffffff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 15px -2px rgba(37, 99, 235, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -2px rgba(6, 182, 212, 0.5);
}

.footer .btn-primary:active {
  transform: translateY(0);
}

/* Footer Bottom (Sub-Footer) */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(15, 23, 42, 0.08);
  color: #64748b;
}

.footer-bottom p {
  margin: 0;
}

/* Social Icon Buttons */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted, #94a3b8);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="light"] .social-icon-btn {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  color: #334155;
}

.social-icon-btn:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px -2px rgba(6, 182, 212, 0.4);
}

/* Modal styling for internship apply preview */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 15, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

[data-theme="light"] .modal-overlay {
  background: rgba(15, 23, 42, 0.45);
}

.modal-box {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="light"] .modal-box {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted, #94a3b8);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text-white, #f8fafc);
}

/* -------------------------------------------------------------------------- */
/* RESPONSIVE & MOBILE SPACING OPTIMIZATIONS                                  */
/* -------------------------------------------------------------------------- */

/* Tablet (1024px) */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
  }

  .footer-newsletter-col {
    grid-column: span 4;
    max-width: 480px;
  }
}

/* Medium Mobile / Small Tablet (768px) */
@media (max-width: 768px) {
  .footer {
    padding: 2.5rem 1.25rem 1.75rem;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem 1rem;
    margin-bottom: 2rem;
  }

  .footer-brand-col {
    grid-column: span 3;
    margin-bottom: 0.25rem;
  }

  .footer-brand-col p {
    max-width: 100%;
    margin-top: 0.75rem;
    font-size: 0.85rem;
  }

  .footer-newsletter-col {
    grid-column: span 3;
    margin-top: 0.5rem;
  }

  .footer-bottom {
    padding-top: 1.5rem;
    flex-direction: column;
    gap: 0.85rem;
    text-align: center;
  }
}

/* Compact Mobile (520px) - Tight, Space-Efficient 2-Column Grid */
@media (max-width: 520px) {
  .footer {
    padding: 2.25rem 1rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 0.75rem;
    margin-bottom: 1.75rem;
  }

  .footer-brand-col {
    grid-column: span 2;
  }

  .footer-legal-col {
    grid-column: span 2;
  }

  .footer-newsletter-col {
    grid-column: span 2;
  }

  .footer-links {
    gap: 0.55rem;
  }

  .footer-links a {
    font-size: 0.82rem;
  }

  .footer-heading {
    font-size: 0.75rem;
    margin-bottom: 0.85rem;
  }

  .cta-input {
    height: 42px;
    font-size: 0.82rem;
  }

  .footer .btn-primary {
    height: 42px;
    padding: 0 14px;
  }

  .social-links {
    gap: 0.6rem;
  }

  .social-icon-btn {
    width: 34px;
    height: 34px;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* -------------------------------------------------------------------------- */
/* 404 PAGE STYLES                                                            */
/* -------------------------------------------------------------------------- */
.error-404-section {
  min-height: 80vh;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.error-404-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 992px) {
  .error-404-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.error-code-display {
  font-family: var(--font-hero);
  font-size: clamp(4.5rem, 11vw, 8.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.error-404-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.error-404-content p {
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .error-404-content p {
    margin-left: auto;
    margin-right: auto;
  }
}

.error-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

@media (max-width: 992px) {
  .error-cta-group {
    justify-content: center;
  }
}

.quick-links-box {
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  max-width: 540px;
  text-align: left;
}

@media (max-width: 992px) {
  .quick-links-box {
    margin-left: auto;
    margin-right: auto;
  }
}

.quick-links-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.quick-links-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  list-style: none;
}

.quick-links-list a {
  font-size: 0.9rem;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition-fast);
}

.quick-links-list a:hover {
  color: var(--cyan-accent);
}

.error-visual-card {
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.15), var(--surface-card));
  border: 1px solid var(--border-card);
  border-radius: 28px;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .error-visual-card {
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.08), #ffffff);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.cosmic-orbit-graphic {
  width: 220px;
  height: 220px;
  position: relative;
}

.cosmic-orbit-graphic svg {
  width: 100%;
  height: 100%;
  animation: floatSlow 8s ease-in-out infinite alternate;
}




/* =========================================================
   INTERNSHIP DETAIL PAGE
   ========================================================= */

.internship-single {
    min-height: 60vh;
}

.internship-hero {
    padding: 120px 0 80px;
    border-bottom: 1px solid var(--border-color);
}

.internship-back {
    display: inline-flex;
    margin-bottom: 42px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
}

.internship-back:hover {
    color: var(--accent);
}

.internship-hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 70px;
    align-items: start;
}

.internship-label {
    display: inline-flex;
    padding: 7px 14px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.internship-hero h1 {
    margin: 0 0 28px;
    font-family: 'Michroma', sans-serif;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.internship-excerpt {
    max-width: 720px;
    color: var(--text-muted);
    font-family: 'Source Serif 4', serif;
    font-size: 20px;
    line-height: 1.65;
}

.internship-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.internship-meta span {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 18px;
    min-width: 120px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: rgba(255,255,255,0.025);
}

.internship-meta strong {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.internship-apply-card,
.application-card {
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--card-bg);
}

.internship-apply-card h2,
.application-card h2 {
    margin: 0 0 12px;
    font-family: 'Source Serif 4', serif;
    font-size: 30px;
}

.internship-apply-card p,
.application-card p {
    margin-bottom: 24px;
    color: var(--text-muted);
    line-height: 1.6;
}

.internship-content {
    padding: 90px 0 120px;
}

.internship-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 80px;
    align-items: start;
}

.internship-main-content {
    max-width: 780px;
}

.content-block {
    margin-bottom: 65px;
}

.content-block h2 {
    margin: 0 0 22px;
    font-family: 'Source Serif 4', serif;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
}

.content-block p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.8;
}

.internship-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.internship-benefits li {
    position: relative;
    padding: 15px 0 15px 30px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text);
}

.internship-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.internship-sidebar {
    position: sticky;
    top: 110px;
}


/* Mobile */
@media (max-width: 900px) {

    .internship-hero {
        padding: 90px 0 60px;
    }

    .internship-hero-content,
    .internship-content-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .internship-sidebar {
        position: static;
    }

    .internship-hero h1 {
        font-size: clamp(36px, 10vw, 60px);
    }

    .internship-content {
        padding: 65px 0 80px;
    }
}

@media (max-width: 600px) {

    .internship-hero {
        padding: 70px 0 45px;
    }

    .internship-back {
        margin-bottom: 30px;
    }

    .internship-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .internship-meta span {
        min-width: 0;
    }

    .internship-apply-card,
    .application-card {
        padding: 24px;
    }

    .content-block {
        margin-bottom: 45px;
    }
}

/* Internship Featured Image */
.internship-featured-image {
    width: 100%;
    max-width: 520px;
    margin-bottom: 28px;
    border-radius: 24px;
    overflow: hidden;
}

.internship-thumbnail {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 24px;
}

/* Mobile */
@media (max-width: 768px) {
    .internship-featured-image {
        max-width: 100%;
        margin-bottom: 22px;
    }

    .internship-thumbnail {
        height: 240px;
    }
}

/* =========================================
   INVEXOM STUDENT ACCOUNT MENU
========================================= */

.invexom-user-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.invexom-user-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.2s ease;
}

.invexom-user-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.28);
}

.invexom-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #111827;
    color: #ffffff;

    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 700;
}


/* Dropdown */

.invexom-user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;

    width: 230px;
    padding: 8px;

    background: var(--background, #ffffff);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;

    box-shadow: 0 18px 50px rgba(0,0,0,0.14);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-8px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;

    z-index: 2000;
}

.invexom-user-menu.is-open .invexom-user-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}


/* User information */

.invexom-user-header {
    padding: 10px 12px;
}

.invexom-user-header strong {
    display: block;

    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.invexom-user-header span {
    display: block;
    margin-top: 3px;

    font-size: 12px;
    opacity: 0.55;
}


/* Dropdown links */

.invexom-user-dropdown a {
    display: block;

    padding: 11px 12px;

    border-radius: 9px;

    text-decoration: none;

    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 500;

    color: #fbfcfd;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.invexom-user-dropdown a:hover {
    background: rgba(127,127,127,0.08);
    transform: translateX(2px);
}


/* Divider */

.invexom-user-divider {
    height: 1px;
    margin: 7px 5px;

    background: rgba(127,127,127,0.14);
}


/* Logout */

.invexom-user-dropdown .invexom-logout {
}


/* Mobile */

@media (max-width: 768px) {

    .invexom-user-dropdown {
        right: -5px;
        width: 210px;
    }

}