/* ═══════════════════════════════════════════════════════════════
   iTrainingExpert Theme — styles.css
   Master stylesheet: design tokens, layout, components, responsive
   Version: 2.0 | Malaysia's #1 Corporate Training Provider
═══════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* ── iTrainingExpert exact brand colors ── */
  --orange:       #e45c00;   /* Primary CTA orange — sharp, punchy */
  --orange-d:     #c44f00;   /* Hover / darker orange */
  --orange-l:     #ff6b00;   /* Lighter accent orange */
  --orange-xs:    #fff2ea;   /* Very light orange tint for backgrounds */
  --orange-sm:    #ffd9bc;   /* Soft orange for subtle highlights */

  /* Neutrals — true blacks, not charcoal */
  --white:        #ffffff;
  --gray-50:      #f7f7f7;
  --gray-100:     #efefef;
  --gray-200:     #e0e0e0;
  --gray-300:     #c8c8c8;
  --gray-400:     #999999;
  --gray-500:     #707070;
  --gray-600:     #4a4a4a;
  --gray-700:     #2e2e2e;
  --gray-800:     #1a1a1a;   /* Near-black for nav/topbar */
  --gray-900:     #000000;   /* Pure pitch black */

  /* Text */
  --text:         #1a1a1a;   /* Near-black body text */
  --text-2:       #4a4a4a;
  --text-3:       #808080;

  /* Typography */
  --ff-h:         'Playfair Display', Georgia, serif;
  --ff-b:         'Inter', system-ui, sans-serif;

  /* Spacing scale */
  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 40px;
  --sp-2xl:64px;
  --sp-3xl:96px;

  /* Radius */
  --rs:  6px;
  --rm: 10px;
  --rl: 16px;
  --rxl:24px;

  /* Elevation */
  --shadow-sm: 0 1px 4px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 36px rgba(0,0,0,.10);
  --shadow-xl: 0 20px 56px rgba(0,0,0,.12);

  /* Motion */
  --ease:  all .25s cubic-bezier(.4,0,.2,1);
  --ease-in: all .2s ease-in;
  --ease-out: all .3s ease-out;

  /* Section padding */
  --sec-pad: 84px 0;
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--ff-b); background: var(--white); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a     { text-decoration: none; color: inherit; }
img   { display: block; max-width: 100%; height: auto; }
ul    { list-style: none; }
button { font-family: var(--ff-b); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--ff-b); }

/* ─── LAYOUT UTILITIES ──────────────────────────────────────── */
.wrap   { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.wrap-sm{ max-width: 760px;  margin: 0 auto; padding: 0 28px; }
.sec    { padding: var(--sec-pad); }
.center { text-align: center; }
.flex   { display: flex; align-items: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }

/* ─── TYPOGRAPHY UTILITIES ───────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 999px; margin-bottom: 12px;
}
.pill::before { content:''; width:5px; height:5px; border-radius:50%; background:var(--orange); flex-shrink:0; }
.pill-or { background:var(--orange-xs); color:var(--orange-d); border:1px solid rgba(228,92,0,.2); }
.pill-wh { background:rgba(255,255,255,.12); color:rgba(255,255,255,.85); border:1px solid rgba(255,255,255,.2); }
.pill-wh::before { background:var(--orange-l); }
.pill-dk { background:rgba(255,255,255,.08); color:rgba(255,255,255,.6); border:1px solid rgba(255,255,255,.12); }
.pill-dk::before { background:var(--orange); }

.h2 {
  font-family: var(--ff-h); font-weight: 700; color: var(--gray-900);
  font-size: clamp(1.75rem, 2.8vw, 2.4rem);
  line-height: 1.2; letter-spacing: -.01em; margin-bottom: 12px;
}
.h2-w  { color: var(--white); }
.h3    { font-family: var(--ff-h); font-size: 1.3rem; font-weight: 700; color: var(--gray-900); line-height: 1.3; }

.bar   { width: 40px; height: 3px; background: var(--orange); border-radius: 2px; margin: 0 0 18px; }
.bar-c { margin: 0 auto 18px; }

.sub   { font-size: 1.0625rem; color: var(--text-2); line-height: 1.78; max-width: 560px; }
.sub-c { margin: 0 auto; }
.sub-w { color: rgba(255,255,255,.7); }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9375rem; font-weight: 600;
  padding: 12px 26px; border-radius: var(--rs);
  border: none; transition: var(--ease); line-height: 1;
  cursor: pointer; white-space: nowrap;
}
.btn i { font-size: .85em; }

.btn-or  { background: var(--orange); color: var(--white); }
.btn-or:hover { background: var(--orange-d); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(228,92,0,.35); }

.btn-dk  { background: var(--gray-900); color: var(--white); }
.btn-dk:hover { background: var(--gray-800); transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.btn-gw  { background: transparent; border: 1.5px solid rgba(255,255,255,.4); color: var(--white); }
.btn-gw:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

.btn-go  { background: transparent; border: 1.5px solid var(--orange); color: var(--orange); }
.btn-go:hover { background: var(--orange); color: var(--white); }

.btn-gb  { background: transparent; border: 1.5px solid var(--gray-300); color: var(--gray-700); }
.btn-gb:hover { border-color: var(--gray-700); background: var(--gray-700); color: var(--white); }

.btn-wh  { background: var(--white); color: var(--orange); font-weight: 700; }
.btn-wh:hover { background: var(--gray-100); transform: translateY(-1px); }

.btn.sm { padding: 9px 20px; font-size: .875rem; }
.btn.lg { padding: 15px 34px; font-size: 1rem; }

/* ─── TOP BAR ─────────────────────────────────────────────────── */
.topbar { background: var(--gray-900); padding: 7px 28px; border-bottom: 1px solid rgba(255,255,255,.06); }
.tb-in  { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tb-l, .tb-r { display: flex; align-items: center; gap: 18px; }
.tb-l a, .tb-r a {
  font-size: .78rem; color: rgba(255,255,255,.9);
  transition: opacity .2s; display: flex; align-items: center; gap: 6px;
}
.tb-l a:hover, .tb-r a:hover { opacity: .75; }
.tb-r .tb-social { display: flex; gap: 10px; }
.tb-r .tb-social a { font-size: .85rem; }

/* ─── NAVIGATION ─────────────────────────────────────────────── */
nav {
  background: var(--gray-900);
  position: sticky; top: 0; z-index: 300;
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.nav-in {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; height: 66px;
}
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a, .nav-links > .has-mega > a {
  font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.92);
  padding: 8px 12px; border-radius: var(--rs); transition: var(--ease);
}
.nav-links > a:hover, .nav-links > .has-mega > a:hover { color: var(--orange); background: rgba(255,255,255,.06); }

/* Mega dropdown */
.has-mega { position: relative; }
.has-mega > a::after { content: ' ▾'; font-size: .6rem; opacity: .7; }
.mega {
  position: absolute; top: calc(100% + 4px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--rl);
  padding: 18px; width: 640px; box-shadow: var(--shadow-xl);
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.has-mega:hover .mega { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.mega a {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 500; color: var(--gray-600);
  padding: 8px 10px; border-radius: var(--rs); transition: var(--ease);
}
.mega a:hover { color: var(--orange); background: var(--orange-xs); }
.mega a .mega-icon { color: var(--orange); font-size: .85rem; width: 16px; text-align: center; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; border-radius: var(--rs); transition: background .2s;
}
.hamburger:hover { background: rgba(255,255,255,.15); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mob-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gray-900); z-index: 400; padding: 80px 28px 40px;
  flex-direction: column; gap: 0; overflow-y: auto;
}
.mob-nav.open { display: flex; }
.mob-nav-close {
  position: absolute; top: 18px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  cursor: pointer; transition: background .2s;
}
.mob-nav-close:hover { background: var(--orange); }
.mob-nav .mob-logo { margin-bottom: 32px; }
.mob-nav .mob-logo img { height: 36px; }
.mob-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 1.05rem; font-weight: 600; color: rgba(255,255,255,.85);
  transition: color .2s; cursor: pointer;
}
.mob-link:hover { color: var(--orange); }
.mob-link i { font-size: .7rem; opacity: .5; }
.mob-sub { display: none; flex-direction: column; gap: 0; padding: 8px 0 8px 16px; }
.mob-sub.open { display: flex; }
.mob-sub a {
  padding: 9px 0; font-size: .9rem; color: rgba(255,255,255,.55);
  border-bottom: 1px solid rgba(255,255,255,.04); transition: color .2s;
}
.mob-sub a:hover { color: var(--orange); }
.mob-cta { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }

/* ─── HERO ────────────────────────────────────────────────────── */
.hero {
  background: #000000;
  padding: 90px 28px 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 55%;
  background: radial-gradient(ellipse at 70% 40%, rgba(228,92,0,.10) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--orange), transparent);
  opacity: .5;
}
.hero-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(228,92,0,.12); border: 1px solid rgba(228,92,0,.3);
  color: var(--orange-l); padding: 6px 15px; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 22px;
}
.hero-badge em { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); display: block; font-style: normal; }
.hero-title {
  font-family: var(--ff-h); font-size: clamp(2.2rem, 4.5vw, 3.75rem);
  font-weight: 700; color: var(--white); line-height: 1.12; letter-spacing: -.01em; margin-bottom: 20px;
}
.hero-title span { color: var(--orange); }
.hero-desc { font-size: 1.0625rem; color: rgba(255,255,255,.62); line-height: 1.82; max-width: 470px; margin-bottom: 34px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.hs-n { font-family: var(--ff-h); font-size: 2rem; font-weight: 700; color: var(--white); line-height: 1; display: block; }
.hs-n em { color: var(--orange); font-style: normal; }
.hs-l { font-size: .78rem; color: rgba(255,255,255,.42); margin-top: 4px; }
.hero-right { display: flex; flex-direction: column; gap: 14px; }

/* Calendar card */
.cal-card {
  background: rgba(255,255,255,.06); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--rxl); padding: 28px;
  transition: var(--ease);
}
.cal-card:hover { border-color: rgba(228,92,0,.35); }
.cal-top { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.cal-ico { width: 44px; height: 44px; border-radius: 10px; background: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--white); flex-shrink: 0; }
.cal-top h3 { font-family: var(--ff-h); font-size: 1.05rem; font-weight: 700; color: var(--white); line-height: 1.3; }
.cal-card p { font-size: .875rem; color: rgba(255,255,255,.5); margin-bottom: 16px; line-height: 1.65; }
.cal-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.chip { background: rgba(228,92,0,.12); border: 1px solid rgba(228,92,0,.25); color: var(--orange-l); padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; }
.cal-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.mini-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--rm); padding: 16px 18px; text-align: center; transition: var(--ease);
}
.mini:hover { border-color: rgba(228,92,0,.3); background: rgba(228,92,0,.07); }
.mini .n { font-family: var(--ff-h); font-size: 1.5rem; font-weight: 700; color: var(--orange); display: block; line-height: 1; }
.mini .l { font-size: .73rem; color: rgba(255,255,255,.42); margin-top: 4px; }

/* ─── COURSE CARDS ────────────────────────────────────────────── */
.cc {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--rxl);
  overflow: hidden; display: flex; flex-direction: column; transition: var(--ease);
}
.cc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gray-300); }
.cc-img { height: 186px; overflow: hidden; position: relative; background: var(--gray-100); flex-shrink: 0; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.cc:hover .cc-img img { transform: scale(1.05); }
.rib {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 11px; border-radius: 999px;
  font-size: .67rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.r-or { background: var(--orange); color: var(--white); }
.r-dk { background: var(--gray-900); color: var(--orange-l); }
.r-bl { background: #1e3d6e; color: #9ec5ff; }
.r-gn { background: #174a17; color: #82d682; }
.r-rd { background: #5c0a0a; color: #ffaaaa; }
.hrdc-badge {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(20,20,20,.75); color: var(--orange-l);
  font-size: .67rem; font-weight: 700; padding: 3px 9px;
  border-radius: 4px; border: 1px solid rgba(228,92,0,.3);
}
.cc-body { padding: 18px 18px 12px; flex: 1; }
.cc-body h4 { font-family: var(--ff-h); font-size: .95rem; font-weight: 700; color: var(--gray-900); line-height: 1.38; margin-bottom: 7px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-body p  { font-size: .83rem; color: var(--text-2); line-height: 1.68; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cc-meta { padding: 10px 18px; border-top: 1px solid var(--gray-100); font-size: .78rem; color: var(--text-2); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px; }
.cc-meta strong { color: var(--gray-900); }
.seats { color: #c0392b; font-weight: 600; }
.cc-foot { padding: 12px 18px; background: var(--gray-50); border-top: 1px solid var(--gray-100); }
.cc-btn { display: block; text-align: center; background: var(--gray-900); color: var(--white); padding: 10px; border-radius: var(--rs); font-size: .845rem; font-weight: 600; transition: var(--ease); }
.cc-btn:hover { background: var(--orange); }

/* Latest class cards (lc) */
.lc { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--rxl); overflow: hidden; display: flex; flex-direction: column; transition: var(--ease); }
.lc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gray-300); }
.lc-img { height: 190px; overflow: hidden; position: relative; flex-shrink: 0; background: var(--gray-100); }
.lc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.lc:hover .lc-img img { transform: scale(1.05); }
.lc-body { padding: 18px 20px 12px; flex: 1; }
.lc-body h4 { font-family: var(--ff-h); font-size: .95rem; font-weight: 700; color: var(--gray-900); line-height: 1.38; margin-bottom: 7px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lc-body p  { font-size: .83rem; color: var(--text-2); line-height: 1.68; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lc-meta { padding: 10px 20px; border-top: 1px solid var(--gray-100); font-size: .78rem; color: var(--text-3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; }
.lc-meta strong { color: var(--gray-800); }
.lc-foot { padding: 12px 20px; background: var(--gray-50); border-top: 1px solid var(--gray-100); }
.lc-btn { display: block; text-align: center; background: var(--gray-900); color: var(--white); padding: 10px; border-radius: var(--rs); font-size: .845rem; font-weight: 600; transition: var(--ease); }
.lc-btn:hover { background: var(--orange); }

/* ─── TRAINING FORMATS ───────────────────────────────────────── */
.fmc {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--rxl);
  padding: 42px 30px 36px; text-align: center; position: relative; overflow: hidden;
  transition: var(--ease); cursor: pointer;
}
.fmc:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(228,92,0,.25); }
.fmc::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.fmc:hover::after { transform: scaleX(1); }
.fmc-ico { width: 72px; height: 72px; border-radius: 18px; background: var(--gray-900); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; overflow: hidden; transition: var(--ease); }
.fmc:hover .fmc-ico { background: var(--orange); transform: scale(1.05) rotate(-3deg); }
.fmc-ico img { width: 40px; height: 40px; object-fit: contain; filter: brightness(0) invert(1); }
.fmc h3 { font-family: var(--ff-h); font-size: 1.2rem; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.fmc > p { font-size: .9375rem; color: var(--text-2); line-height: 1.72; margin-bottom: 16px; }
.fmc ul { text-align: left; display: flex; flex-direction: column; gap: 8px; }
.fmc ul li { font-size: .875rem; color: var(--text-2); display: flex; align-items: flex-start; gap: 8px; }
.fmc ul li::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; }
.fmt-cta {
  margin-top: 40px; background: var(--gray-900); border-radius: var(--rxl);
  padding: 34px 42px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.fmt-cta h4 { font-family: var(--ff-h); font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.fmt-cta p  { color: rgba(255,255,255,.5); font-size: .9375rem; }

/* ─── AFFILIATION ─────────────────────────────────────────────── */
.aff-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 44px; }
.aff-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--rxl); padding: 32px 24px; display: flex; align-items: center; justify-content: center; min-height: 120px; transition: var(--ease); }
.aff-card:hover { border-color: rgba(228,92,0,.3); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.aff-card img { max-height: 70px; max-width: 140px; object-fit: contain; }

/* ─── TESTIMONIALS ───────────────────────────────────────────── */
.tes-sec {
  background: linear-gradient(135deg, #000000 0%, #000000 50%, #000000 100%);
  padding: 88px 0; position: relative; overflow: hidden;
}
.tes-sec::before {
  content: '\201C'; font-family: var(--ff-h); font-size: 320px; font-weight: 700;
  color: rgba(228,92,0,.06); position: absolute; top: -70px; left: 2%;
  line-height: 1; pointer-events: none; user-select: none;
}
.tes-sec::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(228,92,0,.4), transparent); }
.tes-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 24px; }
.tes-rating { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--rm); padding: 20px 24px; display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.tes-big { font-family: var(--ff-h); font-size: 3rem; font-weight: 700; color: var(--white); line-height: 1; }
.tes-stars { color: var(--orange); font-size: 1rem; margin-bottom: 4px; letter-spacing: 2px; }
.tes-count { font-size: .77rem; color: rgba(255,255,255,.4); }
.tes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.tc { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--rl); padding: 26px; transition: var(--ease); }
.tc:hover { border-color: rgba(228,92,0,.3); background: rgba(255,255,255,.08); }
.tc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.tc-av   { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--ff-h); font-size: .9rem; font-weight: 700; color: var(--white); flex-shrink: 0; }
.tc-name { font-family: var(--ff-h); font-size: .9375rem; font-weight: 700; color: var(--white); }
.tc-role { font-size: .76rem; color: rgba(255,255,255,.42); }
.tc-stars { color: var(--orange); font-size: .82rem; letter-spacing: 2px; margin-bottom: 10px; }
.tc-text  { font-size: .875rem; color: rgba(255,255,255,.62); line-height: 1.78; }

/* ─── LOCATIONS ──────────────────────────────────────────────── */
.loc-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; margin-top: 44px; }
.loc-card { border-radius: var(--rxl); overflow: hidden; height: 220px; position: relative; cursor: pointer; transition: var(--ease); }
.loc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.loc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.loc-card:hover img { transform: scale(1.07); }
.loc-ov  { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,10,2,.88) 0%, transparent 55%); }
.loc-lbl { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px 15px 13px; }
.loc-code { font-size: .65rem; color: rgba(255,255,255,.6); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; margin-bottom: 2px; }
.loc-name { font-family: var(--ff-h); font-size: 1rem; color: var(--white); font-weight: 700; line-height: 1.2; }
.loc-arr  { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; background: transparent; display: flex; align-items: center; justify-content: center; color: transparent; font-size: .75rem; transition: var(--ease); }
.loc-card:hover .loc-arr { background: var(--orange); color: var(--white); }

/* ─── CLIENTS ─────────────────────────────────────────────────── */
.cli-eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); text-align: center; margin-bottom: 7px; }
.cli-title   { font-family: var(--ff-h); font-size: 1.5rem; font-weight: 700; color: var(--gray-900); text-align: center; margin-bottom: 30px; }
.cli-grid    { display: grid; grid-template-columns: repeat(10,1fr); border: 1px solid var(--gray-200); border-radius: var(--rm); overflow: hidden; }
.cli-box     { display: flex; align-items: center; justify-content: center; padding: 17px 12px; border-right: 1px solid var(--gray-200); min-height: 66px; transition: background .2s; }
.cli-box:last-child, .cli-box:nth-child(10n) { border-right: none; }
.cli-box:hover { background: var(--gray-50); }
.cli-box img { max-height: 34px; max-width: 82px; object-fit: contain; filter: grayscale(100%) opacity(.32); transition: filter .3s; }
.cli-box:hover img { filter: grayscale(0%) opacity(1); }

/* ─── EXPERTISE ──────────────────────────────────────────────── */
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.exp-stats { display: flex; gap: 30px; margin: 24px 0 26px; flex-wrap: wrap; }
.exp-stat .n { font-family: var(--ff-h); font-size: 1.875rem; font-weight: 700; color: var(--gray-900); display: block; line-height: 1; }
.exp-stat .n em { color: var(--orange); font-style: normal; }
.exp-stat .l { font-size: .75rem; color: var(--text-3); margin-top: 3px; font-weight: 500; }
.exp-p       { font-size: 1rem; color: var(--text-2); line-height: 1.85; margin-bottom: 24px; }
.exp-list    { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.exp-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .9375rem; color: var(--text); }
.chk         { width: 20px; height: 20px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.chk i       { font-size: .58rem; color: var(--white); }
.exp-img     { border-radius: var(--rxl); overflow: hidden; aspect-ratio: 4/3; position: relative; background: var(--gray-200); box-shadow: var(--shadow-xl); }
.exp-img img { width: 100%; height: 100%; object-fit: cover; }
.exp-badge   { position: absolute; bottom: 22px; left: 22px; background: var(--orange); color: var(--white); padding: 14px 20px; border-radius: var(--rm); box-shadow: 0 4px 16px rgba(228,92,0,.4); }
.exp-badge .n { font-family: var(--ff-h); font-size: 1.75rem; font-weight: 700; display: block; line-height: 1; }
.exp-badge .l { font-size: .77rem; font-weight: 600; opacity: .9; margin-top: 2px; display: block; }

/* ─── SUBSCRIBE ──────────────────────────────────────────────── */
.sub-sec { background: var(--orange); padding: 64px 0; position: relative; overflow: hidden; }
.sub-sec::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0px, rgba(255,255,255,.03) 1px, transparent 1px, transparent 10px); pointer-events: none; }
.sub-in { max-width: 540px; margin: 0 auto; text-align: center; position: relative; }
.sub-in h2 { font-family: var(--ff-h); font-size: 1.75rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.sub-in p  { color: rgba(255,255,255,.82); font-size: .9375rem; margin-bottom: 26px; line-height: 1.72; }
.sub-form  { display: flex; gap: 10px; flex-wrap: wrap; }
.sub-form input { flex: 1; min-width: 200px; background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.35); color: var(--white); padding: 12px 18px; border-radius: var(--rs); font-size: .9375rem; outline: none; transition: border-color .2s; }
.sub-form input::placeholder { color: rgba(255,255,255,.55); }
.sub-form input:focus { border-color: var(--white); background: rgba(255,255,255,.22); }

/* ─── CTA STRIP ──────────────────────────────────────────────── */
.cta { background: var(--gray-900); padding: 72px 28px; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(228,92,0,.1) 0%, transparent 65%); pointer-events: none; }
.cta h2 { font-family: var(--ff-h); font-size: clamp(1.75rem,3vw,2.5rem); font-weight: 700; color: var(--white); margin-bottom: 12px; position: relative; }
.cta p  { font-size: 1.0625rem; color: rgba(255,255,255,.6); margin-bottom: 32px; position: relative; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer { background: var(--gray-900); padding: 68px 28px 0; }
.foot-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 52px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-logo img { height: 40px; margin-bottom: 16px; }
.foot-desc { font-size: .875rem; color: rgba(255,255,255,.4); line-height: 1.82; margin-bottom: 18px; max-width: 270px; }
.foot-contact a { display: flex; align-items: center; gap: 8px; font-size: .855rem; color: rgba(255,255,255,.5); margin-bottom: 9px; transition: color .2s; }
.foot-contact a:hover { color: var(--orange); }
.foot-ico { color: var(--orange); width: 14px; }
.foot-col h5 { font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.5); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.foot-col ul { display: flex; flex-direction: column; gap: 9px; }
.foot-col ul li a { font-size: .855rem; color: rgba(255,255,255,.4); transition: color .2s; }
.foot-col ul li a:hover { color: var(--orange); }
.foot-bottom { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; flex-wrap: wrap; gap: 14px; }
.foot-copy { font-size: .79rem; color: rgba(255,255,255,.28); }
.foot-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-nav a { font-size: .79rem; color: rgba(255,255,255,.32); transition: color .2s; }
.foot-nav a:hover { color: var(--orange); }
.foot-soc { display: flex; gap: 9px; }
.soc { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); font-size: .8rem; transition: var(--ease); }
.soc:hover { border-color: var(--orange); color: var(--orange); }

/* ─── PAGE HERO (inner pages) ───────────────────────────────── */
.page-hero {
  background: #000000;
  padding: 72px 28px 60px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--orange), transparent); opacity: .4; }
.page-hero h1 { font-family: var(--ff-h); font-size: clamp(2rem,4vw,3rem); font-weight: 700; color: var(--white); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,.62); font-size: 1.0625rem; max-width: 520px; margin: 0 auto; line-height: 1.72; }
.breadcrumb   { display: flex; align-items: center; gap: 8px; justify-content: center; margin-bottom: 20px; font-size: .8rem; color: rgba(255,255,255,.4); }
.breadcrumb a { color: rgba(255,255,255,.55); transition: color .2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb i { font-size: .6rem; }

/* ─── BLOG CARDS ─────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.blog-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--rxl); overflow: hidden; transition: var(--ease); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-img { height: 200px; overflow: hidden; position: relative; background: var(--gray-100); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-cat { position: absolute; top: 12px; left: 12px; background: var(--orange); color: var(--white); padding: 3px 10px; border-radius: 999px; font-size: .67rem; font-weight: 700; text-transform: uppercase; }
.blog-body { padding: 22px; }
.blog-meta { font-size: .77rem; color: var(--text-3); margin-bottom: 10px; display: flex; gap: 14px; flex-wrap: wrap; }
.blog-meta span { display: flex; align-items: center; gap: 5px; }
.blog-body h3 { font-family: var(--ff-h); font-size: 1.05rem; font-weight: 700; color: var(--gray-900); line-height: 1.38; margin-bottom: 9px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-body p  { font-size: .875rem; color: var(--text-2); line-height: 1.72; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.blog-read { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--orange); transition: gap .2s; }
.blog-read:hover { gap: 10px; }

/* ─── CONTACT FORM ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.cform { display: flex; flex-direction: column; gap: 16px; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--gray-700); }
.field input, .field textarea, .field select {
  padding: 11px 15px; border: 1.5px solid var(--gray-200); border-radius: var(--rs);
  font-size: .9375rem; color: var(--text); background: var(--white);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--orange); box-shadow: 0 0 0 3px rgba(228,92,0,.1);
}
.field textarea { min-height: 120px; resize: vertical; }
.cinfo { display: flex; flex-direction: column; gap: 20px; }
.cinfo-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--gray-50); border-radius: var(--rl); border: 1px solid var(--gray-200); transition: var(--ease); }
.cinfo-item:hover { border-color: rgba(228,92,0,.3); }
.cinfo-ico { width: 44px; height: 44px; background: var(--orange); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1rem; flex-shrink: 0; }
.cinfo-text h4 { font-weight: 700; font-size: .9375rem; color: var(--gray-900); margin-bottom: 4px; }
.cinfo-text p { font-size: .875rem; color: var(--text-2); line-height: 1.6; }
.cinfo-text a { color: var(--orange); }

/* ─── ABOUT / TEAM ───────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.team-card { text-align: center; }
.team-img { width: 100%; aspect-ratio: 1; border-radius: var(--rxl); overflow: hidden; background: var(--gray-200); margin-bottom: 14px; transition: var(--ease); }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.team-card:hover .team-img { box-shadow: var(--shadow-lg); }
.team-card:hover .team-img img { transform: scale(1.05); }
.team-name { font-family: var(--ff-h); font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 3px; }
.team-role { font-size: .82rem; color: var(--orange); font-weight: 600; }

/* ─── STATS BAR ──────────────────────────────────────────────── */
.stats-bar { background: var(--orange); padding: 40px 0; }
.stats-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat-item .n { font-family: var(--ff-h); font-size: 2.2rem; font-weight: 700; color: var(--white); display: block; line-height: 1; }
.stat-item .l { font-size: .82rem; color: rgba(255,255,255,.7); margin-top: 5px; }

/* ─── COURSE FILTER ──────────────────────────────────────────── */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; align-items: center; }
.filter-btn { padding: 8px 18px; border-radius: 999px; font-size: .85rem; font-weight: 600; border: 1.5px solid var(--gray-300); color: var(--gray-600); background: var(--white); cursor: pointer; transition: var(--ease); }
.filter-btn:hover, .filter-btn.active { background: var(--orange); border-color: var(--orange); color: var(--white); }
.search-bar { display: flex; gap: 10px; margin-bottom: 32px; }
.search-bar input { flex: 1; padding: 11px 18px; border: 1.5px solid var(--gray-200); border-radius: var(--rs); font-size: .9375rem; outline: none; transition: border-color .2s; }
.search-bar input:focus { border-color: var(--orange); }

/* ─── SCROLL REVEAL ──────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .0s; }
.d2 { transition-delay: .1s; }
.d3 { transition-delay: .2s; }
.d4 { transition-delay: .3s; }
.d5 { transition-delay: .4s; }

/* ─── CHATBOT ─────────────────────────────────────────────────── */
.chat-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  box-shadow: 0 4px 20px rgba(228,92,0,.45); cursor: pointer;
  transition: var(--ease); border: none;
}
.chat-fab:hover { background: var(--orange-d); transform: scale(1.08); }
.chat-fab .chat-pulse {
  position: absolute; top: 4px; right: 4px;
  width: 10px; height: 10px; background: #2ecc71; border-radius: 50%;
  border: 2px solid var(--white);
}
.chat-window {
  position: fixed; bottom: 100px; right: 28px; z-index: 500;
  width: 360px; max-height: 520px;
  background: var(--white); border-radius: var(--rxl);
  box-shadow: var(--shadow-xl); border: 1px solid var(--gray-200);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(.97); pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.chat-window.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
.chat-head { background: var(--orange); padding: 16px 20px; display: flex; align-items: center; gap: 12px; }
.chat-head-av { width: 38px; height: 38px; background: rgba(255,255,255,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--white); }
.chat-head-info { flex: 1; }
.chat-head-name { font-weight: 700; color: var(--white); font-size: .9375rem; }
.chat-head-status { font-size: .73rem; color: rgba(255,255,255,.72); }
.chat-head-close { color: rgba(255,255,255,.7); cursor: pointer; font-size: 1rem; transition: color .2s; }
.chat-head-close:hover { color: var(--white); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: .875rem; line-height: 1.6; }
.chat-msg.bot { background: var(--gray-100); color: var(--text); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg.user { background: var(--orange); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-msg.typing { background: var(--gray-100); align-self: flex-start; padding: 12px 16px; }
.chat-msg.typing span { display: inline-block; width: 6px; height: 6px; background: var(--gray-400); border-radius: 50%; margin: 0 2px; animation: blink 1.2s infinite; }
.chat-msg.typing span:nth-child(2) { animation-delay: .2s; }
.chat-msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,80%,100%{transform:scale(0.6);opacity:.4} 40%{transform:scale(1);opacity:1} }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.chat-qbtn { background: var(--orange-xs); border: 1px solid rgba(228,92,0,.25); color: var(--orange-d); padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; cursor: pointer; transition: var(--ease); }
.chat-qbtn:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }
.chat-foot { padding: 12px 16px; border-top: 1px solid var(--gray-200); display: flex; gap: 8px; }
.chat-foot input { flex: 1; border: 1.5px solid var(--gray-200); border-radius: 999px; padding: 8px 16px; font-size: .875rem; outline: none; transition: border-color .2s; }
.chat-foot input:focus { border-color: var(--orange); }
.chat-send { width: 36px; height: 36px; background: var(--orange); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .85rem; cursor: pointer; border: none; transition: var(--ease); flex-shrink: 0; }
.chat-send:hover { background: var(--orange-d); }

/* ─── ADMIN PANEL STYLES ─────────────────────────────────────── */
.admin-body { background: var(--gray-50); }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px; background: var(--gray-900); flex-shrink: 0;
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-logo { padding: 24px 22px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-logo img { height: 32px; }
.admin-logo span { display: block; font-size: .7rem; color: rgba(255,255,255,.3); margin-top: 4px; letter-spacing: .06em; }
.admin-menu { padding: 16px 12px; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.admin-menu-label { font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.25); padding: 12px 10px 6px; }
.admin-link {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--rs);
  font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.55); transition: var(--ease); cursor: pointer;
}
.admin-link:hover, .admin-link.active { background: rgba(255,255,255,.08); color: var(--white); }
.admin-link.active i { color: var(--orange); }
.admin-link i { width: 18px; text-align: center; font-size: .9rem; }
.admin-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.admin-topbar { background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 14px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-topbar h1 { font-family: var(--ff-h); font-size: 1.35rem; font-weight: 700; color: var(--gray-900); }
.admin-content { flex: 1; padding: 28px; overflow-y: auto; }

/* Admin panels */
.panel { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--rl); overflow: hidden; margin-bottom: 24px; }
.panel-head { padding: 18px 22px; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: space-between; }
.panel-head h3 { font-family: var(--ff-h); font-size: 1.05rem; font-weight: 700; color: var(--gray-900); }
.panel-body { padding: 22px; }
.panel-foot { padding: 14px 22px; background: var(--gray-50); border-top: 1px solid var(--gray-100); }

/* Editable element highlight */
/* edit hover effect removed */

/* Admin modal */
.admin-modal-bg { display:none; position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:800; align-items:center; justify-content:center; }
.admin-modal-bg.open { display:flex; }
.admin-modal { background:var(--white); border-radius:var(--rxl); padding:32px; width:90%; max-width:520px; max-height:80vh; overflow-y:auto; box-shadow:var(--shadow-xl); }
.admin-modal h3 { font-family:var(--ff-h); font-size:1.2rem; font-weight:700; color:var(--gray-900); margin-bottom:20px; }
.modal-field { display:flex; flex-direction:column; gap:5px; margin-bottom:14px; }
.modal-field label { font-size:.83rem; font-weight:600; color:var(--gray-700); }
.modal-field input, .modal-field textarea, .modal-field select { padding:10px 13px; border:1.5px solid var(--gray-200); border-radius:var(--rs); font-size:.9rem; outline:none; transition:border-color .2s; }
.modal-field input:focus, .modal-field textarea:focus, .modal-field select:focus { border-color:var(--orange); }
.modal-field textarea { min-height:90px; resize:vertical; }
.modal-actions { display:flex; gap:10px; justify-content:flex-end; margin-top:22px; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-right { display: none; }
  .exp-grid { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .courses-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cli-grid { grid-template-columns: repeat(6,1fr); }
  .cli-box:nth-child(10n) { border-right: 1px solid var(--gray-200); }
  .cli-box:nth-child(6n) { border-right: none; }
  .loc-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 768px) {
  :root { --sec-pad: 60px 0; }
  .nav-links, .topbar .tb-l { display: none; }
  .hamburger { display: flex; }
  .topbar .tb-r .tb-social { display: none; }
  .hero { padding: 60px 20px 52px; }
  .hero-title { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .hero-stats { gap: 20px; }
  .courses-grid { grid-template-columns: 1fr; }
  .lat-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .tes-grid { grid-template-columns: 1fr; }
  .fmt-grid { grid-template-columns: 1fr; }
  .aff-grid { grid-template-columns: repeat(2,1fr); }
  .loc-grid { grid-template-columns: repeat(2,1fr); }
  .cli-grid { grid-template-columns: repeat(4,1fr); }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-bottom { flex-direction: column; text-align: center; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .cform-row { grid-template-columns: 1fr; }
  .fmt-cta { flex-direction: column; text-align: center; }
  .chat-window { width: calc(100vw - 40px); right: 20px; }
  .chat-fab { bottom: 20px; right: 20px; }
  .admin-sidebar { display: none; }
  .pop-head { flex-direction: column; align-items: flex-start; }
  .tes-head { flex-direction: column; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .btn { padding: 11px 20px; font-size: .875rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; justify-content: center; }
  .cal-btns { flex-direction: column; }
  .loc-grid { grid-template-columns: 1fr 1fr; }
  .aff-grid { grid-template-columns: 1fr 1fr; }
  .cli-grid { grid-template-columns: repeat(3,1fr); }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .sub-form { flex-direction: column; }
  .sub-form input { min-width: unset; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── BLOG PAGE RESPONSIVE ───────────────────────────────────── */

/* Hero */
.blog-hero { padding: 68px 28px 56px; }

/* Main content section */
.blog-main-sec { padding: 80px 0; }

/* Grid header row: title left, search right */
.blog-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

/* Featured post: two-column side-by-side */
.blog-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.blog-featured-text { padding: 48px 40px; }
.blog-featured-img  { min-height: 360px; }

/* Blog cards grid: 3 columns on desktop */
.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
  .blog-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-featured-text { padding: 36px 30px; }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  .blog-hero { padding: 48px 20px 40px; }
  .blog-main-sec { padding: 48px 0; }

  /* Featured post stacks vertically: image on top, text below */
  .blog-featured-card {
    grid-template-columns: 1fr;
  }
  .blog-featured-img {
    min-height: 220px;
    order: -1; /* image first on mobile */
  }
  .blog-featured-text { padding: 28px 22px; }

  /* Blog grid goes single column */
  .blog-cards-grid {
    grid-template-columns: 1fr;
  }

  /* Grid header stacks */
  .blog-grid-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Small mobile (≤ 480px) ── */
@media (max-width: 480px) {
  .blog-hero { padding: 36px 16px 32px; }
  .blog-main-sec { padding: 36px 0; }
  .blog-featured-img { min-height: 180px; }
}

/* ─── PRINT ──────────────────────────────────────────────────── */
@media print {
  .topbar, nav, .chat-fab, .chat-window, footer { display: none !important; }
  body { color: #000; }
}

/* ─── NAV CTA BUTTON FIX ──────────────────────────────────────── */
/* "Get In-House Quote" on pitch-black nav — white bg, orange text, always visible */
nav .btn-wh {
  background: var(--white);
  color: var(--orange);
  font-weight: 700;
  border: 2px solid var(--white);
  padding: 8px 16px;
}
nav .btn-wh:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  transform: none;
}

/* ─── SUBSCRIBE INPUT — lighter on orange bg ──────────────────── */
.sub-sec .sub-form input {
  background: rgba(255,255,255,.92);
  border: 2px solid rgba(255,255,255,.6);
  color: var(--gray-900);
}
.sub-sec .sub-form input::placeholder { color: var(--gray-500); }
.sub-sec .sub-form input:focus {
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255,255,255,.3);
}

/* ─── GOOGLE REVIEW BADGE ─────────────────────────────────────── */
.g-review-bar {
  background: var(--gray-900);
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 10px 0;
}
.g-review-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.g-review-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.g-badge {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--rm); padding: 8px 16px;
}
.g-badge-logo { font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.6); letter-spacing: .04em; }
.g-badge-score { font-family: var(--ff-h); font-size: 1.4rem; font-weight: 700; color: var(--white); line-height: 1; }
.g-badge-stars { color: #fbbc04; font-size: .85rem; letter-spacing: 1px; }
.g-badge-count { font-size: .72rem; color: rgba(255,255,255,.4); margin-top: 1px; }
.g-review-right { display: flex; align-items: center; gap: 16px; }
.g-soc-link {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: .85rem; transition: var(--ease);
}
.g-soc-link:hover { border-color: var(--orange); color: var(--orange); background: rgba(228,92,0,.1); }
.g-divider { width: 1px; height: 20px; background: rgba(255,255,255,.1); }

/* ─── SOCIAL PROOF STRIP ──────────────────────────────────────── */
.social-proof-sec { background: var(--white); border-bottom: 1px solid var(--gray-100); padding: 20px 0; }
.sp-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }
.sp-item { display: flex; align-items: center; gap: 10px; }
.sp-ico { font-size: 1.1rem; color: var(--orange); }
.sp-text strong { display: block; font-size: .875rem; font-weight: 700; color: var(--gray-900); }
.sp-text span { font-size: .78rem; color: var(--text-3); }
.sp-sep { width: 1px; height: 32px; background: var(--gray-200); }

/* ─── MOBILE HOMEPAGE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .g-review-inner { justify-content: center; }
  .g-review-right { display: none; }
  .sp-sep { display: none; }
  .sp-inner { gap: 16px; }
}