* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* NAVBAR */
header {
  position: fixed;
  width: 100%;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
}

.logo {
  color: #4f46e5;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.btn-nav {
  background: #4f46e5;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;

}

.logo img {
  width: 85px;
  height: 45px;
}

.logo span {
  font-size: 24px;
  font-weight: 700;
  color: #4f46e5;
}

.logo span {
  font-size: 22px;
  font-weight: 700;
  color: #4f46e5;
}

/* HERO */
.hero {
  position: relative;
  padding: 80px 8%;
  background: #f5f7fb;
  overflow: hidden;
  padding-top: 160px;
  
}

/* Layout */
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-left: 30px;
}

/* Text */
.hero h1 {
  font-size: 48px;
  color: #1e293b;
}

.hero h1 span {
  color: #6366f1;
}

.hero p {
  margin: 15px 0;
  color: #555;
  line-height: 1.6;
}

/* Buttons */

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}
.btn {
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  white-space: nowrap;
}

.primary {
  background: #6366f1;
  color: white;
}

.secondary {
  border: 2px solid #6366f1;
  color: #6366f1;
}

/* Image */
.image img {
  width: 500px;
  height: 400px;
  margin-left: 50px;
  margin-top: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}


/* ✨ Corner Shapes */
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.shape1 {
  width: 250px;
  height: 250px;
  background: #6366f1;
  top: -80px;
  left: -80px;
}

.shape2 {
  width: 300px;
  height: 300px;
  background: #22c55e;
  bottom: -100px;
  right: -100px;
}

.tags span {
  display: inline-block;
  background: #eef2ff;
  color: #6366f1;
  padding: 6px 14px;
  border-radius: 20px;
  margin: 5px 5px 0 0;
  font-size: 14px;
}


/* FEATURES */
.features {
  padding: 100px 60px;
  
  background: linear-gradient(135deg, #eceff5, #f1f2f4);
}

/* TITLE */
.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 28px;
  color: #1e293b;
}

/* GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 40px; /* IMPORTANT spacing */
}

/* CARD */
.feature-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  padding-bottom: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
}

/* IMAGE */
.feature-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* TEXT */
.feature-card h3 {
  padding: 15px;
  color: #4f46e5;
}

.feature-card p {
  padding: 0 15px;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}
/* COURSES */
#courses {
    padding: 60px 8%;
    background: #f5f7fb;
    text-align: center;
    background: linear-gradient(135deg, #eceff5, #f1f2f4);
}

#courses h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #2d2d2d;
}

.course-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.course-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.course-card:hover {
    transform: translateY(-8px);
}

.course-card img {
    width: 80%;
    height: 160px;
    object-fit: cover;
}

.course-content {
    padding: 20px;
    text-align: left;
}

.course-content h3 {
    color: #4a5cff;
    margin-bottom: 5px;
}

.level {
    font-size: 13px;
    color: gray;
    margin-bottom: 10px;
}

.course-content ul {
    padding-left: 18px;
}

.course-content ul li {
    font-size: 14px;
    margin-bottom: 6px;
}
/* ABOUT */
.about {
    padding: 60px 8%;
   background: #f8fafc;
    text-align: center;
}

.about h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #2d2d2d;
}

.about-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-left img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
}

.about-right {
  max-width: 500px;
  text-align: left;
}

.about-right h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #1e293b;
}

.about-desc {
  color: #475569;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* BOX SECTIONS */
.about-box {
  border-left: 4px solid #6366f1;
  padding-left: 15px;
  margin-bottom: 20px;
}

.about-box h4 {
  color: #4f46e5;
  margin-bottom: 5px;
}

.about-box p {
  color: #475569;
  font-size: 14px;
}

/* STATS */
.about-numbers {
  display: flex;
  gap: 40px;
  margin-top: 25px;
}

.about-numbers h3 {
  color: #4f46e5;
}

.about-numbers p {
  font-size: 13px;
  color: #64748b;
}
/* CONTACT */
/* HERO SECTION */
.contact-hero {
    height: 150px;
    position: relative;
}

.overlay {
    background: rgba(20, 30, 60, 0.7);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.overlay h1 {
    font-size: 36px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.overlay p {
    font-size: 15px;
    width: 60%;
}

/* CONTACT CARDS */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 60px ;
    background: #f4f6fb;
    margin-top: -60px;
}

.contact-card {
    background: white;
    padding: 25px;
    text-align: center;
    border-radius: 12px;
    width: 280px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.contact-card:hover {
    transform: translateY(-8px);
}

.contact-card img {
    width: 50px;
    margin-bottom: 10px;
}

.contact-card h3 {
    color: #4a5cff;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 14px;
    color: gray;
    margin-bottom: 10px;
}

.contact-card h4 {
    color: #333;
    font-size: 15px;
}

.footer {
  background: #111827;
  color: #bbb;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
}



/* =========================
   📱 MOBILE DEVICES (max-width: 768px)
========================= */
@media (max-width: 768px) {

  .container {
    width: 95%;
  }

  /* NAVBAR */
  .nav {
    flex-direction: column;
    gap: 10px;
  }

  nav a {
    margin: 0 10px;
    font-size: 14px;
  }

  /* HERO */
  .hero-content {
    flex-direction: column;
    text-align: center;
    margin-left: 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .image img {
    width: 100%;
    height: auto;
    margin: 20px 0;
  }

  .buttons {
    margin-top: 30px;
  }

  /* FEATURES */
  .features {
    padding: 60px 20px;
  }

  .features-grid {
    gap: 20px;
  }

  /* COURSES */
  .course-card img {
    width: 100%;
  }

  /* ABOUT */
  .about-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .about-left img {
    width: 100%;
    margin-left: 0;
  }

  .about-right {
    margin-left: 0;
    text-align: center;
  }

  .about-numbers {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  /* CONTACT */
  .contact-info {
    flex-direction: column;
    padding: 40px 20px;
  }

  .contact-card {
    width: 100%;
  }
}


/* =========================
   💻 TABLET DEVICES (769px - 1024px)
========================= */
@media (min-width: 769px) and (max-width: 1024px) {

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .image img {
    width: 80%;
    height: auto;
    margin: auto;
  }

  .about-wrapper {
    flex-direction: column;
  }

  .about-left img {
    margin-left: 0;
    width: 80%;
  }

  .about-right {
    margin-left: 0;
    text-align: center;
  }

  .contact-info {
    flex-wrap: wrap;
  }

  .contact-card {
    width: 45%;
  }
}


/* =========================
   🖥️ LARGE SCREENS (1200px+)
========================= */
@media (min-width: 1200px) {

  .container {
    width: 80%;
  }

  .hero h1 {
    font-size: 56px;
  }

  .image img {
    width: 550px;
  }
}


@media (max-width: 768px) {

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .about-right {
    text-align: center;
  }

  .nav {
    flex-direction: column;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

}

@media (max-width: 768px) {

  .buttons {
    justify-content: center;
  }

  .btn {
    width: auto;
    text-align: center;
  }

}