/* --- Gallery Card Meta Info & Badges --- */
.gallery-meta {
  padding: 7px 10px 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98em;
  font-weight: 700;
  min-height: 32px;
}
.gallery-badge {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 12px 6px 12px 6px;
  font-size: 0.93em;
  letter-spacing: 0.03em;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 1px 6px rgba(24, 102, 182, 0.08);
  text-transform: uppercase;
}
.gallery-badge.live {
  background: linear-gradient(90deg, #ff2d55 60%, #ff9800 100%);
}
.gallery-badge.exclusive {
  background: linear-gradient(90deg, #1866b6 60%, #ffc107 100%);
}
.gallery-badge.new {
  background: linear-gradient(90deg, #00b0ff 60%, #00e676 100%);
}
.gallery-badge.hot {
  background: linear-gradient(90deg, #ff9800 60%, #ff2d55 100%);
}
.gallery-meta-time,
.gallery-meta-views {
  color: #888;
  font-weight: 500;
  font-size: 0.97em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gallery-meta-time i {
  color: #ffc107;
  margin-right: 2px;
}
.gallery-meta-views i {
  color: #1866b6;
  margin-right: 2px;
}
/* --- End Gallery Card Meta Info & Badges --- */
/* Gallery Layout for Academy Courses */
.gallery-bg {
  display: inline-block;
  border-radius: 18px;
  margin: 0 auto 24px auto;
  padding: 18px 0;
  box-sizing: content-box;
  max-width: 100vw;
}

.gallery-container {
  font-size: 0;
  font-size: 0;
  text-align: center;
}

.gallery {
  display: inline-block;
  vertical-align: top;
  width: calc(23% - 14px); /* slightly wider for readability, ~4 per row */
  margin: 10px 12px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  text-align: left;
  font-size: 15px;
  height: 300px; /* consistent card height */
  position: relative;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

.desc {
  padding: 10px;
  color: #333;
  background: #fafafa;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 1em;
  min-height: 60px;
  max-height: 110px;
  overflow: auto;
  word-break: break-word;
}

@media (max-width: 1200px) {
  .gallery {
    width: calc(25% - 14px); /* 4 per row */
  }
}
@media (max-width: 900px) {
  .gallery {
    width: calc(50% - 14px); /* 2 per row */
  }
}
@media (max-width: 600px) {
  .gallery-bg {
    width: auto;
    min-width: 0;
    max-width: 100vw;
    border-radius: 0;
    padding: 8px 0;
    display: inline-block;
  }
  .gallery {
    width: calc(100% - 24px); /* 1 per row, keep side margin */
    height: auto; /* allow card to grow for content */
    min-height: 180px;
  }
  .desc {
    max-height: none;
    min-height: 48px;
    overflow: visible;
    font-size: 0.98em;
    padding-bottom: 18px;
  }
}

/* Speaker card info and bio styling */
.speaker-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4px;
}

.speaker-name {
  font-size: 1.08em;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  line-height: 1.25;
}

.speaker-bio {
  font-size: 0.97em;
  color: #f0f0f0;
  text-align: center;
  margin-top: 2px;
  background: rgba(24, 102, 182, 0.1);
  border-radius: 8px;
  padding: 7px 12px 6px 12px;
  width: 100%;
  min-height: 32px;
  line-height: 1.5;
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  box-sizing: border-box;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
}

@media (max-width: 700px) {
  .speaker-name {
    font-size: 1em;
    margin-bottom: 2px;
  }
  .speaker-bio {
    font-size: 0.89em;
    min-height: 18px;
    padding: 4px 6px 3px 6px;
  }
}

/* --- Academy Course Card Design --- */
.academy-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(24, 102, 182, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 210px;
  padding: 28px 18px 18px 18px;
  margin-bottom: 0;
  cursor: pointer;
  position: relative;
  gap: 12px;
}

/* Remove course-icon style, use .course-img for actual images */
.academy-card .card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.academy-card .card-inner h3 {
  font-size: 1.13em;
  font-weight: 700;
  color: #1866b6;
  margin-bottom: 4px;
  text-align: center;
}
.academy-card .card-inner p {
  font-size: 1em;
  color: #333;
  text-align: center;
  margin: 0;
}

/* Responsive Rules for Learning Section */
@media (max-width: 900px) {
  #lang-toggle {
    font-size: 1.08em;
    padding: 10px 16px;
    border-radius: 18px;
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
    min-width: 0;
    display: block;
  }
}
/* Responsive Rules for Language Toggle Button end*/

/* Courses grid: 4 cards per row, wrap to next row */
.academy-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.academy-card {
  min-width: 0;
  flex: unset;
}

@media (max-width: 1000px) {
  .academy-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 0 8vw;
  }
}

@media (max-width: 700px) {
  .academy-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 2vw;
  }
  .academy-card {
    min-width: 0;
    min-height: 120px;
    padding: 12px 6px 10px 6px;
  }
  .course-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2em;
    margin-bottom: 6px;
  }
}
@media (max-width: 1000px) {
  .academy-cards-grid {
    gap: 18px;
    padding: 0 8vw;
  }
  .academy-card {
    min-width: 180px;
    flex: 0 0 180px;
  }
}
@media (max-width: 700px) {
  .academy-cards-grid {
    gap: 12px;
    padding: 0 2vw;
  }
  .academy-card {
    min-width: 140px;
    flex: 0 0 140px;
    min-height: 120px;
    padding: 12px 6px 10px 6px;
  }
  .course-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2em;
    margin-bottom: 6px;
  }
}

/* --- Speakers Carousel: Circle Container and Gap --- */
.speakers-carousel {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 0;
  max-width: 900px;
}
.speaker-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(24, 102, 182, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  max-width: 140px;
  padding: 18px 12px 12px 12px;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  gap: 10px;
}
.speaker-card:hover {
  box-shadow: 0 4px 16px rgba(24, 102, 182, 0.18);
  transform: translateY(-4px) scale(1.04);
}
.speaker-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0;
  border: 3px solid #1866b6;
  box-shadow: 0 1.5px 6px rgba(24, 102, 182, 0.1);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.speaker-name {
  font-size: 1.08em;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  line-height: 1.25;
}
.speaker-bio {
  font-size: 0.97em;
  color: #f0f0f0;
  text-align: center;
  margin-top: 2px;
  background: rgba(24, 102, 182, 0.1);
  border-radius: 8px;
  padding: 7px 12px 6px 12px;
  width: 100%;
  min-height: 32px;
  line-height: 1.5;
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  box-sizing: border-box;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
}
@media (max-width: 700px) {
  .speakers-carousel {
    gap: 14px;
    max-width: 98vw;
  }
  .speaker-card {
    min-width: 90px;
    max-width: 110px;
    padding: 10px 6px 8px 6px;
    gap: 6px;
  }
  .speaker-img {
    width: 44px;
    height: 44px;
    border-width: 2px;
  }
}
/* --- Academy Poster Section --- */
.academy-poster {
  width: 100vw;
  min-height: 260px;
  background: linear-gradient(90deg, #1866b6 0%, #3d3b40 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0 36px 0;
  margin-top: 120px;
 }
.academy-poster-content {
  color: #fff;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.academy-poster-content .poster-title,
.academy-poster-content h1 {
  font-size: 2.5em;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.academy-poster-content .poster-desc,
.academy-poster-content p {
  font-size: 1.18em;
  font-weight: 400;
  color: #e0e0e0;
  margin-bottom: 0;
  line-height: 1.6;
}
@media (max-width: 700px) {
  .academy-poster {
    min-height: 140px;
    padding: 24px 0 18px 0;
  }
  .academy-poster-content .poster-title,
  .academy-poster-content h1 {
    font-size: 1.5em;
  }
  .academy-poster-content .poster-desc,
  .academy-poster-content p {
    font-size: 1em;
  }
}

/* --- Speakers Carousel Section --- */
.academy-speakers {
  width: 100vw;
  background: #f9fafb;
  padding: 36px 0 24px 0;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(24, 102, 182, 0.06);
}
.speakers-title {
  text-align: center;
  font-size: 2em;
  font-weight: 700;
  color: #1866b6;
  margin-bottom: 24px;
}
.speakers-carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.speakers-carousel {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 0;
  max-width: 1100px;
  margin: 0 auto;
}
.speaker-card {
  background: #333;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(24, 102, 182, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 170px;
  max-width: 170px;
  width: 170px;
  padding: 16px 10px 14px 10px;
  cursor: pointer;
  gap: 8px;
  box-sizing: border-box;
}
.speaker-card:hover {
  box-shadow: 0 4px 16px rgba(24, 102, 182, 0.18);
  transform: translateY(-4px) scale(1.04);
}
.speaker-img-container {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 8px;
  box-shadow: 0 1.5px 6px rgba(24, 102, 182, 0.1);
}
.speaker-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  margin: 0;
  border: 2px solid #1866b6;
  background: #fff;
  display: block;
}
.speaker-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2px;
  width: 100%;
  max-width: 150px;
  min-height: 54px;
}
.speaker-name {
  font-size: 1.08em;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  line-height: 1.25;
}
.speaker-bio {
  font-size: 0.97em;
  color: #f0f0f0;
  text-align: center;
  margin-top: 2px;
  background: rgba(24, 102, 182, 0.1);
  border-radius: 8px;
  padding: 7px 12px 6px 12px;
  width: 100%;
  min-height: 32px;
  line-height: 1.5;
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  box-sizing: border-box;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
}
@media (max-width: 700px) {
  .speakers-carousel {
    gap: 12px;
    max-width: 98vw;
  }
  .speaker-card {
    min-width: 120px;
    max-width: 120px;
    width: 120px;
    padding: 10px 4px 8px 4px;
  }
  .speaker-img-container {
    width: 38px;
    height: 38px;
    margin-bottom: 4px;
  }
  .speaker-img {
    width: 38px;
    height: 38px;
  }
  .speaker-info {
    max-width: 100px;
    min-height: 38px;
  }
  .speaker-bio {
    font-size: 0.82em;
    min-height: 18px;
    padding: 3px 4px 2px 4px;
  }
}

/* --- Academy Courses Grid Section --- */
.academy-courses {
  width: 100%;
  max-width: 100vw;
  background: #181818;
  padding: 36px 0 0 0;
  margin: 0 auto;
  box-shadow: none;
}

.courses-title {
  text-align: left;
  font-size: 2.1em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  margin-left: 12px;
}

.courses-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 18px;
  background: none;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 0 36px 0;
  justify-content: flex-start;
  align-items: flex-start;
  box-sizing: border-box;
}

.course-card {
  background: #232323;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  border: none;
  width: 340px;
  min-height: 210px;
  margin: 0;
  box-sizing: border-box;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.course-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
}

@media (max-width: 1000px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 0 8vw;
  }
}

@media (max-width: 700px) {
  .academy-courses {
    padding: 18px 0 30px 0;
  }
  .courses-title {
    font-size: 1.2em;
    margin-bottom: 18px;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 2vw;
  }

  .course-card {
    min-height: 120px;
    padding: 12px 6px 10px 6px;
  }

  .course-img {
    width: 100%;
    height: 90px;
    min-width: 0;
    max-width: 100%;
    margin-bottom: 0;
    border-radius: 0;
  }
  .course-info h3 {
    font-size: 1em;
  }
  .course-info p {
    font-size: 0.95em;
  }
}
.cursor-pointer {
  cursor: pointer;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

/* Global Styles */
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Add a single white underline to header/navbar for visual separation */
header {
  position: relative;
}

header::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.25px;
  opacity: 0.7;
  z-index: 10;
}

body {
  background: none;
}

html,
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  background: #ffffff;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000000;
  z-index: 1000;
  padding: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.navbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.nav-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  width: auto;
  margin-bottom: 0;
}

.logo {
  height: 35px; /* same height as searchbar */
  display: flex; /* flex to vertically center image */
  align-items: center;
  margin-right: 4px;
}

.logo-icon img {
  height: 100%; /* fill the logo container's height */
  width: auto; /* keep aspect ratio */
  display: block;
}

.searchbar {
  height: 35px;
  display: flex;
  align-items: center;
  background: transparent !important;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  padding: 2px 8px 2px 8px;
  transition: box-shadow 0.2s;
  border: 1px solid #e0e0e0;
  min-width: 250px;
  width: 100%;
  position: relative;
}

.searchbar:focus-within {
  box-shadow: 0 4px 16px rgba(61, 59, 64, 0.12);
  border-color: #bdbdbd;
}

.searchbar input {
  border: none;
  outline: none;
  background: transparent;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  width: 170px;
  color: white;
  height: 100%; /* fill the searchbar height */
}

.searchbar .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #888;
  pointer-events: none;
}

.searchbar button {
  border: none;
  background: none;
  cursor: pointer;
  color: #00000000;
  font-size: 18px;
  display: none;
  align-items: center;
  transition: color 0.2s;
}

.searchbar button:hover {
  color: #222;
}

#nav-menu {
  display: flex;
  list-style: none;
  transition: transform 0.4s ease;
}

#nav-menu li {
  margin: 0 10px;
  position: relative;
}

#nav-menu li a {
  text-decoration: none;
  color: white;
  padding: 7px 0;
  display: inline-block;
  position: relative;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 1.01em;
  font-family: "Segoe UI", "Roboto", Arial, sans-serif;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

#nav-menu li a:hover {
  color: rgb(51, 51, 51) !important;
  text-shadow: 0 1px 6px rgba(255, 193, 7, 0.1);
}

#nav-menu li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #1866b6;
  transition: width 0.3s ease;
}

#nav-menu li a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  margin-left: 10px;
  position: relative;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  margin: 4px 0;
  background: #fff;
  border-radius: 2px;
  transition: 0.4s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Desktop styles */
@media (min-width: 901px) {
  #nav-menu {
    display: flex !important;
  }
}

/* Mobile styles */
@media (max-width: 900px) {
  .navbar {
    flex-wrap: wrap;
    padding: 10px 15px;
  }

  .hamburger {
    display: flex;
    order: 2;
  }

  #nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #3d3b40;
    flex-direction: column;
    padding: 80px 30px 30px;
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    display: flex !important;
    transform: translateX(0);
    transition: right 0.4s ease;
  }

  #nav-menu.open {
    right: 0;
  }

  #nav-menu li {
    margin: 15px 0;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s, transform 0.4s;
  }

  #nav-menu.open li {
    opacity: 1;
    transform: translateX(0);
  }

  #nav-menu li:nth-child(1) {
    transition-delay: 0.1s;
  }
  #nav-menu li:nth-child(2) {
    transition-delay: 0.2s;
  }
  #nav-menu li:nth-child(3) {
    transition-delay: 0.3s;
  }
  #nav-menu li:nth-child(4) {
    transition-delay: 0.4s;
  }
  #nav-menu li:nth-child(5) {
    transition-delay: 0.5s;
  }

  #nav-menu li a {
    font-size: 18px;
    padding: 12px 0;
  }

  .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    z-index: 1002;
    display: block;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

.content {
  max-width: 1200px;
  margin: 100px auto 50px;
  padding: 20px 24px;
  border-radius: 15px;
  margin-top: 8px;
  margin-bottom: 4px;
}

/* Reposiveness Rules in header*/
@media (max-width: 900px) {
  .content {
    margin-top: 80px;
  }
}

/* Hide the close button on desktop views */
@media (min-width: 768px) {
  li.close-menu-li {
    display: none !important;
  }
}

/* Ensure it's visible on mobile */
@media (max-width: 767px) {
  li.close-menu-li {
    display: block; /* Or list-item/inline-block depending on your layout */
  }
}
/* Reposiveness Rules in header end*/

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 80px 0 24px 0;
  gap: 18px;
}

/* Contact container: improved naming for clarity */
.contact-container {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-us {
  background: #3d3b40;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.contact-us:hover {
  background: #1866b6;
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap; /* allows wrapping on smaller screens */
  gap: 16px;
}
/* Course info section for dark card */
.course-info {
  padding: 18px 18px 12px 18px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}
.course-info h3 {
  font-size: 1.13em;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px 0;
  text-align: left;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.course-info p {
  font-size: 1em;
  color: #bdbdbd;
  margin: 0;
  text-align: left;
  line-height: 1.5;
}

.cards-title {
  text-align: center;
  margin: 14px 0px 18px 0px;
  color: #1866b6;
  font-size: 1.8em;
  font-weight: bold;
}

/* Tag and status styles */
.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.course-tag {
  background: #232323;
  color: #00e676;
  font-size: 0.92em;
  border-radius: 6px;
  padding: 2px 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid #00e676;
  display: inline-block;
}
.course-tag.live {
  background: #ff2d55;
  color: #fff;
  border: none;
}
.course-tag.hot {
  background: #ff9800;
  color: #fff;
  border: none;
}
.course-tag.new {
  background: #00b0ff;
  color: #fff;
  border: none;
}

/* Responsive for course cards */
@media (max-width: 900px) {
  .courses-grid {
    gap: 18px 8px;
    max-width: 98vw;
    padding: 8px 0 18px 0;
  }
  .course-card {
    width: 98vw;
    min-width: 0;
    max-width: 100%;
  }
  .course-img {
    height: 90px;
  }
}
@media (max-width: 600px) {
  .courses-title {
    font-size: 1.1em;
    margin-bottom: 10px;
    margin-left: 4px;
  }
  .courses-grid {
    gap: 10px 0;
    padding: 4px 0 10px 0;
  }
  .course-card {
    width: 100vw;
    min-width: 0;
    max-width: 100vw;
    border-radius: 0;
  }
  .course-img {
    height: 60px;
  }
  .course-info {
    padding: 10px 8px 8px 8px;
  }
}

.ig-id {
  background: #fff url("./logo/instagram.png") no-repeat center center;
  background-size: 60% 60%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  margin: 0;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
}

.youtube-id {
  background: #fff url("./logo/youtube.png") no-repeat center center;
  background-size: 60% 60%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  margin: 0;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
}

.viber-id {
  background: #fff url("./logo/viber.png") no-repeat center center;
  background-size: 60% 60%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  margin: 0;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
}

.social-links {
  display: inline-flex;
  gap: 10px;
	padding-left: 380px;
    
}

.ig-id,
.youtube-id,
.whatsapp-id {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
}

/*Responsive Rules for contact*/
@media (max-width: 600px) {
  .content-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-container {
    justify-content: flex-start;
  }
  .contact-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .contact-container {
    width: 100% !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .contact-row > a.zoom-link {
    margin-bottom: 4px !important;
    display: block;
  }
  .contact-us-container > .contact-us {
    margin-bottom: 4px !important;
  }
}
/*Responsive Rules for contact end*/

.image-card {
  width: 100%;
  max-width: 1920px;
  height: 340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  padding: 0;
  overflow: hidden;
  position: relative;
  background: #f5f7fa;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(34, 34, 34, 0.82);
  color: #fff;
  border: none;
  font-size: 1.25em;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: 0.18s, box-shadow 0.18s, color 0.18s, border 0.18s, filter 0.18s;
  opacity: 0.97;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px 0 rgba(30, 34, 90, 0.13),
    0 1.5px 6px rgba(24, 102, 182, 0.08);
  outline: none;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  font-weight: 600;
  filter: blur(0.1px) drop-shadow(0 1.5px 6px rgba(24, 102, 182, 0.08));
  backdrop-filter: blur(2.5px) saturate(1.2);
  box-sizing: border-box;
  user-select: none;
}
.carousel-arrow.left {
  left: 14px;
}
.carousel-arrow.right {
  right: 14px;
}
.carousel-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 1.5px 8px 0 rgba(24, 102, 182, 0.07) inset;
  pointer-events: none;
}
.carousel-arrow svg,
.carousel-arrow span {
  display: block;
  font-size: 1.25em;
  line-height: 1;
  margin: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}
.carousel-arrow:hover,
.carousel-arrow:focus {
  background: linear-gradient(
    135deg,
    rgba(44, 44, 44, 0.97) 60%,
    rgba(180, 180, 180, 0.18) 100%
  );
  color: #fff;
  box-shadow: 0 6px 22px 0 rgba(30, 34, 90, 0.18),
    0 2px 8px rgba(24, 102, 182, 0.13);
  border-color: #bfc9e6;
  outline: 2px solid #2d8cff;
  outline-offset: 2px;
}
.carousel-arrow:active {
  background: linear-gradient(135deg, #181818 70%, #888 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(24, 102, 182, 0.1);
  border-color: #888;
  filter: brightness(0.98) blur(0.2px);
}
.carousel-arrow:focus {
  outline: 2px solid #2d8cff;
  outline-offset: 2px;
}

.image-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0;
  transition: opacity 0.4s;
}

/*Responsive Rules for image*/
@media (max-width: 900px) {
  .image-card {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .image-card {
    height: 120px;
  }
}

/*Responsive Rules for image end*/
.partnership {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 40px 0 0 0;
}

.partnership h2 {
  text-align: center;
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 24px;
  color: #3d3b40;
}

.partner-logos {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.partner-logos img {
  height: 60px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 8px 16px;
}

/*Responsive Rules for partnership*/
@media (max-width: 700px) {
  .partner-logos {
    gap: 16px;
  }
  .partner-logos img {
    height: 40px;
    max-width: 90vw;
    padding: 6px 8px;
  }
}

@media (max-width: 500px) {
  .partner-logos {
    flex-direction: column;
    gap: 10px;
  }
  .partner-logos img {
    height: 32px;
    max-width: 98vw;
  }
}
/*Responsive Rules for partnership end*/

/* Redesigned Category Button for Professional Look */
/* Main container for the buttons */
/* Main container for the buttons */
.category-buttons-container {
  display: flex;
  justify-content: center; /* Center buttons horizontally */
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  padding: 0;
  margin: 0;
}

/* Each button style */
.category-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1866b6;
  color: white;
  border: none;
  border-left: none; /* Avoid double borders between buttons */
  padding: 10px 20px; /* Padding around button text */
  font-size: 14px;
  cursor: pointer;
  width: 150px; /* Set fixed width for each button */
  white-space: nowrap;
  min-width: 120px;
  margin-bottom: 50px;
  position: relative; /* Required for inset shadow */
  box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.1),
    0px 3px 6px rgba(0, 0, 0, 0.1); /* Inner shadow + outer shadow */
  transition: box-shadow 0.3s ease, background-color 0.3s ease; /* Smooth transition for shadow */
}

/* Icon inside the button */
.category-btn img {
  width: 18px;
  margin-right: 8px;
}

/* Hover effect */
.category-btn:hover {
  background-color: #155a8a; /* Darken background on hover */
  box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.15),
    0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
  .category-buttons-container {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 24px;
  }

  .category-btn {
    width: 80%; /* Buttons will take 80% of the screen width on mobile */
    margin: 5px auto; /* Center the buttons and give space between them */
    border-top: none; /* Remove top border for the first button */
    margin-bottom: 14px;
  }
}

@media (max-width: 480px) {
  .category-btn {
    width: 90%; /* Further reduce width for very small screens */
    font-size: 12px; /* Adjust font size */
    padding: 12px 10px; /* Adjust padding for small screens */
  }
}

/* Responsive Rules for Category Buttons layout end */

/* Modal Styles */
.gold-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(0, 0, 0, 0.45);
  align-items: center;
  justify-content: center;
}

.gold-modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 32px 24px 24px 24px;
  border-radius: 12px;
  max-width: 350px;
  box-shadow: 0 4px 24px rgba(24, 102, 182, 0.13);
  text-align: center;
  position: relative;
}

.gold-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.7em;
  color: #888;
  cursor: pointer;
}

.gold-login-link {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 22px;
  background: #1866b6;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
}

.gold-login-link:hover {
  background: #2d8cff;
}

/* Remove featured and big card styles */
.featured,
.learning-card.big,
.featured-badge {
  display: none !important;
}

.card-benefits {
  width: 100%;
  background: rgb(0, 0, 0);
  margin: 48px 0 32px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.card-benefits-inner {
  max-width: 900px;
  width: 100%;
  padding: 48px 32px 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-benefits-title {
  font-size: 1.18em;
  font-weight: 700;
  color: #b28704;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  font-family: "Segoe UI", "Roboto", Arial, sans-serif;
}

.card-benefits-desc {
  font-size: 0.98em;
  color: #e0e0e0;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 0;
  font-family: "Segoe UI", "Roboto", Arial, sans-serif;
}
.card-benefits {
  font-family: "Segoe UI", "Roboto", Arial, sans-serif;
}

.gold-highlight {
  color: #fff;
  background: linear-gradient(90deg, #ffc107 60%, #ffe082 100%);
  padding: 2px 10px;
  border-radius: 8px;
  font-weight: 700;
  margin-left: 6px;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.13);
}

.avail-link {
  background-color: #ffc107;
  color: #000000;
  font-weight: 500;
  font-size: 20px;
  margin-top: 8px;
  padding: 14px;
  text-decoration: none;
  border-radius: 24px;
}

.avail-link:hover {
  opacity: 0.9;
  transition-duration: 1s;
}

/*Responsive Rules for card benefits*/
@media (max-width: 700px) {
  .card-benefits-inner {
    padding: 28px 10px 24px 10px;
  }
  .card-benefits-title {
    font-size: 1.3em;
  }
  .card-benefits-desc {
    font-size: 1em;
  }
}
/*Responsive Rules for card benefits end*/

/* Login button: dark background, white text, professional look */
#nav-menu li.login-register a {
  background: #3d3b40;
  color: #fff !important;
  font-weight: 700;
  border-radius: 8px;
  padding: 8px 22px;
  box-shadow: 0 2px 12px rgba(61, 59, 64, 0.13);
  margin-left: 10px;
  transition: 0.2s, color 0.2s, box-shadow 0.2s;
  border: 1.5px solid #3d3b40;
  letter-spacing: 0.5px;
  font-size: 1.08em;
  text-transform: uppercase;
}

#nav-menu li.login-register a:hover {
  background: #1866b6;
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(24, 102, 182, 0.18);
  text-decoration: none;
}

#nav-menu li.login-register a::after {
  display: none !important;
}

/*Responsive Rules for login and register*/
@media (max-width: 900px) {
  #nav-menu li.login-register a {
    display: block;
    width: 100%;
    text-align: center;
    margin: 10px 0 0 0;
    font-size: 1.15em;
    padding: 14px 0;
  }
}
/*Responsive Rules for login and register end*/

/* Footer*/
		footer {
			background-color: #000;
			color: #fff;
			padding: 60px 0 30px;
			margin-top: auto;
		}
		
		.footer-container {
			max-width: 1200px;
			margin: 0 auto;
			padding: 0 20px;
		}
		
		.footer-grid {
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
			gap: 40px;
			margin-bottom: 40px;
		}
		
		.footer-column h3 {
			font-size: 1.4rem;
			margin-bottom: 25px;
			position: relative;
			padding-bottom: 10px;
		}
		
		.footer-column h3::after {
			content: '';
			position: absolute;
			bottom: 0;
			left: 0;
			width: 50px;
			height: 3px;
			background: linear-gradient(to right, #00BBFF, #000000);
			border-radius: 3px;
		}
		
		.footer-logo {
			display: flex;
			align-items: center;
			margin-bottom: 20px;
		}
		
		.footer-logo i {
			font-size: 2.5rem;
			color: #00BBFF;
			margin-right: 15px;
		}
		
		.footer-logo span {
			font-size: 1.8rem;
			font-weight: 700;
			background: linear-gradient(to right, #00BBFF, #000000);
			-webkit-background-clip: text;
			background-clip: text;
			-webkit-text-fill-color: transparent;
		}
		
		.footer-column p {
			line-height: 1.7;
			color: #aaa;
			margin-bottom: 20px;
		}
		
		.footer-links {
			list-style: none;
		}
		
		.footer-links li {
			margin-bottom: 15px;
		}
		
		.footer-links a {
			color: #ddd;
			text-decoration: none;
			transition: color 0.3s ease;
			display: flex;
			align-items: center;
		}
		
		.footer-links a i {
			margin-right: 10px;
			color: #00BBFF;
			width: 20px;
			text-align: center;
		}
		
		.footer-links a:hover {
			color: #00BBFF;
		}

.contact-info {
  list-style: none;
}

.contact-info li {
  display: flex;
  margin-bottom: 15px;
  color: #ddd;
}

.contact-info i {
  color: #ffd700;
  margin-right: 15px;
  min-width: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #222;
  border-radius: 50%;
  color: #ffd700;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: linear-gradient(135deg, #ffd700, #ff6b00);
  color: #000;
  transform: translateY(-3px);
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 12px 15px;
  border: none;
  border-radius: 5px;
  background: #222;
  color: #fff;
  outline: none;
}

.newsletter-form button {
  background: linear-gradient(to right, #ffd700, #ff6b00);
  color: #000;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.newsletter-form button:hover {
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #333;
  color: #777;
  font-size: 0.9rem;
}

/* Responsive Rules for footer*/
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-logo {
    justify-content: center;
  }
  .social-icons {
    justify-content: center;
  }
  .newsletter-form {
    justify-content: center;
  }
  .content h1 {
    font-size: 2.2rem;
  }
}
/* Responsive Rules for footer end*/

@media (max-width: 700px) {
  .invitation-poster-section .invitation-poster {
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    box-shadow: 0 2px 8px rgba(24, 102, 182, 0.1);
  }
  .invitation-poster-section .invitation-poster img {
    width: 100% !important;
    height: 160px !important;
    min-height: 80px !important;
    border-radius: 0 !important;
    object-fit: cover;
  }
  .invitation-poster-section .invitation-poster > div {
    padding: 18px 6vw 18px 6vw !important;
  }
}

@media (max-width: 400px) {
  .invitation-poster-section .invitation-poster img {
    height: 100px !important;
  }
  .invitation-poster-section .invitation-poster > div {
    padding: 10px 2vw 10px 2vw !important;
  }
}
