.course-hero {
  background: linear-gradient(to bottom, #eff3ff, #ffffff);
  padding: 60px 0px;
}

.course-hero .off-section-title {
  margin-bottom: 10px;
}

.course-hero .off-section-subtitle {
  margin-bottom: 15px;
  text-align: left !important;
}

.course-hero .feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.course-hero .feature-list li {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 34px;
}

.course-hero .feature-list i {
  color: white;
  margin-right: 6px;
  font-size: 18px;
  background-color: #01326E;
  padding: 4px;
}

.course-hero .mode-select {
  width: 160px;
}

.course-hero .select-mode,
.form-select {
  font-size: 18px;
  font-weight: 500;
}

.course-hero .select-mode {
  font-size: 20px;
  margin-bottom: 10px;
}

.course-hero .enroll-btn {
  background: rgb(11, 35, 90);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
}

.course-hero .counsellor-card {
  border-radius: 15px;
  background: #E0E0E0;
  padding: 30px;
}

.course-hero .counsellor-card h4 {
  color: rgb(11, 35, 90);
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
}

.course-hero .submit-btn {
  background: #ff6f47;
  color: #fff;
  font-size: 18px;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
}

.course-hero .form-control {
  padding: 10px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
}

.course-hero .form-check-label {
  font-size: 18px;
}

.course-hero .form-check-label a {
  color: rgb(11, 35, 90);
  text-decoration: none;
  font-weight: 600;
  font-size: 19px;
}

.course-hero .counsellor-card a {
  color: rgb(11, 35, 90);
  text-decoration: none;
  font-size: 18px;
}

/* courses info section */
.course-info-section {
  background: rgb(11, 35, 90);
  border-radius: 14px;
  margin: 60px 40px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.info-box {
  flex: 1;
  padding: 25px 20px;
  text-align: center;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.info-box:last-child {
  border-right: none;
}

.info-box i {
  font-size: 32px;
  margin-bottom: 25px;
}

.info-box h5 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 7px;
}

.info-box p {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .info-row {
    flex-direction: column;
  }

  .info-box {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .info-box:last-child {
    border-bottom: none;
  }
}

/* key modules section code */
.key-modules {
  padding: 60px 0px;
  background-color: #D7DEF8;
}

.module-list {
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
  max-height: 500px;
  overflow-y: auto;
  border: 1px solid #e0e0e0;
}

.module-btn {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  background: #f4f6ff;
  font-weight: 600;
  border-radius: 8px;
  text-align: left;
  transition: 0.3s;
  font-size: 20px;
}

.module-btn.active,
.module-btn:hover {
  background: #1a3bb3;
  color: white;
}

/* Right Content */
.module-content {
  min-height: 500px;
}

.module-content h4 {
  font-size: 24px;
  margin-bottom: 11px;
  color: #1a3bb3;
}

.module-content li {
  font-size: 20px;
  line-height: 32px;
  color: black;
}

.content-box {
  display: none;
}

.content-box.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Blue Background Section */
.course-fee-section {
  background: #01326E;
  padding: 60px 0px;
}

.course-fee-section li {
  font-size: 22px;
  line-height: 44px;
  color: white;
}

.course-fee-section .section-subtitle {
  color: white;
}

/* Info Cards on Right Side */
.info-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
  align-items: center;
  cursor: pointer;
  transition: 0.3s ease;
  margin-top: 30px;
}

.course-fee-section .info-card h3 {
  text-align: center;
  font-size: 22px;
  line-height: 28px;
}

.course-fee-section .info-card p {
  font-size: 18px;
  line-height: 28px;
  text-align: center;
  margin-bottom: 0px;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.info-card .icon {
  width: 55px;
  height: 55px;
  color: #1a3bb3;
  border-radius: 12px;
  font-size: 42px;
  margin-bottom: 20px;
}

.training-embedded-section {
  background: #f8f9fa;
  padding: 60px 0px;
}

.training-embedded-section img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  margin: 8px;
}

.training-embedded-section h1 {
  border: 2px solid black;
  padding: 10px 0px;
  color: red;
  font-weight: 600;
  box-shadow: 2px 2px 2px gray;
  font-size: 38px;
}

@media screen and (max-width: 1399px) {
  .course-hero .off-section-title {
    margin-bottom: 2px;
  }

  .course-hero .feature-list li {
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 30px;
  }

  .course-hero .feature-list i {
    margin-right: 4px;
    font-size: 18px;
    padding: 2px 2px;
  }

  .course-hero .select-mode {
    font-size: 22px;
  }

  .course-hero .select-mode,
  .form-select {
    font-size: 18px;
  }

  .course-hero .enroll-btn {
    padding: 5px 12px;
    font-size: 19px;
  }

  .course-hero .counsellor-card h4 {
    font-size: 30px;
    margin-bottom: 22px;
  }

  .course-hero .form-control {
    padding: 7px;
    font-size: 17px;
  }

  .course-hero .form-check-label {
    font-size: 18px;
  }

  .course-hero .counsellor-card a {
    font-size: 19px;
  }

  .course-hero .submit-btn {
    font-size: 20px;
    padding: 7px
  }

  .info-box i {
    font-size: 36px;
    margin-bottom: 24px;
  }

  .info-box h5 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .info-box p {
    font-size: 18px;
    line-height: 30px;
  }

  .module-content h4 {
    font-size: 22px;
  }

  .module-content li {
    font-size: 18px;
    line-height: 28px;
  }

  .module-btn {
    padding: 10px;
    margin-bottom: 12px;
    font-size: 18px;
  }

  .module-list {
    max-height: 450px;
  }

  .module-content {
    min-height: 450px;
  }

  .course-fee-section li {
    font-size: 20px;
    line-height: 28px;
  }

  .info-card .icon {
    font-size: 36px;
    margin-bottom: 11px;
  }

  .course-fee-section .info-card h3 {
    text-align: center;
    font-size: 20px;
    line-height: 28px;
  }

  .course-fee-section .info-card p {
    font-size: 16px;
    line-height: 28px;
  }

  .training-embedded-section h1 {
    padding: 6px 0px;
    font-size: 30px;
  }
}

@media screen and (max-width: 1199px) {
  .course-hero .feature-list li {
    font-size: 15px;
    margin-bottom: 6px;
    line-height: 26px;
  }

  .course-hero .feature-list i {
    margin-right: 4px;
    font-size: 16px;
    padding: 1px 1px;
  }

  .course-hero .select-mode,
  .form-select {
    font-size: 16px;
  }

  .course-hero .enroll-btn {
    padding: 5px 12px;
    font-size: 16px;
  }

  .course-hero .counsellor-card h4 {
    font-size: 24px;
  }

  .course-hero .form-control {
    padding: 6px;
    font-size: 14px;
  }

  .course-hero .form-check-label {
    font-size: 16px;
  }

  .course-hero .counsellor-card a {
    font-size: 17px;
  }

  .course-hero .submit-btn {
    font-size: 18px;
    padding: 6px;
  }

  .course-hero {
    padding: 30px 0px;
  }

  .info-box i {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .info-box h5 {
    font-size: 17px;
    margin-bottom: 8px;
    line-height: 29px;
  }

  .info-box p {
    font-size: 14px;
    line-height: 22px;
  }

  .module-content h4 {
    font-size: 21px;
  }

  .module-content li {
    font-size: 17px;
    line-height: 30px;
  }

  .module-btn {
    padding: 8px;
    margin-bottom: 10px;
    font-size: 16px;
  }

  .module-list {
    max-height: 350px;
  }

  .module-content {
    min-height: 350px;
  }

  .info-card .icon {
    font-size: 32px;
    margin-bottom: 9px;
  }

  .course-fee-section .info-card h3 {
    font-size: 18px;
    line-height: 30px;
  }

  .course-fee-section .info-card p {
    font-size: 15px;
    line-height: 25px;
  }

  .training-embedded-section img {
    width: 260px;
    height: 190px;
  }

  .training-embedded-section h1 {
    padding: 5px 0px;
    font-size: 22px;
  }
}

@media screen and (max-width: 991px) {
  .course-info-section {
    margin: 45px 40px;
  }

  .module-content h4 {
    font-size: 18px;
    line-height: 28px;
  }

  .module-content li {
    font-size: 15px;
    line-height: 26px;
  }

  .module-btn {
    font-size: 14px;
  }

  .key-modules {
    padding: 30px 0px;
  }

  .course-fee-section li {
    font-size: 18px;
    line-height: 32px;
  }

  .training-embedded-section img {
    width: 200px;
    height: 168px;
  }

  .training-embedded-section {
    padding: 30px 0px;
  }
}

@media screen and (max-width: 767px) {
  .module-content h4 {
    font-size: 16px;
    line-height: 26px;
  }

  .module-content li {
    font-size: 14px;
    line-height: 24px;
  }

  .module-btn {
    padding: 5px;
    margin-bottom: 13px;
  }

  .module-list {
    max-height: 250px;
  }

  .module-content {
    min-height: 250px;
  }

}

@media screen and (max-width: 575px) {
  .course-hero .feature-list li {
    font-size: 13px;
    margin-bottom: 3px;
    line-height: 24px;
  }

  .course-hero .feature-list i {
    font-size: 13px;
  }

  .course-hero .select-mode,
  .form-select {
    font-size: 15px;
  }

  .course-hero .enroll-btn {
    padding: 5px 12px;
    font-size: 14px;
  }

  .course-hero .counsellor-card h4 {
    font-size: 20px;
  }

  .course-hero .form-check-label {
    font-size: 14px;
  }

  .course-hero .counsellor-card a {
    font-size: 15px;
  }

  .course-hero .form-control {
    padding: 8px;
  }

  .module-list {
    max-height: 350px;
    padding: 10px;
  }

  .module-btn {
    font-size: 13px;
  }

  .module-content {
    min-height: 350px;
    padding: 10px !important;
  }

  .module-content h4 {
    font-size: 14px;
    line-height: 22px;
  }

  .module-content li {
    font-size: 13px;
    line-height: 23px;
  }

  .course-fee-section li {
    font-size: 16px;
    line-height: 28px;
  }
}