/* ========================================
   PICMKR DIGITAL HUB - Design System
   Flex-IT Dark Professional Theme
   ======================================== */

/* ===== CSS Custom Properties ===== */
:root {
  /* Primary Colors */
  --primary: #00d4ff;
  /* Bright Cyan */
  --primary-dark: #00a3cc;
  --primary-light: rgba(0, 212, 255, 0.1);
  /* Dark navy fallback */
  --primary-gradient: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%);
  /* Cyan to Purple */
  --secondary: #7b2ff7;
  /* Purple */
  --accent-glow: rgba(0, 212, 255, 0.5);

  /* Neutral Colors */
  --white: #ffffff;
  --off-white: #e2e8f0;
  --light-gray: #1f2240;
  /* Input borders / Dividers */
  --gray: #94a3b8;
  --dark-text: #ffffff;
  /* Inverted for Dark Mode title text */
  --body-text: #b0b8c4;
  /* Readable gray on dark */

  /* Backgrounds */
  --bg-dark: #05051e;
  /* Deepest Navy (Main Body) */
  --bg-dark-2: #0a0b25;
  /* Secondary Section BG */
  --bg-card: #0f1035;
  /* Card / Surface BG */
  --bg-card-hover: #151642;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 40px rgba(0, 212, 255, 0.1);
  /* Blue glow shadow */
  --shadow-xl: 0 20px 60px rgba(123, 47, 247, 0.15);
  /* Purple glow shadow */

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}

/* ===== Reset & Base Styles ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  background-color: var(--bg-dark);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--dark-text);
  line-height: 1.3;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Section Styles ===== */
section {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.section-header p {
  color: var(--body-text);
  font-size: 1.1rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-login {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 20px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ===== Premium Enroll Now Button ===== */
.btn-enroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-xl);
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(30, 144, 255, 0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Animated gradient background */
.btn-enroll::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.6s;
}

.btn-enroll:hover::before {
  left: 100%;
}

/* Pulse ring effect */
.btn-enroll::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary);
  border-radius: var(--radius-xl);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  transition: all 0.6s ease;
}

.btn-enroll:hover::after {
  transform: translate(-50%, -50%) scale(1.15);
  opacity: 0.3;
}

.btn-enroll:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 50px rgba(30, 144, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-enroll:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.5);
}

/* Icon animation */
.btn-enroll i {
  transition: transform 0.3s ease;
}

.btn-enroll:hover i {
  transform: rotate(15deg) scale(1.2);
}

/* Shimmer animation */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

.btn-enroll.shimmer {
  background: linear-gradient(90deg, #1e90ff 25%, #00bfff 50%, #1e90ff 75%);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

/* Full-width button variant */
.btn-enroll-full {
  width: 100%;
  max-width: 100%;
  margin-bottom: 25px;
}

/* ===== Header / Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition-normal);
  background: transparent;
}

.header.scrolled {
  background: rgba(5, 5, 30, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-menu a {
  font-weight: 500;
  color: var(--white);
  position: relative;
  padding: 5px 0;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-normal);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
  opacity: 1;
}

.nav-cta,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
  color: var(--dark-text);
  font-size: 1rem;
}

.search-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary);
}

/* Search Modal */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-xl);
  width: 90%;
  max-width: 600px;
  position: relative;
  transform: translateY(-30px);
  transition: var(--transition-normal);
}

.search-modal.active .search-modal-content {
  transform: translateY(0);
}

.search-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
  transition: var(--transition-fast);
}

.search-close:hover {
  color: var(--primary);
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--white);
  outline: none;
  transition: var(--transition-normal);
}

.search-form input:focus {
  border-color: var(--primary);
}

.search-form button {
  padding: 15px 25px;
  background: var(--primary-gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-normal);
}

.search-form button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark-text);
  border-radius: 3px;
  transition: var(--transition-normal);
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: transparent;
  /* Changed from radial-gradient */
  overflow: hidden;
  padding-top: 80px;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  /* Simple Parallax Effect: Fixed position relative to viewport? 
     Actually, object-fit covers it. For parallax, we can use fixed attachment or transform.
     Let's try a simple absolute first, possibly fixed if requested specifically 'like parallax'. 
     The user asked for "let it play auto while scrolling up like parallex". 
     Usually this implies position: fixed or a transform translateY on scroll. 
/* CSS-only fixed background effect for video: */
  position: fixed;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 30, 0.75);
  /* Dark overlay for readability */
  z-index: 1;
}

.hero::before {
  /* Removing previous pulse animation background or keeping it as a subtle overlay? 
     The prompt asked to "mute" the video which implies it's the main visual. 
     The old ::before had a radial gradient. Let's remove it or make it compatible. */
  display: none;
}

.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 30px;
  position: relative;
  z-index: 2;
  /* Ensure content is above video */
  max-width: 900px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.hero-text {
  margin-left: auto;
  margin-right: auto;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 16, 53, 0.6);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  margin-bottom: 25px;
  animation: fadeInUp 0.8s ease;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px var(--primary);
}

.hero h1 {
  margin-bottom: 25px;
  animation: fadeInUp 0.8s ease 0.2s both;
  text-wrap: balance;
}

.hero h1 span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.2rem;
  color: var(--body-text);
  margin-bottom: 35px;
  max-width: 500px;
  animation: fadeInUp 0.8s ease 0.4s both;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-image-container {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-gradient);
  opacity: 0.1;
  animation: float-reverse 8s ease-in-out infinite;
}

.hero-shape.shape-1 {
  width: 300px;
  height: 300px;
  top: -50px;
  right: -50px;
}

.hero-shape.shape-2 {
  width: 150px;
  height: 150px;
  bottom: 50px;
  left: -30px;
  animation-delay: -2s;
}

.hero-shape.shape-3 {
  width: 80px;
  height: 80px;
  top: 40%;
  right: -20px;
  animation-delay: -4s;
}

/* Floating Cards in Hero */
.hero-floating-card {
  position: absolute;
  background: rgba(15, 16, 53, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
}

.hero-floating-card.card-1 {
  top: 20%;
  left: -10%;
  animation-delay: -1s;
}

.hero-floating-card.card-2 {
  bottom: 20%;
  right: -5%;
  animation-delay: -3s;
}

.hero-floating-card .icon {
  width: 45px;
  height: 45px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
}

.hero-floating-card .text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
}

.hero-floating-card .text span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ===== About Section ===== */
.about {
  background: var(--bg-dark);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-stats {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--bg-card);
  padding: 25px 35px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 30px;
}

.stat-item {
  text-align: center;
}

.stat-item .number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-item .label {
  font-size: 0.85rem;
  color: var(--gray);
}

.about-content h2 {
  margin-bottom: 25px;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-feature .icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-feature span {
  font-weight: 500;
  color: var(--white);
}

/* ===== Why PicMkr Section ===== */
.why-us {
  background: var(--bg-dark-2);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-card .icon {
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: var(--primary);
  transition: var(--transition-normal);
}

.why-card:hover .icon {
  background: var(--primary-gradient);
  color: var(--white);
  transform: scale(1.1);
}

.why-card h4 {
  margin-bottom: 15px;
}

.why-card p {
  color: var(--body-text);
  font-size: 0.95rem;
}

/* ===== Services Section ===== */
.services {
  background: var(--bg-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--primary-gradient);
  opacity: 0.05;
  transition: var(--transition-slow);
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::after {
  height: 100%;
}

.service-card .icon {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 25px;
  transition: var(--transition-normal);
}

.service-card:hover .icon {
  background: var(--primary-gradient);
  color: var(--white);
}

.service-card h4 {
  margin-bottom: 15px;
}

.service-card p {
  color: var(--body-text);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-card .learn-more {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-card .learn-more span {
  transition: var(--transition-fast);
}

.service-card:hover .learn-more span {
  transform: translateX(5px);
}

/* ===== Training Programs Section ===== */
.training {
  background: linear-gradient(135deg, var(--bg-dark-2) 0%, var(--bg-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.training::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  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='%23ffffff' fill-opacity='0.05'%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");
  opacity: 0.3;
}

.training .section-header h2 {
  color: var(--white);
}

.training .section-header h2::after {
  background: var(--white);
}

.training .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.training-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  transition: var(--transition-normal);
}

.training-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.training-card h4 {
  color: var(--white);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.training-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.training-card .icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 20px;
}

.training-formats {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.training-format {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 500;
}

.training-format .icon {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.training-cta {
  text-align: center;
}

/* ===== Portfolio Section ===== */
.portfolio {
  background: var(--bg-dark-2);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.portfolio-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 144, 255, 0.9) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: var(--transition-normal);
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-item .overlay h4 {
  color: var(--white);
  margin-bottom: 5px;
}

.portfolio-item .overlay span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.portfolio-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

/* ===== Student Works Section ===== */
.student-works {
  background: var(--bg-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: var(--white);
  padding: 5px 15px;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== Testimonials Section ===== */
.testimonials {
  background: var(--bg-dark-2);
  overflow: hidden;
}

.testimonials-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 8rem;
  font-family: Georgia, serif;
  color: var(--primary-light);
  line-height: 1;
  opacity: 0.5;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author .info h5 {
  font-size: 1.1rem;
  margin-bottom: 3px;
}

.testimonial-author .info span {
  color: var(--primary);
  font-size: 0.9rem;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.testimonial-nav button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.2rem;
  transition: var(--transition-normal);
}

.testimonial-nav button:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.testimonial-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--light-gray);
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial-dots .dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* ===== Blog Section ===== */
.blog {
  background: var(--bg-dark);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.blog-card .image {
  height: 220px;
  overflow: hidden;
}

.blog-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.blog-card:hover .image img {
  transform: scale(1.1);
}

.blog-card .content {
  padding: 25px;
}

.blog-card .meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: var(--gray);
}

.blog-card .meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card h4 {
  margin-bottom: 12px;
  transition: var(--transition-fast);
}

.blog-card:hover h4 {
  color: var(--primary);
}

.blog-card p {
  color: var(--body-text);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.blog-card .read-more {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ===== Contact Section ===== */
.contact {
  background: linear-gradient(135deg, #05051e 0%, #0f1035 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.contact-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 35px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 35px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-item .icon {
  width: 50px;
  height: 50px;
  background: rgba(30, 144, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 5px;
}

.contact-item .text span {
  display: block;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 3px;
}

.contact-item .text a,
.contact-item .text p {
  color: var(--white);
  font-weight: 500;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition-normal);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-button {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 25px;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.contact-button:hover {
  background: rgba(30, 144, 255, 0.2);
  border-color: var(--primary);
  transform: translateX(10px);
}

.contact-button .icon {
  width: 55px;
  height: 55px;
  background: var(--primary-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
}

.contact-button .text h4 {
  color: var(--white);
  margin-bottom: 5px;
}

.contact-button .text span {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
  background: #020210;
  color: var(--white);
  padding: 80px 0 30px;
  position: relative;
  /* Ensure overlapping with fixed video works */
  z-index: 1;
  /* Sit above the video */
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand .logo img {
  height: 45px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: var(--gray);
  margin-bottom: 25px;
  max-width: 300px;
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--gray);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: var(--gray);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
}

.footer-bottom-links a {
  color: var(--gray);
  font-size: 0.9rem;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(30, 144, 255, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(30, 144, 255, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(30, 144, 255, 0);
  }
}

@keyframes pulse-slow {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.2;
  }

  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes float-reverse {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* ===== Unique Contact Form Styles ===== */
.contact-form-wrapper {
  perspective: 1000px;
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  transform: rotateY(-5deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.contact-form-wrapper:hover .contact-form-card {
  transform: rotateY(0deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.form-header {
  margin-bottom: 30px;
  text-align: left;
}

.form-header h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.form-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.unique-form .form-row {
  display: flex;
  gap: 20px;
  width: 100%;
}

.unique-form .form-group {
  position: relative;
  margin-bottom: 25px;
  width: 100%;
}

.unique-form .form-input {
  width: 100%;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  outline: none;
  transition: border-color 0.3s ease;
}

/* Specific style for select to match look */
.unique-form select.form-input {
  padding: 12px 0;
  cursor: pointer;
  color: var(--white);
  /* Ensure text is visible */
}

.unique-form select.form-input option {
  background: var(--bg-card);
  /* Dark background for dropdown options */
  color: var(--white);
}

/* Floating Label Logic */
.unique-form .form-label {
  position: absolute;
  top: 12px;
  left: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  transition: 0.3s ease all;
}

/* Hide placeholder but keep input accessible */
.unique-form .form-input::placeholder {
  color: transparent;
}

.unique-form .form-input:focus~.form-label,
.unique-form .form-input:not(:placeholder-shown)~.form-label {
  top: -20px;
  font-size: 0.85rem;
  color: var(--primary);
}

/* Animated Highlight Line */
.unique-form .input-highlight {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.4s ease;
}

.unique-form .form-input:focus~.input-highlight {
  width: 100%;
}

/* Button Styling */
.unique-form .btn-submit {
  width: 100%;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.unique-form .btn-submit .btn-icon {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.unique-form .btn-submit:hover .btn-icon {
  transform: translateX(5px) rotate(-20deg);
}

/* ========================================
   Enrollment Modal Styles
   ======================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: transparent;
  width: 90%;
  max-width: 500px;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--dark-text);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s ease;
}

.modal-close-btn:hover {
  color: var(--primary-color);
}

/* Reuse contact form styles but adjust for modal */
.modal-container .contact-form-card {
  margin: 0;
  height: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-height: 90vh;
  overflow-y: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-form-wrapper {
    perspective: none;
  }

  .contact-form-card {
    transform: none;
    padding: 30px 20px;
  }

  .unique-form .form-row {
    flex-direction: column;
    gap: 0;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes float-reverse {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(20px);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

@keyframes pulse-slow {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

/* Scroll Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .hero-text {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-floating-card {
    display: none;
  }

  .about .container,
  .contact .container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-image::before {
    display: none;
  }

  .about-stats {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 20px;
    justify-content: center;
  }

  .services-grid,
  .why-grid,
  .training-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 50px 0;
  }

  /* Further Reduce Typography Sizes for Mobile */
  body {
    font-size: 14px;
    line-height: 1.5;
  }

  h1 {
    font-size: 1.8rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  h3 {
    font-size: 1.3rem !important;
  }

  h4 {
    font-size: 1.1rem !important;
  }

  .nav-menu,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* Mobile Menu */
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    padding: 20px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 15px;
  }

  .nav-cta.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 180px);
    left: 0;
    width: 100%;
    background: var(--bg-card);
    padding: 20px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 10px;
  }

  .services-grid,
  .why-grid,
  .training-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .training-formats {
    flex-direction: column;
    gap: 20px;
  }

  .testimonial-card {
    padding: 30px 20px;
  }

  .testimonial-card .quote {
    font-size: 1rem;
  }

  .contact-buttons {
    gap: 15px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .portfolio-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }
}

/* ===== Individual Skills Section ===== */
.individual-skills {
  position: relative;
  background-color: rgba(5, 5, 30, 0.85);
  /* Dark semi-transparent overlay */
  color: var(--white);
  overflow: hidden;
}

.individual-skills .container {
  position: relative;
  z-index: 2;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.skill-category {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.skill-category:hover::before {
  opacity: 1;
}

.skill-category h4 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.25rem;
  font-weight: 700;
}

.skill-category p {
  color: var(--body-text);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.skill-category strong {
  color: var(--white);
  display: block;
  margin-bottom: 5px;
}

/* ===== Hero Typography Improvements ===== */
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: var(--dark-text);
}

.hero h1 span {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--primary-light);
  z-index: -1;
  opacity: 0.6;
  border-radius: 4px;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--body-text);
  max-width: 650px;
  margin-bottom: 35px;
  line-height: 1.7;
}

/* ===== Audience & Placement Section ===== */
.audience-placement {
  position: relative;
  /* Dark semi-transparent overlay to let fixed video show through */
  background-color: rgba(5, 5, 30, 0.85);
  color: var(--white);
  overflow: hidden;
}

.audience-placement::before {
  display: none;
}

.audience-placement .container {
  position: relative;
  z-index: 2;
}

.audience-placement h2 {
  color: var(--white);
  margin-bottom: 25px;
}

.audience-placement p {
  color: var(--gray);
}

/* ===== Cursor Light Animation ===== */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--white);
  box-shadow: 0 0 10px var(--white);
  mix-blend-mode: difference;
}

.cursor-outline {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, rgba(0, 212, 255, 0) 70%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: screen;
}

/* Hover state: Brighter and more focused light */
.cursor-outline.cursor-hover {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.25) 0%, rgba(0, 212, 255, 0) 70%);
}

/* Hide on mobile */
@media (max-width: 768px) {

  .cursor-dot,
  .cursor-outline {
    display: none;
  }
}

/* ========================================
   MOBILE HEADER - Professional Education Platform Style
   Clean White Background with Rounded Search Bar
   ======================================== */

/* Mobile Header Container */
.mobile-header {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #1a1a2e;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Top Bar: Logo + Hamburger */
.mobile-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #1a1a2e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Logo */
.mobile-header .mobile-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-header .mobile-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.mobile-header .mobile-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* Hamburger Menu Button */
.mobile-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  gap: 5px;
  transition: all 0.3s ease;
}

.mobile-hamburger:hover,
.mobile-hamburger:focus {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Hamburger Animation - Active State */
.mobile-hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Search Bar Container */
.mobile-search-container {
  padding: 12px 16px 16px;
  background: #1a1a2e;
}

/* Full-Width Rounded Search Bar */
.mobile-search-bar {
  display: flex;
  align-items: center;
  width: 100%;
  height: 52px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 26px;
  padding: 4px 4px 4px 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  box-shadow: none;
}

.mobile-search-bar:focus-within {
  border-color: #00d4ff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.15);
}

/* Search Input */
.mobile-search-bar input {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-weight: 400;
  color: #ffffff;
  font-family: inherit;
}

.mobile-search-bar input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

/* Circular Search Button (Right-Aligned) */
.mobile-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.mobile-search-btn:hover,
.mobile-search-btn:focus {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 212, 255, 0.45);
}

.mobile-search-btn:active {
  transform: scale(0.98);
}

.mobile-search-btn i {
  transition: transform 0.2s ease;
}

.mobile-search-btn:hover i {
  transform: scale(1.1);
}

/* Shake animation for search input feedback */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20%,
  60% {
    transform: translateX(-5px);
  }

  40%,
  80% {
    transform: translateX(5px);
  }
}

.mobile-search-bar input.shake {
  animation: shake 0.4s ease;
  border-color: #ef4444;
}

/* Mobile Navigation Menu */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 16px 20px;
  background: #1a1a2e;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideDown 0.3s ease;
}

.mobile-nav.active {
  display: flex;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: rgba(255, 255, 255, 0.05);
  color: #00d4ff;
}

.mobile-nav a i {
  width: 20px;
  text-align: center;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.mobile-nav a:hover i,
.mobile-nav a.active i {
  color: #00d4ff;
}

/* Mobile Nav Divider */
.mobile-nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 8px 0;
}

/* Mobile CTA Buttons */
.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0;
}

.mobile-nav-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 0.95rem;
  border-radius: 14px;
}

.mobile-nav-actions .btn-login-mobile {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-actions .btn-login-mobile:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.mobile-nav-actions .btn-primary-mobile {
  background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.mobile-nav-actions .btn-primary-mobile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
}

/* Show Mobile Header on Mobile Devices */
@media (max-width: 768px) {
  .mobile-header {
    display: flex;
  }

  /* Hide default desktop header on mobile */
  .header {
    display: none;
  }

  .hero,
  .page-header,
  .services-hero,
  .about-hero,
  .courses-hero,
  .course-hero {
    padding-top: 200px !important;
    /* Sufficient to clear fixed mobile header + search bar (approx 144px) */
  }
}

/* Extra small devices */
@media (max-width: 375px) {
  .mobile-header-top {
    padding: 10px 12px;
  }

  .mobile-search-container {
    padding: 10px 12px 14px;
  }

  .mobile-header .mobile-logo img {
    height: 36px;
  }

  .mobile-search-bar {
    height: 48px;
    padding: 3px 3px 3px 16px;
  }

  .mobile-search-btn {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }
}