/* Reset + base */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --gold: #ffd166;
  --gold-dark: #c49b2a;
  --white: #ffffff;
  --muted: #e8e8e8;
  --maxw: 1200px;
  --container-pad: 20px;
  --font: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
html, body { height: 100%; }
body {
  font-family: var(--font);
  background: linear-gradient(180deg, #0d0d0d, #1a1a1a);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* container helper */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--container-pad); }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
}
.brand {
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1.5px;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}
.navlinks a {
  color: var(--white);
  text-decoration: none;
  margin-left: 22px;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.2s ease;
}
.navlinks a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('nexus-hd.jpeg') center/cover no-repeat;
  background-size: 60%;
  background-color: black;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 6vh; overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(0,0,0,0.28), rgba(0,0,0,0.55));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center; /* ✅ centers button & text */
  justify-content: center;
  text-align: center;
  padding: 65vh 30px 15vh /* pushes down consistently */
}

.tagline {
  color: var(--muted); font-weight: 600;
  letter-spacing: 2px; margin-bottom: 18px;
  animation: fadeInUp 1s ease forwards;
}

.btn-register {
  display: inline-block;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #111;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: transform .18s ease, box-shadow .18s ease;
  margin-top: 40px; 
  margin-left: -60px; /* move slightly left *//* small breathing space, but responsive */
}

.btn-register:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
}


/* Sections */
.black-section {
  background: #0d0d0d;
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}
.black-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: #ffffff;
  letter-spacing: 1px;
  position: relative;
}
.black-section h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 12px auto 0;
  border-radius: 2px;
  transition: width 0.4s ease;
}
.black-section h2:hover::after { width: 140px; }
.black-section p {
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #cccccc;
}

/* Courses */
.courses-container {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: flex-start; gap: 2rem;
  max-width: 1200px; margin: auto; padding: 2rem;
}
.course-images {
  flex: 1 1 40%;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.course-images img {
  width: 100%; height: 220px; object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.course-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 209, 102, 0.4);
}
.course-text {
  flex: 1 1 50%;
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 209, 102, 0.15);
  transition: transform 0.3s ease;
}
.course-text:hover { transform: translateY(-6px); }
.course-text h3 {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.course-text h4 {
  color: #fff;
  margin-top: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}
.course-text ul { list-style: none; padding: 0; }
.course-text ul li {
  margin-bottom: 0.5rem; padding-left: 25px; position: relative;
  transition: transform 0.2s ease;
}
.course-text ul li::before {
  content: "✔"; color: var(--gold);
  position: absolute; left: 0; font-weight: bold;
}
.course-text ul li:hover { transform: translateX(6px); }

/* About Section */
.about-centered { max-width: 800px; margin: 0 auto; text-align: center; }
.about-centered h2 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.about-centered .tagline {
  font-size: 1.2rem; font-weight: 600; color: #00d9ff;
  margin-bottom: 1.5rem; letter-spacing: 1px;
}
.about-centered p { margin-bottom: 1rem; font-size: 1rem; line-height: 1.7; }
.about-centered h3 { margin-top: 2rem; font-size: 1.5rem; }
.about-centered .why-us { list-style: none; padding: 0; margin-top: 1rem; }
.about-centered .why-us li { margin: 0.5rem 0; font-size: 1rem; }

/* Form frame */
.form-frame {
  margin-top: 18px; max-width: 980px;
  margin-left: auto; margin-right: auto;
  border-radius: 12px; overflow: hidden;
  border: 2px solid rgba(210,170,40,0.15);
  background: #000;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
.form-frame iframe {
  display: block; width: 100%;
  height: 780px; background: #000;
}

/* Contact */
.contact-line {
  font-weight: 600; color: var(--muted);
  font-size: 1.05rem; margin-top: 8px;
}

/* Footer */
.footer {
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
}

/* Topbar */
.topbar {
  background: #111;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
  padding: 6px 0;
}
.topbar .container { display: flex; justify-content: flex-end; align-items: center; }
.topbar .phone { color: var(--gold); font-weight: 600; letter-spacing: 0.5px; }

/* Animations */
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s ease forwards; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.courses-section {
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: #ffd166;
  margin-bottom: 40px;
  position: relative;
}

.course-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.course-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #ffd166;
  border-radius: 15px;
  padding: 30px;
  width: 350px;
  text-align: left;
  transition: all 0.3s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(255, 209, 102, 0.5);
}

.course-title {
  font-size: 1.6rem;
  color: #ffd166;
  margin-bottom: 20px;
  border-bottom: 2px solid #ffd166;
  display: inline-block;
  padding-bottom: 5px;
}

.course-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-list li {
  color: #e0e0e0;
  margin: 10px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-list li::before {
  content: "✔";
  color: #ffd166;
  font-weight: bold;
}


.about-section {
  background: #0d0d0d;
  padding: 80px 20px;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  color: #e0e0e0;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #ffd166, #ffcc33);
  border-radius: 2px;
}

.why-title {
  margin-top: 25px;
  font-size: 1.3rem;
  color: #ffd166;
}

.about-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.about-list li {
  margin: 8px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.about-list li::before {
  content: "✔";
  color: #ffd166;
  font-weight: bold;
  margin-right: 8px;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(255, 209, 102, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(255, 209, 102, 0.5);
}

/* 📱 Responsive */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .about-text {
    order: 1;
  }
  .about-image {
    order: 2;
    margin-top: 30px;
  }
}


/* Responsive */
@media (max-width: 900px) {
  .hero-content { padding-top: 32vh; }
  .btn-register { padding: 14px 26px; font-size: 1rem; }
  .courses-container { flex-direction: column; }
  .course-images { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero-content { padding-top: 24vh; }
  .navlinks a { margin-left: 12px; font-size: 0.95rem; }
  .container { padding: 0 14px; }
  .form-frame iframe { height: 900px; }
}
