.header {
  background: linear-gradient(rgb(2, 45, 64, 0.8), rgb(2, 45, 64, 0.8)),
    url("/public/img/cbs-chula.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 6rem 0;
}

input[type="text"],
input[type="email"] {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
}

.customSwalBtn {
  background-color: #022433;
  border: 1px sold #022433;
  color: white;
}

.customSwalBtn:hover {
  background-color: #fff;
  border: 1px sold #fff;
  color: #022433;
}

label {
  margin-top: 6px;
  margin-bottom: 6px;
}

.input-label {
  display: block;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#submit:hover {
  background-color: #fff !important;
  color: #022433 !important;
  border: 1px solid #022433 !important;
}

/* Hide the browser's default checkbox */
.input-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #fff;
  border-radius: 0.4rem;
  border: 0.08rem solid #bbb;
}

/* When the checkbox is checked, add a blue background */
.input-label input:checked ~ .checkmark {
  background-color: #022d40;
}

/* Style the checkmark/indicator */
.input-label input:checked ~ .checkmark:after {
  font-family: "Line Awesome Free";
  font-weight: 900;
  color: white;
  font-size: 90%;
  margin-left: 0.25rem;
  content: "\f00c";
}

/* Style the submit button with a specific background color etc */
.submit {
  background-color: #ddd;
  color: #022433;
  padding: 12px 20px;
  border: 1px solid #022433;
  border-radius: 12px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
.submit:hover {
  background-color: #fff !important;
  color: #022433 !important;
  border: 1px solid #022433 !important;
}

.topic {
  text-align: center;
  justify-content: center;
  align-items: center;
}

.required:after {
  content: " *";
  color: red;
}

.success {
  color: green;
}

.error {
  color: red;
}

.box {
  margin-top: 5px;
  margin-bottom: 5px;
}

.hr-sectioned {
  margin: 2.5rem 0;
}

.section-title {
  font-weight: 700;
  color: var(--primary-1);
}

.section-subtitle {
  font-weight: 500;
}

.btn-default {
  background-color: var(--primary-1);
  color: #ffffff;
  border-radius: 10rem;
  border-color: var(--primary-1);
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open {
  background-color: var(--primary-1-focus) !important;
  color: #ffffff !important;
  border-color: var(--primary-1-focus);
}

.mt-4-5 {
  margin-top: 2rem;
}

.ps-2-5 {
  padding-left: 0.75rem;
}

/* --------------------------------------------------------------------------------- */
/* slider */
/* --------------------------------------------------------------------------------- */

/* Hide scrollbar for Chrome, Safari and Opera */
.slider-container::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.slider-container {
  overflow-x: scroll;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.icon-slide-slider {
  border-radius: 10rem;
  border: 1px solid var(--primary-1);
  padding: 0.4rem;
  color: var(--primary-1);
  cursor: pointer;
  font-size: 120%;
}

/* --------------------------------------------------------------------------------- */
/* usps section */
/* --------------------------------------------------------------------------------- */

.note {
  height: 60px;
}
@media (max-width: 768px) {
  .note {
    height: 80px;
    display: inline-flex;
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) {
  .usp-section-title {
    padding-top: 0.8rem;
  }
}

.usp-card {
  padding: 0.75rem;
  display: inline-flex;
}

.usp-card:nth-child(1) {
  border-right: 0.2px solid #eee;
  border-bottom: 0.2px solid #eee;
}

.usp-card:nth-child(2) {
  border-left: 0.2px solid #eee;
  border-bottom: 0.2px solid #eee;
}

.usp-card:nth-child(5) {
  border-top: 0.2px solid #eee;
  border-right: 0.2px solid #eee;
}

.usp-card:nth-child(6) {
  border-left: 0.2px solid #eee;
  border-top: 0.2px solid #eee;
}

@media (max-width: 768px) {
  .usp-card:nth-child(3) {
    border-top: 0.2px solid #eee;
    border-right: 0.2px solid #eee;
    border-bottom: 0.2px solid #eee;
  }

  .usp-card:nth-child(4) {
    border-left: 0.2px solid #eee;
    border-top: 0.2px solid #eee;
    border-bottom: 0.2px solid #eee;
  }
}

@media (min-width: 768px) {
  .usp-card:nth-child(2) {
    border-right: 0.2px solid #eee;
  }

  .usp-card:nth-child(3) {
    border-left: 0.2px solid #eee;
    border-bottom: 0.2px solid #eee;
  }

  .usp-card:nth-child(4) {
    border-top: 0.2px solid #eee;
    border-right: 0.2px solid #eee;
  }

  .usp-card:nth-child(5) {
    border-left: 0.2px solid #eee;
  }
}

.usp-icon {
  color: var(--primary-1);
  margin-top: -0.4rem;
  font-size: 2.5em;
}

.usp-title {
  font-weight: bold;
  color: var(--primary-2);
  margin-bottom: 0.25rem;
}

.usp-description {
  font-size: small;
  color: #888;
  margin-bottom: 0;
}

@media (min-width: 1200px) {
  .usp-title {
    font-size: large;
  }

  .usp-description {
    font-size: medium;
  }
}

/* --------------------------------------------------------------------------------- */
/* courses section */
/* --------------------------------------------------------------------------------- */

.course-card {
  border-radius: 0.5rem;
  background-color: var(--secondary);
  display: flex;
  width: 100%;
  height: 250px;
  cursor: pointer;
  border: 1px solid #ddd;
  transition: 0.4s;
}

.course-card:hover {
  transform: translate(0, -4px);
  box-shadow: 0 4px 8px lightgrey;
  cursor: pointer;
}

.course-card > .course-card-thumbnail {
  width: 25%;
  background-size: cover;
  background-position: center;
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}

.course-card > .course-card-content {
  width: 75%;
  padding: 1rem;
}

.course-card-content > .course-tag {
  font-size: 75%;
  width: fit-content;
  padding: 0.1rem 0.5rem;
  background-color: #e2e2e2;
  color: #666;
  border-radius: 0.5rem;
  display: inline;
}

.course-card-content > .course-detail {
  height: 8.2rem;
}

.course-card-content > .course-detail > .course-name {
  font-weight: 900;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  line-height: 1.4rem;
}

.course-card-content > .course-detail > .course-description {
  color: #666;
  font-size: small;
  margin-bottom: 0;
  line-height: 1.2rem;
  height: 6rem;
}

.course-card-content > .course-modules-toggle-button {
  color: #444;
  font-size: small;
  text-align: right;
  margin-left: -1rem;
  margin-right: -1rem;
  margin-bottom: -1rem;
  padding-right: 1rem;
  padding-left: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

.course-card-content > .course-modules {
  margin-top: 0.5rem;
  display: none;
  font-size: small;
}

/* --------------------------------------------------------------------------------- */
/* instructors section */
/* --------------------------------------------------------------------------------- */

.instructor-card {
  width: 12rem;
  margin-left: 1rem;
}

/* --------------------------------------------------------------------------------- */
/* testimonials & companies section */
/* --------------------------------------------------------------------------------- */

.testimonial-card {
  width: 20rem;
  margin-left: 1rem;
  padding: 1rem;
  padding-bottom: 5.5rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  position: relative;
}

.testimonial-card > div {
  position: relative;
}

.company-img {
  text-align: center;
  flex: 0 0 auto;
  padding: 1rem 0;
}

/* 100/6 for mobile */
@media (max-width: 768px) {
  .company-img {
    width: 16.6667%;
  }

  .company-img > img {
    width: 75%;
  }
}

/* 100/8 for tablet */
@media (min-width: 768px) {
  .company-img {
    width: 12.5%;
  }

  .company-img > img {
    width: 60%;
  }
}

/* 100/10 for desktop */
@media (min-width: 1200px) {
  .company-img {
    width: 10%;
  }

  .company-img > img {
    width: 50%;
  }
}

/* --------------------------------------------------------------------------------- */
/* articles section */
/* --------------------------------------------------------------------------------- */

.article-card {
  cursor: pointer;
}

.article-card:hover {
  text-decoration: underline;
}

.see-more-articles {
  color: var(--primary-1);
  text-decoration: underline;
  cursor: pointer;
}

.see-more-articles:hover {
  color: var(--primary-1-focus);
}

/* --------------------------------------------------------------------------------- */
/* lead generator section */
/* --------------------------------------------------------------------------------- */

.form-control-default {
  border-radius: 10rem;
}

/* --------------------------------------------------------------------------------- */
/* create popup section */
/* --------------------------------------------------------------------------------- */
/* CSS for the popup */
#countdown {
  font-size: 42px;
  font-weight: bold;
  color: #022d40;
  text-align: right;
  background-color: #022d40;
  padding-top: 10px;
  display: flex;
  justify-content: right;
}

#countdown span {
  display: inline-block;
  padding: 5px;
  text-align: center;
}

.time-frame {
  background-color: #ffdc25;
  box-sizing: border-box;
}

.time-label {
  display: block;
  font-size: 11px;
  color: #fff;
}

.time-component {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 5px;
}

.colon {
  background-color: transparent;
  color: #fff;
}

#countdown-wrapper {
  font-size: 27px;
  font-weight: bold;
  color: #000;
  text-align: center;
  background-color: #022d40;
  padding-right: 10px;
  padding-left: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#countdown-wrapper .promotion-text {
  color: #fff;
  font-weight: normal;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1; /* Add this to make the text take up the remaining space */
}
@media only screen and (max-width: 600px) {
  #countdown {
    font-size: 21px;
    font-weight: bold;
    color: #022d40;
    text-align: right;
    background-color: #022d40;
    padding-top: 10px;
    display: flex;
    justify-content: right;
  }

  #countdown span {
    display: inline-block;
    padding: 5px;
    text-align: center;
  }

  .time-frame {
    background-color: #ffdc25;
    box-sizing: border-box;
  }

  .time-label {
    display: block;
    font-size: 11px;
    color: #fff;
  }

  .time-component {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 5px;
  }

  .colon {
    background-color: transparent;
    color: #fff;
  }

  #countdown-wrapper {
    font-size: 13px;
    font-weight: bold;
    color: #000;
    background-color: #022d40;
    padding-right: 10px;
    padding-left: 10px;
    justify-content: center;
  }

  #countdown-wrapper .promotion-text {
    color: #fff;
    font-weight: normal;
    padding-bottom: 10px;
    text-align: center;
    justify-content: center;
  }
}

#popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 600px;
  background-color: #ffffff;
  padding: 0; /* Remove padding */
  border-radius: 0; /* Remove border-radius */
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
  display: none;
}
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  #popup {
    width: 65%; /* Adjust the width based on your requirements */
    max-width: 450px; /* Adjust the max-width based on your requirements */
  }
}

#popup img {
  display: block;
  vertical-align: top;
  object-fit: contain; /* Ensure the entire image is displayed */
  border-radius: 0; /* Remove border-radius */
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  #popup img {
    max-height: 60vh; /* Adjust the max-height based on your requirements */
  }
}

#popup button {
  position: absolute;
  left: 50%;
  bottom: -60px;
  transform: translateX(-50%);
  display: block;
  padding: 5px 40px;
  background-color: #0cb4ce;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 20px; /* add this property to set the font size */
}

#popup button:focus {
  outline: none;
}

.popup-fade {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* adjust the opacity as desired */
  z-index: 998;
  display: none;
}

.forum-header {
  position: relative;
  overflow: hidden;
}

.forum-header > div {
  position: relative;
  z-index: 10;
}

.forum-header > img {
  position: absolute;
}

.forum-header > .header-bg:nth-child(1) {
  top: 0;
  right: 0;
  width: 50%;
  max-width: 400px;
}

.forum-header > .header-bg:nth-child(2) {
  bottom: 0;
  left: 0;
  width: 50%;
  max-width: 500px;
  transform: scaleX(-1) scaleY(-1);
}

.forum-header > .header-hexagon {
  animation: header-hexagon-animation 10s linear infinite;
  opacity: 20%;
}

@keyframes header-hexagon-animation {
  50% {
    transform: translate(-50%, 50%);
  }
}

.forum-header > .header-hexagon:nth-child(3) {
  top: 0;
  right: 5%;
  width: 100px;
  transform: rotate(-20deg) translate(-50%, 0);
}

.forum-header > .header-hexagon:nth-child(4) {
  top: 60%;
  left: 10%;
  width: 150px;
  transform: rotate(20deg) translate(-50%, 0);
}

.forum-header > .header-hexagon:nth-child(5) {
  top: 80%;
  right: 0;
  width: 80px;
  transform: rotate(-10deg) translate(-50%, 0);
}

.forum-header > .header-cube {
  animation: header-cube-animation 20s linear infinite;
  opacity: 40%;
}

@keyframes header-cube-animation {
  50% {
    transform: translate(-50%, -80%);
  }
}

.forum-header > .header-cube:nth-child(6) {
  top: 35%;
  left: 30%;
  width: 160px;
  transform: rotate(-20deg) translate(-50%, -50%);
}

.forum-header > .header-cube:nth-child(7) {
  top: 45%;
  left: 75%;
  width: 100px;
  transform: rotate(20deg) translate(-50%, -50%);
}

.forum-header > .header-cube:nth-child(8) {
  top: 75%;
  left: 70%;
  width: 120px;
  transform: rotate(-10deg) translate(-50%, -50%);
}

.title-default {
  font-size: 220%;
  font-weight: 800;
  color: #ffc670;
  text-shadow: 0 0 10px #ffc670;
}

.price {
  font-size: 72px;
  font-weight: 800;
  color: #ffc670;
  text-shadow: 0 0 10px #ffc670;
}

.forum-header {
  position: relative;
  overflow: hidden;
}

.forum-header > div {
  position: relative;
  z-index: 10;
}

.forum-header > img {
  position: absolute;
}

.forum-header > .header-bg:nth-child(1) {
  top: 0;
  right: 0;
  width: 50%;
  max-width: 400px;
}

.forum-header > .header-bg:nth-child(2) {
  bottom: 0;
  left: 0;
  width: 50%;
  max-width: 500px;
  transform: scaleX(-1) scaleY(-1);
}

.forum-header > .header-hexagon {
  animation: header-hexagon-animation 10s linear infinite;
  opacity: 20%;
}

@keyframes header-hexagon-animation {
  50% {
    transform: translate(-50%, 50%);
  }
}

.forum-header > .header-hexagon:nth-child(3) {
  top: 0;
  right: 5%;
  width: 100px;
  transform: rotate(-20deg) translate(-50%, 0);
}

.forum-header > .header-hexagon:nth-child(4) {
  top: 60%;
  left: 10%;
  width: 150px;
  transform: rotate(20deg) translate(-50%, 0);
}

.forum-header > .header-hexagon:nth-child(5) {
  top: 80%;
  right: 0;
  width: 80px;
  transform: rotate(-10deg) translate(-50%, 0);
}

.forum-header > .header-cube {
  animation: header-cube-animation 20s linear infinite;
  opacity: 40%;
}

@keyframes header-cube-animation {
  50% {
    transform: translate(-50%, -80%);
  }
}

.forum-header > .header-cube:nth-child(6) {
  top: 35%;
  left: 30%;
  width: 160px;
  transform: rotate(-20deg) translate(-50%, -50%);
}

.forum-header > .header-cube:nth-child(7) {
  top: 45%;
  left: 75%;
  width: 100px;
  transform: rotate(20deg) translate(-50%, -50%);
}

.forum-header > .header-cube:nth-child(8) {
  top: 75%;
  left: 70%;
  width: 120px;
  transform: rotate(-10deg) translate(-50%, -50%);
}

.slide-bar {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 20px;
  scroll-snap-type: x mandatory;
}

.slide-bar::-webkit-scrollbar {
  display: none;
}

.slide-bar::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border: none;
}