:root {
  --primary: #f02d00;
  --dark: #000;
  --light: #f9f9f9;
  --cream: #fdf6f0;
  --card: #fff;
  --muted: #555;
  --radius: 14px;
  --shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* ===== BASE ===== */
body {
  font-family: 'Inter', sans-serif;
  background: var(--light);
  color: #333;
  margin: 0;
  line-height: 1.6;
}

/* ===== HERO ===== */
.hero {
  
  color: #fff;
  padding: 6rem 2rem;
  border-radius: 0 0 40px 40px;
  text-align: center;
  box-shadow: 0 4px 25px rgba(0,0,0,0.25);
}
.hero h1 {
  font-size: 3rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  color: #f5f5f5;
}


/* ===== ABOUT COURSE ===== */
.about-course { background: #000; }
.about-box {
  background: var(--cream);
  color: #333;
}
.about-box h2 { color: var(--primary); }
.about-box i { color: var(--primary); font-size: 1.3rem; }

/* ===== CURRICULUM (UPDATED GRID STYLE) ===== */
.curriculum {
  background: #000;
  color: #333;
  padding: 5rem 1rem;
}

.curriculum-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 3rem 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Header floating box */
.header-box {
  background: linear-gradient(135deg, #f02d00, #c62800);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  max-width: 300px;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.header-box h2 {
  margin: 0;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Curriculum grid layout */
.curriculum-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

/* Each card */
.curriculum-item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.03),
              0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 1.6rem 1.25rem;
  transition: all 0.3s ease;
}

.curriculum-item:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.05),
              0 8px 18px rgba(0, 0, 0, 0.15);
}

.curriculum-item h4 {
  color: var(--primary);
  font-weight: 700;
  border-bottom: 1px solid #eee;
  padding-bottom: 6px;
  margin-bottom: 0.8rem;
}

/* List styling */
.curriculum-item ul {
  list-style: none;
  padding-left: 1rem;
  margin: 0;
}

.curriculum-item ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: #333;
  line-height: 1.7;
}

.curriculum-item ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-weight: bold;
}

/* Button style */
.btn-danger {
  background-color: var(--primary);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  transition: background 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-danger:hover {
  background-color: #c62800;
}



/* ===== PROJECTS ===== */
.projects { background: #1c1c1c; color: #fff; }
.projects h2 { margin-bottom: 1rem; }
.section-line {
  width: 60px; height: 4px; background: var(--primary);
  margin: 10px auto; border-radius: 3px;
}
.project {
  background: var(--card);
  color: #333;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: 0.3s;
}
.project:hover { transform: translateY(-8px); }
.project i { font-size: 2.5rem; color: var(--primary); margin-bottom: 0.75rem; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: #111; }
.testimonial {
  background: #fff;
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  font-style: italic;
  color: #444;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: #ccc;
  padding: 2rem 1rem;
}
footer a { color: #aaa; text-decoration: none; }
footer a:hover { color: var(--primary); }
footer .socials a {
  color: var(--primary);
  margin: 0 0.6rem;
  font-size: 1.3rem;
  transition: 0.3s;
}
footer .socials a:hover { opacity: 0.7; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  /* ===== HERO ===== */
  .hero {
    padding: 4rem 1.5rem;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero p {
    font-size: 1.05rem;
  }

  /* ===== CURRICULUM ===== */
  .curriculum-box {
    width: 95vw;
    margin-left: 50%;
    transform: translateX(-50%);
    border-radius: 12px;
    padding: 2rem 1.2rem;
  }

  .curriculum-content {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .curriculum-item {
    padding: 1.2rem 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }

  .header-box {
    top: -25px;
    padding: 0.8rem 1.6rem;
  }
  .header-box h2 {
    font-size: 1.2rem;
  }

  .curriculum-content ul li {
    text-align: left;
  }
}

/* ===== EXTRA SMALL PHONES ===== */
@media (max-width: 480px) {
  /* ===== HERO ===== */
  .hero {
    padding: 3rem 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }

  /* ===== CURRICULUM ===== */
  .curriculum-box {
    width: 96vw;
    border-radius: 10px;
    padding: 1.5rem 1rem;
  }

  .curriculum-content {
    gap: 0.9rem;
  }

  .curriculum-item {
    padding: 1rem 0.9rem;
  }

  .header-box {
    top: -20px;
    max-width: 260px;
    padding: 0.7rem 1.2rem;
  }
  .header-box h2 {
    font-size: 1.1rem;
  }
}


/* ===== HIGHLIGHTS ===== */
.highlights {
  background: var(--card);
  border-radius: 15px;
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-top: -3rem;
  position: relative;
  z-index: 2;
}

.highlights .icon-box {
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: 12px;
  border: 1px solid #eee;
  background: #fff;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.highlights .icon-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.highlights .icon-box i {
  font-size: 2.6rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.highlights .icon-box h6 {
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0.5rem 0;
  color: #000;
}

.highlights .icon-box p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ===== RESPONSIVE: Mobile ===== */
@media (max-width: 767px) {
  .highlights {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    border-radius: 0;
    padding: 1rem 0; /* slightly reduced padding */
  }

  .highlights .row {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem; /* 🔽 reduced spacing between boxes */
  }

  .highlights .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
  }

  .highlights .icon-box {
    width: 100%;
    border-radius: 0;
    box-shadow: var(--shadow);
    border: 1px solid #eee;
    background: #fff;
    padding: 1.5rem 1rem; /* slightly tighter vertical padding */
  }
}


