
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: white;
  padding: 8px;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus {
  top: 0; /* Reveals on keyboard focus */
}

/* AMDFA Form Section - Completely Scoped */
.amdfa-form-section {
    font-family: inherit; /* Inherit from your page */
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.amdfa-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background-color: transparent;
}

/* Intro Section - Scoped */
.amdfa-form-intro {
    flex: 1;
    min-width: 300px;
    background-color: transparent;
}

.amdfa-heading {
    color: #0066cc;
    font-size: 2rem;
    margin: 0 0 20px 0;
    padding: 0;
    font-weight: 600;
}

.amdfa-description {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 30px 0;
    color: #333;
    padding: 0;
}

.amdfa-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.amdfa-highlight-item {
    flex: 1;
    min-width: 250px;
    margin: 0;
    padding: 0;
    background-color: transparent;
}

.amdfa-subheading {
    color: #0066cc;
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    padding: 0;
    font-weight: 600;
}

.amdfa-highlight-text {
    color: #555;
    font-size: 0.95rem;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

/* Form Container - Scoped */
.amdfa-form-container {
    flex: 1;
    min-width: 300px;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 5px;
    margin: 0;
}

.amdfa-form-title {
    color: #0066cc;
    font-size: 1.5rem;
    margin: 0 0 25px 0;
    padding: 0;
    text-align: center;
    font-weight: 600;
}

/* Form Elements - Scoped */
.amdfa-form {
    margin: 0;
    padding: 0;
}

.amdfa-form-group {
    margin-bottom: 20px;
}

.amdfa-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.amdfa-input,
.amdfa-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background-color: white;
    box-sizing: border-box;
}

.amdfa-input:focus,
.amdfa-select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

.amdfa-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 15px;
}

.amdfa-checkbox-group {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.amdfa-checkbox {
    margin-right: 10px;
}

.amdfa-checkbox-label {
    font-size: 0.95rem;
    color: #555;
    font-weight: normal;
}

.amdfa-submit-btn {
    background-color: #0066cc;
    color: white;
    border: none;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s;
}

.amdfa-submit-btn:hover {
    background-color: #0052a3;
}

.amdfa-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
    font-size: 0.95rem;
}

.amdfa-form-message.success {
    background-color: #e6f7ee;
    color: #006644;
    display: block;
}

.amdfa-form-message.error {
    background-color: #ffebee;
    color: #cc0000;
    display: block;
}

/* Responsive - Scoped */
@media (max-width: 768px) {
    .amdfa-container {
        flex-direction: column;
    }
    
    .amdfa-highlight-item {
        min-width: 100%;
    }
}

/*  Refined Intro Section Minimalist CSS */

.intro-section {
  padding: 5rem 0;
  background: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.3;
  margin-bottom: 1.2rem;
}

.text-block {
  display: block;
}

.text-brand {
  color: #FF6600;
}

.header-subtitle {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.15rem;
  color: #333;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.video-wrapper {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.video-wrapper video {
  width: 100%;
  display: block;
}

.video-caption {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Points Column */
.points-column {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.point-card {
  padding-bottom: 2rem;
  border-bottom: 1px solid #f0f0f0;
}

.point-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.point-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.point-card p {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #444;
  font-size: 0.98rem;
}

.icon {
  font-size: 1.1rem;
}

/* CTA */
.cta-wrapper {
  text-align: center;
  margin-top: 1.5rem;
}

.cta-button {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  background: #FF6600;
  color: white;
  padding: 0.95rem 2.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: background 0.2s;
}

.cta-button:hover {
  background: #e65c00;
}

/* Responsive */
@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .point-card {
    padding-bottom: 1.5rem;
  }
}

/* Enhanced Cinematic Courses Section */
.cinematic-courses {
  background: radial-gradient(ellipse at top, #1a1a2e 0%, #0a0a12 100%);
  color: #ffffff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(245, 166, 35, 0.1);
  border-bottom: 1px solid rgba(245, 166, 35, 0.1);
}

.cinematic-courses .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #ffffff 0%, #f5a623 50%, #cccccc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: flex;
  flex-direction: column;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #f5a623, #ff6600);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

.title-line {
  display: block;
}

.title-line-accent {
  color: #f5a623;
  display: block;
  background: none;
  font-weight: 900;
}

.section-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.text-underline {
  position: relative;
  display: inline-block;
}

.text-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #f5a623, #ff6600);
  transform: scaleX(0.9);
}

/* Enhanced Availability Banner */
.availability-banner {
  background: linear-gradient(90deg, rgba(245, 166, 35, 0.1) 0%, rgba(255, 102, 0, 0.1) 100%);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 8px;
  padding: 1rem 2rem;
  margin: 2rem auto;
  max-width: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.1);
  position: relative;
  overflow: hidden;
}

.availability-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #f5a623, #ff6600);
}

.availability-message {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #ff4d4d;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff4d4d;
  animation: pulse 1.5s infinite;
}

.message-text {
  font-weight: 600;
  color: #f5a623;
  text-shadow: 0 0 10px rgba(245, 166, 35, 0.3);
}

/* Enhanced Course Recommender */
.course-recommender {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem auto;
  max-width: 800px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.course-recommender h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: #ffffff;
}

.recommender-question {
  display: none;
  margin-bottom: 2rem;
}

.recommender-question.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.recommender-question p {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.recommender-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.recommender-option {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
  min-width: 180px;
  text-align: center;
}

.recommender-option:hover {
  background: rgba(245, 166, 35, 0.2);
  border-color: rgba(245, 166, 35, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(245, 166, 35, 0.1);
}

.recommender-option.active {
  background: rgba(245, 166, 35, 0.3);
  border-color: #f5a623;
  color: #ffffff;
  font-weight: 600;
}

.recommender-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 2rem;
}

.recommender-buttons button {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

#recommender-next {
  background: linear-gradient(90deg, #f5a623, #ff6600);
  color: #0a0a12;
  border: none;
}

#recommender-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(245, 166, 35, 0.3);
}

#recommender-restart {
  background: transparent;
  color: #f5a623;
  border: 1px solid #f5a623;
}

#recommender-restart:hover {
  background: rgba(245, 166, 35, 0.1);
}

.recommender-results {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeIn 0.5s ease;
}

.recommender-results h4 {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.recommended-courses {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 1.5rem;
}

.recommended-course {
  background: linear-gradient(90deg, rgba(245, 166, 35, 0.1) 0%, rgba(255, 102, 0, 0.1) 100%);
  border: 1px solid rgba(245, 166, 35, 0.3);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 200px;
}

.recommended-course:hover {
  background: linear-gradient(90deg, rgba(245, 166, 35, 0.2) 0%, rgba(255, 102, 0, 0.2) 100%);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(245, 166, 35, 0.2);
}

.recommender-progress {
  margin: 1.5rem 0;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.recommender-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #f5a623, #ff6600);
  width: 0%;
  transition: width 0.5s ease;
  border-radius: 3px;
}

/* Enhanced Courses Filter */
.courses-filter {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.filter-group {
  flex: 1;
  min-width: 220px;
  max-width: 320px;
}

.filter-group h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #f5a623;
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(245, 166, 35, 0.3);
}

.filter-label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.filter-select {
  width: 100%;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f5a623'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  transition: all 0.3s ease;
}

.filter-select:focus {
  outline: none;
  border-color: #f5a623;
  box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.2);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.filter-options label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.2s ease;
  padding: 0.3rem 0;
}

.filter-options label:hover {
  color: #ffffff;
}

.filter-options input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.filter-options input[type="checkbox"]:checked {
  background-color: #f5a623;
  border-color: #f5a623;
}

.filter-options input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  color: #0a0a12;
  font-size: 12px;
  font-weight: bold;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#reset-filters {
  align-self: flex-end;
  background: transparent;
  color: #f5a623;
  border: 1px solid #f5a623;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

#reset-filters:hover {
  background: rgba(245, 166, 35, 0.1);
  transform: translateY(-2px);
}

.filter-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 18, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
  backdrop-filter: blur(2px);
}

.filter-loading.active {
  opacity: 1;
}

.filter-loading::after {
  content: '';
  width: 30px;
  height: 30px;
  border: 3px solid rgba(245, 166, 35, 0.2);
  border-top-color: #f5a623;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem;
  display: none;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.no-results.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease;
}

.no-results svg {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  fill: #f5a623;
  opacity: 0.5;
}

.no-results p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.no-results button {
  background: transparent;
  color: #f5a623;
  border: 1px solid #f5a623;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.no-results button:hover {
  background: rgba(245, 166, 35, 0.1);
}

/* Enhanced Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.course-card {
  background: linear-gradient(135deg, #12121a 0%, #1a1a24 100%);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f5a623, #ff6600);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(245, 166, 35, 0.3);
}

.course-card:hover::before {
  opacity: 1;
}

.card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.course-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.course-card:hover .course-image {
  transform: scale(1.1);
}

.media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8));
}

.duration-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.duration-badge span:first-child {
  color: #ffffff;
}

.duration-badge span:last-child {
  color: #f5a623;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(90deg, #f5a623, #ff6600);
  color: #0a0a12;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(245, 166, 35, 0.3);
}

.course-title {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.course-meta {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-icon {
  width: 18px;
  height: 18px;
  fill: #f5a623;
  flex-shrink: 0;
}

.course-desc {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  flex: 1;
}

.course-actions {
  margin-top: auto;
}

.action-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.action-btn {
  flex: 1;
  padding: 0.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.online-btn {
  background: rgba(0, 119, 182, 0.1);
  border: 1px solid rgba(0, 119, 182, 0.3);
  color: #4fc3f7;
}

.online-btn:hover {
  background: rgba(0, 119, 182, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 119, 182, 0.1);
}

.offline-btn {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #81c784;
}

.offline-btn:hover {
  background: rgba(76, 175, 80, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.1);
}

.apply-now-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(90deg, #f5a623, #ff6600);
  color: #0a0a12;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.3s ease;
  gap: 10px;
  border: none;
  cursor: pointer;
}

.apply-now-btn:hover {
  background: linear-gradient(90deg, #ffbb3d, #ff8533);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(245, 166, 35, 0.3);
}

.cta-arrow {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform 0.3s ease;
}

.apply-now-btn:hover .cta-arrow {
  transform: translateX(3px);
}

/* Special Course Cards */
.most-popular {
  border: 1px solid rgba(245, 166, 35, 0.5);
  box-shadow: 0 10px 30px rgba(245, 166, 35, 0.1);
}

.most-popular::before {
  opacity: 1;
}

.most-popular .card-badge {
  background: linear-gradient(90deg, #f5a623, #ff6600);
}

.top-rated {
  border: 1px solid rgba(76, 175, 80, 0.5);
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.1);
}

.top-rated::before {
  background: linear-gradient(90deg, #4caf50, #2e7d32);
  opacity: 1;
}

.top-rated .card-badge {
  background: linear-gradient(90deg, #4caf50, #2e7d32);
}

.in-demand {
  border: 1px solid rgba(233, 30, 99, 0.5);
  box-shadow: 0 10px 30px rgba(233, 30, 99, 0.1);
}

.in-demand::before {
  background: linear-gradient(90deg, #e91e63, #c2185b);
  opacity: 1;
}

.in-demand .card-badge {
  background: linear-gradient(90deg, #e91e63, #c2185b);
}

.trending {
  border: 1px solid rgba(156, 39, 176, 0.5);
  box-shadow: 0 10px 30px rgba(156, 39, 176, 0.1);
}

.trending::before {
  background: linear-gradient(90deg, #9c27b0, #7b1fa2);
  opacity: 1;
}

.trending .card-badge {
  background: linear-gradient(90deg, #9c27b0, #7b1fa2);
}

/* Enhanced Comparison Tool */
.comparison-tool {
  margin-top: 5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.comparison-tool h3 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.6rem;
  color: #ffffff;
  position: relative;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

.comparison-tool h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f5a623, #ff6600);
  border-radius: 2px;
}

.comparison-grid {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.comparison-header {
  display: flex;
  background: linear-gradient(90deg, rgba(245, 166, 35, 0.1), rgba(255, 102, 0, 0.1));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-item {
  flex: 1;
  padding: 1.2rem;
  font-weight: 700;
  min-width: 220px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: #f5a623;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-selectors {
  display: flex;
  flex: 3;
}

.course-selector {
  flex: 1;
  padding: 1.2rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 180px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.course-selector:hover {
  background: rgba(255, 255, 255, 0.05);
}

.course-selector:last-child {
  border-right: none;
}

.comparison-rows {
  display: flex;
  flex-direction: column;
}

.comparison-row {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.comparison-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-row:last-child {
  border-bottom: none;
}

.row-label {
  flex: 1;
  padding: 1.2rem;
  min-width: 220px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.row-values {
  display: flex;
  flex: 3;
}

.row-value {
  flex: 1;
  padding: 1.2rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 180px;
  color: rgba(255, 255, 255, 0.9);
}

.row-value:last-child {
  border-right: none;
}

.comparison-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
  gap: 15px;
}

.comparison-close {
  background: transparent;
  color: #f5a623;
  border: 1px solid #f5a623;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.comparison-close:hover {
  background: rgba(245, 166, 35, 0.1);
  transform: translateY(-2px);
}

.comparison-close svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.course-card .compare-badge {
  position: absolute;
  top: 50px;
  right: 15px;
  background: rgba(0, 119, 182, 0.9);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: none;
  z-index: 2;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(0, 119, 182, 0.3);
}

.course-card.selected-for-comparison .compare-badge {
  display: block;
  animation: bounceIn 0.5s ease;
}

/* Animations */
@keyframes pulse {
  0% {
    opacity: 0.6;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 0.6;
    transform: scale(0.95);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .cinematic-courses .container {
    padding: 0 1.5rem;
  }
  
  .courses-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .cinematic-courses {
    padding: 5rem 0;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .courses-filter {
    padding: 1.5rem;
    gap: 2rem;
  }
  
  .filter-group {
    min-width: 180px;
  }
}

@media (max-width: 768px) {
  .cinematic-courses {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .courses-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .course-recommender {
    padding: 1.5rem;
  }
  
  .recommender-option {
    min-width: 140px;
    padding: 0.8rem 1.2rem;
  }
  
  .comparison-header {
    flex-direction: column;
  }
  
  .header-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 100%;
  }
  
  .course-selectors {
    flex-direction: column;
  }
  
  .comparison-row {
    flex-direction: column;
  }
  
  .row-label {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 100%;
  }
  
  .row-values {
    flex-direction: column;
  }
  
  .row-value {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 100%;
    text-align: left;
    padding-left: 2rem;
  }
  
  .comparison-tool {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    margin: 0;
    border-radius: 0;
    max-height: 70vh;
    overflow-y: auto;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .comparison-actions {
    position: sticky;
    bottom: 0;
    background: #12121a;
    padding: 1rem;
    margin: 0 -1.5rem -1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 576px) {
  .cinematic-courses {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .availability-banner {
    padding: 0.8rem 1rem;
  }
  
  .recommender-options {
    flex-direction: column;
  }
  
  .recommender-option {
    width: 100%;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .courses-grid {
    grid-template-columns: 1fr;
  }
  
  .card-media {
    height: 200px;
  }
  
  .card-content {
    padding: 1.5rem;
  }
}

/* Optional: Add this for a cinematic scroll effect */
.course-card {
  will-change: transform;
}

/* Optional: Add this for a light/dark mode toggle */
@media (prefers-color-scheme: light) {
  .cinematic-courses {
    background: #f5f5f7;
    color: #1a1a2e;
  }
  /* Add other light mode overrides */
}

/* Updated Action Buttons */
.action-buttons {
  display: flex;
  gap: 8px; /* Reduced from 12px */
  margin-bottom: 1.2rem; /* Slightly reduced */
}

.action-btn {
  flex: 1;
  padding: 0.6rem 0.8rem; /* More compact padding */
  border-radius: 6px;
  font-size: 0.82rem; /* Slightly smaller font */
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  min-height: 36px; /* Fixed height for consistency */
}

/* Online Button - Enhanced */
.online-btn {
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.15) 0%, rgba(0, 86, 179, 0.1) 100%);
  color: #4fc3f7;
  border: 1px solid rgba(79, 195, 247, 0.3);
  box-shadow: 0 2px 8px rgba(0, 119, 182, 0.1);
}

.online-btn:hover {
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.25) 0%, rgba(0, 86, 179, 0.2) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.2);
}

.online-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(79, 195, 247, 0.2), transparent);
  transition: 0.5s;
}

.online-btn:hover::before {
  left: 100%;
}

/* Offline Button - Enhanced */
.offline-btn {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(46, 125, 50, 0.1) 100%);
  color: #81c784;
  border: 1px solid rgba(129, 199, 132, 0.3);
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1);
}

.offline-btn:hover {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.25) 0%, rgba(46, 125, 50, 0.2) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.offline-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(129, 199, 132, 0.1) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.5s;
}

.offline-btn:hover::after {
  transform: scale(1);
}

/* Button Icons */
.action-btn .action-icon {
  width: 16px; /* Slightly smaller */
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.online-btn .action-icon {
  fill: #4fc3f7;
}

.offline-btn .action-icon {
  fill: #81c784;
}

.action-btn:hover .action-icon {
  transform: scale(1.1);
}

/* ===== COURSE COMPARISON TABLE ===== */
.impactful-comparison {
  background: linear-gradient(to bottom, #0a0a12, #1a1a2e);
  padding: 4rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(245, 166, 35, 0.1);
}

.comparison-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.heading-main {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #ffffff 0%, #f5a623 50%, #cccccc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.heading-sub {
  display: block;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
}

.comparison-scroll-container {
  overflow-x: auto;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

.impactful-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1000px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.impactful-table th {
  background: linear-gradient(90deg, rgba(245, 166, 35, 0.1), rgba(255, 102, 0, 0.1));
  color: #f5a623;
  font-weight: 600;
  padding: 1.2rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.impactful-table td {
  padding: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  vertical-align: top;
}

.impactful-table tr:last-child td {
  border-bottom: none;
}

/* Course Cell Styles */
.course-cell {
  background: rgba(255, 255, 255, 0.02);
}

.course-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.course-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.course-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.popular-badge {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  background: rgba(245, 166, 35, 0.1);
  color: #f5a623;
  border: 1px solid rgba(245, 166, 35, 0.3);
}

.popular-badge.pulse {
  animation: pulse 2s infinite;
}

/* Duration Cell */
.duration-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.duration-list li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.duration-list li.highlight {
  color: #f5a623;
  font-weight: 600;
}

/* Format Tags */
.format-tag {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.format-tag.campus {
  background: rgba(76, 175, 80, 0.1);
  color: #81c784;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.format-tag.online {
  background: rgba(0, 119, 182, 0.1);
  color: #4fc3f7;
  border: 1px solid rgba(0, 119, 182, 0.3);
}

/* Tool Tags */
.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tool-tags span {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Career List */
.career-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.career-list li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  position: relative;
  padding-left: 1.2rem;
}

.career-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #f5a623;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 0.8rem;
}

.apply-btn, .details-btn {
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.apply-btn {
  background: linear-gradient(90deg, #f5a623, #ff6600);
  color: #0a0a12;
  border: none;
}

.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

.details-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.details-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.details-btn svg {
  width: 14px;
  height: 14px;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.details-btn:hover svg {
  transform: translateX(3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .impactful-comparison {
    padding: 3rem 1rem;
  }
  
  .heading-main {
    font-size: 1.8rem;
  }
  
  .heading-sub {
    font-size: 1rem;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .apply-btn, .details-btn {
    width: 100%;
    text-align: center;
  }
}

/* ===== MOBILE-FIRST SUCCESS STORIES ===== */
.mdfa-success-stories {
  background: #000;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.film-light {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,102,0,0.1) 0%, rgba(0,0,0,1) 70%);
  animation: light-sweep 15s infinite alternate;
  z-index: 0;
}

@keyframes light-sweep {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50%, 50%); }
}

.section-header {
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.text-gradient {
  background: linear-gradient(90deg, #0066FF, #FF6600);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-stroke {
  -webkit-text-stroke: 1px #FF6600;
  color: transparent;
}

.clapper-icon {
  width: 40px;
  height: 40px;
  margin-top: 1rem;
  animation: clapper-clap 2s infinite;
}

@keyframes clapper-clap {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

/* Testimonial Cards */
.testimonial-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
  padding: 1rem 0;
  margin-bottom: 2rem;
  scrollbar-width: none;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  min-width: 85%;
  scroll-snap-align: start;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,102,0,0.3);
  transition: transform 0.3s;
}

.testimonial-card:active {
  transform: scale(0.98);
}

.student-photo {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.student-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: #0066FF;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.testimonial-content {
  padding: 1.5rem;
  color: white;
}

.quote-mark {
  font-size: 3rem;
  line-height: 0;
  color: #FF6600;
  opacity: 0.5;
  margin-bottom: -1.5rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  margin: 1rem 0;
}

.student-info h3 {
  color: #FF6600;
  margin-bottom: 0.25rem;
}

.course {
  color: #0066FF;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.social-proof img {
  height: 25px;
  margin-top: 0.5rem;
  filter: brightness(0) invert(1);
}

.achievement-badge {
  background: rgba(255,102,0,0.2);
  color: #FF6600;
  padding: 0.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Video Testimonial */
.video-thumbnail {
  position: relative;
  height: 200px;
}

.video-thumbnail video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(255,102,0,0.8);
  border-radius: 50%;
  border: none;
  color: white;
  font-size: 1.25rem;
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #FF6600;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-decoration: none;
  margin: 2rem auto 0;
  position: relative;
  z-index: 1;
  border: none;
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Desktop Styles */
@media (min-width: 768px) {
  .mdfa-success-stories {
    padding: 4rem 0;
  }

  .section-header h2 {
    font-size: 3rem;
  }

  .testimonial-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    gap: 2rem;
  }

  .testimonial-card {
    min-width: auto;
  }

  .student-photo {
    height: 250px;
  }
}

/* ===== CONTAINER FIX ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== TESTIMONIAL GRID ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

/* ===== CENTERED CTA ===== */
.cta-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #FF6600;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: none;
  transition: transform 0.3s;
}

.cta-button:hover {
  transform: translateY(-3px);
}

/* ===== DESKTOP OPTIMIZATION ===== */
@media (min-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-header {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile Carousel Styles */
.testimonial-container {
  position: relative;
  margin: 2rem 0;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

/* Desktop Grid Override */
@media (min-width: 768px) {
  .testimonial-container {
    overflow: visible;
  }
  .testimonial-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    transform: none !important;
  }
  .mobile-only {
    display: none;
  }
}

/* Navigation Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 0;
}

.carousel-dots button.active {
  background: #FF6600;
}
/* Ensure carousel works on all devices */
.testimonial-container {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  flex: 0 0 100%;
  min-width: 100%;
}

@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: calc(33.333% - 1rem);
    margin-right: 1rem;
  }
}

/* Navigation dots - always visible */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.carousel-dots button.active {
  background: #FF6600;
}

.testimonial-track {
  will-change: transform; /* Improves performance */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* MDFA FAQ Section */

/* FAQ Header */
.faq-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 2.5rem;
}

.badge-wrapper {
  padding-top: 8px; /* Aligns with heading */
}

.top-10-badge {
  display: inline-block;
  background: #e63946;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 8px rgba(230, 57, 70, 0.2);
}

.header-content {
  flex: 1;
}

.section-heading {
  color: #222;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.section-subheading {
  color: #666;
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.5;
}

/* Rest of your existing FAQ styles remain the same */

.mdfa-faqs {
  padding: 3rem 0;
  background: #f9f9f9;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-heading {
  position: relative;
  padding-left: 70px;
  text-align: left;
  margin-bottom: 2.5rem;
  color: #222;
  font-size: 2rem;
  font-weight: 700;
}

.top-10-badge {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #e63946;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.faq-item {
  margin-bottom: 0.8rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}

.faq-item:hover {
  transform: translateY(-2px);
}

.faq-question {
  width: 100%;
  padding: 1.3rem;
  text-align: left;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.faq-number {
  color: #e63946;
  font-weight: bold;
  font-size: 1.1rem;
  margin-right: 15px;
  min-width: 25px;
}

.faq-text {
  flex: 1;
  text-align: left;
  font-weight: 600;
  color: #333;
  font-size: 1.05rem;
}

.toggle-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.3s;
  margin-left: 10px;
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 1.3rem;
  max-height: 0;
  overflow: hidden;
  background: #fff;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 1.2rem 0;
  margin: 0;
  color: #555;
  line-height: 1.7;
}

/* Active state */
.faq-item.active .faq-question {
  background: #f5f5f5;
}

.faq-item.active .toggle-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Link styling */
.faq-answer a {
  color: #e63946;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(230, 57, 70, 0.3);
  transition: all 0.2s;
}

.faq-answer a:hover {
  border-bottom-color: #e63946;
}

/* Responsive */
@media (max-width: 768px) {
  .section-heading {
    font-size: 1.7rem;
    padding-left: 60px;
  }
  
  .top-10-badge {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
  
  .faq-text {
    font-size: 1rem;
  }
  
  .faq-number {
    margin-right: 12px;
  }
}

/* FAQ Badge Positioning */
.faq-header .faq-badge {
  position: relative; /* Reset any absolute positioning */
  top: auto;
  left: auto;
  margin: 0 0 1rem 0; /* Adjust spacing as needed */
}

/* Hero Section Badge Protection */
.hero .badge-wrapper:not(.faq-badge) {
  /* This ensures only hero badges are styled here */
}

.top-10-badge {
  background-color: #ff4d4d; /* Brighter red */
  color: white !important; /* Force white text */
  text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

.top-10-badge {
  padding: 6px 12px;
  border: 2px solid white;
  border-radius: 20px;
  font-weight: bold;
}

.top-10-badge {
  box-shadow: 0 0 8px rgba(255,77,77,0.8);
}

.top-10-badge {
  font-size: 14px;
  letter-spacing: 1px;
}

.top-10-badge {
  background: #ff4d4d;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  display: inline-block;
}

/* ... (all the CSS from your original courses.css file remains the same) ... */

/* Add these new styles to enhance functionality */

/* Comparison badge for course cards */
.compare-badge {
    position: absolute;
    top: 50px;
    right: 15px;
    background: rgba(0, 119, 182, 0.9);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 119, 182, 0.3);
    animation: bounceIn 0.5s ease;
}

/* Form message styling */
.amdfa-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
    font-size: 0.95rem;
}

.amdfa-form-message.success {
    background-color: #e6f7ee;
    color: #006644;
}

.amdfa-form-message.error {
    background-color: #ffebee;
    color: #cc0000;
}

/* Recommended courses links */
.recommended-course {
    display: block;
    background: linear-gradient(90deg, rgba(245, 166, 35, 0.1) 0%, rgba(255, 102, 0, 0.1) 100%);
    border: 1px solid rgba(245, 166, 35, 0.3);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
    text-decoration: none;
    color: #f5a623;
    margin-bottom: 10px;
}

.recommended-course:hover {
    background: linear-gradient(90deg, rgba(245, 166, 35, 0.2) 0%, rgba(255, 102, 0, 0.2) 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(245, 166, 35, 0.2);
}

.recommended-course strong {
    display: block;
    margin-bottom: 5px;
}

.recommended-course span {
    font-weight: normal;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Secondary navigation visibility */
.secondary-nav {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.secondary-nav.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading indicator for filters */
.filter-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 18, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
    backdrop-filter: blur(2px);
}

.filter-loading.active {
    opacity: 1;
}

.filter-loading::after {
    content: '';
    width: 30px;
    height: 30px;
    border: 3px solid rgba(245, 166, 35, 0.2);
    border-top-color: #f5a623;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* No results message */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
    display: none;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.no-results.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease;
}

.no-results svg {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    fill: #f5a623;
    opacity: 0.5;
}

.no-results p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.no-results button {
    background: transparent;
    color: #f5a623;
    border: 1px solid #f5a623;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.no-results button:hover {
    background: rgba(245, 166, 35, 0.1);
}

/* Progress bar for recommender */
.recommender-progress {
    margin: 1.5rem 0;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.recommender-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #f5a623, #ff6600);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 3px;
}

/* Animation keyframes */
@keyframes bounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .compare-badge {
        top: 15px;
        right: 15px;
    }
    
    .recommended-course {
        min-width: 100%;
    }
}

/* MDFA Facilities Banner Styles - No White Borders */
.mdfa-facilities-banner {
    position: relative;
    padding: 80px 0;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a12 0%, #1a1a2e 100%);
    color: #fff;
}

.facilities-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.facilities-content {
    flex: 1;
}

.facilities-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.facilities-title .highlight {
    background: linear-gradient(90deg, #ff6600, #ff9e00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.facilities-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff6600, #ff9e00);
    border-radius: 3px;
}

.facilities-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #cccccc;
    max-width: 90%;
}

.facilities-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature i {
    font-size: 2rem;
    color: #ff6600;
    margin-bottom: 15px;
    background: rgba(255, 102, 0, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #fff;
}

.feature p {
    color: #a0a0c0;
    font-size: 0.95rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #ff6600, #ff9e00);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
    gap: 15px;
}

.facilities-visual {
    flex: 1;
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.image-container:hover {
    transform: perspective(1000px) rotateY(0);
}

.facilities-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 26, 46, 0.7) 0%, rgba(255, 102, 0, 0.2) 100%);
}

/* Decorative elements */
.mdfa-facilities-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.mdfa-facilities-banner::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* Responsive design */
@media (max-width: 992px) {
    .facilities-container {
        flex-direction: column;
        text-align: center;
    }
    
    .facilities-title {
        font-size: 2rem;
    }
    
    .facilities-description {
        max-width: 100%;
    }
    
    .facilities-features {
        grid-template-columns: 1fr;
    }
    
    .feature {
        align-items: center;
    }
    
    .image-container {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .mdfa-facilities-banner {
        padding: 60px 0;
    }
    
    .facilities-title {
        font-size: 1.8rem;
    }
    
    .facilities-features {
        gap: 20px;
    }
    
    .feature i {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}