/* ---------------------------
   GLOBAL (MATCH DARK THEME)
--------------------------- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #f4f4f4;
}

/* ---------------------------
   HEADER / NAV
--------------------------- */
header {
  background-color: #222;
  border-bottom: 1px solid #333;
  position: relative;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

header h1 a {
  text-decoration: none;
  color: #ffffff;
}

/* NAV */
#main-nav {
  display: flex;
  gap: 20px;
  padding: 10px 20px;
}

#main-nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
}

#main-nav a:hover {
  color: #00bcd4;
}

/* HAMBURGER */
#menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* ---------------------------
   HERO SECTION
--------------------------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 20px;
  max-width: 1200px;
  margin: auto;
}

.hero-content {
  max-width: 550px;
}

.hero-content h1 {
  font-size: 40px;
  margin-bottom: 15px;
  color: #00bcd4;
}

.hero-content p {
  font-size: 18px;
  color: #000;
}

.hero-buttons {
  margin-top: 20px;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 10px;
  font-size: 16px;
}

.btn-primary {
  background-color: #00bcd4;
  color: white;
}

.btn-primary:hover {
  background-color: #0097a7;
}

.btn-secondary {
  background-color: #f4f4f4;
  color: #000;
  border: 1px solid #ccc;
}

/* ---------------------------
   COURSE SECTION
--------------------------- */
.courses-section {
  text-align: center;
  padding: 40px 20px;
  position: relative;
  background: #111;
}

.courses-section h2 {
  color: #00bcd4;
  margin-bottom: 25px;
}

/* FORCE EQUAL HEIGHT */
.owl-stage {
  display: flex;
}

.owl-item {
  display: flex;
}

/* COURSE CARD */
.course-card {
  background: #000000;
  border-radius: 10px;
  padding: 25px;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  height: 100%;
  min-height: 260px;
}

.course-card h3 {
  min-height: 50px;
}

.course-card p {
  min-height: 60px;
}

/* BUTTON */
.course-card button {
  background: #00bcd4;
  border: none;
  color: #fff;
  padding: 10px 15px;
  margin-top: auto;
  border-radius: 6px;
  cursor: pointer;
}

.course-card button:hover {
  background: #0097a7;
}

/* ---------------------------
   CAROUSEL ARROWS
--------------------------- */
.owl-nav {
  position: absolute;
  top: 40%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.owl-nav button {
  background: none !important;
  border: none;
  pointer-events: all;
}

.arrow {
  font-size: 30px;
  background: #00bcd4;
  color: #fff;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.arrow:hover {
  background: #0097a7;
}

.owl-prev {
  position: absolute;
  left: -15px;
}

.owl-next {
  position: absolute;
  right: -15px;
}

/* ---------------------------
   WHY SECTION
--------------------------- */
.why-section {
  background: #222;
  padding: 60px 20px;
  text-align: center;
}

.why-section h2 {
  margin-bottom: 30px;
  color: #00bcd4;
}

.why-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-item {
  background: #000000;
  padding: 25px;
  border-radius: 10px;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* ---------------------------
   FOOTER
--------------------------- */
footer {
  text-align: center;
  padding: 20px;
  background: #222;
  color: #bbb;
}

/* ---------------------------
   RESPONSIVE
--------------------------- */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE NAV */
@media (max-width: 768px) {
  #menu-toggle {
    display: block;
  }

  #main-nav {
    display: none;
    flex-direction: column;
    background: #222;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 15px;
    border-radius: 8px;
  }

  #main-nav.active {
    display: flex;
  }
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}