/* AERMODELLING PAGE SPECIFIC STYLES */

.course-page-body {
  background: #f7f9fc;
}

/* HERO SECTION */
.course-hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  min-height: 450px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 60px; /* offset for navbar */
}

.course-hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.course-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.course-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  border-left: 6px solid var(--red);
  z-index: 2;
}

.course-hero-content {
  position: relative;
  z-index: 3;
  width: 50%;
  padding: 60px 5%;
}

.breadcrumbs {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: var(--red);
  text-decoration: none;
}

.breadcrumbs .sep {
  margin: 0 8px;
}

.course-hero-title {
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.course-hero-subtitle {
  font-size: 18px;
  font-weight: 700;
  background: #fff;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.course-hero-subtitle .navy-text { color: var(--navy); }
.course-hero-subtitle .red-text { color: var(--red); }

.course-hero-age {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  background: rgba(255,255,255,0.1);
  padding: 10px 15px;
  border-radius: 50px;
  width: fit-content;
  margin-bottom: 20px;
}

.course-hero-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 90%;
}

/* GENERAL SECTION STYLES */
.course-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

/* GRIDS */
.grid-4-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.grid-2-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.cs-header {
  font-family: var(--font-display);
  color: var(--red);
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cs-num {
  background: var(--red);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 800;
}

.cs-title {
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 20px;
  font-weight: 800;
}

p {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* INFO BOXES */
.info-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  background: #edf2f7;
}

.info-box.no-bg {
  background: transparent;
  padding: 10px 0;
}

.info-box.box-outline {
  background: transparent;
  border: 1px solid #cbd5e0;
}

.info-box.box-grey {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.ib-icon {
  flex-shrink: 0;
  color: var(--red);
}

.ib-icon.navy { color: var(--navy); }
.ib-icon.target-icon { color: #3182ce; }

.ib-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

/* LISTS */
.cs-list, .cs-check-list, .cs-star-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.cs-list li, .cs-check-list li, .cs-star-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: #4a5568;
  font-weight: 500;
}

.cs-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.cs-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--navy);
  font-weight: bold;
}

.cs-star-list li::before {
  content: '★';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
}

.split-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* 01 OVERVIEW SECTION */
.overview-section {
  display: flex;
  gap: 40px;
  align-items: center;
}

.cs-left {
  flex: 1;
}

.cs-right {
  flex: 1;
}

.cs-right-intro {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 25px;
}

.img-grid-2x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.ig-item {
  text-align: center;
}

.ig-img {
  width: 100%;
  aspect-ratio: 4/3;
  background-color: #cbd5e0;
  border-radius: 8px;
  margin-bottom: 10px;
  background-size: cover;
  background-position: center;
}

/* Placeholder backgrounds */
.bg-understand { background-image: url('assets/aeromodeling/understand.png'); }
.bg-build { background-image: url('assets/aeromodeling/build.png'); }
.bg-configure { background-image: url('assets/aeromodeling/configure.png'); }
.bg-simulate { background-image: url('assets/aeromodeling/simulate.png'); }
.bg-fly { background-image: url('assets/aeromodeling/fly.png'); }
.bg-advance { background-image: url('assets/aeromodeling/advance.png'); }

.ig-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

/* 02 & 03 SPLIT SECTION */
.split-2-col {
  display: flex;
  gap: 40px;
  background: #fff;
  padding: 60px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.col-left, .col-right {
  flex: 1;
}

.build-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.bf-title {
  font-size: 14px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.bf-title svg {
  color: var(--red);
}

.bf-item p {
  font-size: 13px;
  line-height: 1.5;
}

/* 04, 05, 06 COLUMNS */
.col-3-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.c3-item {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.c3-item .info-box {
  margin-top: auto;
}

/* 07 LEARNING JOURNEY */
.journey-section {
  background: #fff;
  padding: 60px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  text-align: center;
}

.journey-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.journey-header .cs-header {
  margin-bottom: 0;
}

.journey-steps-title {
  font-weight: 800;
  color: var(--navy);
  font-size: 18px;
}

.journey-steps-title .arr {
  color: var(--red);
  margin: 0 10px;
}

.timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.tl-connector {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin-top: 50px;
  position: relative;
}

.tl-connector::after {
  content: '→';
  position: absolute;
  right: 50%;
  top: -10px;
  color: #a0aec0;
  font-size: 18px;
  transform: translateX(50%);
}

.tl-step {
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.tl-circle {
  width: 24px;
  height: 24px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 10px;
}

.tl-icon-circle {
  width: 60px;
  height: 60px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: #fff;
  margin-bottom: 15px;
}

.tl-step.red .tl-circle { background: var(--red); }
.tl-step.red .tl-icon-circle { border-color: var(--red); color: var(--red); }

.tl-title {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 8px;
}

.tl-desc {
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

/* 08, 09, 10, 11, 12 MASONRY/GRID */
.bottom-grid {
  display: grid;
  grid-template-columns: 3fr 3fr 4fr;
  gap: 30px;
  align-items: start;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sk-item {
  display: flex;
  gap: 10px;
}

.sk-icon {
  color: var(--navy);
  flex-shrink: 0;
}

.sk-text strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 4px;
}

.sk-text p {
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

.mt-4 { margin-top: 24px; }
.mb-3 { margin-bottom: 20px; }

.who-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.highlight-box {
  background: #f8fafc;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.hl-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hl-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.hl-icon {
  color: var(--navy);
  flex-shrink: 0;
}

.hl-text {
  font-size: 13px;
  line-height: 1.5;
  color: #4a5568;
}

.hl-text strong {
  color: var(--navy);
}

/* ACCORDION */
.accordion {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.acc-item {
  border-bottom: 1px solid #e2e8f0;
}

.acc-item:last-child {
  border-bottom: none;
}

.acc-title {
  padding: 16px 20px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none; /* Hide default arrow */
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
}

.acc-title::-webkit-details-marker {
  display: none;
}

.acc-title::after {
  content: '+';
  margin-left: auto;
  font-size: 20px;
  font-weight: 400;
  color: #a0aec0;
}

details[open] .acc-title::after {
  content: '-';
}

details[open] .acc-title {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.acc-title span {
  color: #a0aec0;
  font-weight: 500;
}

.acc-content {
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #4a5568;
}

.safety-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.sb-content {
  display: flex;
  gap: 15px;
}

.sb-icon {
  color: var(--navy);
  flex-shrink: 0;
}

.sb-text p {
  font-size: 12px;
  margin-bottom: 10px;
}

/* CTA SECTION */
.bottom-cta {
  background: var(--navy);
  padding: 60px 24px;
}

.cta-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-left h2 {
  font-family: var(--font-display);
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
}

.cta-left p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  margin: 0;
}

.cta-right {
  display: flex;
  gap: 15px;
}

.btn-outline-white {
  display: inline-block;
  padding: 14px 24px;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.2s;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* FLIGHT SIMULATOR SPECIFIC */
.sim-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.cs-list.mini-list li {
  font-size: 12px;
  margin-bottom: 6px;
  padding-left: 16px;
}
.cs-list.mini-list li::before {
  top: 6px;
  width: 6px;
  height: 6px;
}
.flight-deck-card {
  transition: transform 0.2s;
}
.flight-deck-card:hover {
  transform: translateY(-5px);
}

/* RESPONSIVE MEDIA QUERIES FOR ALL COURSE PAGES */
@media (max-width: 991px) {
  /* Hero Section */
  .course-hero {
    flex-direction: column;
    justify-content: center;
  }
  .course-hero-content {
    width: 100%;
    padding: 40px 5%;
  }
  .course-hero-bg {
    width: 100%;
    opacity: 0.2;
    clip-path: none;
  }
  .course-hero-bg::before {
    display: none;
  }

  /* Splits & Grids */
  .overview-section, .split-2-col, .cta-inner {
    flex-direction: column;
    gap: 30px;
  }
  .col-3-layout {
    grid-template-columns: 1fr;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
  }
  .grid-4-col, .grid-2-col {
    grid-template-columns: 1fr;
  }
  .img-grid-2x3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Timeline / Journey */
  .journey-header {
    flex-direction: column;
    text-align: center;
  }
  .timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .tl-connector {
    display: none;
  }
  .tl-step {
    width: 100%;
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-template-areas: 
      "num icon title"
      "num icon desc";
    text-align: left;
    align-items: center;
    gap: 0 15px;
    margin-bottom: 20px;
  }
  .tl-step .tl-circle {
    grid-area: num;
    margin-bottom: 0;
  }
  .tl-step .tl-icon-circle {
    grid-area: icon;
    margin-bottom: 0;
  }
  .tl-title {
    grid-area: title;
    margin-bottom: 4px;
    align-self: end;
  }
  .tl-desc {
    grid-area: desc;
    text-align: left;
    align-self: start;
    margin-bottom: 0;
  }
  
  /* Buttons */
  .cta-right {
    flex-direction: column;
    width: 100%;
  }
  .cta-right a {
    text-align: center;
  }
}

@media (max-width: 575px) {
  .course-hero-title {
    font-size: 36px;
  }
  .cs-title {
    font-size: 24px;
  }
  .img-grid-2x3 {
    grid-template-columns: 1fr;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .build-features-grid, .sim-features-grid {
    grid-template-columns: 1fr;
  }
  .split-list {
    grid-template-columns: 1fr;
  }
  .course-section {
    padding: 40px 15px;
  }
  .split-2-col, .journey-section, .who-box, .safety-box {
    padding: 30px 15px;
  }
}


