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

:root {
  --bg-dark: #070913;
  --bg-darker: #030408;
  --bg-card: rgba(13, 18, 33, 0.45);
  --glass-bg: rgba(9, 12, 24, 0.65);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-border-hover: rgba(255, 255, 255, 0.12);
  
  --primary: #4facfe;
  --secondary: #00f2fe;
  --accent: #d946ef;
  --accent-purple: #8b5cf6;
  --success: #10b981;
  --warning: #f59e0b;
  
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent) 100%);
  --gradient-dark: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-light: #ffffff;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(79, 172, 254, 0.25);
  --shadow-glow-accent: 0 0 20px rgba(217, 70, 239, 0.25);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-darker);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Gradient Background Blobs */
.bg-blobs-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: float-blob 25s infinite alternate ease-in-out;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--primary);
  animation-duration: 20s;
}

.blob-2 {
  bottom: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: var(--accent-purple);
  animation-duration: 28s;
  animation-delay: -5s;
}

.blob-3 {
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45vw;
  height: 45vw;
  background: var(--accent);
  opacity: 0.08;
  animation-duration: 35s;
  animation-delay: -10s;
}

@keyframes float-blob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(5%, 8%) scale(1.1);
  }
  100% {
    transform: translate(-5%, -5%) scale(0.95);
  }
}

/* Glassmorphism Components */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  transition: all var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(255, 255, 255, 0.03);
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-light);
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(90deg, #fff 20%, #a5b4fc 50%, var(--primary) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine-text 8s linear infinite;
}

.gradient-text-accent {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes shine-text {
  to {
    background-position: 200% center;
  }
}

/* ============================================================
   BUTTONS — Premium Edition
   ============================================================ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2.25rem;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  overflow: hidden;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease,
    opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  isolation: isolate;
}

/* Ripple layer (triggered via JS) */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.35) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0);
  transition: transform 0.5s ease, opacity 0.5s ease;
  border-radius: inherit;
  pointer-events: none;
}

.btn:active::after {
  transform: scale(2.5);
  opacity: 1;
  transition: 0s;
}

/* ---- PRIMARY BUTTON ---- */
.btn-primary {
  background: linear-gradient(110deg, #00c6ff, #4facfe 40%, #00f2fe 65%, #0072ff);
  background-size: 250% 100%;
  color: #03040a;
  box-shadow:
    0 0 18px rgba(79, 172, 254, 0.35),
    0 4px 15px rgba(0, 0, 0, 0.3);
  animation: btn-gradient-shift 4s ease infinite;
}

@keyframes btn-gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Shimmer sweep */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.5) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn-primary:hover::before {
  left: 140%;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 0 30px rgba(79, 172, 254, 0.65),
    0 0 60px rgba(0, 242, 254, 0.25),
    0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

/* ---- SECONDARY BUTTON ---- */
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 4px 15px rgba(0,0,0,0.2);
}

/* Animated glowing border */
.btn-secondary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg, #4facfe, #d946ef, #00f2fe, #8b5cf6);
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s ease;
  animation: btn-border-glow 4s linear infinite;
}

@keyframes btn-border-glow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: transparent;
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 0 20px rgba(79, 172, 254, 0.2),
    0 8px 25px rgba(0, 0, 0, 0.35);
  color: #fff;
}

.btn-secondary:active {
  transform: translateY(-1px) scale(0.98);
}

/* ---- ACCENT BUTTON (Candidates CTA) ---- */
.btn-accent {
  background: linear-gradient(110deg, #7c3aed, #8b5cf6 35%, #d946ef 65%, #c026d3);
  background-size: 250% 100%;
  color: #fff;
  box-shadow:
    0 0 18px rgba(139, 92, 246, 0.4),
    0 4px 15px rgba(0, 0, 0, 0.3);
  animation: btn-accent-shift 4s ease infinite;
}

@keyframes btn-accent-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.4) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn-accent:hover::before {
  left: 140%;
}

.btn-accent:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 0 30px rgba(217, 70, 239, 0.65),
    0 0 60px rgba(139, 92, 246, 0.25),
    0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn-accent:active {
  transform: translateY(-1px) scale(0.98);
}


/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  padding: 0.75rem 0;
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background: var(--bg-dark);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    transition: left var(--transition-normal);
    z-index: 99;
    border-top: 1px solid var(--glass-border);
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-actions .btn {
    display: none; /* Hide in mobile header, show in mobile menu */
  }
}

/* Hide mobile-only nav button on desktop */
.nav-actions-mobile {
  display: none;
}

@media (max-width: 992px) {
  .nav-actions-mobile {
    display: block;
    list-style: none;
  }
}

/* Hero Section */
.hero {
  padding: 10rem 0 6rem;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .hero {
    padding: 8rem 0 4rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(79, 172, 254, 0.1);
  border: 1px solid rgba(79, 172, 254, 0.2);
  border-radius: 100px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(79, 172, 254, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(79, 172, 254, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 172, 254, 0); }
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.75rem;
  }
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

@media (max-width: 992px) {
  .hero-desc {
    margin: 0 auto 2.5rem;
  }
}

.hero-cta {
  display: flex;
  gap: 1.25rem;
}

@media (max-width: 576px) {
  .hero-cta {
    flex-direction: column;
  }
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Premium Animated SVG in Hero */
.hero-svg {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(79, 172, 254, 0.15));
}

.svg-node {
  animation: float-node 6s infinite ease-in-out;
}

.svg-node:nth-child(2) { animation-delay: -2s; }
.svg-node:nth-child(3) { animation-delay: -4s; }

.svg-connection {
  stroke-dasharray: 8;
  animation: dash 30s linear infinite;
}

@keyframes float-node {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.03); }
}

@keyframes dash {
  to {
    stroke-dashoffset: -1000;
  }
}

/* Stats Section */
.stats {
  padding: 5rem 0;
  position: relative;
}

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

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

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

.stat-card {
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
  line-height: 1;
}

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

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-tag {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

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

@media (max-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

/* Services Section */
.services {
  padding: 6rem 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

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

.service-card {
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: all var(--transition-normal);
  color: var(--primary);
}

.service-card:hover .service-icon-wrapper {
  background: var(--gradient-primary);
  color: var(--bg-darker);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
}

.service-icon-wrapper svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition-fast);
}

.service-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* Interactive Tabs Section */
.interactive-tabs-section {
  padding: 6rem 0;
  position: relative;
}

.tabs-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.tabs-nav {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 0.5rem;
  border-radius: 16px;
  gap: 0.5rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.tab-btn {
  flex: 1;
  max-width: 250px;
  background: transparent;
  border: none;
  padding: 1rem;
  border-radius: 12px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.tab-btn.active {
  background: var(--gradient-primary);
  color: var(--bg-darker);
  box-shadow: var(--shadow-sm);
}

.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .tab-panel.active {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.tab-content h3 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.tab-list {
  list-style: none;
}

.tab-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.tab-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.2rem;
}

.tab-visual {
  display: flex;
  justify-content: center;
}

.tab-visual-svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 0 25px rgba(0, 242, 254, 0.15));
}

/* ==============================
   Animated Emojis — Premium Set
   ============================== */

/* Base */
.animated-emoji,
.emoji-float,
.emoji-pulse,
.emoji-spin,
.emoji-swing {
  display: inline-block;
  line-height: 1;
}

/* Float — smooth up-down levitation */
.animated-emoji,
.emoji-float {
  animation: emoji-float 3s ease-in-out infinite;
}

@keyframes emoji-float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-8px) scale(1.08); }
}

/* Pulse — scale glow like a heartbeat */
.emoji-pulse {
  animation: emoji-pulse 1.8s ease-in-out infinite;
}

@keyframes emoji-pulse {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 0px rgba(255,200,0,0)); }
  50%       { transform: scale(1.22); filter: drop-shadow(0 0 8px rgba(255,200,0,0.9)); }
}

/* Spin — slow continuous rotation with ease */
.emoji-spin {
  animation: emoji-spin 4s linear infinite;
}

@keyframes emoji-spin {
  0%   { transform: rotate(0deg)   scale(1); }
  50%  { transform: rotate(180deg) scale(1.15); }
  100% { transform: rotate(360deg) scale(1); }
}

/* Swing — pendulum side-to-side swing */
.emoji-swing {
  transform-origin: top center;
  animation: emoji-swing 2.4s ease-in-out infinite;
}

@keyframes emoji-swing {
  0%, 100% { transform: rotate(0deg); }
  20%       { transform: rotate(12deg); }
  40%       { transform: rotate(-10deg); }
  60%       { transform: rotate(6deg); }
  80%       { transform: rotate(-4deg); }
}

/* Stat Emoji — big animated emoji above stat numbers */
.stat-emoji {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

/* Vacancies Section */
.vacancies {
  padding: 6rem 0;
  position: relative;
}

.vacancies-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 0.625rem 1.5rem;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  color: var(--bg-darker);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.vacancies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.vacancy-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.vacancy-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.vacancy-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.vacancy-salary {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.15rem;
}

.vacancy-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.vacancy-details {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.vacancy-details span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.vacancy-details svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.vacancy-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.vacancy-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Testimonials (Slider) */
.testimonials {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.testimonials-slider-container {
  position: relative;
  max-width: 1020px;
  margin: 0 auto;
  padding: 1rem 0;
}

.testimonials-track {
  display: flex;
  gap: 2rem;
  transition: transform var(--transition-normal);
  cursor: grab;
}

.testimonials-track:active {
  cursor: grabbing;
}

.testimonial-card {
  flex: 0 0 calc(50% - 1rem);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 100%;
  }
}

.testimonial-rating {
  color: var(--warning);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--bg-darker);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.author-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.slider-dot.active {
  background: var(--primary);
  transform: scale(1.2);
  width: 28px;
  border-radius: 6px;
}

/* Contact / Form Section */
.contact {
  padding: 6rem 0 8rem;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

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

.contact-info-panel h3 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.contact-info-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-detail-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-detail-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.contact-detail-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form-panel {
  padding: 3rem;
  border-radius: 24px;
}

@media (max-width: 576px) {
  .contact-form-panel {
    padding: 2rem 1.5rem;
  }
}

.form-group {
  margin-bottom: 1.75rem;
  position: relative;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
}

.form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.form-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(79, 172, 254, 0.15);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

/* Fix native <select> dropdown option visibility */
.form-input option {
  background-color: #0d1221;
  color: #f3f4f6;
  font-family: var(--font-body);
  padding: 0.5rem;
}

.form-input option:disabled {
  color: rgba(255,255,255,0.35);
}

.form-input option:checked,
.form-input option:hover {
  background-color: #1a2540;
  color: #4facfe;
}

.file-upload-wrapper {
  position: relative;
  display: block;
}

.file-upload-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 2px dashed var(--glass-border);
  border-radius: 12px;
  color: var(--text-muted);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.file-upload-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--primary);
  color: var(--text-light);
}

.file-upload-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-status-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  display: none;
}

.form-submit-btn {
  width: 100%;
  font-size: 1.05rem;
  padding: 1rem;
}

/* Success Message */
.form-success-container {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 0;
}

.success-svg {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  color: var(--success);
}

.success-svg circle {
  stroke-dasharray: 251;
  stroke-dashoffset: 251;
  animation: draw-circle 1s forwards ease-in-out;
}

.success-svg path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw-check 0.5s 0.8s forwards ease-in-out;
}

@keyframes draw-circle {
  to { stroke-dashoffset: 0; }
}

@keyframes draw-check {
  to { stroke-dashoffset: 0; }
}

/* Modal Window */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 4, 8, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 1rem;
}

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

.modal-container {
  width: 100%;
  max-width: 580px;
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  cursor: pointer;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: var(--text-light);
}

.modal-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

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

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

.footer-logo-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-normal);
}

.social-link:hover {
  background: var(--gradient-primary);
  color: var(--bg-darker);
  border-color: transparent;
  transform: translateY(-3px);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-heading {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-light);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.newsletter-btn {
  padding: 0 1.25rem;
  border-radius: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--text-light);
}

/* Animations for scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

/* ============================================================
   1. PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-darker);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(90deg, #4facfe, #d946ef, #00f2fe);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine-text 2s linear infinite;
}

.preloader-bar-track {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  overflow: hidden;
}

.preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #4facfe, #d946ef);
  border-radius: 4px;
  animation: preload-fill 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes preload-fill {
  0%   { width: 0%; }
  60%  { width: 75%; }
  100% { width: 100%; }
}

/* ============================================================
   2. SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #4facfe, #d946ef, #00f2fe);
  z-index: 9998;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px rgba(79, 172, 254, 0.6);
  transition: width 0.1s linear;
}

/* ============================================================
   3. CUSTOM CURSOR
   ============================================================ */
body {
  cursor: none;
}

@media (hover: none) {
  /* Touch devices — restore default cursor */
  body { cursor: auto; }
  #cursor-dot, #cursor-ring { display: none; }
}

#cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, background 0.2s ease, width 0.2s ease, height 0.2s ease;
  mix-blend-mode: difference;
}

#cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(79, 172, 254, 0.7);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9996;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, width 0.25s ease, height 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
  box-shadow: 0 0 12px rgba(79, 172, 254, 0.4);
}

body.cursor-hover #cursor-dot {
  width: 12px;
  height: 12px;
  background: var(--primary);
}

body.cursor-hover #cursor-ring {
  width: 52px;
  height: 52px;
  border-color: rgba(217, 70, 239, 0.8);
  box-shadow: 0 0 20px rgba(217, 70, 239, 0.5);
}

/* ============================================================
   4. PARTICLE CANVAS (Hero Background)
   ============================================================ */
#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero {
  position: relative;
  overflow: hidden;
}

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

/* ============================================================
   5. BACK TO TOP BUTTON
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  border: none;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  box-shadow: 0 0 20px rgba(79, 172, 254, 0.4), 0 4px 15px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 0 30px rgba(79, 172, 254, 0.7), 0 8px 25px rgba(0,0,0,0.4);
}

#back-to-top svg {
  width: 22px;
  height: 22px;
  stroke: #03040a;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   6. 3D CARD TILT
   ============================================================ */
.tilt-card {
  transform-style: preserve-3d;
  transform: perspective(800px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.08s linear, box-shadow 0.3s ease;
  will-change: transform;
}

.tilt-card .tilt-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255,255,255,0.07) 0%,
    transparent 60%
  );
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.tilt-card:hover .tilt-shine {
  opacity: 1;
}

/* ============================================================
   7. TYPEWRITER cursor blink
   ============================================================ */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: var(--primary);
  margin-left: 2px;
  vertical-align: middle;
  border-radius: 2px;
  animation: blink-cursor 0.8s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ================================================================
   MOBILE RESPONSIVE — Premium Edition
   Breakpoints: 992px (tablet) | 768px (mobile) | 480px (small)
   ================================================================ */

/* ---- HAMBURGER MENU ANIMATION ---- */
@media (max-width: 992px) {
  .menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-normal), border-color var(--transition-normal);
  }
  
  .menu-toggle:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--glass-border-hover);
  }
  
  .menu-toggle.active {
    background: rgba(79,172,254,0.1);
    border-color: rgba(79,172,254,0.3);
  }

  /* Mobile nav slide-in improvements */
  .nav-menu {
    top: 68px;
    padding: 2rem 1.5rem 3rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(5, 7, 14, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 0.75rem 0;
    color: var(--text-main);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    width: 100%;
    display: block;
  }

  .nav-link:hover {
    color: var(--primary);
    padding-left: 0.5rem;
    transition: all var(--transition-normal);
  }

  .nav-link::after {
    display: none;
  }
}

/* ---- HERO SECTION — TABLET ---- */
@media (max-width: 992px) {
  .hero {
    padding: 7rem 0 4rem;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-desc {
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 2rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    display: none; /* Hide SVG graphic on tablet/mobile to save space */
  }

  .hero-badge {
    margin: 0 auto 1.5rem;
  }
}

/* ---- HERO SECTION — SMALL MOBILE ---- */
@media (max-width: 480px) {
  .hero {
    padding: 6rem 0 3rem;
  }

  .hero h1 {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }
}

/* ---- STATS SECTION ---- */
@media (max-width: 768px) {
  .stats {
    padding: 3rem 0;
  }

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

  .stat-card {
    padding: 1.75rem 1.25rem;
  }

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

  .stat-emoji {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .stat-card {
    padding: 1.5rem 1rem;
  }

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

  .stat-label {
    font-size: 0.8rem;
  }
}

/* ---- SECTION HEADERS ---- */
@media (max-width: 768px) {
  .section-header {
    margin-bottom: 2.5rem;
    padding: 0 0.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

/* ---- SERVICES SECTION ---- */
@media (max-width: 768px) {
  .services {
    padding: 4rem 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  /* Disable 3D tilt on touch */
  .tilt-card {
    transform: none !important;
  }
}

/* ---- INTERACTIVE TABS ---- */
@media (max-width: 768px) {
  .interactive-tabs-section {
    padding: 4rem 0;
  }

  .tabs-nav {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 14px;
  }

  .tab-btn {
    max-width: 100%;
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border-radius: 10px;
  }

  .tab-panel.active {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tab-content h3 {
    font-size: 1.75rem;
  }

  .tab-list li {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .tab-visual {
    display: none; /* Hide SVG visual on mobile */
  }
}

/* ---- VACANCIES SECTION ---- */
@media (max-width: 768px) {
  .vacancies {
    padding: 4rem 0;
  }

  .vacancies-filter {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .vacancies-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .vacancy-card {
    padding: 1.75rem 1.5rem;
  }

  .vacancy-details {
    flex-direction: column;
    gap: 0.5rem;
  }

  .vacancy-footer {
    flex-direction: column;
    gap: 0.75rem;
  }

  .vacancy-footer .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---- TESTIMONIALS ---- */
@media (max-width: 768px) {
  .testimonials {
    padding: 4rem 0;
  }

  .testimonial-card {
    flex: 0 0 100%;
    padding: 2rem 1.5rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .testimonials-track {
    cursor: grab;
  }
}

/* ---- CONTACT SECTION ---- */
@media (max-width: 768px) {
  .contact {
    padding: 4rem 0 5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-info-panel h3 {
    font-size: 1.75rem;
  }

  .contact-form-panel {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }

  .contact-details-list {
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .contact-form-panel {
    padding: 1.5rem 1.25rem;
  }
}

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

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

  footer {
    padding: 3rem 0 1.5rem;
  }

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

  .footer-links li {
    margin-bottom: 0.5rem;
  }

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

  .footer-bottom-links {
    gap: 1.25rem;
    font-size: 0.85rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 0.75rem;
  }

  .newsletter-btn {
    padding: 0.875rem;
    width: 100%;
  }
}

/* ---- MODAL ---- */
@media (max-width: 576px) {
  .modal-container {
    padding: 2rem 1.25rem;
    border-radius: 20px;
    max-height: 95vh;
    margin: 0.5rem;
  }

  .modal-title {
    font-size: 1.5rem;
    padding-right: 2rem;
  }

  .modal-close-btn {
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
  }
}

/* ---- BACK TO TOP — Mobile ---- */
@media (max-width: 768px) {
  #back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 46px;
    height: 46px;
  }
}

/* ---- PRELOADER — Mobile ---- */
@media (max-width: 480px) {
  .preloader-logo {
    font-size: 1.5rem;
  }

  .preloader-bar-track {
    width: 160px;
  }
}

/* ---- PREVENT TILT ON TOUCH DEVICES ---- */
@media (hover: none) {
  .tilt-card {
    transform: none !important;
    box-shadow: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .tilt-card:hover {
    transform: translateY(-5px) !important;
  }
}

/* ---- IMPROVE TOUCH TARGETS ---- */
@media (max-width: 768px) {
  .btn {
    min-height: 52px;
    font-size: 0.975rem;
  }

  .form-input {
    min-height: 52px;
    font-size: 16px; /* Prevent iOS zoom on focus */
  }

  textarea.form-input {
    min-height: auto;
  }

  select.form-input {
    font-size: 16px; /* Prevent iOS zoom */
  }

  .filter-btn {
    min-height: 42px;
  }

  .tab-btn {
    min-height: 52px;
  }
}

/* ---- HERO PARTICLES — hide on mobile for perf ---- */
@media (max-width: 576px) {
  #hero-particles {
    opacity: 0.4; /* Fade down to reduce distraction */
  }
}

/* ---- UTILITY CLASSES FOR MOBILE ---- */
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}
