/* ============================================================
   MARIYA INDUSTRIAL TRAINING & TRADE TEST CENTRE
   Premium Responsive Website Styles
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --navy: #0a1628;
  --navy-light: #102040;
  --navy-mid: #0d1f3c;
  --gold: #c9a227;
  --gold-light: #e6bc3c;
  --gold-dark: #a07e15;
  --orange: #e07020;
  --orange-light: #f08030;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --gray-100: #f0f4f8;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e0;
  --gray-500: #718096;
  --gray-700: #2d3748;
  --gray-900: #1a202c;
  --text-dark: #1a202c;
  --text-muted: #4a5568;
  --border: rgba(201, 162, 39, 0.2);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
  --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --section-py: 100px;
  --nav-height: 80px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Outfit', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
}

.mt-20 {
  margin-top: 20px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.5);
  filter: brightness(1.1);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
  transform: translateY(-2px);
}

.full-width {
  width: 100%;
  justify-content: center;
}

/* ===== TYPOGRAPHY ===== */
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.15) 0%, rgba(224, 112, 32, 0.15) 100%);
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-title .highlight,
.section-title span.highlight {
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.sub-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.45s;
}

.delay-4 {
  animation-delay: 0.6s;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.delay-1 {
  transition-delay: 0.12s;
}

.animate-on-scroll.delay-2 {
  transition-delay: 0.24s;
}

.animate-on-scroll.delay-3 {
  transition-delay: 0.36s;
}

.animate-on-scroll.delay-4 {
  transition-delay: 0.48s;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  width: 100%;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-right: auto;
  text-decoration: none;
}

.nav-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 4px 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: var(--transition);
}

.nav-logo:hover img {
  filter: drop-shadow(0 4px 16px rgba(201, 162, 39, 0.5));
}

.logo-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.logo-main {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.logo-sub {
  font-size: 0.65rem;
  font-family: 'Inter', sans-serif;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.3;
  max-width: 180px;
  margin-top: 2px;
  opacity: 0.92;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 12px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
  background: rgba(201, 162, 39, 0.1);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 700 !important;
  box-shadow: var(--shadow-gold);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201, 162, 39, 0.5);
  filter: brightness(1.12);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== SERVICES DROPDOWN ===== */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-dropdown-btn:hover,
.nav-dropdown-btn.active {
  color: var(--gold-light);
  background: rgba(201, 162, 39, 0.1);
}

.dropdown-arrow {
  font-size: 0.7rem;
  display: inline-block;
  transition: transform 0.25s ease;
}

.nav-dropdown-btn[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown panel */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: rgba(10, 20, 38, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 14px;
  padding: 8px;
  list-style: none;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  /* Hidden by default */
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 2000;
}

/* Visible state */
.dropdown-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu li+li {
  margin-top: 2px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.dropdown-item:hover {
  color: var(--gold-light);
  background: rgba(201, 162, 39, 0.1);
  border-left-color: var(--gold);
  padding-left: 20px;
}

/* Mobile: dropdown stacks inline */
@media (max-width: 900px) {
  .dropdown-menu {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 162, 39, 0.15);
    border-radius: 10px;
    margin-top: 6px;
    display: none;
  }

  .dropdown-menu.open {
    display: block;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  /* No animation needed — the video itself provides motion */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg,
      rgba(10, 22, 40, 0.82) 0%,
      rgba(10, 22, 40, 0.65) 50%,
      rgba(10, 22, 40, 0.55) 100%);
  /* Extra bottom fade so scroll indicator is legible */
  box-shadow: inset 0 -120px 80px rgba(10, 22, 40, 0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--nav-height) + 20px);
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 162, 39, 0.2);
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 8px 20px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 800px;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  flex-wrap: wrap;
  max-width: 700px;
}

.stat-item {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 0 16px;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}

.stat-plus {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold-light);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s ease infinite;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-location {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}

.location-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.about-location strong {
  display: block;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 4px;
}

.about-location p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.about-vision {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vision-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, var(--gold), var(--orange));
}

.vision-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.vision-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.vision-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.vision-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.service-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
}

.service-icon {
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.service-arrow {
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 700;
  transition: var(--transition);
}

.service-card:hover .service-arrow {
  transform: translateX(4px);
}

/* ===== TWO COLUMN GRID ===== */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}


.img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.img-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.img-frame:hover img {
  transform: scale(1.04);
}

/* Technical Hub video — matches the image frame sizing */
.tech-hub-video {
  width: 100%;
  height: 500px;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  /* keeps head/upper body in frame */
  display: block;
  border-radius: 0;
  /* parent .img-frame handles border-radius via overflow:hidden */
}

.img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.section-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ===== TECHNICAL HUB ===== */
.technical-section {
  background: var(--off-white);
}

.course-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.course-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: var(--transition);
}

.course-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.course-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.course-item strong {
  display: block;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 4px;
}

.course-item p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: var(--gold-dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.tag:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* ===== LANGUAGE HUB ===== */
.language-section {
  background: var(--white);
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.level-card {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  transition: var(--transition);
}

.level-card:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.level-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.level-card p {
  font-size: 0.8rem;
  color: inherit;
  line-height: 1.4;
}

.level-card:hover p {
  color: rgba(255, 255, 255, 0.8);
}

.lang-flags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.lang-flag {
  background: var(--navy);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== RECRUITMENT SECTION ===== */
.recruitment-section {
  background: var(--off-white);
}

.recruit-img-wrap {
  margin-bottom: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #000;
  line-height: 0;
}

.recruit-hero-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 40%;
}

.recruit-hero-video {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

.recruitment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.recruit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.recruit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  transform: scaleX(0);
  transition: var(--transition);
}

.recruit-card:hover::before {
  transform: scaleX(1);
}

.recruit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 162, 39, 0.4);
}

.recruit-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 12px;
}

.recruit-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-200);
}

.recruit-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.recruit-card ul li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}

.recruit-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
}

/* ===== TRADE TEST SECTION ===== */
.trade-section {
  background: var(--white);
}

.trades-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trade-tag {
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: default;
}

.trade-tag:hover {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  transform: translateY(-2px);
}

/* ===== SVP SECTION ===== */
.svp-section {
  background: var(--off-white);
}

.svp-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.svp-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

.svp-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.svp-table-wrap {
  overflow: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.svp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.9rem;
}

.svp-table thead tr {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
}

.svp-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.svp-table td {
  padding: 12px 20px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--gray-100);
}

.svp-table tbody tr:nth-child(even) {
  background: var(--gray-100);
}

.svp-table tbody tr:hover {
  background: rgba(201, 162, 39, 0.1);
  color: var(--navy);
}

/* ===== NEW SECTIONS ===== */
.driving-section {
  background: var(--white);
}

.hostel-section {
  background: var(--off-white);
}

/* Show driving & hostel photos in full — no cropping */
.driving-section .img-frame img,
.hostel-section .img-frame img {
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: var(--gray-100);
}

.svp-table td:first-child {
  font-weight: 700;
  color: var(--gold-dark);
  width: 70px;
}

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #1a0a00 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-card a {
  color: var(--text-muted);
}

.contact-card a:hover {
  color: var(--gold);
}

/* Map card variant */
.contact-card-map {
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.contact-card-map-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-card-map-header h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.contact-card-map iframe {
  width: 100%;
  height: 250px;
  border: 0;
  border-radius: 10px;
  display: block;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.social-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  transform: translateY(-2px);
}

/* ===== CONTACT FORM ===== */
.contact-form-wrap {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  margin-top: 16px;
  padding: 14px 20px;
  background: rgba(72, 187, 120, 0.1);
  border: 1px solid rgba(72, 187, 120, 0.4);
  border-radius: var(--radius-sm);
  color: #276749;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

.hidden {
  display: none;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: var(--white);
}

.footer-top {
  padding: 80px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
  padding: 4px;
}

.footer-logo-main {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

.footer-logo-sub {
  display: block;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
  line-height: 1.3;
  max-width: 180px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: var(--white);
  transition: var(--transition);
}

.footer-social-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  border-color: transparent;
  transform: translateY(-2px);
}

.footer-links-col h5 {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col ul li a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links-col ul li a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-contact-col h5 {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.footer-contact-item span {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact-item a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: var(--white);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
}

/* ===== RESPONSIVE DESIGN (legacy block removed — handled by new system below) ===== */

/* ===== CONTACT FORM — ERROR & SUCCESS STATES ===== */
.form-success {
  margin-top: 16px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #0d6e3a, #0a9254);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(10, 146, 84, .25);
}

.form-error {
  margin-top: 16px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #8b1a1a, #c0392b);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(192, 57, 43, .25);
}

.hidden {
  display: none !important;
}

.field-error {
  display: none;
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 4px;
  font-weight: 500;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, .15) !important;
}

.req {
  color: #e74c3c;
  margin-left: 2px;
  font-size: 0.85rem;
}

#btn-spinner {
  font-size: 1.1rem;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ===== NAVBAR LOGO — Updated Premium Version ===== */

/* Logo pill: white card, positioned left via margin-right: auto in .nav-logo */
.nav-logo {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  text-decoration: none !important;
  background: #ffffff !important;
  border-radius: 14px !important;
  padding: 6px 20px 6px 10px !important;
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.22), 0 1px 4px rgba(0, 0, 0, 0.10) !important;
  border: 1.5px solid rgba(201, 162, 39, 0.28) !important;
  transition: box-shadow 0.3s ease, transform 0.2s ease !important;
  margin-right: auto !important;
}

.nav-logo:hover {
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.35), 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-2px) !important;
}

/* Logo image — larger and prominent */
#logo-img {
  height: 56px !important;
  width: auto !important;
  max-width: 240px !important;
  object-fit: contain !important;
  display: block !important;
  flex-shrink: 0 !important;
}

/* Logo text — shown clearly next to the image */
.logo-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  overflow: hidden !important;
  min-width: 0 !important;
}

/* Bold, prominent institution name */
.logo-main {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 900 !important;
  font-size: 1.55rem !important;
  color: #0a1628 !important;
  line-height: 1 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
}

/* Readable subtitle in gold */
.logo-sub {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  color: #a07e15 !important;
  letter-spacing: 0.5px !important;
  line-height: 1.4 !important;
  max-width: 200px !important;
  margin-top: 2px !important;
}

/* ===== FOOTER LOGO ===== */
.footer-logo {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 8px 20px 8px 10px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15) !important;
  width: fit-content !important;
  max-width: 100% !important;
}

#footer-logo-img {
  height: auto !important;
  max-height: 64px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
  display: block !important;
  flex-shrink: 0 !important;
}

/* Show footer text next to logo */
.footer-logo>div {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.footer-logo-main {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 900 !important;
  font-size: 1.25rem !important;
  color: #0a1628 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
}

.footer-logo-sub {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  color: #a07e15 !important;
  letter-spacing: 0.3px !important;
  line-height: 1.4 !important;
}

/* ============================================================
   FULL RESPONSIVE SYSTEM
   Breakpoints: 1200px | 992px | 768px | 576px | 360px
   ============================================================ */

/* Global overflow guard */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* All images & videos fluid by default */
img,
video {
  max-width: 100%;
  height: auto;
}

/* ===== 1200px ===== */
@media (max-width: 1200px) {
  .container {
    padding: 0 28px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .recruitment-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 32px;
  }
}

/* ===== 992px — Tablet landscape ===== */
@media (max-width: 992px) {
  :root {
    --section-py: 72px;
    --nav-height: 74px;
  }

  .container {
    padding: 0 24px;
  }

  .navbar {
    height: var(--nav-height);
  }

  .nav-container {
    height: var(--nav-height) !important;
    padding: 0 20px;
  }

  .nav-logo {
    gap: 10px !important;
    padding: 5px 16px 5px 8px !important;
    border-radius: 12px !important;
  }

  #logo-img {
    height: auto !important;
    max-height: 48px !important;
    max-width: 180px !important;
  }

  .logo-main {
    font-size: 1.25rem !important;
    letter-spacing: 2px !important;
  }

  .logo-sub {
    font-size: 0.62rem !important;
    max-width: 160px !important;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .two-col-grid.reverse .col-content {
    order: -1;
  }

  .recruitment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .svp-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .svp-img {
    position: static;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .img-frame img {
    height: 340px;
  }

  .tech-hub-video {
    height: 380px;
    max-height: 380px;
  }

  .svp-img img {
    height: 380px;
  }
}

/* ===== 768px — Tablet portrait ===== */
@media (max-width: 768px) {
  :root {
    --section-py: 56px;
    --nav-height: 68px;
  }

  .container {
    padding: 0 20px;
  }

  /* Navbar */
  .navbar {
    height: var(--nav-height);
  }

  .nav-container {
    height: var(--nav-height) !important;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  /* Logo pill — leave room for hamburger (44px) */
  .nav-logo {
    flex-shrink: 1 !important;
    min-width: 0 !important;
    max-width: calc(100% - 56px) !important;
    gap: 8px !important;
    padding: 4px 12px 4px 6px !important;
    border-radius: 10px !important;
    overflow: hidden;
  }

  #logo-img {
    height: auto !important;
    max-height: 44px !important;
    width: auto !important;
    max-width: 110px !important;
    flex-shrink: 0 !important;
  }

  .logo-main {
    font-size: clamp(0.85rem, 3.5vw, 1.1rem) !important;
    letter-spacing: 1.5px !important;
    white-space: nowrap;
  }

  .logo-sub {
    font-size: clamp(0.45rem, 2vw, 0.55rem) !important;
    max-width: 100% !important;
    line-height: 1.2 !important;
    letter-spacing: 0.2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Mobile nav drawer */
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 16px;
    gap: 4px;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-btn {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .hamburger {
    display: flex;
    flex-shrink: 0;
  }

  /* Sections */
  .section-header {
    margin-bottom: 40px;
  }

  /* Hero — mobile first-page fix */
  .hero {
    min-height: 100svh;
    min-height: 100vh;
    align-items: flex-start;
  }

  .hero-content {
    width: 100%;
    text-align: center;
    padding-top: calc(var(--nav-height) + 32px);
    padding-bottom: 60px;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(1.9rem, 7vw, 2.8rem);
  }

  .hero-desc {
    max-width: 100%;
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
    width: 100%;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .two-col-grid.reverse .col-content {
    order: -1;
  }

  .recruitment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .svp-content-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .svp-img {
    position: static;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  /* Images */
  .img-frame img {
    height: 280px;
  }

  .tech-hub-video {
    height: 300px;
    max-height: 300px;
  }

  .svp-img img {
    height: 300px;
  }

  /* Hero Stats */
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 16px;
    max-width: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .stat-item {
    min-width: unset;
    width: 100%;
    text-align: center;
  }

  .stat-divider {
    width: 80%;
    height: 1px;
  }

  /* Forms */
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 24px 18px;
  }

  /* Footer */
  .footer-top {
    padding: 60px 0 36px;
  }
}

/* ===== 576px — Large mobile ===== */
@media (max-width: 576px) {
  :root {
    --section-py: 48px;
    --nav-height: 64px;
  }

  .container {
    padding: 0 16px;
  }

  /* Navbar */
  .nav-container {
    height: var(--nav-height) !important;
    padding: 0 14px;
  }

  .nav-logo {
    max-width: calc(100% - 52px) !important;
    gap: 6px !important;
    padding: 4px 10px 4px 6px !important;
    border-radius: 8px !important;
  }

  #logo-img {
    max-height: 38px !important;
    max-width: 100px !important;
  }

  .logo-main {
    font-size: clamp(0.75rem, 4vw, 0.95rem) !important;
    letter-spacing: 1px !important;
  }

  .logo-sub {
    font-size: 0.48rem !important;
    max-width: 100% !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Grids */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .recruitment-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .levels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .about-grid,
  .two-col-grid,
  .svp-content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Typography */
  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  /* Hero mobile — small phones */
  .hero {
    min-height: 100svh;
    min-height: 100vh;
  }

  .hero-content {
    width: 100%;
    text-align: center;
    padding-top: calc(var(--nav-height) + 24px);
    padding-bottom: 48px;
  }

  .hero-desc {
    max-width: 100%;
  }

  /* Buttons */
  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 24px;
  }

  /* Images */
  .img-frame img {
    height: 240px;
  }

  .tech-hub-video {
    height: 260px;
    max-height: 260px;
  }

  .svp-img img {
    height: 240px;
  }

  /* Hero stats */
  .hero-stats {
    padding: 16px 12px;
    gap: 12px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  /* Contact form */
  .contact-form-wrap {
    padding: 20px 14px;
  }

  /* Footer */
  .footer-top {
    padding: 48px 0 28px;
  }

  .footer-logo {
    width: 100% !important;
    padding: 6px 14px 6px 8px !important;
  }

  #footer-logo-img {
    max-height: 48px !important;
    max-width: 160px !important;
  }

  .footer-logo-main {
    font-size: 1rem !important;
  }

  .back-to-top {
    bottom: 20px;
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

/* ===== 480px — Mobile explicit fixes ===== */
@media (max-width: 480px) {
  body {
    overflow-x: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-content {
    text-align: center;
  }

  .hero-btns {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .cta-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn {
    width: 100%;
    margin: 0;
    justify-content: center;
    text-align: center;
  }

  .section-desc,
  .hero-desc,
  .about-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
  }

  .section-title,
  .hero-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .hero-stats {
    width: 100%;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .stat-item {
    width: 100%;
    text-align: center;
  }
}

/* ===== 360px — Small mobile (320-375px) ===== */
@media (max-width: 360px) {
  :root {
    --nav-height: 60px;
    --section-py: 40px;
  }

  .container {
    padding: 0 12px;
  }

  /* Navbar */
  .nav-container {
    height: var(--nav-height) !important;
    padding: 0 10px;
    gap: 6px;
  }

  .nav-logo {
    max-width: calc(100% - 46px) !important;
    gap: 5px !important;
    padding: 3px 8px 3px 5px !important;
    border-radius: 7px !important;
  }

  #logo-img {
    max-height: 34px !important;
    max-width: 88px !important;
  }

  .logo-main {
    font-size: clamp(0.7rem, 4vw, 0.85rem) !important;
    letter-spacing: 0.5px !important;
  }

  .logo-sub {
    font-size: 0.42rem !important;
    max-width: 100% !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Typography */
  .hero-content {
    width: 100%;
    text-align: center;
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: clamp(1.5rem, 8vw, 1.9rem);
  }

  .hero-desc {
    font-size: 0.92rem;
    max-width: 100%;
  }

  .section-title {
    font-size: clamp(1.3rem, 6vw, 1.7rem);
  }

  /* Buttons */
  .btn {
    padding: 11px 18px;
    font-size: 0.85rem;
  }

  /* Images */
  .img-frame img {
    height: 200px;
  }

  .tech-hub-video {
    height: 220px;
    max-height: 220px;
  }

  .svp-img img {
    height: 200px;
  }

  /* Levels grid */
  .levels-grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stat-number {
    font-size: 1.6rem;
  }

  /* Contact form */
  .contact-form-wrap {
    padding: 16px 10px;
  }

  /* Footer */
  .footer-logo {
    padding: 5px 10px 5px 6px !important;
    gap: 8px !important;
  }

  #footer-logo-img {
    max-height: 40px !important;
    max-width: 130px !important;
  }

  .footer-logo-main {
    font-size: 0.9rem !important;
    letter-spacing: 1px !important;
  }

  .back-to-top {
    width: 38px;
    height: 38px;
    bottom: 16px;
    right: 12px;
    font-size: 0.9rem;
  }
}