*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #343a40;
  min-height: 100vh;
}
:root {
  --bg: #ffffff;
  --text: #222;
  --primary: #0077ff;
  --secondary: #f4f4f4;
  --card: #ffffff;
  --border: #0077ff;

  --bg-dark: #0d0d0d;
  --bg-light: #e8f5f0;
  --pill-border: rgba(255, 255, 255, 0.18);
  --pill-bg: rgba(255, 255, 255, 0.04);
  --pill-text: #f0f0f0;
  --accent-purple: #a855f7;
  --accent-orange: #f97316;
  --accent-teal: #2dd4bf;

  --font-heading: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;

  --section-padding-y: 3.5rem;
  --pill-gap: 1rem;
  --pill-font-size: 1rem;
  --pill-padding: 0.75rem 1.6rem;
  --pill-radius: 100px;

  --marquee-speed-1: 28s;
  --marquee-speed-2: 22s;
  --marquee-speed-3: 34s;
}

body.dark {
  --bg: #0f172a;
  --text: #f1f5f9;
  --primary: #38bdf8;
  --secondary: #1e293b;
  --card: #1e293b;
  --border: #38bdf8;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: #fff;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo img {
  width: 10rem;
}
nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
header > .cta-btn {
  display: block;
}
nav > .cta-btn {
  display: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: all 0.5s ease;
  display: inline-block;
}
.nav-links li a:hover {
  color: #00d4ff;
  transform: scale(1.1);
}
.dropdown {
  position: relative;
}
.dropdown > a {
  cursor: pointer;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  list-style: none;
  min-width: 250px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li {
  padding: 0.7rem 1.5rem;
  transition: background-color 0.3s;
}
.dropdown-menu li:hover {
  background-color: #0d213c;
}
.dropdown-menu a {
  color: #333;
  font-size: 0.95rem;
}
.cta-btn {
  background-color: #0d213c;
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}
.cta-btn:hover {
  background-color: #00d4ff;
  transform: scale(1.1);
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #0a1628;
  margin: 3px 0;
  transition: 0.4s;
  border-radius: 3px;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* General Hero Layout */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  height: 100vh;
  padding: 0 10%;
  color: #fff;
  overflow: hidden;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 3.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero .btn,
.cta-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(45deg, #6a11cb, #2575fc);
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.hero .btn:hover {
  background: linear-gradient(45deg, #2575fc, #6a11cb);
  transform: scale(1.05);
}
.cta-button {
  background: linear-gradient(45deg, #2575fc, #6a11cb);
  transform: scale(1.05);
}

.hero-image img {
  max-width: 100%;
}

/* Unique Backgrounds */
.software-hero {
  background: linear-gradient(135deg, #1f1c2c, #928dab);
}
.frontend-hero {
  background: linear-gradient(135deg, #43cea2, #185a9d);
}
.backend-hero {
  background: linear-gradient(135deg, #141e30, #243b55);
}
.product-hero {
  background: linear-gradient(135deg, #f9f9f9, #dfe9f3);
  color: #333;
}
.marketing-hero {
  background: linear-gradient(135deg, #ff512f, #dd2476);
}
.cybersecurity-hero {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}
.uiux-hero {
  background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fad390);
}
.data-hero {
  background: linear-gradient(135deg, #1d2671, #c33764);
}

/* Animations */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Apply Animations */
.hero-content h1,
.hero-content p,
.hero .btn {
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

.hero-content h1 {
  animation-delay: 0.2s;
}
.hero-content p {
  animation-delay: 0.5s;
}
.hero .btn {
  animation-delay: 0.8s;
}

.hero-image img {
  opacity: 0;
  animation:
    slideInRight 1.2s ease forwards,
    float 6s ease-in-out infinite;
  animation-delay: 1s;
}

.course-info {
  background: #343a40;
  padding: 80px 0;
  margin-top: -50px;
  position: relative;
  z-index: 3;
  border-radius: 30px 30px 0 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.course-details h2 {
  font-size: 2.5rem;
  color: #f1f5f9;
  margin-bottom: 1.5rem;
}

.course-details p {
  font-size: 1.1rem;
  color: #f1f5f9;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: #f8f9ff;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: white;
  font-weight: bold;
}

.course-stats {
  background: #f8f9ff;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
}

.stat {
  margin-bottom: 2rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #667eea;
  display: block;
}

.stat-label {
  color: #666;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.curriculum {
  background: #f8f9fa;
  padding: 80px 0;
}

.curriculum h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.modules {
  display: grid;
  gap: 1.5rem;
}

.module {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.module:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.module-header {
  display: flex;
  justify-content: between;
  align-items: center;
  margin-bottom: 1rem;
}

.module-number {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 1rem;
}

.module-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #333;
  flex: 1;
}

.module-duration {
  color: #666;
  font-size: 0.9rem;
}

.module-content {
  color: #666;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.module.active .module-content {
  max-height: 200px;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}
/* ── MARQUEE SECTION ── */
.marquee-section {
  background: var(--bg-dark);
  padding: var(--section-padding-y) 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.marquee-row {
  display: flex;
  width: 100%;
  overflow: hidden;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.marquee-track {
  display: flex;
  gap: var(--pill-gap);
  flex-shrink: 0;
  /* duplicated for seamless loop */
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

/* Direction variants */
.marquee-row--ltr .marquee-track {
  animation-name: scrollLTR;
  animation-duration: var(--marquee-speed-1);
}
.marquee-row--rtl .marquee-track {
  animation-name: scrollRTL;
  animation-duration: var(--marquee-speed-2);
}
.marquee-row--ltr2 .marquee-track {
  animation-name: scrollLTR;
  animation-duration: var(--marquee-speed-3);
}

@keyframes scrollLTR {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes scrollRTL {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* Pause on hover */
.marquee-row:hover .marquee-track {
  animation-play-state: paused;
}

/* ── PILL ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  white-space: nowrap;
  padding: var(--pill-padding);
  border: 1.5px solid var(--pill-border);
  border-radius: var(--pill-radius);
  background: var(--pill-bg);
  color: var(--pill-text);
  font-family: var(--font-heading);
  font-size: var(--pill-font-size);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    border-color 0.25s,
    background 0.25s;
  cursor: default;
  user-select: none;
}

.pill:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

/* Accent colour variants */
.pill--purple {
  border-color: rgba(168, 85, 247, 0.4);
}
.pill--purple:hover {
  border-color: var(--accent-purple);
}

.pill--orange {
  border-color: rgba(249, 115, 22, 0.4);
}
.pill--orange:hover {
  border-color: var(--accent-orange);
}

.pill--teal {
  border-color: rgba(45, 212, 191, 0.4);
}
.pill--teal:hover {
  border-color: var(--accent-teal);
}

.career {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.career-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 48px 0;
  letter-spacing: -0.5px;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.career-card {
  background: #f0ecfa;
  border-radius: 18px;
  padding: 36px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  animation: fadeUp 0.5s ease both;
}

.career-card:nth-child(1) {
  animation-delay: 0.05s;
}
.career-card:nth-child(2) {
  animation-delay: 0.1s;
}
.career-card:nth-child(3) {
  animation-delay: 0.15s;
}
.career-card:nth-child(4) {
  animation-delay: 0.2s;
}
.career-card:nth-child(5) {
  animation-delay: 0.25s;
}
.career-card:nth-child(6) {
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.career-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(80, 40, 160, 0.15);
  border-color: rgba(140, 100, 220, 0.3);
}

.badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge svg {
  width: 26px;
  height: 26px;
}

.badge-yellow {
  background: #f7e08a;
}
.badge-green {
  background: #a8e6c8;
}
.badge-orange {
  background: #f7c59f;
}
.badge-pink {
  background: #f7b8c8;
}
.badge-purple {
  background: #c8b4f0;
}
.badge-blue {
  background: #b4dff7;
}

.career-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #0f0a1e;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .career-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .career-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .career-grid {
    grid-template-columns: 1fr;
  }
}

/* faq/Section */
.faqs.container {
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: var(--primary);
}

/* Group header */
.faq-group {
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 28px;
  border: 2px dashed var(--primary); /* fancy border */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.faq-header {
  text-align: center;
  margin-bottom: 14px;
}

.faq-header h3 {
  margin: 0;
  color: #185a9d;
  font-size: 2rem;
}

/* Items */
.faq-item + .faq-item {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 10px;
  padding-top: 10px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--text);
  border: 0;
  font: inherit;
  padding: 14px 44px 14px 12px;
  cursor: pointer;
  position: relative;
  border-radius: 12px;
  transition: background 0.25s ease;
}

.faq-question:hover,
.faq-question:focus-visible {
  outline: none;
  background: rgba(0, 0, 0, 0.03);
}

.faq-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  transition: transform 0.25s ease;
}

/* Answer with smooth height animation */
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease;
  opacity: 0;
  padding: 0 12px;
  color: var(--text);
  line-height: 1.6;
}

.faq-answer.open {
  opacity: 1;
  padding: 8px 12px 14px;
}

/* Expanded state styles */
.faq-question[aria-expanded="true"] .faq-icon {
  transform: translateY(-50%) rotate(45deg); /* + turns into x */
}

/* --- MEDIA QUERIES --- */

/* <=480 */
@media (max-width: 480px) {
  .faqs.container {
    padding: 44px 16px;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .faq-group {
    padding: 18px;
    border-radius: 16px;
  }
  .faq-question {
    padding: 12px 40px 12px 10px;
    font-size: 0.95rem;
  }
}

/* <=600 */
@media (max-width: 600px) {
  .faq-header img {
    width: 26px;
    height: 26px;
  }
}

/* <=768 */
@media (max-width: 768px) {
  .faq-group {
    margin-bottom: 24px;
  }
}

/* 769–1024 */
@media (min-width: 769px) and (max-width: 1024px) {
  .faqs.container {
    padding: 56px 24px;
  }
}

/* >=1200 */
@media (min-width: 1200px) {
  .faqs.container {
    max-width: 1080px;
    margin: 0 auto;
  }
}

.enrollment {
  background: #1e293b;
  color: white;
  padding: 80px 0;
  text-align: center;
}

.enrollment h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.enrollment p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.price {
  font-size: 3rem;
  font-weight: bold;
  margin: 2rem 0;
  color: #ff6b6b;
}

.footer {
  background-color: #0a1628;
  color: white;
  padding: 4rem 5% 2rem;
}
.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-section h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: white;
}
.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 600;
}
.footer-section p {
  color: #b0b0b0;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.footer-section ul {
  list-style: none;
}
.footer-section ul li {
  margin-bottom: 0.8rem;
  color: #b0b0b0;
}
.footer-section ul li a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-section ul li a:hover {
  color: #00d4ff;
}
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.footer-social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-social-icon:hover {
  background-color: #00d4ff;
  transform: translateY(-3px);
}
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  color: #b0b0b0;
  margin: 0;
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #00d4ff;
}

/* Extra Large Screens - 1400px and up */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero p {
    font-size: 1.4rem;
  }

  .info-grid {
    gap: 5rem;
  }

  .features {
    grid-template-columns: repeat(3, 1fr);
  }
  :root {
    --pill-font-size: 1.1rem;
    --pill-padding: 0.85rem 2rem;
    --pill-gap: 1.2rem;
    --marquee-speed-1: 35s;
    --marquee-speed-2: 28s;
    --marquee-speed-3: 42s;
    --section-padding-y: 4.5rem;
  }
  .marquee-section {
    gap: 1.4rem;
  }
}

/* Large Screens - 1200px to 1399px */
@media (max-width: 1199px) {
  .container {
    padding: 0 30px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .course-details h2 {
    font-size: 2.2rem;
  }
  .footer-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Medium Large Screens - 992px to 1199px */
@media (max-width: 1199px) and (min-width: 992px) {
  .info-grid {
    gap: 3rem;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .module-title {
    font-size: 1.2rem;
  }
}

/* Medium Screens - 768px to 991px (Tablets) */
@media (max-width: 991px) {
  .hero {
    padding: 130px 0 60px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .course-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: center;
  }

  .stat {
    margin-bottom: 1rem;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .feature {
    padding: 0.8rem;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  :root {
    --pill-font-size: 0.95rem;
    --pill-padding: 0.65rem 1.4rem;
    --pill-gap: 0.85rem;
    --marquee-speed-1: 24s;
    --marquee-speed-2: 18s;
    --marquee-speed-3: 30s;
    --section-padding-y: 3rem;
  }
  .marquee-section {
    gap: 1rem;
  }
  .marquee-row {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 5%,
      black 95%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 5%,
      black 95%,
      transparent 100%
    );
  }

  .curriculum h2 {
    font-size: 2.2rem;
  }

  .enrollment h2 {
    font-size: 2.2rem;
  }

  .price {
    font-size: 2.5rem;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-section h3 {
    font-size: 1.5rem;
  }

  .footer-section h4 {
    font-size: 1.1rem;
  }

  .footer-section p,
  .footer-section ul li {
    font-size: 0.95rem;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 15px;
  }

  header {
    flex-wrap: wrap;
  }
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease-in-out;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 5rem;
  }
  nav.active {
    right: 0;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    padding: 0 2rem;
    gap: 0;
  }
  .nav-links li {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-links li:last-child {
    border-bottom: none;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0.5rem 0 0.5rem 1rem;
    display: none;
    background-color: #f8f8f8;
    margin-top: 0.5rem;
    border-radius: 8px;
  }
  .dropdown.active .dropdown-menu {
    display: block;
  }
  .dropdown-menu li {
    padding: 0.5rem 1rem;
  }

  header > .cta-btn {
    display: none;
  }

  nav > .cta-btn {
    display: block;
    margin: 2rem 2rem 0 2rem;
    text-align: center;
  }
  .hamburger {
    display: flex;
  }

  .hero {
    padding: 120px 0 50px;
  }

  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .course-info {
    padding: 60px 0;
    margin-top: -30px;
  }

  .course-details h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .course-details p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .course-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .curriculum {
    padding: 60px 0;
  }

  .curriculum h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .module {
    padding: 1.5rem;
  }

  .module-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .module-number {
    width: 35px;
    height: 35px;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .module-title {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }

  .module-duration {
    font-size: 0.8rem;
    align-self: flex-end;
    margin-top: -1.5rem;
  }
  :root {
    --pill-font-size: 0.88rem;
    --pill-padding: 0.55rem 1.2rem;
    --pill-gap: 0.75rem;
    --marquee-speed-1: 20s;
    --marquee-speed-2: 16s;
    --marquee-speed-3: 26s;
    --section-padding-y: 2.5rem;
  }
  .marquee-section {
    gap: 0.85rem;
  }
  .bottom-section {
    padding: 3rem 1.25rem 4rem;
  }

  .enrollment {
    padding: 60px 0;
  }

  .enrollment h2 {
    font-size: 2rem;
  }

  .enrollment p {
    font-size: 1.1rem;
  }

  .price {
    font-size: 2.2rem;
    margin: 1.5rem 0;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 2rem;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-social-icon {
    width: 35px;
    height: 35px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .footer-bottom p {
    font-size: 0.9rem;
  }
}

/* Extra Small Screens - 480px to 575px */
@media (max-width: 575px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 10px 25px;
    font-size: 0.95rem;
    border-radius: 40px;
  }

  .course-details h2 {
    font-size: 1.8rem;
  }

  .course-details p {
    font-size: 0.95rem;
  }

  .feature {
    flex-direction: column;
    text-align: center;
    padding: 1rem 0.8rem;
  }

  .feature-icon {
    margin-right: 0;
    margin-bottom: 0.8rem;
  }

  .course-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .curriculum h2 {
    font-size: 1.8rem;
  }

  .module {
    padding: 1.2rem;
  }

  .module-title {
    font-size: 1rem;
  }

  .enrollment h2 {
    font-size: 1.8rem;
  }

  .price {
    font-size: 2rem;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  .footer-newsletter form {
    flex-direction: column;
  }
  .footer-newsletter input,
  .footer-newsletter button {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 10px;
  }
}

/* Very Small Screens - 320px to 479px */
@media (max-width: 479px) {
  .container {
    padding: 0 10px;
  }

  header {
    padding: 1rem 3%;
  }
  .logo img {
    height: 40px;
  }
  nav {
    width: 85%;
  }

  .hero {
    padding: 110px 0 40px;
  }

  .hero h1 {
    font-size: 1.9rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .course-info {
    padding: 50px 0;
    margin-top: -20px;
  }

  .course-details h2 {
    font-size: 1.6rem;
  }

  .course-details p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .feature {
    padding: 0.8rem 0.6rem;
  }

  .feature-icon {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }
  :root {
    --pill-font-size: 0.8rem;
    --pill-padding: 0.5rem 1rem;
    --pill-gap: 0.65rem;
    --marquee-speed-1: 16s;
    --marquee-speed-2: 13s;
    --marquee-speed-3: 21s;
    --section-padding-y: 2rem;
  }
  .marquee-section {
    gap: 0.75rem;
  }
  /* Tighter fade on small screens */
  .marquee-row {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 3%,
      black 97%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 3%,
      black 97%,
      transparent 100%
    );
  }
  .bottom-section {
    padding: 2.5rem 1rem 3.5rem;
  }

  .course-stats {
    padding: 1.2rem;
  }

  .curriculum {
    padding: 50px 0;
  }

  .curriculum h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .module {
    padding: 1rem;
  }

  .module-number {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .module-title {
    font-size: 0.95rem;
  }

  .module-duration {
    font-size: 0.75rem;
  }

  .enrollment {
    padding: 50px 0;
  }

  .enrollment h2 {
    font-size: 1.6rem;
  }

  .enrollment p {
    font-size: 1rem;
  }

  .price {
    font-size: 1.8rem;
    margin: 1.2rem 0;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-newsletter form {
    flex-direction: column;
  }
  .footer-newsletter input,
  .footer-newsletter button {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 10px;
  }
}
/* Media Queries */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 5% 7%;
    height: auto;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-image {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }
  .hero-content p {
    font-size: 0.9rem;
  }
  .hero .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

/* Landscape orientation for small devices */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 80px 0 30px;
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .course-info {
    margin-top: -20px;
  }
}

/* Reduced-motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none !important;
  }
  .marquee-row {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: none;
  }
  .marquee-row::-webkit-scrollbar {
    display: none;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero::before {
    background-size: 2000px 2000px;
  }
}

/* Print styles */
@media print {
  header {
    position: static !important;
    background: white !important;
    box-shadow: none !important;
  }

  .hero {
    background: white !important;
    color: black !important;
    padding: 20px 0 !important;
  }

  .cta-button,
  .nav-links {
    display: none !important;
  }

  .course-info,
  .curriculum,
  .enrollment {
    background: white !important;
    color: black !important;
  }

  .module {
    break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ccc;
  }

  .price {
    color: black !important;
  }
}
