/* ==========================================================================
   Amrix Computer Institute — Global Stylesheet
   Modern, professional, conversion-focused. Mobile-first responsive.
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --primary: #0e7490;
  --primary-dark: #155e75;
  --primary-light: #06b6d4;
  --primary-50: #ecfeff;
  --primary-100: #cffafe;
  --accent: #16a34a;
  --accent-dark: #15803d;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --dark: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --amber: #f59e0b;

  --font-head: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.08);
  --shadow: 0 4px 6px -1px rgba(15,23,42,.08), 0 2px 4px -2px rgba(15,23,42,.06);
  --shadow-lg: 0 20px 40px -12px rgba(15,23,42,.18);
  --shadow-xl: 0 30px 60px -15px rgba(14,116,144,.28);
  --header-h: 72px;
  --mobile-cta-h: 0px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--dark); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
:focus-visible { outline: 3px solid var(--primary-light); outline-offset: 2px; border-radius: 4px; }
.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;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }
.section-lg { padding: 5.5rem 0; }
.bg-light { background: var(--slate-50); }
.bg-primary-soft { background: linear-gradient(135deg, var(--primary-50), var(--slate-50)); }
.bg-dark { background: var(--dark); color: var(--slate-300); }
.bg-primary { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-white h1, .text-white h2, .text-white h3, .text-white h4 { color: var(--white); }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-sm { gap: .5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 1.5rem; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }

/* ---------- Section heading ---------- */
.section-head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.section-head .eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--primary);
  background: var(--primary-50); padding: .35rem .9rem; border-radius: 999px; margin-bottom: .9rem;
}
.section-head p { color: var(--slate-600); font-size: 1.05rem; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head.left .eyebrow { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: .8rem 1.5rem; border-radius: 999px; transition: all var(--transition);
  text-align: center; white-space: nowrap; line-height: 1; border: 2px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-accent { background: var(--accent); color: var(--white); box-shadow: var(--shadow); }
.btn-accent:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-2px); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); box-shadow: var(--shadow); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-light { background: var(--white); color: var(--primary); }
.btn-light:hover { background: var(--slate-100); transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header (modernized) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(226,232,240,.7); box-shadow: 0 1px 0 rgba(14,116,144,.04), 0 8px 24px -12px rgba(15,23,42,.10);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 0 rgba(14,116,144,.06), 0 12px 32px -14px rgba(15,23,42,.16);
}
.topbar {
  background: linear-gradient(90deg, var(--dark) 0%, #134e58 100%);
  color: var(--slate-300); font-size: .82rem; padding: .5rem 0;
  border-bottom: 1px solid rgba(6,182,212,.18);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: var(--slate-300); transition: color var(--transition); }
.topbar a:hover { color: var(--primary-light); }
.topbar .topbar-info { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.topbar .topbar-info span { display: inline-flex; align-items: center; gap: .4rem; }
.topbar svg { width: 14px; height: 14px; color: var(--primary-light); }
.topbar-cta { display: flex; gap: .7rem; align-items: center; }
.topbar-cta a.btn { padding: .35rem .9rem; font-size: .8rem; }

.navbar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .65rem; }
.brand img { height: 46px; width: auto; transition: transform var(--transition); }
.brand:hover img { transform: scale(1.06) rotate(-3deg); }
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.32rem; color: var(--dark); line-height: 1; letter-spacing: -.01em; }
.brand-text small { display: block; font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); margin-top: 4px; }
.brand:hover .brand-text { color: var(--primary); }

.nav-menu { display: flex; align-items: center; gap: .15rem; }
.nav-menu > li > a {
  font-family: var(--font-head); font-weight: 600; font-size: .93rem; color: var(--slate-700);
  padding: .6rem 1rem; border-radius: 10px; display: inline-flex; align-items: center; gap: .25rem;
  position: relative; transition: color var(--transition), background var(--transition);
}
/* animated underline */
.nav-menu > li > a::after {
  content: ''; position: absolute; left: 1rem; right: 1rem; bottom: .35rem; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.nav-menu > li > a:hover { color: var(--primary); background: var(--primary-50); }
.nav-menu > li > a:hover::after, .nav-menu > li > a.active::after { transform: scaleX(1); }
.nav-menu > li > a.active { color: var(--primary); }
.nav-menu .has-drop { position: relative; }
.nav-menu .has-drop > a::before {
  content: ''; position: absolute; inset: 0; border-radius: 10px; background: transparent; transition: background var(--transition);
}
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px; background: var(--white);
  border: 1px solid var(--slate-200); border-radius: 16px; box-shadow: 0 24px 48px -16px rgba(15,23,42,.22);
  padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transition: all var(--transition);
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.dropdown a {
  display: flex; align-items: center; gap: .55rem; padding: .6rem .8rem; border-radius: 10px;
  font-size: .9rem; color: var(--slate-700); font-weight: 500; transition: all var(--transition);
}
.dropdown a::before { content: '→'; color: var(--primary-light); opacity: 0; transform: translateX(-4px); transition: all var(--transition); font-weight: 700; }
.dropdown a:hover { background: var(--primary-50); color: var(--primary); padding-left: 1rem; }
.dropdown a:hover::before { opacity: 1; transform: translateX(0); }

.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-actions .btn { padding: .62rem 1.15rem; font-size: .9rem; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; padding: .55rem; border-radius: 10px;
  background: var(--slate-100); border: 1px solid var(--slate-200); transition: background var(--transition);
}
.hamburger:hover { background: var(--primary-50); }
.hamburger span { width: 22px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: all var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--white);
  z-index: 1100; transform: translateX(100%); transition: transform var(--transition);
  display: flex; flex-direction: column; box-shadow: -16px 0 48px rgba(0,0,0,.18); overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--slate-200); background: linear-gradient(135deg, var(--primary-50), var(--white)); }
.mobile-menu .mm-links { padding: .75rem; flex: 1; }
.mobile-menu .mm-links > li > a, .mobile-menu .mm-links > li > button {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  font-family: var(--font-head); font-weight: 600; color: var(--slate-800); padding: .9rem .8rem;
  border-radius: 10px; font-size: 1rem; transition: background var(--transition);
}
.mobile-menu .mm-links > li > a:hover, .mobile-menu .mm-links > li > button:hover { background: var(--primary-50); color: var(--primary); }
.mobile-menu .mm-sub { padding-left: .75rem; max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.mobile-menu .mm-sub.open { max-height: 600px; }
.mobile-menu .mm-sub a { display: block; padding: .6rem .8rem; font-size: .9rem; color: var(--slate-600); border-radius: 8px; transition: all var(--transition); }
.mobile-menu .mm-sub a:hover { color: var(--primary); padding-left: 1.1rem; }
.mobile-menu .mm-cta { padding: 1.1rem 1.3rem; border-top: 1px solid var(--slate-200); display: grid; gap: .6rem; background: var(--slate-50); }
.overlay { position: fixed; inset: 0; background: rgba(15,23,42,.55); backdrop-filter: blur(2px); z-index: 1050; opacity: 0; visibility: hidden; transition: all var(--transition); }
.overlay.show { opacity: 1; visibility: visible; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: var(--slate-50); border-bottom: 1px solid var(--slate-200); padding: .8rem 0; font-size: .85rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; color: var(--slate-500); }
.breadcrumbs a { color: var(--slate-600); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { color: var(--slate-300); }
.breadcrumbs [aria-current="page"] { color: var(--primary); font-weight: 600; }

/* ---------- Hero (generic inner page) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  color: var(--white); padding: 3.5rem 0 3rem; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%); border-radius: 50%;
}
.page-hero::before {
  content: ''; position: absolute; left: -60px; bottom: -120px; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%); border-radius: 50%;
}
.page-hero .container { position: relative; z-index: 1; max-width: 860px; }
.page-hero h1 { color: var(--white); margin-bottom: .8rem; }
.page-hero p { color: rgba(255,255,255,.92); font-size: 1.1rem; max-width: 680px; }
.page-hero .hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.hero-badge { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); padding: .45rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 500; display: inline-flex; align-items: center; gap: .4rem; backdrop-filter: blur(4px); }
.hero-badge svg { width: 15px; height: 15px; }

/* ---------- Homepage hero ---------- */
.hero {
  position: relative; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #0891b2 100%);
  color: var(--white); overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding: 4.5rem 0; position: relative; z-index: 1; }
.hero::after { content:''; position:absolute; right:-100px; top:-100px; width:420px; height:420px; background:radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); border-radius:50%; }
.hero::before { content:''; position:absolute; left:-80px; bottom:-140px; width:340px; height:340px; background:radial-gradient(circle, rgba(255,255,255,.08), transparent 70%); border-radius:50%; }
.hero .eyebrow { display:inline-flex; align-items:center; gap:.5rem; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.28); padding:.4rem 1rem; border-radius:999px; font-size:.82rem; font-weight:600; letter-spacing:.05em; margin-bottom:1.1rem; backdrop-filter:blur(4px); }
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero h1 .hl { color: #7dd3fc; }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,.94); margin-bottom: 1.6rem; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.8rem; }
.hero-stat .num { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: #7dd3fc; line-height: 1; }
.hero-stat .lbl { font-size: .82rem; color: rgba(255,255,255,.85); margin-top: .25rem; }
.hero-visual { position: relative; }
.hero-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-xl);
  color: var(--slate-700);
}
.hero-card h3 { color: var(--dark); margin-bottom: 1rem; font-size: 1.1rem; }
.hero-card .quick-row { display: flex; align-items: center; gap: .7rem; padding: .7rem 0; border-bottom: 1px solid var(--slate-100); }
.hero-card .quick-row:last-child { border-bottom: none; }
.hero-card .quick-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-50); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-card .quick-ic svg { width: 19px; height: 19px; }
.hero-card .quick-row strong { display: block; color: var(--dark); font-size: .92rem; font-family: var(--font-head); }
.hero-card .quick-row span { font-size: .8rem; color: var(--slate-500); }
.hero-trust { margin-top: 1rem; display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: var(--slate-500); }
.hero-trust .stars { color: var(--amber); letter-spacing: 1px; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--dark); padding: 1.4rem 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 1.5rem; }
.trust-item { display: flex; align-items: center; gap: .7rem; color: var(--slate-300); }
.trust-item svg { width: 26px; height: 26px; color: var(--primary-light); }
.trust-item strong { color: var(--white); font-family: var(--font-head); display: block; font-size: .95rem; }
.trust-item span { font-size: .8rem; color: var(--slate-400); }

/* ---------- Course cards ---------- */
.course-card {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 1.5rem; transition: all var(--transition); position: relative; overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
}
.course-card::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg, var(--primary), var(--primary-light)); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.course-card:hover::before { transform: scaleX(1); }
.course-ic { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, var(--primary-50), var(--primary-100)); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.course-ic svg { width: 28px; height: 28px; }
.course-tag { position: absolute; top: 1rem; right: 1rem; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; background: var(--accent); color: var(--white); }
.course-tag.hot { background: var(--amber); }
.course-card h3 { font-size: 1.18rem; margin-bottom: .4rem; }
.course-card h3 a { color: var(--dark); }
.course-card h3 a:hover { color: var(--primary); }
.course-card .course-desc { color: var(--slate-600); font-size: .92rem; margin-bottom: 1rem; flex: 1; }
.course-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .8rem; color: var(--slate-500); padding: .8rem 0; border-top: 1px solid var(--slate-100); border-bottom: 1px solid var(--slate-100); margin-bottom: 1rem; }
.course-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.course-meta svg { width: 15px; height: 15px; color: var(--primary); }
.course-card .card-cta { display: flex; gap: .6rem; }
.course-card .card-cta .btn { padding: .55rem 1rem; font-size: .85rem; flex: 1; }

/* ---------- Feature / Why choose cards ---------- */
.feature-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 1.75rem; height: 100%; transition: all var(--transition); }
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--primary-light); }
.feature-ic { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; background: var(--primary-50); color: var(--primary); }
.feature-ic.green { background: #dcfce7; color: var(--accent-dark); }
.feature-ic.amber { background: #fef3c7; color: #b45309; }
.feature-ic.violet { background: #ede9fe; color: #6d28d9; }
.feature-ic svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.feature-card p { color: var(--slate-600); font-size: .94rem; margin: 0; }

/* ---------- Branch cards ---------- */
.branch-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); }
.branch-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.branch-card.featured { border: 2px solid var(--primary); }
.branch-card .branch-img { height: 180px; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); position: relative; display: flex; align-items: center; justify-content: center; }
.branch-card .branch-img svg { width: 64px; height: 64px; color: rgba(255,255,255,.85); }
.branch-flag { position: absolute; top: 1rem; left: 1rem; background: var(--accent); color: var(--white); font-size: .72rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; letter-spacing: .04em; }
.branch-card .branch-body { padding: 1.5rem; }
.branch-card h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.branch-addr { display: flex; gap: .5rem; color: var(--slate-600); font-size: .92rem; margin-bottom: 1rem; }
.branch-addr svg { width: 17px; height: 17px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.branch-features { display: grid; gap: .5rem; margin-bottom: 1.2rem; }
.branch-features li { display: flex; gap: .5rem; align-items: flex-start; font-size: .9rem; color: var(--slate-700); }
.branch-features svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.branch-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ---------- Testimonials ---------- */
.testimonial-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 1.75rem; height: 100%; position: relative; transition: all var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.testimonial-card .quote-ic { color: var(--primary-100); position: absolute; top: 1rem; right: 1.25rem; }
.testimonial-card .quote-ic svg { width: 40px; height: 40px; }
.testimonial-stars { color: var(--amber); letter-spacing: 2px; margin-bottom: .8rem; font-size: 1.05rem; }
.testimonial-text { color: var(--slate-700); font-size: .98rem; margin-bottom: 1.2rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .8rem; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.testimonial-author strong { display: block; color: var(--dark); font-family: var(--font-head); font-size: .95rem; }
.testimonial-author span { font-size: .82rem; color: var(--slate-500); }

/* ---------- Placed Students (placement showcase) ---------- */
.placed-section { background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%); }
.placed-marquee-wrap { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.placed-marquee { display: flex; gap: 1.25rem; animation: marqueeScroll 38s linear infinite; width: max-content; }
.placed-marquee:hover { animation-play-state: paused; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .placed-marquee { animation: none; flex-wrap: wrap; justify-content: center; } }

.placed-card {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 1.4rem; min-width: 280px; max-width: 300px; display: flex; flex-direction: column; gap: .9rem;
  position: relative; transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.placed-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.placed-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light)); border-radius: var(--radius) var(--radius) 0 0;
}
.placed-top { display: flex; align-items: center; gap: .8rem; }
.placed-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(14,116,144,.3);
}
.placed-avatar.g2 { background: linear-gradient(135deg, var(--accent), #4ade80); box-shadow: 0 4px 12px rgba(22,163,74,.3); }
.placed-avatar.g3 { background: linear-gradient(135deg, #f59e0b, #fbbf24); box-shadow: 0 4px 12px rgba(245,158,11,.3); }
.placed-avatar.g4 { background: linear-gradient(135deg, #8b5cf6, #a78bfa); box-shadow: 0 4px 12px rgba(139,92,246,.3); }
.placed-name { font-family: var(--font-head); font-weight: 700; color: var(--dark); font-size: 1rem; line-height: 1.2; }
.placed-course { font-size: .82rem; color: var(--slate-500); margin-top: .15rem; }
.placed-role { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--font-head); font-weight: 600; color: var(--primary-dark); font-size: .9rem; }
.placed-role svg { width: 16px; height: 16px; color: var(--accent); }
.placed-company { font-size: .85rem; color: var(--slate-600); display: flex; align-items: center; gap: .4rem; }
.placed-company svg { width: 15px; height: 15px; color: var(--slate-400); }
.placed-badge {
  position: absolute; top: .9rem; right: .9rem; font-size: .65rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px;
  background: #dcfce7; color: #166534; border: 1px solid #86efac;
}
.placed-stats { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.placed-stat { text-align: center; }
.placed-stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.4rem); color: var(--accent-dark); line-height: 1; }
.placed-stat .lbl { font-size: .85rem; color: var(--slate-600); margin-top: .3rem; }

/* ---------- FAQ accordion ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); margin-bottom: .8rem; overflow: hidden; transition: all var(--transition); }
.faq-item.open { border-color: var(--primary-light); box-shadow: var(--shadow); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--dark); text-align: left; }
.faq-q .faq-ic { width: 26px; height: 26px; flex-shrink: 0; background: var(--primary-50); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.faq-item.open .faq-ic { background: var(--primary); color: var(--white); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq-a-inner { padding: 0 1.3rem 1.2rem; color: var(--slate-600); font-size: .96rem; }

/* ---------- Forms ---------- */
.lead-form { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.lead-form h3 { margin-bottom: .4rem; }
.lead-form .form-sub { color: var(--slate-600); font-size: .92rem; margin-bottom: 1.4rem; }
.form-row { margin-bottom: 1rem; }
.form-row.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row.split .form-row { margin-bottom: 0; }
label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--slate-800); margin-bottom: .4rem; }
label .req { color: #dc2626; }
input, textarea, select {
  width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--slate-200); border-radius: var(--radius-sm);
  background: var(--white); color: var(--slate-800); transition: all var(--transition); font-size: .95rem;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }
textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .8rem; color: var(--slate-500); margin-top: .6rem; display: flex; align-items: center; gap: .35rem; }
.form-note svg { width: 14px; height: 14px; color: var(--accent); }
.form-success { display: none; background: #dcfce7; border: 1px solid #86efac; color: #166534; padding: 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-size: .92rem; }
.form-success.show { display: block; }
.form-error { display: none; background: #fef3c7; border: 1px solid #fcd34d; color: #92400e; padding: 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-size: .92rem; }
.form-error.show { display: block; }
button[type="submit"]:disabled { opacity: .65; cursor: wait; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); border-radius: var(--radius-lg); padding: 3rem; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content:''; position:absolute; right:-60px; top:-60px; width:240px; height:240px; background:radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); border-radius:50%; }
.cta-band h2 { color: var(--white); margin-bottom: .7rem; position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 620px; margin: 0 auto 1.6rem; position: relative; z-index: 1; }
.cta-band .hero-ctas { justify-content: center; position: relative; z-index: 1; }

/* ---------- Syllabus / module list ---------- */
.module-list { display: grid; gap: 1rem; }
.module-item { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 1.3rem 1.4rem; display: flex; gap: 1rem; align-items: flex-start; transition: all var(--transition); }
.module-item:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.module-num { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; flex-shrink: 0; }
.module-item h4 { margin-bottom: .35rem; }
.module-item p { color: var(--slate-600); font-size: .92rem; margin: 0; }
.module-item ul { margin-top: .5rem; display: grid; gap: .3rem; }
.module-item ul li { font-size: .88rem; color: var(--slate-600); display: flex; gap: .4rem; align-items: flex-start; }
.module-item ul li::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* ---------- Info table ---------- */
.info-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--slate-200); }
.info-table th, .info-table td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--slate-100); font-size: .94rem; }
.info-table th { background: var(--slate-50); color: var(--dark); font-family: var(--font-head); font-weight: 600; width: 35%; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table td strong { color: var(--primary); }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.stat-box { text-align: center; }
.stat-box .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--primary); line-height: 1; }
.stat-box .lbl { color: var(--slate-600); font-size: .92rem; margin-top: .4rem; }

/* ---------- Two column ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.two-col .col-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.two-col .col-media svg { width: 100%; height: 100%; }
.checklist { display: grid; gap: .7rem; margin: 1.2rem 0; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; color: var(--slate-700); }
.checklist li svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.gallery-item svg { width: 100%; height: 100%; transition: transform .4s ease; }
.gallery-item:hover svg { transform: scale(1.05); }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: .8rem 1rem; background: linear-gradient(transparent, rgba(15,23,42,.8)); color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: .9rem; }

/* ---------- Blog cards ---------- */
.blog-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); height: 100%; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-thumb { height: 180px; display: flex; align-items: center; justify-content: center; position: relative; }
.blog-thumb svg { width: 56px; height: 56px; color: rgba(255,255,255,.9); }
.blog-cat { position: absolute; top: 1rem; left: 1rem; background: var(--white); color: var(--primary); font-size: .72rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.blog-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; gap: 1rem; font-size: .8rem; color: var(--slate-500); margin-bottom: .6rem; }
.blog-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.blog-meta svg { width: 14px; height: 14px; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.blog-card h3 a { color: var(--dark); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { color: var(--slate-600); font-size: .92rem; flex: 1; }
.blog-card .read-more { margin-top: .8rem; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--primary); display: inline-flex; align-items: center; gap: .3rem; }

/* ---------- Article (blog post) ---------- */
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { margin: 2rem 0 .8rem; }
.article-body h3 { margin: 1.6rem 0 .6rem; }
.article-body p { color: var(--slate-700); margin-bottom: 1.1rem; }
.article-body ul, .article-body ol { margin: 0 0 1.2rem 1.2rem; display: grid; gap: .5rem; }
.article-body ul li { list-style: disc; color: var(--slate-700); }
.article-body ol li { list-style: decimal; color: var(--slate-700); }
.article-body blockquote { border-left: 4px solid var(--primary); background: var(--primary-50); padding: 1rem 1.3rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.4rem 0; color: var(--slate-700); font-style: italic; }
.article-meta { display: flex; gap: 1.2rem; align-items: center; color: var(--slate-500); font-size: .88rem; margin-bottom: 1.6rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--slate-200); }
.article-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.article-meta svg { width: 16px; height: 16px; color: var(--primary); }

/* ---------- Career roles chips ---------- */
.role-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.role-chip { background: var(--primary-50); color: var(--primary-dark); padding: .5rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 600; border: 1px solid var(--primary-100); display: inline-flex; align-items: center; gap: .4rem; }
.role-chip svg { width: 15px; height: 15px; }

/* ---------- Map ---------- */
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--slate-200); background: var(--slate-100); height: 320px; display: flex; align-items: center; justify-content: center; position: relative; }
.map-embed svg { width: 70px; height: 70px; color: var(--primary); }
.map-embed .map-note { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; background: rgba(255,255,255,.92); padding: .7rem 1rem; border-radius: var(--radius-sm); font-size: .85rem; color: var(--slate-600); backdrop-filter: blur(4px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--slate-400); padding-top: 3.5rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--slate-800); }
.footer-brand .brand-text { color: var(--white); }
.footer-brand p { color: var(--slate-400); font-size: .9rem; margin: 1rem 0; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: var(--slate-800); color: var(--slate-300); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 1.1rem; }
.footer-links { display: grid; gap: .55rem; }
.footer-links a { color: var(--slate-400); font-size: .9rem; }
.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: .8rem; font-size: .9rem; color: var(--slate-400); }
.footer-contact svg { width: 17px; height: 17px; color: var(--primary-light); flex-shrink: 0; margin-top: 3px; }
.footer-contact strong { color: var(--white); display: block; font-family: var(--font-head); }
.footer-bottom { padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .84rem; }
.footer-bottom a { color: var(--slate-400); }
.footer-bottom a:hover { color: var(--primary-light); }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 900; width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp); color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: all var(--transition); }
.wa-float:hover { background: var(--whatsapp-dark); transform: scale(1.08); color: var(--white); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp); animation: waPulse 2s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Sticky mobile CTA bar ---------- */
.mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 950; background: var(--white);
  border-top: 1px solid var(--slate-200); box-shadow: 0 -4px 20px rgba(15,23,42,.1);
  display: none; grid-template-columns: repeat(3,1fr); padding: .55rem; gap: .5rem;
}
.mobile-cta-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; padding: .5rem; border-radius: var(--radius-sm); font-size: .72rem; font-weight: 600; font-family: var(--font-head); color: var(--white); }
.mobile-cta-bar a svg { width: 20px; height: 20px; }
.mobile-cta-bar a.call { background: var(--primary); }
.mobile-cta-bar a.wa { background: var(--whatsapp); }
.mobile-cta-bar a.enq { background: var(--accent); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Filter pills (courses) ---------- */
.filter-pills { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-pill { padding: .55rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--slate-200); background: var(--white); color: var(--slate-700); font-family: var(--font-head); font-weight: 600; font-size: .88rem; transition: all var(--transition); }
.filter-pill:hover { border-color: var(--primary); color: var(--primary); }
.filter-pill.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ---------- Mini stat row ---------- */
.mini-stats { display: flex; flex-wrap: wrap; gap: 2rem; padding: 1.5rem; background: var(--primary-50); border-radius: var(--radius); }
.mini-stat { display: flex; align-items: center; gap: .7rem; }
.mini-stat .ms-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--white); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.mini-stat .ms-ic svg { width: 22px; height: 22px; }
.mini-stat strong { display: block; color: var(--dark); font-family: var(--font-head); }
.mini-stat span { font-size: .82rem; color: var(--slate-600); }

/* ---------- Step process ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; counter-reset: step; }
.step-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 1.6rem; text-align: center; position: relative; }
.step-card .step-no { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; margin: 0 auto 1rem; }
.step-card h4 { margin-bottom: .4rem; }
.step-card p { font-size: .88rem; color: var(--slate-600); margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-grid { gap: 2rem; }
  .nav-actions .btn-enquire { display: none; }
}
@media (max-width: 900px) {
  .nav-menu, .nav-actions .btn-call { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; padding: 3rem 0; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col .col-media { max-width: 480px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-band { grid-template-columns: repeat(2,1fr); gap: 2rem; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .section { padding: 2.8rem 0; }
  .section-lg { padding: 3.5rem 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-row.split { grid-template-columns: 1fr; }
  .cta-band { padding: 2rem 1.5rem; }
  .lead-form { padding: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .topbar { display: none; }
  .hero-stats { gap: 1.2rem; }
  .hero-stat .num { font-size: 1.5rem; }
  .mobile-cta-bar { display: grid; --mobile-cta-h: 64px; }
  .wa-float { bottom: calc(1.4rem + 64px); width: 52px; height: 52px; }
  .wa-float svg { width: 26px; height: 26px; }
  body { padding-bottom: var(--mobile-cta-h); }
  .course-card .card-cta { flex-direction: column; }
  .btn { width: 100%; }
  .hero-ctas .btn, .cta-band .hero-ctas .btn, .branch-actions .btn, .nav-actions .btn { width: auto; }
  .container { padding: 0 1rem; }
}
@media (max-width: 400px) {
  .hero-stat .num { font-size: 1.3rem; }
  .stats-band { grid-template-columns: 1fr; }
}

/* Print friendly basics */
@media print {
  .site-header, .mobile-cta-bar, .wa-float, .hamburger, .nav-actions { display: none !important; }
  body { padding: 0; }
}
