*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --header-bg: #1a1a2e;
  --header-text: #eaeaea;
  --header-accent: #0f3460;
  --link-hover: #e94560;
  --transition: 0.25s ease;
  /* Banner */
  --banner-gradient-start: #667eea;
  --banner-gradient-mid: #764ba2;
  --banner-gradient-end: #f093fb;
  --banner-text: #1a1a2e;
  --banner-highlight: #ff6b6b;
  --form-bg: rgba(255, 255, 255, 0.95);
  --form-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: var(--header-bg);
  color: var(--header-text);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--link-hover);
}

/* Hamburger (visible on small screens only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: inherit;
  border-radius: 6px;
  transition: background var(--transition);
}

.nav-toggle:hover {
  background: var(--header-accent);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

/* Open state: X */
.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Navigation */
.nav-list {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: block;
  padding: 0.5rem 1rem;
  color: inherit;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}

.nav-list a:hover {
  background: var(--header-accent);
  color: var(--link-hover);
}

/* Mobile: show hamburger, hide nav by default */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--header-bg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }

  .nav.is-open {
    max-height: 280px;
  }

  .nav-list {
    flex-direction: column;
    padding: 0.5rem;
    gap: 0.25rem;
  }

  .nav-list a {
    padding: 0.75rem 1rem;
  }
}

/* ========== Banner ========== */
.banner {
  padding: 2.5rem 1.5rem 3rem;
  background: linear-gradient(135deg, var(--banner-gradient-start) 0%, var(--banner-gradient-mid) 50%, var(--banner-gradient-end) 100%);
  color: var(--banner-text);
}

.banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: center;
}

.banner-content {
  min-width: 0;
}

.banner-tagline {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(26, 26, 46, 0.85);
}

.banner-heading {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.banner-heading .highlight {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  background: linear-gradient(90deg, #ff6b6b, #ffd93d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.banner-slogan {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(26, 26, 46, 0.9);
  max-width: 42ch;
}

/* Banner form (right side) */
.banner-form-wrap {
  min-width: 0;
}

.banner-form {
  background: var(--form-bg);
  padding: 1.75rem;
  border-radius: 16px;
  box-shadow: var(--form-shadow);
  backdrop-filter: blur(10px);
}

.banner-form-title {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--banner-text);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--banner-text);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: var(--banner-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--banner-gradient-mid);
  box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.banner-form-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.85rem 1.25rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--banner-gradient-start), var(--banner-gradient-mid));
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.banner-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.banner-form-submit:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.5);
}

/* Banner responsive: stack form below slogan on small screens */
@media (max-width: 900px) {
  .banner-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .banner-form-wrap {
    order: -1;
  }
}

@media (max-width: 600px) {
  .banner {
    padding: 1.75rem 1rem 2.5rem;
  }

  .banner-form {
    padding: 1.25rem;
  }

  .banner-form-title {
    font-size: 1.1rem;
  }
}

/* ========== Courses Section ========== */
.courses {
  padding: 3rem 1.5rem 4rem;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

.courses-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.courses-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #1a1a2e;
  text-align: center;
}

.courses-intro {
  margin: 0 0 2rem;
  text-align: center;
  color: #475569;
  font-size: 1.05rem;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.course-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.course-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.course-icon svg {
  width: 28px;
  height: 28px;
}

/* Card color variants */
.course-card--uiux .course-icon { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; }
.course-card--uiux:hover { border-color: #764ba2; }

.course-card--frontend .course-icon { background: linear-gradient(135deg, #11998e, #38ef7d); color: #fff; }
.course-card--frontend:hover { border-color: #11998e; }

.course-card--backend .course-icon { background: linear-gradient(135deg, #0f3460, #e94560); color: #fff; }
.course-card--backend:hover { border-color: #e94560; }

.course-card--php .course-icon { background: linear-gradient(135deg, #777bb4, #8892bf); color: #fff; }
.course-card--php:hover { border-color: #777bb4; }

.course-card--node .course-icon { background: linear-gradient(135deg, #339933, #68a063); color: #fff; }
.course-card--node:hover { border-color: #339933; }

.course-card--python .course-icon { background: linear-gradient(135deg, #3776ab, #ffd43b); color: #fff; }
.course-card--python:hover { border-color: #3776ab; }

.course-card--graphic .course-icon { background: linear-gradient(135deg, #f093fb, #f5576c); color: #fff; }
.course-card--graphic:hover { border-color: #f5576c; }

.course-name {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
}

.course-desc {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
  flex-grow: 1;
}

.course-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.course-view-details {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: #11998e;
  padding-top: 0.5rem;
}

@media (max-width: 640px) {
  .courses {
    padding: 2rem 1rem 3rem;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .course-card {
    padding: 1.5rem;
  }
}

/* Main content (demo) */
.main {
  padding: 2rem 1.5rem;
  max-width: 60ch;
  margin: 0 auto;
}

.main p {
  margin: 0;
  color: #333;
}

/* ========== Services ========== */
.services-section {
  padding: 3.5rem 1.5rem 4rem;
  background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.services-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #064e3b;
  text-align: center;
}

.services-intro {
  margin: 0 0 2rem;
  text-align: center;
  color: #047857;
  font-size: 1.05rem;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  padding: 1.75rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(4, 120, 87, 0.08);
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(4, 120, 87, 0.12);
}

.service-card--web { border-top: 4px solid #059669; }
.service-card--web:hover { border-color: #059669; }

.service-card--seo { border-top: 4px solid #7c3aed; }
.service-card--seo:hover { border-color: #7c3aed; }

.service-card--app { border-top: 4px solid #0284c7; }
.service-card--app:hover { border-color: #0284c7; }

.service-card--graphic { border-top: 4px solid #db2777; }
.service-card--graphic:hover { border-color: #db2777; }

.service-card-title {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a2e;
}

.service-points {
  margin: 0;
  padding-left: 1.25rem;
  list-style: none;
}

.service-points li {
  position: relative;
  padding-left: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
}

.service-points li::before {
  content: "";
  position: absolute;
  left: -1.25rem;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.service-card--web .service-points li::before { background: #059669; }
.service-card--seo .service-points li::before { background: #7c3aed; }
.service-card--app .service-points li::before { background: #0284c7; }
.service-card--graphic .service-points li::before { background: #db2777; }

.service-points li:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .services-section { padding: 2rem 1rem 3rem; }
  .service-card { padding: 1.25rem; }
}

/* ========== Testimonials ========== */
.testimonials {
  padding: 3.5rem 1.5rem 4rem;
  background: linear-gradient(160deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  color: #e2e8f0;
}

.testimonials-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.testimonials-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  text-align: center;
  color: #fff;
}

.testimonials-intro {
  margin: 0 0 2rem;
  text-align: center;
  color: #94a3b8;
  font-size: 1.05rem;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  margin: 0;
  padding: 1.75rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-card--1 { border-left: 4px solid #38ef7d; }
.testimonial-card--2 { border-left: 4px solid #f093fb; }
.testimonial-card--3 { border-left: 4px solid #ffd93d; }

.testimonial-quote {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.testimonial-quote::before {
  content: "\201C";
  font-size: 2rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.4);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.testimonial-card--1 .testimonial-avatar { background: linear-gradient(135deg, #11998e, #38ef7d); color: #0f172a; }
.testimonial-card--2 .testimonial-avatar { background: linear-gradient(135deg, #667eea, #f093fb); color: #fff; }
.testimonial-card--3 .testimonial-avatar { background: linear-gradient(135deg, #f7971e, #ffd93d); color: #1a1a2e; }

.testimonial-name {
  font-style: normal;
  font-weight: 700;
  color: #fff;
  display: block;
}

.testimonial-role {
  font-size: 0.875rem;
  color: #94a3b8;
}

@media (max-width: 640px) {
  .testimonials { padding: 2rem 1rem 3rem; }
  .testimonial-card { padding: 1.25rem; }
}

/* ========== Why Choose Us ========== */
.why-choose-us {
  padding: 3.5rem 1.5rem 4rem;
  background: linear-gradient(180deg, #ffecd2 0%, #fcb69f 100%);
}

.why-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.why-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #2d1b0e;
  text-align: center;
}

.why-intro {
  margin: 0 0 2rem;
  text-align: center;
  color: #5c4033;
  font-size: 1.05rem;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.why-card {
  background: #fff;
  padding: 1.75rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.why-icon svg {
  width: 26px;
  height: 26px;
}

.why-card--1 .why-icon { background: linear-gradient(135deg, #11998e, #38ef7d); color: #fff; }
.why-card--2 .why-icon { background: linear-gradient(135deg, #4776e6, #8e54e9); color: #fff; }
.why-card--3 .why-icon { background: linear-gradient(135deg, #eb3349, #f45c43); color: #fff; }
.why-card--4 .why-icon { background: linear-gradient(135deg, #f7971e, #ffd93d); color: #1a1a2e; }

.why-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #2d1b0e;
}

.why-card-desc {
  margin: 0;
  font-size: 0.9rem;
  color: #5c4033;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .why-choose-us { padding: 2rem 1rem 3rem; }
  .why-card { padding: 1.25rem; }
}

/* ========== Blog ========== */
.blog-section {
  padding: 3.5rem 1.5rem 4rem;
  background: linear-gradient(180deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%);
}

.blog-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.blog-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #78350f;
  text-align: center;
}

.blog-intro {
  margin: 0 0 2rem;
  text-align: center;
  color: #92400e;
  font-size: 1.05rem;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: #fff;
  padding: 1.75rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(120, 53, 15, 0.08);
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(120, 53, 15, 0.15);
}

.blog-card--1:hover { border-color: #11998e; }
.blog-card--2:hover { border-color: #667eea; }
.blog-card--3:hover { border-color: #f5576c; }

.blog-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.blog-card--1 .blog-category { background: #ccfbf1; color: #0d9488; }
.blog-card--2 .blog-category { background: #e0e7ff; color: #4f46e5; }
.blog-card--3 .blog-category { background: #fce7f3; color: #db2777; }

.blog-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.blog-card-title a {
  color: #1a1a2e;
  text-decoration: none;
  transition: color var(--transition);
}

.blog-card-title a:hover {
  color: #92400e;
}

.blog-excerpt {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.85rem;
  color: #94a3b8;
}

.blog-read-more {
  font-weight: 600;
  color: #92400e;
  text-decoration: none;
}

.blog-read-more:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .blog-section { padding: 2rem 1rem 3rem; }
  .blog-card { padding: 1.25rem; }
}

/* ========== FAQ ========== */
.faq-section {
  padding: 3.5rem 1.5rem 4rem;
  background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 50%, #7dd3fc 100%);
}

.faq-inner {
  max-width: 640px;
  margin: 0 auto;
}

.faq-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #0c4a6e;
  text-align: center;
}

.faq-intro {
  margin: 0 0 2rem;
  text-align: center;
  color: #0369a1;
  font-size: 1.05rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(12, 74, 110, 0.1);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item:hover,
.faq-item[open] {
  border-color: #0284c7;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.15);
}

.faq-question {
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: #0c4a6e;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #0284c7;
  border-bottom: 2px solid #0284c7;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] .faq-question::before {
  transform: rotate(-135deg);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  color: #075985;
  line-height: 1.6;
  border-left: 3px solid #7dd3fc;
}

@media (max-width: 640px) {
  .faq-section { padding: 2rem 1rem 3rem; }
  .faq-question { padding: 0.9rem 1rem; }
  .faq-answer { padding: 0 1rem 1rem; }
  .faq-answer p { padding-left: 1rem; }
}

/* ========== Footer ========== */
.footer {
  padding: 2.5rem 1.5rem 1.5rem;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #94a3b8;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem 3rem;
  margin-bottom: 2rem;
}

.footer-brand {
  min-width: 0;
}

.footer-logo {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #f1f5f9;
}

.footer-tagline {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 28ch;
}

.footer-nav-title,
.footer-contact .footer-nav-title {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cbd5e1;
}

.footer-nav ul,
.footer-address {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a,
.footer-address a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer-nav a:hover,
.footer-address a:hover {
  color: #38bdf8;
}

.footer-nav li {
  margin-bottom: 0.4rem;
}

.footer-address p {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  text-align: center;
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .footer-tagline { max-width: none; }
}

@media (max-width: 480px) {
  .footer { padding: 2rem 1rem 1rem; }
}

/* ========== Course Description Page ========== */
.course-page {
  padding-bottom: 2rem;
}

.course-hero {
  padding: 2rem 1.5rem 2.5rem;
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: #0f172a;
}

.course-breadcrumb {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.course-breadcrumb a {
  color: rgba(15, 23, 42, 0.8);
  text-decoration: none;
}

.course-breadcrumb a:hover {
  text-decoration: underline;
}

.course-breadcrumb span:not([aria-hidden]) {
  color: rgba(15, 23, 42, 0.9);
}

.course-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
}

.course-subtitle {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.course-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.course-free-modules {
  background: rgba(15, 23, 42, 0.2);
  color: #0f172a;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.course-syllabus-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: #0f172a;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 8px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.course-syllabus-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.course-layout {
  display: grid;
  grid-template-columns: 80% 20%;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  align-items: start;
}

.course-main {
  min-width: 0;
}

.course-section-title {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a2e;
}

.course-description,
.course-learn,
.course-jobs {
  margin-bottom: 2rem;
}

.course-description p,
.course-jobs p {
  margin: 0;
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
}

.course-learn-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.8;
}

.course-sidebar {
  position: sticky;
  top: 5rem;
}

.demo-form-wrap {
  background: linear-gradient(135deg, #11998e, #38ef7d);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(17, 153, 142, 0.25);
}

.demo-form-title {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}

.demo-form .form-group {
  margin-bottom: 0.9rem;
}

.demo-form .form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.3rem;
}

.demo-form input {
  width: 100%;
  padding: 0.5rem 0.7rem;
  font: inherit;
  font-size: 0.9rem;
  border: 2px solid rgba(15, 23, 42, 0.2);
  border-radius: 8px;
  background: #fff;
}

.demo-form input:focus {
  outline: none;
  border-color: #0f172a;
}

.demo-form-submit {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.7rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #11998e;
  background: #0f172a;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition);
}

.demo-form-submit:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.course-modules {
  padding: 0 0 2.5rem;
}

.modules-title {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
}

.modules-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.module-item {
  background: #fff;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.module-item:hover,
.module-item[open] {
  border-color: #11998e;
  box-shadow: 0 4px 16px rgba(17, 153, 142, 0.15);
}

.module-free {
  border-left: 4px solid #38ef7d;
}

.module-summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.module-summary::-webkit-details-marker { display: none; }

.module-summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #11998e;
  border-bottom: 2px solid #11998e;
  margin-left: auto;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.module-item[open] .module-summary::after {
  transform: rotate(-135deg);
}

.module-num {
  font-size: 0.85rem;
  color: #64748b;
}

.module-name {
  flex-grow: 1;
}

.module-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.module-badge--free {
  background: linear-gradient(135deg, #11998e, #38ef7d);
  color: #fff;
}

.module-desc {
  padding: 0 1.25rem 1.25rem;
}

.module-desc p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

.module-desc ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.7;
}

.course-cta {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #f1f5f9;
  margin: 0 1.5rem;
  border-radius: 12px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
}

.course-cta a {
  color: #11998e;
  font-weight: 600;
  text-decoration: none;
}

.course-cta a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .course-layout {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
  }

  .course-sidebar {
    position: static;
    order: -1;
  }

  .demo-form-wrap {
    max-width: 400px;
  }
}

@media (max-width: 640px) {
  .course-hero { padding: 1.5rem 1rem 2rem; }
  .course-meta { flex-direction: column; align-items: flex-start; }
  .course-syllabus-btn { width: 100%; justify-content: center; }
  .module-summary { padding: 0.9rem 1rem; }
  .module-desc { padding: 0 1rem 1rem; }
  .course-layout { padding: 1rem; }
  .demo-form-wrap { max-width: none; }
}
