@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.breadcrumb {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
  font-size: 0.75rem;
  color: #6b7280;
  opacity: 0;
  animation: fadeInDown 0.6s ease-out forwards;
}

.breadcrumb::-webkit-scrollbar {
  display: none;
}

.breadcrumb {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media (min-width: 640px) {
  .breadcrumb {
    font-size: 0.875rem;
  }
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.breadcrumb-chevron {
  width: 1rem;
  height: 1rem;
  color: #555555;
}

.breadcrumb a {
  color: #555555;
  text-decoration: underline;
  white-space: nowrap;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #134E88;
}

.breadcrumb-current {
  color: #333333;
  font-weight: 500;
  white-space: nowrap;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 55px;
  background: white;
  z-index: 50;
}

@media (min-width: 640px) {
  .navbar {
    height: 70px;
  }
}

.navbar-inner {
  margin: 0 auto;
  width: 90%;
  max-width: 1280px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  flex-shrink: 0;
}

.navbar-logo img {
  width: 5rem;
  height: auto;
}

@media (min-width: 640px) {
  .navbar-logo img {
    width: 6rem;
  }
}

@media (min-width: 1024px) {
  .navbar-logo img {
    width: 7rem;
  }
}

.navbar-links {
  display: none;
}

@media (min-width: 1024px) {
  .navbar-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .navbar-links {
    gap: 2rem;
  }
}

.navbar-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.6);
  transition: color 0.2s;
}

@media (min-width: 1280px) {
  .navbar-link {
    font-size: 1rem;
  }
}

.navbar-link:hover {
  color: rgba(0, 0, 0, 0.8);
}

.navbar-link.is-active {
  color: #134E88;
  font-weight: 600;
}

.navbar-link-dot {
  display: none;
}

.navbar-link.is-active .navbar-link-dot {
  display: block;
  width: 6px;
  height: 6px;
  background: #134E88;
  border-radius: 50%;
  flex-shrink: 0;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-arabic-link {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #D5D5D5;
  border-radius: 10px;
  color: inherit;
  transition: background 0.2s;
}

.navbar-arabic-link:hover {
  background: #f9fafb;
}

@media (min-width: 640px) {
  .navbar-arabic-link {
    display: flex;
  }
}

.navbar-arabic-arrow {
  width: 1rem;
  height: 1rem;
}

.navbar-menu-btn {
  display: flex;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #374151;
  transition: background 0.2s;
}

.navbar-menu-btn:hover {
  background: #f3f4f6;
}

@media (min-width: 1024px) {
  .navbar-menu-btn {
    display: none;
  }
}

.navbar-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile Menu Overlay */
.navbar-mobile-menu {
  display: none;
  position: fixed;
  top: 55px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: white;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
}

@media (min-width: 1024px) {
  .navbar-mobile-menu {
    display: none !important;
  }
}

.navbar-mobile-menu.navbar-mobile-open {
  transform: translateX(0);
  display: flex;
  flex-direction: column;
}

.navbar-mobile-inner {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 0;
}

.navbar-mobile-inner .container {
  width: 90%;
  margin: 0 auto;
}

.navbar-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.navbar-mobile-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
  color: #374151;
  transition: background 0.2s, color 0.2s;
}

.navbar-mobile-link:hover {
  color: #134E88;
  background: #f9fafb;
}

.navbar-mobile-link.is-active {
  color: #134E88;
  background: #EBF5FF;
  font-weight: 600;
}

.navbar-mobile-link-dot {
  width: 8px;
  height: 8px;
  background: #134E88;
  border-radius: 50%;
  flex-shrink: 0;
}

.navbar-mobile-link:not(.is-active) .navbar-mobile-link-dot {
  display: none;
}

.navbar-mobile-footer {
  border-top: 1px solid #e5e7eb;
  padding: 1rem;
}

.navbar-mobile-arabic {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border: 1px solid #D5D5D5;
  border-radius: 0.5rem;
  color: inherit;
  transition: background 0.2s;
  width: 100%;
}

.navbar-mobile-arabic:hover {
  background: #f9fafb;
}

.navbar-mobile-arabic-arrow {
  width: 1rem;
  height: 1rem;
}

/* ===== Footer ===== */
.footer {
  background: black;
  color: white;
  padding-top: 2rem;
  padding-bottom: 1.5rem;
  position: relative;
  z-index: 30;
}

.footer-inner {
  margin: 0 auto;
  width: 90%;
  max-width: 1280px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-brand {
  max-width: 300px;
  width: 100%;
}

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-brand-top img {
  width: 150px;
  height: auto;
}

.footer-brand-title {
  font-size: 1rem;
  font-weight: 600;
  color: white;
}

.footer-brand-subtitle {
  font-size: 0.875rem;
  color: #d1d5db;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: #d1d5db;
  line-height: 1.6;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.footer-link {
  display: block;
  font-size: 0.875rem;
  color: #d1d5db;
  transition: color 0.2s;
  margin-bottom: 10px;
}

.footer-link:hover {
  color: white;
}

.footer-contact-block {
  margin-bottom: 2rem;
}

.footer-contact-block:last-child {
  margin-bottom: 0;
}

.footer-contact-heading {
  font-size: 1rem;
  font-weight: 500;
  color: #60a5fa;
  margin-bottom: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #d1d5db;
  margin-bottom: 0.5rem;
}

.footer-contact-item a {
  color: #d1d5db;
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: white;
}

.footer-contact-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  display: flex;
  align-items: center;
  color: #9ca3af;
}

.footer-contact-icon svg,
.footer-contact-icon [data-icon] svg {
  width: 100%;
  height: 100%;
}

.footer-bottom {
  border-top: 1px solid #374151;
  margin-top: 3rem;
  padding-top: 1.5rem;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: #9ca3af;
}

.footer-bottom-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .footer-bottom-links {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.footer-bottom-link {
  font-size: 0.875rem;
  color: #9ca3af;
  transition: color 0.2s;
}

.footer-bottom-link:hover {
  color: white;
}

.footer-made-with {
  font-size: 0.875rem;
  color: #9ca3af;
}

/* Smooth Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes scroll-left {
  to {
    /* 4 copies - scroll one set for seamless loop */
    transform: translate(-25%);
  }
}

@keyframes scroll-right {
  to {
    /* 4 copies - scroll one set right for seamless loop */
    transform: translate(25%);
  }
}

/* Hero Banner */
.hero-banner {
  position: relative;
  padding-top: 90px;
}

.hero-banner .container,
.hero-banner .container {
  position: relative;
  z-index: 10;
  height: 100%;
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
}


.hero-content {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-content .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #134E88;
  background: #EBF5FF;
  border: 1px solid rgba(19, 78, 136, 0.1);
  border-radius: 12px;
  padding: 0.25rem 0.75rem;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

@media (min-width: 640px) {
  .hero-content .hero-badge {
    gap: 0.5rem;
    padding: 0.375rem 1rem;
  }
}

@media (min-width: 768px) {
  .hero-content .hero-badge {
    padding: 0.5rem 1.25rem;
  }
}

.hero-badge-dot {
  width: 4px;
  height: 4px;
  background: #134E88;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@media (min-width: 640px) {
  .hero-badge-dot {
    width: 6px;
    height: 6px;
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #134E88;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

.hero-title-accent {
  color: #134E88;
}

.hero-subtitle {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.625;
  max-width: 28rem;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1rem;
    max-width: 32rem;
  }
}

@media (min-width: 768px) {
  .hero-subtitle {
    max-width: 36rem;
  }
}

@media (min-width: 1024px) {
  .hero-subtitle {
    max-width: 42rem;
  }
}

.hero-content .hero-badge,
.hero-title,
.hero-subtitle {
  opacity: 0;
}

/* Home Hero */
.hero-home {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 0;
}

.hero-home-bg {
  position: absolute;
  bottom: -1.5rem;
  right: 0;
  width: 100%;
  height: 4rem;
  background: #E9F1FA;
  transform: skewY(-1deg);
  z-index: -1;
}

@media (min-width: 640px) {
  .hero-home-bg {
    height: 8rem;
    transform: skewY(-3deg);
  }
}

.hero-home-container {
  position: relative;
  z-index: 10;
  padding-top: 5rem;
  padding-bottom: 3rem;
  height: 100%;
}

@media (min-width: 1024px) {
  .hero-home-container {
    padding-top: 7.5rem;
  }
}

.hero-home-flex {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
  height: 100%;
}

@media (min-width: 1024px) {
  .hero-home-flex {
    flex-direction: row;
  }
}

.hero-home-content {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-home-content {
    gap: 1.25rem;
  }
}

.hero-home-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #134E88;
  background: #EBF5FF;
  border: 1px solid rgba(19, 78, 136, 0.2);
  border-radius: 10px;
  padding: 0.25rem 0.75rem;
  width: fit-content;
}

@media (min-width: 640px) {
  .hero-home-badge {
    padding: 0.375rem 0.75rem;
  }
}

.hero-home-badge-dot {
  width: 6px;
  height: 6px;
  background: #134E88;
  border-radius: 50%;
  margin-top: 2px;
}

.hero-home-title {
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1.2;
  color: #000;
}

@media (min-width: 640px) {
  .hero-home-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-home-title {
    font-size: 3rem;
  }
}

.hero-home-title-accent {
  color: #134E88;
}

.hero-home-desc {
  color: #474747;
  font-size: 0.875rem;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .hero-home-desc {
    font-size: 1rem;
  }
}

.hero-home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .hero-home-actions {
    align-items: center;
    gap: 1rem;
  }
}

.hero-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  height: 45px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  border-radius: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  .hero-home-btn {
    padding: 0.5rem 1.5rem;
  }
}

.hero-home-btn-primary {
  width: 100%;
  background: #134E88;
  color: white;
  border: none;
}

@media (min-width: 640px) {
  .hero-home-btn-primary {
    width: auto;
  }
}

.hero-home-btn-outline {
  width: 100%;
  background: white;
  color: #134E88;
}

@media (min-width: 640px) {
  .hero-home-btn-outline {
    width: auto;
  }
}

.hero-home-btn-outline:hover {
  background: #EBF5FF;
}

.hero-home-btn-arrow,
.hero-home-btn-icon {
  width: 1rem;
  height: 1rem;
  display: inline-flex;
}

.hero-home-btn-arrow svg,
.hero-home-btn-icon svg {
  width: 100%;
  height: 100%;
}

.hero-home-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .hero-home-stats {
    justify-content: flex-start;
    gap: 2rem;
  }
}

.hero-stat {
  text-align: center;
}

@media (min-width: 640px) {
  .hero-stat {
    text-align: left;
  }
}

.hero-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #000;
  margin: 0;
}

@media (min-width: 768px) {
  .hero-stat-value {
    font-size: 1.5rem;
  }
}

.hero-stat-label {
  font-size: 0.75rem;
  font-weight: 300;
  color: #6b7280;
  margin: 0.25rem 0 0 0;
}

@media (min-width: 768px) {
  .hero-stat-label {
    font-size: 0.875rem;
  }
}

.hero-stat-divider {
  width: 1px;
  height: 2rem;
  background: #d1d5db;
}

@media (min-width: 640px) {
  .hero-stat-divider {
    height: 3rem;
  }
}

.hero-home-search {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .hero-home-search {
    width: 420px;
    flex-shrink: 0;
  }
}

@media (min-width: 1280px) {
  .hero-home-search {
    width: 550px;
  }
}

.hero-search-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 44px rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
  padding: 1rem;
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hero-search-card {
    border-radius: 1rem;
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-search-card {
    margin: 0;
  }
}

.hero-search-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .hero-search-form {
    gap: 0.75rem;
  }
}

.hero-search-field {
  margin-bottom: 0;
}

.hero-search-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .hero-search-label {
    font-size: 0.875rem;
  }
}

.hero-search-input-wrap {
  position: relative;
}

.hero-search-input-wrap input {
  width: 100%;
  height: 45px;
  padding: 0.5rem 0.75rem 0.5rem 2.25rem;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-search-input-wrap input:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px rgba(19, 78, 136, 0.5);
}

.hero-search-icon {
  position: absolute;
  left: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: #9ca3af;
}

.hero-search-icon svg {
  width: 100%;
  height: 100%;
}

.hero-search-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.hero-search-form .custom-select-wrap {
  margin-bottom: 0;
}

.hero-search-submit {
  width: 100%;
  height: 44px;
  background: #134E88;
  color: white;
  font-weight: 500;
  font-size: 0.875rem;
  font-family: inherit;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s;
}

.hero-search-submit:hover {
  background: rgba(19, 78, 136, 0.9);
}

.hero-search-clear {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: #134E88;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .hero-search-clear {
    font-size: 0.875rem;
  }
}

.hero-search-clear:hover {
  text-decoration: underline;
}

/* Upcoming Courses Section */
.section-upcoming {
  position: relative;
  background: linear-gradient(to bottom, #E9F1FA, white);
  overflow: hidden;
  margin-top: -2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  .section-upcoming {
    margin-top: -3rem;
  }
}

@media (min-width: 1024px) {
  .section-upcoming {
    margin-top: -4rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.section-upcoming-bg {
  display: none;
}

.section-upcoming-container {
  position: relative;
  z-index: 10;
}

.section-header-upcoming {
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.section-header-badge {
  display: inline-block;
  background: white;
  color: #134E88;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .section-header-badge {
    font-size: 0.875rem;
  }
}

.section-header-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  margin: 0 0 0.5rem 0;
}

@media (min-width: 640px) {
  .section-header-title {
    font-size: 2rem;
  }
}

.section-header-desc {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.upcoming-slider-wrap {
  position: relative;
  padding-right: 0;
}

@media (min-width: 640px) {
  .upcoming-slider-wrap {
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .upcoming-slider-wrap {
    padding-right: 4rem;
  }
}

.upcoming-slider {
  position: relative;
  z-index: 10;
}

.upcoming-slider .swiper-wrapper {
  align-items: stretch;
}

.upcoming-slider .swiper-slide {
  height: auto;
}

.upcoming-nav {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
}

.upcoming-nav-mobile {
  display: flex;
  position: static;
  transform: none;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .upcoming-nav-mobile {
    display: none;
  }
}

.upcoming-nav-desktop {
  display: none;
}

@media (min-width: 640px) {
  .upcoming-nav-desktop {
    display: flex;
  }
}

.upcoming-nav-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.upcoming-nav-btn:hover {
  background: #f9fafb;
}

@media (min-width: 640px) {
  .upcoming-nav-btn {
    width: 3rem;
    height: 3rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
}

.upcoming-nav-arrow {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 640px) {
  .upcoming-nav-arrow {
    width: 1.25rem;
    height: 1.25rem;
  }
}

.upcoming-nav-arrow svg {
  width: 100%;
  height: 100%;
}

.upcoming-card {
  width: 100%;
  background: white;
  border-radius: 0.75rem;
  border: 1px solid #E5E7EB;
  overflow: hidden;
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.upcoming-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.upcoming-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.upcoming-card-image {
  height: 8rem;
  width: 100%;
  flex-shrink: 0;
}

.upcoming-card-body {
  padding: 1rem 0.5rem 0.5rem;
  flex: 1;
  min-height: 0;
}

.upcoming-card-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #000;
  margin: 0 0 1rem 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5rem;
}

.upcoming-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.upcoming-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #374151;
}

.upcoming-meta-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: #134E88;
}

.upcoming-meta-icon svg {
  width: 100%;
  height: 100%;
}

.upcoming-card-actions {
  display: flex;
  gap: 0.5rem;
  padding: 0 1rem 1rem;
  flex-shrink: 0;
}

.upcoming-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: inherit;
  border-radius: 0.375rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  flex: 1;
}

.upcoming-btn-primary {
  background: #134E88;
  color: white;
  border: none;
}

.upcoming-btn-primary:hover {
  background: rgba(19, 78, 136, 0.9);
}

.upcoming-btn-outline {
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
}

.upcoming-btn-outline:hover {
  background: #f9fafb;
}

.upcoming-btn-arrow,
.upcoming-btn-icon {
  width: 0.75rem;
  height: 0.75rem;
  display: inline-flex;
}

.upcoming-btn-arrow svg,
.upcoming-btn-icon svg {
  width: 100%;
  height: 100%;
}

/* About Section */
.section-about {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-about {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 1024px) {
  .section-about {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 640px) {
  .about-grid {
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.about-content {
  order: 2;
}

@media (min-width: 1024px) {
  .about-content {
    order: 1;
  }
}

.about-subtitle {
  display: block;
  color: #134E88;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.2s forwards;
}

@media (min-width: 640px) {
  .about-subtitle {
    font-size: 1rem;
  }
}

.about-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #000;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
  opacity: 0;
  animation: fadeInLeft 0.8s ease-out 0.4s forwards;
}

@media (min-width: 640px) {
  .about-title {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .about-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1280px) {
  .about-title {
    font-size: 3rem;
  }
}

.about-title-accent {
  color: #134E88;
}

.about-title-br {
  display: none;
}

@media (min-width: 640px) {
  .about-title-br {
    display: block;
  }
}

.about-desc {
  font-size: 0.875rem;
  color: #474747;
  line-height: 1.75;
  margin: 0 0 1rem 0;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

@media (min-width: 640px) {
  .about-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #134E88;
  color: white;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background 0.2s;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

@media (min-width: 640px) {
  .about-btn {
    padding: 0.5rem 1.5rem;
  }
}

.about-btn:hover {
  background: rgba(19, 78, 136, 0.9);
}

.about-btn-arrow {
  width: 1rem;
  height: 1rem;
}

.about-btn-arrow svg {
  width: 100%;
  height: 100%;
}

.about-image-wrap {
  order: 1;
  opacity: 0;
  animation: fadeInRight 1s ease-out 0.3s forwards;
}

@media (min-width: 1024px) {
  .about-image-wrap {
    order: 2;
  }
}

.about-image {
  width: 100%;
  height: auto;
  max-width: 28rem;
  margin: 0 auto;
  display: block;
  transition: transform 0.5s;
}

.about-image-wrap:hover .about-image {
  transform: scale(1.05);
}

@media (min-width: 640px) {
  .about-image {
    max-width: 32rem;
  }
}

@media (min-width: 1024px) {
  .about-image {
    max-width: none;
    margin: 0;
  }
}

/* Request Proposal Section */
.section-request-proposal {
  background: #134E88;
  position: relative;
  overflow: hidden;
}

.request-proposal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .request-proposal-grid {
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .request-proposal-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.request-proposal-content {
  order: 2;
  color: white;
}

@media (min-width: 1024px) {
  .request-proposal-content {
    order: 1;
  }
}

.request-proposal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
  opacity: 0;
  animation: fadeInLeft 0.8s ease-out 0.3s forwards;
}

@media (min-width: 640px) {
  .request-proposal-title {
    font-size: 1.875rem;
    margin-bottom: 1rem;
  }
}

@media (min-width: 1024px) {
  .request-proposal-title {
    font-size: 2.25rem;
  }
}

.request-proposal-br {
  display: none;
}

@media (min-width: 640px) {
  .request-proposal-br {
    display: block;
  }
}

.request-proposal-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0 0 1rem 0;
  max-width: none;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

@media (min-width: 640px) {
  .request-proposal-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .request-proposal-desc {
    max-width: 28rem;
  }
}

.request-proposal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: #134E88;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  border: 1px solid white;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

@media (min-width: 640px) {
  .request-proposal-btn {
    padding: 0.5rem 1.5rem;
  }
}

.request-proposal-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.request-proposal-btn-arrow {
  width: 1rem;
  height: 1rem;
}

.request-proposal-btn-arrow svg {
  width: 100%;
  height: 100%;
}

.request-proposal-image-wrap {
  order: 1;
  opacity: 0;
  animation: fadeInRight 1s ease-out 0.4s forwards;
}

@media (min-width: 1024px) {
  .request-proposal-image-wrap {
    order: 2;
  }
}

.request-proposal-image {
  width: 100%;
  height: auto;
  max-width: 24rem;
  margin: 0 auto;
  display: block;
  transition: transform 0.5s;
}

.request-proposal-image-wrap:hover .request-proposal-image {
  transform: scale(1.05);
}

@media (min-width: 1024px) {
  .request-proposal-image {
    max-width: 500px;
    margin: 0;
  }
}

/* Services Section */
.section-services {
  position: relative;
}

.section-services-shape {
  position: absolute;
  top: 2rem;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0.5;
  pointer-events: none;
  animation: fadeInScale 1.2s ease-out 0.1s forwards;
}

@media (min-width: 640px) {
  .section-services-shape {
    top: 3rem;
    opacity: 1;
  }
}

@media (min-width: 1024px) {
  .section-services-shape {
    top: 3.75rem;
  }
}

.section-header-services {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .section-header-services {
    margin-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .section-header-services {
    margin-bottom: 7.5rem;
  }
}

.section-header-services-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #134E88;
  background: #EBF5FF;
  border: 1px solid rgba(19, 78, 136, 0.1);
  border-radius: 10px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .section-header-services-badge {
    padding: 0.375rem 0.75rem;
    margin-bottom: 1rem;
  }
}

.section-header-services-dot {
  width: 6px;
  height: 6px;
  background: #134E88;
  border-radius: 50%;
}

.section-header-services-title {
  font-size: 1.875rem;
  font-weight: 600;
  color: #000;
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .section-header-services-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .section-header-services-title {
    font-size: 3rem;
  }
}

.section-header-services-br {
  display: none;
}

@media (min-width: 640px) {
  .section-header-services-br {
    display: block;
  }
}

.section-header-services-accent {
  color: #134E88;
}

.section-header-services-desc {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 42rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .section-header-services-desc {
    font-size: 1rem;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card-wrap {
  opacity: 0;
}

.service-card-wrap:nth-child(1) {
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.service-card-wrap:nth-child(2) {
  animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

.service-card-wrap:nth-child(3) {
  animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

@media (min-width: 640px) {
  .service-card-wrap-featured {
    grid-column: span 2;
    max-width: 28rem;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  .service-card-wrap-featured {
    grid-column: span 1;
    max-width: none;
    margin: 0;
    transform: translateY(-5rem);
  }
}

.service-card {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  transition: all 0.3s;
  cursor: pointer;
}

.service-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-card-top {
  background: #E9F1FA;
  padding: 1.5rem;
}

.service-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: #134E88;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-card-icon img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}

.service-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #000;
  margin: 0;
}

@media (min-width: 640px) {
  .service-card-title {
    font-size: 1.25rem;
  }
}

.service-card-bottom {
  background: white;
  padding: 2rem 1.5rem 1.5rem;
}

.service-card-desc {
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #225BE4;
  text-decoration: underline;
  font-size: 0.875rem;
  transition: gap 0.3s;
}

.service-card-link:hover {
  gap: 0.75rem;
}

.service-card-link-arrow {
  width: 1rem;
  height: 1rem;
}

.service-card-link-arrow svg {
  width: 100%;
  height: 100%;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #134E88;
  margin-bottom: 0.5rem;
}

.section-desc {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.section-desc a {
  color: #134E88;
  text-decoration: underline;
}

.section-desc a:hover {
  color: #0d3a6b;
}

/* Section */
.section {
  position: relative;
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 4rem 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 5rem 0;
  }
}

.section-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 300px;
  background: linear-gradient(to bottom, #E9F1FA, white);
  transform: skewY(-6deg);
  z-index: -1;
}

@media (min-width: 640px) {
  .section-bg {
    transform: skewY(-5deg);
  }
}

@media (min-width: 768px) {
  .section-bg {
    transform: skewY(-4deg);
  }
}

@media (min-width: 1024px) {
  .section-bg {
    transform: skewY(-3deg);
  }
}

/* Container */
.container {
  margin: 0 auto;
  width: 90%;
  position: relative;
  /* z-index: 10; */
}

/* Categories Section (Home) */
.section-categories {
  padding-top: 0;
}

.section-header-categories {
  text-align: center;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

@media (min-width: 640px) {
  .section-header-categories {
    margin-bottom: 2.5rem;
  }
}

.section-header-categories-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #134E88;
  background: white;
  border: 1px solid rgba(19, 78, 136, 0.1);
  border-radius: 10px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .section-header-categories-badge {
    padding: 0.375rem 0.75rem;
    margin-bottom: 1rem;
  }
}

.section-header-categories-dot {
  width: 6px;
  height: 6px;
  background: #134E88;
  border-radius: 50%;
}

.section-header-categories-title {
  font-size: 1.875rem;
  font-weight: 600;
  color: #000;
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .section-header-categories-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .section-header-categories-title {
    font-size: 3rem;
  }
}

.section-header-categories-br {
  display: none;
}

@media (min-width: 640px) {
  .section-header-categories-br {
    display: block;
  }
}

.section-header-categories-accent {
  color: #134E88;
}

.section-header-categories-desc {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 42rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .section-header-categories-desc {
    font-size: 1rem;
  }
}

.categories-grid-home {
  position: relative;
  z-index: 10;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}

/* Category Card */
.category-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1rem 0.75rem;
  border: 1px solid #D5D5D5;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.category-card:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  border-color: rgba(19, 78, 136, 0.2);
}

@media (min-width: 640px) {
  .category-card {
    border-radius: 0.75rem;
    padding: 1.5rem 1rem;
  }
}

.category-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .category-card-header {
    gap: 1rem;
    margin-bottom: 1rem;
  }
}

.category-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid #D5D5D5;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.category-card:hover .category-icon {
  background: #EBF5FF;
}

@media (min-width: 640px) {
  .category-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
  }
}

.category-title {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (min-width: 640px) {
  .category-title {
    font-size: 1rem;
  }
}

.category-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-count {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #4b5563;
}

@media (min-width: 640px) {
  .course-count {
    gap: 0.5rem;
    font-size: 0.875rem;
  }
}

.cap-icon {
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .cap-icon {
    width: 1rem;
    height: 1rem;
  }
}

.card-arrow {
  width: 1rem;
  height: 1rem;
  color: #9ca3af;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.category-card:hover .card-arrow {
  color: #134E88;
}

.card-arrow svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (min-width: 640px) {
  .card-arrow {
    width: 1.25rem;
    height: 1.25rem;
  }
}

[dir="rtl"] .card-arrow {
  transform: rotate(180deg);
}

/* Cities Grid */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* City Card */
.city-card {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.city-card-inner {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background: white;
  border: 1px solid #E5E7EB;
  transition: all 0.3s ease;
}

.city-card:hover .city-card-inner {
  border-color: rgba(19, 78, 136, 0.2);
}

.city-card-image {
  position: relative;
  height: 10rem;
  overflow: hidden;
}

.city-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent, transparent);
  z-index: 1;
}

.city-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.city-card:hover .city-card-image img {
  transform: scale(1.05);
}

.city-card-content {
  padding: 0.5rem 0.75rem;
}

.city-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.city-location-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid #DDDDDD;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.city-location-icon svg {
  width: 22px;
  height: 22px;
}

.city-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: black;
}

.city-region {
  font-size: 0.75rem;
  color: #4b5563;
}

.city-course-count {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  color: #3A3A3A;
}

@media (min-width: 640px) {
  .city-course-count {
    gap: 0.5rem;
  }
}

.city-course-count .cap-icon {
  flex-shrink: 0;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  background: #134E88;
  color: white;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #0f3d6b;
}

.btn-sm {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
}

.btn-arrow {
  width: 0.75rem;
  height: 0.75rem;
}

.city-card:hover .btn {
  background: #0f3d6b;
}

[dir="rtl"] .btn-arrow {
  transform: rotate(180deg);
}

/* Cities Section (Home) */
.section-cities {
  overflow: hidden;
}

.section-header-cities {
  text-align: center;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.section-header-cities-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #134E88;
  background: rgba(19, 78, 136, 0.08);
  border-radius: 9999px;
}

.section-header-cities-dot {
  width: 6px;
  height: 6px;
  background: #134E88;
  border-radius: 50%;
}

.section-header-cities-title {
  font-size: 1.875rem;
  font-weight: 600;
  color: #000;
  margin: 0 0 0.5rem;
}

@media (min-width: 640px) {
  .section-header-cities {
    margin-bottom: 2rem;
  }

  .section-header-cities-badge {
    padding: 0.375rem 0.75rem;
    margin-bottom: 1rem;
  }

  .section-header-cities-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-header-cities-title {
    font-size: 3rem;
  }
}

.section-header-cities-desc {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

@media (min-width: 640px) {
  .section-header-cities-desc {
    font-size: 1rem;
  }
}

.cities-slider-wrap {
  position: relative;
  padding-right: 0;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInLeft 1s ease-out 0.4s forwards;
}

@media (min-width: 640px) {
  .cities-slider-wrap {
    padding-right: 2rem;
  }
}

@media (min-width: 768px) {
  .cities-slider-wrap {
    padding-right: 4rem;
  }
}

.cities-slider-wrap .swiper-slide {
  height: auto;
}

.cities-nav {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
}

.cities-nav-mobile {
  display: flex;
  position: static;
  transform: none;
  justify-content: center;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .cities-nav-mobile {
    display: none;
  }
}

.cities-nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .cities-nav-desktop {
    display: flex;
  }
}

.cities-nav-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.cities-nav-btn:hover {
  background: #f9fafb;
}

@media (min-width: 768px) {
  .cities-nav-btn {
    width: 3rem;
    height: 3rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
}

.cities-nav-arrow {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 768px) {
  .cities-nav-arrow {
    width: 1.25rem;
    height: 1.25rem;
  }
}

.cities-nav-arrow svg,
.cities-nav-arrow [data-icon] {
  width: 100%;
  height: 100%;
}

.section-cities-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #225BE4;
  text-decoration: underline;
  transition: color 0.3s;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.section-cities-link:hover {
  color: #0f3d6b;
}

.section-cities-link-arrow {
  width: 1rem;
  height: 1rem;
}

.section-cities-link-arrow svg {
  width: 100%;
  height: 100%;
}

/* Section with Search (Category page) */
.section-with-search {
  padding-top: 4rem;
}

@media (min-width: 640px) {
  .section-with-search {
    padding-top: 4.5rem;
  }
}

@media (min-width: 768px) {
  .section-with-search {
    padding-top: 5rem;
  }
}

/* Search Input */
.search-wrapper {
  position: absolute;
  z-index: 30;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 20rem;
  padding: 0 0.75rem;
}

@media (min-width: 640px) {
  .search-wrapper {
    top: -1.5rem;
    max-width: 24rem;
    padding: 0 1rem;
  }
}

@media (min-width: 768px) {
  .search-wrapper {
    max-width: 28rem;
  }
}

@media (min-width: 1024px) {
  .search-wrapper {
    max-width: 32rem;
  }
}

.search-input-wrap {
  position: relative;
}

.search-icon {
  position: absolute;
  inset: 0;
  left: 0;
  right: auto;
  display: flex;
  align-items: center;
  pointer-events: none;
  padding-left: 0.75rem;
}

[dir="rtl"] .search-icon {
  left: auto;
  right: 0;
  padding-left: 0;
  padding-right: 0.75rem;
}

.search-icon svg {
  width: 1.125rem;
  height: 1.125rem;
  color: #8B8B8B;
}

.search-input {
  width: 100%;
  font-size: 0.875rem;
  padding: 0.625rem 2.5rem 0.625rem 2.25rem;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  color: #111827;
}

.search-input::placeholder {
  color: #8B8B8B;
}

.search-input:focus {
  outline: none;
  border-color: #225BE4;
  box-shadow: 0 0 0 1px #225BE4;
}

@media (min-width: 640px) {
  .search-input {
    font-size: 1rem;
    padding: 0.75rem 3rem 0.75rem 2.5rem;
    border-radius: 16px;
  }
}

[dir="rtl"] .search-input {
  padding-left: 2.5rem;
  padding-right: 2.25rem;
}

@media (min-width: 640px) {
  [dir="rtl"] .search-input {
    padding-left: 3rem;
    padding-right: 2.5rem;
  }
}

.search-clear {
  position: absolute;
  inset: 0;
  left: auto;
  right: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding-right: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #8B8B8B;
  transition: color 0.2s;
}

.search-clear:hover {
  color: #225BE4;
}

.search-clear svg {
  width: 1.125rem;
  height: 1.125rem;
}

@media (min-width: 640px) {
  .search-clear {
    padding-right: 0.75rem;
  }

  .search-clear svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

[dir="rtl"] .search-clear {
  right: auto;
  left: 0;
  padding-right: 0;
  padding-left: 0.5rem;
}

/* Courses List */
.courses-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .courses-list {
    gap: 1rem;
  }
}

/* Course Item */
.course-item-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  background: white;
  border: 1px solid #E5E5E5;
  border-radius: 0.75rem;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}

.course-item-link:hover {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

@media (min-width: 640px) {
  .course-item-link {
    flex-direction: row;
    align-items: center;
    padding: 0.75rem 1.5rem;
    gap: 1rem;
  }
}

.course-item-left {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 640px) {
  .course-item-left {
    width: 50%;
    align-items: center;
  }
}

.course-item-title {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  flex: 1;
  min-width: 0;
}

@media (min-width: 640px) {
  .course-item-title {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .course-item-title {
    font-size: 0.9375rem;
  }
}

.course-duration-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #134E88;
  white-space: nowrap;
  flex-shrink: 0;
}

.course-duration-badge img {
  flex-shrink: 0;
}

.course-item-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
  width: 100%;
}

@media (min-width: 640px) {
  .course-item-right {
    width: auto;
    justify-content: flex-end;
  }
}

.course-code {
  font-size: 0.75rem;
  color: #6b7280;
}

.course-arrow {
  width: 1rem;
  height: 1rem;
  color: #9ca3af;
  flex-shrink: 0;
  transition: color 0.2s;
}

.course-item-link:hover .course-arrow {
  color: #134E88;
}

@media (min-width: 640px) {
  .course-arrow {
    width: 1.125rem;
    height: 1.125rem;
  }
}

[dir="rtl"] .course-arrow {
  transform: rotate(180deg);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 2rem;
}

.empty-state-text {
  font-size: 1rem;
  color: #6b7280;
}

/* City Tabs */
.search-wrapper-city {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .search-wrapper-city {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .search-wrapper-city {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.city-tabs-content {
  position: relative;
  z-index: 10;
}

.city-tabs-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border: 1px solid #C6C6C6;
  background: white;
  padding: 0.375rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .city-tabs-nav {
    flex-direction: row;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    gap: 0.25rem;
  }
}

.city-tab {
  flex: 1;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #4b5563;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  font-family: inherit;
  white-space: nowrap;
}


.city-tab:hover {
  color: #111827;
}

@media (min-width: 640px) {
  .city-tab {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }
}

.city-tab-active {
  background: #134E88;
  color: white;
}

.city-tab-active:hover {
  color: white;
}

.city-tabpanel {
  margin-top: 0;
}

/* Form Section (Contact, Register, Enquire) */
.section-form {
  padding-top: 0;
}

/* Form Container */
.form-container {
  box-shadow: 0 4px 22px 0 rgba(0, 0, 0, 0.06);
  background: white;
  border-radius: 0.75rem;
  padding: 1rem;
  position: relative;
  z-index: 10;
  max-width: 72rem;
  margin: 0 1rem;
  transform: translateY(-2.5rem);
}

@media (min-width: 640px) {
  .form-container {
    padding: 1.5rem;
    margin: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .form-container {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .form-container {
    padding: 3rem;
    margin-left: auto;
    margin-right: auto;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-grid {
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.form-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-left {
    gap: 2rem;
  }
}

.form-intro-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .form-intro-title {
    font-size: 1.25rem;
  }
}

.form-intro-text {
  color: #4b5563;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .form-intro-text {
    margin-bottom: 1.5rem;
  }
}

.course-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.course-detail-chip {
  background: #E9F1FA;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  color: #4b5563;
  width: fit-content;
}

.course-detail-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.course-detail-icon {
  width: 1rem;
  height: 1rem;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.25rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .contact-info {
    gap: 1.5rem;
  }
}

.contact-block-title {
  font-size: 1rem;
  font-weight: 600;
  color: #225BE4;
  margin-bottom: 0.375rem;
}

@media (min-width: 640px) {
  .contact-block-title {
    font-size: 1.125rem;
  }
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #4b5563;
}

@media (min-width: 640px) {
  .contact-item {
    font-size: 1rem;
  }
}

.contact-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: #9ca3af;
  margin-top: 0.125rem;
}

.break-all {
  word-break: break-all;
}

/* Form Fields */
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .form-fields {
    gap: 1rem;
  }
}

.form-section {
  margin-bottom: 0.5rem;
}

.form-section-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .form-section-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-row .form-field {
  min-width: 0;
}

@media (max-width: 639px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-field {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6B7280;
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .form-label {
    font-size: 0.875rem;
  }
}

.form-required {
  color: #ef4444;
  margin-left: 0.25rem;
}

.form-input-wrap {
  position: relative;
}

.form-input-wrap input,
.form-input-wrap textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  padding-right: 1rem;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  height: 45px;
  font-size: 0.875rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input-wrap input::placeholder,
.form-input-wrap textarea::placeholder {
  font-size: 0.75rem;
  color: #9ca3af;
}

.form-input-wrap input:focus,
.form-input-wrap textarea:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px rgba(19, 78, 136, 0.5);
}

@media (min-width: 640px) {
  .form-input-wrap input {
    padding: 0.625rem 1rem;
    font-size: 1rem;
  }

  .form-input-wrap input::placeholder {
    font-size: 0.875rem;
  }
}

.form-input-icon input,
.form-input-icon textarea {
  padding-left: 2.25rem;
}

@media (min-width: 640px) {

  .form-input-icon input,
  .form-input-icon textarea {
    padding-left: 2.5rem;
  }
}

.form-input-icon-svg {
  position: absolute;
  left: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.875rem;
  height: 0.875rem;
  color: #9ca3af;
  pointer-events: none;
}

@media (min-width: 640px) {
  .form-input-icon-svg {
    left: 0.75rem;
    width: 1rem;
    height: 1rem;
  }
}

.form-textarea-wrap .form-input-icon-svg {
  top: 0.75rem;
  transform: none;
}

.form-input-wrap textarea {
  height: auto;
  min-height: 80px;
  resize: none;
  padding-top: 0.625rem;
}

.form-input-disabled {
  background: #f9fafb;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  height: 45px;
  display: flex;
  align-items: center;
  padding-left: 2.25rem;
  padding-right: 0.75rem;
}

.form-error {
  display: none;
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
}

@media (min-width: 640px) {
  .form-error {
    font-size: 0.875rem;
  }
}

.form-file-wrap {
  position: relative;
  min-height: 45px;
}

.form-file-preview {
  width: 100%;
  padding-left: 2.25rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  background: white;
  height: 45px;
  display: flex;
  align-items: center;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}

.form-file-preview:hover {
  background: #f9fafb;
}

.form-file-wrap input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.form-file-icon-wrap {
  position: absolute;
  left: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: #9ca3af;
  pointer-events: none;
}

.form-file-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.form-file-has-file .form-file-icon-wrap {
  color: #16a34a;
}

.form-file-text {
  font-size: 0.75rem;
  color: #6b7280;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .form-file-text {
    font-size: 0.875rem;
  }
}

.form-file-has-file .form-file-text {
  color: #15803d;
}

.form-file-has-file.form-file-preview {
  border-color: #86efac;
  background: #f0fdf4;
}

.form-disabled-text {
  font-size: 0.75rem;
  color: #4b5563;
}

@media (min-width: 640px) {
  .form-input-disabled {
    padding-left: 2.5rem;
  }

  .form-disabled-text {
    font-size: 0.875rem;
  }
}

.form-submit {
  width: 100%;
  background: #134E88;
  color: white;
  font-weight: 500;
  padding: 0.75rem 1rem;
  height: 44px;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s;
}

.form-submit:hover {
  background: rgba(19, 78, 136, 0.9);
}

@media (min-width: 640px) {
  .form-submit {
    padding: 0.75rem 1.5rem;
    height: 48px;
    gap: 1rem;
  }
}

.form-submit-arrow {
  width: 0.875rem;
  height: 0.875rem;
  display: inline-flex;
}

.form-submit-arrow svg {
  width: 100%;
  height: 100%;
}

@media (min-width: 640px) {
  .form-submit-arrow {
    width: 1rem;
    height: 1rem;
  }
}

[dir="rtl"] .form-submit-arrow {
  transform: rotate(180deg);
}

/* Injected icons - ensure SVG fills container */
.form-input-icon-svg svg,
.contact-icon svg,
.course-detail-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Course Hero (Course page) */
.course-hero {
  position: relative;
  padding-top: 90px;
  padding-bottom: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.breadcrumb-course {
  position: static;
  opacity: 1;
  animation: none;
}

.course-hero-content {
  width: 100%;
  text-align: left;
  margin-top: 1rem;
}

.course-hero-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #134E88;
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

@media (min-width: 640px) {
  .course-hero-title {
    font-size: 2.25rem;
  }
}

.course-hero-desc {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

@media (min-width: 640px) {
  .course-hero-desc {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }
}

.course-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #134E88;
  color: white;
  font-weight: 500;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.2s;
}

.course-hero-cta:hover {
  background: #0d3a6b;
}

@media (min-width: 640px) {
  .course-hero-cta {
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
  }
}

.course-hero-cta-arrow {
  width: 0.875rem;
  height: 0.875rem;
  display: inline-flex;
}

.course-hero-cta-arrow svg {
  width: 100%;
  height: 100%;
}

/* Timings Section */
.section-timings {
  padding-top: 0;
}

.timings-filter-box {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  border: 1px solid #f3f4f6;
  padding: 1rem;
  margin-bottom: 1.5rem;
  transform: translateY(-45px);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .timings-filter-box {
    padding: 1.5rem;
  }
}

.timings-filter-row {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
}

.timings-filter-row:not(.timings-filter-month-only) {
  flex-wrap: wrap;
}

@media (min-width: 640px) {
  .timings-filter-row:not(.timings-filter-month-only) {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
  }
}

.timings-filter-month-only {
  grid-template-columns: 1fr auto !important;
}

.timings-filter-field {
  flex: 1;
  min-width: 0;
}

/* Custom Select */
.custom-select-wrap {
  position: relative;
  width: 100%;
}

.custom-select-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6B7280;
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .custom-select-label {
    font-size: 0.875rem;
  }
}

.custom-select-inner {
  position: relative;
}

.custom-select-trigger {
  width: 100%;
  height: 45px;
  padding: 0.5rem 0.75rem;
  padding-right: 2rem;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-family: inherit;
  background: white;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

@media (min-width: 640px) {
  .custom-select-trigger {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
}

.custom-select-trigger:hover {
  border-color: #d1d5db;
}

.custom-select-trigger:focus,
.custom-select-trigger.custom-select-open {
  border-color: transparent;
  box-shadow: 0 0 0 2px rgba(19, 78, 136, 0.5);
}

.custom-select-trigger-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-chevron {
  width: 0.875rem;
  height: 0.875rem;
  color: #9CA3AF;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.custom-select-trigger.custom-select-open .custom-select-chevron {
  transform: rotate(180deg);
}

.custom-select-dropdown {
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  margin-top: 0.25rem;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 0.25rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  max-height: 12rem;
  overflow-y: auto;
}

.custom-select-dropdown[hidden] {
  display: none;
}

.custom-select-option {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-family: inherit;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  transition: background 0.15s;
  color: #111827;
}

@media (min-width: 640px) {
  .custom-select-option {
    font-size: 0.875rem;
    padding: 0.375rem 1rem;
  }
}

.custom-select-option:hover {
  background: #f9fafb;
}

.custom-select-option.custom-select-option-selected {
  background: #eff6ff;
  color: #134E88;
}

.custom-select-option span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-check {
  width: 0.875rem;
  height: 0.875rem;
  color: #134E88;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.custom-select-wrap.custom-select-error .custom-select-trigger {
  border-color: #ef4444;
}

.custom-select-wrap.custom-select-error .custom-select-trigger:focus {
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.5);
}

.timings-select {
  width: 100%;
  height: 45px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
  background: white;
}

.timings-clear-btn {
  color: #134E88;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  flex-shrink: 0;
}

.timings-clear-btn:hover {
  text-decoration: underline;
}

.timings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  .timings-grid {
    gap: 0.75rem;
    padding-bottom: 5rem;
  }
}

.timings-empty {
  text-align: center;
  padding: 3rem;
}

@media (min-width: 640px) {
  .timings-empty {
    padding: 5rem;
  }
}

.timings-empty p {
  color: #6b7280;
  font-size: 1.125rem;
}

/* Timing Card */
.timing-card {
  padding: 0.625rem 0.75rem;
  background: white;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s;
  overflow: hidden;
  max-width: 24rem;
}

.timing-card:hover {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.timing-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.75rem;
}

.timing-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.timing-location-icon {
  width: 2rem;
  height: 2rem;
  background: #EBF5FF;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timing-location-icon svg {
  width: 22px;
  height: 22px;
}

.timing-city {
  font-weight: 600;
}

.timing-region {
  font-size: 0.75rem;
  color: #6b7280;
}

.timing-dates {
  background: #F9F9F9;
  border-radius: 0.25rem;
  padding: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #3A3A3A;
  text-align: center;
  margin-bottom: 0.5rem;
}

.timing-price {
  font-size: 0.75rem;
  color: #555555;
}

.timing-fees {
  color: #16A34A;
  font-weight: 600;
  font-size: 0.875rem;
}

.timing-actions {
  display: flex;
  gap: 0.375rem;
}

.timing-btn {
  height: 30px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: background 0.2s;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.timing-btn-pdf {
  background: #134E88;
  color: white;
}

.timing-btn-pdf:hover {
  background: rgba(19, 78, 136, 0.8);
}

.timing-btn-register {
  background: #F8FAFC;
  color: #374151;
}

.timing-btn-register:hover {
  background: #e5e7eb;
}

/* About Course Section */
.section-about {
  padding-top: 0;
}

.section-about-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #134E88;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .section-about-title {
    font-size: 1.5rem;
  }
}

.course-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .course-content h3 {
    font-size: 1.125rem;
  }
}

.course-content h3:first-child {
  margin-top: 0;
}

.course-content p {
  font-size: 0.875rem;
  line-height: 1.625;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.course-content ul {
  margin: 0.5rem 0 1rem 1.25rem;
}

.course-content li {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0.25rem;
}

/* PDF Popup */
.pdf-popup {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5);
}

.pdf-popup-overlay {
  position: absolute;
  inset: 0;
}

.pdf-popup-content {
  position: relative;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  max-width: 42rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
}

.pdf-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.pdf-popup-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1F2937;
  margin: 0;
}

.pdf-popup-close {
  padding: 0.25rem;
  border-radius: 0.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
}

.pdf-popup-close:hover {
  background: #f3f4f6;
  color: #374151;
}

/* ===== Search Page ===== */
.hero-banner-search .hero-content {
  padding-bottom: 2rem;
}

.section-search {
  position: relative;
  padding-top: 0;
}

.search-skew-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 270px;
  background: linear-gradient(to bottom, #E9F1FA, white);
  transform: skewY(-6deg);
  z-index: -1;
  pointer-events: none;
}

@media (min-width: 640px) {
  .search-skew-bg { transform: skewY(-5deg); }
}
@media (min-width: 768px) {
  .search-skew-bg { transform: skewY(-4deg); }
}
@media (min-width: 1024px) {
  .search-skew-bg { transform: skewY(-2deg); }
}

.search-filters-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
  padding: 1rem 16px;
  margin-top: -50px;
  position: relative;
}

@media (min-width: 640px) {
  .search-filters-card { padding: 1rem; }
}

.search-filters-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .search-filters-row {
    flex-direction: row;
    gap: 1rem;
  }
}

.search-filters-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .search-filters-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .search-filters-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.search-filter-field .form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}

.search-filters-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.25rem;
}

@media (min-width: 1024px) {
  .search-filters-actions {
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: 0;
  }
}

.search-clear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #134e88;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem 0;
  transition: color 0.2s;
}

.search-clear-btn:hover {
  color: #0f3d6b;
}

.search-clear-icon {
  width: 0.875rem;
  height: 0.875rem;
}

.search-clear-icon svg {
  width: 100%;
  height: 100%;
}

.search-loading {
  text-align: center;
  padding: 3rem 0;
}

.search-loading-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid #e5e7eb;
  border-top-color: #134E88;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.search-loading-text {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
  padding: 2rem 0;
}

.search-timing-card {
  display: block;
  background: white;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  padding: 1rem;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}

.search-timing-card:hover {
  border-color: #134E88;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.search-timing-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.75rem;
  line-height: 1.3;
  transition: color 0.2s;
}

.search-timing-card:hover .search-timing-title {
  color: #134E88;
}

.search-timing-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.search-timing-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #4b5563;
}

.search-timing-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: #134E88;
}

.search-timing-icon svg {
  width: 100%;
  height: 100%;
}

.search-timing-fees {
  font-weight: 600;
  color: #134E88;
}

.search-timing-footer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f3f4f6;
}

.search-timing-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #134E88;
}

.search-timing-card:hover .search-timing-link {
  text-decoration: underline;
}

.search-empty {
  text-align: center;
  padding: 2rem;
  max-width: 28rem;
  margin: 0 auto;
}

.search-empty-icon {
  width: 4rem;
  height: 4rem;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #9ca3af;
}

.search-empty-icon svg {
  width: 2rem;
  height: 2rem;
}

.search-empty-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.5rem;
}

.search-empty-desc {
  font-size: 0.875rem;
  color: #4b5563;
  margin: 0 0 1rem;
}

.search-empty-btn {
  font-size: 0.875rem;
  font-weight: 500;
  color: #134E88;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
}

.search-empty-btn:hover {
  color: #0f3d6b;
}