/* ==========================================================================
   VSP TECHVERSITY - DESIGN SYSTEM & STYLESHEET
   A Institute of AI & Robotics
   ========================================================================== */

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&amp;family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&amp;display=swap');

/* CSS Variables & Tokens */
:root {
  /* Colors */
  --bg-deep: #091629;
  --bg-surface: #0f2240;
  --bg-surface-glow: #17335d;
  --bg-panel: rgba(15, 34, 64, 0.7);
  
  --primary-blue: #0082e6;
  --primary-blue-rgb: 0, 130, 230;
  --accent-cyan: #00d2ff;
  --accent-cyan-rgb: 0, 210, 255;
  
  --primary-gold: #be9338;
  --accent-gold: #f3c457;
  --accent-gold-rgb: 243, 196, 87;
  
  --text-white: #ffffff;
  --text-gray-light: #e2e8f0;
  --text-gray-dark: #a0b1c9;
  --border-color: rgba(190, 147, 56, 0.15);
  --border-color-glow: rgba(0, 210, 255, 0.35);

  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  /* Shadows */
  --shadow-neon-blue: 0 0 15px rgba(0, 210, 255, 0.25);
  --shadow-neon-gold: 0 0 15px rgba(243, 196, 87, 0.2);
  --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background-color: var(--bg-deep);
  color: var(--text-gray-light);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-gold);
  box-shadow: var(--shadow-neon-gold);
}

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

p {
  color: var(--text-gray-dark);
}

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

/* Custom Interactive Cursor */
.custom-cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-gold);
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
  box-shadow: var(--shadow-neon-gold);
}

.custom-cursor-ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--accent-cyan);
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.1, 0.8, 0.3, 1), height 0.3s cubic-bezier(0.1, 0.8, 0.3, 1), border-color 0.3s, background-color 0.3s;
  box-shadow: var(--shadow-neon-blue);
}

/* Cursor hover states */
.custom-cursor-active .custom-cursor-dot {
  width: 14px;
  height: 14px;
  background-color: var(--accent-cyan);
  box-shadow: var(--shadow-neon-blue);
}

.custom-cursor-active .custom-cursor-ring {
  width: 55px;
  height: 55px;
  border-color: var(--accent-gold);
  background-color: rgba(243, 196, 87, 0.05);
  box-shadow: var(--shadow-neon-gold);
}

/* Hide cursor elements on touch devices */
@media (max-width: 1024px) {
  .custom-cursor-dot, .custom-cursor-ring {
    display: none;
  }
  html {
    cursor: auto;
  }
}

@media (min-width: 1025px) {
  html, a, button, select, input, textarea {
    cursor: none;
  }
}

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

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(9, 22, 41, 0.65);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.2rem 0;
  transition: var(--transition-smooth);
}

.header.sticky {
  background-color: rgba(9, 22, 41, 0.9);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(190, 147, 56, 0.15);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  border-radius: 8px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.logo-img:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 20px rgba(243, 196, 87, 0.25);
  transform: translateY(-1px);
}

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

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

.nav-link {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-gray-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-white);
}

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

/* Common Interactive Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--accent-gold);
  color: #051429;
  box-shadow: 0 4px 15px rgba(243, 196, 87, 0.25);
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover {
  background-color: #ffe090;
  color: #051429;
  box-shadow: 0 0 25px rgba(243, 196, 87, 0.55);
  transform: translateY(-2px);
}

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

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--accent-gold);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-neon-gold);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-glow);
  color: var(--text-white);
  border-color: var(--accent-gold);
  box-shadow: 0 0 25px rgba(243, 196, 87, 0.35);
  transform: translateY(-2px);
}

/* Glassmorphism Panel Template */
.glass-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: rgba(0, 210, 255, 0.3);
  box-shadow: 0 15px 30px rgba(0, 130, 230, 0.08);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Neural Network Interactive Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(7, 18, 36, 0.6) 0%, rgba(3, 8, 18, 1) 90%);
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.75;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(9, 22, 41, 0.88) 0%, rgba(9, 22, 41, 0.55) 45%, rgba(9, 22, 41, 0.25) 70%, rgba(9, 22, 41, 0.5) 100%);
  z-index: 1;
  pointer-events: none;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 50px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  animation: pulse-glow 2s infinite ease-in-out;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.75);
}

.hero-title span.accent-text-gold {
  background: linear-gradient(135deg, var(--accent-gold) 20%, #ffeec5 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span.accent-text-blue {
  background: linear-gradient(135deg, var(--primary-blue) 20%, var(--accent-cyan) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-gray-light);
  margin-bottom: 2.5rem;
  max-width: 550px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
}

/* Interactive SVG Hero Artwork Frame */
.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Spinner/Gear Spinning Animations */
.fa-gear, .fa-cog, .fa-sync-alt {
  animation: spin-clockwise 8s linear infinite;
  display: inline-block;
}

@keyframes spin-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* =============================================
   PREMIUM ROBOT HERO FRAME
   ============================================= */
.hero-robot-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  overflow: hidden;
}

/* Robot Image */
.hero-robot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  animation: float-slow 7s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(0, 210, 255, 0.25));
  transition: transform 0.6s ease;
}

.hero-robot-frame:hover .hero-robot-img {
  transform: scale(1.03);
}

/* Outer glow border */
.hero-robot-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.7) 0%, rgba(243, 196, 87, 0.5) 50%, rgba(0, 130, 230, 0.6) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 2;
  pointer-events: none;
  animation: border-glow-pulse 3s ease-in-out infinite;
}

/* Inner ambient glow overlay */
.hero-robot-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(0, 130, 230, 0.08) 0%,
    transparent 40%,
    rgba(243, 196, 87, 0.06) 80%,
    rgba(0, 210, 255, 0.12) 100%
  );
  z-index: 3;
  pointer-events: none;
}

@keyframes border-glow-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Animated Glow Rings */
.robot-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  pointer-events: none;
  z-index: 0;
}

.robot-ring-1 {
  width: 105%;
  height: 105%;
  border-color: rgba(0, 210, 255, 0.18);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.06);
  animation: ring-pulse 4s ease-in-out infinite;
}

.robot-ring-2 {
  width: 115%;
  height: 115%;
  border-color: rgba(243, 196, 87, 0.12);
  box-shadow: 0 0 40px rgba(243, 196, 87, 0.04);
  animation: ring-pulse 4s ease-in-out infinite 1.3s;
}

.robot-ring-3 {
  width: 125%;
  height: 125%;
  border-color: rgba(0, 130, 230, 0.08);
  animation: ring-pulse 4s ease-in-out infinite 2.6s;
}

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.02); opacity: 1; }
}

/* HUD Corner Brackets */
.robot-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 4;
  pointer-events: none;
}

.robot-corner-tl {
  top: 10px; left: 10px;
  border-top: 2px solid var(--accent-cyan);
  border-left: 2px solid var(--accent-cyan);
  border-radius: 2px 0 0 0;
  box-shadow: -2px -2px 8px rgba(0, 210, 255, 0.5);
}

.robot-corner-tr {
  top: 10px; right: 10px;
  border-top: 2px solid var(--accent-gold);
  border-right: 2px solid var(--accent-gold);
  border-radius: 0 2px 0 0;
  box-shadow: 2px -2px 8px rgba(243, 196, 87, 0.5);
}

.robot-corner-bl {
  bottom: 10px; left: 10px;
  border-bottom: 2px solid var(--accent-cyan);
  border-left: 2px solid var(--accent-cyan);
  border-radius: 0 0 0 2px;
  box-shadow: -2px 2px 8px rgba(0, 210, 255, 0.5);
}

.robot-corner-br {
  bottom: 10px; right: 10px;
  border-bottom: 2px solid var(--accent-gold);
  border-right: 2px solid var(--accent-gold);
  border-radius: 0 0 2px 0;
  box-shadow: 2px 2px 8px rgba(243, 196, 87, 0.5);
}

/* Scan Line */
.robot-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 210, 255, 0.8) 50%, transparent 100%);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.9), 0 0 40px rgba(0, 210, 255, 0.3);
  animation: scanline-sweep 4s ease-in-out infinite;
  z-index: 5;
  pointer-events: none;
}

@keyframes scanline-sweep {
  0%   { top: 0%;   opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* HUD Badge */
.robot-hud-badge {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(9, 22, 41, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 30px;
  padding: 6px 16px;
  z-index: 6;
  white-space: nowrap;
}

.hud-dot {
  width: 7px;
  height: 7px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff88, 0 0 20px rgba(0, 255, 136, 0.5);
  animation: hud-blink 1.5s ease-in-out infinite;
}

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

.hud-text {
  font-family: var(--font-headings);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

/* Philosophy Section ("Every Robot Started With a Decision") */
.section {
  padding: 8rem 0;
  position: relative;
}

.section-dark {
  background-color: #050e1b;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.section-subtitle {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1.5rem;
}

.section-title span {
  background: linear-gradient(135deg, var(--text-white) 30%, var(--text-gray-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.philosophy-card {
  position: relative;
  background: linear-gradient(145deg, var(--bg-surface) 0%, #050c18 100%);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
  transform-style: preserve-3d;
}

.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(0, 210, 255, 0.08), transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.philosophy-card:hover {
  border-color: rgba(243, 196, 87, 0.4);
  box-shadow: 0 15px 35px rgba(243, 196, 87, 0.08);
  transform: translateY(-5px);
}

.card-num {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(190, 147, 56, 0.1);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.card-icon {
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: rgba(190, 147, 56, 0.06);
  border: 1px solid rgba(190, 147, 56, 0.2);
  border-radius: 4px;
}

.card-icon i {
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.philosophy-card:hover .card-icon {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background-color: rgba(0, 210, 255, 0.06);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.philosophy-card:hover .card-icon i,
.stat-card:hover .card-icon i,
.lab-card:hover .card-icon i,
.course-card:hover .card-icon i,
.feature-card:hover .card-icon i {
  transform: rotate(360deg);
}

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

.card-desc {
  font-size: 0.95rem;
  color: var(--text-gray-dark);
  margin-bottom: 2rem;
}

.card-media {
  margin-top: auto;
  border-radius: 8px;
  overflow: hidden;
  height: 220px;
  position: relative;
  border: 1px solid rgba(0, 210, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.04);
}

.card-media img.lab-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  filter: brightness(1.05) contrast(1.08) saturate(1.1);
  image-rendering: -webkit-optimize-contrast;
}

.philosophy-card:hover .card-media img.lab-image {
  transform: scale(1.06);
  filter: brightness(1.12) contrast(1.1) saturate(1.2);
}

.card-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(5, 14, 28, 0.65) 0%,
    rgba(5, 14, 28, 0.15) 45%,
    transparent 100%
  );
  pointer-events: none;
}

/* Glowing bottom border on card-media */
.card-media::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.6), var(--accent-gold), rgba(0, 210, 255, 0.6), transparent);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.philosophy-card:hover .card-media::after {
  opacity: 1;
}

/* Our Schools Section */
.schools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.school-card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.school-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, var(--accent-cyan), var(--primary-blue));
  transition: var(--transition-smooth);
}

.school-card:hover::before {
  height: 100%;
}

.school-card:hover {
  border-color: rgba(0, 210, 255, 0.25);
  box-shadow: 0 15px 35px rgba(0, 130, 230, 0.06);
  transform: translateY(-4px);
}

.school-tag {
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.school-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.school-features {
  list-style: none;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.school-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-gray-light);
  font-size: 0.95rem;
}

.school-features li i {
  color: var(--accent-cyan);
  font-size: 0.9rem;
}

.school-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* One Robot. Three Careers Section (with Interactive SVG Robotic Arm) */
.career-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.career-content {
  display: flex;
  flex-direction: column;
}

.career-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.career-item {
  background: rgba(7, 18, 36, 0.4);
  border: 1px solid rgba(190, 147, 56, 0.08);
  border-radius: 6px;
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  transition: var(--transition-smooth);
}

.career-item:hover {
  background: var(--bg-surface);
  border-color: var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transform: translateX(5px);
}

.career-num {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background-color: rgba(190, 147, 56, 0.1);
  border: 1px solid rgba(190, 147, 56, 0.2);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.career-item:hover .career-num {
  background-color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--bg-deep);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
}

.career-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.career-details p {
  font-size: 0.9rem;
  color: var(--text-gray-dark);
}

/* Interactive SVG Robotic Arm Container */
.career-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 480px;
  background-color: rgba(7, 18, 36, 0.3);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.robotic-arm-svg {
  width: 85%;
  height: auto;
  max-height: 400px;
}

/* Advanced Labs Section */
.labs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.lab-card {
  position: relative;
  height: 380px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.lab-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-neon-blue);
  transform: translateY(-5px);
}

.lab-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lab-card:hover .lab-image {
  transform: scale(1.1);
}

.lab-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, 
    rgba(3, 8, 18, 0.95) 0%, 
    rgba(3, 8, 18, 0.6) 40%, 
    rgba(3, 8, 18, 0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  z-index: 2;
}

.lab-tag {
  font-family: var(--font-headings);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.lab-title {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.lab-desc {
  font-size: 0.9rem;
  color: var(--text-gray-dark);
}

/* Robotics & Innovation Showcase Section */
#showcase {
  background-color: #050e1b;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-color);
  background: var(--bg-panel);
}

.showcase-video {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
  border: 1px solid rgba(0, 210, 255, 0.1);
  transition: var(--transition-smooth);
}

.showcase-video:hover {
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.35);
  border-color: var(--accent-cyan);
}

/* Contact & Address Section */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.contact-description {
  color: var(--text-gray-dark);
  margin-bottom: 3rem;
  max-width: 500px;
}

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

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

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(190, 147, 56, 0.08);
  border: 1px solid var(--border-color);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

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

.contact-text p, .contact-text a {
  font-size: 0.95rem;
  color: var(--text-gray-dark);
}

.contact-text a:hover {
  color: var(--accent-cyan);
}

/* Lead Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-white);
  letter-spacing: 0.5px;
}

.form-control {
  background-color: rgba(3, 8, 18, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.9rem 1.2rem;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 1rem;
  padding: 0.9rem 2.5rem;
}

/* Footer Section */
.footer {
  background-color: #040c1a;
  border-top: 1px solid rgba(190, 147, 56, 0.08);
  padding: 5rem 0 2rem 0;
  font-size: 0.9rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  height: auto;
  width: 220px;
  max-width: 100%;
  align-self: flex-start;
  border-radius: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.footer-tagline {
  color: var(--text-gray-dark);
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray-dark);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.social-link:hover {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--bg-deep);
  box-shadow: var(--shadow-neon-gold);
  transform: translateY(-2px);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-nav h4 {
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-nav h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-gold);
}

.footer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-links a {
  color: var(--text-gray-dark);
}

.footer-nav-links a:hover {
  color: var(--accent-cyan);
  padding-left: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  color: var(--text-gray-dark);
  font-size: 0.85rem;
}

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

.footer-legal-links a {
  color: var(--text-gray-dark);
  font-size: 0.85rem;
}

.footer-legal-links a:hover {
  color: var(--accent-gold);
}

/* Animations */
@keyframes float-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.8;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.15);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
  }
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.slide-up {
  transform: translateY(40px);
}

.reveal.slide-left {
  transform: translateX(-40px);
}

.reveal.slide-right {
  transform: translateX(40px);
}

.reveal.scale-up {
  transform: scale(0.95);
}

.reveal.active {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Stagger Animation Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Responsive Grid and Alignment Queries */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }
  .hero-content {
    align-items: center;
  }
  .hero-graphic {
    max-width: 400px;
    margin: 0 auto;
  }
  .career-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none; /* Hide standard nav */
  }
  .mobile-nav-toggle {
    display: block; /* Show hamburger button */
  }
  .header {
    padding: 1rem 0;
  }
  .section {
    padding: 5rem 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  .hero-ctas .btn {
    width: 100%;
  }
}

/* Mobile Nav Active Styles overlay */
.nav-mobile-active {
  display: flex !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-deep);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.nav-mobile-active .nav-links {
  flex-direction: column;
  gap: 2rem;
}

.nav-mobile-active .nav-link {
  font-size: 1.4rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
  animation: none;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background-color: #0c233f;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  border: 1px solid rgba(190,147,56,0.25);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Form & Department Grid Responsive Support */
.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.department-panel {
  padding: 1.5rem;
  border-radius: 12px;
  height: 420px;
  width: 100%;
}

/* Mobile-Specific Refinements */
@media (max-width: 1024px) {
  .grid-graphic {
    order: 1;
  }
  .grid-details {
    order: 2;
  }
}

@media (max-width: 768px) {
  #btn-apply-header {
    display: none !important;
  }
  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .department-panel {
    height: 280px !important;
  }
  .program-card {
    padding: 1.5rem !important;
  }
  .program-card > div:first-child {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .program-card .btn {
    width: 100%;
    margin-top: 1rem;
    text-align: center;
  }
  .glass-panel {
    padding: 1.5rem !important;
  }
}

/* ==========================================================================
   PRIVACY POLICY PAGE STYLES
   ========================================================================== */
.policy-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.policy-toc-card {
  position: sticky;
  top: 100px;
  background: rgba(15, 34, 64, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.policy-toc-title {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.policy-toc-title i {
  color: var(--accent-gold);
}

.policy-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.policy-toc-list a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-gray-dark);
  font-size: 0.88rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: var(--transition-fast);
  text-decoration: none;
}

.policy-toc-list a:hover {
  color: var(--text-white);
  background: rgba(0, 210, 255, 0.08);
  padding-left: 1rem;
}

.policy-toc-list a i {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  opacity: 0.7;
}

.policy-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.policy-card {
  background: rgba(15, 34, 64, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.2rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.policy-card:hover {
  border-color: rgba(0, 210, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 210, 255, 0.08);
}

.policy-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-card-header i {
  font-size: 1.4rem;
  color: var(--accent-gold);
  background: rgba(243, 196, 87, 0.1);
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(243, 196, 87, 0.2);
}

.policy-card-header h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-white);
}

.policy-card p {
  color: var(--text-gray-light);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.policy-card p:last-child {
  margin-bottom: 0;
}

.policy-list {
  list-style: none;
  margin: 1rem 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.policy-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-gray-light);
  font-size: 0.93rem;
  line-height: 1.6;
}

.policy-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent-cyan);
  font-size: 0.85rem;
}

.policy-highlight-box {
  background: rgba(0, 210, 255, 0.05);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
}

.policy-highlight-box.gold {
  background: rgba(243, 196, 87, 0.05);
  border-left-color: var(--accent-gold);
}

.policy-highlight-box p {
  margin: 0;
  color: var(--text-white);
  font-size: 0.92rem;
  line-height: 1.6;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.contact-info-card {
  background: rgba(9, 22, 41, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-info-card i {
  font-size: 1.5rem;
  color: var(--accent-gold);
}

.contact-info-card div h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-info-card div p,
.contact-info-card div a {
  font-size: 0.85rem;
  color: var(--text-gray-dark);
  text-decoration: none;
}

.contact-info-card div a:hover {
  color: var(--accent-cyan);
}

@media (max-width: 992px) {
  .policy-grid {
    grid-template-columns: 1fr;
  }
  .policy-toc-card {
    position: static;
  }
}

