/* ══════════════════════════════════════
   ILLOURA COLLEGE — EXTERNAL STYLESHEET
   ══════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; }
html { 
  scroll-behavior: smooth; 
  height: 100%;
}
body { 
  font-family: 'Open Sans', sans-serif; 
  overflow-x: hidden; 
  margin: 0; 
  padding: 0; 
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── LAYOUT STRUCTURE ── */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── CSS VARIABLES ── */
:root {
  --primary: #081f4f;
  --teal: #4ec2c0;
  --accent: #61c6f2;
}

/* ══════════════════════════════════════
   TOP BAR
   ══════════════════════════════════════ */
.top-bar {
  background: #000;
  padding: 8px 20px;
}
.top-bar a {
  color: #fff;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.2s;
}
.top-bar a:hover { color: var(--teal); }

.top-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-left a {
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-bar-right {
  display: flex;
  align-items: center;
}
.top-bar-icon { color: var(--teal); }

.social-icon {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  margin-left: 5px;
  transition: all 0.25s;
}
.social-icon:hover { background: var(--teal); color: #fff; transform: translateY(-3px); }
.social-icon:hover i { color: #fff; }
.social-icon:hover img { filter: brightness(0) invert(1); }
.social-icon-img {
  display: inline-block;
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
}
.twitter-img {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
}

/* ══════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════ */
.main-navbar {
  background: var(--primary);
  padding: 0 20px;
  min-height: 75px;
  position: sticky;
  top: 0;
  z-index: 10000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  flex-wrap: nowrap;
  gap: 10px;
}
.navbar-brand-img { height: 55px; }

/* Desktop nav links */
.nav-link-custom {
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 10px !important;
  white-space: nowrap;
  position: relative;
  transition: color 0.25s;
  display: inline-flex;
  align-items: center;
}

.nav-link-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.nav-link-custom:hover,
.nav-link-custom.active { color: var(--teal) !important; }
.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 3px;
  background: var(--teal);
  transition: all 0.3s;
  opacity: 0;
}
.nav-link-custom:hover::after,
.nav-link-custom.active::after { left: 0; right: 0; opacity: 1; }
.nav-link-custom.btn-portal::after,
.nav-link-custom.btn-apply::after,
.nav-link-custom.btn-contact::after { display: none; }

/* Toggler */
.navbar-toggler {
  border: 1.5px solid #fff;
  padding: 6px 10px;
  background: transparent;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Dropdown */
.main-navbar .dropdown-menu {
  background: #fff;
  border: none;
  border-top: 3px solid var(--teal);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  min-width: 210px;
  z-index: 1030;
}
.main-navbar .dropdown-item {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: var(--primary);
  padding: 8px 20px;
  transition: all 0.2s;
}
.main-navbar .dropdown-item:hover {
  background: var(--primary);
  color: var(--teal);
}

/* Mega menu */
.mega-parent { position: static !important; }
.mega-menu-wrapper {
  position: fixed;
  top: 115px;
  left: 0;
  right: 0;
  width: 100vw;
  background: #fff;
  border-top: 3px solid var(--teal);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-radius: 0 0 10px 10px;
  padding: 25px 20px;
  z-index: 9999;
  display: none;
}
.mega-menu-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.mega-parent.is-open .mega-menu-wrapper { display: block; }
.mega-parent:hover .mega-menu-wrapper { display: block; }
.mega-parent:hover .nav-link-custom { color: var(--teal) !important; }
.mega-parent:hover .nav-link-custom i { transform: rotate(180deg); }

.menu-icon-toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
  margin-left: 2px;
  color: #fff !important;
}

.menu-icon-toggle i {
  color: #fff !important;
}

.menu-icon-toggle:hover {
  background: rgba(255,255,255,0.1);
}

/* Reduced gap between nav text and icon */
.nav-link-wrapper {
  gap: 0 !important;
}
.menu-icon-toggle {
  margin-left: 0 !important;
  padding: 2px 1px 2px 0px !important; /* tighter, asymmetric for chevron */
}

.mega-parent.is-open .menu-icon-toggle i {
  transform: rotate(180deg);
}

.mega-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
}
.mega-col-title-spaced { margin-top: 16px; }

.mega-menu-wrapper a.menu-link {
  display: block;
  font-size: 13px;
  color: #333;
  padding: 3px 0;
  font-family: 'Open Sans', sans-serif;
  transition: all 0.2s;
}
.mega-menu-wrapper a.menu-link {
  transition: all 0.15s ease;
}

.mega-menu-wrapper a.menu-link:active {
  transform: translateX(2px) scale(0.98);
  color: var(--primary) !important;
}

.mega-promo {
  background: var(--primary);
  border-radius: 10px;
  padding: 20px;
  color: #fff;
}
.mega-promo img {
  border-radius: 7px;
  width: 100%;
  height: 110px;
  object-fit: cover;
  margin-bottom: 14px;
}
.mega-promo h6 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 4px;
}
.mega-promo p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}
.mega-promo hr {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 14px 0;
}
.mega-promo a.promo-link {
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

/* Nav action buttons */
.btn-portal {
  background: transparent !important;
  border: 2px solid var(--teal) !important;
  color: var(--teal) !important;
  border-radius: 50px !important;
  padding: 7px 14px !important;
  font-size: 12.5px !important;
  font-weight: 700;
  transition: all 0.25s;
}
.btn-portal:hover { background: var(--teal) !important; color: #fff !important; }

.btn-apply {
  background: var(--teal) !important;
  border: 2px solid var(--teal) !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 7px 14px !important;
  font-size: 12.5px !important;
  font-weight: 700;
  transition: all 0.25s;
}
.btn-apply:hover { background: #3aada9 !important; }

.btn-contact {
  background: var(--accent) !important;
  border: 2px solid var(--accent) !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 7px 14px !important;
  font-size: 12.5px !important;
  font-weight: 700;
  transition: all 0.25s;
}
.btn-contact:hover { background: #45b3e0 !important; }

/* Desktop nav wrapper */
.desktop-nav {
  display: flex;
  flex: 1;
  align-items: center;
}
.desktop-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.mobile-toggler { display: none; }

/* ══════════════════════════════════════
   OFFCANVAS / MOBILE NAV
   ══════════════════════════════════════ */
.offcanvas-nav {
  width: 300px !important;
  background: var(--primary) !important;
}
.offcanvas-nav .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 20px;
}
.offcanvas-nav .btn-close { filter: invert(1); }

.mob-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 20px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: left;
}
.mob-nav-item:hover { background: rgba(255, 255, 255, 0.05); color: var(--teal); }
.mob-nav-item a { color: inherit; font: inherit; }
.mob-nav-item .chev { font-size: 10px; color: var(--teal); transition: transform 0.25s; flex-shrink: 0; }
.mob-nav-item.open .chev { transform: rotate(180deg); }

.mob-panel {
  max-height: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
  transition: max-height 0.35s ease;
}
.mob-panel.open { max-height: 1000px; }

.mob-panel-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 22px 3px;
}
.mob-panel a {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  padding: 8px 26px;
  font-family: 'Open Sans', sans-serif;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: color 0.2s, padding-left 0.2s;
}
.mob-panel a:hover { color: var(--teal); padding-left: 30px; }

.mob-cta {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mob-cta a {
  display: block;
  text-align: center;
  border-radius: 50px;
  padding: 11px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s;
}
.mob-cta-portal { border: 2px solid var(--teal); color: var(--teal) !important; }
.mob-cta-portal:hover { background: var(--teal); color: #fff !important; }
.mob-cta-apply { background: var(--teal); color: #fff !important; }
.mob-cta-apply:hover { background: #3aada9; }
.mob-cta-contact { background: var(--accent); color: #fff !important; }
.mob-cta-contact:hover { background: #45b3e0; }

.mob-contact-strip { padding: 16px 20px 24px; }
.mob-contact-strip a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin-bottom: 7px;
  transition: color 0.2s;
}
.mob-contact-strip a:hover { color: var(--teal); }
.mob-contact-icon { color: var(--teal); margin-right: 8px; }
.mob-social { display: flex; gap: 9px; margin-top: 14px; }
.mob-social a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: background 0.25s;
}
.mob-social a:hover { background: var(--teal); color: #fff; transform: translateY(-3px); }
.mob-social-img {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
  display: inline-block;
}

/* ══════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════ */
.hero-section {
  height: 850px;
  position: relative;
  overflow: hidden;
}
.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide { height: 100%; }

.hero-slide {
  background-size: cover;
  background-position: center;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-slide-1 { background-image: url('images/Home1.jpg'); }
.hero-slide-2 { background-image: url('images/Home2.jpg'); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 31, 79, 0.5);
}
.hero-content {
  position: relative;
  z-index: 2;
  background: rgba(78, 194, 192, 0.32);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 50px 60px;
  text-align: center;
  width: 52%;
  max-width: 680px;
}
.hero-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 58px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}
.btn-hero {
  display: inline-block;
  margin-top: 28px;
  background: var(--teal);
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 38px;
  border-radius: 50px;
  border: 2px solid #fff;
  transition: all 0.3s;
}
.btn-hero:hover { background: #fff; color: var(--primary) !important; }

.swiper-button-next,
.swiper-button-prev {
  color: #fff !important;
  background: rgba(8, 31, 79, 0.5);
  width: 48px !important;
  height: 48px !important;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.swiper-button-next::after,
.swiper-button-prev::after { font-size: 17px !important; font-weight: 900; }
.swiper-pagination-bullet { background: #fff !important; }
.swiper-pagination-bullet-active {
  background: var(--teal) !important;
  width: 28px;
  border-radius: 5px;
}

/* ══════════════════════════════════════
   WHY STUDY SECTION
   ══════════════════════════════════════ */
.study-section { padding: 70px 20px; background: #fff; }

.section-heading {
  font-family: 'Open Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 42px;
}
.study-card {
  border-radius: 14px;
  padding: 30px 24px;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}
.study-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 45px rgba(8, 31, 79, 0.12);
}
.study-card.card-1 { background: rgba(108, 74, 155, 0.55); }
.study-card.card-2 { background: rgba(222, 103, 42, 0.7); }
.study-card.card-3 { background: rgba(78, 194, 192, 0.65); }
.study-card img { width: 56px; height: 56px; margin-bottom: 14px; }
.study-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
}
.study-card p { font-size: 14px; color: #222; line-height: 1.7; margin: 0; }

/* ══════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════ */
.about-section { background: var(--primary); padding: 80px 20px; overflow: hidden; }

.about-modern-wrap { position: relative; height: 460px; }
.about-img {
  position: absolute;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.3);
}
.bottom-img { width: 65%; left: 0; bottom: 0; z-index: 3; }
.top-img { width: 55%; right: 0; top: 30px; z-index: 2; }

.about-circle {
  position: absolute;
  bottom: 18px;
  right: 36px;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  z-index: 4;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.about-circle img { width: 110px; height: 110px; border-radius: 50%; object-fit: contain; }

.about-dots { position: absolute; top: 60px; left: 57%; transform: translateX(-100%); z-index: 1; }
.about-dots img { width: 240px; opacity: 0.9; filter: brightness(0) invert(1); }

.about-section h2 {
  font-family: 'Open Sans', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 22px;
}
.about-section p { font-size: 15px; line-height: 1.8; color: rgba(255, 255, 255, 0.85); margin-bottom: 15px; }

.btn-readmore {
  display: inline-block;
  margin-top: 10px;
  background: var(--teal);
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 12px 34px;
  border-radius: 50px;
  font-size: 14px;
  transition: all 0.3s;
  border: 2px solid var(--teal);
}
.btn-readmore:hover { background: transparent; color: var(--teal) !important; }

.about-mobile-img { display: none; }

/* ══════════════════════════════════════
   COURSES SECTION
   ══════════════════════════════════════ */
.courses-section { padding: 80px 20px; background: #f5f7fb; }

.section-heading-dark {
  font-family: 'Open Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
}
.section-sub { font-size: 15px; color: #666; max-width: 580px; }

.course-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
/* .course-card:hover removed per request */
.course-card-img { width: 100%; height: 200px; object-fit: cover; }
.course-number {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--teal);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}
.course-body { padding: 20px; }
.course-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 9px;
}
.course-body p { font-size: 13.5px; color: #666; line-height: 1.7; margin-bottom: 12px; }
.course-link {
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.2s;
}
.course-link:hover { color: var(--primary); }
.course-link::after { content: ' →'; }

.course-swiper { padding-bottom: 55px !important; }
.course-swiper .swiper-pagination-bullet { background: #ccc !important; }
.course-swiper .swiper-pagination-bullet-active { background: var(--teal) !important; }
.course-swiper .swiper-slide { height: auto; display: flex; align-items: stretch; }
.course-swiper .swiper-button-next,
.course-swiper .swiper-button-prev {
  color: var(--primary) !important;
  background: #fff;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  top: 40%;
}
.course-swiper .swiper-button-next::after,
.course-swiper .swiper-button-prev::after { font-size: 15px !important; font-weight: 900; }

/* ══════════════════════════════════════
   BLOG SECTION
   ══════════════════════════════════════ */
.blog-section { padding: 80px 20px; background: var(--primary); }

.blog-section-heading {
  font-family: 'Open Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 12px;
}
.blog-section-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.blog-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(8, 31, 79, 0.15);
}
.blog-card img { width: 100%; height: 210px; object-fit: cover; }
.blog-body { padding: 22px; }
.blog-date {
  font-size: 11.5px;
  color: var(--teal);
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.5;
  margin-bottom: 10px;
  font-style: italic;
}
.blog-body p { font-size: 13.5px; color: #666; line-height: 1.7; margin-bottom: 14px; }
.blog-link {
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
}
.blog-link:hover { color: var(--primary); }

/* ══════════════════════════════════════
   CONTACT SECTION
   ══════════════════════════════════════ */
.contact-section { padding: 80px 20px; background: #fff; }

.contact-img {
  width: 100%;
  border-radius: 14px;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.contact-form-wrap {
  background: transparent;
  border-radius: 14px;
  padding: 40px 36px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}
.form-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}
.form-control {
  border: 1.5px solid #dde3f0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  transition: border 0.25s;
}
.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(78, 194, 192, 0.15);
  outline: none;
}
.btn-submit {
  background: var(--primary);
  color: #fff;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 40px;
  border-radius: 50px;
  transition: background 0.3s;
  cursor: pointer;
}
.btn-submit:hover { background: var(--teal); }

/* ══════════════════════════════════════
   FOOTER SECTION
   ══════════════════════════════════════ */
.footer-section { background: var(--primary); padding: 55px 20px 25px; }

.footer-logo img { height: 70px; border-radius: 10px; margin-bottom: 18px; }
.footer-desc { font-size: 13.5px; color: rgba(255, 255, 255, 0.72); line-height: 1.8; margin-bottom: 18px; }

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  margin-bottom: 9px;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--teal); }
.footer-contact .fi { color: var(--teal); font-size: 15px; }

.footer-social { display: flex; gap: 9px; margin-top: 18px; flex-wrap: wrap; }
.footer-social a {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: all 0.25s;
}
.footer-social a:hover { background: var(--teal); transform: translateY(-3px); }
.footer-social-img {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
  display: inline-block;
  padding: 5px;
}

.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 14px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 7px; }
.footer-links li a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links li a::before { content: '›'; color: var(--teal); font-size: 15px; }
.footer-links li a:hover { color: var(--teal); padding-left: 4px; }

.footer-bottom {
  background: var(--teal);
  padding: 13px 20px;
  text-align: center;
  font-size: 13px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

/* ══════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════ */
@media (max-width: 1399px) {
  .desktop-nav,
  .desktop-buttons { display: none !important; }
  .mobile-toggler { display: flex !important; margin-left: auto; }
}

@media (max-width: 1199px) {
  .hero-content { width: 68%; padding: 42px 40px; }
  .hero-heading { font-size: 48px; }
}

@media (max-width: 991px) {
  .hero-section { height: 640px; }
  .hero-swiper .swiper-slide { height: 640px; }
  .hero-content { width: 80%; padding: 36px 30px; }
  .hero-heading { font-size: 40px; }
  .section-heading { font-size: 28px; margin-bottom: 32px; }
  .section-heading-dark { font-size: 28px; }
  .blog-section-heading { font-size: 28px; }
  .about-section { padding: 60px 20px; }
  .about-section h2 { font-size: 30px; }
  .about-modern-wrap { height: 380px; }
  .about-circle img { width: 90px; height: 90px; }
  .about-dots img { width: 180px; }
}

@media (max-width: 767px) {
  .hero-section { height: 500px; }
  .hero-swiper .swiper-slide { height: 500px; }
  .hero-content { width: 94%; padding: 26px 20px; max-width: 100%; }
  .hero-heading { font-size: 28px; }
  .btn-hero { font-size: 13px; padding: 11px 26px; margin-top: 18px; }
  .swiper-button-next, .swiper-button-prev { width: 38px !important; height: 38px !important; }
  .swiper-button-next::after, .swiper-button-prev::after { font-size: 13px !important; }
  .study-section { padding: 50px 15px; }
  .section-heading { font-size: 24px; }
  .study-card { padding: 24px 18px; }
  .about-modern-wrap { display: none; }
  .about-mobile-img { display: block !important; }
  .about-mobile-img img { width: 100%; border-radius: 14px; object-fit: cover; max-height: 260px; box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3); }
  .about-section h2 { font-size: 26px; margin-top: 0; }
  .about-section { padding: 55px 15px; }
  .courses-section { padding: 55px 15px; }
  .blog-section { padding: 55px 15px; }
  .blog-section-heading { font-size: 24px; }
  .contact-section { padding: 55px 15px; }
  .contact-img { min-height: 220px; margin-bottom: 6px; }
  .contact-form-wrap { padding: 24px 16px; }
  .btn-submit { padding: 12px 30px; font-size: 14px; }
  .footer-section { padding: 45px 15px 20px; }
  .footer-logo img { height: 58px; }
  .footer-bottom { font-size: 11.5px; padding: 11px 14px; }
}

@media (max-width: 480px) {
  .hero-section { height: 420px; }
  .hero-swiper .swiper-slide { height: 420px; }
  .hero-heading { font-size: 22px; }
  .hero-content { padding: 20px 14px; }
  .btn-hero { font-size: 12px; padding: 10px 20px; margin-top: 16px; }
  .section-heading { font-size: 20px; }
  .section-heading-dark { font-size: 20px; }
  .blog-section-heading { font-size: 20px; }
}

/* ══════════════════════════════════════
   PAGE BANNER (shared across inner pages) — hero-bg.jpg default
   ══════════════════════════════════════ */
.page-banner {
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  padding: 80px 20px 60px;
  display: flex;
  align-items: center;
  border-bottom: 4px solid var(--teal);
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 31, 79, 0.75), rgba(78, 194, 192, 0.3));
  z-index: 1;
}

.page-banner > .container {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
}

.page-breadcrumb { 
  margin-bottom: 10px; 
  z-index: 3;
  position: relative;
}
.page-breadcrumb a {
  color: var(--teal);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  margin-right: 6px;
  transition: color 0.2s;
}
.page-breadcrumb a:hover { color: #fff; }
.page-breadcrumb span {
  color: rgba(255,255,255,0.8);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  display: inline;
}
.page-banner-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 3;
  position: relative;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}


.page-banner.blog-banner    { background-image: url('images/blog1-.jpg.jpeg'); }

/* ══════════════════════════════════════
   ABOUT PAGE — Mission & Vision
   ══════════════════════════════════════ */
.mv-section { padding: 80px 20px; background: #fff; }
.mv-card {
  background: #e8ebf0;
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  height: 100%;
  box-shadow: 0 6px 30px rgba(8,31,79,0.08);
  border-top: 4px solid var(--teal);
}
/* .mv-card:hover removed */
.mv-icon-wrap {
  width: 72px; height: 72px;
  background: rgba(78,194,192,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.mv-icon-wrap img { width: 38px; height: 38px; object-fit: contain; }
.mv-title { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 800; color: var(--primary); margin-bottom: 14px; }
.mv-text { font-size: 14.5px; color: #555; line-height: 1.8; margin: 0; }

/* Quality Assurance */
.qa-section { padding: 80px 20px; background: #f5f7fb; }

/* ══════════════════════════════════════
   404 PAGE LAYOUT FIX
   ══════════════════════════════════════ */
.error-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 2rem 0;
}

/* Ensure 404 page content fills available space */
body.error-404 .main-content {
  flex: 1;
  display: flex;
  align-items: center;
}
.section-label { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 800; color: var(--teal); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.qa-heading { font-family: 'Open Sans', sans-serif; font-size: 36px; font-weight: 700; color: var(--primary); margin-bottom: 22px; line-height: 1.25; }
.qa-text { font-size: 15px; color: #555; line-height: 1.85; margin-bottom: 14px; }
.qa-img { width: 100%; border-radius: 16px; object-fit: cover; max-height: 440px; box-shadow: 0 20px 55px rgba(8,31,79,0.18); }

/* CEO Section */
.ceo-section { padding: 80px 20px; background: #f5f7fb; }

.ceo-header { text-align: center; margin-bottom: 40px; }
.ceo-label { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 800; color: var(--teal); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.ceo-heading { font-family: 'Open Sans', sans-serif; font-size: 34px; font-weight: 700; color: var(--primary); margin: 0; }
.ceo-body {
  background: rgba(255,255,255,0.06);
  border-left: 4px solid var(--teal);
  border-radius: 0 14px 14px 0;
  padding: 36px 40px;
  margin-bottom: 40px;
}
.ceo-body p { font-size: 15px; color: #333; line-height: 1.9; margin-bottom: 16px; }
.ceo-body p:last-child { margin-bottom: 0; }
.ceo-sign { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); }
.ceo-sign p { color: #333; font-size: 15px; }
.ceo-cta-wrap {
  text-align: center;
  margin-top: 70px;
  padding-top: 20px;
}
.ceo-cta-label { font-family: 'Montserrat', sans-serif; font-size: 20px; color: var(--primary); margin-bottom: 6px; }
.ceo-cta-sub { color: var(--primary); font-size: 15px; margin-bottom: 22px; }

.white-ceo-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  padding: 40px;
  width: 100%;
  max-width: 1090px;
  margin: 0 auto;
  border-top: 5px solid var(--teal);
}

.white-ceo-card .ceo-card-header {
  margin-bottom: 20px;
}

.white-ceo-card .ceo-content {
  margin: 0;
}

@media (max-width: 767px) {
  .white-ceo-card {
    padding: 24px 16px;
  }
}

/* ══════════════════════════════════════
   COURSES PAGE
   ══════════════════════════════════════ */
.courses-page-section { padding: 80px 20px; background: #f5f7fb; }
.courses-page-heading { margin-bottom: 48px; }

/* ══════════════════════════════════════
   COURSES PAGE RESPONSIVE - MOBILE CARDS
   ══════════════════════════════════════ */
@media (max-width: 991px) {
  .courses-page-section .course-card .course-body {
    padding: 16px;
  }
  .courses-page-section .course-title {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .courses-page-section .row .col-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .courses-page-section .course-card-img {
    height: 160px;
  }
}

@media (max-width: 576px) {
  .courses-page-section .row .col-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .courses-page-section .course-card-img {
    height: 140px;
  }
  .courses-page-section .course-body {
    padding: 14px;
  }
  .courses-page-section .course-title {
    font-size: 14px;
  }
  .courses-page-section .course-body p {
    font-size: 13px;
  }
}

/* ══════════════════════════════════════
   DOWNLOADS PAGE
   ══════════════════════════════════════ */
.downloads-section { padding: 80px 20px; background: #f5f7fb; }
.dl-section-heading { margin-bottom: 32px; }
.dl-section-heading .section-heading-dark {
  font-size: 28px;
  color: var(--primary);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}


.dl-section-heading {
  text-align: center;
}

.dl-section-heading .section-heading-dark {
  display: inline-block;
  margin: 0 auto;
}
.dl-tabs-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(8,31,79,0.07);
  margin-bottom: 20px;
}
.dl-tab-nav { display: flex; flex-wrap: wrap; gap: 8px; border: none; margin-bottom: 30px; }
.dl-tab-btn {
  background: #f0f3fa;
  border: 2px solid transparent;
  border-radius: 50px;
  padding: 9px 22px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.25s;
}
.dl-tab-btn:hover { background: rgba(78,194,192,0.15); border-color: var(--teal); }
.dl-tab-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.dl-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 22px 14px;
  background: #f8f9fd;
  border-radius: 14px;
  border: 2px solid transparent;
  transition: all 0.25s;
  color: var(--primary);
  text-decoration: none;
  height: 100%;
}
.dl-item:hover { transform: translateY(-2px); }
.dl-item img { width: 52px; height: 52px; object-fit: contain; margin-bottom: 12px; }
.dl-item span { font-family: 'Open Sans', sans-serif; font-size: 12.5px; font-weight: 600; line-height: 1.5; }
.dl-tab-content { min-height: 120px; }

/* ══════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════ */
.contact-page-section { padding: 80px 20px; background: #f5f7fb; }
.contact-info-card {
  display: flex; align-items: flex-start; gap: 18px;
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  height: 100%;
  border-left: 4px solid var(--teal);
}
.cic-value a {
  color: #000 !important;
  text-decoration: none;
}
.contact-info-card:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(8,31,79,0.12); }
.cic-icon-wrap {
  width: 50px; height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cic-icon-wrap img { width: 26px; height: 26px; object-fit: contain; filter: brightness(0) invert(1); }
.cic-label { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 800; color: var(--teal); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.cic-value { font-size: 14.5px; color: #000 !important; font-weight: 600; line-height: 1.5; text-decoration: none; display: block; }
a.cic-value { color: #000 !important; }
a.cic-value:hover { color: var(--teal) !important; }
.contact-form-panel { background: #fff; border-radius: 16px; padding: 40px 36px; box-shadow: 0 6px 30px rgba(8,31,79,0.07); }
.contact-form-title { font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 28px; }
.contact-map-wrap { margin-top: 60px; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 40px rgba(8,31,79,0.1); }

/* ══════════════════════════════════════
   INNER PAGE RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 991px) {
  .page-banner-title { font-size: 32px; }
  .qa-heading { font-size: 28px; }
  .ceo-heading { font-size: 26px; }
  .ceo-body { padding: 26px 24px; }
  .mv-section, .qa-section, .ceo-section,
  .courses-page-section, .downloads-section, .contact-page-section { padding: 60px 20px; }
  
  /* Breadcrumb responsive: smaller font, flex wrap */
  .page-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 12px;
  }
  .page-breadcrumb a,
  .page-breadcrumb span {
    font-size: 12px;
    white-space: nowrap;
  }
}
@media (max-width: 767px) {
  .page-banner { padding: 36px 15px 30px; }
  .page-banner-title { font-size: 26px; }
  .mv-card { padding: 28px 20px; }
  .qa-heading { font-size: 24px; }
  .ceo-heading { font-size: 22px; }
  .ceo-body { padding: 22px 18px; }
  .ceo-body p { font-size: 14px; }
  .dl-tabs-wrap { padding: 22px 16px; }
  .dl-tab-btn { font-size: 12px; padding: 7px 16px; }
  .contact-form-panel { padding: 26px 18px; }
  .contact-info-card { flex-direction: column; gap: 12px; }
  .dl-item { padding: 16px 10px; }
}
/* Vertical stacked contact info cards: row1 image circle, row2 label, row3 value */
.contact-info-card {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 20px !important;
  padding: 36px 28px !important;
  background: #fff !important;
}

.contact-info-card .cic-icon-wrap {
  width: 70px !important;
  height: 70px !important;
  margin: 0 !important;
}

.contact-info-card .cic-icon-wrap img {
  width: 36px !important;
  height: 36px !important;
}

.contact-info-card .cic-label {
  font-size: 15px !important;
  margin: 0 0 6px 0 !important;
}

.contact-info-card .cic-value {
  font-size: 16px !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
  color: #000 !important;
}
.contact-info-card a.cic-value {
  color: #000 !important;
}
.contact-info-card a.cic-value:hover {
  color: var(--teal) !important;
}

.contact-info-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

@media (max-width: 480px) {
  .page-banner-title { font-size: 22px; }
  .courses-page-section, .downloads-section, .contact-page-section,
  .mv-section, .qa-section, .ceo-section { padding: 45px 12px; }
}
.about-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.main-img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.overlay-img {
  position: absolute;
  bottom: -55px;
  right: -40px;
  width: 50%;
  border-radius: 16px;
  height: 250px;
  border: 4px solid #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* spacing fix */
.qa-section {
  padding: 80px 0 110px;
}

/* responsive */
@media (max-width: 992px) {
  .overlay-img {
    position: relative;
    bottom: 0;
    right: 0;
    width: 100%;
    margin-top: 20px;
  }
}
.overlay-img {
  border: 3px solid #4bb3a7;
}
/* === NEW LAYOUT === */
.dl-custom-layout {
  display: flex;
  gap: 30px;
  background: #4ec2c066;
  padding: 30px;
  border-radius: 16px;
}

/* LEFT SIDEBAR */
.dl-sidebar {
  width: 240px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-left: 3px solid #ffffff80;
  padding-left: 15px;
}

.dl-sidebar button {
  background: transparent;
  border: none;
  text-align: left;
  font-weight: 600;
  color: #2c3e50;
  padding: 10px 14px;
  border-radius: 8px;
}

.dl-sidebar button.active {
  background: #fff;
  color: #081f4f;
}

/* RIGHT CONTENT */
.dl-content {
  flex: 1;
}

/* BIG CARDS */
.dl-item {
  background: #fff !important;
  border-radius: 12px !important;
  padding: 30px 20px !important;
}

.dl-item img {
  width: 60px !important;
  margin-bottom: 15px;
}

.dl-item span {
  font-size: 14px !important;
}

/* HIDE TABS */
.dl-tab-pane {
  display: none;
}

.dl-tab-pane.active {
  display: block;
}
/* ===============================
   DOWNLOAD PAGE RESPONSIVE FIX
================================= */

/* Tablet */
@media (max-width: 991px) {

  .dl-custom-layout {
    flex-direction: column;
    padding: 20px;
  }

  .dl-sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    border-left: none;
    border-bottom: 2px solid #ffffff80;
    padding-left: 0;
    padding-bottom: 10px;
  }

  .dl-sidebar button {
    flex: 1 1 auto;
    text-align: center;
    font-size: 13px;
    padding: 8px 10px;
  }

  /* Cards: 2 per row */
  .dl-content .col-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}


/* Mobile - Single row tabs with horizontal scrollbar */
@media (max-width: 576px) {

  .dl-custom-layout {
    padding: 15px;
  }

  /* MOBILE TABS: Horizontal scrollable row */
  .dl-tabs-group1 .dl-sidebar,
  .dl-tabs-group2 .dl-sidebar {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--teal) transparent;
  }

  .dl-tabs-group1 .dl-sidebar::-webkit-scrollbar,
  .dl-tabs-group2 .dl-sidebar::-webkit-scrollbar {
    height: 4px;
  }

  .dl-tabs-group1 .dl-sidebar::-webkit-scrollbar-track,
  .dl-tabs-group2 .dl-sidebar::-webkit-scrollbar-track {
    background: transparent;
  }

  .dl-tabs-group1 .dl-sidebar::-webkit-scrollbar-thumb,
  .dl-tabs-group2 .dl-sidebar::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: 2px;
  }

  .dl-tabs-group1 .dl-sidebar button,
  .dl-tabs-group2 .dl-sidebar button {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    min-width: 120px;
    text-align: center !important;
    padding: 10px 14px !important;
  }

  /* Cards: 1 per row */
  .dl-content .col-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .dl-item {
    padding: 20px 15px !important;
  }

  .dl-item img {
    width: 45px !important;
  }

  .dl-item span {
    font-size: 13px !important;
  }

  /* Headings spacing */
  .dl-section-heading {
    margin-bottom: 25px;
  }
}


/* ══════════════════════════════════════
   DOWNLOAD EXPLORER PAGE
   ══════════════════════════════════════ */

/* ── Section wrapper ── */
.dl-explorer-section {
  background: hsl(220, 20%, 95%);
  padding: 40px 0 60px;
  flex: 1;
}

/* ── Explorer shell ── */
.dl-explorer {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(8, 31, 79, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 560px;
}

/* ── Toolbar / Breadcrumb ── */
.dl-toolbar {
  display: flex;
  align-items: center;
  background: hsl(220, 14%, 96%);
  border-bottom: 1px solid hsl(220, 13%, 87%);
  padding: 8px 14px;
}
.dl-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid hsl(220, 13%, 87%);
  border-radius: 5px;
  padding: 6px 14px;
  font-size: 13.5px;
  font-family: 'Open Sans', sans-serif;
  width: 100%;
}
.dl-bc-icon {
  width: 15px;
  height: 15px;
  color: var(--teal);
  flex-shrink: 0;
}
.dl-bc-sep   { color: hsl(220, 10%, 60%); font-size: 13px; }
.dl-bc-parent  { color: hsl(220, 10%, 50%); }
.dl-bc-current { font-weight: 700; color: var(--primary); }

/* ── Body: sidebar + file panel ── */
.dl-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* ── Sidebar ── */
.dl-nav-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: hsl(220, 14%, 98%);
  border-right: 1px solid hsl(220, 13%, 87%);
  overflow-y: auto;
  padding: 10px 0;
}
.dl-sidebar-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  color: var(--primary);
  transition: background 0.15s;
}
.dl-sidebar-tab:hover { background: hsl(213, 74%, 94%); }
.dl-sidebar-tab svg  { width: 16px; height: 16px; color: var(--teal); }
.dl-sidebar-tab .dl-chev { width: 12px; height: 12px; color: hsl(220, 10%, 50%); }

.dl-sidebar-folders { margin-left: 16px; }
.dl-sidebar-folder {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  border-radius: 4px;
  color: var(--primary);
  transition: background 0.15s;
}
.dl-sidebar-folder:hover { background: hsl(213, 74%, 94%); }
.dl-sidebar-folder.active {
  background: hsl(213, 74%, 88%);
  font-weight: 700;
  color: var(--primary);
}
.dl-sidebar-folder svg { width: 16px; height: 16px; color: var(--teal); }
.dl-sidebar-folder .dl-chev { width: 11px; height: 11px; color: hsl(220, 10%, 50%); }

/* ── File panel ── */
.dl-file-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Column headers ── */
.dl-file-header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid hsl(220, 13%, 87%);
  background: hsl(220, 14%, 96%);
  padding: 0 14px;
  user-select: none;
}
.dl-hcol {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 8px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: hsl(220, 10%, 50%);
  cursor: pointer;
  border: none;
  background: none;
  letter-spacing: 0.3px;
  transition: color 0.15s;
}
.dl-hcol:hover { color: var(--primary); }
.dl-col-name   { flex: 1; }
.dl-col-date   { width: 148px; }
.dl-col-type   { width: 84px; }
.dl-col-size   { width: 96px; }
.dl-col-action { width: 44px; }

/* ── File rows ── */
.dl-file-rows { flex: 1; overflow-y: auto; }

.dl-file-row {
  display: flex;
  align-items: center;
  padding: 9px 14px;
  cursor: pointer;
  transition: background 0.15s;
}
.dl-file-row:hover    { background: hsl(213, 74%, 94%); }
.dl-file-row.striped  { background: hsl(220, 14%, 98%); }
.dl-file-row.striped:hover { background: hsl(213, 74%, 94%); }
.dl-file-row.selected { background: hsl(213, 74%, 88%); }

/* ── File cells ── */
.dl-cell { padding: 0 8px; font-size: 13.5px; font-family: 'Open Sans', sans-serif; }

.dl-cell.name {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.dl-cell.name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--primary);
}
.dl-cell.name a {
  color: hsl(213, 74%, 44%);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.dl-cell.name a:hover { text-decoration: underline; color: var(--teal); }

.dl-cell.date   { width: 148px; color: hsl(220, 10%, 50%); font-size: 12.5px; }
.dl-cell.type   { width: 84px;  color: hsl(220, 10%, 50%); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.dl-cell.size   { width: 96px;  color: hsl(220, 10%, 50%); font-size: 12.5px; }
.dl-cell.action {
  width: 44px;
  display: flex;
  justify-content: center;
}
.dl-cell.action a,
.dl-cell.action button {
  padding: 6px;
  border-radius: 5px;
  border: none;
  background: none;
  color: hsl(220, 10%, 50%);
  cursor: pointer;
  opacity: 0;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dl-file-row:hover .dl-cell.action a,
.dl-file-row:hover .dl-cell.action button { opacity: 1; }
.dl-cell.action a:hover,
.dl-cell.action button:hover {
  color: var(--teal);
  background: hsl(213, 74%, 94%);
}

/* ── File type icon colours ── */
.dl-icon-pdf  { color: hsl(0, 84%, 60%); }
.dl-icon-doc  { color: hsl(213, 74%, 44%); }
.dl-icon-xls  { color: hsl(142, 71%, 35%); }
.dl-icon-form { color: var(--teal); }

/* ── Status bar ── */
.dl-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid hsl(220, 13%, 87%);
  background: hsl(220, 14%, 96%);
  padding: 6px 18px;
  font-size: 12px;
  font-family: 'Open Sans', sans-serif;
  color: hsl(220, 10%, 50%);
}

/* ══════════════════════════════════════
   DOWNLOAD EXPLORER — RESPONSIVE
   ══════════════════════════════════════ */

/* Tablet: collapse sidebar into horizontal scrollable tabs */
@media (max-width: 991px) {
  .dl-body { flex-direction: column; }

  .dl-nav-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid hsl(220, 13%, 87%);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 10px;
    gap: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--teal) transparent;
  }
  .dl-nav-sidebar::-webkit-scrollbar { height: 3px; }
  .dl-nav-sidebar::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 2px; }

  .dl-sidebar-tab,
  .dl-sidebar-folder {
    flex: 0 0 auto;
    white-space: nowrap;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 12.5px;
    width: auto;
  }
  .dl-sidebar-tab { font-size: 13px; }
  .dl-sidebar-folders { display: contents; margin: 0; }
  .dl-sidebar-tab .dl-chev,
  .dl-sidebar-folder .dl-chev { display: none; }

  /* Hide date / type / size columns at tablet */
  .dl-col-date, .dl-col-type, .dl-col-size,
  .dl-cell.date, .dl-cell.type, .dl-cell.size { display: none !important; }

  .dl-explorer-section { padding: 24px 0 40px; }
}

/* Mobile */
@media (max-width: 575px) {
  .dl-explorer { border-radius: 8px; min-height: 420px; }

  .dl-breadcrumb { font-size: 12.5px; padding: 5px 10px; }
  .dl-bc-current, .dl-bc-parent { font-size: 12px; }

  .dl-nav-sidebar { padding: 6px 8px; gap: 5px; }
  .dl-sidebar-tab,
  .dl-sidebar-folder { padding: 5px 12px; font-size: 12px; }

  .dl-file-header { padding: 0 8px; }
  .dl-hcol { font-size: 11px; padding: 6px; }

  .dl-file-row { padding: 8px 8px; }
  .dl-cell { padding: 0 4px; font-size: 12.5px; }
  .dl-cell.name { gap: 7px; }
  .dl-cell.action { width: 36px; }

  .dl-status-bar { padding: 5px 10px; font-size: 11px; }
  .dl-explorer-section { padding: 16px 0 32px; }
}
/* FULL WIDTH LAYOUT */
.dl-explorer-section .container-fluid {
  max-width: 100%;
}

/* SIDEBAR */
.dl-nav-sidebar {
  width: 260px;
  background: #f5f7fb;
  border-right: 1px solid #ddd;
  padding: 10px 0;
}

.dl-nav-group {
  font-size: 13px;
  font-weight: 600;
  color: #6c757d;
  padding: 10px 15px;
}

.dl-nav-item {
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
}

.dl-nav-item:hover {
  background: #e9f0ff;
}

.dl-nav-item.active {
  background: #cfe2ff;
  font-weight: 600;
  border-left: 3px solid #0d6efd;
}

/* FILE PANEL */
.dl-file-panel {
  flex: 1;
  background: #fff;
}

/* HEADER */
.dl-file-header {
  background: #f1f3f5;
  border-bottom: 1px solid #ddd;
  padding: 10px 15px;
}

/* FILE ROWS */
.dl-file-row {
  display: grid;
  grid-template-columns: 1fr 160px 100px 100px;
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  align-items: center;
  transition: 0.2s;
}

.dl-file-row:hover {
  background: #f8f9ff;
}

/* FILE NAME */
.dl-col-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dl-col-name a {
  text-decoration: none;
  color: #0d6efd;
}

.dl-col-name a:hover {
  text-decoration: underline;
}
/* Tab pane visibility */
    .dl-tab-pane          { display: none; }
    .dl-tab-pane.active   { display: block; }

    /* Sidebar nav items as buttons */
    .dl-nav-item {
      display: flex;
      align-items: center;
      gap: 8px;
      width: 100%;
      padding: 7px 14px;
      font-size: 13px;
      font-family: 'Open Sans', sans-serif;
      cursor: pointer;
      border: none;
      background: none;
      text-align: left;
      color: hsl(220, 20%, 20%);
      transition: background 0.15s;
    }
    .dl-nav-item:hover    { background: hsl(213, 74%, 94%); }
    .dl-nav-item.active   { background: hsl(213, 74%, 88%); font-weight: 700; color: var(--primary, #081f4f); }

    .dl-nav-group {
      padding: 10px 14px 4px;
      font-size: 11px;
      font-weight: 800;
      font-family: 'Montserrat', sans-serif;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: hsl(213, 74%, 44%);
    }

    /* Keep col widths consistent inside rows */
    .dl-file-rows .dl-col-name  { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 8px; font-size: 13.5px; min-width: 0; }
    .dl-file-rows .dl-col-name a { color: hsl(213,74%,44%); text-decoration: none; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .dl-file-rows .dl-col-name a:hover { text-decoration: underline; }
    .dl-file-rows .dl-col-date  { width: 148px; padding: 0 8px; font-size: 12.5px; color: hsl(220,10%,50%); }
    .dl-file-rows .dl-col-type  { width: 84px; padding: 0 8px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: hsl(220,10%,50%); }
    .dl-file-rows .dl-col-size  { width: 96px; padding: 0 8px; font-size: 12.5px; color: hsl(220,10%,50%); }

    /* Sidebar inner wrapper — stacks buttons vertically */
    .dl-sidebar-inner { display: flex; flex-direction: column; }
    @media (max-width: 768px) {

  /* STACK LAYOUT */
  .dl-body {
    flex-direction: column;
  }

  /* SIDEBAR → TOP TABS */
  .dl-nav-sidebar {
    width: 100%;
    display: flex;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }

  /* HIDE GROUP TITLES */
  .dl-nav-group {
    display: none;
  }

  /* MAKE TABS INLINE */
  .dl-sidebar-inner {
    display: flex;
    gap: 5px;
    padding: 5px;
  }

  /* TAB BUTTON STYLE */
  .dl-nav-item {
    white-space: nowrap;
    flex: 0 0 auto;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 6px;
    background: #f1f3f5;
  }

  .dl-nav-item.active {
    background: #0d6efd;
    color: #fff;
  }

}
@media (max-width: 768px) {

  .dl-file-row {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .dl-col-name {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .dl-col-name a {
    display: inline-block;
    white-space: normal;
    word-break: break-word;
    font-size: 14px;
  }

}
@media (max-width: 768px) {

  /* STACK EVERYTHING */
  .dl-body {
    flex-direction: column;
  }

  /* SIDEBAR FULL WIDTH */
  .dl-nav-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding: 10px;
  }

  /* KEEP HEADINGS VISIBLE */
  .dl-nav-group {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #555;
  }


  /* SCROLL BAR STYLE */
  .dl-sidebar-inner::-webkit-scrollbar {
    height: 4px;
  }

  .dl-sidebar-inner::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
  }

  /* TAB BUTTON */
  .dl-nav-item {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 6px;
    background: #f1f3f5;
  }

  .dl-nav-item.active {
    background: #0d6efd;
    color: #fff;
  }

}
@media (max-width: 768px) {

  .dl-file-panel {
    max-height: 60vh;
    overflow-y: auto;
  }

  .dl-file-panel::-webkit-scrollbar {
    width: 5px;
  }

  .dl-file-panel::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 10px;
  }

}
@media (max-width: 768px) {

  .dl-file-row {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .dl-col-name {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }

  .dl-col-name a {
    font-size: 14px;
    white-space: normal;
    word-break: break-word;
  }

}
@media (max-width: 768px) {

  /* STACK LAYOUT */
  .dl-body {
    flex-direction: column;
  }

  /* SIDEBAR FULL WIDTH */
  .dl-nav-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding: 10px 12px;
  }

  /* SHOW HEADINGS */
  .dl-nav-group {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin: 12px 0 6px;
    color: #555;
  }

  /* EACH GROUP IN SEPARATE ROW (NO SCROLL) */
  .dl-tabs-group1 .dl-sidebar-inner,
  .dl-tabs-group2 .dl-sidebar-inner {
    display: flex;
    flex-wrap: wrap;     /* ✅ KEY CHANGE */
    gap: 8px;
  }

  /* TAB BUTTON STYLE */
  .dl-nav-item {
    flex: 1 1 auto;      /* auto fit */
    text-align: center;
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 6px;
    background: #f1f3f5;
    justify-content: center;
  }

  .dl-nav-item.active {
    background: #0d6efd;
    color: #fff;
  }

  /* FILE CONTENT SCROLL ONLY */
  .dl-file-panel {
    max-height: 60vh;
    overflow-y: auto;
  }

  /* TEXT FIX */
  .dl-file-row {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .dl-col-name {
    align-items: flex-start;
  }

  .dl-col-name a {
    white-space: normal;
    word-break: break-word;
    font-size: 14px;
  }

}
@media (max-width: 768px) {

  /* STACK MAIN LAYOUT */
  .dl-body {
    flex-direction: column;
  }

  /* SIDEBAR FULL WIDTH */
  .dl-nav-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding: 10px 12px;
  }

  /* HEADINGS */
  .dl-nav-group {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin: 12px 0 6px;
    color: #444;
  }

  /* MAKE EACH GROUP VERTICAL */
  .dl-tabs-group1 .dl-sidebar-inner,
  .dl-tabs-group2 .dl-sidebar-inner {
    display: flex;
    flex-direction: column;   /* ✅ KEY CHANGE */
    gap: 6px;
  }

  /* TAB STYLE (FULL WIDTH LIST) */
  .dl-nav-item {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 6px;
    background: #f1f3f5;
  }

  .dl-nav-item.active {
    background: #0d6efd;
    color: #fff;
  }

  /* FILE PANEL SCROLL ONLY */
  .dl-file-panel {
    max-height: 60vh;
    overflow-y: auto;
  }

  /* FILE TEXT FIX */
  .dl-file-row {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .dl-col-name a {
    white-space: normal;
    word-break: break-word;
    font-size: 14px;
  }

}
@media (max-width: 768px) {

  /* FORCE RESET */
  .dl-nav-sidebar,
  .dl-sidebar-inner {
    all: unset;
  }

  /* REBUILD CLEAN STRUCTURE */
  .dl-nav-sidebar {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
    background: #fff;
  }

  /* HEADINGS */
  .dl-nav-group {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin: 12px 0 6px;
    color: #444;
  }

  /* STACK ITEMS VERTICALLY */
  .dl-sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  /* TAB ITEMS */
  .dl-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    background: #f1f3f5;
    border-radius: 6px;
    color: #333;
  }

  .dl-nav-item.active {
    background: #0d6efd;
    color: #fff;
  }

  /* FILE PANEL SCROLL */
  .dl-file-panel {
    max-height: 60vh;
    overflow-y: auto;
  }

  /* FIX TEXT */
  .dl-file-row {
    grid-template-columns: 1fr !important;
  }

  .dl-col-name a {
    white-space: normal !important;
    word-break: break-word;
  }

}
@media (max-width: 768px) {

  .dl-nav-sidebar {
    padding: 10px 16px;   /* left + right padding */
  }

  /* .dl-sidebar-inner {
    padding-right: 8px;   
  } */

  .dl-nav-item {
    margin-right: 4px;    /* slight gap from edge */
  }

}
@media (max-width: 768px) {

  .dl-file-panel {
    max-height: none !important;
    overflow: visible !important;
  }

}
@media (max-width: 768px) {

  /* FORCE PROPER STACK */
  .dl-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;   /* prevents overflow */
  }

  /* FIX SIDEBAR WIDTH */
  .dl-nav-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 10px 16px;
  }

  /* FIX INNER WRAPPER */
  .dl-sidebar-inner {
    width: 100%;
    box-sizing: border-box;
  }

  /* PREVENT ANY CHILD OVERFLOW */
  .dl-nav-item {
    width: 100%;
    box-sizing: border-box;
  }

  /* FIX FILE PANEL ALSO */
  .dl-file-panel {
    width: 100%;
    max-width: 100%;
  }

}
@media (max-width: 768px) {

  .dl-nav-sidebar {
    padding-bottom: 35px;   /* increase this if you want more space */
  }

}

/* ══════════════════════════════════════
   PAGE BANNER (shared across inner pages)
   ══════════════════════════════════════ */


/* ══════════════════════════════════════
   BLOG DETAIL — SECTION WRAPPER
   ══════════════════════════════════════ */
.bd-section {
  padding: 70px 20px 80px;
  background: #f5f7fb;
}

/* ══════════════════════════════════════
   BLOG DETAIL — MAIN CONTENT
   ══════════════════════════════════════ */
.bd-main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 24px;
  text-align: center;
}

.bd-featured-img {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 8px 30px rgba(8,31,79,0.1);
}

.bd-featured-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.bd-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #777;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.bd-meta i { color: var(--teal); margin-right: 5px; }
.bd-meta a { color: var(--teal); font-weight: 600; }
.bd-meta a:hover { color: var(--primary); }

/* Table of Contents */
.bd-toc {
  background: #fff;
  border-left: 4px solid var(--teal);
  border-radius: 10px;
  padding: 22px 26px;
  
  box-shadow: 0 4px 18px rgba(8,31,79,0.07);
}
.bd-toc-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.bd-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bd-toc ul li {
  margin-bottom: 8px;
}
.bd-toc ul li a {
  font-family: 'Open Sans', sans-serif;
  font-size: 13.5px;
  color: var(--primary);
  transition: color 0.2s, padding-left 0.2s;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.bd-toc ul li a::before {
  content: '›';
  color: var(--teal);
  font-size: 16px;
  line-height: 1.2;
  flex-shrink: 0;
}
.bd-toc ul li a:hover { color: var(--teal); padding-left: 4px; }

/* Article body */
.bd-content h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 32px;
  margin-bottom: 14px;
}
.bd-content h4:first-child { margin-top: 0; }
.bd-content p {
  font-family: 'Open Sans', sans-serif;
  font-size: 14.5px;
  color: #444;
  line-height: 1.85;
  margin-bottom: 16px;
}
.bd-content a {
  color: var(--teal);
  font-weight: 600;
  transition: color 0.2s;
}
.bd-content a:hover { color: var(--primary); }

/* Bonus table */
.bd-table-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  margin: 24px 0 28px;
  box-shadow: 0 4px 16px rgba(8,31,79,0.06);
}
.bd-table-header {
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.bd-table-header .col-4 {
  padding: 6px 10px;
}
.bd-table-row {
  padding: 0 8px;
  border-bottom: 1px solid #e9edf5;
  background: #fff;
  transition: background 0.2s;
}
.bd-table-row:last-child { border-bottom: none; }
.bd-table-row:hover { background: #f0f7f7; }
.bd-table-row .col-4 {
  font-family: 'Open Sans', sans-serif;
  font-size: 13.5px;
  color: #444;
  padding: 12px 10px;
}
.bd-table-row .col-4:first-child {
  font-weight: 700;
  color: var(--primary);
}

/* List */
.bd-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0 0 20px;
}
.bd-list li {
  font-family: 'Open Sans', sans-serif;
  font-size: 14.5px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 6px;
}

/* Post category & next post */
.bd-post-category {
  margin-top: 30px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13.5px;
  color: #666;
}
.bd-post-category span { font-weight: 700; color: var(--primary); }
.bd-post-category a { color: var(--teal); font-weight: 600; }

.bd-next-post {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}
.bd-next-post a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  font-style: italic;
  transition: color 0.2s;
}
.bd-next-post a:hover { color: var(--teal); }

/* Comment box */
.bd-comment-box {
  background: #fff;
  border-radius: 14px;
  padding: 34px 32px;
  margin-top: 40px;
  box-shadow: 0 6px 28px rgba(8,31,79,0.08);
}
.bd-comment-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}
.bd-comment-meta {
  font-family: 'Open Sans', sans-serif;
  font-size: 13.5px;
  color: #666;
  margin-bottom: 20px;
}
.bd-comment-meta a { color: var(--teal); font-weight: 600; }
.bd-comment-meta a:hover { color: var(--primary); }
.bd-textarea {
  border: 1.5px solid #dde3f0;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  resize: vertical;
  transition: border 0.25s;
}
.bd-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(78,194,192,0.15);
  outline: none;
}
.bd-comment-btn {
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 34px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s;
}
.bd-comment-btn:hover { background: var(--teal); }
.bd-form-success {
  margin-top: 14px;
  background: rgba(78,194,192,0.12);
  border: 1px solid var(--teal);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--primary);
  font-family: 'Open Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
}

/* ══════════════════════════════════════
   BLOG DETAIL — SIDEBAR WIDGETS
   ══════════════════════════════════════ */
.bd-widget {
  background: #fff;
  border-radius: 14px;
  padding: 26px 24px;
  margin-bottom: 28px;
  box-shadow: 0 6px 24px rgba(8,31,79,0.07);
}
.bd-widget-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal);
}

/* Search widget */
.bd-search-form {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid #dde3f0;
}
.bd-search-input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  outline: none;
  color: #444;
}
.bd-search-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.25s;
  font-size: 14px;
}
.bd-search-btn:hover { background: var(--teal); }

/* Recent posts widget */
.bd-recent-post-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f2f6;
  font-family: 'Open Sans', sans-serif;
  font-size: 13.5px;
  color: #444;
  line-height: 1.5;
  transition: color 0.2s, padding-left 0.2s;
}
.bd-recent-post-item:last-child { border-bottom: none; padding-bottom: 0; }
.bd-recent-post-item i { color: var(--teal); font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.bd-recent-post-item:hover { color: var(--teal); padding-left: 4px; }

/* Contact widget */
.bd-contact-widget {
  background: var(--primary);
  color: #fff;
}
.bd-contact-widget .bd-widget-title {
  color: var(--teal);
  border-bottom-color: rgba(78,194,192,0.35);
}
.bd-contact-logo {
  margin-bottom: 18px;
}
.bd-contact-logo img {
  height: 55px;
  border-radius: 8px;
}
.bd-contact-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}
.bd-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font-family: 'Open Sans', sans-serif;
  font-size: 13.5px;
  transition: color 0.2s;
}
.bd-contact-row:last-of-type { border-bottom: none; }
.bd-contact-row:hover { color: var(--teal); }
.bd-contact-icon {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 13px;
  flex-shrink: 0;
}
.bd-widget-btn {
  display: inline-block;
  background: var(--teal);
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 26px;
  border-radius: 50px;
  text-align: center;
  transition: background 0.25s;
}
.bd-widget-btn:hover { background: #3aada9; }

/* Sidebar logo widget */
.bd-sidebar-logo-widget {
  text-align: center;
  padding: 24px;
}
.bd-sidebar-logo-widget img {
  max-width: 180px;
  margin: 0 auto;
}

/* ══════════════════════════════════════
   BLOG DETAIL — BLUE HEADING OVERRIDE (blog-detail.html)
   ══════════════════════════════════════ */
.bd-section h1,
.bd-section h2,
.bd-section h3,
.bd-section h4,
.bd-section h5,
.bd-section h6,
.bd-toc h4 {
  color: var(--primary) !important;
}

/* ══════════════════════════════════════
   BLOG DETAIL — RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 991px) {
  .page-banner-title { font-size: 32px; }
  .page-banner { min-height: 180px; }
  .bd-featured-img img { height: 280px; }
  .bd-main-title { font-size: 22px; }
}

@media (max-width: 767px) {
  .page-banner-title { font-size: 26px; }
  .bd-section { padding: 40px 16px 60px; }
  .bd-featured-img img { height: 210px; }
  .bd-main-title { font-size: 19px; }
  .bd-comment-box { padding: 22px 18px; }
  .bd-toc { padding: 16px 18px; }
  .bd-table-header .col-4,
  .bd-table-row .col-4 { font-size: 12px; padding: 8px 6px; }
}
/* ── BLOG BULLET FIX ── */
.bd-toc ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 15px;
}

.bd-toc ul li {
  margin-bottom: 8px;
  color: #333;
}
/* ── BLOG TABLE SPACING ── */
.bd-table-row {
  margin-bottom: 10px;
}

.bd-table-header {
  margin-bottom: 12px;
}
/* =========================================
   BLOG TABLE MOBILE SCROLL FIX
========================================= */
@media (max-width: 768px) {

  .bd-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* FORCE WIDTH SO SCROLL CAN HAPPEN */
  .bd-table-header,
  .bd-table-row {
    display: flex;
    flex-wrap: nowrap !important;
    min-width: 800px; /* important */
  }

  /* STOP BOOTSTRAP SHRINKING */
  .bd-table-header > div,
  .bd-table-row > div {
    flex: 0 0 auto !important;
  }

  /* SET COLUMN WIDTHS */
  .bd-table-header .col-3,
  .bd-table-row .col-3 {
    width: 180px;
  }

  .bd-table-header .col-2,
  .bd-table-row .col-2 {
    width: 140px;
  }

}
/* ── MOBILE TABLE COLUMN SPACING ── */
@media (max-width: 768px) {

  .bd-table-header > div,
  .bd-table-row > div {
    padding: 10px 12px; /* spacing inside columns */
  }

}

/* ══════════════════════════════════════
   COURSE PAGE — CERTIFICATE IV IN BUSINESS
   (and shared for all course detail pages)
   ══════════════════════════════════════ */

/* ── PAGE BANNER ── */
.cp-banner {
  background: var(--primary);
  padding: 36px 20px 32px;
}
.cp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}
.cp-breadcrumb a {
  color: rgba(255,255,255,0.65);
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  transition: color 0.2s;
}
.cp-breadcrumb a:hover { color: var(--teal); }
.cp-breadcrumb span { color: rgba(255,255,255,0.65); font-size: 13px; }
.cp-breadcrumb > span:last-child { color: var(--teal); font-weight: 600; }
.cp-bc-sep { color: rgba(255,255,255,0.4); font-size: 13px; }

.cp-banner-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.2;
}

.cp-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cp-badge {
  background: var(--teal);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.cp-badge-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
}

/* ── STATS BAR ── */
.cp-stats-bar {
  background: #fff;
  border-bottom: 3px solid var(--teal);
  box-shadow: 0 4px 20px rgba(8,31,79,0.08);
}
.cp-stat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px;
  border-right: 1px solid #eef0f5;
}
.cp-stat-last { border-right: none; }
.cp-stat-icon {
  width: 42px;
  height: 42px;
  background: rgba(78,194,192,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.cp-stat-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 11.5px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}
.cp-stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.5;
}
.cp-stat-note {
  font-weight: 400;
  color: #777;
  font-size: 12px;
}

/* ── MAIN SECTION ── */
.cp-main-section {
  background: #f5f7fb;
  padding: 50px 20px 70px;
}

.cp-course-heading { border-bottom: 2px solid var(--teal); padding-bottom: 14px; }
.cp-course-code {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.cp-course-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  margin: 0;
  line-height: 1.2;
}

.cp-course-img-wrap { border-radius: 14px; overflow: hidden; }
.cp-course-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.cp-intro p {
  font-family: 'Open Sans', sans-serif;
  font-size: 14.5px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 12px;
}
.cp-link { color: var(--teal); font-weight: 700; transition: color 0.2s; }
.cp-link:hover { color: var(--primary); }

/* ── TABS ── */
.cp-tabs-wrap {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(8,31,79,0.07);
  overflow: hidden;
}
.cp-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 2px solid #eef0f6;
  padding: 0;
  margin: 0;
  list-style: none;
  background: #f8f9fc;
}
.cp-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #777;
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  margin-bottom: -2px;
}
.cp-tab-btn:hover { color: var(--primary); background: rgba(8,31,79,0.04); }
.cp-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--teal);
  background: #fff;
}
.cp-tab-content {
  padding: 32px 28px;
}

/* ── SECTION BLOCKS inside tabs ── */
.cp-section-block {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #eef0f6;
}
.cp-section-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.cp-section-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cp-sh-icon { color: var(--teal); font-size: 14px; }

.cp-section-block p {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 10px;
}
.cp-section-block p:last-child { margin-bottom: 0; }

/* bullet list */
.cp-bullet-list {
  padding-left: 20px;
  margin: 0;
}
.cp-bullet-list li {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 5px;
}

/* info cards */
.cp-info-card {
  background: #f8f9fc;
  border-radius: 10px;
  padding: 20px;
  border-left: 3px solid var(--teal);
  height: 100%;
}
.cp-info-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 12px;
}

/* tag grid */
.cp-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.cp-tag {
  background: rgba(8,31,79,0.08);
  color: var(--primary);
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(8,31,79,0.12);
}

/* ── TABLE STYLES ── */
.cp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cp-table { min-width: 500px; border-radius: 10px; overflow: hidden; border: 1px solid #e4e9f2; }
.cp-table-header {
  display: flex;
  background: var(--primary);
  padding: 0;
}
.cp-table-header .cp-table-col-a,
.cp-table-header .cp-table-col-b,
.cp-table-header .cp-units-col-a,
.cp-table-header .cp-units-col-b,
.cp-table-header .cp-units-col-c {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 12px 16px;
}
.cp-table-row {
  display: flex;
  border-bottom: 1px solid #e9edf5;
  background: #fff;
  transition: background 0.2s;
}
.cp-table-row:last-child { border-bottom: none; }
.cp-table-row:hover { background: #f5f9f9; }
.cp-table-row-alt { background: #fafbfd; }
.cp-table-row-alt:hover { background: #f0f7f7; }

.cp-table-col-a {
  flex: 0 0 200px;
  padding: 14px 16px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13.5px;
  color: #444;
  border-right: 1px solid #e9edf5;
}
.cp-table-col-b {
  flex: 1;
  padding: 14px 16px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13.5px;
  color: #555;
  line-height: 1.6;
}

/* Units table columns */
.cp-units-col-a {
  flex: 0 0 130px;
  padding: 13px 16px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: var(--primary);
  border-right: 1px solid #e9edf5;
  font-weight: 700;
}
.cp-units-col-b {
  flex: 1;
  padding: 13px 16px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13.5px;
  color: #555;
  line-height: 1.6;
  border-right: 1px solid #e9edf5;
}
.cp-units-col-c {
  flex: 0 0 120px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
}
.cp-badge-core {
  background: rgba(8,31,79,0.1);
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.cp-badge-elective {
  background: rgba(78,194,192,0.15);
  color: #1a9997;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── NOTICE BOX ── */
.cp-notice-box {
  background: rgba(8,31,79,0.04);
  border: 1.5px solid rgba(8,31,79,0.12);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 18px 20px;
}
.cp-notice-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}
.cp-notice-box p {
  font-size: 13.5px !important;
  color: #555 !important;
  margin-bottom: 8px !important;
}

/* ── COUNTRY SELECT ── */
.cp-select-wrap { max-width: 340px; }
.cp-select-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
  display: block;
}
.cp-country-select {
  border: 1.5px solid #dde3f0;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #444;
  transition: border 0.25s;
}
.cp-country-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(78,194,192,0.15);
  outline: none;
}

/* ── JOB CARDS ── */
.cp-job-card {
  background: #f8f9fc;
  border: 1.5px solid #e4e9f2;
  border-radius: 10px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.25s;
}
.cp-job-card:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(8,31,79,0.15);
}
.cp-job-icon {
  color: var(--teal);
  font-size: 18px;
  flex-shrink: 0;
  transition: color 0.25s;
}
.cp-job-card:hover .cp-job-icon { color: var(--teal); }

/* ── INTAKE CARDS ── */
.cp-intake-card {
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  border: 1.5px solid #e4e9f2;
  box-shadow: 0 4px 16px rgba(8,31,79,0.06);
  height: 100%;
}
.cp-intake-card-active {
  border-color: var(--teal);
  box-shadow: 0 6px 24px rgba(78,194,192,0.2);
}
.cp-intake-year {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal);
}
.cp-intake-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #f0f2f6;
  font-family: 'Open Sans', sans-serif;
  font-size: 13.5px;
  color: #555;
}
.cp-intake-item:last-child { border-bottom: none; }
.cp-intake-term {
  font-weight: 700;
  color: var(--primary);
  background: rgba(8,31,79,0.07);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  flex-shrink: 0;
  margin-right: 10px;
}

/* ── SIDEBAR ── */
.cp-sidebar-widget {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 6px 24px rgba(8,31,79,0.07);
}
.cp-sidebar-widget-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal);
}

.cp-sidebar-course-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13.5px;
  color: #555;
  font-weight: 600;
  transition: all 0.2s;
  border: 1px solid transparent;
  margin-bottom: 4px;
}
.cp-sidebar-course-link:hover {
  background: rgba(8,31,79,0.05);
  color: var(--primary);
  border-color: #e4e9f2;
}
.cp-sidebar-course-link.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.cp-slink-icon {
  font-size: 10px;
  color: var(--teal);
  flex-shrink: 0;
}
.cp-sidebar-course-link.active .cp-slink-icon { color: var(--teal); }

.cp-sidebar-logo-widget {
  text-align: center;
  padding: 20px;
}
.cp-sidebar-logo {
  max-width: 180px;
  margin: 0 auto;
}

.cp-sidebar-contact-widget {
  background: var(--primary);
  color: #fff;
}
.cp-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font-family: 'Open Sans', sans-serif;
  font-size: 13.5px;
  transition: color 0.2s;
}
.cp-contact-row:last-of-type { border-bottom: none; }
.cp-contact-row:hover { color: var(--teal); }
.cp-contact-icon {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 13px;
  flex-shrink: 0;
}
.cp-sidebar-btn {
  display: inline-block;
  background: var(--teal);
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 26px;
  border-radius: 50px;
  text-align: center;
  transition: background 0.25s;
  width: 100%;
}
.cp-sidebar-btn:hover { background: #3aada9; }

/* ══════════════════════════════════════
   COURSE PAGE — RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 991px) {
  .cp-banner-title { font-size: 28px; }
  .cp-stat-item { padding: 16px 14px; }
  .cp-tab-content { padding: 24px 20px; }
  .cp-course-title { font-size: 22px; }
}

@media (max-width: 767px) {
  .cp-banner { padding: 24px 16px 22px; }
  .cp-banner-title { font-size: 22px; }

  .cp-stats-bar .row { display: flex; flex-wrap: wrap; }
  .cp-stat-item { border-right: none; border-bottom: 1px solid #eef0f5; padding: 14px 16px; }
  .cp-stat-last { border-bottom: none; }

  .cp-tab-nav { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .cp-tab-btn { padding: 13px 14px; font-size: 11.5px; white-space: nowrap; }
  .cp-tab-content { padding: 20px 16px; }

  .cp-course-title { font-size: 20px; }
  .cp-course-img { max-height: 240px; }

  .cp-table-col-a { flex: 0 0 150px; }
  .cp-units-col-a { flex: 0 0 110px; }
  .cp-units-col-c { flex: 0 0 100px; }

  .cp-intake-card { margin-bottom: 0; }
}

@media (max-width: 480px) {
  .cp-badge-row { gap: 6px; }
  .cp-badge { font-size: 11px; padding: 3px 10px; }
  .cp-tab-btn { font-size: 11px; padding: 11px 10px; }
}





/* ══════════════════════════════════════
   COURSE PAGE — NEW BOOTSTRAP STYLES
   (BSB40120 Certificate IV in Business)
   ══════════════════════════════════════ */

/* ── HERO BANNER ── */
.cp-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 200px;
}
.cp-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cp-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 31, 79, 0.80);
}
.cp-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 56px;
}
.cp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 16px;
}
.cp-breadcrumb a { color: #fff; text-decoration: none; }
.cp-breadcrumb a:hover { text-decoration: underline; }
.cp-bc-sep { font-size: 11px; opacity: 0.6; }
.cp-bc-current { opacity: 1; font-weight: 600; }
.cp-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0;
}
.cp-badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
}
.cp-badge-grey { background: rgba(255,255,255,0.15); color: #fff; }
.cp-badge-outline { border: 1px solid rgba(255,255,255,0.4); color: #fff; }
.cp-hero-logo { height: 80px; width: auto; flex-shrink: 0; }

/* ── STATS BAR ── */
.cp-stats-bar {
  border-bottom: 1px solid #eef0f5;
  background: #fff;
  box-shadow: 0 2px 10px rgba(8,31,79,0.04);
}
.cp-stats-bar .container-xl { max-width: 1200px; }
.cp-stat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 20px;
  border-right: 1px solid #eef0f5;
}
.cp-stat-last { border-right: none; }
.cp-stat-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.cp-stat-icon-teal { background: var(--teal); color: #fff; }
.cp-stat-icon-muted { background: #f0f2f8; color: var(--primary); }
.cp-stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px; color: #999;
}
.cp-stat-value {
  font-family: 'Open Sans', sans-serif;
  font-size: 13.5px; font-weight: 600; color: var(--primary); margin-top: 2px;
}
.cp-stat-sub { font-weight: 400; font-size: 12px; color: #888; }

/* ── TAB BAR ── */
.cp-tab-bar {
  position: sticky; top: 75px; z-index: 100;
  background: #fff; border-bottom: 2px solid #eef0f5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.cp-tab-bar .container-xl { max-width: 1200px; }
.cp-tab-nav {
  display: flex; overflow-x: auto;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 0;
}
.cp-tab-nav::-webkit-scrollbar { display: none; }

/* ── TAB CONTENT WRAPPER ── */
.cp-tab-content-wrap { background: #f5f7fb; min-height: 400px; padding: 32px 0 60px; }
.cp-tab-content-wrap .container-xl { max-width: 1200px; }
.cp-tab-content {
  background: #fff; border-radius: 14px; padding: 32px;
  box-shadow: 0 4px 24px rgba(8,31,79,0.06);
}
.cp-tab-panel { display: none; }
.cp-tab-panel.active { display: block; }

/* ── SECTION ── */
.cp-section {
  margin-bottom: 36px; padding-bottom: 32px;
  border-bottom: 1px solid #eef0f5;
}
.cp-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.cp-section-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.cp-section-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(8,31,79,0.07); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0;
}
.cp-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 800; color: var(--primary); margin: 0;
}
.cp-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px; color: #555; line-height: 1.8; margin-bottom: 12px;
}
.cp-text:last-child { margin-bottom: 0; }

/* ── CHECK LIST ── */
.cp-check-list { list-style: none; padding: 0; margin: 0; }
.cp-check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: 'Open Sans', sans-serif; font-size: 14px; color: #555;
  line-height: 1.7; margin-bottom: 8px;
}
.cp-check-icon { color: var(--teal); font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.cp-bullet { color: var(--teal); flex-shrink: 0; margin-top: 2px; }

/* ── SCHEDULE BOX ── */
.cp-schedule-box { background: #f8f9fc; border-radius: 10px; padding: 18px 20px; height: 100%; }
.cp-schedule-title {
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--primary); margin-bottom: 12px;
}

/* ── CONTENT CARDS ── */
.cp-content-card {
  background: #fff; border: 1.5px solid #e4e9f2; border-radius: 12px; padding: 22px; height: 100%;
}
.cp-content-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.cp-content-card-icon {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0;
}
.cp-icon-teal { background: rgba(78,194,192,0.12); color: var(--teal); }
.cp-icon-primary { background: rgba(8,31,79,0.08); color: var(--primary); }
.cp-content-card-title {
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; color: var(--primary);
}
.cp-pill-wrap { display: flex; flex-wrap: wrap; gap: 7px; }
.cp-pill {
  display: inline-block; font-family: 'Open Sans', sans-serif;
  font-size: 12px; font-weight: 600; background: #f0f2f8;
  color: var(--primary); padding: 5px 12px; border-radius: 999px;
}

/* ── INFO / NOTICE BOXES ── */
.cp-info-box {
  background: #f8f9fc; border-left: 3px solid var(--teal); border-radius: 8px; padding: 14px 18px;
}
.cp-info-box p {
  font-family: 'Open Sans', sans-serif; font-size: 13.5px; color: #555; line-height: 1.7; margin: 0;
}
.cp-info-box p + p { margin-top: 8px; }
.cp-notice-box {
  background: rgba(8,31,79,0.03);
  border: 1.5px solid rgba(8,31,79,0.10); border-left: 4px solid var(--primary);
  border-radius: 8px; padding: 18px 20px;
}
.cp-notice-title {
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 800;
  color: var(--primary); margin-bottom: 10px;
}
.cp-notice-box p {
  font-family: 'Open Sans', sans-serif; font-size: 13.5px; color: #555; line-height: 1.7; margin-bottom: 8px;
}
.cp-link { color: var(--primary); font-weight: 600; text-underline-offset: 3px; text-decoration: underline; }
.cp-link:hover { color: var(--teal); }

/* ── COUNTRY BOX ── */
.cp-country-box { border: 1.5px solid #e4e9f2; border-radius: 12px; background: #f8f9fc; padding: 24px; }
.cp-country-title {
  font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 6px;
}
.cp-country-sub { font-family: 'Open Sans', sans-serif; font-size: 13.5px; color: #888; margin-bottom: 10px; }
.cp-country-select {
  font-family: 'Open Sans', sans-serif; font-size: 14px; color: #444;
  border: 1.5px solid #dde3f0 !important; border-radius: 8px !important; padding: 10px 14px !important;
}
.cp-country-select:focus { border-color: var(--teal) !important; box-shadow: 0 0 0 3px rgba(78,194,192,0.15) !important; }
.cp-country-result { background: #fff; border: 1.5px solid #e4e9f2; border-radius: 10px; padding: 20px; margin-top: 12px; }
.cp-country-result-title {
  font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 4px;
}
.cp-country-code { font-size: 12px; color: #999; margin-bottom: 12px; }

/* ── ACSF CHART ── */
.cp-chart-card {
  background: #fff; border: 1.5px solid #e4e9f2; border-radius: 12px;
  padding: 24px; box-shadow: 0 2px 10px rgba(8,31,79,0.04);
}
.cp-chart-title {
  font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 16px;
}
.cp-chart-wrap { width: 100%; height: 320px; }
.cp-chart-wrap canvas { width: 100% !important; height: 100% !important; }

/* ── TABLE ── */
.cp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cp-table { min-width: 520px; border-radius: 10px; overflow: hidden; border: 1.5px solid #e4e9f2; }
.cp-table-header { display: flex; background: var(--primary); }
.cp-table-header > div {
  font-family: 'Montserrat', sans-serif; font-size: 11.5px; font-weight: 700;
  color: #fff; text-transform: uppercase; letter-spacing: 0.7px; padding: 12px 16px;
}
.cp-table-row { display: flex; border-bottom: 1px solid #eef0f5; background: #fff; transition: background 0.15s; }
.cp-table-row:last-child { border-bottom: none; }
.cp-table-row:hover { background: #f5f9f9; }
.cp-table-row-alt { background: #fafbfd; }
.cp-table-row-alt:hover { background: #f0f7f7; }
.cp-table-col-a {
  flex: 0 0 220px; padding: 14px 16px;
  font-family: 'Open Sans', sans-serif; font-size: 13.5px; color: #444;
  border-right: 1px solid #eef0f5; font-weight: 500;
}
.cp-table-col-b {
  flex: 1; padding: 14px 16px;
  font-family: 'Open Sans', sans-serif; font-size: 13.5px; color: #555; line-height: 1.6;
}
.cp-units-col-a {
  flex: 0 0 130px; padding: 13px 16px;
  font-family: 'Montserrat', sans-serif; font-size: 12.5px; color: var(--primary);
  border-right: 1px solid #eef0f5; font-weight: 700;
}
.cp-units-col-b {
  flex: 1; padding: 13px 16px;
  font-family: 'Open Sans', sans-serif; font-size: 13.5px; color: #555;
  line-height: 1.6; border-right: 1px solid #eef0f5;
}
.cp-units-col-c {
  flex: 0 0 110px; padding: 13px 16px;
  display: flex; align-items: center; justify-content: center;
}
.cp-badge-core {
  background: rgba(8,31,79,0.1); color: var(--primary);
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}
.cp-badge-elective {
  background: rgba(78,194,192,0.15); color: #1a9997;
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}

/* ── JOB CARDS ── */
.cp-job-card {
  background: #f8f9fc; border: 1.5px solid #e4e9f2; border-radius: 10px; padding: 16px 14px;
  display: flex; align-items: center; gap: 12px;
  font-family: 'Open Sans', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--primary);
  transition: all 0.25s; height: 100%;
}
.cp-job-card:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
  transform: translateY(-3px); box-shadow: 0 8px 24px rgba(8,31,79,0.15);
}
.cp-job-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(78,194,192,0.15); color: var(--teal);
  display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0;
}
.cp-job-card:hover .cp-job-icon { background: rgba(255,255,255,0.15); color: var(--teal); }

/* ── INTAKE CARDS ── */
.cp-intake-card {
  background: #fff; border-radius: 12px; padding: 22px;
  border: 1.5px solid #e4e9f2; box-shadow: 0 4px 16px rgba(8,31,79,0.06); height: 100%;
}
.cp-intake-card-active { border-color: var(--teal); box-shadow: 0 6px 24px rgba(78,194,192,0.2); }
.cp-intake-year {
  font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 800; color: var(--primary);
  margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--teal);
}
.cp-intake-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid #f0f2f6;
  font-family: 'Open Sans', sans-serif; font-size: 13.5px; color: #555; gap: 8px;
}
.cp-intake-item:last-child { border-bottom: none; }
.cp-intake-term {
  font-weight: 700; color: var(--primary); background: rgba(8,31,79,0.07);
  padding: 2px 10px; border-radius: 20px; font-size: 11.5px; flex-shrink: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .cp-hero-title { font-size: 26px; }
  .cp-tab-content { padding: 24px 20px; }
}
@media (max-width: 767px) {
  .cp-hero-inner { padding: 28px 16px 36px; }
  .cp-hero-title { font-size: 22px; }
  .cp-stat-item { border-right: none; border-bottom: 1px solid #eef0f5; padding: 14px 16px; }
  .cp-stat-last { border-bottom: none; }
  .cp-tab-btn { padding: 12px 12px; font-size: 11.5px; }
  .cp-tab-btn i { display: none; }
  .cp-tab-content { padding: 20px 16px; }
  .cp-table-col-a { flex: 0 0 150px; }
  .cp-units-col-a { flex: 0 0 100px; }
  .cp-units-col-c { flex: 0 0 90px; }
  .cp-intake-item { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (max-width: 480px) {
  .cp-hero-title { font-size: 20px; }
  .cp-badge { font-size: 11px; padding: 3px 8px; }
  .cp-tab-btn { font-size: 11px; padding: 11px 10px; }
  .cp-tab-content-wrap { padding: 16px 0 40px; }
}
.cp-tab-bar {
  position: static !important;
  top: auto !important;
}
/* Job cards */
.cp-job-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: #f8f9fb;
  height: 100%;
}

/* Icon */
.cp-job-icon {
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d9f1ef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #2fb36d;
}

/* Text */
.cp-job-card span {
  font-size: 13px;
  line-height: 1.3;
  word-break: break-word;
}

/* MOBILE FIX */
@media (max-width: 576px) {

  .cp-job-card {
    padding: 10px;
  }

  .cp-job-card span {
    font-size: 12px;
  }

  .cp-job-icon {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}



/* Stats item layout */
.cp-stat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  height: 100%;
}

/* Icon */
.cp-stat-icon {
  min-width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Text */
.cp-stat-label {
  font-size: 11px;
  letter-spacing: 0.5px;
}

.cp-stat-value {
  font-size: 14px;
  line-height: 1.4;
  word-break: break-word;
}

/* MOBILE FIX */
@media (max-width: 576px) {

  .cp-stat-item {
    padding: 12px 10px;
    gap: 10px;
  }

  .cp-stat-icon {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .cp-stat-value {
    font-size: 13px;
  }

  .cp-stat-sub {
    display: block; /* move (International) to next line */
  }
}
/* Units table layout fix */
.cp-table {
  width: 100%;
}

.cp-table-header,
.cp-table-row {
  display: grid;
  grid-template-columns: 110px 1fr 90px; /* fixed + flexible */
  align-items: center;
}

/* Columns */
.cp-units-col-a {
  font-weight: 600;
}

.cp-units-col-b {
  padding: 0 8px;
}

.cp-units-col-c {
  text-align: center;
}

/* MOBILE FIX */
@media (max-width: 576px) {

  .cp-table-header,
  .cp-table-row {
    grid-template-columns: 110px 1fr 80px; /* tighter but balanced */
  }

  .cp-units-col-a {
    font-size: 12px;
  }

  .cp-units-col-b {
    font-size: 12px;
  }

  .cp-units-col-c {
    font-size: 11px;
  }
}