/* ==========================================================
   IRIS CODERS - COURSE TRAINING STYLESHEET
   Official Brand Color Palette:
   - Primary Blue:     #0F4DA2
   - Dark Blue:        #163D7A
   - Dark Grey:        #4A4A4A
   - Light Background: #F5F7FA
   - White:            #FFFFFF
   - Border:           #E5E7EB
========================================================== */

/* Global Course Utilities */
.course-section-padding {
  padding: 50px 0;
}

@media (min-width: 992px) {
  .course-section-padding {
    padding: 75px 0;
  }
}

.course-bg-light {
  background-color: #F5F7FA;
}

.course-bg-white {
  background-color: #FFFFFF;
}

.course-section-header {
  margin-bottom: 36px;
}

.course-section-title {
  color: #163D7A;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .course-section-title {
    font-size: 34px;
  }
}

.course-section-subtitle {
  color: #4A4A4A;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================
   1. HERO BANNER
   - Desktop & Tablet (>= 768px): Original layout untouched
   - Mobile (< 768px): Solid Iris Coders Brand Blue (#0F4DA2), centered content
========================================================== */
.course-hero-section {
  position: relative;
  background-image: url('../images/iris/career.webp');
  background-size: cover;
  background-position: right top;
  background-repeat: no-repeat;
  color: #FFFFFF;
  margin: 0;
  padding: 100px 0 60px;
  width: 100%;
}

@media (min-width: 992px) {
  .course-hero-section {
    padding: 115px 0 75px;
  }
}

@media (min-width: 1200px) {
  .course-hero-section {
    padding: 125px 0 85px;
  }
}

@media (min-width: 1400px) {
  .course-hero-section {
    padding: 135px 0 95px;
  }
}

@media (min-width: 1920px) {
  .course-hero-section {
    padding: 145px 0 105px;
  }
}

.course-hero-content {
  text-align: left;
}

.course-hero-title {
  color: #FFFFFF;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  .course-hero-title {
    font-size: 40px;
  }
}

@media (min-width: 1200px) {
  .course-hero-title {
    font-size: 46px;
  }
}

.course-hero-desc {
  color: #FFFFFF;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 26px;
  max-width: 780px;
  font-weight: 500;
}

@media (min-width: 992px) {
  .course-hero-desc {
    font-size: 18px;
    margin-bottom: 28px;
  }
}

.course-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.course-hero-badge {
  background: rgba(15, 77, 162, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 992px) {
  .course-hero-badge {
    padding: 9px 20px;
    font-size: 14px;
  }
}

/* ----------------------------------------------------------
   MOBILE ONLY HERO ADJUSTMENTS (< 768px)
   - Solid Iris Coders Brand Blue Background (#0F4DA2)
   - No background image, no gradients, no overlays
   - Vertically & horizontally centered content & badges
   - Reduced height and compact clean spacing
---------------------------------------------------------- */
@media (max-width: 767.98px) {
  .course-hero-section {
    background-color: #0F4DA2 !important;
    background-image: none !important;
    padding: 75px 0 35px !important;
    margin: 0 !important;
  }

  .course-hero-content {
    text-align: center !important;
  }

  .course-hero-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
    text-align: center !important;
  }

  .course-hero-desc {
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin-bottom: 20px !important;
    max-width: 100% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .course-hero-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .course-hero-badge {
    padding: 6px 14px !important;
    font-size: 12px !important;
    gap: 6px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
  }
}

/* 2. Minimal About Course Section (No Card Background, No Shadow, No Border) */
.course-about-minimal {
  padding: 0;
}

.course-about-title {
  color: #163D7A;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 18px;
}

.course-about-text {
  color: #4A4A4A;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.course-about-highlight-box {
  background: #F5F7FA;
  border-left: 4px solid #0F4DA2;
  padding: 20px 24px;
  border-radius: 8px;
  margin-top: 24px;
}

.course-about-highlight-box p {
  color: #163D7A;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}

/* 3. Two-Column Training Details (Left) & Apply Now Form (Right) */
.course-details-list-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  height: 100%;
}

@media (max-width: 575px) {
  .course-details-list-card {
    padding: 26px 20px;
  }
}

.course-details-header {
  color: #163D7A;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.course-details-subhead {
  color: #4A4A4A;
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.5;
}

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

.course-details-li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #F5F7FA;
  color: #4A4A4A;
  font-size: 15px;
  font-weight: 600;
}

.course-details-li:last-child {
  border-bottom: none;
}

.course-details-li i {
  color: #0F4DA2;
  font-size: 16px;
  flex-shrink: 0;
}

.course-form-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  padding: 36px 30px;
  height: 100%;
}

@media (max-width: 575px) {
  .course-form-card {
    padding: 26px 20px;
  }
}

.course-form-title {
  color: #163D7A;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.course-form-subtitle {
  color: #4A4A4A;
  font-size: 14px;
  margin-bottom: 22px;
}

.course-input-group {
  margin-bottom: 18px;
}

.course-label {
  font-weight: 600;
  color: #163D7A;
  margin-bottom: 8px;
  font-size: 14px;
  display: block;
}

.course-input {
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  padding: 12px 18px;
  font-size: 15px;
  color: #4A4A4A;
  width: 100%;
  transition: all 0.3s ease;
  background-color: #FFFFFF;
}

.course-input:focus {
  border-color: #0F4DA2;
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 77, 162, 0.15);
}

.course-input.is-invalid {
  border-color: #dc3545 !important;
}

.course-error-msg {
  color: #dc3545;
  font-size: 13px;
  margin-top: 5px;
  display: none;
  font-weight: 500;
}

.btn-course-submit {
  background-color: #0F4DA2;
  color: #FFFFFF;
  border: none;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(15, 77, 162, 0.25);
  cursor: pointer;
  margin-top: 8px;
}

.btn-course-submit:hover {
  background-color: #163D7A;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(22, 61, 122, 0.35);
}

/* 4. Course Feature Cards (Overview & Why Choose) */
.course-feature-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 30px 24px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.course-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 77, 162, 0.12);
  border-color: #0F4DA2;
}

.course-feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background-color: #0F4DA2;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.course-feature-card:hover .course-feature-icon {
  background-color: #163D7A;
}

.course-feature-title {
  color: #163D7A;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.course-feature-desc {
  color: #4A4A4A;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 5. What You Will Learn List */
.course-learn-box {
  background: #F5F7FA;
  border-radius: 20px;
  padding: 36px 30px;
  border: 1px solid #E5E7EB;
}

.course-learn-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.course-learn-item i {
  color: #0F4DA2;
  font-size: 18px;
  margin-top: 3px;
}

.course-learn-item span {
  color: #4A4A4A;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

/* 6. Program Highlights Pills (Internship Focused) */
.course-highlight-pill {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.course-highlight-pill:hover {
  border-color: #0F4DA2;
  box-shadow: 0 8px 25px rgba(15, 77, 162, 0.12);
  transform: translateY(-4px);
}

.course-highlight-pill i {
  color: #0F4DA2;
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.course-highlight-pill h5 {
  color: #163D7A;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
}

/* 7. FAQ Accordion */
.course-faq-item {
  border: 1px solid #E5E7EB;
  border-radius: 14px !important;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  background: #FFFFFF;
}

.course-faq-button {
  background: #FFFFFF;
  color: #163D7A;
  font-weight: 700;
  font-size: 17px;
  padding: 20px 24px;
  box-shadow: none !important;
  border: none;
}

.course-faq-button:not(.collapsed) {
  background: #F5F7FA;
  color: #0F4DA2;
}

.course-faq-body {
  padding: 20px 24px;
  color: #4A4A4A;
  font-size: 15px;
  line-height: 1.65;
}

.alert-course-success {
  border-radius: 14px;
  background-color: #e6f4ea;
  color: #137333;
  border: 1px solid #ceead6;
  padding: 16px 20px;
}

.alert-course-danger {
  border-radius: 14px;
  background-color: #fce8e6;
  color: #c5221f;
  border: 1px solid #fad2cf;
  padding: 16px 20px;
}
