/* Enhanced Modern Styles for PositiveClimb Aviation Training with Dark/Light Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

/* Critical CSS for above-the-fold content */
.hero,
.nav,
.hero-content {
  opacity: 1 !important;
  transform: none !important;
}

/* Performance optimizations */
img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* WebP image support with fallback */
@supports (background-image: url('image.webp')) {
  .hero-bg {
    background-image: url('images/Hero_background_aviation_facility_ae3db4a0.webp');
  }
}

/* SEO-friendly heading structure */
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

:root {
  /* Dark theme (default) - Navy Blue Theme matching new logo */
  --bg: #030e21;
  --bg-alt: #061b3d;
  --bg-light: #f8fafc;
  --bg-alt-light: #ffffff;
  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(56, 189, 248, 0.1);
  --card-light: rgba(0, 0, 0, 0.02);
  --card-hover-light: rgba(14, 165, 233, 0.05);
  --muted: #94a3b8;
  --muted-light: #64748b;
  --primary: #f1f5f9;
  --primary-light: #0f172a;
  --accent: #0ea5e9;
  /* Sky blue from logo p-shape */
  --accent-2: #0284c7;
  /* Mid blue */
  --accent-4: #0369a1;
  /* Deep blue from logo text */
  --gradient: linear-gradient(135deg, #0369a1 0%, #0ea5e9 50%, #38bdf8 100%);
  --gradient-hover: linear-gradient(135deg, #075985 0%, #0284c7 50%, #0ea5e9 100%);
  --maxw: 1200px;
  --nav-height: 84px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 25px 50px -12px rgba(14, 165, 233, 0.3);
  --glass: rgba(6, 27, 61, 0.7);
  --glass-border: rgba(14, 165, 233, 0.15);
  --glass-light: rgba(255, 255, 255, 0.8);
  --glass-border-light: rgba(14, 165, 233, 0.2);
}

/* Light theme overrides */
[data-theme="light"] {
  --bg: var(--bg-light);
  --bg-alt: var(--bg-alt-light);
  --card: var(--card-light);
  --card-hover: var(--card-hover-light);
  --muted: var(--muted-light);
  --primary: var(--primary-light);
  --glass: var(--glass-light);
  --glass-border: var(--glass-border-light);
  --shadow-sm: 0 4px 6px -1px rgba(59, 130, 246, 0.05), 0 2px 4px -1px rgba(59, 130, 246, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(59, 130, 246, 0.05), 0 4px 6px -2px rgba(59, 130, 246, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(59, 130, 246, 0.05), 0 10px 10px -5px rgba(59, 130, 246, 0.02);
}

/* Light theme specific adjustments */
[data-theme="light"] .hero-overlay {
  background:
    linear-gradient(180deg, rgba(253, 244, 255, 0.7) 0%, rgba(253, 244, 255, 0.9) 100%),
    radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
}

[data-theme="light"] .hero p {
  color: #475569;
}

[data-theme="light"] .hero .badge {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Inter', system-ui, Segoe UI, Arial, sans-serif;
  margin: 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  color: var(--primary);
  line-height: 1.6;
  padding-top: var(--nav-height);
  overflow-x: hidden;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px
}

/* Animated background particles */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
  animation: gradientShift 15s ease infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes gradientShift {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.6
  }
}

/* Theme Toggle Button */
.theme-toggle {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
  margin-right: 12px;
  animation: fadeIn 1s ease;
}

.theme-toggle:hover {
  background: var(--card-hover);
  transform: scale(1.1) rotate(-10deg);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.theme-toggle svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
  transition: all 0.3s ease;
}

/* Enhanced Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 8px 0;
  height: var(--nav-height);
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 40px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 18px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  animation: fadeInLeft 0.8s ease;
  z-index: 10;
}

.logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 16px;
  padding: 6px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(59, 130, 246, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.04) rotate(-2deg);
  box-shadow: var(--shadow-xl);
}

[data-theme="light"] .logo {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 600;
}

.brand-text small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-top: -2px;
}

.mobile-toggle {
  display: none;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-toggle:hover {
  background: var(--card-hover);
  transform: scale(1.05);
  border-color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeInRight 0.8s ease;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  animation: fadeIn 1s ease;
}

.nav-links a {
  color: var(--primary);
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  display: block;
}

.nav-links a:hover {
  background: var(--gradient);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta {
  background: var(--gradient);
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.cta:hover {
  background: var(--gradient-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* Tablet styles */
@media(max-width:992px) {
  .nav-inner {
    padding: 0 16px
  }

  .nav-links a {
    padding: 10px 14px;
    font-size: 13px
  }

  .cta {
    padding: 10px 20px;
    font-size: 13px
  }

  .brand {
    padding: 10px 16px;
    gap: 14px
  }

  .logo {
    width: 56px;
    height: 56px;
    padding: 5px
  }
}

/* Mobile styles */
@media(max-width:768px) {
  .nav-inner {
    gap: 6px;
    padding: 0 10px
  }

  .nav-links,
  .cta {
    display: none
  }

  .mobile-toggle {
    display: flex
  }

  .brand-text {
    display: none
  }

  .brand {
    padding: 8px 14px;
    gap: 12px
  }

  .logo {
    width: 48px;
    height: 48px;
    padding: 4px
  }

  .theme-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    margin-right: 4px
  }

  .theme-toggle svg {
    width: 18px;
    height: 18px
  }

  .nav-right {
    gap: 4px
  }
}

/* Mobile menu open state */
@media(max-width:768px) {
  .nav-right {
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px;
    gap: 8px;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--glass-border);
    animation: slideDown 0.3s ease;
    z-index: 999;
  }

  .nav-links.open a {
    padding: 14px 18px;
    border-radius: 12px;
    color: var(--primary);
    font-size: 16px;
    width: 100%;
  }

  .nav-links.open a:hover {
    background: var(--gradient);
    color: #fff;
  }

  .nav-links.open+.cta {
    display: none;
  }

  .theme-toggle {
    display: flex;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  padding-top: 30px
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.6)
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .85))
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
  max-width: 1000px
}

.hero .badge {
  display: inline-block;
  background: rgba(255, 255, 255, .07);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px
}

.hero h1 {
  font-size: 44px;
  margin: 10px 0
}

.hero p {
  color: #e6eef2;
  max-width: 780px;
  margin: 0 auto 18px
}

/* make sure mobile toggle is clickable above other content and lock body when nav open */
body.nav-open {
  overflow: hidden
}

/* Enhanced Hero Section */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  padding-top: 30px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4) saturate(1.2);
  animation: kenBurns 20s ease infinite alternate;
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0)
  }

  100% {
    transform: scale(1.1) translate(2%, 2%)
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 5, 24, 0.7) 0%, rgba(15, 5, 24, 0.9) 100%),
    radial-gradient(circle at 30% 50%, rgba(124, 58, 237, 0.2) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
  max-width: 1100px;
  animation: fadeInUp 1s ease;
}

.hero .badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 24px;
  border-radius: 999px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.05)
  }
}

.hero h1 {
  font-size: 56px;
  margin: 20px 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero p {
  color: var(--primary);
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 18px;
  line-height: 1.8;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s both;
}

.btn {
  background: #fff;
  color: #0b1220;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.btn.outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn.outline:hover {
  border-color: transparent;
  background: var(--gradient);
  color: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  animation: fadeInUp 1s ease 0.8s both;
}

.feature {
  background: var(--glass);
  padding: 28px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease;
  cursor: pointer;
}

.feature:hover {
  transform: translateY(-8px);
  background: var(--card-hover);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

.feature h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

@media(max-width:900px) {
  .features-grid {
    grid-template-columns: 1fr
  }

  .hero h1 {
    font-size: 36px
  }

  .hero {
    padding-top: 20px
  }
}

@media(max-width:768px) {
  :root {
    --nav-height: 72px
  }

  body {
    padding-top: var(--nav-height)
  }

  .nav {
    height: var(--nav-height)
  }

  .hero {
    padding-top: 20px;
    min-height: calc(100vh - var(--nav-height));
  }

  .hero h1 {
    font-size: 32px
  }

  .hero p {
    font-size: 16px;
    padding: 0 10px
  }

  .hero .badge {
    padding: 8px 16px;
    font-size: 12px
  }

  .nav-inner {
    padding: 0 16px
  }

  .brand-text {
    display: none
  }

  .cta {
    display: none
  }
}

/* Enhanced Gallery styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  display: block;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-lg);
}

.gallery-grid img:hover {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: var(--shadow-xl);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 40px;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.lightbox.open {
  visibility: visible;
  opacity: 1;
}

.lightbox img {
  max-width: 95%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  animation: lightboxIn 0.3s ease;
}

@keyframes lightboxIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.lightbox .close:hover {
  background: var(--glass);
  transform: rotate(90deg);
}

/* Enhanced Sections */
.section {
  padding: 100px 0;
  position: relative;
}

.section.light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease;
}

.kicker {
  display: inline-block;
  padding: 10px 20px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
}

.section-header h2 {
  font-size: 42px;
  margin: 0 0 16px 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

/* Enhanced Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s ease;
  animation: fadeInUp 0.8s ease;
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.card-media {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover .card-media::after {
  opacity: 1;
}

.card-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  /* SEO and performance optimizations */
  loading: lazy;
  decoding: async;
}

.card:hover .card-media img {
  transform: scale(1.1);
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  margin: 0 0 12px 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
}

.card-body p {
  margin: 0 0 16px 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.badge {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md);
}

/* Enhanced Timeline */
.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
  animation: fadeInUp 0.8s ease;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient);
  margin-top: 8px;
  box-shadow: 0 0 20px var(--accent);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.timeline-card {
  flex: 1;
  background: var(--glass);
  backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.timeline-card:hover {
  transform: scale(1.03);
  border-color: var(--accent);
  box-shadow: var(--shadow-xl);
}

.timeline-card h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.timeline-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Enhanced Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  animation: fadeInLeft 0.8s ease;
}

.info-card:hover {
  transform: translateX(8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.info-card h4 {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Poppins', sans-serif;
}

.info-card p {
  margin: 0;
  color: var(--primary);
  line-height: 1.8;
}

.contact-form {
  background: var(--glass);
  backdrop-filter: blur(10px);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  animation: fadeInRight 0.8s ease;
}

.form-row {
  margin-bottom: 20px;
}

/* Service Selection Grid */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.service-chip {
  position: relative;
  cursor: pointer;
  perspective: 1000px;
}

.service-chip input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.service-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-height: 100px;
}

.service-icon {
  font-size: 24px;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.service-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
}

.service-chip input:checked~.service-content {
  background: var(--gradient);
  border-color: #fff;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
  transform: translateY(-5px) scale(1.02);
}

.service-chip input:checked~.service-content .service-label {
  color: #fff;
}

.service-chip input:checked~.service-content .service-icon {
  transform: scale(1.2);
}

.service-chip:hover .service-content {
  background: var(--card-hover);
  border-color: var(--accent);
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

select {
  cursor: pointer;
}

@media(max-width:1024px) {
  .contact-grid {
    grid-template-columns: 1fr
  }

  .timeline::before {
    left: 20px
  }

  .timeline-item {
    flex-direction: row !important
  }

  .timeline-dot {
    position: absolute;
    left: 11px
  }

  .timeline-card {
    margin-left: 50px
  }
}

/* Enhanced Footer */
.site-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
  padding: 60px 0 30px;
  border-top: 1px solid var(--glass-border);
  margin-top: 60px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 30px;
}

.footer-grid h4 {
  margin: 0 0 16px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Poppins', sans-serif;
}

.footer-grid p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--glass-border);
}

@media(max-width:900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:600px) {
  .footer-grid {
    grid-template-columns: 1fr
  }
}

/* Extra Large Screens (1200px+) */
@media(min-width:1200px) {
  .hero h1 {
    font-size: 64px
  }

  .section-header h2 {
    font-size: 48px
  }

  .cards-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

/* Large Tablets (992px - 1199px) */
@media(max-width:1199px) {
  .container {
    max-width: 960px
  }

  .hero h1 {
    font-size: 48px
  }

  .cards-grid {
    gap: 24px
  }
}

/* Tablets (768px - 991px) */
@media(max-width:991px) {
  .container {
    max-width: 720px
  }

  .section {
    padding: 80px 0
  }

  .section-header h2 {
    font-size: 36px
  }

  .hero h1 {
    font-size: 40px
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .cards-grid {
    gap: 20px
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .timeline::before {
    left: 30px
  }

  .timeline-item {
    flex-direction: row !important
  }

  .timeline-dot {
    position: absolute;
    left: 21px
  }

  .timeline-card {
    margin-left: 60px
  }
}

/* Mobile Landscape (576px - 767px) */
@media(max-width:767px) {
  :root {
    --nav-height: 72px
  }

  body {
    padding-top: var(--nav-height)
  }

  .nav {
    height: var(--nav-height)
  }

  .container {
    max-width: 540px
  }
}

/* small tidy */
.logo.small {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.container.footer-grid {
  max-width: var(--maxw)
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Form Styles */
.form-label {
  display: block;
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
}

/* utility */
.hidden {
  display: none;
}

/* Success Message */
.btn:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  background: var(--accent-2);
}

/* FAQ Section Styles */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.faq-item {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.faq-item h3 {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Poppins', sans-serif;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Training Programs Section */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.program-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.4s ease;
}

.program-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-xl);
}

.program-card h3 {
  margin: 0 0 16px 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
}

.program-card p {
  margin: 0 0 20px 0;
  color: var(--muted);
  line-height: 1.6;
}

.program-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.program-card li {
  padding: 8px 0;
  color: var(--primary);
  border-bottom: 1px solid var(--glass-border);
  font-size: 14px;
}

.program-card li:last-child {
  border-bottom: none;
}

.program-card li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  margin-right: 8px;
}

/* Responsive Tweak for Service Grid */
@media (max-width: 480px) {
  .checkbox-group {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-content {
    padding: 12px 8px;
    min-height: 80px;
  }

  .service-icon {
    font-size: 20px;
  }

  .service-label {
    font-size: 11px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero Tagline Styling */
.hero .tagline {
  font-size: 24px;
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
  margin: 10px auto 20px;
  animation: fadeInUp 1s ease 0.3s both;
}

@media(max-width:768px) {
  .hero .tagline {
    font-size: 18px;
  }
}

/* Success Badge Variant (for Phase 1 items available in April) */
.badge.success {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #fff;
}

/* Timeline List Styling */
.timeline-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-card li {
  padding: 10px 0;
  color: var(--primary);
  border-bottom: 1px solid var(--glass-border);
  font-size: 14px;
  line-height: 1.6;
}

.timeline-card li:last-child {
  border-bottom: none;
}

.timeline-card li strong {
  color: var(--accent);
}

/* Why Choose Us Section Enhancement */
#why-choose-us .card {
  position: relative;
  overflow: hidden;
}

#why-choose-us .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
}

#why-choose-us .card:hover::before {
  opacity: 1;
}

/* Amenities Section */
#amenities .card-body p {
  line-height: 1.8;
}

#amenities .card-body strong {
  color: var(--accent);
}

/* Contact Info Card Enhancement */
.contact-info .info-card h4 {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Response Time Highlight */
.contact-info .info-card p strong {
  color: var(--accent);
}