:root {
    /* Brand */
    --color-primary: #f6a11e;
    --color-secondary: #111827; /* deep neutral (used for headings/icons) */

    /* Primary variants */
    --color-primary-50: #fff7e6;
    --color-primary-100: #ffe9bf;
    --color-primary-200: #ffd58a;
    --color-primary-300: #ffc155;
    --color-primary-400: #ffb22f;
    --color-primary-500: #f6a11e; /* primary */
    --color-primary-600: #e28f0b;
    --color-primary-700: #c67800;

    /* Secondary variants (neutral) */
    --color-secondary-50: #f9fafb;
    --color-secondary-100: #f3f4f6;
    --color-secondary-200: #e5e7eb;
    --color-secondary-300: #d1d5db;
    --color-secondary-400: #9ca3af;
    --color-secondary-500: #6b7280;
    --color-secondary-600: #4b5563;
    --color-secondary-700: #374151;
    --color-secondary-800: #1f2937;
    --color-secondary-900: #111827;

    /* Text */
    --color-text: #111111;
    --color-text-muted: #6b7280;
    --color-text-subtle: #374151;
    --color-text-inverse: #ffffff;

    /* Background */
    --color-bg: #ffffff;
    --color-bg-soft: #fafafa;
    --color-bg-tint: #fff7e6; /* warm tint */

    /* Borders */
    --color-border: #e5e7eb;
    --color-border-soft: #f1f5f9;

    /* Surfaces */
    --color-surface: #ffffff;
    --color-surface-hover: #f8fafc;

    /* Shadows (color tokens only) */
    --color-shadow: rgba(0, 0, 0, 0.1);
    --color-shadow-soft: rgba(0, 0, 0, 0.06);

    /* States */
    --color-focus: rgba(246, 161, 30, 0.35);
    --color-focus-ring: rgba(246, 161, 30, 0.18);

    --bg: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e5e7eb;

    --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadowHover: 0 14px 40px rgba(15, 23, 42, 0.14);
    --radius: 18px;

    /* BRAND */
    --brand: #f6a11e;
    --brandBorder: rgba(246, 161, 30, 0.35);
    --brandShadow: rgba(246, 161, 30, 0.22);

    --badgeBg: #fff4e0;
    --badgeText: #a35a00;

    --gap: 16px; /* keep in sync with JS */
}

/* ================================
   GLOBAL BASE STYLES
   File: css/globals/base.css
=================================== */

html,
body {
    font-family: "Libre Franklin", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Arial, sans-serif;

    color: var(--color-text);
    background: var(--color-bg);
    margin: 0px;
    
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: inherit;
}
button {
    font: inherit;
}

.section {
    display: Flex;
    justify-content: center;
}

/* ================= HEADER ================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--color-bg, #fff);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.site-header,
.header__inner{
  overflow: visible;
}

.header__inner{
  max-width: 1300px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* logo */
.header__logo img{
  height: 55px;
  width: auto;
  display: block;
}

/* burger */
.header__burger{
  width:42px;
  height:42px;
  border:0;
  background:transparent;
  display:none; /* desktop hidden */
  cursor:pointer;
  padding:8px;
  border-radius:10px;

  /* important */
  flex-direction:column;
  justify-content:center;
  align-items:center;
}
.header__burger span{
  display:block;
  width:22px;        /* IMPORTANT */
  height:2px;
  background:#111;
  margin:4px 0;
  border-radius:99px;
}

/* desktop nav */
.header__nav{
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 18px;
  flex: 1;
  min-width: 0;
}

.header__nav .nav-item{
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* links */
.header__link,
.header__nav .nav-link{
  background: transparent;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
      display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
}

.header__nav .nav-link:hover{
  color: var(--color-primary, #F6A11E);
}

/* dropdown positioning under each menu item */
.header__nav .nav-item .dropdown{
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 2000;
  min-width: 260px;
}

/* "open" state controlled by JS data-open */
.header__nav .nav-item.has-dd .dropdown{
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .18s ease;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  padding: 10px;
  margin-top: 10px;
}

.dropdown::before{
  content:"";
  position:absolute;
  top:-8px;
  left:34px;
  width:14px;
  height:14px;
  background: var(--color-surface);
  border-left:1px solid var(--color-border-soft);
  border-top:1px solid var(--color-border-soft);
  transform: rotate(45deg);
}

.header__nav .nav-item.has-dd[data-open="true"] .dropdown{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* simple dropdown list */
.dd-list{
  display: flex;
  flex-direction: column;
  padding: 4px 0;
  gap: 4px;
}
.dd-item{
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #111;
  font-weight: 600;
}
.dd-item:hover{
  background: var(--color-surface-hover);
  color: var(--color-primary);
}

/* Courses mega dropdown bits (optional) */
.courses-dd .two-selects{
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-direction: column;
  padding: 4px;
}
.courses-dd .select-like{
  flex: 1;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 10px;
  padding: 12px 12px;
  font-weight: 500;
  cursor: pointer;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  user-select: none;
  color: var(--color-text);
}
.courses-dd .select-like:hover{
  border-color: rgba(246,161,30,.55);
  box-shadow: 0 0 0 4px rgba(246,161,30,.12);
}

.select-like.active{
  color: var(--color-primary);
  background: rgba(246,161,30,.08);
  border-color: var(--color-focus);
}

.courses-dd .subpanel{
  display: none;
  background: #fff;
  border-radius: 10px;
  padding: 6px 0;
  position: absolute;
    top: 12px;
    left: calc(100% + 2px);
    width: 260px;
    border: 1px solid var(--color-border-soft);
    box-shadow: 0 12px 30px var(--color-shadow);
}

.subpanel::before{
  content:"";
  position:absolute;
  top:22px;
  left:-7px;
  width:14px;
  height:14px;
  background: var(--color-surface);
  border-left:1px solid var(--color-border-soft);
  border-bottom:1px solid var(--color-border-soft);
  transform: rotate(45deg);
}
.courses-dd[data-panel="type"] .panel-type{ display: block; }
.courses-dd[data-panel="field"] .panel-field{ display: block; }

.courses-dd .subpanel a{
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  color: #111;
  font-weight: 500;
  border-radius: 8px;
}
.courses-dd .subpanel a:hover{
  background: rgba(246,161,30,.10);
   color: var(--color-primary);
}

/* Right actions */
.header__actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: nowrap;
  margin-left: auto;
}



.header__actions > *{
  flex: 0 0 auto;
}

/* icon button */
.header__iconbtn{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* divider */
.header__divider{
  width: 1px;
  height: 26px;
  background: rgba(0,0,0,.10);
}

/* user dropdown */
.user-dd{
  position: relative;
  height: 42px;
  align-items: center;
}
.header__userBtn{
  border: 0;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
  color: #111;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.user-dropdown{
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .18s ease;
  z-index: 2000;
  margin-top: 12px;
}
.user-dd[data-open="true"] .user-dropdown{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 5px;
  text-decoration: none;
  font-weight: 400;
  color: #4D5C6D;
  transition: background .2s ease;
  font-size: 14px;
}
.user-dropdown a:hover{
  background: rgba(246,161,30,.10);
  color: var(--color-primary);
}

.user-icon {
  width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #888;
}

.user-dropdown a:hover .user-icon {
  color: var(--color-primary);
}

.user-dropdown .logout {
  border-top: 1px solid rgba(0,0,0,.06);
  margin-top: 6px;
}

/* CTA */
.header__cta{
  text-decoration: none;
  background: var(--color-primary, #F6A11E);
  color: #fff;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
}

.signIn {
   
    color: #black;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 500;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
    display: none;
}

.signUp {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 500;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
    display: none;
    /*box-shadow: 0 6px 14px rgba(246, 161, 30, .25);*/
}

/* Desktop-only blocks */
.header__desktopOnly{ display: flex; }

.chev{
  width:7px;
  height:7px;
  display:inline-block;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform: rotate(45deg);
  margin-top:-2px;
  opacity:.8;
}

.my-course-btn{
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding:10px 16px;
  border-radius:999px;
  font-weight:400;
  border:0;
  cursor:pointer;
  white-space:nowrap;
  box-shadow: 0 6px 14px rgba(246,161,30,.25);
  display: none;
}
.cta:hover{ filter: brightness(.98); }

.icon-btn{
  width:38px;
  height:38px;
  border-radius:10px;
  display:grid;
  place-items:center;
  border:1px solid transparent;
  background: transparent;
  cursor:pointer;
  color: var(--color-secondary-900);
}
.icon-btn:hover{
  border-color: var(--color-border);
  background: var(--color-bg-soft);
}
.divider{
  width:1px;
  height:26px;
  background: var(--color-border);
}

.user-btn{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid transparent;
  cursor:pointer;
  background: var(--color-bg);
  font-weight:400;
  color: var(--color-text);
  display: none;
}
.user-btn:hover{
  border-color: var(--color-border);
  background: var(--color-bg-soft);
}

/* ================= MOBILE BREAKPOINT ================= */
@media (max-width: 980px){
  .header__burger{
    display:flex;   /* IMPORTANT — not inline-block */
  }
  .header__nav{ display: none; }
  .header__desktopOnly{ display: none !important; }

  .header__inner{
    justify-content: space-between;
  }

  .header__logo{
    margin: 0 auto;
  }
  
  .signIn {
   
    padding: 7px 10px;
}

.signUp {
    padding: 7px 10px;
    /*box-shadow: 0 6px 14px rgba(246, 161, 30, .25);*/
}

.header__inner {
    padding: 12px 8px;
    gap: 8px;
}
}

/* ================= DRAWER ================= */
.drawer{
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
}
.drawer.is-open{
  pointer-events: auto;
}

.drawer__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .2s ease;
}
.drawer.is-open .drawer__overlay{
  opacity: 1;
}

/* panel (MUST remain absolute for slide) */
.drawer__panel{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: min(88vw, 360px);
  background: #fff;
  transform: translateX(-105%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
}
.drawer.is-open .drawer__panel{
  transform: translateX(0);
}

/* top profile bar */
.drawer__top{
  padding: 16px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.drawer__profile{
  display: flex;
  align-items: center;
  gap: 12px;
  display: none;
}

.mobile_logo {
    display: none;
}
.drawer__avatar{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #e9e9e9;
}
.drawer__name{
  font-weight: 600;
  color: #111;
  line-height: 1.1;
}
.drawer__account{
  font-size: 12px;
  color: rgba(0,0,0,.55);
  text-decoration: none;
}
.drawer__close{
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  border-radius: 10px;
}

/* nav scroll */
.drawer__nav{
  padding: 10px 0;
  overflow: auto; /* allows full expansion without overlap */
  -webkit-overflow-scrolling: touch;
}

/* items */
.drawer__item{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: #111;
  font-weight: 400;
}
.drawer__item:hover{
  background: rgba(0,0,0,.03);
}

.drawer__icon{
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* accordion container */
.drawer__acc{
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* accordion button */
.drawer__accBtn{
  width: 100%;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  color: #111;
}

.drawer__left{
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-weight: 400;
}

/* chevron */
.drawer__chev{
  transition: transform .2s ease;
  color: #111;
}

/* MAIN panel (IMPORTANT: no fixed max-height here; JS sets it) */
.drawer__accPanel,
.drawer__subAccPanel{
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
  background: #fff;
}

/* open state: only rotate chevron, do NOT cap height */
.drawer__acc.is-open .drawer__chev{
  transform: rotate(180deg);
}

.drawer__acc.is-open > .drawer__accPanel{
  max-height: 2000px; /* big enough */
}

/* nested accordion (Choose Course Type / Choose Field) */
.drawer__subAcc{
  border-top: 1px solid rgba(0,0,0,.05);
}

.drawer__subAccBtn{
  width: 100%;
  padding: 12px 16px 12px 52px;
  border: 0;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  color: #111;
}

.drawer__subAccPanel{
  max-height: 0;
  overflow: hidden;
  transition: max-height .22s ease;
  background: #fff;
}

/* sub links */
.drawer__subItem,
.drawer__subLink{
  display: block;
  padding: 12px 16px 12px 72px;
  text-decoration: none;
  color: #111;
  font-weight: 600;
}
.drawer__subItem:hover,
.drawer__subLink:hover{
  background: rgba(246,161,30,.10);
}

/* active highlight */
.drawer__accBtn.is-active,
.drawer__item.is-active{
  color: var(--color-primary, #F6A11E);
}
.drawer__accBtn.is-active .drawer__icon,
.drawer__item.is-active .drawer__icon{
  color: var(--color-primary, #F6A11E);
}

 


/* ================================
   HERO SLIDE ANIMATION (RTL)
=================================== */









/* big rounded feel at bottom like screenshot */
/*.hero__inner::after{*/
/*  content:"";*/
/*  position:absolute;*/
/*  left:0; right:0;*/
/*  bottom:-90px;*/
/*  height: 180px;*/
/*  background: rgba(255,255,255,.55);*/
/*  border-radius: 999px;*/
/*  filter: blur(0px);*/
/*}*/


.user-dd {
  position: relative;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1000;
  min-width: 180px;
}

/* ===== Mobile drawer nested accordion (Choose Course Type/Field) ===== */

.drawer__subAcc{
  border-top: 1px solid rgba(0,0,0,.06);
}

.drawer__subAccBtn{
  width: 100%;
  border: 0;
  background: transparent;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #111;
  font-weight: 600;
}

.drawer__subIcon{
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: #111;
}

.drawer__subAccBtn .drawer__left{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}

.drawer__subAccBtn .drawer__chev{
  display: inline-flex;
  transition: transform .2s ease;
  color: #777;
}

.drawer__subAcc.is-open .drawer__subAccBtn .drawer__chev{
  transform: rotate(180deg);
  color: var(--color-primary, #f6a11e);
}

.drawer__subAcc.is-open > .drawer__subAccPanel{
  max-height: 1200px; /* big enough */
}

.drawer__acc.is-open .drawer__chev{
  transform: rotate(180deg);
}

/* Panel animation */
.drawer__subAccPanel{
  max-height: 0px;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 0;
}

/* Links inside */
.drawer__subLink{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 54px; /* indent like screenshot */
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

.drawer__subLink:hover{
  background: rgba(0,0,0,.03);
}

/* square checkbox look */
.drawer__box{
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(0,0,0,.25);
  border-radius: 3px;
  background: transparent;
  flex: 0 0 auto;
}



/* Responsive */
@media (max-width: 1100px){
  .hero__content{ padding-left: 40px; }
  .hero__title{ font-size: 52px; }
  .hero__visual{ width: 480px; right: 24px; }
}

@media (max-width: 900px){
  .hero__inner{
    padding-bottom: 170px;
  }

  .hero__visual{
    position: static;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 0 16px 10px;
  }

  .hero__content{
    padding: 58px 20px 20px;
    max-width: 100%;
    text-align: center;
  }
   .hero-dots {
        justify-content: center;
    }
  

  .hero__stats{
    grid-template-columns: repeat(2, 1fr);
    width: calc(100% - 32px);
  }
}

@media (max-width: 520px){
  .hero__title{ font-size: 40px; }
  .hero__subtitle{ font-size: 16px; }
  .hero__stats{ grid-template-columns: 1fr; }
}

.drawer__svg{
  width: 20px;
  height: 20px;
  display: block;
}

.drawer__icon{
  width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111; /* uses currentColor */
}

.drawer__subItem {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px 12px 52px;
  text-decoration: none;
  color: #111;
  font-weight: 400;
}

.drawer__subIcon {
  width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
}

.mobile_register {
    display: none;
}

.header--scrolled {
  box-shadow: 
    0 1px 0 0 rgba(139, 141, 157, .05),
    0 5px 10px -7px rgba(65, 71, 108, .25);
  transition: box-shadow 0.25s ease;
}
/* =========================
   SEARCH POPUP
========================= */
.searchPopup{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.searchPopup.is-open{
   display: block;
}

.searchPopup__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.25);
  pointer-events: auto;
}

.searchPopup.is-open .searchPopup__overlay{
  opacity: 1;
}

.searchPopup__panel{
  position: relative;
  width: 100%;
  z-index: 2;
}

.searchPopup__inner {
    width: min(1300px, calc(100% - 32px));
    margin: 0px auto 0 auto;
}

.searchPopup__bar{
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.searchPopup__input{
  border: 0;
  outline: 0;
  flex: 1;
  font-size: 18px;
  padding: 10px 8px;
}

.searchPopup__iconBtn,
.searchPopup__closeBtn{
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 999px;
  color: #111;
}

.searchPopup__iconBtn:hover,
.searchPopup__closeBtn:hover{
  background: rgba(0,0,0,.06);
}

.searchPopup__results{
  margin-top: 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  overflow: hidden;
  max-height: 60vh;
  overflow-y: auto;
  display: none;
}

.searchPopup__results.is-visible{
  display: block;
}

.searchItem{
  display: block;
  padding: 14px 16px;
  text-decoration: none;
  color: #111;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-weight: 600;
}

.searchItem:last-child{
  border-bottom: 0;
}

.searchItem:hover{
  background: rgba(246,161,30,.10);
}

.searchEmpty{
  padding: 14px 16px;
  color: rgba(0,0,0,.60);
  font-weight: 600;
}

/* Mobile spacing */
@media (max-width: 980px){
  .searchPopup__inner{
    width: calc(100% - 20px);
    margin-top: 0px;
  }

  .searchPopup__input{
    font-size: 16px;
  }
}

.hero-slider {
    position: relative;
    max-width: 560px;
}

.hero-slide {
    display: none;
    position: relative;
}

.hero-slide.is-active {
    display: block;
}

/* Enter from right */
.slide-in-right {
    animation: slideInRight 0.45s ease forwards;
}

/* Exit to left */
.slide-out-left {
    animation: slideOutLeft 0.45s ease forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-30px);
    }
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dots */
.hero-dots {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(0, 0, 0, 0.18);
    cursor: pointer;
}

.hero-dot.is-active {
    background: var(--color-primary);
}

.hero {
    padding: 0px 0 55px;
    background: linear-gradient(180deg, #fffdf8 0%, #ffe6a2 100%);
}

.hero__inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2px;
    position: relative;

    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
}

/* Layout */
.hero__content {
    padding: 88px 0 90px 70px;
    max-width: 760px;
    position: relative;
    z-index: 2;
}

.hero__title {
    margin: 0 0 18px;
    font-size: 52px;
    font-weight: 600;
    line-height: 1.05;
    color: #0b0b0b;
}

.hero__subtitle {
    margin: 0 0 28px;
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-text-subtle);
    max-width: 550px;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 18px 34px;
    border-radius: 14px;

    background: var(--color-primary);
    color: var(--color-text-inverse);
    font-weight: 600;
    text-decoration: none;

    box-shadow: 0 10px 20px rgba(246, 161, 30, 0.25);
}
.hero__cta:hover {
    filter: brightness(0.97);
}

/* Visual */
.hero__visual {
    position: absolute;
    right: 2px;
    top: 40px;
    width: 580px;
    max-width: 48%;
    z-index: 2;
}

.hero__visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* Floating stats card */
.hero__stats {
    width: min(1100px, calc(100% - 60px));
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;

    padding: 35px 40px;
    z-index: 3;
    margin-top: -55px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat__icon{
  width: 65px;
  height: 65px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
}

.stat__icon img {
    width: 33px;
    height: 33px;
}

.stat__text {
    width: 65%;
}

.stat__value {
    font-weight: 600;
    font-size: 27px;
    color: #0b0b0b;
    line-height: 1.1;
}

.stat__label {
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.35;
    color: var(--color-text-subtle);
    font-weight: 400;
}

/* Responsive */
@media (max-width: 1100px) {
    .hero__content {
        padding-left: 40px;
    }
    .hero__title {
        font-size: 52px;
    }
    .hero__visual {
        width: 480px;
        right: 24px;
    }
}

@media (max-width: 900px) {
   .hero__inner{
    padding-bottom: 65px;
    padding-top: 30px;
    display: flex;
   flex-direction: column-reverse;
  }

    .hero__visual {
        position: static;
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
        padding: 0 16px 10px;
    }

    .hero__content {
        padding: 58px 20px 20px;
        max-width: 100%;
        text-align: center;
    }
    
    .hero-dots {
        justify-content: center;
    }

    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
        width: calc(100% - 32px);
    }
}

@media (max-width: 520px) {
    .hero__title {
        font-size: 31px;
        line-height: 1.3em;
    }
    .hero__subtitle {
        font-size: 20px;
    }
    .hero__stats {
        grid-template-columns: 1fr;
        gap: 36px
    }
}

.placements {
    padding: 56px 16px;
    background: #f8fafc;
}
.placements__container {
    max-width: 1100px;
    margin: 0 auto;
}
.placements__header {
    text-align: center;
    margin-bottom: 18px;
}
.placements__title {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}
.placements__subtitle {
    margin: 10px 0 0;
    font-size: 15px;
    color: var(--muted);
}

/* Carousel */
.carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.carousel__viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 22px;
}

.carousel__track {
    display: flex;
    gap: var(--gap);
    will-change: transform;
    padding: 10px 2px; /* allow shadow breathing */
    transform: translateX(0px);
}

.carousel__btn {
    width: 37px;
    height: 37px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    font-size: 40px;
    line-height: 1;
    display: grid;
    place-items: center;
    user-select: none;
    transition: transform 200ms ease, box-shadow 200ms ease,
        border-color 200ms ease;
    color: black;
    align-items: center;
    justify-content: center;
    align-content: center;
    padding: 0px 0px 7px 0px;
}
.carousel__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px var(--brandShadow);
    border-color: var(--brandBorder);
}

/* Card */
.placement-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 280px;
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 18px 16px;
    box-shadow: var(--shadow);
    transition: transform 250ms ease, box-shadow 250ms ease,
        border-color 250ms ease;
    margin: 10px;
}
.placement-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadowHover), 0 0 0 1px rgba(246, 161, 30, 0.25);
    border-color: var(--brandBorder);
}

.placement-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
}

.placement-card__photoWrap {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}
.placement-card__photo {
    width: 84px !important;
    height: 84px !important;
    border-radius: 999px !important;
    object-fit: cover;
    border: 4px solid #fff !important;
    box-shadow: 0 8px 16px rgba(2, 6, 23, 0.12) !important;
}
.placement-card__body {
    text-align: center;
    margin-top: 14px;
}
.placement-card__name {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}
.placement-card__label {
    margin: 5px 0 05px 0;
    font-size: 13px;
    color: var(--muted);
}
.placement-card__company {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--brand);
}
.placement-card__meta {
    margin: 3px 0 0;
    font-size: 12px;
    color: var(--muted);
}

/* Mobile */
@media (max-width: 639px) {
    .placement-card {
        max-width: 85%;
    } /* better for marquee look */
    .carousel__btn {
        display: none;
    } /* swipe/auto only */
}

@media (prefers-reduced-motion: reduce) {
    .placement-card,
    .carousel__btn {
        transition: none !important;
    }
}

/* ================================
   ABOUT SECTION
   File: css/components/about.css
=================================== */

.about {
    padding: 90px 0;
    background: #f9f8f6;
}

.about__inner {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
}

.about__title {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    color: var(--color-text);
}

.about__underline {
    width: 70px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 999px;
    margin: 16px auto 28px;
}

.about__text {
    margin: 0 auto;
    max-width: 620px;
    font-size: 15px;
    line-height: 2;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ================================
   HOW WE OPERATE
   File: css/components/how-we-operate.css
=================================== */

.operate {
    padding: 80px 0 90px;
    background: #f9f8f6;
}

.operate__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Heading */
.operate__head {
    text-align: center;
    margin-bottom: 52px;
}

.operate__title {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    color: var(--color-text);
}

.operate__underline {
    width: 64px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 999px;
    margin: 14px auto 18px;
}

.operate__sub {
    margin: 0 auto;
    max-width: 520px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--color-text-muted);
}

.operate__sub em {
    font-style: italic;
    color: var(--color-text);
}

/* Layout */
.operate__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

/* LEFT: Accordion */
.operate__left {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.op-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.op-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 18px;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.op-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text);
    flex: 1;
}

.op-chev {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex: 0 0 auto;
}

/* Panel */
.op-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
}

.op-panel p {
    margin: 0;
    padding: 0 18px 18px 20px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
}

/* Open state */
.op-item.is-open .op-panel {
    max-height: 260px;
}

.op-item.is-open .op-title {
    color: var(--color-primary);
}

.op-item.is-open .op-chev {
    transform: rotate(-135deg);
    border-color: var(--color-primary);
}

/* RIGHT: Mock image */
.operate__mock {
    background: transparent;
    border-radius: 18px;
    overflow: hidden;
}

.operate__mock img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.video-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.video-wrap video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Optional: subtle box-shadow */
.video-wrap video {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.op-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(246, 161, 30, 0.18);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.op-icon img {
    width: 22px;
    height: 22px;
    display: block;
}

/* Responsive */
@media (max-width: 980px) {
    .operate__grid {
        grid-template-columns: 1fr;
    }
    .operate__mock {
        margin-top: 10px;
    }
}

/* ================================
   EVENTS & NEWS
   File: css/components/events.css
=================================== */
.events {
  
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.events__head {
  text-align: center;
  margin-bottom: 20px;
}

.events__title {
  font-size: 30px;
  margin-bottom: 5px;
}

.events__underline {
width: 90px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 999px;
    margin: 16px auto 20px;
}

.events__sub {
  font-size: 16px;
  color: #555;
  line-height: 2;
}

.events__slider {
  position: relative;
}

.events__viewport {
  overflow: hidden;
}

.events__track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  gap: 20px;
}

.event-card {
  flex: 0 0 50%; /* 2 cards per view on desktop */
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

.event-card img {
  width: 100%;
  height: auto;
  display: block;
}

.event-card__content {
  padding: 15px;
}


.event-card__title {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--color-text);
  font-weight: 600;
}

.event-card__meta li {
  font-size: 14px;
  margin-bottom: 5px;
  color: var(--color-text-muted);;
}

.events__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-primary);;
  color: #fff;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.events__nav--left {
  left: 10px;
  z-index: 99;
}

.events__nav--right {
  right: 10px;
}

.events__dots {
  text-align: center;
  margin-top: 15px;
}

.events__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: #ccc;
  margin: 0 5px;
  border: none;
  cursor: pointer;
}

.events__dot--active {
  background:  var(--color-primary);
}

.event-card__btn {
  display: inline-block;
  padding: 8px 20px;
  font-size: 14px;
  color: var(--color-primary);;             /* Orange text */
  border: 1px solid var(--color-primary);;  /* Orange border */
  border-radius: 20px;        /* Rounded pill shape */
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 15px;           /* Spacing from content */
}

.event-card__btn:hover,
.event-card__btn:focus {
  background-color: var(--color-primary);;  /* Orange background on hover */
  color: #fff;                /* White text on hover */
  outline: none;
}


@media (max-width: 768px) {
  .event-card {
    flex: 0 0 100%; /* 1 card per view on mobile */
  }
}

.event-card {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  align-items: center;
  max-width: 800px; /* optional max width */
  margin: 0 auto; /* center horizontally */
}

.event-card__media {
  flex: 1 1 40%;
}

.event-card__media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.event-card__content {
  flex: 1 1 60%;
}

.event-card__tag {
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


.event-card__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  color: #555;
}

.event-card__meta li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Optional icons before each meta item */
.event-card__meta li:nth-child(1)::before {
  content: "📅";
}

.event-card__meta li:nth-child(2)::before {
  content: "📍";
}

.event-card__meta li:nth-child(3)::before {
  content: "⭐";
  color: gold;
}

/* Responsive: stack vertically on smaller screens */
@media (max-width: 768px) {
  .event-card {
    flex-direction: column;
    max-width: 100%;
  }

  .event-card__media,
  .event-card__content {
    flex: 1 1 100%;
  }
}



.industry {
    padding: 80px 0 95px;
    background: #ffffff;
}

.industry__inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 16px;
}

.industry__head {
    text-align: center;
    max-width: 920px;
    margin: 0 auto 48px;
}

.industry__title {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    color: var(--color-text);
}

.industry__underline {
    width: 92px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 999px;
    margin: 16px auto 20px;
}

.industry__sub {
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 2;
    font-weight: 500;
}

/* Logos row */
.industry__logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 70px; /* big empty space like screenshot */
}

.industry__logo {
    display: grid;
    place-items: center;
    min-width: 120px;
}

.industry__logo img {
    max-height: 82px;
    max-width: 190px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    opacity: 0.95;
}

/* Responsive */
@media (max-width: 980px) {
    .industry {
        padding: 68px 0 70px;
    }

    .industry__title {
        font-size: 32px;
    }

    .industry__logos {
        padding-top: 40px;
        gap: 34px;
    }

    .industry__logo img {
        max-height:70px;
        max-width: 170px;
    }
}

/* ================================
   LOGOS MARQUEE
   File: css/components/logos-marquee.css
=================================== */

.logos-marquee {
    padding: 48px 0 40px;
    background: #ffffff;
}

.logos-marquee__inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.logos-marquee__title {
    text-align: center;
    margin: 0 0 28px;
    font-size: 30px;
    font-weight: 600;
    color: var(--color-text);
}

/* Each row viewport */
.logo-row {
    position: relative;
    overflow: hidden;
    padding: 12px 0;
}

/* Gradient edge fade like premium marquee */
.logo-row::before,
.logo-row::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
    z-index: 2;
    pointer-events: none;
}
.logo-row::before {
    left: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}
.logo-row::after {
    right: 0;
    background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

/* Track */
.logo-track {
    display: flex;
    gap: 26px;
    width: max-content;
    will-change: transform;
    animation-duration: 60s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.logo-track:hover {
    animation-play-state: paused; /* pause on hover */
}

/* Cards */
.logo-card {
    width: 230px;
    height: 90px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    display: grid;
    place-items: center;
    padding: 14px;
}

.logo-card img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    display: block;
}

/* Animations: RIGHT and LEFT */
@keyframes marqueeLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
@keyframes marqueeRight {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

.marquee-left {
    animation-name: marqueeLeft;
}
.marquee-right {
    animation-name: marqueeRight;
}

/* Optional: make third row a bit slower */
.logo-track.slow {
    animation-duration: 35s;
}

/* Responsive card sizing */
@media (max-width: 980px) {
    .logos-marquee__title {
        font-size: 26px;
    }
    .logo-card {
        width: 190px;
        height: 82px;
    }
    .logo-card img {
        max-height: 54px;
    }
}
@media (max-width: 520px) {
    .logo-card {
        width: 160px;
        height: 78px;
    }
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
    .logo-track {
        animation: none;
    }
    .logo-row {
        overflow-x: auto;
    }
}

.course-card {
    max-width: 1330px;
    margin: 0 auto;
    padding: 30px 16px; 
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.course-grid-divider {
            width: 100px;
            height: 4px;
            margin: 0 auto 40px auto;
        }

        .course-grid-description {
            text-align: center;
            font-size: 17px;
            color: var(--color-text-muted);
            line-height: 1.6;
            font-weight: 400;
            margin: 0 auto;
            max-width: 850px;
        }

/* Responsive */
@media (max-width: 1024px) {
    .course-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .course-card {
        grid-template-columns: 1fr;
    }
}
/* Wrapper = centered container + grid */


/* Each card */
.course-card-item {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.center-heading {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.center-heading h2 {
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    max-width: 570px;
}

/* Image header */
.course-image {
    width: 100%;
    height: 140px; /* adjust if needed */
    object-fit: cover;
    display: block;
}

.lesson-hours {
    font-size: 14px;
    color:var(--color-text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}



/* ---------- Header ---------- */
.course-card__header {
    min-height: 140px;
    padding: 28px 26px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.course-card__header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 193, 7, 0.95),
        rgba(255, 167, 38, 0.95)
    );
    z-index: 0;
}

.course-card__title {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
    color: #000;
}

.course-card__title span {
    display: block;
    margin-top: 6px;
    font-size: 20px;
    font-weight: 500;
}

/* ---------- Body ---------- */
.course-card__body {
    padding: 17px;
}

.course-image {
    width: 100%;
    height: 100%;
}
.course-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--color-text-muted);
    font-size: 16px;
   margin-bottom: 10px;
    
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.course-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 7px;
    margin-top: 5px;
    
    display: -webkit-box;           /* Required for line-clamp to work */
    -webkit-line-clamp: 4;          /* Limits text to exactly 4 lines */
    -webkit-box-orient: vertical;   /* Defines the orientation of the box */
    overflow: hidden; 
}

/* ---------- Price ---------- */
.course-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.old-price {
    color: var(--color-text-muted);
    text-decoration: line-through;
    font-size: 16px;
}

.new-price {
    color: #006600;
    font-weight: 500;
    font-size: 16px;
}

/* ---------- Actions ---------- */
.course-actions {
    display: flex;
    gap: 14px;
}

.btn-primary {
    color: var(--color-text-inverse);
    padding: 10px 15px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;

    background-color: transparent;
    background-image: linear-gradient(180deg, #f5ba12 0%, #ff9b05 100%);
}

.btn-primary:hover {
    filter: brightness(0.95);
}

.btn-outline {
    border: 1.5px solid #54595F;
    color: #54595F;
    padding: 10px 15px;
    border-radius: 999px;
    font-weight: 400;
    text-decoration: none;
    font-size: 15px;
}

.btn-outline:hover {
    background: var(--color-secondary-50);
}

/* ---------- Grid helper ---------- */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

/* SECTION */
.faq{
  padding: 80px 0 90px;
  background: #fff;
}

.faq__inner{
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
}

.faq__head{
  text-align: center;
  margin-bottom: 34px;
}

.faq__title{
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  color: var(--color-text);
}

.faq__underline{
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 999px;
  margin: 16px auto 0;
}

/* LIST */
.faq__list{
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

/* ITEM */
.faq-item{
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
}

.faq-item__btn{
  width: 100%;
  padding: 18px 18px 18px 22px;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;

}

.faq-item__q{
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}

.faq-item__icon{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #2f2f2f;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: transform .25s ease;
}

/* PANEL (answer) */
.faq-item__panel{
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.faq-item__a{
  padding: 0 22px 18px 22px;
  color: #444;
  font-size: 16px;
  line-height: 1.8;
}

/* OPEN STATE */
.faq-item.is-open .faq-item__panel{
  max-height: 240px;
}

.faq-item.is-open .faq-item__icon{
  transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 980px){
  .faq__title{ font-size: 32px; }
  .faq__list{ gap: 16px; }
  .faq-item__btn{ padding: 16px 14px 16px 16px; }
}


    /* ========= Lawctopus Testimonials (Scoped) ========= */
#reviews{
  --bg: #fbf7f2;
  --card: #ffffff;
  --text: #1b1b1b;
  --muted: #7b7b7b;
  --shadow: 0 12px 30px rgba(0,0,0,.08);
  --radius: 18px;
  --accent: #f6a11e;
  --max: 1100px;
  --gap: 22px;

  padding: 56px 16px 40px;
  background: var(--bg);
  color: var(--text);
}

#reviews *{ box-sizing:border-box; }

/* Allow vertical scroll, but enable horizontal swipe detection */
#reviews {
  touch-action: pan-y;
}
#reviews .lc-stage,
#reviews .lc-grid {
  touch-action: pan-y;
}


#reviews .lc-wrap{
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

#reviews .lc-title{
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 600;
  margin: 0 0 18px;
  letter-spacing: .2px;
}

/* Tabs */
#reviews .lc-tabs{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  margin: 0 0 28px;
  padding: 0;
  list-style:none;
  display: none;
}

#reviews .lc-tab-btn{
  border: 0;
  background: #f7efe4;
  color: #2a2a2a;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease;
  outline: none;
     
}

#reviews .lc-tab-btn:hover{ transform: translateY(-1px); }

#reviews .lc-tab-btn[aria-selected="true"]{
  background: var(--accent);
  color: #1b1b1b;
  font-weight: 700;
}

#reviews .lc-tab-btn:focus-visible{
  box-shadow: 0 0 0 4px rgba(246,161,30,.28);
}

/* Grid + motion */
#reviews .lc-stage{
  position: relative;
  margin: 20px auto;
}

#reviews .lc-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: stretch;
  justify-items: stretch;
  padding: 8px 0;
  transition: opacity .22s ease, transform .22s ease;
  opacity: 1;
  transform: translateY(0);
}

#reviews .lc-grid.is-animating{
  opacity: 0;
  transform: translateY(8px);
}

#reviews .lc-card{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px 20px;
  text-align:left;
  min-height: 210px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

#reviews .lc-quote{
  color: var(--accent);
  font-size: 50px;
  line-height: 55%;
  font-weight: 700;
  margin-bottom: 0px;
  user-select:none;
  font-family: alef;
  
}

#reviews .lc-text{
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.8;
  color: #1f1f1f;
   max-height: 260px;
  overflow-y: auto;
 
}

#reviews .lc-person{
  display:flex;
  gap: 12px;
  align-items:center;
     
}

#reviews .lc-avatar{
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: #d9d9d9;
  flex: 0 0 auto;
  overflow:hidden;
}

#reviews .lc-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

#reviews .lc-name{
  font-size: 16px;
  font-weight: 600;
  margin: 0;
      
}

#reviews .lc-role{
  font-size: 14px;
  color: var(--muted);
  margin: 2px 0 0;
      
}

/* Controls */
#reviews .lc-controls{
  margin-top: 24px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 16px;
}

#reviews .lc-arrow{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor:pointer;
  display:grid;
  place-items:center;
  transition: transform .12s ease, opacity .12s ease;
  color: var(--accent);
}



#reviews .lc-arrow:focus-visible{
  outline:none;
  box-shadow: 0 0 0 4px rgba(246,161,30,.28);
}

#reviews .lc-arrow[disabled]{
  opacity: .35;
  cursor:not-allowed;
  transform:none;
}

#reviews .lc-dots{
  display:flex;
  gap: 8px;
  align-items:center;
}

#reviews .lc-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid #cfcfcf;
  background: transparent;
  padding:0;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

#reviews .lc-dot[aria-current="true"]{
  background: #bdbdbd;
  border-color:#bdbdbd;
  transform: scale(1.05);
}

#reviews .lc-dot:focus-visible{
  outline:none;
  box-shadow: 0 0 0 4px rgba(246,161,30,.28);
}

/* Loading overlay */
#reviews .lc-loading{
  position:absolute;
  inset: 0;
  display:none;
  place-items:center;
  background: rgba(251,247,242,.7);
  border-radius: var(--radius);
  backdrop-filter: blur(2px);
}
#reviews .lc-loading.is-on{ display:grid; }

#reviews .lc-spinner{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 3px solid rgba(0,0,0,.12);
  border-top-color: var(--accent);
  animation: lcSpin 1s linear infinite;
}
@keyframes lcSpin{ to { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 980px){
  #reviews .lc-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  #reviews .lc-card{ min-height: 200px; }
}
@media (max-width: 560px){
  #reviews .lc-grid{ grid-template-columns: 1fr; }
  #reviews .lc-card{ min-height: auto; }
  #reviews .lc-controls{ gap: 10px; }
  
/* Mobile: tabs in one row with horizontal scroll */
@media (max-width: 560px){
  #reviews .lc-tabs{
    flex-wrap: nowrap;          /* ✅ force single row */
    overflow-x: auto;           /* ✅ allow horizontal scroll */
    overflow-y: hidden;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    padding: 0 6px 8px;         /* little breathing space */
    gap: 10px;
    scrollbar-width: none;  
    display: none;/* Firefox hide scrollbar */
  }

  /* Hide scrollbar (Chrome/Safari) */
  #reviews .lc-tabs::-webkit-scrollbar{
    display: none;
  }

  /* Prevent tabs from shrinking */
  #reviews .lc-tab-btn{
    white-space: nowrap;
    flex: 0 0 auto;
  }
  
  #reviews .lc-text{
   max-height: 155px;
}
#reviews .lc-tabs{
  margin: 0 0 5px;

}
}

}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  #reviews .lc-grid{ transition: none; }
  #reviews .lc-spinner{ animation: none; }
  #reviews .lc-tab-btn,
  #reviews .lc-arrow,
  #reviews .lc-dot{ transition:none; }
}

/* SR only */
#reviews .sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* =========================
   Variant: Side Arrows
/* =========================
   Variant: Side arrows – CENTER of cards
   ========================= */
/* Make stage the positioning parent */
/* ===============================
   FIX: Stable vertical centering
   =============================== */

/* Create a fixed visual reference */
#reviews .lc-stage {
  position: relative;
}

/* Use a pseudo center line that never changes */
#reviews.lc--side-arrows .lc-stage::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 0;
  pointer-events: none;
}

/* Center arrows against this stable line */
#reviews.lc--side-arrows .lc-arrow--side {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
  backdrop-filter: blur(6px);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Left & Right placement */
#reviews.lc--side-arrows #lcPrev {
  left: -64px;
}

#reviews.lc--side-arrows #lcNext {
  right: -64px;
}

/* Tablet */
@media (max-width: 980px){
  #reviews.lc--side-arrows #lcPrev { left: -28px; }
  #reviews.lc--side-arrows #lcNext { right: -28px; }
}

/* Mobile */
@media (max-width: 560px){
  #reviews.lc--side-arrows #lcPrev { left: -20px; }
  #reviews.lc--side-arrows #lcNext { right: -20px; }

  #reviews.lc--side-arrows .lc-arrow--side {
    width: 40px;
    height: 40px;
  }
}

/* =========================
   Desktop Slide Animation
   ========================= */

#reviews .lc-grid{
  position: relative;
}

/* Prepare animation */
#reviews .lc-grid.slide-in-next{
  animation: lcSlideInNext 0.4s ease both;
}

#reviews .lc-grid.slide-in-prev{
  animation: lcSlideInPrev 0.4s ease both;
}

@keyframes lcSlideInNext{
  from {
    transform: translateX(60px);
    opacity: 0.6;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes lcSlideInPrev{
  from {
    transform: translateX(-60px);
    opacity: 0.6;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.reviews__sub {
    margin: 0 auto;
    max-width: 860px;
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 2;
    font-weight: 400;
}

.reviews__underline {
    width: 90px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 999px;
    margin: 16px auto 20px;
}

.site-footer {
    background: #3d3b3b;
    color: var(--color-text-inverse);
}

.footer-inner {
    max-width: 1330px;
    margin: 0 auto;
    padding: 60px 16px;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1fr;
    gap: 48px;
}

/* Logo */
.footer-logo img {
    height: 74px;
    width: auto;
    display: block;
    margin-bottom: 22px;
}

.footer-brand {
    padding: 0px 45px 0px 0px;
}

/* Typography */
.footer-heading {
    margin: 0 0 18px;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-text-inverse);
}

.footer-title {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    color: var(--color-text-inverse);
}

/* Contact lines */
.footer-line {
    display: flex;
    gap: 7px;
    align-items: flex-start;
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    line-height: 1.6;
}
.footer-line:hover {
    color: var(--color-primary);
}
.footer-line.no-hover:hover {
    color: rgba(255, 255, 255, 0.92);
}

.fi {
    width: 22px;
    line-height: 1.5;
    opacity: 0.95;
}

/* Separators */
.footer-sep {
    height: 2px;
    width: 220px;
    background: var(--color-primary);
    margin: 24px 0;
    opacity: 0.85;
}

.footer-dashed {
    height: 1px;
    width: 260px;
    border-bottom: 2px dashed var(--color-primary);
    margin: 22px 0 18px;
    opacity: 0.8;
}

/* Useful links */
.footer-links {
    display: grid;
    gap: 14px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 500;
}
.footer-links a:hover {
    color: var(--color-primary);
}

/* Hiring */
.footer-hiring {
    display: inline-block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 800;
    color: var(--color-primary);
}
.footer-hiring:hover {
    filter: brightness(0.98);
    text-decoration: underline;
}

/* Subscribe */
.footer-subscribe {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 22px;
}

.footer-subscribe input {
    flex: 1;
    height: 46px;
    padding: 0 14px;
    border-radius: 4px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--color-text-inverse);
    outline: none;
}
.footer-subscribe input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.footer-subscribe input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-focus-ring);
}

.footer-subscribe button {
    height: 46px;
    padding: 0 10px;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 800;
    background: var(--color-primary);
    color: var(--color-text-inverse);
}
.footer-subscribe button:hover {
    filter: brightness(0.98);
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 14px;
    margin: 22px 0 18px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #ffffff;
    color: #3d3b3b;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.25s ease;
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-btn:hover {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    transform: translateY(-2px);
}

/* Policy links */
.footer-policy {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 0px 6px;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.6;
}
.footer-policy a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
}
.footer-policy a:hover {
    color: var(--color-primary);
}
.footer-policy .dot {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 980px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 46px 16px;
    }
    .footer-sep,
    .footer-dashed {
        width: 100%;
        max-width: 320px;
    }
}


/* =========================
   WhatsApp Floating Widget
========================= */
.waWidget {
  position: fixed;
  left: 22px;
  bottom: 40px;
  z-index: 999999; /* keep above FAQ etc. */
  pointer-events: none; /* enable only when needed via children */
  font-family: inherit;
}

/* Floating button */
.waWidget__fab {
  pointer-events: auto;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;

  background: #f6a11e00;
  /*color: var(--color-text-inverse);*/

  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}

.waWidget__fab:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadowHover);
}

.waWidget__fab img {
  width: 60px;
  height: 60px;
  fill: currentColor;
}

/* Overlay to close on outside click */
.waWidget__overlay {
 pointer-events: none;
}

/* Popup */
.waWidget__popup {
  position: absolute;
  left: 0;
  bottom: 84px;
  width: min(350px, calc(100vw - 44px));
  border-radius: 18px;
  overflow: hidden;

  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadowHover);

  transform: translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

/* Header */
.waWidget__header {
  display: flex;
  align-items: center;
  gap: 20px 12px;
  padding: 14px 14px;
  background: #095E54;
  color: var(--color-text-inverse);
}

.waWidget__avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-secondary-700);
  border: 2px solid rgba(255,255,255,.18);
  flex: 0 0 auto;
}

.waWidget__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.waWidget__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.waWidget__name {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.waWidget__role {
  font-weight: 600;
  font-size: 13px;
  opacity: .9;
}

.waWidget__close {
  margin-left: auto;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.12);
  color: var(--color-text-inverse);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.waWidget__close:hover {
  background: rgba(255,255,255,.18);
}

/* Body */
.waWidget__body {
  position: relative;
  padding: 14px;
  background-image: url("https://www.lawctopuslawschool.com/wp-content/uploads/2024/07/whatsapp-1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.waWidget__body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(230, 221, 212, 0.91); /* #E6DDD4 at 0.91 */
  z-index: 0;
}

/* Keep content above overlay */
.waWidget__msg {
  position: relative;
  z-index: 1;
}

.waWidget__msg {
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: 14px;
  padding: 12px 12px 10px;
  max-width: 78%;
}

.waWidget__msgName {
  font-weight: 800;
  font-size: 13px;
  color: var(--color-text-subtle);
  margin-bottom: 6px;
}

.waWidget__msgText {
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.4;
}

.waWidget__msgTime {
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: right;
}

/* Footer */
.waWidget__footer {
  padding: 12px 14px 14px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-soft);
}

.waWidget__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
 gap: 10px;
  background: #4FCE5D;
  color: var(--color-text-inverse);

  box-shadow: 0 10px 20px var(--brandShadow);
  transition: transform .15s ease, filter .2s ease;
}




.waWidget__ctaIcon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.waWidget__cta:hover {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

/* OPEN STATE */
.waWidget.is-open .waWidget__popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/*.waWidget.is-open .waWidget__overlay {*/
/*  pointer-events: auto;*/
/*}*/

/* Mobile: keep within screen */
@media (max-width: 520px) {
  .waWidget {
    left: 14px;
    bottom: 14px;
  }
  .waWidget__popup {
    bottom: 78px;
  }
}

/* =========================
   AI Floating Button (Right)
========================= */
.aiWidget__fab {
  position: fixed;
  right: 22px;
  bottom: 40px;
  z-index: 999998;

  width: 60px;
  height: 60px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  background: #ffffff00;
  border: 1px solid var(--color-border);

  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .2s ease;

  cursor: pointer;
  display: none;
}

.aiWidget__fab:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadowHover);
}

.aiWidget__fab img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: contain;
}

@media (max-width: 520px) {
.aiWidget__fab {
    right: 14px;
    bottom: 14px;
}
}