/* ⚫ Color Variables */
:root {
  --bg-main: #0D1117;
  --bg-secondary: #1B263B;
  --text-primary: #FFFFFF;
  --text-secondary: #C0C0C0;
  --btn-primary: #D35400;
  --btn-hover: #E67E22;
  --accent: #3498DB;
  --divider: #2C3E50;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 16px;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Top Notice */
header.notice {
  background: var(--bg-secondary);
  color: var(--text-primary);
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
  animation: fadeInDown 0.6s ease-out;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--divider);
  position: relative;
  flex-wrap: wrap;
}
nav .logo {
  font-size: 1.6rem;
  font-weight: bold;
  user-select: none;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
nav input[type="search"] {
  width: 250px;
  padding: 8px 10px;
  background: var(--bg-main);
  border: 1px solid var(--divider);
  border-radius: 4px;
  color: var(--text-primary);
  transition: border-color 0.3s ease;
}
nav input[type="search"]:focus {
  border-color: var(--accent);
  outline: none;
}
nav button {
  background: var(--btn-primary);
  color: var(--text-primary);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}
nav button:hover {
  background: var(--btn-hover);
}

/* Hamburger Menu (Mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}
.hamburger div {
  width: 24px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }
  .nav-menu.active {
    display: flex;
  }
  nav input[type="search"],
  nav button {
    width: 100%;
    max-width: none;
  }
}

/* Hero Section */
.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 40px 30px;
  background: var(--bg-main);
  animation: slideUp 0.6s ease-out;
}
.hero .text {
  flex: 1 1 300px;
  padding-right: 20px;
}
.hero h1 {
  font-size: 2.2rem;
  line-height: 1.3;
}
.hero .highlight {
  color: var(--btn-primary);
}
.cta-button {
  margin-top: 20px;
  padding: 12px 24px;
  font-size: 1rem;
  background: var(--btn-primary);
  color: var(--text-primary);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.cta-button:hover {
  transform: scale(1.05);
  background: var(--btn-hover);
}
.hero img {
  max-width: 100%;
  width: 340px;
  border-radius: 8px;
  object-fit: cover;
}

/* Stats Section */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 20px 10px;
  background: var(--bg-secondary);
  gap: 15px;
}
.stats div {
  text-align: center;
  flex: 1 1 120px;
}
.stats h3 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

/* Ads */
.ads-section {
  background: var(--bg-secondary);
  padding: 20px;
  margin: 30px auto;
  border-radius: 8px;
  text-align: center;
  max-width: 1000px;
}
.ads-section h2 {
  margin-bottom: 15px;
}
.ad-banner {
  background: #222;
  border: 1px solid var(--divider);
  border-radius: 6px;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 728px;
  margin: 0 auto;
}

/* Sections / Cards */
.section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.section h2 {
  margin-bottom: 20px;
  border-bottom: 2px solid var(--divider);
  padding-bottom: 10px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.card,
.course-card {
  background: var(--bg-secondary);
  border: 1px solid var(--divider);
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover,
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* Career Tabs */
.career-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 10px 0;
}
.career-tabs div {
  background: var(--btn-primary);
  color: var(--text-primary);
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s ease;
  flex-shrink: 0;
}
.career-tabs div:hover {
  background: var(--btn-hover);
}

/* Footer */
footer {
  margin-top: auto;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  text-align: center;
  padding: 25px 20px;
  font-size: 0.9rem;
  border-top: 1px solid var(--divider);
}

/* Animations */
@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fadeInDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Tweaks */
@media (max-width: 1024px) {
  .hero .text {
    padding-right: 0;
  }
  .hero img {
    width: 280px;
  }
}
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero img {
    margin-top: 20px;
    width: 100%;
    max-width: 300px;
  }
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }
  nav input[type="search"],
  nav button {
    font-size: 0.9rem;
    padding: 8px;
  }
  .ad-banner {
    height: 60px;
    font-size: 0.95rem;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}










































    .banner {
      background: var(--primary-color);
      color: white;
      text-align: center;
      padding: 2em 1em;
    }

    .banner h1 {
      font-size: 2.5rem;
      margin-bottom: 0.3em;
    }

    .courses-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2em;
      padding: 2em;
      max-width: 1200px;
      margin: auto;
    }
.course-card {
  background: var(--bg-secondary);
  border: 1px solid var(--divider);
  border-radius: 15px;
  overflow: hidden;
  padding: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.course-card img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  padding: 1em;
  transition: transform 0.3s ease;
}
.course-card:hover img {
  transform: scale(1.05);
}
.course-card h2 {
  margin: 0.5em 0 0.2em;
  color: var(--accent);
  font-size: 1.3rem;
}
.course-card p {
  margin: 0.2em 0 1em;
  font-size: 1rem;
  color: var(--text-secondary);
}
.enroll-btn {
  background: var(--btn-primary);
  color: var(--text-primary);
  padding: 0.6em 1.2em;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.enroll-btn:hover {
  background: var(--btn-hover);
  transform: scale(1.05);
}
