:root {
  --primary-red: #e61e25;
  --dark-overlay: rgba(0, 0, 0, 0.6);
  --deep-blue: #002e5b;
  --text-color: #333;
  --bg-light: #f9f9f9;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(var(--dark-overlay), var(--dark-overlay)),
    url('https://images.unsplash.com/photo-1516937941344-00b4e0337589?auto=format&fit=crop&q=80&w=2070')
      no-repeat center center/cover;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.red-badge {
  background-color: var(--primary-red);
  padding: 5px 20px;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 20px;
  clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 30px;
}

.btn-request {
  background-color: var(--primary-red);
  color: white;
  border: none;
  padding: 12px 30px;
  font-weight: bold;
  transition: 0.3s;
}

.btn-request:hover {
  background-color: #b3141a;
  color: white;
  transform: translateY(-3px);
}


.feature-container {
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

.feature-card {
  background: white;
  color: #333;
  padding: 30px;
  border-left: 10px solid var(--primary-red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: 0.4s;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.icon-box {
  width: 50px;
  height: 50px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: var(--primary-red);
}

.feature-card h5 {
  font-weight: 700;
  font-size: 1.1rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: #666;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .feature-container {
    margin-top: 20px;
  }
}

/* ----------------------------------------------------------------------  */

.stats-section {
  background: --dark-overlay; 
  padding: 100px 0;
}

.stat-item {
  padding: 20px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-icon-wrap {
  width: 70px;
  height: 70px;
  line-height: 70px;

  background: var(--primary-red);
  border-radius: 50%;
  margin: 0 auto 20px;

  color: white;
  font-size: 1.8rem;
  transition: 0.3s;
}

.stat-item:hover .stat-icon-wrap {
  background: var(--primary-red);
  color: white;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 5px;
  font-family: 'Arial Black', sans-serif;
}

.stat-text {
  font-size: 1rem;
  font-weight: 600;
  color: #ded5d5;
  text-transform: uppercase;
  letter-spacing: 1px;
}


[data-aos] {
  pointer-events: none;
}
.aos-animate {
  pointer-events: auto;
}
/* ----------------------------------------------------------------  */

.course-intro-section {
  background-color: #ffffff;
  position: relative;
}


.course-intro-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  width: 5px;
  height: 60%;
  background-color: var(--primary-red);
}

.sub-heading {
  color: var(--primary-red);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.main-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--deep-blue);
  line-height: 1.2;
}

.text-red {
  color: var(--primary-red);
}

.red-line {
  width: 80px;
  height: 4px;
  background-color: var(--primary-red);
  margin-top: 20px;
}

.description-box .lead-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}

.description-box .detail-text {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.8;
}

.btn-outline-danger {
  border: 2px solid var(--primary-red);
  color: var(--primary-red);
  transition: 0.3s;
}

.btn-outline-danger:hover {
  background-color: var(--primary-red);
  color: white;
}

@media (max-width: 991px) {
  .main-title {
    font-size: 2.2rem;
  }
  .description-box {
    margin-top: 30px;
    padding-left: 0 !important;
  }
  .course-intro-section::before {
    display: none;
  }
}

/* ------------------------------------------------------------------------------------  */

.overview-section {
  background-color: var(--dark-overlay);
}

.overview-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.overview-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.overview-image-wrapper:hover img {
  transform: scale(1.1);
}
.image-overlay-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: bold;
}

.overview-content {
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.sub-title {
  color: var(--primary-red);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--deep-blue);
  line-height: 1.2;
}

.text-red {
  color: var(--primary-red);
}

.overview-text p {
  color: var(--text-color);
  line-height: 1.7;
}

.overview-text .lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: #333;
}


.read-more-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.read-more-content.expanded {
  max-height: 500px; 
  transition: max-height 0.5s ease-in;
}

.btn-red {
  background-color: var(--primary-red);
  color: white;
  border: none;
  transition: 0.3s;
}

.btn-red:hover {
  background-color: #b3141a;
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .section-title {
    font-size: 2.2rem;
  }
}

/* ----------------------------------------------------------------------------------  */

:root {
  --brand-blue: #002e5b;
  --brand-red: #e61e25;
}

.brand-blue {
  color: var(--brand-blue);
}
.bg-red {
  background-color: var(--brand-red);
}
.text-red {
  color: var(--primary-red);
}
.fw-800 {
  font-weight: 800;
}
.letter-spacing-2 {
  letter-spacing: 2px;
}

.why-choose-section {
  background-color: #fff;
  overflow: hidden;
}


.benefit-item {
  display: flex;
  align-items: flex-start;
}
.benefit-content h5 {
  color: var(--brand-blue);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.benefit-content p {
  font-size: 0.95rem;
  line-height: 1.5;
}


.icon-box-left,
.icon-box-right {
  min-width: 50px;
  height: 50px;
  background: #f1f1f1; 
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;

 
  color: --primary-red !important;

  font-size: 1.4rem;
  transition: all 0.4s ease; 
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}


.icon-box-left i,
.icon-box-right i {
  color: --primary-red; 
  transition: 0.3s;
}


.benefit-item:hover .icon-box-left,
.benefit-item:hover .icon-box-right {
  background: --primary-red; 
  transform: rotateY(180deg);
}


.benefit-item:hover .icon-box-left i,
.benefit-item:hover .icon-box-right i {
  color: #ffffff !important;
}

.central-image-wrapper {
  position: relative;
  padding: 20px;
}

.central-image-wrapper img {
  width: 100%;
  max-width: 320px;
  height: 320px;
  object-fit: cover;
  border: 8px solid #fff;
  z-index: 2;
  position: relative;
}

/* .pulse-ring {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 340px;
        height: 340px;
        border: 2px solid var(--brand-red);
        border-radius: 50%;
        animation: pulse 2s infinite;
        opacity: 0;
    } */

/* @keyframes pulse {
        0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
        100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
    } */

@media (max-width: 991px) {
  .benefit-item {
    text-align: left !important;
    flex-direction: row !important;
    margin-bottom: 30px !important;
  }
  .icon-box-right {
    margin-left: 0 !important;
    margin-right: 1rem !important;
  }
  .central-image-wrapper img {
    height: 250px;
    width: 250px;
  }
}
/* -----------------------------------------------------------------------------  */

:root {
  --dark-overlay: rgba(0, 0, 0, 0.75); 
  --brand-red: #e61e25;
}


.syllabus-card-dark {
  background: rgba(255, 255, 255, 0.05); 
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.syllabus-card-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-left: 5px solid var(--primary-red);
  transform: translateX(10px);
}

.module-index {
  font-family: 'Arial Black', sans-serif;
  color: var(--primary-red);
  font-size: 1.2rem;
  font-weight: 900;
  opacity: 0.8;
}

.highlight-card-dark {
  border-left: 5px solid var(--primary-red);
  background: rgba(230, 30, 37, 0.1);
}


.sticky-form-container {
  position: sticky;
  top: 100px;
  z-index: 99;
}

.syllabus-form-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.text-red {
  color: var(--primary-red);
}
.bg-red {
  background-color: var(--primary-red);
}
.btn-red {
  background-color: var(--primary-red);
  color: white;
  border: none;
  transition: 0.3s;
}
.btn-red:hover {
  background-color: --primary-red;
  color: white;
  transform: scale(1.02);
}
.letter-spacing-2 {
  letter-spacing: 2px;
}
.fw-600 {
  font-weight: 600;
}
.fw-800 {
  font-weight: 800;
}

@media (max-width: 991px) {
  .sticky-form-container {
    position: relative;
    top: 0;
    margin-top: 50px;
  }
}
/* ----------------------------------------------------- ----------------------------------------- */










.qualification-section {
  overflow: hidden;
}

.qual-card {
  background: rgba(255, 255, 255, 0.05); 
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: 15px;
  height: 100%;
  text-align: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}


.featured-qual {
  border-top: 5px solid var(--primary-red);
  background: rgba(230, 30, 37, 0.1);
}

.qual-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-10px);
  border-color: var(--primary-red);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}


.qual-icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--primary-red);
  color: white; 
  font-size: 2.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  position: relative;
  transition: 0.3s;
}

.qual-icon-wrapper i {
  color: white !important; 
}

.qual-card:hover .qual-icon-wrapper {
  background: var(--primary-red);
  transform: scale(1.1);
}

.step-num {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--primary-red);
  color: white;
  width: 25px;
  height: 25px;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #111;
}

/* ---------------------------------------------------------------------------------------------  */

.role-list-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  height: 100%;
  backdrop-filter: blur(5px);
}

.role-number {
  font-family: 'Arial Black', sans-serif;
  font-size: 1.5rem;
  color: var(--primary-red);
  margin-right: 20px;
  opacity: 0.5;
  transition: 0.3s;
}

.role-name {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0;
  letter-spacing: 0.5px;
}


.role-list-item:hover {
  background: rgba(230, 30, 37, 0.1);
  border-color: var(--primary-red);
  transform: scale(1.03);
  cursor: pointer;
}

.role-list-item:hover .role-number {
  opacity: 1;
  transform: rotate(360deg);
}

.active-role {
  border-left: 4px solid var(--primary-red);
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .role-list-item {
    padding: 15px;
  }
  .role-number {
    font-size: 1.2rem;
  }
}
/* ----------------------------------------------------------------------------------------  */
.cert-card {
    background: #222429;
    padding: 10px;
    border: 1px solid #406aff;
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(64, 106, 255, 0.2);
    border-color: #fff;
}

.cert-thumb {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
}


.cert-card.vertical {
    max-width: 320px;
    margin: 0 auto;
}


#enlargedCertImage {
    max-height: 90vh;
    border: 3px solid #406aff;
}
/* ---------------------------- ENROLL */

.btn-request {
    background-color:   --primary-red;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid   --primary-red;
}

.btn-request:hover {
    background-color: transparent;
    color:   --primary-red;
    transform: translateY(-2px);
}


#enrollModal .form-control:focus {
    background-color: #222;
    color: white;
    border-color:   --primary-red;
    box-shadow: 0 0 0 0.25rem rgba(64, 106, 255, 0.25);
}
.enroll-modal-custom {
    background-color: #1a1c20;
    border: 1px solid var(--primary-red); 
    color: white;
}

.enroll-modal-custom .modal-header {
    border-bottom: 1px solid #333;
}


.enroll-modal-custom .form-control,
.enroll-modal-custom .form-select,
.enroll-modal-custom .input-group-text {
    background-color: #212529;
    border: 1px solid #495057;
    color: white;
}


.enroll-modal-custom .form-control:focus,
.enroll-modal-custom .form-select:focus {
    background-color: #1a1c20;
    color: white;
    border-color: var(--primary-red); 

    box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0.25); 
}


.enroll-modal-custom .form-control::placeholder {
    color: #adb5bd;
    opacity: 0.6;
}


.btn-enroll-submit {

    background-color: #ff0000 !important; 
    border: none !important;
    padding: 12px !important;
    color: white !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-enroll-submit:hover {
    background-color: #cc0000 !important; 
    color: white !important;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* ----------------------------------------  */



