/* ===== VARIABLES ===== */
:root {
  --primary: #0f4c81;
  --primary-dark: #0a3a66;
  --accent: #e8a838;
  --dark: #1a1a2e;
  --text: #4a5568;
  --text-light: #6b7280;
  --bg-light: #f5f7fa;
  --border: #e5e7eb;
  --white: #ffffff;
}

/* ===== GLOBAL ===== */
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
}

img { max-width: 100%; height: auto; }

a { text-decoration: none; }

/* ===== NAVBAR ===== */
.navbar-custom {
  background: rgba(255,255,255,0.97);
  padding: 1rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}
.navbar-custom.scrolled {
  padding: 0.6rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  border-bottom-color: var(--border);
}
.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--dark) !important;
  gap: 0.5rem;
}
.navbar-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  font-size: 1.1rem;
}
.navbar-custom .nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text) !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--primary) !important;
}
.navbar-custom .nav-link.active {
  font-weight: 600;
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
  background: var(--primary);
  color: var(--white);
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.6rem;
  border-radius: 8px;
  transition: all 0.25s ease;
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15,76,129,0.3);
}
.btn-outline-primary-custom {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  transition: all 0.25s ease;
}
.btn-outline-primary-custom:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline-light-custom {
  border: 1.5px solid rgba(255,255,255,0.6);
  color: var(--white);
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.6rem;
  border-radius: 8px;
  transition: all 0.25s ease;
}
.btn-outline-light-custom:hover {
  background: var(--white);
  color: var(--dark);
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
  position: relative;
  height: 85vh;
  min-height: 550px;
  max-height: 800px;
}
.hero-carousel .carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 100%;
}
.hero-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,76,129,0.85) 0%, rgba(15,76,129,0.4) 70%, transparent 100%);
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 3rem;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.carousel-indicators [data-bs-target] {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  transition: all 0.3s;
}
.carousel-indicators .active {
  background: var(--white);
  border-color: var(--white);
  transform: scale(1.2);
}

/* ===== SECTION ===== */
.section-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}
.bg-light-custom { background: var(--bg-light); }
.link-arrow {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  transition: all 0.2s;
}
.link-arrow:hover {
  color: var(--primary-dark);
  gap: 4px;
}

/* ===== PAGE BANNER ===== */
.page-banner {
  background: var(--primary);
  padding-top: 140px;
  padding-bottom: 60px;
}
.page-banner h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.page-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.7;
}
.page-banner .section-label {
  color: var(--accent);
}

/* ===== NEWS CARDS ===== */
.news-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.card-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.card-img-wrapper img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}
.badge-overlay {
  position: absolute;
  top: 16px; left: 16px;
}
.badge-primary-custom {
  background: var(--primary);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  display: inline-block;
}
.news-card .card-body {
  padding: 1.25rem;
}
.card-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.news-card .card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.news-card .card-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== ABOUT ===== */
.about-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.about-image-wrapper img {
  width: 100%; height: 400px;
  object-fit: cover;
  border-radius: 16px;
}
.about-stat-badge {
  position: absolute;
  bottom: 24px; right: 24px;
  background: var(--primary);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  text-align: center;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
}
.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 0.25rem;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark);
}
.highlight-item i {
  color: var(--primary);
  font-size: 1.1rem;
}

/* ===== FORMATION CARDS ===== */
.formation-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.formation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.card-img-top-wrapper {
  height: 200px;
  overflow: hidden;
}
.card-img-top-wrapper img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.formation-card:hover .card-img-top-wrapper img {
  transform: scale(1.05);
}
.formation-card .card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.badge-accent-custom {
  background: rgba(232,168,56,0.12);
  color: #b07c1e;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
}
.formation-card .card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.formation-card .card-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}
.formation-meta {
  display: flex;
  gap: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.formation-meta i {
  margin-right: 0.25rem;
  color: var(--primary);
}

/* ===== VISION / MISSION ===== */
.vision-card, .mission-card {
  padding: 2.5rem;
  border-radius: 16px;
}
.vision-card {
  background: var(--white);
  border: 1px solid var(--border);
}
.vision-card h3, .mission-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.mission-card {
  background: var(--primary);
  color: var(--white);
}
.mission-card h3 { color: var(--white); }
.vm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.vision-card .vm-icon {
  background: rgba(15,76,129,0.08);
  color: var(--primary);
}
.mission-card .vm-icon {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.vm-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.vm-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}
.vm-list .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.vision-card .vm-list .dot {
  background: var(--primary);
}
.mission-card .vm-list .dot {
  background: var(--accent);
}

/* ===== ACTIVITY CARDS ===== */
.activity-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}
.activity-card:hover {
  transform: translateY(-4px);
  color: inherit;
}
.activity-card .img-wrapper {
  border-radius: 12px;
  overflow: hidden;
  height: 220px;
  margin-bottom: 1rem;
}
.activity-card .img-wrapper img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.activity-card:hover .img-wrapper img {
  transform: scale(1.05);
}
.activity-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}
.activity-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.activity-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== ACTIVITY LIST CARD ===== */
.activity-list-card {
  display: flex;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}
.activity-list-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.activity-list-card .img-side {
  width: 220px;
  flex-shrink: 0;
  overflow: hidden;
}
.activity-list-card .img-side img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.activity-list-card .content-side {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.activity-list-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.activity-list-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: var(--primary);
}
.service-card .card-body { padding: 2rem; }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: rgba(15,76,129,0.08);
  color: var(--primary);
  border-radius: 12px;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.service-card .card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
}
.service-card .card-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}
.service-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.service-features li {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--text);
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-features li i {
  color: var(--primary);
  font-size: 0.9rem;
}

/* ===== SERVICE HIGHLIGHT ===== */
.service-highlight-section {
  background: var(--primary);
  border-radius: 20px;
  padding: 3.5rem;
  color: var(--white);
}
.service-highlight-section h3 {
  color: var(--white);
  font-family: 'Playfair Display', serif;
}
.service-highlight-section p {
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}
.service-stat {
  text-align: center;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.5rem 1rem;
}
.service-stat .stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}
.service-stat .stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.25rem;
}

/* ===== CONTACT ===== */
.contact-form-wrapper {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--border);
}
.form-label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--dark);
}
.form-control, .form-select {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,76,129,0.1);
}
.contact-info-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(15,76,129,0.08);
  color: var(--primary);
  border-radius: 10px;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.contact-info-card h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.35rem;
}
.contact-info-card p, .contact-info-card a {
  font-size: 0.88rem;
  color: var(--text-light);
}
.contact-info-card a:hover { color: var(--primary); }
.hours-card {
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
}
.hours-card h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.hours-card p {
  font-size: 0.88rem;
  opacity: 0.85;
  margin-bottom: 0.3rem;
}

/* ===== FOOTER ===== */
.footer-custom {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white) !important;
}
.footer-brand .navbar-brand-logo {
  background: var(--primary);
}
.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  opacity: 0.7;
}
.footer-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}
.footer-contact i {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 2px;
}
.footer-contact a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 3rem;
  padding: 1.5rem 0;
  font-size: 0.82rem;
}
.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--white); }

/* ===== COURS PAGE ===== */
.cours-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.cours-filter-btn {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
}
.cours-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.cours-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.video-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.video-thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}
.video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}
.video-thumb:hover img {
  opacity: 0.7;
}
.play-btn-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.play-btn-circle {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.video-thumb:hover .play-btn-circle {
  transform: scale(1.1);
}
.play-btn-circle i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-left: 3px;
}
.video-card .card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.video-category-badge {
  display: inline-block;
  background: rgba(15,76,129,0.08);
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 5px;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.video-card .card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}
.video-card .card-text {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}
.video-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--text-light);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.video-meta i {
  margin-right: 0.2rem;
  color: var(--primary);
}

/* Video Modal */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.video-modal-overlay.active {
  display: flex;
}
.video-modal-box {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
.video-modal-box .responsive-iframe {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.video-modal-box .responsive-iframe iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-modal-close {
  position: absolute;
  top: -40px; right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.25rem;
  transition: opacity 0.2s;
}
.video-modal-close:hover { opacity: 0.7; }

/* ===== SYLLABUS PAGE ===== */
.syllabus-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.syllabus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.syllabus-img {
  position: relative;
  height: 230px;
  overflow: hidden;
}
.syllabus-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.syllabus-card:hover .syllabus-img img {
  transform: scale(1.05);
}
.syllabus-img .badge-overlay {
  top: 12px; left: 12px;
}
.syllabus-card .card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.syllabus-card .card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.syllabus-card .card-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}
.syllabus-modules {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
}
.syllabus-modules li {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--text);
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.syllabus-modules li i {
  color: var(--primary);
  font-size: 0.85rem;
}
.syllabus-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  flex: 1;
  justify-content: center;
}
.btn-download:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-preview {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: 1.5px solid var(--primary);
  cursor: pointer;
  transition: all 0.25s ease;
  flex: 1;
  justify-content: center;
}
.btn-preview:hover {
  background: var(--primary);
  color: var(--white);
}

/* Syllabus Modal */
.syllabus-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.syllabus-modal-overlay.active {
  display: flex;
}
.syllabus-modal-box {
  background: var(--white);
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
}
.syllabus-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.2s;
}
.syllabus-modal-close:hover { color: var(--dark); }
.syllabus-modal-box h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.syllabus-modal-box .module-list {
  list-style: none;
  padding: 0;
}
.syllabus-modal-box .module-list li {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.syllabus-modal-box .module-list li:last-child {
  border-bottom: none;
}
.syllabus-modal-box .module-list li i {
  color: var(--primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .hero-content h1 { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
  .page-banner h1 { font-size: 2rem; }
  .service-highlight-section { padding: 2.5rem 2rem; }
  .activity-list-card { flex-direction: column; }
  .activity-list-card .img-side { width: 100%; height: 200px; }
}
@media (max-width: 767.98px) {
  .hero-carousel { height: 70vh; min-height: 450px; }
  .hero-content h1 { font-size: 1.8rem; }
  .section-title { font-size: 1.5rem; }
  .page-banner { padding-top: 120px; padding-bottom: 40px; }
  .page-banner h1 { font-size: 1.6rem; }
  .vision-card, .mission-card { padding: 1.75rem; }
  .contact-form-wrapper { padding: 1.75rem; }
  .service-highlight-section { padding: 2rem 1.5rem; }
}


/* ===== CERTIFICAT PAGE ===== */
.advantage-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: var(--primary);
}
.advantage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(15,76,129,0.08);
  color: var(--primary);
  border-radius: 12px;
  font-size: 1.8rem;
  margin: 0 auto 1.25rem;
}
.advantage-card h5 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
}
.advantage-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}

.process-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}
.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.process-card h5 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
}
.process-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 4rem 0;
  border-radius: 20px;
  margin: 4rem 0;
}
.cta-content {
  text-align: center;
  color: var(--white);
}
.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments for certificate page */
@media (max-width: 767.98px) {
  .advantage-card { padding: 1.5rem; }
  .process-card { padding: 1.5rem; }
  .cta-section { padding: 2.5rem 0; }
  .cta-content h2 { font-size: 1.6rem; }
  .cta-content p { font-size: 0.95rem; }
}
