
:root {
  --bg-1: #d8dade;
 
  --card: rgba(255,255,255,0.04);
  --glass: rgba(255,255,255,0.03);
  --accent: #19b5fe;
  --accent-2: #6ee7b7;
  --muted: #9aa6b2;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(2,6,23,0.7);
  --glass-blur: 10px;
  --maxw: 1200px;
}

* { box-sizing: border-box }
html, body {
  height: 100%;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #090909;
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit }

/* CONTAINER */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px;
}

/* NAVBAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: linear-gradient(180deg, rgba(2,6,23,0.6), rgba(2,6,23,0.25));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

/* Logo */
.logo-wrap {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, #062435 0%, #082b3b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(2,6,23,0.6);
}
.logo-img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.06);
}
.logo-shine {
  position: absolute;
  left: -60%;
  top: -40%;
  width: 40%;
  height: 180%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(25deg);
  filter: blur(6px);
  animation: shine 3.2s linear infinite;
}
@keyframes shine {
  0% { transform: translateX(-200%) rotate(25deg) }
  100% { transform: translateX(400%) rotate(25deg) }
}
.brand h1 {
  font-size: 16px;
  margin: 0;
  line-height: 1;
}
.brand p {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav-links a {
  color: #d9f3ff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  transition: all .22s;
}
.nav-links a:hover {
  background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  transform: translateY(-3px);
  color: var(--accent);
}
.cta-enroll {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  padding: 10px 14px;
  border-radius: 12px;
  color: #021022;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(25,181,254,0.12);
}

/* Mobile menu */
.burger { display:none;background:transparent;border:0;color:#bfeeff;font-size:22px }
@media(max-width:900px) {
  .nav-links { display:none }
  .burger { display:block }
}

/* HERO */
.hero {
  min-height: 64vh;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 28px;
  align-items: center;
  padding: 60px 24px;
}
.hero-left { padding-right: 10px }
.kicker {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero-title {
  font-size: 44px;
  line-height: 1.02;
  margin: 0 0 14px;
  text-shadow: 0 6px 30px rgba(0,0,0,0.6);
}
.hero-desc {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 22px;
  max-width: 60ch;
}
.hero-ctas { display:flex;gap:12px }
.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  color: #021022;
  border: 0;
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(25,181,254,0.14);
}
.btn-outline {
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: transparent;
  color: #060707;
  cursor: pointer;
}

/* HERO RIGHT IMAGE GRID */
.hero-right {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 160px;
}
.hero-card {
  background: var(--glass);
  border-radius: 14px;
  padding: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: var(--shadow);
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.hero-card .meta {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  background: linear-gradient(90deg, rgba(0,0,0,0.4), rgba(0,0,0,0.15));
  border-radius: 10px;
  color: #080808;
  font-weight: 700;
  font-size: 13px;
}

/* SECTIONS */
section { padding: 60px 0 }
.section-title { font-size:28px;margin:0 0 14px }
.lead { color:var(--muted);margin-bottom:18px;max-width:70ch }

/* COURSES GRID */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 20px;
  margin-top: 20px;
}
.course {
  background: var(--card);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.03);
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.course:hover { transform:translateY(-8px);box-shadow:0 20px 40px rgba(1,4,10,0.6) }
.course img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}
.course h4 { margin:4px 0 8px;font-size:18px }
.course p { color:var(--muted);font-size:14px }
.course .foot {
  display:flex;justify-content:space-between;align-items:center;margin-top:12px;
}
.price { font-weight:800;color:var(--accent) }
.small-btn {
  padding:8px 12px;border-radius:10px;
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.02);
  cursor:pointer;color:#070707;font-weight:700;
}


/* TABLE */
.table {
  width:100%;border-collapse:collapse;background:var(--card);
  border-radius:12px;overflow:hidden;
}
.table th, .table td {
  padding:12px;border-bottom:1px solid rgba(255,255,255,0.03);text-align:left;
}
.table thead th {
  background:linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  font-weight:700;
}

/* GALLERY */
.gallery-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:12px;
}
.gallery-item {
  position:relative;overflow:hidden;border-radius:10px;cursor:pointer;
}
.gallery-item img {
  width:100%;height:140px;object-fit:cover;display:block;
  transition:transform .35s;
}
.gallery-item:hover img { transform:scale(1.06) }

/* Lightbox Modal */
.modal {
  position:fixed;inset:0;background:rgba(0,0,0,0.75);
  display:flex;align-items:center;justify-content:center;
  z-index:9999;opacity:0;pointer-events:none;transition:all .2s;
}
.modal.open { opacity:1;pointer-events:auto }
.modal img {
  max-width:92vw;max-height:86vh;border-radius:10px;
  box-shadow:0 20px 60px rgba(1,6,15,0.8);
}

/* CONTACT */
.contact-grid {
  display:grid;
  grid-template-columns:1fr 420px;
  gap:20px;
}
.card {
  background:var(--card);
  padding:18px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.03);
}
label { display:block;font-size:13px;margin-bottom:6px }
input, textarea, select {
  width:100%;padding:10px;border-radius:10px;
  border:1px solid rgba(255,255,255,0.03);
  background:transparent;color:#eaf8ff;
}
textarea { min-height:120px;resize:vertical }
.submit {
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
  border:0;padding:12px 16px;border-radius:12px;
  color:#021022;font-weight:800;cursor:pointer;
}
.muted { color:var(--muted) }

/* MAP */
.map {
  width:100%;height:320px;border-radius:12px;
  overflow:hidden;border:1px solid rgba(255,255,255,0.03);
}
.map iframe {
  width:100%;height:100%;border:0;
}




/* WHATSAPP BUTTON */
.wa-float {
  position:fixed;right:20px;bottom:20px;
  background:linear-gradient(90deg,#25D366,#128C7E);
  width:64px;height:64px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  z-index:9999;box-shadow:0 18px 60px rgba(0,0,0,0.6);
  cursor:pointer;
}
.wa-float img { width:36px;height:36px }

/* RESPONSIVE */
@media(max-width:1100px){
  .hero { grid-template-columns:1fr;padding:40px 18px }
  .hero-right { grid-auto-rows:120px }
  .contact-grid { grid-template-columns:1fr }
  .trainers { justify-content:center }
  .courses-grid { grid-template-columns:repeat(auto-fit,minmax(220px,1fr)) }
}

.footer {
  background: linear-gradient(to right, #0a0a1f, #0d0d2a);
  color: #ffffff;
  padding: 4rem 2rem 0rem; /* changed bottom padding from 2rem to 0rem */
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  z-index: 1;
  margin-bottom: 0; /* ensure there's no margin-bottom */
  
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer h3, .footer h4 {
  color: #00f5ff;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.footer p, .footer a {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
  transition: color 0.3s ease;
}
.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.footer-links a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #007cf0;
  transition: width 0.3s ease;
  position: absolute;
  bottom: -3px;
  left: 0;
}

.footer-links a:hover {
  color: #007cf0;
}

.footer-links a:hover::after {
  width: 100%;
}
.footer a:hover {
  color: #00f5ff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

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

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  color: #ccc;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}


.social-icons a:hover {
  color: #00f5ff;
  background: rgba(0, 255, 255, 0.1);
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem; /* reduce if needed */
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #888;
}
.footer::before,
.footer::after {
  pointer-events: none; /* optional, avoids weird hover behavior */
  overflow: hidden;
  max-width: 100vw;
  max-height: 100vh;
}


/* Glowing elements (optional) */
.footer::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0; /* top-left */
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.3), transparent 60%);
  filter: blur(60px);
  z-index: 0;
}

.footer::after {
  content: '';
  position: absolute;
  inset: auto 0 0 auto; /* bottom-right */
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.25), transparent 60%);
  filter: blur(60px);
  z-index: 0;
}
