/* ====================================================================
   Consolidated stylesheet for ALL includes.
   Loaded once from main_template.blade.php via the standard
   blade include directive (see main_template.blade.php).
   Sections below group the CSS for each include file.
   ==================================================================== */

/* =================== TOP NAV (includes/top.blade.php) =================== */

.site-header {
  font-family: "Inter", "Poppins", sans-serif;
  position: relative;
  z-index: 9999;
}

#navwrap {
  width: 100%;
  z-index: 9999;
  position: sticky;
  top: 0;
  left: 0;
  background: #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(49, 72, 157, 0.08);
}

#navwrap.site-scrolled {
  background: #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(49, 72, 157, 0.08);
}

/* --- Top marquee strip --- */
.site-top-strip {
  background: var(--site-blue);
  background: linear-gradient(90deg, var(--site-blue-deep) 0%, var(--site-blue) 50%, var(--site-blue-deep) 100%);
  color: #fff;
  padding: 7px 0;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.4px;
  overflow: hidden;
  position: relative;
  transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
}
#navwrap.site-scrolled .site-top-strip {
  display: none;
}
.site-top-strip .scrolling-track {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: siteScrollText 30s linear infinite;
}
.site-top-strip .scrolling-track span { display: inline-block; padding-right: 60px; }
.site-top-strip .scrolling-track a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}
.site-top-strip .scrolling-track a:hover { color: #fff; }
.site-top-strip:hover .scrolling-track { animation-play-state: paused; }
@keyframes siteScrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* --- Main navbar row --- */
.site-navbar { padding: 14px 0; transition: padding 0.35s ease; }
#navwrap.site-scrolled .site-navbar { padding: 8px 0; }
.site-navbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* --- Centered-logo split layout --- */
.site-nav-left,
.site-nav-right {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
  flex: 1 1 auto;
}
.site-nav-left { justify-content: flex-end; }
.site-nav-right { justify-content: flex-start; }
.site-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0 18px;
  position: relative;
}
.site-brand img {
  height: 80px !important;
  width: auto;
  object-fit: contain;
  transition: height 0.35s ease;
}
#navwrap.site-scrolled .site-brand img { height: 48px; }
.site-brand::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  background: var(--site-red);
  border-radius: 3px;
  opacity: 0.85;
  transition: width 0.35s ease, opacity 0.35s ease;
}
#navwrap.site-scrolled .site-brand::after { width: 22px; opacity: 1; }

/* --- Nav links --- */
.site-nav-link {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 12px 14px !important;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--site-blue);
  background: transparent !important;
  text-decoration: none !important;
  border-radius: 6px;
  transition: color 0.25s ease;
  white-space: nowrap;
}
.site-nav-link::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--site-red);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.site-nav-link:hover,
.site-nav-link:focus,
.site-nav-link.active { color: var(--site-red); }
.site-nav-link:hover::before,
.site-nav-link.active::before { width: 60%; }

/* --- Caret --- */
.site-caret {
  font-size: 10px !important;
  margin-left: 2px !important;
  transition: transform 0.3s ease;
}
.site-dropdown-toggle[aria-expanded="true"] .site-caret { transform: rotate(180deg); }

/* Hide Bootstrap's default .dropdown-toggle::after caret — we use our own .site-caret */
.site-dropdown-toggle.dropdown-toggle::after,
a.site-dropdown-toggle::after { display: none !important; content: none !important; }

/* --- Dropdown menus --- */
.site-dropdown {
  border: none !important;
  border-top: 3px solid var(--site-red) !important;
  border-radius: 10px !important;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14) !important;
  padding: 10px 0 !important;
  min-width: 240px !important;
  margin-top: 8px !important;
  background: #fff !important;
  animation: siteDropIn 0.2s ease-out;
}
@keyframes siteDropIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.site-dropdown .site-drop-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 18px !important;
  color: var(--site-text) !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  background: transparent !important;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, padding 0.2s ease;
}
.site-dropdown .site-drop-item i {
  width: 18px;
  text-align: center;
  color: var(--site-blue);
  font-size: 13px;
  transition: color 0.2s ease;
}
.site-dropdown .site-drop-item:hover,
.site-dropdown .site-drop-item:focus,
.site-dropdown .site-drop-item.active {
  background: var(--site-blue-soft) !important;
  color: var(--site-blue) !important;
  padding-left: 22px !important;
}
.site-dropdown .site-drop-item:hover i,
.site-dropdown .site-drop-item.active i { color: var(--site-red); }
.site-dropdown .site-drop-divider { margin: 6px 0 !important; border-color: rgba(49, 72, 157, 0.1) !important; }

/* --- CTA + search cluster --- */
.site-cta-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding-left: 12px;
  border-left: 1px solid rgba(49, 72, 157, 0.15);
}
.site-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--site-red);
  color: #fff !important;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 30px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(237, 28, 36, 0.3);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}
.site-btn-cta:hover,
.site-btn-cta:focus {
  background: var(--site-red-deep);
  box-shadow: 0 6px 18px rgba(237, 28, 36, 0.4);
  transform: translateY(-1px);
}
.site-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--site-blue-soft);
  color: var(--site-blue) !important;
  border: 1px solid rgba(49, 72, 157, 0.15);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  font-size: 15px;
}
.site-icon-btn:hover {
  background: var(--site-blue);
  color: #fff !important;
  border-color: var(--site-blue);
}

/* --- Mobile hamburger --- */
.site-mobile-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(49, 72, 157, 0.15);
  background: var(--site-blue-soft);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.site-mobile-toggler:hover { background: rgba(49, 72, 157, 0.2); }
.site-hamburger { display: inline-block; position: relative; width: 22px; height: 16px; }
.site-hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--site-blue);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}
.site-hamburger span:nth-child(1) { top: 0; }
.site-hamburger span:nth-child(2) { top: 7px; }
.site-hamburger span:nth-child(3) { top: 14px; }
.site-mobile-toggler.is-open .site-hamburger span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.site-mobile-toggler.is-open .site-hamburger span:nth-child(2) { opacity: 0; }
.site-mobile-toggler.is-open .site-hamburger span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* --- Mobile drawer --- */
.site-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  background: linear-gradient(180deg, var(--site-blue) 0%, var(--site-blue-deep) 100%);
  color: #fff;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(15, 23, 42, 0.2);
}
.site-drawer.is-open { transform: translateX(0); }
.site-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-drawer-header img {
  height: 40px;
  width: auto;
  background: #fff;
  padding: 6px 10px;
  border-radius: 8px;
}
.site-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.site-drawer-close:hover { background: rgba(255, 255, 255, 0.15); }
.site-drawer-body { flex: 1 1 auto; overflow-y: auto; padding: 8px 0 20px; }
.site-drawer-body::-webkit-scrollbar { width: 6px; }
.site-drawer-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.25); border-radius: 3px; }
.site-drawer-list { list-style: none; margin: 0; padding: 0; }
.site-drawer-list > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  color: #fff !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
  border-left: 3px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.site-drawer-list > li > a i { width: 18px; text-align: center; color: rgba(255, 255, 255, 0.7); }
.site-drawer-list > li > a:hover,
.site-drawer-list > li > a.active {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--site-red);
  color: #fff !important;
}
.site-drawer-list > li > a:hover i,
.site-drawer-list > li > a.active i { color: #fff; }
.site-drawer-group > .site-drawer-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 22px;
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.site-drawer-group > .site-drawer-toggle:hover,
.site-drawer-group > .site-drawer-toggle.active {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--site-red);
}
.site-drawer-group > .site-drawer-toggle > span { display: inline-flex; align-items: center; gap: 10px; }
.site-drawer-group > .site-drawer-toggle > span i { width: 18px; text-align: center; color: rgba(255, 255, 255, 0.7); }
.site-drawer-group > .site-drawer-toggle .site-caret {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease;
}
.site-drawer-group.is-open > .site-drawer-toggle .site-caret { transform: rotate(180deg); }
.site-drawer-sub {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.15);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.site-drawer-sub .dropdown-divider {
  margin: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.site-drawer-group.is-open > .site-drawer-sub { max-height: 600px; padding: 4px 0 8px; }
.site-drawer-sub li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px 10px 50px;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 14px;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}
.site-drawer-sub li a i { width: 16px; text-align: center; font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.site-drawer-sub li a:hover,
.site-drawer-sub li a.active { background: rgba(255, 255, 255, 0.08); color: #fff !important; }
.site-drawer-sub li a:hover i { color: var(--site-red); }
.site-drawer-footer { padding: 16px 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.site-drawer-cta {
  display: block;
  text-align: center;
  background: var(--site-red);
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 30px;
  text-decoration: none !important;
  margin-bottom: 12px;
  transition: background 0.25s ease;
}
.site-drawer-cta:hover { background: var(--site-red-deep); color: #fff !important; }
.site-drawer-search {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 6px 14px;
  gap: 8px;
}
.site-drawer-search input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  padding: 6px 0;
  outline: none;
}
.site-drawer-search input::placeholder { color: rgba(255, 255, 255, 0.55); }
.site-drawer-search i { color: rgba(255, 255, 255, 0.7); }
.site-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.site-drawer-backdrop.is-open { opacity: 1; visibility: visible; }

/* --- Responsive nav --- */
@media (min-width: 1200px) {
  .site-mobile-toggler { display: none; }
  .site-drawer,
  .site-drawer-backdrop { display: none; }
}
@media (max-width: 1199px) {
  .site-nav-left,
  .site-nav-right,
  .site-cta-cluster { display: none; }
  .site-navbar > .container { justify-content: space-between; }
  .site-brand { padding: 0; }
}
@media (max-width: 575px) {
  .site-brand img { height: 54px; }
  #navwrap.site-scrolled .site-brand img { height: 54px; }
  #navwrap.site-scrolled .site-navbar { padding: 14px 0; }
  .site-mobile-toggler { width: 40px; height: 40px; }
}

/* --- Search popup --- */
.site-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 54, 121, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.site-search-overlay.active { opacity: 1; visibility: visible; }
.site-search-box {
  background: #fff;
  border-radius: 16px;
  padding: 44px 36px 36px;
  width: 90%;
  max-width: 620px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  transform: translateY(-30px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
}
.site-search-overlay.active .site-search-box { transform: translateY(0) scale(1); opacity: 1; }
.site-search-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--site-blue-soft);
  border-radius: 50%;
  font-size: 18px;
  color: var(--site-blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.site-search-close:hover { background: var(--site-red); color: #fff; }
.site-search-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--site-red);
}
.site-search-title {
  margin: 0 0 26px;
  font-size: 26px;
  font-weight: 700;
  color: var(--site-blue);
  line-height: 1.25;
}
.site-search-form {
  display: flex;
  border: 2px solid var(--site-blue-soft);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.site-search-form:focus-within { border-color: var(--site-red); }
.site-search-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-size: 16px;
  color: var(--site-text);
  background: #fff;
}
.site-search-form input::placeholder { color: #94a3b8; }
.site-search-form button {
  background: var(--site-blue);
  border: none;
  padding: 14px 24px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.25s ease;
}
.site-search-form button:hover { background: var(--site-blue-deep); }
.site-search-hints { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.site-search-hint {
  background: var(--site-blue-soft);
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--site-blue);
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
.site-search-hint:hover { background: var(--site-red); color: #fff; }
.site-search-results {
  margin-top: 16px;
  max-height: 360px;
  overflow-y: auto;
  border-radius: 10px;
  border: 1px solid var(--site-blue-soft);
  background: #f8fafc;
}
.site-search-results:empty { display: none; }
.site-search-result {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--site-blue-soft);
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s ease;
}
.site-search-result:last-child { border-bottom: none; }
.site-search-result:hover { background: var(--site-blue-soft); }
.site-search-result-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--site-blue-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--site-blue);
}
.site-search-result-content { flex: 1; min-width: 0; }
.site-search-result-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--site-blue);
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-search-result-subtitle { font-size: 12px; color: #64748b; margin: 0 0 3px; }
.site-search-result-desc {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-search-result-type {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  background: var(--site-blue-soft);
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 2px;
}
.site-search-empty { padding: 28px 16px; text-align: center; color: #94a3b8; font-size: 14px; }
@media (max-width: 600px) {
  .site-search-box { padding: 38px 22px 28px; }
  .site-search-title { font-size: 22px; }
  .site-search-form { flex-direction: column; border-radius: 10px; }
  .site-search-form input { border-bottom: 2px solid var(--site-blue-soft); }
  .site-search-form button { justify-content: center; border-radius: 0 0 8px 8px; }
}

/* =================== STICKY SOCIAL (includes/sticky_social.blade.php) =================== */

/* .sticky-social-bar {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translate(-100%, -50%);
  z-index: 1050;
  display: flex;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.sticky-social-bar.active {
  transform: translate(0, -50%);
}
.social-icons-wrapper {
  background-color: #1b265c;
  display: flex;
  flex-direction: column;
  padding: 20px 10px;
  box-shadow: 4px 0 15px rgba(0,0,0,0.2);
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}
.social-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: -35px;
  width: 35px;
  height: 60px;
  background-color: #1b265c;
  color: white;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 4px 0 10px rgba(0,0,0,0.15);
  cursor: pointer;
  font-size: 18px;
}
.sticky-social-bar .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin: 10px 0;
  text-decoration: none;
  transition: all 0.3s ease;
}
.sticky-social-bar .social-icon i { font-size: 26px; }
.sticky-social-bar .instagram {
  background: #f09433;
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: white;
  border-radius: 12px;
}
.sticky-social-bar .facebook { background: #1877F2; color: white; border-radius: 50%; }
.sticky-social-bar .tiktok { background: transparent; }
.sticky-social-bar .tiktok i {
  color: black;
  text-shadow: 2px 2px #ff0050, -2px -2px #00f2fe;
  font-size: 32px;
}
.sticky-social-bar .linkedin { background: #0A66C2; color: white; border-radius: 10px; }
.sticky-social-bar .youtube { background: #FF0033; color: white; border-radius: 10px; }
.sticky-social-bar .social-icon:hover {
  transform: translateX(5px) scale(1.1);
} */

/* =================== FEAT — Popular Courses (includes/feat.blade.php) =================== */

.filter-buttons-wrapper {
  gap: 10px;
  flex-wrap: wrap;
}
.filter-btn {
  background-color: #f8f9fa;
  border: 2px solid #e0e0e0;
  padding: 8px 24px;
  border-radius: 25px;
  color: #555;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-btn.active,
.filter-btn:hover {
  background-color: #1b265c;
  border-color: #1b265c;
  color: #fff;
}
.courses-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 40px;
}
.courses-scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 15px 5px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  width: 100%;
}
.courses-scroll-container::-webkit-scrollbar { display: none; }
.course-scroll-item {
  flex: 0 0 calc(25% - 15px);
  min-width: 300px;
  transition: opacity 0.3s ease;
}
.course-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.course-img-wrapper { width: 100%; padding: 10px 10px 0 10px; }
.course-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
}
.course-body { padding: 20px 15px; flex-grow: 1; }
.course-text { max-width: 80%; }
.course-title {
  color: #1b265c;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 3px;
}
.course-desc { color: #555; font-size: 0.9rem; margin-bottom: 0; }
.course-arrow {
  width: 35px;
  height: 35px;
  background-color: #1b265c;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  cursor: pointer;
}
.course-card:hover .course-arrow { background-color: #f2801e; }
.course-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #1b265c;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10;
  padding: 0;
  transition: color 0.3s;
  display: none;
}
.course-nav-btn:hover { color: #f2801e; }
.course-nav-btn.prev { left: -10px; }
.course-nav-btn.next { right: -10px; }
@media (max-width: 1200px) {
  .course-scroll-item { flex: 0 0 calc(33.333% - 15px); }
}
@media (max-width: 991px) {
  .course-scroll-item { flex: 0 0 calc(50% - 15px); }
}
@media (max-width: 576px) {
  .course-scroll-item { flex: 0 0 100%; }
  .courses-slider-wrapper { padding: 0 30px; }
  .course-nav-btn.prev { left: -5px; font-size: 2rem; }
  .course-nav-btn.next { right: -5px; font-size: 2rem; }
}

/* =================== FOOTER (template/footer.blade.php) =================== */

.site-footer {
  background: #172054;
  padding: 50px 0 40px;
  color: #fff;
}
.footer-section-title {
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
}
.footer-col-title {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}
.footer-logo-box {
  background: #fff;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90px;
  text-decoration: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 4px;
}
.footer-logo-box:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.footer-logo-box img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.footer-logo-box:hover img { transform: scale(1.15); }
.footer-associates {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}
.footer-associates .footer-logo-box { width: 220px; }
.footer-certifications { margin-bottom: 30px; }
.footer-divider-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 30px 0;
}
.footer-useful-links {
  overflow: hidden;
  margin-bottom: 40px;
  position: relative;
}
.footer-useful-links-track {
  display: flex;
  gap: 15px;
  width: max-content;
  animation: scrollUseful 25s linear infinite;
}
.footer-useful-links:hover .footer-useful-links-track {
  animation-play-state: paused;
}
.footer-useful-links-track .footer-logo-box {
  width: 160px;
  height: 90px;
  flex-shrink: 0;
}
@keyframes scrollUseful {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.footer-contact-info {
  text-align: center;
  color: #d3d8e7;
  font-size: 15px;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .footer-associates .footer-logo-box { width: 100%; }
  .footer-useful-links-track .footer-logo-box { width: 140px; height: 80px; }
}

