/* Import Times New Roman font */
@import url("https://fonts.googleapis.com/css2?family=Times+New+Roman&display=swap");

/* Global Styles */
body {
  font-family: "Times New Roman", Times, serif !important;
  background-color: #fff;
  color: #333;
  margin: 0;
  padding: 0;
  direction: ltr;
  text-align: left;
}

/* ========================================= */
/* HERO BANNER SECTION                       */
/* ========================================= */
.hero-banner {
  position: relative;
  width: 100%;
  height: 382px;
  background: url('/images/Banner/banner_1_1440_20241214233139191_20251220210901798_20251221214847860.jpg') center center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: none;
}

.hero-banner::before {
  content: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 2rem 4rem;
  margin-left: 2rem;
}

.hero-tagline {
  color: rgb(255, 250, 252);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 0.8rem;
  letter-spacing: 0.3px;
}

.hero-title {
  color: rgb(255, 240, 243);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1.8rem 0;
  letter-spacing: -0.3px;
}

.hero-btn {
  display: inline-block;
  background-color: rgb(228, 202, 112);
  color: rgb(165, 28, 48);
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background-color: rgb(218, 192, 102);
  transform: translateY(-2px);
}

.hero-overlay {
  display: none;
}

/* Hero Banner Responsive */
@media (max-width: 992px) {
  .hero-banner {
    height: 320px;
  }

  .hero-content {
    padding: 2rem 3rem;
    margin-left: 1rem;
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-tagline {
    font-size: 1.15rem;
  }
}

@media (max-width: 576px) {
  .hero-banner {
    height: 280px;
  }

  .hero-content {
    padding: 1.5rem 2rem;
    margin-left: 0;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-tagline {
    font-size: 1.05rem;
  }

  .hero-btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.85rem;
  }
}

/* ========================================= */
/* END HERO BANNER SECTION                   */
/* ========================================= */

/* ========================================= */
/* EXCELLENCE IN BUSINESS EDUCATION SECTION  */
/* ========================================= */
.excellence-section {
  background-color: #ffffff;
  padding: 3rem 5%;
  text-align: center;
}

.stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6rem;
  margin-bottom: 3rem;
}

.excellence-section .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.excellence-section .stats-row .stat-number {
  font-size: 4rem;
  font-weight: 700;
  color: #a51c30;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.excellence-section .stats-row .stat-label {
  font-size: 2rem;
  color: #a51c30;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.8;
}

.excellence-content {
  max-width: 1000px;
  margin: 0 auto;
}

.excellence-title {
  font-size: 4rem;
  font-weight: 700;
  color: #a51c30;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.excellence-description {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #4a4a4a;
  max-width: 900px;
  margin: 0 auto;
}

/* Excellence Section Responsive */
@media (max-width: 992px) {
  .excellence-section .stats-row {
    gap: 3rem;
  }

  .excellence-section .stats-row .stat-number {
    font-size: 2rem;
  }

  .excellence-section .stats-row .stat-label {
    font-size: 1rem;
  }

  .excellence-title {
    font-size: 2rem;
  }

  .excellence-description {
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  .excellence-section {
    padding: 2.5rem 4%;
  }

  .excellence-section .stats-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .excellence-section .stats-row .stat-number {
    font-size: 1.5rem;
  }

  .excellence-section .stats-row .stat-label {
    font-size: 1rem;
  }

  .excellence-title {
    font-size: 1.5rem;
  }

    .excellence-description {
        font-size: 1.5rem;
        line-height: 1.7;
        text-align: center;
    }
}

/* ========================================= */
/* END EXCELLENCE SECTION                    */
/* ========================================= */

/* ========================================= */
/* FUTURE-READY LEARNING PORTFOLIO SECTION   */
/* ========================================= */
.portfolio-section {
  padding: 3rem 0 0 0;
  background-color: #ffffff;
}

.portfolio-main-title {
  text-align: center;
  font-size: 3.35rem;
  font-weight: 700;
  color: #a51c30;
  margin-bottom: 2rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.portfolio-item {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portfolio-item.text-item {
  background-color: #a51c30;
  color: #ffffff;
  padding: 2rem;
}

.portfolio-item.text-item h3 {
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.portfolio-item.text-item p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.portfolio-item.image-item {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.portfolio-item.image-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to top, rgba(165, 28, 48, 0.8) 0%, rgba(165, 28, 48, 0.4) 50%, transparent 100%);
  transition: height 0.4s ease;
  pointer-events: none;
}

.portfolio-item.image-item:hover::after {
  height: 100%;
}

.portfolio-item.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.portfolio-item.image-item:hover img {
  transform: scale(1.05);
}

/* Portfolio Section Responsive */
@media (max-width: 992px) {
  .portfolio-main-title {
    font-size: 2.65rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .portfolio-item {
    min-height: 250px;
  }

  .portfolio-item.text-item h3 {
    font-size: 1.45rem;
  }

  .portfolio-item.text-item p {
    font-size: 1.05rem;
  }
}

@media (max-width: 576px) {
  .portfolio-section {
    padding: 2rem 0 0 0;
  }

  .portfolio-main-title {
    font-size: 1.9rem;
    padding: 0 1rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item {
    min-height: 200px;
  }

  .portfolio-item.text-item {
    padding: 1.5rem;
  }

  .portfolio-item.text-item h3 {
    font-size: 1.3rem;
  }

  .portfolio-item.text-item p {
    font-size: 1rem;
  }
}

/* ========================================= */
/* END PORTFOLIO SECTION                     */
/* ========================================= */

/* ========================================= */
/* WHY CHOOSE London Executive SECTION      */
/* ========================================= */
.why-choose-section {
  background-color: #FDF5F5;
  padding: 4rem 5%;
  text-align: center;
}

.why-choose-content {
  max-width: 1250px;
  margin: 0 auto 3rem auto;
  padding: 0 2%;
}

.why-choose-title {
  font-size: 3.35rem;
  font-weight: 700;
  color: #a51c30;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.why-choose-subtitle {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #4a4a4a;
  max-width: 90%;
}

.why-choose-cards {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2%;
}

.why-choose-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-card:hover {
  background-color: #FDF5F5;
  box-shadow: none;
}

.why-choose-icon {
  margin-bottom: 1rem;
}

.why-choose-icon i {
  font-size: 2rem;
  color: #D4A84B;
}

.why-choose-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #a51c30;
  margin-bottom: 0.8rem;
}

.why-choose-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #666666;
  margin: 0;
}

/* Why Choose Section Responsive */
@media (max-width: 992px) {
  .why-choose-title {
    font-size: 2.65rem;
  }

  .why-choose-cards {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .why-choose-card {
    flex: 0 0 45%;
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .why-choose-section {
    padding: 3rem 4%;
  }

  .why-choose-cards {
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
  }

  .why-choose-card {
    flex: 0 0 100%;
    max-width: 320px;
  }

  .why-choose-title {
    font-size: 2.15rem;
  }

  .why-choose-subtitle {
    font-size: 1.15rem;
  }
}

/* ========================================= */
/* END WHY CHOOSE SECTION                    */
/* ========================================= */

/* ========================================= */
/* DISCOVER THE RIGHT COURSE SECTION         */
/* ========================================= */
.discover-course-section {
  background-color: #FDF5F5;
  padding: 4rem 5%;
  text-align: center;
}

.discover-content {
  max-width: 1000px;
  margin: 0 auto 1.5rem auto;
  text-align: center;
  background-color: transparent;
  padding: 2rem;
}

.discover-title {
  font-size: 3.35rem;
  font-weight: 700;
  color: #a51c30;
  font-style: italic;
  margin-bottom: 0.8rem;
}

.discover-subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 0;
}

.filter-buttons-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  padding: 0 2%;
  width: auto;
}

.filter-btn {
  background-color: #ffffff;
  border: 1.5px solid #a51c30;
  border-radius: 20px;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #a51c30;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-btn:hover {
  background-color: #a51c30;
  color: #ffffff;
}

.filter-btn.active {
  background-color: #a51c30;
  color: #ffffff;
}

/* Level Button Colors */
.level-btn:nth-child(1) {
  border-color: #a51c30;
  color: #a51c30;
}

.level-btn:nth-child(1):hover,
.level-btn:nth-child(1).active {
  background-color: #a51c30;
  color: #fff;
}

.level-btn:nth-child(2) {
  border-color: #2E7D32;
  color: #2E7D32;
}

.level-btn:nth-child(2):hover,
.level-btn:nth-child(2).active {
  background-color: #2E7D32;
  color: #fff;
}

.level-btn:nth-child(3) {
  border-color: #7B1E3F;
  color: #7B1E3F;
}

.level-btn:nth-child(3):hover,
.level-btn:nth-child(3).active {
  background-color: #7B1E3F;
  color: #fff;
}

.level-btn:nth-child(4) {
  border-color: #6B1E3F;
  color: #6B1E3F;
}

.level-btn:nth-child(4):hover,
.level-btn:nth-child(4).active {
  background-color: #6B1E3F;
  color: #fff;
}

.level-btn:nth-child(5) {
  border-color: #5B1E3F;
  color: #5B1E3F;
}

.level-btn:nth-child(5):hover,
.level-btn:nth-child(5).active {
  background-color: #5B1E3F;
  color: #fff;
}

.level-btn:nth-child(6) {
  border-color: #4B1E3F;
  color: #4B1E3F;
}

.level-btn:nth-child(6):hover,
.level-btn:nth-child(6).active {
  background-color: #4B1E3F;
  color: #fff;
}

/* Topic Button Colors - Each with unique color */
.topic-btn:nth-child(1) {
  border-color: #a51c30;
  color: #fff;
  background-color: #a51c30;
}

.topic-btn:nth-child(1):hover,
.topic-btn:nth-child(1).active {
  background-color: #a51c30;
  color: #fff;
}

.topic-btn:nth-child(2) {
  border-color: #7B1E3F;
  color: #7B1E3F;
}

.topic-btn:nth-child(2):hover,
.topic-btn:nth-child(2).active {
  background-color: #7B1E3F;
  color: #fff;
}

.topic-btn:nth-child(3) {
  border-color: #6B2E4F;
  color: #6B2E4F;
}

.topic-btn:nth-child(3):hover,
.topic-btn:nth-child(3).active {
  background-color: #6B2E4F;
  color: #fff;
}

.topic-btn:nth-child(4) {
  border-color: #5B3E5F;
  color: #5B3E5F;
}

.topic-btn:nth-child(4):hover,
.topic-btn:nth-child(4).active {
  background-color: #5B3E5F;
  color: #fff;
}

.topic-btn:nth-child(5) {
  border-color: #7B1E3F;
  color: #7B1E3F;
}

.topic-btn:nth-child(5):hover,
.topic-btn:nth-child(5).active {
  background-color: #7B1E3F;
  color: #fff;
}

.topic-btn:nth-child(6) {
  border-color: #5B1E3F;
  color: #5B1E3F;
}

.topic-btn:nth-child(6):hover,
.topic-btn:nth-child(6).active {
  background-color: #5B1E3F;
  color: #fff;
}

.topic-btn:nth-child(7) {
  border-color: #6B1E3F;
  color: #6B1E3F;
}

.topic-btn:nth-child(7):hover,
.topic-btn:nth-child(7).active {
  background-color: #6B1E3F;
  color: #fff;
}

.topic-btn:nth-child(8) {
  border-color: #a51c30;
  color: #a51c30;
}

.topic-btn:nth-child(8):hover,
.topic-btn:nth-child(8).active {
  background-color: #a51c30;
  color: #fff;
}

.topic-btn:nth-child(9) {
  border-color: #4B1E3F;
  color: #4B1E3F;
}

.topic-btn:nth-child(9):hover,
.topic-btn:nth-child(9).active {
  background-color: #4B1E3F;
  color: #fff;
}

.topic-btn:nth-child(10) {
  border-color: #7B2E4F;
  color: #7B2E4F;
}

.topic-btn:nth-child(10):hover,
.topic-btn:nth-child(10).active {
  background-color: #7B2E4F;
  color: #fff;
}

.topic-btn:nth-child(11) {
  border-color: #6B3E5F;
  color: #6B3E5F;
}

.topic-btn:nth-child(11):hover,
.topic-btn:nth-child(11).active {
  background-color: #6B3E5F;
  color: #fff;
}

.topic-btn:nth-child(12) {
  border-color: #5B4E6F;
  color: #5B4E6F;
}

.topic-btn:nth-child(12):hover,
.topic-btn:nth-child(12).active {
  background-color: #5B4E6F;
  color: #fff;
}

.topic-btn:nth-child(13) {
  border-color: #8B2E4F;
  color: #8B2E4F;
}

.topic-btn:nth-child(13):hover,
.topic-btn:nth-child(13).active {
  background-color: #8B2E4F;
  color: #fff;
}

.topic-btn:nth-child(14) {
  border-color: #7B3E5F;
  color: #7B3E5F;
}

.topic-btn:nth-child(14):hover,
.topic-btn:nth-child(14).active {
  background-color: #7B3E5F;
  color: #fff;
}

.topic-btn:nth-child(15) {
  border-color: #6B4E6F;
  color: #6B4E6F;
}

.topic-btn:nth-child(15):hover,
.topic-btn:nth-child(15).active {
  background-color: #6B4E6F;
  color: #fff;
}

.topic-btn:nth-child(16) {
  border-color: #5B1E3F;
  color: #5B1E3F;
}

.topic-btn:nth-child(16):hover,
.topic-btn:nth-child(16).active {
  background-color: #5B1E3F;
  color: #fff;
}

.topic-btn:nth-child(17) {
  border-color: #8B3E5F;
  color: #8B3E5F;
}

.topic-btn:nth-child(17):hover,
.topic-btn:nth-child(17).active {
  background-color: #8B3E5F;
  color: #fff;
}

.topic-btn:nth-child(18) {
  border-color: #7B4E6F;
  color: #7B4E6F;
}

.topic-btn:nth-child(18):hover,
.topic-btn:nth-child(18).active {
  background-color: #7B4E6F;
  color: #fff;
}

.topic-btn:nth-child(19) {
  border-color: #6B1E3F;
  color: #6B1E3F;
}

.topic-btn:nth-child(19):hover,
.topic-btn:nth-child(19).active {
  background-color: #6B1E3F;
  color: #fff;
}

.topic-btn:nth-child(20) {
  border-color: #5B2E4F;
  color: #5B2E4F;
}

.topic-btn:nth-child(20):hover,
.topic-btn:nth-child(20).active {
  background-color: #5B2E4F;
  color: #fff;
}

/* Discover Section Responsive */
@media (max-width: 992px) {
  .discover-title {
    font-size: 2.2rem;
  }

  .filter-btn {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .discover-course-section {
    padding: 3rem 4%;
  }

  .discover-title {
    font-size: 1.8rem;
  }

  .discover-subtitle {
    font-size: 0.9rem;
  }

  .filter-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* ========================================= */
/* END DISCOVER COURSE SECTION               */
/* ========================================= */

/* ========================================= */
/* FILTERABLE COURSE GRID                    */
/* ========================================= */
.course-grid-wrapper {
  padding: 3rem 5%;
  background-color: #FDF5F5;
}

/* Show Courses Button Container */
.show-courses-container {
  display: flex;
  justify-content: center;
  padding: 0;
  margin-top: -1rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.show-courses-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 1.2rem 2rem;
  width: 100%;
  background-color: #a51c30;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(165, 28, 48, 0.3);
}

.show-courses-btn:hover {
  background-color: #8f1828;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(165, 28, 48, 0.4);
}

.show-courses-btn i {
  font-size: 1.2rem;
}

/* Show More Button Container */
.show-more-container {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
  margin-top: 1rem;
}

.show-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 2rem;
  background-color: transparent;
  color: #a51c30;
  border: 2px solid #a51c30;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.show-more-btn:hover {
  background-color: #a51c30;
  color: #ffffff;
}

.show-more-btn i {
  transition: transform 0.3s ease;
}

.show-more-btn:hover i {
  transform: translateY(3px);
}

.course-grid-filter {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.course-card-filter {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.course-card-filter:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.course-card-filter.hidden {
  display: none;
}

.course-card-filter .course-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.course-card-filter .course-image-container {
  width: 100%;
  height: 140px;
  overflow: hidden;
}

.course-card-filter .course-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.course-card-filter:hover .course-image {
  transform: scale(1.05);
}

.course-card-filter .course-content {
  padding: 1rem;
}

.course-card-filter .course-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333333;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card-filter .course-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.course-card-filter .course-instructor {
  font-size: 0.75rem;
  color: #666666;
}

.course-card-filter .course-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: #a51c30;
}

/* Filterable Course Grid Responsive */
@media (max-width: 1200px) {
  .course-grid-filter {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .course-grid-filter {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .course-grid-wrapper {
    padding: 2rem 4%;
  }

  .course-grid-filter {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .course-grid-filter {
    grid-template-columns: 1fr;
  }
}

/* ========================================= */
/* END FILTERABLE COURSE GRID                */
/* ========================================= */

/* ========================================= */
/* NEW COURSE CARDS - See course-cards.css   */
/* (Loaded by Home & AllPrograms pages)     */
/* ========================================= */

/* Slider Container */
.slider-container {
  max-width: 100%;
  overflow: hidden;
  position: relative;
  height: 75vh;
  z-index: 1;
  background-color: #065287;
}

/* Slider */
.slider {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  /* Start with all slides invisible */
  transition: opacity 1.5s ease-in-out;
  /* Smooth fade effect */
}

/* Make sure images cover the slider area */
.slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* Slide text overlay - centered on banner */
.slide-text {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: #ffffff;
  font-size: 35px;
  font-weight: normal;
  text-align: center;
  max-width: 80%;
  word-wrap: break-word;
}

/* Slide button container - positioned below text, outside slider animation */
.slide-button-container {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  pointer-events: auto;
}

/* Slide button - red rounded button */
.slide-button {
  background-color: #dc3545;
  color: #ffffff;
  border: none;
  padding: 12px 60px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.slide-button:hover {
  background-color: #c82333;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Overlay Effect on Slide */
.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(6, 82, 135, 0.2);
  /* Solid overlay with 20% opacity */
  z-index: 2;
  pointer-events: none;
}

/* Ensure all sections have controlled z-index */
.intro-text-overlay,
.custom-section,
.course-grid,
.popular-courses {
  z-index: 5;
  /* Lower than the dropdown */
}

/* Introductory text overlay */
.intro-text-overlay {
  position: absolute;
  top: 12vh;
  /* Adjust vertical position as needed */
  left: 50%;
  transform: translate(-50%, -20%);
  /* Center the text horizontally */
  text-align: center;
  color: #ffffff;
  /* White text color */
  z-index: 3;
  /* Ensure text is above the image and overlay */
  padding: 1vh;
  width: 90vw;
  /* Adjust width as needed */
}

.intro-text-overlay h1 {
  font-size: 2.5vw;
  /* Adjust font size as needed */
  font-weight: bold;
  margin-bottom: 1.5vh;
  margin-left: 21vw;
}

.intro-text-overlay p {
  font-size: 1.2vw;
  /* Adjust font size as needed */
  line-height: 1.6;
  /* Better readability */
  max-width: 1200px;
  margin: 0 auto;
  /* Center the paragraph */
}

/* Adjusted filter box */
.filter-box {
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.9);
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  max-width: 60vw;
  padding: 2vh;
  box-shadow: 0 0.4vh 0.8vh rgba(0, 0, 0, 0.1);
  border-radius: 1vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1vh;
}

.filter-row {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 1vh;
  flex-wrap: wrap;
}

.filter-input,
.filter-select {
  flex: 1;
  margin: 0 0.5vh;
  padding: 1vh;
  border: 0.1vh solid #ccc;
  border-radius: 0.5vh;
}

.filter-button {
  background-color: #004e84;
  color: white;
  padding: 1vh 2vw;
  border: none;
  border-radius: 0.5vh;
  cursor: pointer;
}

.filter-button:hover {
  background-color: #004e82;
}

/* Custom Reference Section */
.custom-reference-section {
  display: flex;
  /* Use Flexbox for side-by-side layout */
  justify-content: space-between;
  /* Space between image and text */
  align-items: center;
  /* Align items vertically in the center */
  gap: 0.5vw;
  /* Add space between columns */
  padding: 1vh 5vw;
  /* Add padding for spacing */
  background-color: #f8f9fa;
  /* Light background color */
  margin-top: 0;
  /* No margin needed since filter box is removed */
}

/* Left Section: Image */
.image-section {
  flex: 1;
  /* Take half the space */
  text-align: center;
}

.image-section img {
  max-width: 80%;
  /* Ensure image scales to fit */
  height: auto;
  width: 80%;
  border-radius: 1vw;
  /* Rounded corners */
}

/* Right Section: Text */
.text-section {
  flex: 1.75;
  /* Take half the space */
  text-align: left;
  /* Align text to the left */
  color: #333;
  /* Text color */
}

.text-section h2 {
  font-size: 2.5vw;
  /* Responsive font size */
  font-weight: bold;
  margin-bottom: 2vh;
  color: #065287;
  /* Primary color for heading */
  text-align: left;
}

.text-section p {
  font-size: 1.1vw;
  /* Adjust font size for readability */
  line-height: 1.8;
  /* Add line spacing */
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}

/* New About Company Section - Same styling as custom-reference-section */
.about-company-section {
  display: flex;
  /* Use Flexbox for side-by-side layout */
  justify-content: space-between;
  /* Space between image and text */
  align-items: center;
  /* Align items vertically in the center */
  gap: 0.5vw;
  /* Add space between columns */
  padding: 13vh 5vw;
  /* Add padding for spacing */
  background-color: #f8f9fa;
  /* Light background color */
  margin: 5vh 0;
  /* Add spacing between sections */
}

/* Left Section: Company Logo */
.company-logo {
  flex: 1;
  /* Take half the space */
  text-align: center;
}

.company-logo img {
  max-width: 80%;
  /* Ensure image scales to fit */
  height: auto;
  width: 80%;
  border-radius: 1vw;
  /* Rounded corners */
}

/* Upcoming Conference Container */
.upcoming-conference-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5vh;
}

.upcoming-conference-label {
  color: #065287;
  font-size: 1.8vw;
  font-weight: bold;
  margin: 0;
  text-align: center;
}

.upcoming-conference-container img {
  max-width: 80%;
  height: auto;
  width: 80%;
  border-radius: 1vw;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.upcoming-conference-container a {
  display: block;
  text-decoration: none;
}

.upcoming-conference-container a:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Right Section: Company Description */
.company-description {
  flex: 1.75;
  /* Take half the space */
  text-align: left;
  /* Align text to the left */
  color: #333;
  /* Text color */
}

.company-description h2 {
  font-size: 2.5vw;
  /* Responsive font size */
  font-weight: bold;
  margin-bottom: 2vh;
  color: #065287;
  /* Primary color for heading */
}

.company-description p {
  font-size: 1.1vw;
  /* Adjust font size for readability */
  line-height: 1.8;
  /* Add line spacing */
  max-width: 100%;
  margin: 0 auto;
}

/* Custom Grid Section */
.custom-grid-section {
  display: flex;
  justify-content: space-between;
  /* Space between columns */
  gap: 2vw;
  /* Space between sections */
  padding: 0vh 2vw;
  background-color: #fff;
  /* White background */
  text-align: center;
  margin-top: 2vw;
}

/* Grid Item */
.grid-item {
  flex: 1;
  /* Equal width */
  padding: 2vh 1.5vw;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Ensure pseudo-elements stay inside */
  border: 3px solid transparent;
  /* Default transparent border */
  border-radius: 0.5vw;
  /* Optional: Rounded corners */
}

/* Top Border Line */
.grid-item .line-purple,
.grid-item .line-green,
.grid-item .line-blue,
.grid-item .line-red {
  height: 0.5vh;
  /* Thickness of the line */
  width: 100%;
  margin-bottom: 1.5vh;
  /* Space below the line */
}

.line-purple {
  background-color: #9b5de5;
  /* Purple Line */
}

.line-green {
  background-color: #00c36b;
  /* Green Line */
}

.line-blue {
  background-color: #457b9d;
  /* Blue Line */
}

.line-red {
  background-color: #e63946;
  /* Red Line */
}

/* Full Border with Animated Color on Hover */
.grid-item:hover {
  border-image-source: linear-gradient(45deg,
      #9b5de5,
      #00c36b,
      #457b9d,
      #e63946);
  /* Gradient for border */
  border-image-slice: 1;
  /* Apply gradient to the full border */
  animation: color-motion 3s linear infinite;
  /* Infinite gradient animation */
}

/* Animation for Gradient Color */
@keyframes color-motion {
  0% {
    border-image-source: linear-gradient(45deg,
        #9b5de5,
        #00c36b,
        #457b9d,
        #e63946);
  }

  50% {
    border-image-source: linear-gradient(135deg,
        #e63946,
        #457b9d,
        #00c36b,
        #9b5de5);
  }

  100% {
    border-image-source: linear-gradient(45deg,
        #9b5de5,
        #00c36b,
        #457b9d,
        #e63946);
  }
}

/* Content Inside Grid Item */
.grid-item h2 {
  font-size: 1.6vw;
  font-weight: bold;
  margin-bottom: 1vh;
  color: #065287;
  /* Black Text */
  z-index: 2;
  /* Ensure content stays above the pseudo-element */
  position: relative;
  text-align: left;
}

.grid-item p {
  font-size: 1vw;
  line-height: 1.6;
  color: #000;
  /* Black Text */
  margin: 0 auto;
  max-width: 90%;
  z-index: 2;
  /* Ensure content stays above the pseudo-element */
  position: relative;
  text-align: left;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .custom-grid-section {
    flex-direction: column;
    /* Stack items vertically */
  }

  .grid-item {
    margin-bottom: 2vh;
  }

  body {
    font-family: "Noto Kufi Arabic", sans-serif !important;
  }
}

/* New Section Styles */
.new-section {
  display: flex;
  justify-content: center;
  gap: 2vw;
  margin: 8vh 0;
}

.new-section-card {
  background-color: #f9f9f9;
  border-radius: 1vh;
  box-shadow: 0 0.4vh 0.8vh rgba(0, 0, 0, 0.1);
  padding: 2vh;
  text-align: center;
  width: 45vw;
}

.new-section h3 {
  color: #0077ca;
  font-size: 1.6vw;
  margin-bottom: 1vh;
  text-align: left;
}

.new-section p {
  color: #000;
  font-size: 1.2vw;
  margin-bottom: 3vh;
  text-align: left;
}

.new-section-button {
  background-color: #0077ca;
  color: white;
  padding: 1vh 2vw;
  border: none;
  border-radius: 0.5vh;
  cursor: pointer;
  font-size: 1vw;
}

.new-section-button:hover {
  background-color: #0076ca;
}

/* Popular Courses Section */
.popular-courses {
  text-align: center;
  margin: 8vh 0;
}

.popular-courses h2 {
  font-size: 2.5vw;
  margin-bottom: 2vh;
  position: relative;
  text-align: center;
}

.popular-courses h2::after {
  content: "";
  display: block;
  width: 5vw;
  height: 0.4vh;
  background: #fff;
  margin: 1vh auto 0;
}

/* Course Card Container */
.course-card {
  width: calc(20% - 20px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
  overflow: hidden;
}

/* Course Link */
.course-link {
  text-decoration: none;
  text-align: left;
}

/* Course Image Container */
.course-image-container {
  height: 200px;
  position: relative;
}

/* Course Image */
.course-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Course Content */
.course-content {
  padding: 15px;
}

/* Course Title */
.course-title {
  font-size: 1vw;
  margin: 10px 0;
  font-weight: bold;
  color: #333;
  text-align: left;
}

/* Course Meta Information */
.course-meta {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 0.8vw;
  color: #666;
  text-align: left;
  direction: ltr;
}

/* Course Instructor */
.course-instructor {
  font-style: italic;
  text-align: left;
}

/* Course Price */
.course-price {
  font-weight: bold;
  color: #0077ca;
  font-size: 1.2vw;
  margin-top: 5px;
}

.tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1vh;
}

.tag-button {
  background-color: #0077ca;
  color: white;
  padding: 1vh 1.5vw;
  border: none;
  border-radius: 0.5vh;
  cursor: pointer;
  font-size: 1vw;
  transition: background-color 0.3s, color 0.3s;
}

.tag-button:hover {
  background-color: #193c4b;
  color: #fff;
}

/* Container for all course cards */
.course-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2vw;
  justify-content: center;
  padding: 2vh;
  margin: 2vh;
}

/* Course Card Image Hover Effect */
.course-card {
  background: #fff;
  border-radius: 0.8vh;
  box-shadow: 0 0.4vh 0.8vh rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
  position: relative;
  max-width: 30vw;
  flex: 1 1 calc(33.333% - 2vw);
}

.course-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0.8vh 1.6vh rgba(0, 0, 0, 0.2);
}

/* Course Link */
.course-link {
  text-decoration: none;
  text-align: left;
  color: inherit;
  display: block;
  height: 100%;
}

/* Image container with hover effect */
.course-image-container {
  position: relative;
  width: 100%;
  height: 20vh;
  overflow: hidden;
}

/* Image styling */
.course-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  position: relative;
}

/* Hover effect: grayscale, brightness, and slight zoom-in effect */
.course-card:hover .course-image {
  transform: scale(1.05);
  filter: grayscale(20%) brightness(1.2);
}

/* Overlay effect on hover */
.course-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(60, 180, 232, 0.2);
  /* Updated to blue overlay with 20% opacity */
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.course-card:hover .course-image-container::before {
  opacity: 1;
  /* Show overlay on hover */
}

/* Ensure content displays over the overlay */
.course-content {
  position: relative;
  z-index: 2;
  padding: 1.5vh;
  text-align: left;
}

.course-title {
  font-size: 1.1vw;
  margin: 1vh 0;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  text-align: left;
}

.course-title a,
.course-meta a,
.course-instructor a,
.course-price a {
  text-decoration: none;
  /* Remove underline from links */
  font-size: 1.4vw;
  color: #0077ca;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1vh;
  font-size: 1.2vw;
  color: #666;
}

.course-instructor {
  font-style: italic;
  text-decoration: none;
  font-size: 1vw;
  color: #666;
  margin-left: 0;
}

.course-price {
  font-weight: bold;
  font-size: 1.4vw;
  color: #0077ca;
  text-decoration: none;
  margin-left: 0;
}

/* Popup Container */
#popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1050;
}

#courses-container {
  background: white;
  padding: 2vh;
  border-radius: 0.5vh;
  width: 80vw;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

#popup-container .course-card {
  width: calc(33.33% - 2vw);
  height: auto;
}

.close-button {
  position: absolute;
  top: 1vh;
  right: 1vh;
  font-size: 2.4vw;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(to bottom, #84b6d9, #e7f7ff);
  padding: 5vh 0;
  text-align: center;
  color: black;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  display: block;
  position: absolute;
  top: -10vh;
  left: 0;
  width: 100vw;
  height: 20vh;
  background: url("/path/to/curved-background.svg") no-repeat center center / cover;
  transform: rotate(180deg);
}

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2vh;
}

.stat-icon img {
  width: 5vw;
  height: auto;
  margin-bottom: 1vh;
}

.stat-info {
  text-align: center;
}

.stat-number {
  font-size: 2vw;
  font-weight: bold;
  animation: counter 2s;
}

.stat-label {
  font-size: 1vw;
}

/*Temprory Stiyle */
.padding-con {
  padding-left: 1vw;
  padding-right: 1vw;
}

/* Grid Container */
.conference-grid {
  display: flex;
  /* Align items in a single row */
  justify-content: space-between;
  /* Space items evenly */
  align-items: stretch;
  /* Make items the same height */
  gap: 0.5vw;
  /* Add space between cards */
  width: 97%;
  /* Ensure full width for the container */
  flex-wrap: nowrap;
  /* Prevent wrapping to the next row */
  overflow: hidden;
  /* Prevent unwanted scrolling */
  margin-left: 1.5vw;
  /* Adjust for gap */
}

/* Conference Card */
.conference-card {
  flex: 0 0 19%;
  /* Each card takes 19% of the row width to fit 5 cards */
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.3s ease-in-out;
}

.conference-card:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  /* Slight hover effect */
}

/* Image Container */
.conference-image-container {
  height: 200px;
  /* Fixed height for the image */
  position: relative;
  /* For hover effect */
  overflow: hidden;
  /* Hide overflow */
}

.conference-image {
  width: 100%;
  /* Image spans the full width of the card */
  height: 100%;
  object-fit: cover;
  /* Ensures the image fits neatly */
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
  /* Smooth transition for hover */
}

.conference-image-container:hover .conference-image {
  transform: scale(1.05);
  /* Slight zoom effect */
  filter: brightness(0.8) drop-shadow(0 0 10px skyblue);
  /* Hover effect with sky blue color */
}

/* Conference Title */
.conference-title {
  font-size: 1rem;
  font-weight: bold;
  margin: 10px 0;
  color: #333;
  text-align: left;
}

.conference-link {
  text-decoration: none;
  /* Remove underline from links */
  color: inherit;
  /* Keep the text color the same as the parent */
}

.conference-link:hover .conference-title {
  text-decoration: none;
  /* Optional: Add underline effect on hover */
}

/* Resources Section */
.resources-section {
  text-align: center;
  padding: 3rem 5%;
  background-color: #fdf5f5;
}

.resources-header {
  margin-bottom: 40px;
  border-bottom: 1px solid #e0d5d5;
  padding-bottom: 30px;
}

.resources-title {
  font-size: 3.35rem;
  font-weight: 700;
  color: #a51c30;
  margin: 0;
  font-style: italic;
}

.resources-container {
  max-width: 1400px;
  margin: 0 auto;
}

.resources-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  padding: 30px 0;
}

.resource-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  width: calc(25% - 19px);
  min-width: 280px;
  max-width: 320px;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.resource-image-container {
  width: 100%;
  padding: 25px 25px 15px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.resource-image {
  width: 85%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.resource-content {
  padding: 10px 25px 30px;
  text-align: left;
}

.resource-date {
  font-size: 0.85rem;
  color: #333;
  margin-bottom: 10px;
  font-weight: 400;
}

.resource-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.4;
}

.resource-card:hover .resource-title {
  color: #8B1A1A;
}

/* Resources Section Responsive */
@media (max-width: 1200px) {
  .resource-card {
    width: calc(50% - 13px);
    min-width: 260px;
  }

  .resource-image {
    height: 200px;
  }
}

@media (max-width: 992px) {
  .resources-title {
    font-size: 2.65rem;
  }
}

@media (max-width: 768px) {
  .resources-section {
    padding: 3rem 4%;
  }

  .resources-title {
    font-size: 2.15rem;
  }

  .resource-card {
    width: 100%;
    max-width: 400px;
  }

  .resource-image {
    height: 220px;
  }

  .resource-title {
    font-size: 0.95rem;
  }
}

/* Partners Section */
.partners-section {
  text-align: center;
  padding: 3rem 5%;
  background-color: #ffffff;
}

.partners-header {
  margin-bottom: 40px;
  border-bottom: 1px solid #e0d5d5;
  padding-bottom: 30px;
}

.partners-title {
  font-size: 3.35rem;
  font-weight: 700;
  color: #a51c30;
  margin: 0;
  font-style: italic;
}

.partners-container {
  max-width: 1400px;
  margin: 0 auto;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 30px 0;
}

.partner-card {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: none;
  padding: 10px;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  display: block;
}

.partner-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #999;
  font-size: 0.9rem;
}

.no-partners-message {
  width: 100%;
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  padding: 40px 0;
}

/* Partners Section Responsive */
@media (max-width: 992px) {
  .partners-title {
    font-size: 2.65rem;
  }
}

@media (max-width: 768px) {
  .partners-section {
    padding: 3rem 4%;
  }

  .partners-title {
    font-size: 2.15rem;
  }

  .partners-grid {
    gap: 20px;
  }

  .partner-card {
    width: auto;
    height: auto;
  }

  .partner-logo {
    width: 120px;
    height: 120px;
  }

  .partners-slider {
    padding: 20px 0;
  }

  .partners-track .partner-card {
    margin: 0 15px;
  }
}

/* Partners Infinite Slider */
.partners-slider {
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
  position: relative;
}

.partners-slider::before,
.partners-slider::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.partners-slider::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.partners-slider::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  animation: scroll-partners 30s linear infinite;
  width: max-content;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partners-track .partner-card {
  flex-shrink: 0;
  margin: 0 25px;
  width: auto;
  height: auto;
}

@keyframes scroll-partners {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Articles Section (Legacy - kept for other pages) */
.articles-section {
  text-align: center;
  margin: 8vh 0;
  background-color: #f8f9fa;
  padding: 3vh 0;
}

.articles-header h2 {
  font-size: 2.5vw;
  margin-bottom: 1vh;
  color: #065287;
  position: relative;
  text-align: center;
}

.articles-header h2::after {
  content: "";
  display: block;
  width: 5vw;
  height: 0.4vh;
  background: #065287;
  margin: 1vh auto 0;
}

.articles-description {
  font-size: 1.2vw;
  color: #666;
  margin-bottom: 3vh;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.articles-container {
  padding: 0 2vw;
}

.articles-grid {
  display: flex;
  justify-content: center;
  gap: 2vw;
  flex-wrap: wrap;
  padding: 2vh 0;
}

.article-card {
  width: calc(20% - 2vw);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
  position: relative;
  text-align: left;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.article-image-container {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-image {
  transform: scale(1.05);
}

/* Article Title - Remove underline */
.article-title {
  font-size: 1.1vw;
  font-weight: bold;
  color: #333;
  padding: 1.5vh;
  margin: 0;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  /* Force no underline */
  border-bottom: none !important;
  /* Force no border */
  text-align: left;
}

/* Article Date - Remove underline */
.article-date {
  color: #666;
  font-size: 0.9vw;
  padding: 0 1.5vh 1.5vh;
  text-align: center;
  text-decoration: none !important;
  border-bottom: none !important;
}

/* Article Link - Remove underline */
.article-link {
  text-decoration: none !important;
}

/* Remove any potential underline from hover states */
.article-link:hover .article-title,
.article-link:hover .article-date {
  text-decoration: none !important;
}

/* Remove any ::after or ::before pseudo-elements that might add lines */
.article-title::after,
.article-title::before,
.article-date::after,
.article-date::before {
  content: none !important;
  display: none !important;
}

.article-button {
  display: block;
  margin: 0 auto 2vh;
  padding: 0.8vh 2vw;
  background-color: #065287;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Noto Kufi Arabic", sans-serif;
  font-size: 0.9vw;
  transition: background-color 0.3s;
}

.article-button:hover {
  background-color: #004e84;
}

.mobile-courses {
  display: none !important;
}

@media (max-width: 475px) {
  .course-grid {
    display: none !important;
    /* Hide Desktop Section */
  }

  .mobile-courses {
    display: block !important;
    /* Or 'flex' if it should be flex */
  }

  @font-face {
    font-family: "Noto Sans";
    src: url("/fonts/noto_sans.woff2") format("woff2"),
      url("/fonts/noto_sans.woff") format("woff"),
      url("/fonts/noto_sans.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
  }

  /* Force the header-mobile to be on top */
  .header-mobile {
    position: relative;
    z-index: 9999;
  }

  /* Force the .mobile-menu itself above everything else */
    .mobile-menu {
        position: absolute;
        /* or fixed */
        top: 10vh;
        /* place it just below your mobile header */
        right: 0;
        left: 0;
        z-index: 9999;
        background-color: #f7f7f7;
        display: none;
        padding: 1vh 2vw;
    }

  /* Ensure dropdown content also sits above any slider if needed */
  .mobile-menu .dropdown-content {
    position: relative;
    z-index: 9999;
  }

  /* Global Styles */
  body {
    font-family: "Noto Sans", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
    direction: ltr;
    /* LTR layout */
    text-align: left;
  }

  body,
  h2,
  h1,
  h3,
  h4,
  h5,
  h6,
  address,
  p,
  label,
  input,
  textarea,
  select,
  button,
  table,
  th,
  td,
  .btn,
  .form-control {
    font-family: "Noto Sans" !important;
  }

  /* Slider Container */
  .slider-container {
    max-width: 100%;
    overflow: hidden;
    position: relative;
    height: 45vh;
    z-index: 1;
    background-color: #065287;
  }

  /* Slider */
  .slider {
    position: relative;
    height: 100%;
  }

  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* Start with all slides invisible */
    transition: opacity 1.5s ease-in-out;
    /* Smooth fade effect */
  }

  /* Make sure images cover the slider area */
  .slide img {
    width: 100%;
    height: 45vh;
    object-fit: cover;
    position: relative;
    z-index: 1;
  }

  /* Slide text overlay - responsive for mobile */
  .slide-text {
    font-size: 20px;
    max-width: 90%;
    top: 40%;
  }

  .slide-button-container {
    top: 60%;
  }

  .slide-button {
    padding: 10px 40px;
    font-size: 14px;
  }

  /* Overlay Effect on Slide */
  .slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6,
        82,
        135,
        0.2);
    /* Solid overlay with 20% opacity */
    z-index: 2;
    pointer-events: none;
  }

  /* Ensure all sections have controlled z-index */
  .intro-text-overlay,
  .custom-section,
  .course-grid,
  .popular-courses {
    z-index: 5;
    /* Lower than the dropdown */
  }

  /* Introductory text overlay */
  .intro-text-overlay {
    position: absolute;
    top: 14vh;
    left: 50%;
    transform: translate(-50%, -20%);
    text-align: center;
    color: #ffffff;
    z-index: 3;
    padding: 0vh;
    width: 100%;
  }

  .intro-text-overlay h1 {
    font-size: 4.4vw;
    font-weight: bold;
    margin-bottom: 7.5vh;
    text-align: center;
    margin-left: 0vw;
    direction: ltr;
  }

  .intro-text-overlay p {
    font-size: 2.5vw;
    /* Adjust font size as needed */
    line-height: 1.6;
    /* Better readability */
    max-width: 1200px;
    margin: 0 auto;
    /* Center the paragraph */
  }

  /* Adjusted filter box */
  .filter-box {
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.9);
    position: absolute;
    top: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 90%;
    padding: 2vh;
    box-shadow: 0 0.4vh 0.8vh rgba(0, 0, 0, 0.1);
    border-radius: 1vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 1vh;
  }

  .filter-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 1vh;
  }

  .filter-input,
  .filter-select {
    flex: 1;
    padding: 1vh;
    border: 0.1vh solid #ccc;
    border-radius: 0.5vh;
    width: 10px;
    color: black;
  }

  .filter-button {
    background-color: #004e84;
    color: white;
    padding: 1vh 46.2px;
    border: none;
    border-radius: 0.5vh;
    cursor: pointer;
    width: 12.5vh;
    font-size: 18px;
  }

  .filter-button:hover {
    background-color: #004e82;
  }

  /* Custom Reference Section */
  .custom-reference-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5vw;
    padding: 9vh 5vw;
    background-color: #f8f9fa;
    flex-direction: column;
    margin-top: 5vh;
    /* Add space from filter box */
  }

  /* Left Section: Image */
  .image-section {
    flex: 1;
    /* Take half the space */
    text-align: center;
  }

  .image-section img {
    max-width: 80%;
    /* Ensure image scales to fit */
    height: auto;
    width: 80%;
    border-radius: 1vw;
    /* Rounded corners */
  }

  /* Right Section: Text */
  .text-section {
    flex: 1.75;
    /* Take half the space */
    text-align: left;
    /* Align text to the left */
    color: #333;
    /* Text color */
  }

  .text-section h2 {
    font-size: 5.8vw;
    /* Responsive font size */
    font-weight: bold;
    margin-bottom: 2vh;
    color: #065287;
    /* Primary color for heading */
  }

  .text-section p {
    font-size: 4.4vw;
    line-height: 1.8;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 2vh;
  }

  /* New About Company Section - Mobile Responsive */
  .about-company-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5vw;
    padding: 9vh 5vw;
    background-color: #f8f9fa;
    flex-direction: column;
  }

  /* Left Section: Company Logo */
  .company-logo {
    flex: 1;
    /* Take half the space */
    text-align: center;
  }

  .company-logo img {
    max-width: 80%;
    /* Ensure image scales to fit */
    height: auto;
    width: 80%;
    border-radius: 1vw;
    /* Rounded corners */
  }

  .upcoming-conference-label {
    font-size: 5vw;
  }

  /* Right Section: Company Description */
  .company-description {
    flex: 1.75;
    /* Take half the space */
    text-align: left;
    /* Align text to the left */
    color: #333;
    /* Text color */
  }

  .company-description h2 {
    font-size: 5.8vw;
    /* Responsive font size */
    font-weight: bold;
    margin-bottom: 2vh;
    color: #065287;
    /* Primary color for heading */
  }

  .company-description p {
    font-size: 4.4vw;
    line-height: 1.8;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 2vh;
  }

  /* Custom Grid Section */
  .custom-grid-section {
    display: flex;
    justify-content: space-between;
    /* Space between columns */
    gap: 2vw;
    /* Space between sections */
    padding: 0vh 2vw;
    background-color: #fff;
    /* White background */
    text-align: center;
    margin-top: -51;
  }

  /* Grid Item */
  .grid-item {
    flex: 1;
    /* Equal width */
    padding: 2vh 1.5vw;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Ensure pseudo-elements stay inside */
    border: 3px solid transparent;
    /* Default transparent border */
    border-radius: 0.5vw;
    /* Optional: Rounded corners */
  }

  /* Top Border Line */
  .grid-item .line-purple,
  .grid-item .line-green,
  .grid-item .line-blue,
  .grid-item .line-red {
    height: 0.5vh;
    /* Thickness of the line */
    width: 100%;
    margin-bottom: 1.5vh;
    /* Space below the line */
  }

  .line-purple {
    background-color: #9b5de5;
    /* Purple Line */
  }

  .line-green {
    background-color: #00c36b;
    /* Green Line */
  }

  .line-blue {
    background-color: #457b9d;
    /* Blue Line */
  }

  .line-red {
    background-color: #e63946;
    /* Red Line */
  }

  /* Full Border with Animated Color on Hover */
  .grid-item:hover {
    border-image-source: linear-gradient(45deg,
        #9b5de5,
        #00c36b,
        #457b9d,
        #e63946);
    /* Gradient for border */
    border-image-slice: 1;
    /* Apply gradient to the full border */
    animation: color-motion 3s linear infinite;
    /* Infinite gradient animation */
  }

  /* Animation for Gradient Color */
  @keyframes color-motion {
    0% {
      border-image-source: linear-gradient(45deg,
          #9b5de5,
          #00c36b,
          #457b9d,
          #e63946);
    }

    50% {
      border-image-source: linear-gradient(135deg,
          #e63946,
          #457b9d,
          #00c36b,
          #9b5de5);
    }

    100% {
      border-image-source: linear-gradient(45deg,
          #9b5de5,
          #00c36b,
          #457b9d,
          #e63946);
    }
  }

  /* Content Inside Grid Item */
  .grid-item h2 {
    font-size: 5.8vw;
    font-weight: bold;
    margin-bottom: 1vh;
    color: #065287;
    z-index: 2;
    position: relative;
  }

  .grid-item p {
    font-size: 4.4vw;
    line-height: 1.6;
    color: #000;
    margin: 0 auto;
    max-width: 90%;
    z-index: 2;
    position: relative;
    text-align: left;
  }

  /* New Section Styles */
  .new-section {
    display: flex;
    justify-content: center;
    gap: 2vw;
    margin: 5vh 0;
    flex-direction: column;
    align-items: center;
    align-content: stretch;
    flex-wrap: nowrap;
    width: 100%;
  }

  .new-section-card {
    background-color: #f9f9f9;
    border-radius: 1vh;
    box-shadow: 0 0.4vh 0.8vh rgba(0, 0, 0, 0.1);
    padding: 2vh;
    text-align: center;
    width: 75vw;
  }

  .new-section h3 {
    color: #0077ca;
    font-size: 5.8vw;
    margin-bottom: 1vh;
  }

  .new-section p {
    color: #000;
    font-size: 4.4vw;
    margin-bottom: 3vh;
  }

  .new-section-button {
    background-color: #0077ca;
    color: white;
    padding: 1vh 2vw;
    border: none;
    border-radius: 0.5vh;
    cursor: pointer;
    font-size: 2vw;
  }

  .new-section-button:hover {
    background-color: #0076ca;
  }

  /* Popular Courses Section */
  .popular-courses {
    text-align: center;
    margin: 5vh 0;
  }

  .popular-courses h2 {
    font-size: 5.8vw;
    margin-bottom: 2vh;
    position: relative;
    margin-left: 4vw;
  }

  .popular-courses h2::after {
    content: "";
    display: block;
    width: 5vw;
    height: 0.4vh;
    background: #fff;
    margin: 1vh auto 0;
  }

  .popular-courses p {
    font-size: 4.4vw;
    margin-bottom: 2vh;
    position: relative;
    margin-left: 8vw;
  }

  /* articles Section */
  .articles-section {
    text-align: center;
    margin: 8vh 0;
    width: 100%;
  }

  .articles-grid {
    display: flex;
    justify-content: center;
    gap: 2vw;
    flex-wrap: wrap;
    padding: 2vh 0;
    flex-direction: column;
    align-items: center;
  }

  .article-card {
    width: calc(20% - 2vw);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    position: relative;
    text-align: left;
    width: 93vw;
  }

  .article-title {
    font-size: 4.1vw;
    font-weight: bold;
    color: #333;
    padding: 1.5vh;
    margin: 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    border-bottom: none !important;
  }

  .article-button {
    display: block;
    margin: 0 auto 2vh;
    padding: 0.8vh 12vw;
    background-color: #065287;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: "Noto Sans", sans-serif;
    font-size: 3.9vw;
    transition: background-color 0.3s;
  }

  .articles-header h2 {
    font-size: 5.8vw;
    margin-bottom: 2vh;
    position: relative;
    margin-left: 4vw;
  }

  .articles-header h2::after {
    content: "";
    display: block;
    width: 5vw;
    height: 0.4vh;
    background: #fff;
    margin: 1vh auto 0;
  }

  .articles-description {
    font-size: 4.4vw;
    margin-bottom: 2vh;
    position: relative;
    margin-left: 8vw;
  }

  /* Course Card Container */
  .course-card {
    width: calc(60% - 50px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
    overflow: hidden;
  }

  /* Course Link */
  .course-link {
    text-decoration: none;
    text-align: right;
  }

  /* Course Image Container */
  .course-image-container {
    height: 100px;
    position: relative;
  }

  /* Course Image */
  .course-image {
    width: 100%;
    height: 50%;
    object-fit: cover;
  }

  /* Course Content */
  .course-content {
    padding: 15px;
    text-align: left;
  }

  /* Course Title */
  .course-title {
    font-size: 5.3vw;
    margin: 10px 0;
    font-weight: bold;
    color: #333;
    text-align: left;
  }

  /* Course Meta Information */
  .course-meta {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 1vw;
    color: #666;
    text-align: left;
    direction: ltr;
  }

  /* Course Instructor */
  .course-instructor {
    font-style: italic;
    text-align: left;
  }

  /* Course Price */
  .course-price {
    font-weight: bold;
    color: #0077ca;
    font-size: 2.8vw;
    margin-top: 5px;
  }

  .tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2vh;
  }

  .tag-button {
    background-color: #0077ca;
    color: white;
    padding: 1vh 1.5vw;
    border: none;
    border-radius: 0.5vh;
    cursor: pointer;
    font-size: 4.8vw;
    transition: background-color 0.3s, color 0.3s;
  }

  .tag-button:hover {
    background-color: #193c4b;
    color: #fff;
  }

  /* Container for all course cards */
  .course-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2vw;
    justify-content: center;
    padding: 2vh;
    margin: 2vh;
  }

  /* Course Card Image Hover Effect */
  .course-card {
    background: #fff;
    border-radius: 0.8vh;
    box-shadow: 0 0.4vh 0.8vh rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    position: relative;
    max-width: 41vw;
    flex: 1 1 calc(33.333% - 2vw);
  }

  .course-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0.8vh 1.6vh rgba(0, 0, 0, 0.2);
  }

  /* Image container with hover effect */
  .course-image-container {
    position: relative;
    width: 100%;
    height: 20vh;
    overflow: hidden;
  }

  /* Image styling */
  .course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: relative;
  }

  /* Hover effect: grayscale, brightness, and slight zoom-in effect */
  .course-card:hover .course-image {
    transform: scale(1.05);
    filter: grayscale(20%) brightness(1.2);
  }

  /* Overlay effect on hover */
  .course-image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(60,
        180,
        232,
        0.2);
    /* Updated to blue overlay with 20% opacity */
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
  }

  .course-card:hover .course-image-container::before {
    opacity: 1;
    /* Show overlay on hover */
  }

  /* Ensure content displays over the overlay */
  .course-content {
    position: relative;
    z-index: 2;
    padding: 1.5vh;
    text-align: left;
  }

  .course-title {
    font-size: 3.8vw;
    margin: 1vh 0;
    font-weight: bold;
    color: #333;
    text-decoration: none;
  }

  .course-title a,
  .course-meta a,
  .course-instructor a,
  .course-price a {
    text-decoration: none;
    /* Remove underline from links */
    font-size: 2.7vw;
    color: #0077ca;
  }

  .course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1vh;
    font-size: 2.5vw;
    color: #666;
  }

  .course-instructor {
    font-style: italic;
    text-decoration: none;
    font-size: 3.3vw;
    color: #666;
    text-align: left;
  }

  .course-price {
    font-weight: bold;
    font-size: 4.8vw;
    color: #0077ca;
    text-decoration: none;
    margin-right: -22px;
  }

  .paddingcourse {
    margin-top: -10vh;
  }

  /* Popup Container */
  #popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1050;
  }

  #courses-container {
    background: white;
    padding: 2vh;
    border-radius: 0.5vh;
    width: 80vw;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
  }

  #popup-container .course-card {
    width: calc(33.33% - 2vw);
    height: auto;
  }

  .close-button {
    position: absolute;
    top: 1vh;
    right: 1vh;
    font-size: 3.7vw;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 1100;
  }

  /* Stats Section */
  .stats-section {
    background: linear-gradient(to bottom, #84b6d9, #e7f7ff);
    padding: 5vh 0;
    text-align: center;
    color: black;
    position: relative;
    overflow: hidden;
  }

  .stats-section::before {
    content: "";
    display: block;
    position: absolute;
    top: -10vh;
    left: 0;
    width: 100vw;
    height: 20vh;
    background: url("/path/to/curved-background.svg") no-repeat center center / cover;
    transform: rotate(180deg);
  }

  .stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2vh;
  }

  .stat-icon img {
    width: 10vw;
    height: auto;
    margin-bottom: 1vh;
  }

  .stat-info {
    text-align: center;
  }

  .stat-number {
    font-size: 6vw;
    font-weight: bold;
    animation: counter 2s;
  }

  .stat-label {
    font-size: 5vw;
  }

  /*Temprory Stiyle */
  .padding-con {
    padding-left: 1vw;
    padding-right: 1vw;
  }

  /* Grid Container */
  .conference-grid {
    display: flex;
    justify-content: flex-end;
    gap: 1.5vw;
    width: 100%;
    flex-wrap: nowrap;
    overflow: hidden;
    margin-left: 0.5vw;
    flex-direction: column;
    align-items: center;
    margin-top: -26px;
    text-align: center;
  }

  /* Conference Card */
  .conference-card {
    flex: 0 0 19%;
    /* Each card takes 19% of the row width to fit 5 cards */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: box-shadow 0.3s ease-in-out;
  }

  .conference-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    /* Slight hover effect */
  }

  /* Image Container */
  .conference-image-container {
    height: 200px;
    /* Fixed height for the image */
    position: relative;
    /* For hover effect */
    overflow: hidden;
    /* Hide overflow */
  }

  .conference-image {
    width: 399px;
    height: 198px;
    object-fit: contain;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    margin-right: 0px;
    padding-top: 16px;
  }

  .conference-image-container:hover .conference-image {
    transform: scale(1.05);
    /* Slight zoom effect */
    filter: brightness(0.8) drop-shadow(0 0 10px skyblue);
    /* Hover effect with sky blue color */
  }

  /* Conference Title */
  .conference-title {
    font-size: 1rem;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
    text-align: center;
  }

  .conference-link {
    text-decoration: none;
    /* Remove underline from links */
    color: inherit;
    /* Keep the text color the same as the parent */
  }

  .conference-link:hover .conference-title {
    text-decoration: none;
    /* Optional: Add underline effect on hover */
  }
}

@media (min-width: 476px) and (max-width: 480px) {
  .desktop-courses {
    display: none !important;
    /* Hide Desktop Section */
  }

  @font-face {
    font-family: "Noto Sans";
    src: url("/fonts/noto_sans.woff2") format("woff2"),
      url("/fonts/noto_sans.woff") format("woff"),
      url("/fonts/noto_sans.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
  }

  /* Global Styles */
  body {
    font-family: "Noto Sans", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
    direction: ltr;
    /* LTR layout */
    text-align: left;
  }

  body,
  h2,
  h1,
  h3,
  h4,
  h5,
  h6,
  address,
  p,
  label,
  input,
  textarea,
  select,
  button,
  table,
  th,
  td,
  .btn,
  .form-control {
    font-family: "Noto Sans", sans-serif !important;
  }

  /* Slider Container */
  .slider-container {
    max-width: 100%;
    overflow: hidden;
    position: relative;
    height: 45vh;
    z-index: 1;
    background-color: #065287;
  }

  /* Slider */
  .slider {
    position: relative;
    height: 100%;
  }

  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* Start with all slides invisible */
    transition: opacity 1.5s ease-in-out;
    /* Smooth fade effect */
  }

  /* Make sure images cover the slider area */
  .slide img {
    width: 100%;
    height: 45vh;
    object-fit: cover;
    position: relative;
    z-index: 1;
  }

  /* Slide text overlay - responsive for mobile */
  .slide-text {
    font-size: 20px;
    max-width: 90%;
    top: 40%;
  }

  .slide-button-container {
    top: 60%;
  }

  .slide-button {
    padding: 10px 40px;
    font-size: 14px;
  }

  /* Overlay Effect on Slide */
  .slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6,
        82,
        135,
        0.2);
    /* Solid overlay with 20% opacity */
    z-index: 2;
    pointer-events: none;
  }

  /* Ensure all sections have controlled z-index */
  .intro-text-overlay,
  .custom-section,
  .course-grid,
  .popular-courses {
    z-index: 5;
    /* Lower than the dropdown */
  }

  /* Introductory text overlay */
  .intro-text-overlay {
    position: absolute;
    top: 15vh;
    /* Adjust vertical position as needed */
    left: 50%;
    transform: translate(-50%, -20%);
    /* Center the text horizontally */
    text-align: center;
    color: #ffffff;
    /* White text color */
    z-index: 3;
    /* Ensure text is above the image and overlay */
    padding: 1vh;
    width: 90vw;
    /* Adjust width as needed */
  }

  .intro-text-overlay h1 {
    font-size: 3.5vw;
    /* Adjust font size as needed */
    font-weight: bold;
    margin-bottom: 1.5vh;
  }

  .intro-text-overlay p {
    font-size: 1.2vw;
    /* Adjust font size as needed */
    line-height: 1.6;
    /* Better readability */
    max-width: 1200px;
    margin: 0 auto;
    /* Center the paragraph */
  }

  /* Adjusted filter box */
  .filter-box {
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.9);
    position: absolute;
    top: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 90%;
    padding: 2vh;
    box-shadow: 0 0.4vh 0.8vh rgba(0, 0, 0, 0.1);
    border-radius: 1vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 1vh;
  }

  .filter-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 1vh;
  }

  .filter-input,
  .filter-select {
    flex: 1;
    padding: 1vh;
    border: 0.1vh solid #ccc;
    border-radius: 0.5vh;
    width: 17vh;
  }

  .filter-button {
    background-color: #004e84;
    color: white;
    padding: 1vh 16vw;
    border: none;
    border-radius: 0.5vh;
    cursor: pointer;
    width: 17vh;
  }

  .filter-button:hover {
    background-color: #004e82;
  }

  /* Custom Reference Section */
  .custom-reference-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5vw;
    padding: 9vh 5vw;
    background-color: #f8f9fa;
    flex-direction: column;
    margin-top: 5vh;
    /* Add space from filter box */
  }

  /* Left Section: Image */
  .image-section {
    flex: 1;
    /* Take half the space */
    text-align: center;
  }

  .image-section img {
    max-width: 80%;
    /* Ensure image scales to fit */
    height: auto;
    width: 80%;
    border-radius: 1vw;
    /* Rounded corners */
  }

  /* Right Section: Text */
  .text-section {
    flex: 1.75;
    /* Take half the space */
    text-align: left;
    /* Align text to the left */
    color: #333;
    /* Text color */
  }

  .text-section h2 {
    font-size: 3.5vw;
    /* Responsive font size */
    font-weight: bold;
    margin-bottom: 2vh;
    color: #065287;
    /* Primary color for heading */
  }

  .text-section p {
    font-size: 2.6vw;
    line-height: 1.8;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 2vh;
  }

  /* New About Company Section - Second Responsive Breakpoint */
  .about-company-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5vw;
    padding: 9vh 5vw;
    background-color: #f8f9fa;
    flex-direction: column;
  }

  /* Left Section: Company Logo */
  .company-logo {
    flex: 1;
    /* Take half the space */
    text-align: center;
  }

  .company-logo img {
    max-width: 80%;
    /* Ensure image scales to fit */
    height: auto;
    width: 80%;
    border-radius: 1vw;
    /* Rounded corners */
  }

  .upcoming-conference-label {
    font-size: 5vw;
  }

  /* Right Section: Company Description */
  .company-description {
    flex: 1.75;
    /* Take half the space */
    text-align: left;
    /* Align text to the left */
    color: #333;
    /* Text color */
  }

  .company-description h2 {
    font-size: 3.5vw;
    /* Responsive font size */
    font-weight: bold;
    margin-bottom: 2vh;
    color: #065287;
    /* Primary color for heading */
  }

  .company-description p {
    font-size: 2.6vw;
    line-height: 1.8;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 2vh;
  }

  /* Custom Grid Section */
  .custom-grid-section {
    display: flex;
    justify-content: space-between;
    /* Space between columns */
    gap: 2vw;
    /* Space between sections */
    padding: 3vh 2vw;
    background-color: #fff;
    /* White background */
    text-align: center;
  }

  /* Grid Item */
  .grid-item {
    flex: 1;
    /* Equal width */
    padding: 2vh 1.5vw;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Ensure pseudo-elements stay inside */
    border: 3px solid transparent;
    /* Default transparent border */
    border-radius: 0.5vw;
    /* Optional: Rounded corners */
  }

  /* Top Border Line */
  .grid-item .line-purple,
  .grid-item .line-green,
  .grid-item .line-blue,
  .grid-item .line-red {
    height: 0.5vh;
    /* Thickness of the line */
    width: 100%;
    margin-bottom: 1.5vh;
    /* Space below the line */
  }

  .line-purple {
    background-color: #9b5de5;
    /* Purple Line */
  }

  .line-green {
    background-color: #00c36b;
    /* Green Line */
  }

  .line-blue {
    background-color: #457b9d;
    /* Blue Line */
  }

  .line-red {
    background-color: #e63946;
    /* Red Line */
  }

  /* Full Border with Animated Color on Hover */
  .grid-item:hover {
    border-image-source: linear-gradient(45deg,
        #9b5de5,
        #00c36b,
        #457b9d,
        #e63946);
    /* Gradient for border */
    border-image-slice: 1;
    /* Apply gradient to the full border */
    animation: color-motion 3s linear infinite;
    /* Infinite gradient animation */
  }

  /* Animation for Gradient Color */
  @keyframes color-motion {
    0% {
      border-image-source: linear-gradient(45deg,
          #9b5de5,
          #00c36b,
          #457b9d,
          #e63946);
    }

    50% {
      border-image-source: linear-gradient(135deg,
          #e63946,
          #457b9d,
          #00c36b,
          #9b5de5);
    }

    100% {
      border-image-source: linear-gradient(45deg,
          #9b5de5,
          #00c36b,
          #457b9d,
          #e63946);
    }
  }

  /* Content Inside Grid Item */
  .grid-item h2 {
    font-size: 3.6vw;
    font-weight: bold;
    margin-bottom: 1vh;
    color: #065287;
    z-index: 2;
    position: relative;
  }

  .grid-item p {
    font-size: 2vw;
    line-height: 1.6;
    color: #000;
    margin: 0 auto;
    max-width: 90%;
    z-index: 2;
    position: relative;
    text-align: right;
  }

  /* New Section Styles */
  .new-section {
    display: flex;
    justify-content: center;
    gap: 2vw;
    margin: 5vh 0;
    flex-direction: column;
    align-items: center;
    align-content: stretch;
    flex-wrap: nowrap;
    width: 100%;
  }

  .new-section-card {
    background-color: #f9f9f9;
    border-radius: 1vh;
    box-shadow: 0 0.4vh 0.8vh rgba(0, 0, 0, 0.1);
    padding: 2vh;
    text-align: center;
    width: 75vw;
  }

  .new-section h3 {
    color: #0077ca;
    font-size: 2.8vw;
    margin-bottom: 1vh;
  }

  .new-section p {
    color: #000;
    font-size: 1.9vw;
    margin-bottom: 3vh;
  }

  .new-section-button {
    background-color: #0077ca;
    color: white;
    padding: 1vh 2vw;
    border: none;
    border-radius: 0.5vh;
    cursor: pointer;
    font-size: 1vw;
  }

  .new-section-button:hover {
    background-color: #0076ca;
  }

  /* Popular Courses Section */
  .popular-courses {
    text-align: center;
    margin: 5vh 0;
  }

  .popular-courses h2 {
    font-size: 3.5vw;
    margin-bottom: 2vh;
    position: relative;
  }

  .popular-courses h2::after {
    content: "";
    display: block;
    width: 5vw;
    height: 0.4vh;
    background: #fff;
    margin: 1vh auto 0;
  }

  .popular-courses p {
    font-size: 2.5vw;
    margin-bottom: 2vh;
    position: relative;
  }

  /* Course Card Container */
  .course-card {
    width: calc(60% - 50px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
    overflow: hidden;
  }

  /* Course Link */
  .course-link {
    text-decoration: none;
    text-align: right;
  }

  /* Course Image Container */
  .course-image-container {
    height: 100px;
    position: relative;
  }

  /* Course Image */
  .course-image {
    width: 100%;
    height: 50%;
    object-fit: cover;
  }

  /* Course Content */
  .course-content {
    padding: 15px;
    text-align: left;
  }

  /* Course Title */
  .course-title {
    font-size: 4vw;
    margin: 10px 0;
    font-weight: bold;
    color: #333;
    text-align: left;
  }

  /* Course Meta Information */
  .course-meta {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 1vw;
    color: #666;
    text-align: left;
    direction: ltr;
  }

  /* Course Instructor */
  .course-instructor {
    font-style: italic;
    text-align: left;
  }

  /* Course Price */
  .course-price {
    font-weight: bold;
    color: #0077ca;
    font-size: 1.8vw;
    margin-top: 5px;
  }

  .tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2vh;
  }

  .tag-button {
    background-color: #0077ca;
    color: white;
    padding: 1vh 1.5vw;
    border: none;
    border-radius: 0.5vh;
    cursor: pointer;
    font-size: 2.5vw;
    transition: background-color 0.3s, color 0.3s;
  }

  .tag-button:hover {
    background-color: #193c4b;
    color: #fff;
  }

  /* Container for all course cards */
  .course-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2vw;
    justify-content: center;
    padding: 2vh;
    margin: 2vh;
  }

  /* Course Card Image Hover Effect */
  .course-card {
    background: #fff;
    border-radius: 0.8vh;
    box-shadow: 0 0.4vh 0.8vh rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    position: relative;
    max-width: 41vw;
    flex: 1 1 calc(33.333% - 2vw);
  }

  .course-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0.8vh 1.6vh rgba(0, 0, 0, 0.2);
  }

  /* Image container with hover effect */
  .course-image-container {
    position: relative;
    width: 100%;
    height: 20vh;
    overflow: hidden;
  }

  /* Image styling */
  .course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: relative;
  }

  /* Hover effect: grayscale, brightness, and slight zoom-in effect */
  .course-card:hover .course-image {
    transform: scale(1.05);
    filter: grayscale(20%) brightness(1.2);
  }

  /* Overlay effect on hover */
  .course-image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(60,
        180,
        232,
        0.2);
    /* Updated to blue overlay with 20% opacity */
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
  }

  .course-card:hover .course-image-container::before {
    opacity: 1;
    /* Show overlay on hover */
  }

  /* Ensure content displays over the overlay */
  .course-content {
    position: relative;
    z-index: 2;
    padding: 1.5vh;
    text-align: left;
  }

  .course-title {
    font-size: 2.5vw;
    margin: 1vh 0;
    font-weight: bold;
    color: #333;
    text-decoration: none;
  }

  .course-title a,
  .course-meta a,
  .course-instructor a,
  .course-price a {
    text-decoration: none;
    /* Remove underline from links */
    font-size: 1.4vw;
    color: #0077ca;
  }

  .course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1vh;
    font-size: 1.2vw;
    color: #666;
  }

  .course-instructor {
    font-style: italic;
    text-decoration: none;
    font-size: 2vw;
    color: #666;
    text-align: left;
  }

  .course-price {
    font-weight: bold;
    font-size: 2.8vw;
    color: #0077ca;
    text-decoration: none;
  }

  .paddingcourse {
    margin-top: -10vh;
  }

  /* Popup Container */
  #popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1050;
  }

  #courses-container {
    background: white;
    padding: 2vh;
    border-radius: 0.5vh;
    width: 80vw;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
  }

  #popup-container .course-card {
    width: calc(33.33% - 2vw);
    height: auto;
  }

  .close-button {
    position: absolute;
    top: 1vh;
    right: 1vh;
    font-size: 2.4vw;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 1100;
  }

  /* Stats Section */
  .stats-section {
    background: linear-gradient(to bottom, #84b6d9, #e7f7ff);
    padding: 5vh 0;
    text-align: center;
    color: black;
    position: relative;
    overflow: hidden;
  }

  .stats-section::before {
    content: "";
    display: block;
    position: absolute;
    top: -10vh;
    left: 0;
    width: 100vw;
    height: 20vh;
    background: url("/path/to/curved-background.svg") no-repeat center center / cover;
    transform: rotate(180deg);
  }

  .stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2vh;
  }

  .stat-icon img {
    width: 10vw;
    height: auto;
    margin-bottom: 1vh;
  }

  .stat-info {
    text-align: center;
  }

  .stat-number {
    font-size: 6vw;
    font-weight: bold;
    animation: counter 2s;
  }

  .stat-label {
    font-size: 5vw;
  }

  /*Temprory Stiyle */
  .padding-con {
    padding-left: 1vw;
    padding-right: 1vw;
  }

  /* Grid Container */
  .conference-grid {
    display: flex;
    justify-content: flex-end;
    gap: 0.5vw;
    width: 100%;
    flex-wrap: nowrap;
    overflow: hidden;
    margin-left: -0.5vw;
    flex-direction: column;
    align-items: center;
  }

  /* Conference Card */
  .conference-card {
    flex: 0 0 19%;
    /* Each card takes 19% of the row width to fit 5 cards */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: box-shadow 0.3s ease-in-out;
  }

  .conference-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    /* Slight hover effect */
  }

  /* Image Container */
  .conference-image-container {
    height: 200px;
    /* Fixed height for the image */
    position: relative;
    /* For hover effect */
    overflow: hidden;
    /* Hide overflow */
  }

  .conference-image {
    width: 100%;
    /* Image spans the full width of the card */
    height: 100%;
    object-fit: cover;
    /* Ensures the image fits neatly */
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    /* Smooth transition for hover */
  }

  .conference-image-container:hover .conference-image {
    transform: scale(1.05);
    /* Slight zoom effect */
    filter: brightness(0.8) drop-shadow(0 0 10px skyblue);
    /* Hover effect with sky blue color */
  }

  /* Conference Title */
  .conference-title {
    font-size: 1rem;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
  }

  .conference-link {
    text-decoration: none;
    /* Remove underline from links */
    color: inherit;
    /* Keep the text color the same as the parent */
  }

  .conference-link:hover .conference-title {
    text-decoration: none;
    /* Optional: Add underline effect on hover */
  }
}

/* ========================================= */
/* LEADERS TESTIMONIAL SECTION               */
/* ========================================= */
.leaders-testimonial-section {
  background-color: #FDF5F5;
  padding: 3rem 5%;
}

.testimonial-container {
  max-width: 1400px;
  margin: 0 auto;
}

.testimonial-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial-title {
  font-size: 3.35rem;
  font-weight: 700;
  color: #a51c30;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-subtitle {
  font-size: 1.25rem;
  color: #4a4a4a;
  max-width: 90%;
  margin: 0 auto;
  line-height: 1.8;
}

.testimonial-cards-wrapper {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar for testimonials */
.testimonial-cards-wrapper::-webkit-scrollbar {
  height: 8px;
}

.testimonial-cards-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.testimonial-cards-wrapper::-webkit-scrollbar-thumb {
  background: #a51c30;
  border-radius: 4px;
}

.testimonial-cards-wrapper::-webkit-scrollbar-thumb:hover {
  background: #6d1731;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  min-width: 350px;
  max-width: 350px;
  flex-shrink: 0;
  box-shadow: 0 10px 40px rgba(139, 30, 63, 0.15);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(139, 30, 63, 0.25);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(139, 30, 63, 0.08);
  line-height: 1;
}

.testimonial-stars {
  margin-bottom: 1rem;
}

.testimonial-stars i {
  color: #ffc107;
  font-size: 1rem;
  margin-right: 2px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: #333333;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
  min-height: 120px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #a51c30;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 1rem;
  font-weight: 600;
  color: #333333;
  margin: 0 0 0.25rem 0;
}

.author-position {
  font-size: 0.85rem;
  color: #666666;
  margin: 0;
}

/* Responsive Testimonials */
@media (max-width: 1200px) {
  .testimonial-cards-wrapper {
    justify-content: flex-start;
  }

  .testimonial-card {
    min-width: 320px;
    max-width: 320px;
  }
}

@media (max-width: 992px) {
  .leaders-testimonial-section {
    padding: 2rem 4%;
  }

  .testimonial-title {
    font-size: 2.65rem;
  }

  .testimonial-card {
    min-width: 300px;
    max-width: 300px;
  }
}

@media (max-width: 576px) {
  .leaders-testimonial-section {
    padding: 2rem 4%;
  }

  .testimonial-title {
    font-size: 2.15rem;
  }

  .testimonial-subtitle {
    font-size: 1.15rem;
  }

  .testimonial-card {
    min-width: 280px;
    max-width: 280px;
    padding: 1.5rem;
  }

  .testimonial-text {
    font-size: 0.85rem;
    min-height: auto;
  }
}

/* ========================================= */
/* END LEADERS TESTIMONIAL SECTION           */
/* =========================================  */

@media (min-width: 481px) and (max-width: 992px) {
  .desktop-courses {
    display: none !important;
    /* Hide Desktop Section */
  }

  @font-face {
    font-family: "Noto Sans";
    src: url("/fonts/noto_sans.woff2") format("woff2"),
      url("/fonts/noto_sans.woff") format("woff"),
      url("/fonts/noto_sans.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
  }

  /* Global Styles */
  body {
    font-family: "Noto Sans", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
    direction: ltr;
    /* LTR layout */
    text-align: left;
  }

  body,
  h2,
  h1,
  h3,
  h4,
  h5,
  h6,
  address,
  p,
  label,
  input,
  textarea,
  select,
  button,
  table,
  th,
  td,
  .btn,
  .form-control {
    font-family: "Noto Sans", sans-serif !important;
  }

  /* Slider Container */
  .slider-container {
    max-width: 100%;
    overflow: hidden;
    position: relative;
    height: 55vh;
    z-index: 1;
    background-color: #065287;
  }

  /* Slider */
  .slider {
    position: relative;
    height: 100%;
  }

  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* Start with all slides invisible */
    transition: opacity 1.5s ease-in-out;
    /* Smooth fade effect */
  }

  /* Make sure images cover the slider area */
  .slide img {
    width: 100%;
    height: 55vh;
    object-fit: cover;
    position: relative;
    z-index: 1;
  }

  /* Overlay Effect on Slide */
  .slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6,
        82,
        135,
        0.2);
    /* Solid overlay with 20% opacity */
    z-index: 2;
    pointer-events: none;
  }

  /* Ensure all sections have controlled z-index */
  .intro-text-overlay,
  .custom-section,
  .course-grid,
  .popular-courses {
    z-index: 5;
    /* Lower than the dropdown */
  }

  /* Introductory text overlay */
  .intro-text-overlay {
    position: absolute;
    top: 15vh;
    /* Adjust vertical position as needed */
    left: 50%;
    transform: translate(-50%, -20%);
    /* Center the text horizontally */
    text-align: center;
    color: #ffffff;
    /* White text color */
    z-index: 3;
    /* Ensure text is above the image and overlay */
    padding: 1vh;
    width: 90vw;
    /* Adjust width as needed */
  }

  .intro-text-overlay h1 {
    font-size: 2.8vw;
    /* Adjust font size as needed */
    font-weight: bold;
    margin-bottom: 1.5vh;
  }

  .intro-text-overlay p {
    font-size: 1.2vw;
    /* Adjust font size as needed */
    line-height: 1.6;
    /* Better readability */
    max-width: 1200px;
    margin: 0 auto;
    /* Center the paragraph */
  }

  /* Adjusted filter box */
  .filter-box {
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.9);
    position: absolute;
    top: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 70%;
    padding: 2vh;
    box-shadow: 0 0.4vh 0.8vh rgba(0, 0, 0, 0.1);
    border-radius: 1vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 1vh;
  }

  .filter-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 1vh;
  }

  .filter-select {
    flex: 1;
    padding: 1vh;
    border: 0.1vh solid #ccc;
    border-radius: 0.5vh;
    width: 5vh;
    margin-left: -1px;
    padding-left: 13px;
    color: black;
  }

  .filter-button {
    background-color: #004e84;
    color: white;
    padding: 1vh 8.9vw;
    border: none;
    border-radius: 0.5vh;
    cursor: pointer;
    width: 9vh;
    font-size: 19px;
  }

  .filter-button:hover {
    background-color: #004e82;
  }

  /* Custom Reference Section */
  .custom-reference-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5vw;
    padding: 9vh 5vw;
    background-color: #f8f9fa;
    flex-direction: column;
    margin-top: 5vh;
    /* Add space from filter box */
  }

  /* Left Section: Image */
  .image-section {
    flex: 1;
    /* Take half the space */
    text-align: center;
  }

  .image-section img {
    max-width: 80%;
    /* Ensure image scales to fit */
    height: auto;
    width: 80%;
    border-radius: 1vw;
    /* Rounded corners */
  }

  /* Right Section: Text */
  .text-section {
    flex: 1.75;
    /* Take half the space */
    text-align: left;
    /* Align text to the left */
    color: #333;
    /* Text color */
  }

  .text-section h2 {
    font-size: 2.8vw;
    /* Responsive font size */
    font-weight: bold;
    margin-bottom: 2vh;
    color: #065287;
    /* Primary color for heading */
  }

  .text-section p {
    font-size: 1.5vw;
    line-height: 1.8;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 4vh;
  }

  /* New About Company Section - Third Responsive Breakpoint */
  .about-company-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5vw;
    padding: 9vh 5vw;
    background-color: #f8f9fa;
    flex-direction: column;
  }

  /* Left Section: Company Logo */
  .company-logo {
    flex: 1;
    /* Take half the space */
    text-align: center;
  }

  .company-logo img {
    max-width: 80%;
    /* Ensure image scales to fit */
    height: auto;
    width: 80%;
    border-radius: 1vw;
    /* Rounded corners */
  }

  .upcoming-conference-label {
    font-size: 5vw;
  }

  /* Right Section: Company Description */
  .company-description {
    flex: 1.75;
    /* Take half the space */
    text-align: left;
    /* Align text to the left */
    color: #333;
    /* Text color */
  }

  .company-description h2 {
    font-size: 2.8vw;
    /* Responsive font size */
    font-weight: bold;
    margin-bottom: 2vh;
    color: #065287;
    /* Primary color for heading */
  }

  .company-description p {
    font-size: 1.5vw;
    line-height: 1.8;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 2vh;
  }

  /* Custom Grid Section */
  .custom-grid-section {
    display: flex;
    justify-content: space-between;
    gap: 2vw;
    padding: 3vh 2vw;
    background-color: #fff;
    text-align: center;
    flex-wrap: nowrap;
    align-content: flex-start;
    flex-direction: column;
  }

  /* Grid Item */
  .grid-item {
    flex: 1;
    /* Equal width */
    padding: 2vh 1.5vw;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Ensure pseudo-elements stay inside */
    border: 3px solid transparent;
    /* Default transparent border */
    border-radius: 0.5vw;
    /* Optional: Rounded corners */
  }

  /* Top Border Line */
  .grid-item .line-purple,
  .grid-item .line-green,
  .grid-item .line-blue,
  .grid-item .line-red {
    height: 0.5vh;
    /* Thickness of the line */
    width: 100%;
    margin-bottom: 1.5vh;
    /* Space below the line */
  }

  .line-purple {
    background-color: #9b5de5;
    /* Purple Line */
  }

  .line-green {
    background-color: #00c36b;
    /* Green Line */
  }

  .line-blue {
    background-color: #457b9d;
    /* Blue Line */
  }

  .line-red {
    background-color: #e63946;
    /* Red Line */
  }

  /* Full Border with Animated Color on Hover */
  .grid-item:hover {
    border-image-source: linear-gradient(45deg,
        #9b5de5,
        #00c36b,
        #457b9d,
        #e63946);
    /* Gradient for border */
    border-image-slice: 1;
    /* Apply gradient to the full border */
    animation: color-motion 3s linear infinite;
    /* Infinite gradient animation */
  }

  /* Animation for Gradient Color */
  @keyframes color-motion {
    0% {
      border-image-source: linear-gradient(45deg,
          #9b5de5,
          #00c36b,
          #457b9d,
          #e63946);
    }

    50% {
      border-image-source: linear-gradient(135deg,
          #e63946,
          #457b9d,
          #00c36b,
          #9b5de5);
    }

    100% {
      border-image-source: linear-gradient(45deg,
          #9b5de5,
          #00c36b,
          #457b9d,
          #e63946);
    }
  }

  /* Content Inside Grid Item */
  .grid-item h2 {
    font-size: 2.8vw;
    font-weight: bold;
    margin-bottom: 1vh;
    color: #065287;
    z-index: 2;
    position: relative;
  }

  .grid-item p {
    font-size: 1.6vw;
    line-height: 1.6;
    color: #000;
    margin: 0 auto;
    max-width: 90%;
    z-index: 2;
    position: relative;
    text-align: right;
  }

  /* New Section Styles */
  .new-section {
    display: flex;
    justify-content: center;
    gap: 2vw;
    margin: 5vh 0;
    flex-direction: column;
    align-items: center;
    align-content: stretch;
    flex-wrap: nowrap;
    width: 100%;
  }

  .new-section-card {
    background-color: #f9f9f9;
    border-radius: 1vh;
    box-shadow: 0 0.4vh 0.8vh rgba(0, 0, 0, 0.1);
    padding: 2vh;
    text-align: center;
    width: 75vw;
  }

  .new-section h3 {
    color: #0077ca;
    font-size: 2.8vw;
    margin-bottom: 1vh;
  }

  .new-section p {
    color: #000;
    font-size: 1.9vw;
    margin-bottom: 3vh;
  }

  .new-section-button {
    background-color: #0077ca;
    color: white;
    padding: 1vh 2vw;
    border: none;
    border-radius: 0.5vh;
    cursor: pointer;
    font-size: 1vw;
  }

  .new-section-button:hover {
    background-color: #0076ca;
  }

  /* Popular Courses Section */
  .popular-courses {
    text-align: center;
    margin: 5vh 0;
  }

  .popular-courses h2 {
    font-size: 2.8vw;
    margin-bottom: 2vh;
    position: relative;
  }

  .popular-courses h2::after {
    content: "";
    display: block;
    width: 5vw;
    height: 0.4vh;
    background: #fff;
    margin: 1vh auto 0;
  }

  .popular-courses p {
    font-size: 1.6vw;
    margin-bottom: 2vh;
    position: relative;
  }

  /* Course Card Container */
  .course-card {
    width: calc(60% - 50px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
    overflow: hidden;
  }

  /* Course Link */
  .course-link {
    text-decoration: none;
    text-align: right;
  }

  /* Course Image Container */
  .course-image-container {
    height: 100px;
    position: relative;
  }

  /* Course Image */
  .course-image {
    width: 100%;
    height: 50%;
    object-fit: cover;
  }

  /* Course Content */
  .course-content {
    padding: 15px;
    text-align: left;
  }

  /* Course Title */
  .course-title {
    font-size: 4vw;
    margin: 10px 0;
    font-weight: bold;
    color: #333;
    text-align: left;
  }

  /* Course Meta Information */
  .course-meta {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 1vw;
    color: #666;
    text-align: left;
    direction: ltr;
  }

  /* Course Instructor */
  .course-instructor {
    font-style: italic;
    text-align: left;
  }

  /* Course Price */
  .course-price {
    font-weight: bold;
    color: #0077ca;
    font-size: 1.8vw;
    margin-top: 5px;
  }

  .tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2vh;
  }

  .tag-button {
    background-color: #0077ca;
    color: white;
    padding: 1vh 1.5vw;
    border: none;
    border-radius: 0.5vh;
    cursor: pointer;
    font-size: 2vw;
    transition: background-color 0.3s, color 0.3s;
  }

  .tag-button:hover {
    background-color: #193c4b;
    color: #fff;
  }

  /* Container for all course cards */
  .course-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2vw;
    justify-content: center;
    padding: 2vh;
    margin: 2vh;
  }

  /* Course Card Image Hover Effect */
  .course-card {
    background: #fff;
    border-radius: 0.8vh;
    box-shadow: 0 0.4vh 0.8vh rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    position: relative;
    max-width: 41vw;
    flex: 1 1 calc(33.333% - 2vw);
  }

  .course-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0.8vh 1.6vh rgba(0, 0, 0, 0.2);
  }

  /* Image container with hover effect */
  .course-image-container {
    position: relative;
    width: 100%;
    height: 20vh;
    overflow: hidden;
  }

  /* Image styling */
  .course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: relative;
  }

  /* Hover effect: grayscale, brightness, and slight zoom-in effect */
  .course-card:hover .course-image {
    transform: scale(1.05);
    filter: grayscale(20%) brightness(1.2);
  }

  /* Overlay effect on hover */
  .course-image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(60,
        180,
        232,
        0.2);
    /* Updated to blue overlay with 20% opacity */
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
  }

  .course-card:hover .course-image-container::before {
    opacity: 1;
    /* Show overlay on hover */
  }

  /* Ensure content displays over the overlay */
  .course-content {
    position: relative;
    z-index: 2;
    padding: 1.5vh;
    text-align: left;
  }

  .course-title {
    font-size: 2.5vw;
    margin: 1vh 0;
    font-weight: bold;
    color: #333;
    text-decoration: none;
  }

  .course-title a,
  .course-meta a,
  .course-instructor a,
  .course-price a {
    text-decoration: none;
    /* Remove underline from links */
    font-size: 1.4vw;
    color: #0077ca;
  }

  .course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1vh;
    font-size: 1.2vw;
    color: #666;
  }

  .course-instructor {
    font-style: italic;
    text-decoration: none;
    font-size: 2vw;
    color: #666;
    text-align: left;
  }

  .course-price {
    font-weight: bold;
    font-size: 2.8vw;
    color: #0077ca;
    text-decoration: none;
  }

  .paddingcourse {
    margin-top: -10vh;
  }

  /* Popup Container */
  #popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1050;
  }

  #courses-container {
    background: white;
    padding: 2vh;
    border-radius: 0.5vh;
    width: 80vw;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
  }

  #popup-container .course-card {
    width: calc(33.33% - 2vw);
    height: auto;
  }

  .close-button {
    position: absolute;
    top: 1vh;
    right: 1vh;
    font-size: 2.4vw;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 1100;
  }

  /* Stats Section */
  .stats-section {
    background: linear-gradient(to bottom, #84b6d9, #e7f7ff);
    padding: 5vh 0;
    text-align: center;
    color: black;
    position: relative;
    overflow: hidden;
  }

  .stats-section::before {
    content: "";
    display: block;
    position: absolute;
    top: -10vh;
    left: 0;
    width: 100vw;
    height: 20vh;
    background: url("/path/to/curved-background.svg") no-repeat center center / cover;
    transform: rotate(180deg);
  }

  .stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap;
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2vh;
  }

  .stat-icon img {
    width: 8vw;
    height: auto;
    margin-bottom: 1vh;
  }

  .stat-info {
    text-align: center;
  }

  .stat-number {
    font-size: 4vw;
    font-weight: bold;
    animation: counter 2s;
  }

  .stat-label {
    font-size: 3vw;
  }

  /*Temprory Stiyle */
  .padding-con {
    padding-left: 1vw;
    padding-right: 1vw;
  }

  /* Grid Container */
  .conference-grid {
    display: flex;
    justify-content: flex-end;
    gap: 0.5vw;
    width: 100%;
    flex-wrap: nowrap;
    overflow: hidden;
    margin-left: -0.5vw;
    flex-direction: column;
    align-items: center;
  }

  /* Conference Card */
  .conference-card {
    flex: 0 0 19%;
    /* Each card takes 19% of the row width to fit 5 cards */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: box-shadow 0.3s ease-in-out;
  }

  .conference-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    /* Slight hover effect */
  }

  /* Image Container */
  .conference-image-container {
    height: 200px;
    /* Fixed height for the image */
    position: relative;
    /* For hover effect */
    overflow: hidden;
    /* Hide overflow */
  }

  .conference-image {
    width: 250px;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
  }

  .conference-image-container:hover .conference-image {
    transform: scale(1.05);
    /* Slight zoom effect */
    filter: brightness(0.8) drop-shadow(0 0 10px skyblue);
    /* Hover effect with sky blue color */
  }

  /* Conference Title */
  .conference-title {
    font-size: 1rem;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
  }

  .conference-link {
    text-decoration: none;
    /* Remove underline from links */
    color: inherit;
    /* Keep the text color the same as the parent */
  }

  .conference-link:hover .conference-title {
    text-decoration: none;
    /* Optional: Add underline effect on hover */
  }
}

.filter-row.topic-filters .topic-btn {
    border-color: #a51c30 !important;
    color: #a51c30 !important;
    background-color: transparent !important;
}

.filter-row.topic-filters .topic-btn:hover,
.filter-row.topic-filters .topic-btn.active {
    background-color: #a51c30 !important;
    color: #fff !important;
}