/* This file is designed for any new styles */

#contact-form select {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  background-color: rgba(32, 201, 151, 0.15);
  border: none;
  outline: none;
  font-weight: 300;
  padding: 0px 20px;
  font-size: 14px;
  color: #fff;
  margin-bottom: 30px;
  position: relative;
  z-index: 3;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

#contact-form select option {
  color: #333;
  background: #fff;
}

:root {
  --primary-color: #ff5200;
  --accent-color: #ffa726;
}

/* --- Custom Form Styles from User --- */

#contact-form select {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  background-color: #ffffffdc;
  border: none;
  outline: none;
  font-weight: 300;
  padding: 0px 20px;
  font-size: 14px;
  color: #000000;
  margin-bottom: 30px;
  position: relative;
  z-index: 3;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

#contact-form select option {
  color: #333;
  background: #fff;
}

/* Style for the input fields inside the modal */
.form-input-field {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  background-color: rgba(32, 201, 151, 0.15);
  border: none;
  outline: none;
  font-weight: 300;
  padding: 0px 20px;
  font-size: 14px;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-input-field::placeholder {
  color: rgba(32, 201, 151, 0.7);
}

/* Style for the select box inside the modal */
.form-select-field {
  /* Mimics input field style */
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ffffff'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 10.94l3.71-3.71a.75.75 0 111.06 1.06l-4.25 4.25a.75.75 0 01-1.06 0L5.21 8.29a.75.75 0 01.02-1.08z' clip-rule='evenodd' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.5em 1.5em;
  cursor: pointer;

  height: 50px;
  border-radius: 25px;
  background-color: rgba(32, 201, 151, 0.15);
  border: none;
  outline: none;
  font-weight: 300;
  padding: 0px 20px;
  font-size: 14px;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.form-select-field option {
  /* Ensures options are readable when the dropdown is open */
  color: #333;
  background-color: #fff;
}

/* --- NEW CRITICAL STYLE --- */
/* Hides the fixed header element when the 'modal-open' class is applied to the body */
body.modal-open .header-area.header-sticky {
  display: none !important;
}

.coming-soon-chip {
  /* NEW Positioning for top-left corner */
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  /* Ensure it stays above other content */

  /* Appearance */
  width: max-content;
  background-color: #ff5200;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.logo-strip {
  position: relative;
  width: 100%;
  overflow: hidden;
  --animation-duration: 20s;
}

.logo-container {
  display: flex;
  width: max-content;
  animation: scroll var(--animation-duration) linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 767px) {
  .logo-strip {
    --animation-duration: 15s;
    padding: 0.5rem 0;
  }

  .logo-container img {
    height: 3rem;
    margin: 0 0.75rem;
    max-width: 12rem;
  }
}

/* Course Toggle Switch */
.course-toggle {
  position: relative;
  display: inline-block;
  width: 300px;
  height: 50px;
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid #ff5200;
}

.course-toggle input {
  display: none;
}

.course-toggle label {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  text-align: center;
  line-height: 50px;
  font-weight: 600;
  color: #ff5200;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 2;
}

.course-toggle label:first-of-type {
  left: 0;
}

.course-toggle label:last-of-type {
  right: 0;
}

.course-toggle input:checked + label {
  color: #fff;
}

.course-toggle .toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(50% - 2px);
  height: calc(100% - 4px);
  background: #ff5200;
  border-radius: 23px;
  transition: transform 0.3s;
  z-index: 1;
}

.course-toggle input[id="offline"]:checked ~ .toggle-slider {
  transform: translateX(100%);
}

.offline-image {
  max-width: 75%;
  height: auto;
  border-radius: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
/* 🌟 Minimal Construction Module Styles 🌟 */
.minimal-construction {
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  max-width: 680px;
  width: 90vw;
  margin-inline: auto;
  padding: 40px 0;
  --green: #ff5200;
  --orange: #ffa726;
  --dark-orange: #f57c00;
  --ink: #111827;
}

.minimal-construction *,
.minimal-construction *::before,
.minimal-construction *::after {
  box-sizing: inherit;
}

/* Content container */
.minimal-construction .content-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: clamp(24px, 6vw, 48px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.minimal-construction .content-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.12);
}

/* Header layout */
.minimal-construction .header-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

/* 🪖 Hard Hat Icon */
.hat-icon {
  width: 80px;
  height: 60px;
  position: relative;
  display: inline-block;
  animation: wobble 2.5s ease-in-out infinite;
  transform-origin: bottom center;
}

.hat-icon .helmet-top {
  width: 80px;
  height: 44px;
  background: linear-gradient(to top, #ffa726, #ffb84d);
  border-radius: 50px 50px 10px 10px / 60px 60px 10px 10px;
  position: absolute;
  bottom: 8px;
  left: 0;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2),
    inset 0 10px 0 rgba(255, 255, 255, 0.3);
}

.hat-icon .helmet-brim {
  position: absolute;
  bottom: 0;
  left: -10px;
  width: 100px;
  height: 12px;
  background: var(--orange);
  border-radius: 8px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
}

@keyframes wobble {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-3deg);
  }
}

/* Sign */
.minimal-construction .sign {
  background: var(--orange);
  color: #000;
  padding: 12px 32px;
  border-radius: 12px;
  border: 3px solid #000;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2),
    inset 0 8px 0 rgba(255, 255, 255, 0.25);
  font-weight: 900;
  line-height: 1.1;
  font-size: clamp(28px, 6vw, 54px);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.minimal-construction .sign:hover {
  background: linear-gradient(135deg, #ffa726, #ffc570);
  box-shadow: 0 6px 12px rgba(255, 167, 38, 0.4);
  transform: scale(1.05);
}

/* Progress bar */
.minimal-construction .progress {
  height: 22px;
  border: 3px solid #000;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  max-width: 100%;
  margin: 28px auto;
  position: relative;
}

.minimal-construction .progress::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--orange), var(--green));
  background-size: 200% auto;
  animation: load 10s ease-in-out infinite, shine 3s linear infinite;
}

@keyframes load {
  0% {
    width: 10%;
  }
  60% {
    width: 100%;
  }
  100% {
    width: 10%;
  }
}

@keyframes shine {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Wrench */
.minimal-construction .wrench {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 2px solid #000;
  background: #fff;
  display: grid;
  place-items: center;
  z-index: 2;
  animation: moveWrench 10s ease-in-out infinite, spinWrench 2s linear infinite;
}

.minimal-construction .wrench::before {
  content: "";
  width: 14px;
  height: 4px;
  background: #000;
  border-radius: 2px;
  box-shadow: 10px 0 0 #000;
}

@keyframes moveWrench {
  0% {
    left: 6px;
  }
  60% {
    left: calc(100% - 36px);
  }
  100% {
    left: 6px;
  }
}

@keyframes spinWrench {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(15deg);
  }
}

/* Contact text */
.minimal-construction .contact-info {
  margin-top: 16px;
  font-size: 15px;
  color: #555;
}

.minimal-construction .contact-info a {
  color: var(--dark-orange);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.minimal-construction .contact-info a:hover {
  color: var(--orange);
}

/* --- Modal Base Styles --- */
#enrollment-modal {
  /* Styles are mostly inline, but ensure full screen coverage */
  transition: opacity 0.3s ease;
}

/* Base Form Inputs */
.form-input-field,
.form-select-field {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--dark-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.form-input-field::placeholder,
.form-select-field::placeholder {
  color: #000 !important;
}

.form-input-field:focus,
.form-select-field:focus {
  outline: 2px solid var(--primary-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Step Visibility */
.form-step {
  display: block;
  transition: opacity 0.3s ease-in-out;
}
.form-step.hidden {
  display: none;
  opacity: 0;
}

/* --- Time Slot Component (Step 2) Styles --- */

.time-slot-component-wrapper {
  /* Ensures the component is visible when step 2 is shown */
  width: 100%;
  padding: 0; /* Remove padding if step 2 is part of the modal */

  /* Variables for Step 2 elements to match the primary color theme */
  --comp-primary: var(--primary-color);
  --comp-dark: #333; /* Dark text on light selection */
  --comp-light: white; /* Light text on dark background */
}

.component-title {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 24px;
  background: linear-gradient(to right, var(--comp-light), #c2d9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(100px, 1fr)
  ); /* Adjusted for modal size */
  gap: 15px;
  margin-bottom: 30px;
}

.time-slot {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px 10px; /* Smaller padding for modal */
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.time-slot:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Selected State */
.time-slot.selected {
  background: white;
  border-color: var(--comp-primary);
  box-shadow: 0 4px 12px rgba(58, 134, 255, 0.4);
}

.time-slot.selected .time-text {
  color: var(--comp-primary); /* Primary color text on white background */
  font-weight: 700;
}

.time-slot.selected::after {
  content: "✓";
  position: absolute;
  top: 5px;
  right: 8px;
  color: var(--comp-primary);
  font-weight: bold;
  font-size: 16px;
}

.time-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--comp-light);
  transition: color 0.3s ease;
}

.time-period {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 3px;
  color: #ccc;
}

.time-slot.selected .time-period {
  color: #555;
}

/* --- Button Group (Step 2) --- */

.button-group {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.button-group button {
  flex: 1;
  padding: 14px 10px;
  border: none;
  border-radius: 9999px; /* rounded-full */
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-btn {
  background: #ccc;
  color: #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.back-btn:hover {
  background: #bbb;
}

.submit-btn {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.submit-btn:disabled {
  background: rgba(255, 255, 255, 0.5);
  color: #999;
  cursor: not-allowed;
  box-shadow: none;
}

/* Selection Info Display */
.selected-info {
  text-align: center;
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  display: none;
}

.selected-info.show {
  display: block;
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments for the modal content */
@media (max-width: 640px) {
  #enrollment-modal .relative {
    padding: 20px;
  }
  .time-slots {
    grid-template-columns: 1fr;
  }
}

/* Google Reviews variant of testimonials */
.testimonials.google-reviews {
  position: relative;
  padding: 80px 0px;
  margin-top: 150px;
}

/* Same curved background as original testimonials (right side) */
.testimonials.google-reviews:before {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  width: 65%;
  height: 100%;
  background-color: #fff3e0;
  content: "";
  border-top-left-radius: 500px;
  border-bottom-left-radius: 500px;
}

/* Remove the gradient overlay */
.testimonials.google-reviews::after {
  display: none;
}

/* Elevate inner container above background */
.testimonials.google-reviews .container,
.testimonials.google-reviews .section-heading,
.testimonials.google-reviews .owl-carousel {
  position: relative;
  z-index: 2;
}

/* Section heading styles */
.testimonials.google-reviews .section-heading {
  margin-bottom: 0px;
  margin-left: 60px;
  vertical-align: middle;
}

.testimonials.google-reviews .section-heading h4 {
  color: #ff5200;
  text-transform: uppercase;
  font-size: 28px;
  font-weight: 600;
}

.testimonials.google-reviews .section-heading h2 {
  color: #1e1e1e;
  font-size: 36px;
  font-weight: 600;
  margin: 20px 0;
}

.testimonials.google-reviews .section-heading p {
  color: #4a4a4a;
  font-size: 14px;
  line-height: 28px;
  margin-top: 50px;
}

/* Review cards - white background to stand out against peach */
.testimonials.google-reviews .item.review-card {
  background: #ffffff !important;
  color: #1e1e1e;
  padding: 40px 35px;
  border-radius: 25px;

  border: 1px solid rgba(124, 184, 176, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  /* Force equal height for all cards */
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonials.google-reviews .item.review-card:hover {
  transform: translateY(-5px);
}

/* Badge + stars header */
.testimonials.google-reviews .review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-shrink: 0; /* Prevent from shrinking */
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #fff3e0, #ffe9c5);
  color: #ea4335;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(234, 67, 53, 0.18);
  box-shadow: 0 2px 4px rgba(234, 67, 53, 0.15);
}

.google-badge .fab.fa-google {
  color: #4285f4;
  font-size: 14px;
}

.testimonials.google-reviews .stars {
  color: #f4b400;
  font-size: 15px;
  letter-spacing: 1px;
}

/* Review text */
.testimonials.google-reviews .review-text {
  font-size: 16px;
  line-height: 28px;
  color: #333;
  margin-bottom: 25px;
  flex-grow: 1; /* Allow text to take available space */
}

/* Author info */
.testimonials.google-reviews .author {
  display: flex;
  align-items: center;
  margin-top: 10px;
  flex-shrink: 0; /* Prevent from shrinking */
}

.testimonials.google-reviews .author img {
  max-width: 60px;
  border-radius: 50%;
  margin-right: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonials.google-reviews .author h4 {
  font-size: 18px;
  margin: 2px 0 0;
  color: #1e1e1e;
  font-weight: 600;
}

.testimonials.google-reviews .author .category {
  display: block;
  font-size: 13px;
  color: #666;
  font-weight: 400;
  margin-top: 3px;
}

/* Owl navigation (optional - hide if not needed) */
.testimonials.google-reviews .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-5px);
  right: -25px;
  text-align: right;
}

.testimonials.google-reviews .owl-nav .owl-prev i,
.testimonials.google-reviews .owl-nav .owl-next i {
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 24px;
  display: inline-block;
  color: #ff5200;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
  opacity: 1;
  transition: all 0.3s;
}

.testimonials.google-reviews .owl-nav .owl-prev i {
  position: absolute;
  bottom: 65px;
}

.testimonials.google-reviews .owl-nav .owl-prev i:hover,
.testimonials.google-reviews .owl-nav .owl-next i:hover {
  opacity: 1;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .testimonials.google-reviews {
    padding: 60px 0;
    margin-top: 100px;
  }
  .testimonials.google-reviews:before {
    width: 100%;
    border-radius: 0;
  }
  .testimonials.google-reviews .section-heading {
    text-align: center;
    margin-left: 0;
    margin-bottom: 40px;
  }
  .testimonials.google-reviews .section-heading p {
    margin-top: 30px;
  }
  .testimonials.google-reviews .item.review-card {
    padding: 30px 25px;
    min-height: 300px; /* Slightly smaller on tablets */
  }
  .testimonials.google-reviews .owl-nav {
    display: none;
  }
}

@media (max-width: 767px) {
  .testimonials.google-reviews {
    padding: 50px 0;
    margin-top: 80px;
  }
  .testimonials.google-reviews .section-heading {
    margin-bottom: 30px;
  }
  .testimonials.google-reviews .item.review-card {
    padding: 25px 20px;
    min-height: auto; /* Allow natural height on mobile */
  }
  .testimonials.google-reviews .review-text {
    font-size: 15px;
    line-height: 26px;
  }
  .testimonials.google-reviews .author {
    flex-direction: column;
    text-align: center;
  }
  .testimonials.google-reviews .author img {
    margin: 0 0 10px;
  }
}

/* Know more buttun in courses  */
/* --- NEW: Layout for the two buttons inside the card --- */
.events_item .down-content .card-buttons {
  display: flex;
  justify-content: space-between; /* Space out the two buttons */
  gap: 10px; /* Space between buttons */
  margin-top: auto; /* Pushes the buttons to the bottom of the down-content */
  width: 100%;
}

/* Ensure the main-button inside the card takes half the available width */
.events_item .down-content .card-buttons .main-button {
  flex-basis: 50%; /* Each button takes up 50% of the container width */
  text-align: center;
  /* Remove any old margin settings that might interfere */
  margin: 0 !important;
}

/* Ensure the anchor tag inside the button takes full width */
.events_item .down-content .card-buttons .main-button a {
  width: 100%;
  display: block; /* Make the link fill the button area */
  padding: 0px 10px; /* Adjust padding for better fit */
}

/* --- NEW: Style for the "Know More" button --- */
.events_item .down-content .card-buttons .know-more-button a {
  /* Reverse the colors for the secondary button: Orange border, White text */
  background-color: transparent;
  color: #ff5200;
  border: 1px solid #ff5200;
}

/* Hover style for the "Know More" button */
.events_item .down-content .card-buttons .know-more-button a:hover {
  background-color: #ff5200; /* Fill with orange on hover */
  color: #fff;
  border-color: #ff5200;
}
/* ---------------------------------------------
RESPONSIVENESS FIX for Course Cards
--------------------------------------------- 
*/
@media (max-width: 767px) {
  .events_item .down-content .card-buttons .main-button {
    flex-basis: 50% !important;
  }

  .events_item .down-content .card-buttons .main-button a {
    padding: 0px 5px !important;
    font-size: 12px;
  }
}
/* ================================
   MODAL CONTAINER
================================ */
#courseDetailModal .modal-content {
  border-radius: 22px;
  border: none;
  background: linear-gradient(180deg, #ffffff, #fffdfb);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: modalFadeIn 0.35s ease;
}

@keyframes modalFadeIn {
  from {
    transform: scale(0.96);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ================================
   MODAL HEADER
================================ */
#courseDetailModal .modal-header {
  background: linear-gradient(135deg, #fff3ec, #ffffff);
  border-bottom: 1px solid rgba(255, 82, 0, 0.15);
  padding: 22px 30px;
}

#courseDetailModal .modal-title {
  color: #ff5200;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.3px;
}

#courseDetailModal .btn-close {
  filter: brightness(0.4);
  transition: transform 0.2s ease;
}

#courseDetailModal .btn-close:hover {
  transform: rotate(90deg) scale(1.1);
}

/* ================================
   MODAL BODY
================================ */
#courseDetailModal .modal-body {
  padding: 32px 30px;
  background-color: #ffffff;
}

/* ================================
   STATS BAR
================================ */
.course-modal-stats-bar {
  border-bottom: 2px solid rgba(255, 82, 0, 0.25);
  padding-bottom: 16px !important;
  margin-bottom: 25px !important;
}

.course-modal-stats-bar .stat-item strong {
  font-size: 19px;
  font-weight: 800;
  color: #ff5200;
}

.course-modal-stats-bar .stat-item p {
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* ================================
   SECTION HEADINGS
================================ */
#courseDetailModal h6 {
  font-size: 18px;
  font-weight: 700;
  margin: 22px 0 12px;
  padding-left: 12px;
  border-left: 4px solid #ff5200;
  color: #1e1e1e;
}

/* ================================
   BENEFITS LIST
================================ */
#modal-benefits {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

#modal-benefits li {
  font-size: 15px;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
}

/* ================================
   FOOTER
================================ */
#courseDetailModal .modal-footer {
  background: linear-gradient(180deg, #fffdfb, #fafafa);
  padding: 20px 35px;
  border-top: 1px solid rgba(255, 82, 0, 0.05);
}

#courseDetailModal .btn-secondary {
  border-radius: 50px;
  padding: 8px 22px;
}

#courseDetailModal .main-button {
  background: linear-gradient(135deg, #ff5200, #ff6a1f);
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(255, 82, 0, 0.4);
}

#courseDetailModal .main-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 25px rgba(255, 82, 0, 0.5);
}

/* ================================
   CURRICULUM ACCORDION
================================ */
#modal-curriculum-content .accordion-item {
  border: 1px solid rgba(255, 82, 0, 0.25);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  margin-bottom: 12px !important;
  overflow: hidden;
}

#modal-curriculum-content .accordion-button {
  font-size: 16px;
  font-weight: 700;
  padding: 16px 20px;
  background-color: #fff8f5;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

#modal-curriculum-content .accordion-button:not(.collapsed) {
  color: #ff5200;
  background: linear-gradient(135deg, #fff0e6, #ffffff);
  box-shadow: inset 0 -1px 0 rgba(255, 82, 0, 0.25);
}

#modal-curriculum-content .topic-count-badge {
  background: #ff5200 !important;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}

#modal-curriculum-content .accordion-body {
  padding: 18px 25px;
  background-color: #ffffff;
}

#modal-curriculum-content .topic-list-modal {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

#modal-curriculum-content .topic-item-modal {
  font-size: 14px;
  line-height: 1.9;
  color: #333;
  display: flex;
  align-items: center;
}

#modal-curriculum-content .topic-item-modal .fa-circle-check {
  color: #ff5200 !important;
  margin-right: 10px;
  font-size: 13px;
}

/* ================================
   BENEFITS ICONS
================================ */
#modal-benefits li i {
  color: #4caf50;
  margin-right: 10px;
  font-size: 16px;
}
/* CRITICAL FIX FOR MODAL CURRICULUM CONTENT */

/* Enforce dark text color on the parent body just in case of inheritance */
#courseDetailModal #modal-curriculum-content .accordion-body {
  color: #333 !important;
  background-color: white !important;
}

/* Enforce list item visibility and text properties on the topics */
#courseDetailModal #modal-curriculum-content .topic-item-modal {
  /* Most important fix for text disappearing due to Tailwind reset: */
  display: flex !important;
  font-size: 14px !important;
  line-height: 1.9 !important;
  color: #333 !important;

  /* Ensure no weird list style is applied */
  list-style: none !important;
  padding: 3px 0 !important;
  margin: 0 !important;
}

/* Enforce list visibility on the UL container */
#courseDetailModal #modal-curriculum-content .topic-list-modal {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}
/* ================================
   TAILWIND CONFLICT FIX (MODAL ONLY)
================================ */
#courseDetailModal .accordion-collapse.collapse.show {
  visibility: visible !important;
}
/* ================================
   FINAL FIX: ACCORDION TITLE + BADGE + ICON
================================ */

/* Restore flex so the Bootstrap + icon works */
#courseDetailModal #modal-curriculum-content .accordion-button {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* Title should grow and handle long text */
#courseDetailModal #modal-curriculum-content .module-title {
  flex: 1 1 auto !important;
  white-space: normal !important;
  word-break: break-word !important;
  line-height: 1.4 !important;
}

#courseDetailModal #modal-curriculum-content .topic-count-badge {
  width: 80px !important; /* fixed width */
  height: 24px !important; /* fixed height */

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  font-size: 12px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}

/* Fix the arrow / plus icon position */
#courseDetailModal #modal-curriculum-content .accordion-button::after {
  margin-left: 10px !important;
  align-self: center !important;
  position: relative !important;
  top: 0 !important;
}
/* ---------------------------------------------
Header Style
--------------------------------------------- 
*/
.background-header {
  background-color: #ff5200 !important;
  border-radius: 0px 0px 25px 25px;
  height: 80px !important;
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15) !important;
  -webkit-transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

.header-area {
  position: absolute;
  background-color: transparent;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 1000;
  -webkit-transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

.header-area .main-nav {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* MODIFIED: Increased left padding to 25px for a slight shift to the right */
  padding: 0 15px 0 25px;
  min-height: 80px; /* Ensure height is maintained */
}

/* ------------------------------------------------------------------
Desktop Padding Adjustment for a more significant shift on large screens
------------------------------------------------------------------ */
@media (min-width: 992px) {
  /* This ensures the desktop view has more pronounced padding on the left */
  .header-area .main-nav {
    padding: 0 40px 0 60px; /* Increased left padding from 40px to 60px */
  }
}
@media (max-width: 767px) {
  /* MOBILE FIX: Reset back to equal padding on mobile but keep logo fixed */
  .header-area .main-nav {
    padding: 0 15px;
  }
}

.header-area .main-nav .logo {
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  display: inline-block;
  line-height: 1px;
  backdrop-filter: blur(6px);
}

/* HIDE THE OLD H1 TEXT */
.header-area .main-nav .logo h1 {
  display: none;
}

/* NEW: STYLING FOR YOUR LOGO IMAGE */
.header-area .main-nav .logo img.header-logo {
  height: 50px;
  width: 50px;
  object-fit: cover;
  border-radius: 12px;
  background: white;
  padding: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Adjust logo height when header becomes sticky */
.background-header .main-nav .logo img.header-logo {
  height: 42px;
  width: 42px;
  border-radius: 10px;
}

.background-header .main-nav .logo,
.background-header .main-nav #search {
  margin-top: 0;
}

.header-area .main-nav #search {
  position: relative;
}

.header-area .main-nav #search input {
  background-color: rgba(255, 255, 255, 0.1);
  height: 44px;
  width: 250px;
  border-radius: 23px;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 300;
  padding: 0px 20px 0px;
}

.header-area .main-nav #search input::placeholder {
  color: rgba(250, 250, 250, 0.75);
}

.header-area .main-nav #search i {
  position: absolute;
  color: #fff;
  right: 20px;
  top: 15px;
  font-size: 16px;
}

/* ---------------------------------------------------- */
/* --- PILL-SHAPED BORDER & ACTIVE STATE (FIXED) --- */
/* ---------------------------------------------------- */

/* 1. Pill-Shaped Nav Container */
.header-area .main-nav ul.nav {
  flex-basis: auto;
  justify-content: initial;
  display: flex;

  /* Pill-shaped border is applied here */
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 40px !important;

  /* Internal spacing for pill container */
  padding: 0 5px;

  margin-left: auto;
  /* Push nav to the right */
  margin-right: 0;

  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  z-index: 999;
}

/* 2. Nav Item Size */
.header-area .main-nav .nav li {
  padding-left: 0;
  padding-right: 0;
  height: 40px;
  line-height: 40px;
}

/* 3. Link Padding & Active State Size (Wider Area) */
.header-area .main-nav .nav li a {
  display: block;
  padding-left: 30px;
  padding-right: 30px;

  border-radius: 20px;
  font-weight: 300;
  font-size: 14px;
  height: 40px;
  line-height: 40px;
  text-transform: capitalize;
  color: #fff;
  -webkit-transition: all 0.4s ease 0s;
  -moz-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
  border: transparent;
  letter-spacing: 0.25px;
}

/* Sticky State Centering Fixes */
.background-header .main-nav .nav li {
  height: 40px;
  /* Keep consistent height */
  line-height: 40px;
}

.background-header .main-nav .nav {
  margin-top: 20px;
}

/* General Hover/Active Styles */
.header-area .main-nav .nav li:last-child {
  padding-right: 0px;
}

.header-area .main-nav .nav li:hover a {
  opacity: 0.8;
}
.background-header .main-nav .nav li:hover a {
  opacity: 0.8;
  background-color: #ffa726;
}

.background-header .main-nav .nav li a.active {
  color: #fff;
  background-color: #ffa726;
  opacity: 1;
}

/* Menu Trigger (Hamburger Icon) Styles */
.header-area .main-nav .menu-trigger {
  cursor: pointer;
  position: absolute;
  top: 33px;
  width: 32px;
  height: 40px;
  text-indent: -9999em;
  z-index: 99;
  right: 20px;
  display: none;
}

.background-header .main-nav .menu-trigger {
  top: 20px;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #fff;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  content: "";
  width: 75%;
}

.header-area .main-nav .menu-trigger span {
  top: 16px;
}

.header-area .main-nav .menu-trigger span:before {
  -moz-transform-origin: 33% 100%;
  -ms-transform-origin: 33% 100%;
  -webkit-transform-origin: 33% 100%;
  transform-origin: 33% 100%;
  top: -10px;
  z-index: 10;
}

.header-area .main-nav .menu-trigger span:after {
  -moz-transform-origin: 33% 0;
  -ms-transform-origin: 33% 0;
  -webkit-transform-origin: 33% 0;
  transform-origin: 33% 0;
  top: 10px;
}

.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
  background-color: transparent;
  width: 100%;
}

.header-area .main-nav .menu-trigger.active span:before {
  -moz-transform: translateY(6px) translateX(1px) rotate(45deg);
  -ms-transform: translateY(6px) translateX(1px) rotate(45deg);
  -webkit-transform: translateY(6px) translateX(1px) rotate(45deg);
  transform: translateY(6px) translateX(1px) rotate(45deg);
  background-color: #fff;
}

.background-header .main-nav .menu-trigger.active span:before {
  background-color: #fff;
}

.header-area .main-nav .menu-trigger.active span:after {
  -moz-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -ms-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -webkit-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  background-color: #fff;
}

.background-header .main-nav .menu-trigger.active span:after {
  background-color: #fff;
}

.header-area.header-sticky .nav li a.active {
  color: #fff;
  font-weight: 700;
}

.visible {
  display: inline !important;
}

@media (max-width: 1200px) {
  .header-area .main-nav .nav li {
    padding-left: 2px;
    padding-right: 2px;
  }

  .header-area .main-nav .nav li a {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ---------------------------------------------------- */
/* --- MOBILE STYLES (Cleaned and Fixed for Conflict) --- */
/* ---------------------------------------------------- */
@media (max-width: 767px) {
  /* Remove the pill border/padding and set mobile menu appearance */
  .header-area .main-nav .nav {
    border: none !important;
    border-radius: 0px !important;
    padding: 0 !important;

    background-color: #fff3e0;
    height: auto;
    max-height: calc(100vh - 80px); /* Ensure content is fully visible */
    overflow-y: auto; /* Allow scrolling if needed */
    flex-basis: 100%;
    display: none;
    margin-top: 0;
    float: none;
    width: 100%;
    -webkit-transition: all 0s ease 0s;
    -moz-transition: all 0s ease 0s;
    -o-transition: all 0s ease 0s;
    transition: all 0s ease 0s;
    margin-left: 0px;

    position: fixed; /* Keep it fixed relative to viewport */
    top: 120px; /* Adjusted from 80px to account for info strip (40px) + header (80px) */
    left: 0;
    right: 0;
    z-index: 998;
  }
  .header-area .main-nav {
    overflow: visible;
  }

  /* Nav Item Positioning and background */
  .header-area .main-nav .nav li,
  .background-header .main-nav .nav li {
    width: 100%;
    background: #fff3e0;

    line-height: 50px;
    border-top: 1px solid #ddd;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .header-area .main-nav .nav li:last-child {
    border-radius: 0px 0px 25px 25px;
  }
  .header-area .main-nav .nav li:first-child {
    border-top: 1px solid #eee;
  }

  /* Link Styling (Disable pill-shape background/padding on mobile) */
  .header-area .main-nav .nav li a,
  .background-header .main-nav .nav li a {
    color: #1e1e1e;
    background-color: transparent;
    border-radius: 0;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Active/Hover states on Mobile */
  .header-area .main-nav .nav li a:hover,
  .header-area .main-nav .nav li a.active {
    color: #ff5200 !important;
    opacity: 1;
    background-color: rgba(122, 106, 216, 0.1);
  }

  .background-header .main-nav .logo {
    top: 0px;
    margin-top: 0;
  }

  /* Header/Nav Adjustments */
  .header-area {
    background-color: #ff5200; /* Ensure mobile header background is set */
    padding: 0px 15px;
    height: 80px;
    box-shadow: none;
    text-align: center;
    position: fixed; /* Keep the mobile header fixed at the top */
    top: 40px; /* Adjusted from 0 to push it below a 40px info strip */
    left: 0;
    right: 0;
    z-index: 1000;
  }
  .header-area .container {
    padding: 0px;
  }

  .header-area .menu-trigger {
    display: block !important;
  }

  /* Sticky Header Nav Offset */
  .header-area.header-sticky .nav {
    margin-top: 80px !important;
  }

  .background-header.header-sticky .nav {
    margin-top: 80px !important;
  }
}

/* Logo + Text layout */
.header-area .main-nav .logo-with-text {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* Logo text style */
.header-area .main-nav .logo-text {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
  line-height: 1;
}

/* When sticky header */
.background-header .main-nav .logo-text {
  font-size: 18px;
}
.header-area .main-nav .logo-text {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
/* ---------------------------------
Responsive Logo + Text enhancements
---------------------------------- */

/* Desktop – make text bigger on large screens */
@media (min-width: 1200px) {
  .header-area .main-nav .logo-text {
    font-size: 24px;
    letter-spacing: 0.6px;
  }
}

/* Tablet adjustments */
@media (max-width: 1024px) {
  .header-area .main-nav .logo-with-text {
    gap: 10px;
  }

  .header-area .main-nav .logo-text {
    font-size: 18px;
  }
}

/* Mobile: center logo + text nicely */
@media (max-width: 767px) {
  .header-area .main-nav .logo-with-text {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: auto;
    gap: 10px;
  }

  .header-area .main-nav .logo {
    /* Centering logo/text vertically in the 80px header height */
    position: absolute !important;
    left: 15px; /* Use header-area padding as offset */
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
  }

  .header-area .main-nav .logo-text {
    font-size: 16px;
  }

  .header-area .main-nav .menu-trigger {
    position: absolute !important;
    right: 15px; /* Use header-area padding as offset */
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
  }

  /* Push menu down so it doesn't overlap logo */
  .header-area .main-nav ul.nav {
    margin-top: 0 !important; /* Resetting this, as 'top: 80px' handles the offset now */
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .header-area .main-nav .logo-text {
    font-size: 14px;
  }
}
.form-input-field,
.form-select-field {
  color: #000 !important;
}
