/* ==========================================================================
   CSS Reset & Variables
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --color-primary-red: #D93025;
  --color-dark-red: #B71C1C;
  --color-navy-blue: #1A237E;
  --color-white: #FFFFFF;
  --color-light-gray: #F5F5F5;
  --color-dark-gray: #333333;
  --color-medium-gray: #666666;
  --color-error: #D93025;
  --color-success: #0F9D58;
  --color-border: #E0E0E0;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --font-size-lg: 18px;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-2xl: 64px;
  --spacing-3xl: 96px;
  --header-height: 80px;
  --header-height-mobile: 60px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-medium: 0.3s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-header: 0 2px 10px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark-gray);
  background-color: var(--color-white);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--color-white);
  z-index: 1000;
  transition: box-shadow var(--transition-medium);
}

.header.scrolled {
  box-shadow: var(--shadow-header);
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-navy-blue);
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-primary-red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.2rem;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__item {
  position: relative;
}

.nav__link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-dark-gray);
  padding: 10px 0;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-primary-red);
}

.nav__link-arrow {
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
}

.nav__item:hover .nav__link-arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  background-color: var(--color-white);
  min-width: 220px;
  padding: 15px 0;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-medium);
}

.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: 10px 25px;
  font-size: 0.9rem;
  color: var(--color-dark-gray);
  transition: all var(--transition-fast);
}

.nav__dropdown-link:hover {
  background-color: var(--color-light-gray);
  color: var(--color-primary-red);
}

/* CTA Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.btn--primary {
  background-color: var(--color-primary-red);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: var(--color-dark-red);
  transform: translateY(-2px);
}

.header__cta {
  white-space: nowrap;
}

.header__cta-icon {
  font-size: 1rem;
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
}

.nav__toggle-bar {
  width: 24px;
  height: 2px;
  background-color: var(--color-dark-gray);
  transition: all var(--transition-medium);
  position: relative;
}

.nav__toggle-bar::before,
.nav__toggle-bar::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--color-dark-gray);
  transition: all var(--transition-medium);
}

.nav__toggle-bar::before {
  top: -7px;
}

.nav__toggle-bar::after {
  top: 7px;
}

/* Hamburger Animation */
.nav__toggle.active .nav__toggle-bar {
  background-color: transparent;
}

.nav__toggle.active .nav__toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav__toggle.active .nav__toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile Overlay */
.nav__overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.nav__overlay.active {
  opacity: 1;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 1023px) {
  .header {
    height: var(--header-height-mobile);
  }

  .nav__toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    gap: 20px;
    z-index: 999;
    transition: right var(--transition-medium);
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  .nav__overlay {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav__item {
    width: 100%;
    border-bottom: 1px solid var(--color-light-gray);
  }

  .nav__link {
    padding: 15px 0;
    width: 100%;
    justify-content: space-between;
  }

  /* Mobile Dropdown */
  .nav__dropdown {
    position: static;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: var(--color-light-gray);
    border-radius: 0;
  }

  .nav__item.dropdown-open .nav__dropdown {
    max-height: 500px;
    padding: 10px 0;
  }

  .nav__dropdown-link {
    padding: 12px 20px;
  }

  .header__cta {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
}

@media (max-width: 767px) {
  .header__logo {
    font-size: 1.25rem;
  }

  .header__logo-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   Container
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Body padding for fixed header */
.has-fixed-header {
  padding-top: var(--header-height);
}

@media (max-width: 1023px) {
  .has-fixed-header {
    padding-top: var(--header-height-mobile);
  }
}

/* Prevent body scroll when mobile menu is open */
body.nav-open {
  overflow: hidden;
}

/* ==========================================================================
   Scroll Animations
   Note: Import animations.css for scroll animation classes
   ========================================================================== */

/* @import url('animations.css'); - Use this or link separately in HTML */

/* ==========================================================================
   Why CPR Statistics Section
   ========================================================================== */

.why-cpr-section {
  padding: 80px 0;
  background-color: var(--color-white);
}

.why-cpr-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.why-cpr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Statistics Side (Left) */
.why-cpr-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stat-item {
  padding: 24px;
  background-color: var(--color-light-gray);
  border-radius: 8px;
  border-left: 4px solid var(--color-primary-red);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.stat-item:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-navy-blue);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-medium-gray);
  line-height: 1.4;
}

/* Content Side (Right) */
.why-cpr-content {
  padding-left: 24px;
}

.why-cpr-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-dark-gray);
  margin-bottom: 20px;
  line-height: 1.2;
}

.why-cpr-description {
  color: var(--color-medium-gray);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.why-cpr-description:last-of-type {
  margin-bottom: 28px;
}

/* Button large variant */
.btn--lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* Why CPR Section - Tablet Responsive */
@media (max-width: 1023px) {
  .why-cpr-section {
    padding: 60px 0;
  }

  .why-cpr-grid {
    gap: 40px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .why-cpr-title {
    font-size: 2rem;
  }

  .why-cpr-content {
    padding-left: 16px;
  }
}

/* Why CPR Section - Mobile Responsive */
@media (max-width: 767px) {
  .why-cpr-section {
    padding: 48px 0;
  }

  .why-cpr-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .why-cpr-stats {
    order: 2;
    gap: 16px;
  }

  .why-cpr-content {
    order: 1;
    padding-left: 0;
    text-align: center;
  }

  .stat-item {
    padding: 20px;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .stat-label {
    font-size: 0.875rem;
  }

  .why-cpr-title {
    font-size: 1.75rem;
  }

  .why-cpr-description {
    font-size: 1rem;
  }

  .btn--lg {
    padding: 14px 28px;
    font-size: 1rem;
    width: 100%;
  }
}

/* ==========================================================================
   Section Styles
   ========================================================================== */

.section {
  padding: 80px 0;
}

.section--gray {
  background-color: var(--color-light-gray);
}

.section--navy {
  background-color: var(--color-navy-blue);
}

.section--red {
  background-color: var(--color-primary-red);
}

.section__header {
  text-align: center;
  margin-bottom: 48px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-navy-blue);
  margin-bottom: 12px;
}

.section--navy .section__title,
.section--red .section__title {
  color: var(--color-white);
}

.section__subtitle {
  font-size: 18px;
  color: var(--color-medium-gray);
}

.section--navy .section__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Course Hero Section
   ========================================================================== */

.course-hero {
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--color-navy-blue) 0%, #283593 100%);
  color: var(--color-white);
  overflow: hidden;
}

.course-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>');
  background-size: 200px 200px;
  opacity: 0.5;
}

.course-hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.course-hero__badge {
  display: inline-block;
  background-color: var(--color-primary-red);
  color: var(--color-white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-hero__title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
  line-height: 1.1;
}

.course-hero__description {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 24px;
  line-height: 1.6;
}

.course-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.course-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.course-hero__meta-icon {
  font-size: 20px;
}

/* ==========================================================================
   Course Details Section
   ========================================================================== */

.course-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.course-details__main h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-navy-blue);
  margin-bottom: 16px;
}

.course-details__main h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-navy-blue);
  margin-top: 32px;
  margin-bottom: 12px;
}

.course-details__main p {
  margin-bottom: 16px;
  line-height: 1.7;
}

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

.course-details__list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.6;
}

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

/* Highlights Box */
.course-highlights {
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.course-highlights__title {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-navy-blue);
  margin-bottom: 24px;
}

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

.course-highlights__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.course-highlights__list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.course-highlights__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background-color: #4CAF50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 14px;
}

.course-highlights__text {
  line-height: 1.6;
}

/* ==========================================================================
   Schedule Section
   ========================================================================== */

.schedule-filter {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.schedule-filter__select {
  padding: 12px 20px;
  font-size: 16px;
  font-family: var(--font-body);
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background-color: var(--color-white);
  cursor: pointer;
  transition: border-color var(--transition-fast);
  min-width: 200px;
}

.schedule-filter__select:focus {
  border-color: var(--color-primary-red);
  outline: none;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.schedule-table th,
.schedule-table td {
  padding: 16px 20px;
  text-align: left;
}

.schedule-table th {
  background-color: var(--color-navy-blue);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.schedule-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
}

.schedule-table tbody tr:last-child {
  border-bottom: none;
}

.schedule-table tbody tr:hover {
  background-color: rgba(217, 48, 37, 0.03);
}

.schedule-table__date {
  font-weight: 600;
  color: var(--color-navy-blue);
}

.schedule-table__spots {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.schedule-table__spots--available {
  background-color: #E8F5E9;
  color: #2E7D32;
}

.schedule-table__spots--limited {
  background-color: #FFF3E0;
  color: #E65100;
}

.schedule-table__spots--full {
  background-color: #FFEBEE;
  color: #C62828;
}

.btn--sm {
  padding: 8px 20px;
  font-size: 14px;
}

/* ==========================================================================
   Certification Section
   ========================================================================== */

.certification-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.certification-card {
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.certification-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.certification-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background-color: var(--color-light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.certification-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy-blue);
  margin-bottom: 12px;
}

.certification-card__text {
  color: var(--color-medium-gray);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark-gray);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background-color var(--transition-fast);
}

.faq-item__question:hover {
  background-color: var(--color-light-gray);
}

.faq-item__question[aria-expanded="true"] {
  background-color: var(--color-light-gray);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform var(--transition-medium);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-primary-red);
  transition: transform var(--transition-medium), opacity var(--transition-medium);
}

.faq-item__icon::before {
  width: 16px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item__icon::after {
  width: 2px;
  height: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item__question[aria-expanded="true"] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
}

.faq-item__answer[aria-hidden="false"] {
  max-height: 500px;
}

.faq-item__answer-content {
  padding: 0 24px 24px;
  color: var(--color-medium-gray);
  line-height: 1.7;
}

/* ==========================================================================
   Locations Section
   ========================================================================== */

.locations-section {
  padding: 80px 0;
  background-color: var(--color-white);
}

.locations-section .section__title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-navy-blue);
  margin-bottom: 12px;
}

.locations-section .section__subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--color-medium-gray);
  margin-bottom: 48px;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.location-card {
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.location-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--color-navy-blue) 0%, #283593 100%);
  color: var(--color-white);
}

.location-card__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.location-card__name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.location-card__body {
  padding: 24px;
}

.location-card__info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.location-card__info:last-child {
  margin-bottom: 0;
}

.location-card__info-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-primary-red);
  margin-top: 2px;
}

.location-card__address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-dark-gray);
}

.location-card__phone {
  font-size: 15px;
  color: var(--color-dark-gray);
  transition: color var(--transition-fast);
}

.location-card__phone:hover {
  color: var(--color-primary-red);
}

.location-card__footer {
  padding: 16px 24px;
  border-top: 1px solid var(--color-light-gray);
  background-color: var(--color-light-gray);
}

.location-card__directions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary-red);
  transition: color var(--transition-fast);
}

.location-card__directions:hover {
  color: var(--color-dark-red);
}

.location-card__directions svg {
  width: 18px;
  height: 18px;
}

/* Locations Section - Tablet Responsive */
@media (max-width: 1023px) {
  .locations-section {
    padding: 60px 0;
  }

  .locations-section .section__title {
    font-size: 32px;
  }

  .locations-section .section__subtitle {
    margin-bottom: 36px;
  }

  .locations-grid {
    gap: 20px;
  }

  .location-card__header {
    padding: 16px 20px;
  }

  .location-card__body {
    padding: 20px;
  }
}

/* Locations Section - Mobile Responsive */
@media (max-width: 767px) {
  .locations-section {
    padding: 48px 0;
  }

  .locations-section .section__title {
    font-size: 28px;
  }

  .locations-section .section__subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }

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

  .location-card__header {
    padding: 16px;
  }

  .location-card__name {
    font-size: 16px;
  }

  .location-card__body {
    padding: 16px;
  }

  .location-card__address,
  .location-card__phone {
    font-size: 14px;
  }

  .location-card__footer {
    padding: 14px 16px;
  }

  .location-card__directions {
    font-size: 13px;
  }
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */

.cta-banner {
  text-align: center;
  padding: 80px 0;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-banner__text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-primary-red);
}

.btn--white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background-color: #1a1a2e;
  color: var(--color-white);
  padding: 64px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
  display: block;
}

.footer__description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
}

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

.footer__list li {
  margin-bottom: 12px;
}

.footer__list a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer__list a:hover {
  color: var(--color-white);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.footer__contact-icon {
  font-size: 18px;
  margin-top: 2px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: background-color var(--transition-fast);
}

.footer__social-link:hover {
  background-color: var(--color-primary-red);
}

/* ==========================================================================
   Course Page Responsive Styles
   ========================================================================== */

@media (max-width: 1023px) {
  .course-hero__title {
    font-size: 36px;
  }

  .course-details {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .certification-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 48px 0;
  }

  .section__title {
    font-size: 28px;
  }

  .course-hero {
    padding: 100px 0 48px;
  }

  .course-hero__title {
    font-size: 28px;
  }

  .course-hero__description {
    font-size: 16px;
  }

  .course-hero__meta {
    flex-direction: column;
    gap: 12px;
  }

  .schedule-table {
    display: block;
    overflow-x: auto;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 12px 16px;
    font-size: 14px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner__title {
    font-size: 28px;
  }

  .faq-item__question {
    font-size: 16px;
    padding: 16px 20px;
  }
}
