/* =========================================
   MAIN SECTION
========================================= */
main {
  width: 100%;
  padding: 4% 0;
  background: linear-gradient(180deg, #ffffff 0%, rgba(244, 245, 248, 0.5) 100%);
}

/* =========================================
   LANDING IMAGE SECTION
========================================= */
.image-container {
  position: relative;
  z-index: 300;
  width: 100%;
  height: fit-content;
  padding: 5% 0;
  background: url("../images/home_image.svg") center/cover no-repeat;
  border-top-left-radius: 60px;
  border-bottom-right-radius: 60px;
}

.image-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 320;
  background: linear-gradient(0deg, #182c35 11.46%, rgba(0, 0, 0, 0.5) 54.75%);
  border-top-left-radius: 60px;
  border-bottom-right-radius: 60px;
}

.landing-image-content {
  position: relative;
  z-index: 350;
  padding: 8% 4% 0;
}

.landing-image-content h3 {
  font-size: 56px;
  font-weight: 700;
  line-height: 72px;
  color: #fff;
  margin-bottom: 5%;
}

.main-button {
  width: 180px;
  height: 48px;
  color: #fff;
  background: #e74f54;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  outline: none;
  border: transparent;
  border-top-left-radius: 16px;
  border-bottom-right-radius: 16px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.landing-image-content button:hover {
  background-color: #fff;
  border: 1px solid #e74f54;
  color: #e74f54;
}

/* =========================================
   COURSE CATALOG CONTAINER
========================================= */
.course-catalog-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 3% 0;
  background-color: #fff;
  overflow: hidden;
}

.course-catalog-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.course-catalog-container.show .course-catalog-text {
  opacity: 1;
  transform: translateY(0);
}

.course-catalog-text h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
  color: #182c35;
  margin-bottom: 1%;
}

.course-catalog-text p {
  width: 60%;
  font-size: 16px;
  line-height: 24px;
  color: #5d6b72;
}

/* =========================================
   SLIDER SECTION
========================================= */
.course-cataloges {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin: 3% auto;
  padding: 40px 2%;
  background: #f4f5f8;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  overflow: hidden;
}

.slider-wrapper {
  width: 100%;
  max-width: 1050px;
}

.slider {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

/* Card Styles */
.card {
  position: relative;
  flex: 0 0 36.9333%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 400px;
  margin: 0 1%;
  padding: 25px;
  background: #fff center/cover no-repeat;
  border-top-left-radius: 28px;
  border-bottom-right-radius: 28px;
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.8s ease;
  z-index: -1;
}

#card-1 { background-image: url("../images/hr.svg"); }
#card-2 { background-image: url("../images/marketing.svg"); }
#card-3 { background-image: url("../images/customer.svg"); }
#card-4 { background-image: url("../images/customer.svg"); }

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 800;
  background: linear-gradient(0deg, #182c35cc 11.46%, rgba(0, 0, 0, 0.3) 54.75%);
  border-top-left-radius: 28px;
  border-bottom-right-radius: 28px;
}

.course-catalog-container.show .card {
  opacity: 1;
  transform: translateY(0);
}

.card-content {
  position: relative;
  z-index: 900;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  margin-bottom: 10px;
}

.card-content p {
  width: 75%;
  color: #fff;
  font-size: 14px;
  line-height: 24px;
}

/* Slider Arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  width: 77px;
  height: 77px;
  border: none;
  border-radius: 50%;
  background: #00000052;
  color: #fff;
  font-size: 1.9rem;
  cursor: pointer;
  z-index: 2;
  transform: translateY(-50%);
  transition: background 0.3s, transform 0.2s;
}

.slider-btn:hover {
  background: #05050552;
  transform: translateY(-50%) scale(1.1);
}

.arrow2 {
  position: absolute;
  top: 79%;
  right: 0;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: #00000052;
  color: #fff;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  z-index: 2;
  transition: 0.3s ease-in-out;
}

.arrow2:hover {
  background: #05050552;
  transform: scale(1.1);
}

.next-btn { right: 1%; }

/* =========================================
   CHOOSE US SECTION
========================================= */
.choose-us {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 4% 6%;
  background: #182c35;
}

.choose-us h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
  color: #fff;
  margin-bottom: 3%;
}

.choose-us-text { width: 50%; }

.choose-us p {
  font-size: 16px;
  line-height: 24px;
  color: #fff;
}

/* =========================================
   UNIQUE SLIDER (CONFLICT-FREE)
========================================= */
.uniq-slider-section {
  width: 100%;
  margin: 30px auto;
  padding: 30px 0;
  background: #f7f8fb;
  border-radius: 18px;
  box-sizing: border-box;
}

/* Tabs */
.uniq-tabs {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 20px;
}

.uniq-tab {
  background: transparent;
  border: none;
  padding: 8px 6px;
  font-size: 16px;
  font-weight: 700;
  color: #6b6f76;
  cursor: pointer;
  position: relative;
  transition: color 0.18s ease;
}

.uniq-tab:focus { outline: none; }
.uniq-tab--active { color: #000; }

.uniq-tab--active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  background: #000;
  border-radius: 3px;
}

/* Slider Outer */
.uniq-slider-outer {
  position: relative;
  overflow: hidden;
  padding: 10px 56px 10px 10px;
}

/* Track Wrapper */
.uniq-track-wrapper {
  width: 100%;
  box-sizing: border-box;
}

.uniq-track-wrapper[aria-hidden="true"] { display: none; }

.uniq-track {
  display: flex;
  gap: 18px;
  transition: transform 0.55s cubic-bezier(0.22, 0.9, 0.32, 1);
  will-change: transform;
}

/* Card */
.uniq-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  height: 511px;
  box-shadow: 0 6px 18px rgba(12, 18, 30, 0.06);
}

/* Image */
.uniq-card-img {
  height: 50%;
  width: 100%;
  padding: 12px;
  overflow: hidden;
}

.uniq-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

/* Card Body */
.uniq-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 20px;
}

/* Badge */
.uniq-badge {
  display: flex;
  background: #f4f5f8;
  color: #6e8a9e;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 12px;
  padding: 14px 12px;
  font-size: 12px;
  align-self: flex-start;
  gap:8px;
}

/* Info */
.instructor-info,
.course-info {
  display: flex;
  justify-content: space-between;
  color: #5d6b72;
}

.instructor-info h3,
.instructor-info span {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
}

.course-info span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-info:not(.Recorded) {
  font-size: 14px;
  color: #5d6b72;
}

.Recorded {
  font-weight: 500;
  color: #e74f54;
  font-size: 14px;
}

/* Typography */
.uniq-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.uniq-desc {
  margin: 0;
  font-size: 14px;
  color: #5b6169;
  line-height: 1.4;
}

/* Next Button */
.uniq-next-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 77px;
  height: 77px;
  border: none;
  border-radius: 50%;
  background: #00000052;
  color: #fff;
  font-size: 55px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease, background 0.12s ease;
  z-index: 5;
}
