* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f7f6fb;
  color: #222;
  overflow-x: hidden;
  overflow-y: auto;
}

/* ===================== */
/* CONTAINER */
/* ===================== */
.container,
.nav-container,
.brand-container {
  width: 100%;
  max-width: 100%;
  padding: 0 40px;
  margin: 0;
}

/* ===================== */
/* NAVBAR */
/* ===================== */
.navbar {
  padding: 15px 30px;
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.6);
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: bold;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #555;
}

/* ===================== */
/* BUTTON */
/* ===================== */
.btn-primary {
  background: linear-gradient(45deg, #2563eb, #60a5fa);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  border: 1px solid #ccc;
  background: white;
  padding: 10px 18px;
  border-radius: 12px;
  margin-right: 10px;
}

.btn-outline:hover {
  border-color: #2563eb;
  color: #2563eb;
}

/* ===================== */
/* HERO */
/* ===================== */
.hero {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  padding: 10px 20px;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* ===================== */
/* LEFT */
/* ===================== */
.left {
  flex: 1;
  max-width: 600px;
}

.left h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 15px;
}

.left p {
  color: #666;
  margin-bottom: 20px;
}

/* ===================== */
/* RIGHT */
/* ===================== */
.right {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

/* GLOW */
.right::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, #2563eb, #60a5fa);
  border-radius: 50%;
  top: 30px;
  filter: blur(40px);
  opacity: 0.7;
}

.right img {
  width: 320px;
  z-index: 2;
  transform: translateY(-80px);
  transition: transform 0.2s ease;
}

/* ===================== */
/* CARD */
/* ===================== */
.card {
  position: absolute;
  z-index: 3;
  transition: transform 0.2s ease;
}

.card1 { top: 18%; left: 55%; }
.card2 { bottom: 35%; right: 28%; }
.card3 { top: 50%; left: 30%; }

.card .inner {
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 8px 14px;
  font-size: 12px;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* ===================== */
/* BRANDS */
/* ===================== */
.brands {
  margin-top: -60px;
  height: 80px;
  display: flex;
  align-items: center;
  background: linear-gradient(270deg, #2563eb, #60a5fa, #2563eb);
  background-size: 400% 400%;
  animation: gradientMove 8s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* FIX BRAND */
.brand-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.brand-container span {
  flex: 1;
  text-align: center;
  color: white;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.5px;
  font-size: 15px;
}

/* ===================== */
/* FEATURES */
/* ===================== */
.features {
  padding: 80px 20px;
  text-align: center;
}

.feature-grid {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.feature-card {
  flex: 1;
  background: white;
  padding: 25px;
  border-radius: 20px;
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* ===================== */
/* COURSES */
/* ===================== */
.courses {
  padding: 80px 20px;
  text-align: center;
  background: #fff;
}

.course-grid {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.course-card {
  flex: 1;
  padding: 25px;
  border-radius: 20px;
  background: #f1f5ff;
  transition: 0.3s;
}

.course-card:hover {
  transform: translateY(-10px);
}

/* ===================== */
/* TESTIMONIALS */
/* ===================== */
.testimonials {
  padding: 80px 20px;
  text-align: center;
}

.testimonial-grid {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.testimonial-card {
  flex: 1;
  background: white;
  padding: 25px;
  border-radius: 20px;
  font-style: italic;
}

/* ===================== */
/* CTA */
/* ===================== */
.cta {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(45deg, #2563eb, #60a5fa);
  color: white;
}

/* ===================== */
/* FOOTER */
/* ===================== */
.footer {
  padding: 20px;
  text-align: center;
  background: #111;
  color: white;
}

/* ===================== */
/* SCROLL REVEAL */
/* ===================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    text-align: center;
  }

  .left h1 {
    font-size: 32px;
  }

  .right img {
    width: 700px;
  }

  .right::before {
    width: 260px;
    height: 260px;
  }

  .brand-container {
    flex-wrap: wrap;
  }

  .brand-container span {
    flex: 50%;
  }

  .feature-grid,
  .course-grid,
  .testimonial-grid {
    flex-direction: column;
  }
}