﻿/* ========================================
   PEZHON — Premium Driving School
   Style System v1.0
   ======================================== */

/* ----------------------------------------
   RESET & BASE
   ---------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #070707;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

@media (max-width: 768px) {
  body { cursor: auto; }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: none;
}

@media (max-width: 768px) {
  button { cursor: pointer; }
}

/* ----------------------------------------
   UTILITIES
   ---------------------------------------- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #22B173;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 2rem;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 1px;
  background: #22B173;
}

.section-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

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

/* ----------------------------------------
   PRELOADER
   ---------------------------------------- */
#preloader {
  position: fixed;
  inset: 0;
  background: #070707;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.preloader-road {
  width: 300px;
  height: 40px;
}

.preloader-logo {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.preloader-text {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #ffffff;
  opacity: 0;
  transform: translateY(20px);
}

.preloader-sub {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #22B173;
}

.preloader-counter {
  font-size: 6rem;
  font-weight: 900;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

/* ----------------------------------------
   CUSTOM CURSOR
   ---------------------------------------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10001;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: left, top;
}

.cursor-dot {
  width: 10px;
  height: 10px;
  background: #22B173;
  box-shadow: 0 0 15px rgba(34, 177, 115, 0.8), 0 0 30px rgba(34, 177, 115, 0.4);
  opacity: 1;
}

.cursor-ring {
  width: 50px;
  height: 50px;
  border: 1.5px solid rgba(34, 177, 115, 0.9);
  transition: width 0.4s ease, height 0.4s ease, border-color 0.4s ease, background 0.4s ease;
  opacity: 1;
}

.cursor-ring.hover {
  width: 70px;
  height: 70px;
  background: rgba(34, 177, 115, 0.1);
  border-color: #22B173;
  box-shadow: 0 0 20px rgba(34, 177, 115, 0.3);
}

@media (max-width: 768px) {
  .cursor-dot, .cursor-ring {
    display: none;
  }
}

/* ----------------------------------------
   NOISE OVERLAY
   ---------------------------------------- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ----------------------------------------
   SCROLL PROGRESS
   ---------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 9997;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #22B173, #6CDBB0);
  transform-origin: left;
}

/* ----------------------------------------
   NAVIGATION
   ---------------------------------------- */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

#navbar.scrolled {
  background: rgba(7, 7, 7, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #22B173;
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #22B173;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: #22B173;
  color: #070707;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: #6CDBB0;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(34, 177, 115, 0.2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
}

/* Mobile Menu */
#mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 7, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

#mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

#mobile-menu a {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
}

#mobile-menu a:hover {
  color: #22B173;
}

.mobile-cta {
  margin-top: 1rem;
  padding: 1rem 2.5rem;
  background: #22B173;
  color: #070707;
  border-radius: 9999px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ----------------------------------------
   HERO
   ---------------------------------------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0a0a0a;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
  transform: scale(1.1);
  will-change: transform;
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #070707 0%, rgba(7,7,7,0.6) 40%, rgba(7,7,7,0.3) 100%);
  z-index: 1;
}

.hero-glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(34, 177, 115, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  padding-top: 8rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(34, 177, 115, 0.3);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #22B173;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(10px);
  background: rgba(34, 177, 115, 0.05);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #22B173;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

.title-line {
  display: block;
  overflow: hidden;
}

.title-word {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

.title-line.accent .title-word {
  color: #22B173;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 700px;
  margin: 0 auto 3rem;
  opacity: 0;
  filter: blur(10px);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: #22B173;
  color: #070707;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(34, 177, 115, 0.3);
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary i {
  transition: transform 0.3s ease;
}

.btn-primary:hover i {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 2.5rem;
  border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: #22B173;
  color: #22B173;
  transform: translateY(-3px);
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.hero-scroll span {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, #22B173, transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ----------------------------------------
   MARQUEE
   ---------------------------------------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: #070707;
  padding: 1.25rem 0;
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.15);
  padding-right: 2rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----------------------------------------
   SECTIONS COMMON
   ---------------------------------------- */
section {
  padding: clamp(5rem, 12vw, 10rem) 0;
  position: relative;
}

/* ----------------------------------------
   WHY US
   ---------------------------------------- */
#why-us {
  background: #070707;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.premium-card {
  background: #101010;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.5rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.premium-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(34, 177, 115, 0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.premium-card:hover::before {
  opacity: 1;
}

.premium-card:hover {
  border-color: rgba(34, 177, 115, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(34, 177, 115, 0.05);
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 177, 115, 0.1);
  border: 1px solid rgba(34, 177, 115, 0.2);
  border-radius: 1rem;
  font-size: 1.25rem;
  color: #22B173;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.premium-card:hover .card-icon {
  background: rgba(34, 177, 115, 0.2);
  transform: scale(1.1) rotate(-5deg);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.card-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
}

.card-text strong {
  color: #ffffff;
  font-weight: 600;
}

.card-price {
  margin-top: 1.5rem;
  font-size: 2.5rem;
  font-weight: 900;
  color: #22B173;
  font-variant-numeric: tabular-nums;
}

.card-price span {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
}

/* ----------------------------------------
   TEAM
   ---------------------------------------- */
#team {
  background: #0a0a0a;
}

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

.team-card {
  background: #101010;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.team-card:hover {
  border-color: rgba(34, 177, 115, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(34, 177, 115, 0.05);
}

.team-img-wrap {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #0a0a0a;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 1;
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.05);
}

.team-info {
  padding: 1.75rem;
}

.team-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.team-role {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #22B173;
  margin-bottom: 0.75rem;
}

.team-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------
   FLEET
   ---------------------------------------- */
#fleet {
  background: #0a0a0a;
}

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

.fleet-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #101010;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.fleet-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 177, 115, 0.3);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.fleet-img-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0a0a0a;
}

.fleet-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 1;
}

.fleet-card:hover .fleet-img-wrap img {
  transform: scale(1.05);
}

.fleet-info {
  padding: 2rem;
}

.fleet-info h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.fleet-info p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .fleet-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------
   HOW IT WORKS (TIMELINE)
   ---------------------------------------- */
#how-it-works {
  background: #070707;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.08);
}

.timeline-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: #22B173;
}

.timeline-item {
  position: relative;
  padding-left: 4rem;
  padding-bottom: 4rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #070707;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  transition: all 0.5s ease;
}

.timeline-item.active .timeline-marker {
  border-color: #22B173;
  color: #22B173;
  box-shadow: 0 0 20px rgba(34, 177, 115, 0.3);
}

.timeline-content {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item.active .timeline-content {
  opacity: 1;
  transform: translateY(0);
}

.timeline-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.timeline-content p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 600px;
}

@media (max-width: 768px) {
  .timeline-line { left: 20px; }
  .timeline-item { padding-left: 3.5rem; }
  .timeline-marker { width: 40px; height: 40px; font-size: 0.75rem; }
}

/* ----------------------------------------
   ABOUT
   ---------------------------------------- */
#about {
  background: #0a0a0a;
  overflow: hidden;
}

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

.about-title {
  margin-bottom: 2rem;
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-paragraphs p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
}

.about-image {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #101010;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 1;
}

.about-image:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #070707 0%, transparent 50%);
}

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image { aspect-ratio: 16 / 9; }
}

/* ----------------------------------------
   CERTIFICATES
   ---------------------------------------- */
#certificates {
  background: #0a0a0a;
  overflow: hidden;
}

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

.cert-card {
  position: relative;
  background: #101010;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.cert-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 177, 115, 0.3);
  box-shadow: 0 20px 60px rgba(34, 177, 115, 0.08);
}

.cert-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a0a0a;
}

.cert-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cert-card:hover .cert-card-img-wrap img {
  transform: scale(1.03);
}

.cert-card-info {
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.cert-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  line-height: 1.4;
}

/* Lightbox for cert images */
.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 2rem;
  cursor: zoom-out;
}

.cert-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.cert-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
}

.cert-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.cert-lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
  .certs-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .cert-card-img-wrap {
    aspect-ratio: 3 / 2;
  }
}

/* ----------------------------------------
   ENROLLMENT
   ---------------------------------------- */
#enrollment {
  background: #070707;
  padding: clamp(6rem, 14vw, 12rem) 0;
}

.enrollment-card {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  background: #101010;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  opacity: 1 !important;
  transform: none !important;
}

.enrollment-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 177, 115, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.enrollment-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(34, 177, 115, 0.1);
  border: 1px solid rgba(34, 177, 115, 0.2);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #22B173;
  margin-bottom: 2rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #22B173;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.enrollment-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.enrollment-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  text-align: left;
  transition: all 0.3s ease;
}

.detail-item:hover {
  border-color: rgba(34, 177, 115, 0.3);
  background: rgba(34, 177, 115, 0.03);
}

.detail-item i {
  font-size: 1.5rem;
  color: #22B173;
}

.detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.25rem;
}

.detail-value {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
}

/* ----------------------------------------
   CONTACTS
   ---------------------------------------- */
#contacts {
  background: #070707;
}

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

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  display: flex !important;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: #101010;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.5rem;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.contact-card:hover {
  border-color: rgba(34, 177, 115, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.contact-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 177, 115, 0.1);
  border-radius: 1rem;
  font-size: 1.25rem;
  color: #22B173;
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.25rem;
}

.contact-value {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  transition: color 0.3s ease;
}

.contact-card:hover .contact-value {
  color: #22B173;
}

.contacts-map {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  min-height: 400px;
}

.contacts-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(1.2);
}

@media (max-width: 1024px) {
  .contacts-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------
   FOOTER
   ---------------------------------------- */
footer {
  background: #070707;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 4rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

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

.footer-brand .logo-text {
  font-size: 2rem;
  font-weight: 800;
}

.footer-brand .logo-sub {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #22B173;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #22B173;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
}

.footer-admin-link {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-admin-link:hover {
  color: #22B173;
}

/* ----------------------------------------
   FLOATING FAB
   ---------------------------------------- */
.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #22B173;
  color: #070707;
  font-size: 1.25rem;
  border-radius: 50%;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(34, 177, 115, 0.3);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(34, 177, 115, 0.4);
}

.fab-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(34, 177, 115, 0.5);
  animation: fab-pulse 2s ease-out infinite;
}

@keyframes fab-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

/* ----------------------------------------
   ANIMATION UTILITIES
   ---------------------------------------- */
.reveal-up,
.reveal-blur,
.reveal-text,
.reveal-image,
.reveal-scale {
  opacity: 1;
}

/* ----------------------------------------
   RESPONSIVE
   ---------------------------------------- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 3rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .enrollment-details {
    grid-template-columns: 1fr;
  }
  .fab {
    width: 50px;
    height: 50px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}
