﻿@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Taprom&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Battambang:wght@100;300;400;700;900&family=Roboto+Slab:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Taprom&display=swap");

body {
  font-family: "Battambang", system-ui;
}
.announ-page-hero-wrapper {
  width: 100%;
  height: 50px;
  background-color: var(--blue);
}

.custom-course-card-1 {
  max-width: 500px;
  border: 3px solid transparent;
  /* border-image: linear-gradient(to right, #007bff, #00c6ff); */
  /* border-image-slice: 1; */
  border-radius: 16px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #e3f3fd;
  height: 1050px;
}
.custom-course-card-2 {
  max-width: 500px;
  border: 3px solid transparent;
  /* border-image: linear-gradient(to right, #007bff, #00c6ff); */
  /* border-image-slice: 1; */
  border-radius: 16px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #f9f1ef;
  height: 1050px;
}
.custom-course-card-3 {
  max-width: 500px;
  border: 3px solid transparent;
  /* border-image: linear-gradient(to right, #007bff, #00c6ff); */
  /* border-image-slice: 1; */
  border-radius: 16px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #f9f6fd;
  height: 1050px;
}
/* blue:#e3f3fd */
/* yellow:#fdf4e3 */
.custom-course-card-1 ul li i {
  color: var(--blue);
}
.custom-course-card-2 ul li i {
  color: var(--blue);
}
.custom-course-card-3 ul li i {
  color: var(--blue);
}
.custom-course-card-4 ul li i {
  color: var(--blue);
}
.custom-course-card-2 ul li img {
  background-color: var(--blue);
}
.custom-course-card-4 {
  max-width: 500px;
  border: 3px solid transparent;
  /* border-image: linear-gradient(to right, #007bff, #00c6ff); */
  /* border-image-slice: 1; */
  border-radius: 16px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fdf4e3;
  height: 1050px;
}
.custom-course-card-1:hover,
.custom-course-card-2:hover,
.custom-course-card-3:hover,
.custom-course-card-4:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0, 123, 255, 0.3);
}

.custom-course-card .card-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0;
}

.custom-course-card ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.custom-course-card-1 ul li,
.custom-course-card-4 ul li,
.custom-course-card-3 ul li,
.custom-course-card-2 ul li {
  padding: 0.5rem 0;
  font-size: 1rem;
  color: #34495e;
  border-bottom: 1px dashed #dcdcdc;
  transition: all 0.2s ease;
}

.custom-course-card-1 ul li:hover,
.custom-course-card-2 ul li:hover,
.custom-course-card-3 ul li:hover,
.custom-course-card-4 ul li:hover {
  letter-spacing: 0.5px;
  font-weight: 700;
  color: #18a1fd;
}
.course-card {
  border-radius: 12px;
  margin-bottom: 2rem;
}

.topic-block {
  margin-bottom: 2rem;
}
.course-level {
  color: #18a1fd;
}
.slide-content {
  padding: 2rem;
  background-color: #f8f9fa;
  height: 500px !important;
}
/* .slide-text,
.slide-image {
  display: flex;
  flex-direction: column;
  justify-content: center;
} */
/* --- The Fix for the Arrows --- */

@media (max-width: 767.99px) {
  .custom-course-card-1,
  .custom-course-card-2,
  .custom-course-card-3,
  .custom-course-card-4 {
    height: auto;
  }
  .slide-content {
    height: auto !important;
  }
}
/* tap of content  */
.tap-ofcontent-wrapper {
  background-color: #f0f2f5;
  padding-top: 50px;
  padding-bottom: 10px;
}
.about-tap-wrapper {
  font-family: var(--font-battambang);
  font-size: 20px;

  background-color: var(--blue-rgb);
  padding: 15px;
  border-radius: 12px;
}

.about-tap-wrapper .nav-link {
  color: white;
  border-radius: 10px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  font-weight: 700;
}
.about-tap-wrapper .nav-link:hover {
  border-color: #e5e7eb;
}
.about-tap-wrapper .nav-link.active {
  color: #1f2937;
  background-color: #fff;
  border-color: #4a90e2;
  border-bottom: 2px solid #4a90e2;
}
.nav-tabs .nav-link {
  color: #0d6efd !important;
}

.tab-pane {
  padding: 24px 8px !important;
}

/* Slider content styling */
.slick-target .slide {
  /* padding: 28px 16px !important; */
  background: #fff !important;
  border-radius: 16px !important;

  margin: 8px !important;
  height: 500px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.slick-target h3 {
  margin: 0 0 10px !important;
}

.slick-target p {
  max-width: 720px !important;
  margin: 0 auto 6px !important;
  line-height: 1.5 !important;
}

/* Make arrows visible */
.slick-prev:before,
.slick-next:before {
  color: #0d6efd !important;
  font-size: 25px !important;
}
.image-slider {
    width: 300px !important;
    height: 300px !important;
}

@media (max-width: 991.99px) {
    .image-slider {
        width: 200px !important;
        height: 200px !important;
    }
}
