/* Units Section — Redesigned 2-column layout */
.units-grid-new {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 40px;
    align-items: start;
}

.units-left-panel {
    width: 100%;
}

.units-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.units-sub-col {
    width: 100%;
}

.units-right-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.units-right-panel .units-classroom-img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    max-height: 280px;
}

/* Responsive */
@media (max-width: 1100px) {
    .units-grid-new {
        grid-template-columns: 1fr;
    }
    .units-two-col {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .units-two-col {
        grid-template-columns: 1fr;
    }
}

/* Units — Row 1: two accordion columns */
.units-row-1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 48px;
}

/* Units — Row 2: three columns */
.units-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.units-row2-col {
    display: flex;
    flex-direction: column;
}

.units-row2-col .units-classroom-img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    height: 100%;
    max-height: 460px;
}

/* Responsive */
@media (max-width: 1024px) {
    .units-row-1 {
        grid-template-columns: 1fr;
    }
    .units-row-2 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .units-row-2 {
        grid-template-columns: 1fr;
    }
}
/* Course Details Page Specific Styles */

.course-page-wrapper {
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  padding-top: 25px;
  padding-bottom: 10px;
  padding-left: 24px;
  padding-right: 24px;
  overflow-x: hidden;
}

/* Breadcrumbs */
.breadcrumbs {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--light-slate);
  margin-bottom: 24px;
}

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

.breadcrumbs .current {
  color: #00a2e8;
}

/* Page Header Title */
.course-header {
  margin-bottom: 40px;
}

.course-title {
  font-family: var(--font-headings);
  font-size: var(--size-h1);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--dark-navy);
  margin-bottom: 24px;
}

.course-title .text-blue {
  color: #00a2e8;
}

.course-description {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--light-slate);
  line-height: 1.6;
  max-width: 1000px;
  margin-bottom: 24px;
}

.course-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 40px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background-color: transparent;
  color: var(--dark-navy);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-download:hover {
  border-color: #00a2e8;
  color: #00a2e8;
}

/* Quick Info Grid */
.quick-info-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 60px;
}

.quick-info-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  /*grid-template-columns: repeat(4, 1fr);*/
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(21, 28, 45, 0.02);
}

.quick-info-item {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid #f1f5f9;
}

.quick-info-item:last-child {
  border-right: none;
}

.info-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: #00a2e8;
}

/* Colors for specific labels matching image */
.info-label.color-teal {
  color: #00a2e8;
}

.info-label.color-yellow {
  color: #eeb902;
}

.info-label.color-pink {
  color: #ec3b83;
}


.info-value {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-navy);
}

/* Course Details Table */
.course-details-section {
  margin-bottom: 50px;
}

.section-title {
  font-family: var(--font-headings);
  font-size: var(--size-h2);
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 32px;
}

.details-table-wrapper {
  width: 100%;
  border-radius: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 4px 15px rgba(21, 28, 45, 0.02);
  border: 1px solid #f1f5f9;
}

.details-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.details-table th {
  background-color: #00a2e8;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 16px 24px;
  text-align: center;
}

.details-table td {
  padding: 20px 24px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-navy);
  font-weight: 600;
  border-top: 1px solid #f1f5f9;
}

/* About The Program Section - Resized for inside page */
.course-about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.course-about-column h3 {
  font-family: var(--font-headings);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--dark-navy);
}

.course-about-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--light-slate);
  line-height: 1.7;
}

.course-highlights-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.course-highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--light-slate);
}

.course-highlights-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--light-slate);
}

/* Feature Cards Over Wave */
.course-features-section {
  position: relative;
  margin-bottom: 80px;
  overflow: hidden;
  border-radius: 12px;
}

.course-wave-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0.6;
}

.course-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.course-feature-card {
  padding: 32px 24px;
  border-radius: 12px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  box-shadow: 0 10px 30px rgba(21, 28, 45, 0.08);
}

.course-feature-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
}

.course-feature-icon svg {
  width: 100%;
  height: 100%;
  stroke: #ffffff;
}

.course-feature-title {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.course-feature-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* Custom card backgrounds mapping */
.feature-card-1 {
  background: linear-gradient(135deg, #ec3b83 0%, #a82062 100%);
}

.feature-card-2 {
  background: linear-gradient(135deg, #ffd700 0%, #eeb902 100%);
}

.feature-card-3 {
  background: linear-gradient(135deg, #1aa495 0%, #0e7066 100%);
}

.feature-card-4 {
  background: linear-gradient(135deg, #ec3b83 0%, #a82062 100%);
}

.feature-card-2 .course-feature-title,
.feature-card-2 .course-feature-desc {
  color: #ffffff;
}

/* Accordion Section */
.course-outline-section {
  margin-bottom: 10px;
  /* width: 1450px; */
  padding-bottom: 10px
}

.outline-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--light-slate);
  margin-bottom: 32px;
}

.accordion-container {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  border: 1px solid #e2e8f0;
  border-bottom: none;
  background-color: #ffffff;
}

.accordion-item:last-child {
  border-bottom: 1px solid #e2e8f0;
}

.accordion-header {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark-navy);
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #f8fafc;
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--light-slate);
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  padding: 0 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--light-slate);
  line-height: 1.6;
}

.accordion-item.active .accordion-content {
  max-height: 300px;
  padding: 14px 20px;
  border-top: 1px solid #e2e8f0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

/* Responsive Overrides */
@media (max-width: 1200px) {
  .course-page-wrapper {
    padding-top: 25px;
    padding-left: 6%;
    padding-right: 6%;
  }
}

@media (max-width: 1024px) {
  .quick-info-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-info-item:nth-child(2) {
    border-right: none;
  }

  .quick-info-item:nth-child(even) {
    border-right: none;
  }

  .quick-info-item:nth-child(odd) {
    border-bottom: 1px solid #f1f5f9;
  }

  .course-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-about-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .course-page-wrapper {
    padding-top: 25px;
    padding-left: 5%;
    padding-right: 5%;
  }
}

@media (max-width: 768px) {
  .course-page-wrapper {
    padding-top: 20px;
  }

  .quick-info-row {
    grid-template-columns: 1fr;
  }

  .quick-info-item {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
  }

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

  .course-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .course-title {
    font-size: 2.3rem;
  }

  .course-actions {
    justify-content: flex-start;
  }

  .btn-download {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .course-title {
    font-size: 1.85rem;
  }

  .quick-info-item {
    padding: 16px;
  }

  .section-title {
    font-size: 1.85rem;
    margin-bottom: 20px;
  }

  .course-about-column h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
  }
}

/* Custom Grid for 4-Column Bottom Section */
.coerces-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  margin-top: 32px;
  margin-bottom: 60px;
}

@media (max-width: 1024px) {
  .coerces-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .coerces-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Units Section */
.units-section {
  margin-bottom: 80px;
}

.units-grid {
  display: grid;
  grid-template-columns: 1.10fr 0.80fr 1fr;
  gap: 32px;
  align-items: stretch;
}

/* Left Column: Accordions */
.units-accordions-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.units-block {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(21, 28, 45, 0.02);
}

.units-block-header {
  background-color: #00a2e8;
  color: #ffffff;
  padding: 8px 16px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
}

/* Compact overrides for Units accordions to decrease total height */
.units-block .accordion-header {
  padding: 9px 16px;
  font-size: 0.95rem;
}

.units-block .accordion-content {
  padding: 0 16px;
  font-size: 0.9rem;
}

.units-block .accordion-item.active .accordion-content {
  padding: 10px 16px;
}

/* Center Column */
.units-center-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.units-classroom-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(21, 28, 45, 0.05);
}

.future-starts-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 4px 15px rgba(21, 28, 45, 0.02);
  flex-grow: 1;
}

.future-starts-icon {
  width: 44px;
  height: 44px;
  color: var(--dark-navy);
}

.future-starts-title {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 800;
  color: #004d40;
  /* dark green/teal */
  line-height: 1.3;
}

.future-starts-badge {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-navy);
  line-height: 1.4;
}

.future-starts-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--light-slate);
  line-height: 1.5;
}

.btn-apply-now {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  /* border: 1px solid var(--dark-navy); */
  border-radius: 6px;
  background-color: #008cc9;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 160px;
  margin: 16px auto 0 auto;
  text-decoration: none;
}

.btn-apply-now:hover {
  background-color: #00a2e8;
  /* border-color: var(--dark-navy); */
}

/* Right Column: Why Study Business */
.why-study-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 30px 24px;
  box-shadow: 0 4px 15px rgba(21, 28, 45, 0.02);
  height: 100%;
}

.why-study-title {
  font-family: var(--font-headings);
  font-size: 1.85rem;
  font-weight: 800;
  color: #00a2e8;
  margin-bottom: 18px;
}

.why-study-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-study-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--dark-navy);
}

.why-study-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Color adapters for checks */
.why-study-check.check-gold {
  color: #eeb902;
}

.why-study-check.check-pink {
  color: #ec3b83;
}

.why-study-check.check-teal {
  color: #1aa495;
}

/* Responsive adjustments for Units */
@media (max-width: 1024px) {
  .units-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .units-center-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .units-center-col {
    grid-template-columns: 1fr;
  }
}

/* Admissions Flow Section - Course Details Integration Overrides */
.admissions-flow-section {
  padding: 60px 8%;
  background-color: #ffffff;
  width: 100%;
}

.admissions-flow-title {
  font-family: var(--font-headings);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 10px;
}

.admissions-flow-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--light-slate);
}

.admissions-flow-card {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(21, 28, 45, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admissions-flow-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(21, 28, 45, 0.08);
}

/* Admissions pathway Section - Course Details Integration Overrides */
.admissions-pathway-section {
  padding: 10px 8% 10px;
  background-color: #ffffff;
  width: 100%;
}

.admissions-pathway-title {
  font-family: var(--font-headings);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 10px;
}

.admissions-pathway-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--light-slate);
}

.admissions-pathway-card {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(21, 28, 45, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admissions-pathway-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(21, 28, 45, 0.08);
}


/* Key Milestones Section */
.milestone-section {
  margin-bottom: 80px;
}

.milestone-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.milestone-line {
  position: absolute;
  top: 26px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: #e2e8f0;
  z-index: 0;
}

.milestone-item {
  position: relative;
  text-align: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.milestone-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  background: #ffffff;
  color: #00a2e8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.milestone-icon svg {
  width: 22px;
  height: 22px;
  transition: stroke 0.3s ease;
}

.milestone-item:hover .milestone-icon {
  border-color: #00a2e8;
  background-color: #00a2e8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 162, 232, 0.2);
}

.milestone-item h4 {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  color: var(--dark-navy);
  margin-bottom: 8px;
  font-weight: 800;
}

.milestone-item p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--light-slate);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .milestone-wrapper {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
  }
  .milestone-line {
    display: none;
  }
}

@media (max-width: 600px) {
  .milestone-wrapper {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
}

/* Contact Page Specific Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: stretch;
  margin-bottom: 80px;
}

.contact-form-container {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(21, 28, 45, 0.02);
}

.contact-course-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  /*padding: 40px 30px;*/
  text-align: center;
  /*display: flex;*/
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(21, 28, 45, 0.02);
}

.contact-course-card h2 {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 800;
  color: #00796b;
  line-height: 1.3;
}

.contact-course-card h3 {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-navy);
  line-height: 1.4;
}

.contact-course-card p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--light-slate);
  line-height: 1.5;
}

.contact-course-card .btn-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 6px;
  background-color: #008cc9;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 160px;
  margin-top: 10px;
  text-decoration: none;
}

.contact-course-card .btn-apply:hover {
  background-color: #00a2e8;
}

.find-section {
  margin-bottom: 80px;
}

.find-section .section-title {
  margin-bottom: 12px;
}

.find-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--light-slate);
  margin-bottom: 30px;
}

.map-wrapper {
  position: relative;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(21, 28, 45, 0.02);
  background: #f1f5f9;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(40%) contrast(110%);
}

.map-info-card {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 340px;
  background: #ffffff;
  padding: 24px;
  border-radius: 8px;
  display: flex;
  gap: 16px;
  box-shadow: 0 10px 25px rgba(21, 28, 45, 0.08);
  border: 1px solid #f1f5f9;
  z-index: 10;
}

.map-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 162, 232, 0.08);
  color: #00a2e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.map-info-details h4 {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 6px;
}

.map-info-details p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--light-slate);
  line-height: 1.5;
  margin-bottom: 12px;
}

.map-info-details a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: #00a2e8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.map-info-details a:hover {
  color: #0084c2;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-course-card {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .map-info-card {
    width: calc(100% - 40px);
    left: 20px;
    top: 20px;
    padding: 16px;
  }
  .map-wrapper {
    height: 320px;
  }
}
/* Benefits Cards Section */
.benefit-cards-section {
    margin: 35px 0 50px;
}

.mature-entry-note {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.benefit-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.benefit-card {
    position: relative;
    overflow: hidden;
    min-height: 160px;
    padding: 28px 22px;
    border-radius: 6px;
    color: #fff;
}

.benefit-card::after {
    content: "";
    position: absolute;
    right: -25px;
    bottom: -25px;
    width: 110px;
    height: 110px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.benefit-card::before {
    content: "";
    position: absolute;
    right: 35px;
    bottom: 25px;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.benefit-icon {
    font-size: 24px;
    margin-bottom: 14px;
}

.benefit-card h4 {
    font-size: 17px;
    line-height: 1.25;
    margin-bottom: 8px;
    font-weight: 700;
}

.benefit-card p {
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.bg-pink {
    background: #d63384;
}

.bg-yellow {
    background: #f2c400;
}

.bg-teal {
    background: #00897b;
}

@media (max-width: 992px) {
    .benefit-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .benefit-cards-grid {
        grid-template-columns: 1fr;
    }
}
.programme-guidance-strip {
    margin: 35px 0 55px;
}

.programme-guidance-container {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 24px;
    border-radius: 4px;
}

.programme-guidance-icon {
    width: 42px;
    min-width: 42px;
    height: 42px;
    border: 2px solid #3a3a3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a3a3a;
}

.programme-guidance-icon svg {
    width: 20px;
    height: 20px;
}

.programme-guidance-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

@media (max-width: 768px) {
    .programme-guidance-container {
        align-items: flex-start;
        padding: 18px;
    }

    .programme-guidance-text {
        font-size: 14px;
    }
}
/* Course Outline Documents Section */

.outline-documents-section {
    padding: 50px 0 70px;
}

.outline-documents-title {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 35px;
    color: #121212;
}

.outline-documents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.outline-doc-card {
    text-align: center;
}

.outline-doc-icon {
    height: 140px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 14px;
}

.outline-doc-icon svg {
    width: 48px;
    height: 48px;
}

.outline-doc-card h4 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 6px;
}

.outline-doc-card p {
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

/* Card Colors */

.yellow-card .outline-doc-icon {
    background: #e4c100;
}

.teal-card .outline-doc-icon {
    background: #00796b;
}

.pink-card .outline-doc-icon {
    background: linear-gradient(135deg, #e84393, #c2185b);
}

.yellow-card h4 {
    color: #c49b00;
}

.teal-card h4 {
    color: #00796b;
}

.pink-card h4 {
    color: #d63384;
}

/* Responsive */

@media (max-width: 992px) {
    .outline-documents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .outline-documents-grid {
        grid-template-columns: 1fr;
    }

    .outline-documents-title {
        font-size: 34px;
    }
}
/* Visa Page Compact Layout */

.course-page-wrapper {
  padding-top: 25px;
  padding-left: 6%;
  padding-right: 6%;
}

.course-header {
  margin-bottom: 30px;
}

.poie-overview-section {
  padding: 25px 0 35px;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 45px;
  border-bottom: 1px solid #e5e7eb;
}

.poie-overview-left h2 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 14px;
}

.poie-overview-left p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--light-slate);
  margin-bottom: 8px;
}

.poie-overview-right {
  border-left: 1px solid #e5e7eb;
  padding-left: 30px;
}

.poie-overview-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.poie-overview-right li {
  position: relative;
  padding-left: 24px;
  font-size: 12.5px;
  line-height: 1.55;
  margin-bottom: 11px;
  color: var(--light-slate);
}

.poie-overview-right li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #078f80;
  font-weight: bold;
  font-size: 13px;
}

/* VISA PAGE ONLY */

.visa-content-right p {
    text-align: justify;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* =====================================================
   VISA PROCESS SECTION
===================================================== */

.visa-process-section {
  padding: 50px 0 25px;
}

.visa-process-section h2,
.attestation-section h2 {
  font-size: 30px;
  font-weight: 900;
  color: var(--dark-navy);
  margin-bottom: 24px;
}

.visa-process-grid {
  display: grid;
  grid-template-columns: 1fr 22px 1fr 22px 1fr 22px 1fr;
  gap: 0;
  align-items: center;
}

.visa-process-card {
  background: #ffffff;
  border: 1px solid #dfe4ea;
  border-radius: 10px;
  overflow: hidden;
  min-height: 210px;
}

.visa-process-icon {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visa-process-icon i {
  font-size: 28px;
  color: #ffffff;
  border: 2.2px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.visa-process-content {
  padding: 14px 18px 18px;
  background: #ffffff;
}

.visa-process-content h4 {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 5px;
}

.visa-process-content p {
  font-size: 13px;
  line-height: 1.35;
  color: var(--dark-navy);
  margin: 0;
}

.visa-process-card:nth-of-type(1) h4 {
  color: #cf2b78;
}

.visa-process-card:nth-of-type(2) h4,
.visa-process-card:nth-of-type(4) h4 {
  color: #078f80;
}

.visa-process-card:nth-of-type(3) h4 {
  color: #c49b00;
}

.visa-process-arrow {
  text-align: center;
  color: #dfe4ea;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* =====================================================
   ATTESTATION REQUIREMENTS
===================================================== */

.attestation-section {
  padding: 35px 0 60px;
}

.attestation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.attestation-card {
  min-height: 175px;
  padding: 32px 24px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.attestation-card::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -35px;
  width: 135px;
  height: 135px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.attestation-card::before {
  content: "";
  position: absolute;
  right: 38px;
  bottom: 30px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.attestation-card i {
  font-size: 30px;
  margin-bottom: 18px;
  color: #071225;
  position: relative;
  z-index: 2;
}

.attestation-card h4 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.attestation-card p {
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Gradient colors */
.bg-pink {
  background: linear-gradient(135deg, #f0438c 0%, #a82964 100%);
}

.bg-teal {
  background: linear-gradient(135deg, #0f8f83 0%, #054d48 100%);
}

.bg-yellow {
  background: linear-gradient(135deg, #ffd800 0%, #b69600 100%);
}


/* Responsive */

@media (max-width: 992px) {
  .visa-process-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .visa-process-arrow {
    transform: rotate(90deg);
    margin: 10px 0;
  }

  .attestation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .attestation-grid {
    grid-template-columns: 1fr;
  }
}


/* Excellence Section Styles */
.excellence-section {
  padding: 60px 8%;
  position: relative;
  overflow: hidden;

}

.excellence-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  /* Adjusted column proportions to match screenshot width ratios */
  gap: 60px;
  /* Aligned horizontal gaps */
  align-items: center;
  width: 100%;
}

/* Left Side: Pink/Magenta Card & Waves */
.excellence-left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.wave-bg-img {
  position: absolute;
  top: 50%;
  left: 40%;
  width: 420%;
  height: 420%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  object-fit: contain;
}

.excellence-card {
  background: url('assets/Group 296.png') no-repeat right -250px top -40px / 140% auto, linear-gradient(135deg, #ec3b83 0%, #a82062 100%);
  width: 100%;
  max-width: 520px;
  padding: 56px 40px 48px 40px;
  border-radius: 16px;
  /* High fidelity exact rounded corner */
  box-shadow: 0 30px 60px -20px rgba(168, 32, 98, 0.35);
  position: relative;
  z-index: 2;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 30px;
  overflow: hidden;
}

.card-hero-num {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.num-large {
  font-family: var(--font-headings);
  font-size: 7.5rem;
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -2px;
}

.num-text {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 12px;
}

.card-subhead {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-top: 16px;
  line-height: 1.1;
}

.card-tagline {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  opacity: 0.8;
  margin-top: 4px;
}

.excellence-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-box {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.25) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.stat-num {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 2px;
}

/* Right Side: Narrative Details */
.excellence-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.excellence-title {
  font-size: var(--size-h2);
  font-weight: 900;
  color: var(--dark-navy);
  margin-bottom: 15px;
}

.excellence-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--light-slate);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 600px;
}

.excellence-btn {
  background-color: var(--primary-blue);
  /* Light cyan button matching screenshot */
  color: white;
  border: none;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0;
  /* Modern square corner */
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(104, 210, 214, 0.2);
  transition: all 0.3s ease;
}

.excellence-btn:hover {
  background-color: #1c90bd;
  box-shadow: 0 10px 20px rgba(104, 210, 214, 0.35);
  transform: translateY(-2px);
}

.excellence-btn:active {
  transform: translateY(0);
}


/* ================================================
   REQUIRED DOCUMENTS CHECKLIST — 2-column grid
================================================= */
.documents-checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: #ffffff;
    border: 1px solid #e8ebf0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(21, 28, 45, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.checklist-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21, 28, 45, 0.08);
}

.checklist-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff;
    flex-shrink: 0;
}

.bg-teal-num  { background: linear-gradient(135deg, #1aa495 0%, #0e7066 100%); }
.bg-pink-num  { background: linear-gradient(135deg, #ec3b83 0%, #a82062 100%); }
.bg-yellow-num { background: linear-gradient(135deg, #ffd700 0%, #eeb902 100%); }

.checklist-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
}

.checklist-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checklist-icon-wrap svg {
    width: 20px;
    height: 20px;
}

.bg-teal-light  { background: #e8f7f5; }
.bg-teal-light svg  { stroke: #0e7066; }

.bg-pink-light  { background: #fde8f2; }
.bg-pink-light svg  { stroke: #a82062; }

.bg-yellow-light { background: #fefae8; }
.bg-yellow-light svg { stroke: #b69600; }

.checklist-title {
    font-family: var(--font-headings);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 4px;
    line-height: 1.3;
}

.checklist-note {
    font-family: var(--font-body);
    font-size: 0.83rem;
    color: var(--light-slate);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .documents-checklist-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact card — image top half */
.contact-card-img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.contact-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.contact-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(21,28,45,0.1) 0%, rgba(21,28,45,0.4) 100%);
}

.contact-card-body {
    padding: 28px 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.contact-card-body h2 {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    font-weight: 900;
    color: #0e7066;
    line-height: 1.15;
}

.contact-card-body h3 {
    font-family: var(--font-headings);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-navy);
    line-height: 1.5;
}

.contact-card-body p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--light-slate);
    line-height: 1.65;
    max-width: 320px;
}

/* Contact info cards — Fees page style */
.find-contact-section {
    padding: 60px 0 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    align-items: stretch;
}

.contact-info-card {
    padding: 35px 25px;
    border-radius: 16px;
    color: white;
    text-align: center;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(21,28,45,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-info-grid > a:hover .contact-info-card {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(21,28,45,0.14);
}

.contact-info-card::after {
    content: "";
    position: absolute;
    right: -35px;
    bottom: -35px;
    width: 135px;
    height: 135px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    z-index: 1;
}

.contact-info-card::before {
    content: "";
    position: absolute;
    right: 38px;
    bottom: 30px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    z-index: 1;
}

.contact-info-icon-circle,
.contact-info-card h3,
.contact-info-card p {
    position: relative;
    z-index: 2;
}

.contact-info-icon-circle {
    width: 54px;
    height: 54px;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.contact-info-icon-circle i {
    font-size: 22px;
    color: #ffffff;
}

.contact-info-card h3 {
    font-family: var(--font-headings);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ffffff;
}

.contact-info-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.95);
}

.contact-info-card.pink  { background: linear-gradient(135deg, #f0438c 0%, #a82964 100%); }
.contact-info-card.yellow { background: linear-gradient(135deg, #ffd800 0%, #b69600 100%); }
.contact-info-card.green  { background: linear-gradient(135deg, #0f8f83 0%, #054d48 100%); }

@media (max-width: 992px) {
    .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .contact-info-grid { grid-template-columns: 1fr; }
}


/* =====================================================
   ABOUT PEARSON BTEC — CASCADE-SAFE MOBILE FIXES
   Must live at END of course.css so they override all
   non-media-query rules defined earlier in this file
   and in style.css (which loads before course.css).
===================================================== */

/* ── Tablet & small desktop (≤992px) ─────────────── */
@media (max-width: 992px) {

    /* Fix: excellence-container MUST collapse to 1 col.
       The non-media-query rule above overrides style.css's
       media-query rule; this re-fixes it at end of cascade. */
    .excellence-container {
        grid-template-columns: 1fr !important;
        gap: 40px;
        text-align: center;
    }

    /* Card appears first on mobile */
    .excellence-left  { order: -1; padding: 20px 0 0; }
    .excellence-right {
        order: 1;
        align-items: center;
        text-align: center;
    }

    /* Allow overflow so card shadow isn't clipped */
    .excellence-section { overflow: visible; }

    /* Yellow block: collapse 2→1 column, lose the giant gap */
    .btec-yellow-block {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        margin-top: 0 !important;
        padding: 40px 6%;
    }

    .btec-yellow-card { max-width: 100%; }

    /* Pathways deck: already collapses via style.css at 992px,
       but enforce padding reduction here */
    .pathways-deck-section { padding: 50px 5%; }

    /* pathway sub-cards text size */
    .pathway-sub-title { font-size: 1rem; }
    .pathway-sub-left  { gap: 16px; }
}

/* ── Mobile (≤768px) ─────────────────────────────── */
@media (max-width: 768px) {

    /* Prevent horizontal scroll across entire btec page */
    .btec-page { overflow-x: hidden; }

    /* Kill the negative margin that pulls sections
       under the hero and creates blank white space */
    .btec-hero {
        margin-bottom: 0 !important;
        padding: 28px 5%;
    }

    .btec-hero h1  { font-size: 26px; line-height: 1.2; }
    .btec-hero p   { font-size: 0.95rem; }

    /* Excellence section */
    .excellence-section {
        padding: 36px 5%;
        overflow: visible;
    }
    
    /* Hide the extremely wide wave image on mobile to prevent horizontal scrolling 
       since the container is set to overflow: visible to show the card shadow */
    .wave-bg-img {
        display: none !important;
    }

    .excellence-card {
        padding: 36px 24px;
        max-width: 100%;
    }

    .num-large { font-size: 5rem; }

    .excellence-title { font-size: 1.75rem; }
    .excellence-desc  { font-size: 0.95rem; margin-bottom: 24px; }

    /* Yellow block — hide the decorative yellow card on mobile
       and show only the useful text content */
    .btec-yellow-block {
        margin-top: 0 !important;
        padding: 30px 5%;
        gap: 24px !important;
        display: block; /* single flow, no grid */
    }

    /* Hide the yellow decorative card on narrow screens;
       it adds no information and takes huge vertical space */
    .btec-yellow-card { display: none; }

    .btec-content-right { width: 100%; }
    .btec-content-right h2 { font-size: 26px; }
    .btec-content-right p  { font-size: 15px; }

    /* Reduce list indent so text has more room */
    .btec-benefits-list {
        padding-left: 18px;
        margin-top: 16px;
    }
    .btec-benefits-list li {
        font-size: 14px;
        margin-bottom: 10px;
        line-height: 1.6;
    }

    /* Course features section — add vertical padding so
       cards aren't flush against section border-radius */
    .course-features-section.btec-section-padded {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    /* Progression pathways */
    .pathways-deck-section { padding: 40px 5%; }

    /* Stack pathway sub-cards vertically & reduce padding */
    .pathway-sub-card {
        padding: 24px 20px;
    }

    .pathway-sub-left { gap: 14px; }
    .pathway-sub-title { font-size: 0.95rem; }
    .pathway-sub-icon  { width: 32px; height: 32px; }

    .pathway-card { padding: 40px 28px; }
    .pathway-card-title { font-size: 1.2rem; }
}

/* ── Small mobile (≤480px) ───────────────────────── */
@media (max-width: 480px) {

    .btec-hero {
        margin-bottom: 0 !important;
        padding: 22px 4%;
    }

    .btec-hero h1 { font-size: 22px; }

    .excellence-section { padding: 28px 4%; }

    .excellence-card { padding: 28px 18px; }
    .num-large       { font-size: 3.8rem; }
    .excellence-title { font-size: 1.55rem; }

    .btec-yellow-block {
        padding: 24px 4%;
        margin-top: 0 !important;
    }

    .btec-content-right h2 { font-size: 22px; }

    /* Section padding for feature cards on very small screens */
    .course-features-section.btec-section-padded {
        padding: 28px 4%;
    }

    .pathways-deck-section { padding: 32px 4%; }

    .pathway-sub-card { padding: 20px 16px; }
    .pathway-sub-title { font-size: 0.88rem; }
}


/* =====================================================
   BUSINESS COURSE PAGE — CASCADE-SAFE MOBILE FIXES
   Applied at END of course.css to override all earlier
   non-media-query rules (same cascade-win strategy).
===================================================== */

/* ── Tablet (≤992px) ─────────────────────────────── */
@media (max-width: 992px) {

    /* Hide the extremely wide wave image on tablet/mobile to prevent horizontal scrolling */
    .wave-bg-img {
        display: none !important;
    }

    /* Tighter top gap matching mobile header height (~70px) */
    .course-page-wrapper {
        padding-top: 80px !important;
        padding-left: 5%;
        padding-right: 5%;
    }

    /* Rein in the huge h1 */
    .course-title { font-size: 2rem; }

    /* Units row-1: 2 accordions collapse to 1 column */
    .units-row-1 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Units row-2: image + future card + why study → 1 column */
    .units-row-2 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Service (How You'll Learn) cards → 2 cols on tablet */
    .coerces-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ── Mobile (≤768px) ─────────────────────────────── */
@media (max-width: 768px) {

    .course-page-wrapper {
        padding-top: 72px !important;  /* matches mobile header height */
        padding-left: 4%;
        padding-right: 4%;
        padding-bottom: 28px;
    }

    /* Breadcrumbs */
    .breadcrumbs { font-size: 0.82rem; margin-bottom: 16px; }

    /* Course title — much smaller on phone */
    .course-title {
        font-size: 1.75rem !important;
        line-height: 1.15;
        margin-bottom: 16px;
    }

    /* Course description */
    .course-description { font-size: 0.95rem; }

    /* Course header bottom margin */
    .course-header { margin-bottom: 24px; }

    /* Download button full-width already handled but ensure */
    .btn-download { font-size: 0.9rem; padding: 10px 18px; }

    /* Quick info: 1 column already handled */
    .quick-info-container { margin-bottom: 36px; }
    .quick-info-item { padding: 16px; }
    .info-value { font-size: 0.95rem; }

    /* Course details table — allow horizontal scroll */
    .details-table-wrapper { -webkit-overflow-scrolling: touch; }

    /* About section: stacks at 1024px already; reduce gap */
    .course-about-section { gap: 28px; margin-bottom: 48px; }
    .course-about-column h3 { font-size: 1.5rem; margin-bottom: 12px; }
    .course-about-text { font-size: 0.95rem; }
    .course-highlights-list li { font-size: 0.9rem; }

    /* Course features: 1 column already set */
    .course-features-section { margin-bottom: 48px; }
    .course-feature-card { padding: 24px 20px; min-height: auto; }
    .course-feature-title { font-size: 1.05rem; }
    .course-feature-desc  { font-size: 0.82rem; }

    /* Section titles */
    .section-title { font-size: 1.8rem !important; margin-bottom: 18px; }

    /* Accordion section spacing */
    .course-outline-section { margin-bottom: 48px; }
    .outline-subtitle { font-size: 0.95rem; margin-bottom: 20px; }
    .accordion-header { font-size: 0.95rem; padding: 14px 16px; }

    /* Service cards (How You'll Learn) — 1 col on phone */
    .coerces-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
        margin-bottom: 40px;
    }

    .service-deck-card { border-radius: 8px; }
    .card-header-bg { padding: 18px 20px; }
    .service-card-icon { width: 36px; height: 36px; }
    .card-body-content { padding: 16px 20px 20px; }

    /* Units section */
    .units-section { margin-bottom: 48px; }
    .units-row-1 { grid-template-columns: 1fr !important; gap: 20px; }
    .units-row-2 { grid-template-columns: 1fr !important; gap: 20px; }

    .units-classroom-img { max-height: 220px; height: 220px; }

    /* Future starts card */
    .future-starts-card { padding: 24px 16px; }
    .future-starts-title { font-size: 1.2rem; }

    /* Why study card */
    .why-study-card { padding: 24px 16px; }
    .why-study-title { font-size: 1.3rem; }
    .why-study-item { font-size: 0.9rem; gap: 10px; }
}

/* ── Small mobile (≤480px) ───────────────────────── */
@media (max-width: 480px) {

    .course-page-wrapper {
        padding-top: 66px !important;
        padding-left: 4%;
        padding-right: 4%;
    }

    .course-title {
        font-size: 1.5rem !important;
        line-height: 1.2;
    }

    .section-title { font-size: 1.55rem !important; }

    .quick-info-row {
        border-radius: 6px;
    }

    .info-label { font-size: 0.8rem; }
    .info-value { font-size: 0.88rem; }

    .accordion-header { font-size: 0.88rem; padding: 12px 14px; }

    .course-about-column h3 { font-size: 1.35rem; }
    .course-about-text { font-size: 0.9rem; }

    .future-starts-title { font-size: 1.1rem; }
    .units-block-header { font-size: 0.9rem; padding: 8px 14px; }
}