/* ===== NEXAIIT CAREERS v5 — PREMIUM REDESIGN ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400&display=swap');

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

html {
  overflow-x: hidden;
  max-width: 100vw;
}

:root {
  --white: #ffffff;
  --off-white: #f8faff;
  --light: #eef2f7;
  --primary: #1a56db;
  --primary-dark: #1341b0;
  --primary-light: #3b82f6;
  --primary-ultra-light: #eff5ff;
  --accent: #f97316;
  --accent-dark: #ea6a0a;
  --accent-light: #fff4ed;
  --navy: #060d1f;
  --navy2: #0f172a;
  --text: #1a2340;
  --text-muted: #5a6a85;
  --text-light: #94a3b8;
  --border: rgba(26, 86, 219, 0.14);
  --border-light: rgba(0, 0, 0, 0.07);
  --card-shadow: 0 2px 16px rgba(26, 86, 219, 0.07), 0 1px 4px rgba(0, 0, 0, 0.04);
  --card-shadow-hover: 0 20px 56px rgba(26, 86, 219, 0.18), 0 6px 16px rgba(0, 0, 0, 0.08);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.5);
  --font: 'Poppins', sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--off-white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
  cursor: none;
  max-width: 100%;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(26, 86, 219, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* CURSOR */
#cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, background 0.2s;
}

#cursor-ring {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(26, 86, 219, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: all 0.18s ease;
}

body.cursor-hover #cursor-ring {
  width: 52px;
  height: 52px;
  background: rgba(26, 86, 219, 0.06);
  border-color: var(--primary);
}

body.cursor-hover #cursor-dot {
  background: var(--primary);
  transform: translate(-50%, -50%) scale(1.5);
}

.mouse-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 86, 219, 0.05) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

.mouse-glow.active {
  opacity: 1;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 3px;
}

::selection {
  background: rgba(26, 86, 219, 0.14);
  color: var(--primary-dark);
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font);
  line-height: 1.2;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

.orange-text {
  color: var(--accent);
}

.blue-text {
  color: var(--primary);
}

/* LAYOUT */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.88rem 2.1rem;
  background: linear-gradient(135deg, var(--primary) 0%, #2563eb 50%, var(--primary-dark) 100%);
  color: white;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  border: none;
  cursor: none;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 24px rgba(26, 86, 219, 0.35), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.55s;
}

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

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(26, 86, 219, 0.45);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.88rem 2.1rem;
  background: linear-gradient(135deg, var(--accent), #fb923c, var(--accent-dark));
  color: white;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  border: none;
  cursor: none;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 24px rgba(249, 115, 22, 0.35);
}

.btn-accent:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(249, 115, 22, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.84rem 1.9rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  color: var(--primary);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  border: 2px solid rgba(26, 86, 219, 0.3);
  cursor: none;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(26, 86, 219, 0.3);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.8rem;
}

.btn-danger {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.25);
}

.btn-success {
  background: linear-gradient(135deg, #059669, #047857);
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.25);
}

/* NAV */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0.6rem 0;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 8px 32px rgba(26, 86, 219, 0.08);
  padding: 0.2rem 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-logo img {
  height: 44px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  transition: all 0.22s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transition: all 0.3s;
  opacity: 0;
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(26, 86, 219, 0.06);
}

.nav-links a:hover::after {
  left: 14px;
  right: 14px;
  opacity: 1;
}

.nav-cta {
  font-size: 0.85rem !important;
  padding: 0.62rem 1.4rem !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid var(--border-light);
}

.mobile-menu a {
  color: var(--text-muted);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

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

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #fafcff 0%, #eef5ff 30%, #f5f0ff 60%, #fff6ee 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 130px 0 100px;
  width: 100%;
  max-width: 100vw;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a56db' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.hs1 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(26, 86, 219, 0.18), rgba(99, 102, 241, 0.08), transparent);
  top: -150px;
  right: 2%;
  animation: floatS 12s ease-in-out infinite;
  opacity: 1;
}

.hs2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.15), rgba(251, 146, 60, 0.06), transparent);
  bottom: -80px;
  left: 0%;
  animation: floatS 15s ease-in-out infinite reverse;
  opacity: 1;
}

.hs3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent);
  top: 30%;
  left: 35%;
  animation: floatS 9s ease-in-out infinite 2s;
  opacity: 1;
}

@keyframes floatS {

  0%,
  100% {
    transform: translateY(0) scale(1)
  }

  50% {
    transform: translateY(-30px) scale(1.05)
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.08), rgba(99, 102, 241, 0.06));
  border: 1.5px solid rgba(26, 86, 219, 0.22);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.6rem;
  animation: fadeInDown 0.8s ease both;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 12px rgba(26, 86, 219, 0.1);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.5;
    transform: scale(1.6)
  }
}

.hero-title {
  font-size: clamp(2.6rem, 4.8vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.3rem;
  animation: fadeInUp 0.9s 0.2s ease both;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.2rem;
  animation: fadeInUp 0.9s 0.4s ease both;
  font-weight: 400;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s 0.6s ease both;
  margin-bottom: 2.4rem;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: fadeInUp 0.9s 0.8s ease both;
}

.hero-avatars {
  display: flex;
}

.hero-avatars span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: 2px solid white;
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
}

.hero-avatars span:first-child {
  margin-left: 0;
}

.hero-rating-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.hero-rating-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stars {
  color: #f59e0b;
  font-size: 0.82rem;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  animation: fadeInRight 1s 0.4s ease both;
}

.hero-main-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(26, 86, 219, 0.16), 0 4px 20px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #6366f1, var(--accent));
}

.hero-main-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.02) 0%, transparent 60%);
  pointer-events: none;
}

.hcard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hcard-top h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--navy);
}

.hcard-badge {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.15), rgba(16, 185, 129, 0.1));
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  display: flex;
  align-items: center;
  gap: 5px;
}

.hcard-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.hcard-stat {
  text-align: center;
  padding: 1rem 0.5rem;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.05), rgba(99, 102, 241, 0.03));
  border-radius: 14px;
  border: 1px solid rgba(26, 86, 219, 0.1);
  transition: transform 0.2s;
}

.hcard-stat:hover {
  transform: translateY(-2px);
}

.hcard-stat .num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hcard-stat .lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hcard-roles {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hcard-role {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--off-white);
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--border-light);
  transition: all 0.2s;
}

.hcard-role:hover {
  background: var(--primary-ultra-light);
  border-color: rgba(26, 86, 219, 0.15);
}

.role-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.rd-blue {
  background: var(--primary)
}

.rd-orange {
  background: var(--accent)
}

.rd-green {
  background: #10b981
}

.role-name {
  flex: 1;
}

.role-tag {
  font-size: 0.66rem;
  color: white;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-weight: 700;
  letter-spacing: 0.03em;
}

.rt-orange {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12), 0 1px 0 rgba(255, 255, 255, 1) inset;
  padding: 0.9rem 1.2rem;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  animation: floatCard 4s ease-in-out infinite;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.fc1 {
  top: -20px;
  right: -16px;
  animation-delay: 0s
}

.fc2 {
  bottom: -20px;
  left: -16px;
  animation-delay: 2s
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0) rotate(0deg)
  }

  50% {
    transform: translateY(-10px) rotate(1deg)
  }
}

.fc-icon {
  font-size: 1.4rem
}

.fc-text strong {
  display: block;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.83rem
}

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

.hero-stats-row {
  background: white;
  border-radius: 22px;
  box-shadow: 0 8px 40px rgba(26, 86, 219, 0.1), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 2.5rem;
  border: 1px solid rgba(26, 86, 219, 0.08);
}

.hs-item {
  text-align: center;
}

.hs-num {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), #6366f1, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.hs-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hs-div {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(26, 86, 219, 0.15), transparent);
}

/* SECTION COMMON */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.09), rgba(99, 102, 241, 0.06), rgba(249, 115, 22, 0.05));
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  border: 1.5px solid rgba(26, 86, 219, 0.2);
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px rgba(26, 86, 219, 0.08);
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, var(--accent), #fb923c);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(249, 115, 22, 0.5);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 580px;
  line-height: 1.85;
  font-weight: 400;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-sub {
  margin: 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ABOUT */
.about {
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 86, 219, 0.15), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.9;
  font-weight: 400;
  margin-bottom: 1.4rem;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1rem 1.2rem;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-item:hover {
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.05), rgba(99, 102, 241, 0.03));
  border-color: rgba(26, 86, 219, 0.2);
  transform: translateX(6px);
  box-shadow: 0 4px 20px rgba(26, 86, 219, 0.08);
}

.value-icon {
  font-size: 1.5rem;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  transition: transform 0.3s;
}

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

.value-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--navy);
}

.value-item p {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.6;
}

.about-main-img {
  background: linear-gradient(135deg, #1a56db 0%, #2563eb 40%, #1341b0 100%);
  border-radius: 28px;
  padding: 2.4rem;
  color: white;
  box-shadow: 0 24px 80px rgba(26, 86, 219, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
}

.about-main-img::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent);
  border-radius: 50%;
}

.about-main-img::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.2), transparent);
  border-radius: 50%;
}

.about-main-img h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  position: relative;
}

.about-main-img p {
  opacity: 0.85;
  font-size: 0.93rem;
  line-height: 1.78;
  font-weight: 300;
  position: relative;
}

.about-stat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
  position: relative;
}

.asc {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s;
}

.asc:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.asc .num {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.asc .lbl {
  font-size: 0.7rem;
  opacity: 0.72;
  margin-top: 3px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-float-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  border-radius: 18px;
  padding: 1rem 1.4rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.afb-icon {
  font-size: 2rem
}

.afb-text strong {
  display: block;
  font-size: 1rem;
  color: var(--navy);
  font-weight: 700;
}

.afb-text span {
  font-size: 0.74rem;
  color: var(--text-muted)
}

/* SERVICES */
.services {
  background: linear-gradient(180deg, #f8faff 0%, #f0f4ff 50%, #f8faff 100%);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 86, 219, 0.15), transparent);
}

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

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 20px rgba(26, 86, 219, 0.07), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.02), rgba(99, 102, 241, 0.01), transparent);
  opacity: 0;
  transition: opacity 0.38s;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 64px rgba(26, 86, 219, 0.16), 0 6px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(26, 86, 219, 0.2);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card-top-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #6366f1, var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-top-line {
  transform: scaleX(1);
}

.service-num {
  position: absolute;
  top: 1rem;
  right: 1.3rem;
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(26, 86, 219, 0.04);
  line-height: 1;
  font-style: italic;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.1), rgba(99, 102, 241, 0.08));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.3rem;
  transition: all 0.35s;
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.12);
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 8px 24px rgba(26, 86, 219, 0.2);
}

.service-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.78;
  margin-bottom: 1.2rem;
}

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

.service-tags span {
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.07), rgba(99, 102, 241, 0.05));
  color: var(--primary);
  font-size: 0.7rem;
  padding: 0.24rem 0.7rem;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid rgba(26, 86, 219, 0.14);
  letter-spacing: 0.02em;
}

/* JOBS */
.jobs {
  background: white;
  position: relative;
}

.jobs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 86, 219, 0.12), transparent);
}

.job-filters {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
  padding: 1.4rem 1.6rem;
  background: linear-gradient(135deg, #f8faff, #f3f0ff);
  border-radius: var(--radius);
  border: 1.5px solid rgba(26, 86, 219, 0.1);
  box-shadow: 0 4px 24px rgba(26, 86, 219, 0.06);
}

.filter-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1.5px solid var(--border-light);
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  flex: 1;
  min-width: 200px;
  transition: all 0.25s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 2px 16px rgba(26, 86, 219, 0.12);
}

.filter-search input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.88rem;
  width: 100%;
  font-family: var(--font);
  cursor: none;
}

.filter-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 1.5px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.48rem 1rem;
  border-radius: 50px;
  cursor: none;
  font-size: 0.8rem;
  font-family: var(--font);
  font-weight: 600;
  transition: all 0.25s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 16px rgba(26, 86, 219, 0.3);
  transform: translateY(-1px);
}

.filter-type select {
  background: white;
  border: 1.5px solid var(--border-light);
  color: var(--text);
  padding: 0.58rem 1rem;
  border-radius: 50px;
  outline: none;
  font-size: 0.85rem;
  font-family: var(--font);
  cursor: none;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.job-card {
  background: white;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(26, 86, 219, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.job-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #6366f1, var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.job-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 56px rgba(26, 86, 219, 0.15), 0 6px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(26, 86, 219, 0.2);
}

.job-card:hover::before {
  transform: scaleX(1);
}

.job-dept-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.95rem;
}

.dept-engineering {
  background: rgba(26, 86, 219, 0.09);
  color: var(--primary);
  border: 1.5px solid rgba(26, 86, 219, 0.2)
}

.dept-design {
  background: rgba(168, 85, 247, 0.09);
  color: #7c3aed;
  border: 1.5px solid rgba(168, 85, 247, 0.2)
}

.dept-marketing {
  background: rgba(249, 115, 22, 0.09);
  color: var(--accent-dark);
  border: 1.5px solid rgba(249, 115, 22, 0.2)
}

.dept-operations {
  background: rgba(20, 184, 166, 0.09);
  color: #0f766e;
  border: 1.5px solid rgba(20, 184, 166, 0.2)
}

.dept-sales {
  background: rgba(239, 68, 68, 0.09);
  color: #dc2626;
  border: 1.5px solid rgba(239, 68, 68, 0.2)
}

.job-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.job-meta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.95rem;
}

.job-meta span {
  color: var(--text-muted);
  font-size: 0.78rem;
  background: var(--off-white);
  padding: 0.24rem 0.65rem;
  border-radius: 8px;
  font-weight: 500;
  border: 1px solid var(--border-light);
}

.job-desc {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.7;
  margin-bottom: 1.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-skills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.3rem;
}

.job-skills span {
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.06), rgba(99, 102, 241, 0.04));
  color: var(--primary);
  font-size: 0.68rem;
  padding: 0.22rem 0.62rem;
  border-radius: 6px;
  font-weight: 700;
  border: 1px solid rgba(26, 86, 219, 0.12);
  letter-spacing: 0.02em;
}

.job-apply-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 0.78rem;
  background: linear-gradient(135deg, var(--primary), #2563eb, var(--primary-dark));
  color: white;
  border: none;
  border-radius: 12px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: none;
  transition: all 0.32s;
  box-shadow: 0 4px 16px rgba(26, 86, 219, 0.25);
  position: relative;
  overflow: hidden;
}

.job-apply-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s;
}

.job-apply-btn:hover::before {
  left: 100%;
}

.job-apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26, 86, 219, 0.38);
}

.job-new-badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.15), rgba(16, 185, 129, 0.1));
  color: #059669;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.22rem 0.65rem;
  border-radius: 50px;
  text-transform: uppercase;
  border: 1px solid rgba(74, 222, 128, 0.35);
  letter-spacing: 0.05em;
}

.no-jobs {
  text-align: center;
  padding: 4rem;
  color: var(--text-muted);
}

.hidden {
  display: none !important;
}

/* INTERNSHIPS */
.internships {
  background: linear-gradient(180deg, #f8faff 0%, #f0f4ff 100%);
  position: relative;
}

.internships::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 86, 219, 0.15), transparent);
}

.intern-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.intern-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 1.8rem;
}

.intern-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.perk {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text);
  padding: 0.7rem 1rem;
  background: white;
  border-radius: 12px;
  border: 1.5px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 600;
}

.perk:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(26, 86, 219, 0.12);
  background: var(--primary-ultra-light);
  color: var(--primary);
}

.perk-icon {
  font-size: 1.1rem
}

.intern-tracks {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 8px 40px rgba(26, 86, 219, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1.5px solid rgba(26, 86, 219, 0.08);
}

.intern-tracks h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.4rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.track-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.track-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--off-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.track-item:hover {
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.05), rgba(99, 102, 241, 0.03));
  border-color: rgba(26, 86, 219, 0.25);
  transform: translateX(6px);
  box-shadow: 0 4px 20px rgba(26, 86, 219, 0.1);
}

.track-icon {
  font-size: 1.5rem;
  width: 46px;
  height: 46px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  transition: transform 0.3s;
}

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

.track-info {
  flex: 1;
}

.track-info strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--navy);
}

.track-info span {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}

.track-apply {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.track-item:hover .track-apply {
  transform: translateX(3px);
}

/* GALLERY / CAROUSEL */
.gallery {
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
  position: relative;
}

.gallery::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 86, 219, 0.12), transparent);
}

.carousel-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide {
  flex: 0 0 calc((100% - 3rem) / 3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  border: 1.5px solid var(--border-light);
  box-shadow: 0 2px 16px rgba(26, 86, 219, 0.07), 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s, box-shadow 0.35s;
  cursor: none;
}

.carousel-slide:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 56px rgba(26, 86, 219, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.slide-img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.slide-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.08));
}

.slide-body {
  padding: 1.3rem 1.5rem;
}

.slide-body h4 {
  font-size: 0.97rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.slide-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: all 0.28s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  font-size: 1rem;
  color: var(--text-muted);
}

.carousel-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(26, 86, 219, 0.3);
}

.carousel-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(26, 86, 219, 0.2);
  cursor: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  padding: 0;
}

.carousel-dot.active {
  width: 28px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), #6366f1);
  box-shadow: 0 2px 8px rgba(26, 86, 219, 0.35);
}

.view-more-wrap {
  text-align: center;
  margin-top: 2.2rem;
}

.culture-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 2.2rem;
}

.pill {
  background: white;
  border: 1.5px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  transition: all 0.28s;
  cursor: default;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  font-weight: 600;
}

.pill:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 86, 219, 0.28);
}

/* GALLERY FULL PAGE */
#galleryFullPage {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: var(--off-white);
  overflow-y: auto;
  animation: slideInPage 0.4s ease both;
}

#galleryFullPage.open {
  display: block;
}

@keyframes slideInPage {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.gallery-full-header {
  background: white;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.gallery-close-btn {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  cursor: none;
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all 0.2s;
  font-weight: 500;
}

.gallery-close-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.gallery-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  padding: 2.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gfg-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  transition: all 0.3s;
}

.gfg-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.gfg-img {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.gfg-body {
  padding: 1.1rem 1.3rem;
}

.gfg-body h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.gfg-body p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* EVENTS */
.events {
  background: linear-gradient(180deg, #f8faff 0%, #f0f4ff 100%);
  position: relative;
}

.events::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 86, 219, 0.15), transparent);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.event-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  background: white;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.9rem;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 16px rgba(26, 86, 219, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.event-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary), #6366f1);
  border-radius: 4px 0 0 4px;
  transform: scaleY(0);
  transition: transform 0.35s;
  transform-origin: center;
}

.event-item:hover {
  border-color: rgba(26, 86, 219, 0.2);
  transform: translateX(6px);
  box-shadow: 0 12px 48px rgba(26, 86, 219, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.event-item:hover::before {
  transform: scaleY(1);
}

.event-day {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), #6366f1, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.02em;
}

.event-month {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 2px;
}

.event-info h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.event-info p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.event-status {
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.status-upcoming {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.15), rgba(16, 185, 129, 0.1));
  color: #15803d;
  border: 1.5px solid rgba(74, 222, 128, 0.35);
}

.status-past {
  background: var(--off-white);
  color: var(--text-light);
  border: 1.5px solid var(--border-light);
}

.status-register {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(251, 146, 60, 0.08));
  color: var(--accent-dark);
  border: 1.5px solid rgba(249, 115, 22, 0.3);
  cursor: none;
}

/* MODAL */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.modal-backdrop.active {
  display: flex;
}

.modal {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  flex-shrink: 1;
  min-width: 0;
}

.modal-wide {
  max-width: 800px;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.93) translateY(18px)
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0)
  }
}

.modal-header {
  padding: 1.8rem 2rem 1.1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  gap: 0.75rem;
}

.modal-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.modal-close {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: none;
  padding: 5px 9px;
  border-radius: 8px;
  transition: all 0.2s;
  font-family: var(--font);
  flex-shrink: 0;
}

.modal-close:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.modal-body {
  padding: 1.4rem 2rem 1.8rem;
}

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

.form-group {
  margin-bottom: 1rem;
  min-width: 0;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.44rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  max-width: 100%;
  padding: 0.7rem 0.95rem;
  background: var(--off-white);
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.88rem;
  font-family: var(--font);
  transition: all 0.2s;
  outline: none;
  cursor: none;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.07);
}

.apply-success {
  text-align: center;
  padding: 2.5rem 1rem;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 0.8rem;
}

.apply-success h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.apply-success p {
  color: var(--text-muted);
  margin-bottom: 1.3rem;
  line-height: 1.75;
  font-size: 0.92rem;
}

/* CERT */
#certCanvas {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

/* FOOTER */
.footer {
  background: linear-gradient(180deg, #060d1f 0%, #030812 100%);
  color: rgba(255, 255, 255, 0.6);
  padding: 5.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 86, 219, 0.5), rgba(99, 102, 241, 0.5), rgba(249, 115, 22, 0.4), transparent);
}

.footer::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 86, 219, 0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
  position: relative;
}

.footer-logo img {
  height: 44px;
  object-fit: contain;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.42);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.28s;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
}

.social-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  color: white;
}

.social-link.fb:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.social-link.ig:hover {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: #dc2743;
}

.social-link.tw:hover {
  background: #1da1f2;
  border-color: #1da1f2;
}

.social-link.li:hover {
  background: #0a66c2;
  border-color: #0a66c2;
}

.social-link.yt:hover {
  background: #ff0000;
  border-color: #ff0000;
}

.social-link.wa:hover {
  background: #25d366;
  border-color: #25d366;
}

.footer-links h4 {
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  font-size: 0.86rem;
  margin-bottom: 0.7rem;
  transition: all 0.22s;
}

.footer-links a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.28);
  position: relative;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* AUTH PAGE */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #eef4ff, #fff5ee);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  font-family: var(--font);
}

.auth-card {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(26, 86, 219, 0.12);
  border: 1px solid var(--border-light);
}

.auth-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-logo img {
  height: 44px;
}

.auth-card h2 {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 0.4rem;
}

.auth-card .sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.8rem;
}

.auth-error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: #dc2626;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.auth-success {
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
  color: #059669;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.28rem 0.75rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rb-superadmin {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.rb-admin {
  background: rgba(26, 86, 219, 0.1);
  color: var(--primary);
  border: 1px solid rgba(26, 86, 219, 0.2);
}

.rb-employee {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

/* DASHBOARD */
.dash-layout {
  display: flex;
  min-height: 100vh;
  font-family: var(--font);
}

.dash-sidebar {
  width: 260px;
  background: var(--navy);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: transform 0.3s;
}

.sidebar-logo {
  padding: 1.3rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar-logo img {
  height: 40px;
  object-fit: contain;
}

.sidebar-user {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar-user .uname {
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
  display: block;
}

.sidebar-user .urole {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  display: block;
  margin-top: 2px;
}

.sidebar-nav {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.5rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: white;
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--accent);
}

.sidebar-nav .nav-icon {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.sidebar-nav .nav-section {
  padding: 0.5rem 1.5rem 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

.sidebar-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar-footer a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.sidebar-footer a:hover {
  color: white;
}

.dash-main {
  margin-left: 260px;
  flex: 1;
  min-height: 100vh;
  background: var(--off-white);
}

.dash-topbar {
  background: white;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}

.dash-topbar h1 {
  font-size: 1.2rem;
  font-weight: 700;
}

.dash-content {
  padding: 2rem 2.5rem;
  max-width: 100%;
  width: 100%;
}

.dash-content.narrow {
  max-width: 760px;
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.dash-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-light);
}

.dash-card .dc-num {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dash-card .dc-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.dash-card .dc-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.table-wrap {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-light);
  overflow: hidden;
  margin-bottom: 2rem;
}

.table-header {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.table-header h3 {
  font-size: 1rem;
  font-weight: 700;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background: var(--off-white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border-light);
}

td {
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(26, 86, 219, 0.02);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-blue {
  background: rgba(26, 86, 219, 0.1);
  color: var(--primary);
  border: 1px solid rgba(26, 86, 219, 0.18);
}

.badge-green {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.18);
}

.badge-orange {
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent-dark);
  border: 1px solid rgba(249, 115, 22, 0.18);
}

.badge-red {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.18);
}

.dash-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.dash-section-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
}

.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

.empty-state .ei {
  font-size: 3rem;
  margin-bottom: 0.8rem;
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: white;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border-left: 4px solid var(--primary);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 320px;
  font-family: var(--font);
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  border-left-color: #059669;
}

.toast.error {
  border-left-color: #dc2626;
}

/* KEYFRAMES */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(22px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-14px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(28px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

/* ===== RESPONSIVE — COMPREHENSIVE MOBILE-FIRST ===== */

/* ---- Tablet landscape / small desktop (≤1100px) ---- */
@media(max-width:1100px) {
  .hero-inner {
    gap: 3rem;
  }

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

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
  }
}

/* ---- Tablet (≤1024px) ---- */
@media(max-width:1024px) {

  /* Dashboard sidebar */
  .dash-sidebar {
    transform: translateX(-100%);
  }

  .dash-sidebar.open {
    transform: translateX(0);
  }

  .dash-main {
    margin-left: 0;
  }

  /* Hero — single column, hide visual card */
  .hero {
    padding: 110px 0 70px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 640px;
  }

  .hero-visual {
    display: none;
  }

  .hero-content {
    text-align: center;
  }

  .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
  }

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

  .hero-social-proof {
    justify-content: center;
  }

  .hero-sub {
    margin: 0 auto 2rem;
    max-width: 520px;
  }

  .hero-stats-row {
    gap: 0.5rem;
    padding: 1.2rem 1.5rem;
  }

  .hs-num {
    font-size: 1.9rem;
  }

  .hs-label {
    font-size: 0.68rem;
  }

  /* Sections */
  .section {
    padding: 80px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .intern-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* Carousel — 2 slides */
  .carousel-slide {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

/* ---- Tablet portrait (≤768px) ---- */
@media(max-width:768px) {

  /* Nav */
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-inner {
    padding: 0.8rem 1.2rem;
  }

  /* General */
  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 1.2rem;
  }

  .section-title {
    font-size: clamp(1.7rem, 5vw, 2.2rem);
  }

  .section-sub {
    font-size: 0.95rem;
  }

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

  /* Hero */
  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
    letter-spacing: -0.02em;
  }

  .hero-sub {
    font-size: 0.97rem;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .btn-primary,
  .btn-accent,
  .btn-outline {
    padding: 0.8rem 1.6rem;
    font-size: 0.88rem;
  }

  .hero-stats-row {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.2rem 1rem;
    justify-content: center;
  }

  .hs-item {
    flex: 0 0 calc(50% - 1rem);
    text-align: center;
  }

  .hs-div {
    display: none;
  }

  .hs-num {
    font-size: 1.75rem;
  }

  .hs-label {
    font-size: 0.68rem;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-main-img {
    padding: 1.8rem;
  }

  .about-stat-cards {
    grid-template-columns: 1fr 1fr;
  }

  .about-float-badge {
    bottom: -12px;
    right: -8px;
    padding: 0.7rem 1rem;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .service-card {
    padding: 1.6rem;
  }

  /* Jobs */
  .job-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem;
  }

  .filter-search {
    min-width: unset;
  }

  .filter-tabs {
    gap: 0.3rem;
  }

  .filter-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }

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

  /* Internships */
  .intern-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .intern-perks {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .intern-tracks {
    padding: 1.5rem;
  }

  /* Gallery / Carousel */
  .carousel-slide {
    flex: 0 0 calc(100% - 0px);
  }

  .carousel-controls {
    gap: 0.75rem;
    margin-top: 1.4rem;
  }

  .culture-pills {
    gap: 0.4rem;
  }

  .pill {
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
  }

  .gallery-full-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem 1rem;
  }

  /* Events */
  .events-list {
    gap: 0.75rem;
  }

  .event-item {
    grid-template-columns: 70px 1fr;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
  }

  .event-status {
    display: none;
  }

  .event-day {
    font-size: 1.8rem;
  }

  /* Modal — slides up as bottom sheet on mobile */
  .modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }

  .modal,
  .modal.modal-wide {
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 88vh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .modal-header {
    padding: 1.4rem 1.2rem 1rem;
  }

  .modal-header h3 {
    font-size: 1.05rem;
  }

  .modal-body {
    padding: 1rem 1.2rem 1.6rem;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 1rem;
  }

  /* Prevents iOS auto-zoom */

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .footer {
    padding: 4rem 0 1.5rem;
  }

  .footer-social {
    gap: 0.6rem;
  }

  /* Toast */
  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: unset;
  }

  /* Dashboard */
  .dash-cards {
    grid-template-columns: 1fr 1fr;
  }

  table {
    font-size: 0.78rem;
  }

  th,
  td {
    padding: 0.6rem 0.7rem;
  }
}

/* ---- Mobile (≤520px) ---- */
@media(max-width:520px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 50px 0;
  }

  /* Hero */
  .hero {
    padding: 90px 0 50px;
  }

  .hero-title {
    font-size: 1.95rem;
    letter-spacing: -0.02em;
  }

  .hero-sub {
    font-size: 0.92rem;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 0.38rem 0.85rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
  }

  .btn-primary,
  .btn-accent,
  .btn-outline {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .hero-stats-row {
    border-radius: 16px;
    padding: 1rem;
    gap: 0.75rem;
  }

  .hs-item {
    flex: 0 0 calc(50% - 0.75rem);
  }

  .hs-num {
    font-size: 1.55rem;
  }

  .hs-num::after {
    font-size: 1rem;
  }

  .hs-label {
    font-size: 0.65rem;
    margin-top: 4px;
  }

  .hero-social-proof {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  /* Section */
  .section-title {
    font-size: 1.75rem;
  }

  .section-tag {
    font-size: 0.68rem;
    padding: 0.38rem 0.9rem;
  }

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

  /* About */
  .about-values {
    gap: 0.7rem;
  }

  .value-item {
    padding: 0.85rem 1rem;
  }

  .about-stat-cards {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .asc .num {
    font-size: 1.6rem;
  }

  .about-float-badge {
    display: none;
  }

  /* Services */
  .service-card {
    padding: 1.4rem;
  }

  .service-icon-wrap {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }

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

  .service-tags span {
    font-size: 0.65rem;
  }

  /* Jobs */
  .job-filters {
    padding: 0.85rem;
  }

  .filter-tabs {
    gap: 0.25rem;
  }

  .filter-btn {
    padding: 0.38rem 0.6rem;
    font-size: 0.72rem;
  }

  .job-card {
    padding: 1.4rem;
    border-radius: 16px;
  }

  .job-card h3 {
    font-size: 1rem;
  }

  .job-apply-btn {
    padding: 0.7rem;
    font-size: 0.84rem;
  }

  /* Internships */
  .intern-perks {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .perk {
    padding: 0.6rem 0.85rem;
    font-size: 0.82rem;
  }

  .track-item {
    padding: 0.85rem 1rem;
  }

  .track-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .track-info strong {
    font-size: 0.86rem;
  }

  /* Carousel */
  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .slide-img {
    height: 180px;
    font-size: 3rem;
  }

  .slide-body {
    padding: 1rem 1.1rem;
  }

  .slide-body h4 {
    font-size: 0.9rem;
  }

  .culture-pills {
    gap: 0.35rem;
  }

  .pill {
    padding: 0.38rem 0.8rem;
    font-size: 0.78rem;
  }

  .gallery-full-grid {
    grid-template-columns: 1fr;
  }

  /* Events */
  .event-item {
    grid-template-columns: 60px 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }

  .event-day {
    font-size: 1.5rem;
  }

  .event-info h4 {
    font-size: 0.9rem;
  }

  .event-info p {
    font-size: 0.78rem;
  }

  /* Footer */
  .footer {
    padding: 3rem 0 1.2rem;
  }

  .footer-links h4 {
    font-size: 0.72rem;
    margin-bottom: 0.9rem;
  }

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

  .footer-bottom {
    font-size: 0.76rem;
    padding-top: 1.5rem;
  }

  .social-link {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  /* Modal */
  .modal {
    border-radius: 16px 16px 0 0;
  }

  .modal-header {
    padding: 1.2rem 1.2rem 0.9rem;
  }

  .modal-header h3 {
    font-size: 1.1rem;
  }

  .modal-body {
    padding: 0.9rem 1.2rem 1.4rem;
  }

  /* Modal tighter on very small screens */
  .modal-header {
    padding: 1.2rem 1rem 0.9rem;
  }

  .modal-body {
    padding: 0.9rem 1rem 1.4rem;
  }

  .modal-header h3 {
    font-size: 0.97rem;
  }

  .modal-close {
    padding: 4px 8px;
    font-size: 0.82rem;
  }

  /* Dashboard */
  .dash-cards {
    grid-template-columns: 1fr;
  }
}

/* ---- Very small mobile (≤380px) ---- */
@media(max-width:380px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .hero-sub {
    font-size: 0.88rem;
  }

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

  .btn-primary,
  .btn-accent,
  .btn-outline {
    font-size: 0.84rem;
    padding: 0.75rem 1.3rem;
  }

  .hero-stats-row {
    gap: 0.5rem;
  }

  .hs-num {
    font-size: 1.4rem;
  }

  .nav-inner {
    padding: 0.7rem 0.9rem;
  }

  .filter-btn {
    font-size: 0.68rem;
    padding: 0.32rem 0.55rem;
  }
}

/* ===== v4 FIXES ===== */

/* FIX #2 & #3: Job/Event cards fade-in immediately (not scroll-hidden) */
.job-fade {
  animation: cardFadeIn 0.5s ease both;
}

.event-fade {
  animation: cardFadeIn 0.5s ease both;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* Disable default browser cursor globally on the main site when custom cursor is active */
body:not(.no-cursor),
body:not(.no-cursor) * {
  cursor: none !important;
}

/* Restore browser cursors when custom cursor is disabled (.no-cursor) */
body.no-cursor,
body.no-cursor * {
  cursor: auto !important;
}

body.no-cursor input,
body.no-cursor textarea {
  cursor: text !important;
}

body.no-cursor a,
body.no-cursor button,
body.no-cursor select,
body.no-cursor [onclick],
body.no-cursor label,
body.no-cursor .carousel-btn,
body.no-cursor .filter-btn,
body.no-cursor .carousel-dot {
  cursor: pointer !important;
}

/* Hide custom cursor elements and restore browser defaults on touch/mobile devices */
@media (hover: none),
(pointer: coarse) {

  #cursor-dot,
  #cursor-ring,
  .mouse-glow {
    display: none !important;
  }

  body,
  body * {
    cursor: auto !important;
  }

  body input,
  body textarea {
    cursor: text !important;
  }

  body a,
  body button,
  body select,
  body [onclick],
  body label,
  body .carousel-btn,
  body .filter-btn,
  body .carousel-dot {
    cursor: pointer !important;
  }
}

/* FIX #5: when hovering a text input, make ring show a text-edit hint */
body.cursor-hover #cursor-ring {
  width: 48px;
  height: 48px;
  background: rgba(26, 86, 219, 0.07);
  border-color: var(--primary);
}

/* FIX #6: Counter / stats row — premium override */
.hero-stats-row {
  background: white;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(26, 86, 219, 0.12), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  padding: 1.6rem 2.5rem;
  border: 1px solid rgba(26, 86, 219, 0.08);
  position: relative;
  overflow: hidden;
}

.hero-stats-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #6366f1, var(--accent));
}

.hs-item {
  position: relative;
  transition: transform 0.3s;
  padding: 0 0.5rem;
}

.hs-item:hover {
  transform: translateY(-4px);
}

.hs-num {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hs-num::after {
  content: '+';
  font-size: 1.4rem;
  -webkit-text-fill-color: var(--accent);
  margin-left: 2px;
}

.hs-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.hs-div {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(26, 86, 219, 0.15), transparent);
}

/* FIX #1: Resume upload area */
.resume-options {
  display: grid;
  gap: 0.6rem;
}

.resume-divider {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
  position: relative;
  margin: 0.3rem 0;
}

.resume-divider::before,
.resume-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--border-light);
}

.resume-divider::before {
  left: 0;
}

.resume-divider::after {
  right: 0;
}

.resume-upload-box {
  border: 2px dashed rgba(26, 86, 219, 0.2);
  border-radius: 14px;
  padding: 1.2rem;
  text-align: center;
  cursor: none;
  transition: all 0.28s;
  background: var(--off-white);
}

.resume-upload-box:hover {
  border-color: var(--primary);
  background: rgba(26, 86, 219, 0.03);
  box-shadow: 0 4px 20px rgba(26, 86, 219, 0.08);
}

.resume-upload-box .ru-icon {
  font-size: 1.8rem;
  margin-bottom: 0.35rem;
}

.resume-upload-box .ru-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 600;
}

.resume-upload-box .ru-hint {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 3px;
}

.resume-file-name {
  font-size: 0.82rem;
  color: #059669;
  font-weight: 700;
  margin-top: 0.5rem;
}

input[type="file"] {
  display: none;
}

/* ===== v5 PREMIUM ENHANCEMENTS ===== */

/* Section separator lines */
.section+.section {
  position: relative;
}

/* Enhanced modal */
.modal {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.modal-header {
  padding: 2rem 2.2rem 1.2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.modal-close {
  background: var(--off-white);
  border: 1.5px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: none;
  padding: 6px 12px;
  border-radius: 10px;
  transition: all 0.25s;
  font-family: var(--font);
  font-weight: 600;
}

.modal-close:hover {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #dc2626;
  border-color: #fca5a5;
}

/* Form polish */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Social proof stars upgrade */
.stars {
  color: #f59e0b;
  font-size: 0.84rem;
  filter: drop-shadow(0 1px 2px rgba(245, 158, 11, 0.3));
}

.hero-rating-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* Floating action glow on hero */
.hero-actions .btn-primary {
  box-shadow: 0 6px 30px rgba(26, 86, 219, 0.4), 0 0 60px rgba(26, 86, 219, 0.12);
}

.hero-actions .btn-primary:hover {
  box-shadow: 0 14px 40px rgba(26, 86, 219, 0.5), 0 0 80px rgba(26, 86, 219, 0.18);
}

/* Gallery full page enhanced */
.gallery-full-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.gallery-close-btn {
  background: var(--off-white);
  border: 1.5px solid var(--border-light);
  border-radius: 50px;
  padding: 0.55rem 1.4rem;
  cursor: none;
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all 0.25s;
  font-weight: 600;
}

.gallery-close-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(26, 86, 219, 0.3);
}

.gfg-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  border: 1.5px solid var(--border-light);
  box-shadow: 0 2px 16px rgba(26, 86, 219, 0.07);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gfg-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 56px rgba(26, 86, 219, 0.15);
}

/* Shimmer loading effect for cards */
@keyframes shimmer {
  0% {
    background-position: -200% 0
  }

  100% {
    background-position: 200% 0
  }
}

/* Hero badge pulse ring */
@keyframes badgeRing {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4)
  }

  50% {
    box-shadow: 0 0 0 8px rgba(249, 115, 22, 0)
  }
}

.badge-dot {
  animation: pulse 2s ease infinite, badgeRing 2.5s ease infinite;
}

/* Staggered reveal delays */
.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.reveal:nth-child(4) {
  transition-delay: 0.3s;
}

.reveal:nth-child(5) {
  transition-delay: 0.4s;
}

.reveal:nth-child(6) {
  transition-delay: 0.5s;
}