/* Sunway College Demo — main.css — Matched to Pencil Prototype v2 */
@font-face{font-family:'Inter';font-style:normal;font-weight:300;font-display:swap;src:url('/assets/fonts/inter/Inter-Light.ttf') format('truetype');}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/inter/Inter-Regular.ttf') format('truetype');}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/inter/Inter-Medium.ttf') format('truetype');}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/inter/Inter-SemiBold.ttf') format('truetype');}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/inter/Inter-Bold.ttf') format('truetype');}
:root{
  --orange:#F29100; --orange-dark:#D97F00;
  --navy:#1F2E6F; --navy-dark:#18254F;
  --yellow:#FED53B;
  --white:#FFFFFF; --off-white:#F8F8F8; --gray-50:#FAFAFA; --gray-100:#F5F5F5; --gray-200:#E5E5E5; --gray-300:#CFCFCF; --gray-500:#888; --gray-700:#555;
  --text:#333333; --text-secondary:#777;
  --max-w:1440px;
  --radius:16px; --radius-sm:6px;
  --shadow-sm:0 2px 6px rgba(0,0,0,.06);
  --shadow-md:0 6px 20px rgba(0,0,0,.08);
  --shadow-lg:0 16px 40px rgba(0,0,0,.12);
  --font: 'Inter','Helvetica Neue',Arial,sans-serif;
  --font-heading: 'Inter','Helvetica Neue',Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:var(--font);color:var(--text);font-size:16px;line-height:1.55;background:#fff;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:0;background:none}
h1,h2,h3,h4,h5,h6{font-family:var(--font-heading);color:var(--navy);margin:0 0 .5em;font-weight:700;line-height:1.15}
h1{font-size:clamp(2rem,5vw,3.5rem);letter-spacing:-.01em}
h2{font-size:clamp(1.6rem,3.2vw,2.25rem)}
h3{font-size:1.25rem}
p{margin:0 0 1em}
.container{width:100%;max-width:var(--max-w);margin:0 auto;padding:0 24px}
@media (min-width:1024px){.container{padding:0 60px}}

/* ===== Buttons ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 28px;border-radius:999px;font-weight:700;font-size:.82rem;letter-spacing:.06em;transition:all .18s ease;white-space:nowrap;text-transform:uppercase}
.btn-primary{background:var(--orange);color:#fff}
.btn-primary:hover{background:var(--orange-dark)}
.btn-navy{background:var(--navy);color:#fff}
.btn-navy:hover{background:var(--navy-dark)}
.btn-outline{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.8)}
.btn-outline:hover{background:#fff;color:var(--navy)}
.btn-outline-navy{background:transparent;color:var(--navy);border:2px solid var(--navy)}
.btn-outline-navy:hover{background:var(--navy);color:#fff}
.btn-sm{padding:10px 24px;font-size:.8rem}

body{padding-top:72px}

/* ===== Top Utility Bar — navy-dark per prototype, fixed above nav ===== */
.topbar{display:none;background:var(--navy-dark);border-bottom:none;font-size:.7rem;position:fixed;top:0;left:0;right:0;z-index:101}
.topbar-inner{max-width:var(--max-w);margin:0 auto;padding:8px 60px;display:flex;justify-content:space-between;align-items:center;color:rgba(255,255,255,.6)}
.topbar-inner div{display:flex;gap:24px;align-items:center}
.topbar-inner div span,.topbar-inner a{color:rgba(255,255,255,.6);font-size:11px}
.topbar-inner a:hover{color:var(--orange)}
/* ===== Navbar ===== */
.nav{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(255,255,255,.97);backdrop-filter:blur(8px);transition:box-shadow .2s ease,background .2s ease;border-bottom:1px solid var(--gray-200)}
.nav.scrolled{box-shadow:0 2px 14px rgba(0,0,0,.08)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:72px;max-width:var(--max-w);margin:0 auto;padding:0 24px}
.nav-logo img{height:55px;width:auto}
.nav-links{display:none;gap:28px;align-items:center}
.nav-links a{font-size:14px;font-weight:500;color:var(--navy);padding:6px 2px;position:relative}
.nav-links a.active{color:var(--orange);font-weight:700}
.nav-links a:hover{color:var(--orange)}
.nav-links a.active::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;background:var(--orange)}
.nav-right{display:flex;align-items:center;gap:14px}
.nav-right .btn-primary{border-radius:24px;padding:12px 28px;font-size:13px;letter-spacing:1px}
.nav-toggle{display:flex;flex-direction:column;gap:5px;width:28px;height:28px;justify-content:center;align-items:center}
.nav-toggle span{width:22px;height:2px;background:var(--navy);transition:transform .25s,opacity .25s}
.nav-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.open span:nth-child(2){opacity:0}
.nav-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media (min-width:1024px){
  .nav-links{display:flex}
  .nav-toggle{display:none}
  .nav-inner{padding:0 60px}
}
.nav-mobile{position:fixed;top:72px;left:0;right:0;background:#fff;box-shadow:0 10px 20px rgba(0,0,0,.08);padding:16px 24px;display:none;flex-direction:column;gap:4px;z-index:99;border-top:1px solid var(--gray-200)}
.nav-mobile.open{display:flex}
.nav-mobile a{padding:14px 8px;border-bottom:1px solid var(--gray-100);color:var(--navy);font-weight:500}
@media(min-width:1024px){
  .topbar{display:block}
  .nav{top:34px}
  .nav-mobile{display:none!important}
  body{padding-top:106px}
}

/* ===== Hero Section — translucent card, no sidecard ===== */
.hero{position:relative;overflow:hidden;height:620px;background:#222}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center}
.hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(31,46,111,.3) 0%,rgba(31,46,111,.08) 50%,rgba(0,0,0,.02) 100%)}
.hero-inner{position:relative;z-index:2;max-width:var(--max-w);margin:0 auto;padding:80px 60px 120px;display:flex;align-items:flex-start;height:100%}
.hero-card{background:rgba(31,46,111,.18);color:#fff;padding:36px 40px;border-radius:var(--radius);max-width:560px}
.hero-badge{display:inline-block;background:var(--orange);color:#fff;font-size:.62rem;font-weight:700;letter-spacing:1.5px;padding:5px 14px;border-radius:var(--radius);margin-bottom:18px;text-transform:uppercase}
.hero-card h1{color:#fff;font-size:clamp(2.4rem,4.8vw,3.5rem);margin-bottom:16px;white-space:pre-line;line-height:.95;font-weight:800}
.hero-card p{color:rgba(255,255,255,.8);font-size:1rem;margin-bottom:24px;line-height:1.6}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap}
.hero-ctas .btn{font-size:12px;letter-spacing:1px}
.hero-sidecard{display:none!important}

/* ===== Quick Links Bar — navy bg, 5 cols, first orange ===== */
.audience{background:var(--navy);color:#fff;margin-top:0;position:relative;z-index:3;border-radius:0}
.audience-inner{max-width:var(--max-w);margin:0 auto;display:grid;grid-template-columns:repeat(5,1fr);padding:0 60px}
.audience a{display:flex;align-items:center;justify-content:center;gap:10px;padding:16px 10px;font-size:13px;font-weight:600;border-right:none;color:rgba(255,255,255,.8)}
.audience a:first-child{background:var(--orange);color:#fff;font-weight:700}
.audience a:hover{background:rgba(255,255,255,.08)}
.audience svg{opacity:.9;width:20px;height:20px}
@media(max-width:767px){.audience{display:none}}

/* ===== Stats Bar — alternating orange/navy ===== */
.stats{background:var(--off-white);padding:40px 0;border-bottom:none}
.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:30px;text-align:center}
@media(min-width:768px){.stats-grid{grid-template-columns:repeat(4,1fr)}}
.stat-value{font-size:clamp(2.4rem,4.2vw,3.2rem);font-weight:800;line-height:1;margin-bottom:4px;letter-spacing:-.02em}
.stats-grid > div:nth-child(odd) .stat-value{color:var(--orange)}
.stats-grid > div:nth-child(even) .stat-value{color:var(--navy)}
.stat-label{font-size:.78rem;color:var(--text-secondary);font-weight:500}

/* ===== Sections ===== */
section{padding:64px 0}
.section-heading{margin-bottom:36px;display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:16px}
.section-eyebrow{color:var(--orange);font-size:.75rem;letter-spacing:3px;font-weight:700;text-transform:uppercase;margin-bottom:8px;display:block}
.section-title{margin:0;font-size:clamp(1.8rem,3.5vw,2.5rem);font-weight:800}

/* ===== Programmes Section — cards with desc, yellow tag ===== */
.programmes{background:#fff;padding:64px 0}
.prog-grid{display:grid;grid-template-columns:1fr;gap:20px}
@media(min-width:768px){.prog-grid{grid-template-columns:repeat(3,1fr)}}
.prog-card{background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,.08);border:none;transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column}
.prog-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.prog-img{position:relative;height:220px;overflow:hidden;background:#eee}
.prog-img img{width:100%;height:100%;object-fit:cover}
.prog-tag{position:absolute;top:14px;left:14px;background:var(--yellow);color:var(--navy);font-size:.68rem;font-weight:700;padding:4px 12px;border-radius:12px;letter-spacing:.06em}
.prog-body{padding:20px 20px 24px;display:flex;flex-direction:column;gap:8px;flex:1}
.prog-body h3{margin-bottom:0;font-size:1.25rem;font-weight:700;line-height:1.2}
.prog-body .prog-desc{font-size:.82rem;color:var(--text-secondary);line-height:1.5;margin:0}
.prog-body .learn{color:var(--orange);font-weight:600;font-size:.88rem;display:inline-flex;align-items:center;gap:6px;margin-top:auto}
.prog-body .learn:hover{color:var(--orange-dark)}
.prog-view-all-mobile{display:none}

/* ===== Experience Sunway — 1 big + 2x2 grid ===== */
.experience{background:var(--navy);color:#fff;padding:64px 0 80px}
.experience .section-title,.experience h2{color:#fff}
.experience .section-eyebrow{color:var(--yellow)}
.exp-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;height:360px}
.exp-grid img,.exp-grid .exp-img{width:100%;height:100%;object-fit:cover;border-radius:var(--radius)}
.exp-grid .big{grid-row:span 2;height:100%}
.exp-right{display:grid;grid-template-rows:1fr 1fr;gap:16px;grid-row:span 2}
.exp-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.exp-row img{border-radius:var(--radius);width:100%;height:100%;object-fit:cover}
@media(max-width:767px){
  .exp-grid{grid-template-columns:1fr;height:auto}
  .exp-grid .big{grid-row:auto;height:240px}
  .exp-right{grid-template-rows:auto auto}
  .exp-row img{height:160px}
}

/* ===== Why Sunway — white bg, off-white cards, alternating icons ===== */
.advantages{background:#fff;padding:64px 0}
.adv-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
@media(min-width:1024px){.adv-grid{grid-template-columns:repeat(4,1fr)}}
.adv-card{background:var(--off-white);padding:28px 22px;border-radius:var(--radius);text-align:center}
.adv-icon{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;color:#fff}
.adv-card:nth-child(odd) .adv-icon{background:var(--orange)}
.adv-card:nth-child(even) .adv-icon{background:var(--navy)}
.adv-card h3{font-size:1.1rem;margin-bottom:10px;line-height:1.2;font-weight:700}
.adv-card p{font-size:.82rem;color:var(--text-secondary);margin:0;line-height:1.5}

/* ===== Accreditations Strip ===== */
.accred{background:var(--off-white);padding:32px 0}
.accred-inner{max-width:var(--max-w);margin:0 auto;padding:0 60px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:48px}
.accred-label{font-size:.75rem;color:var(--text-secondary);font-weight:600}
.accred-inner img{height:40px;object-fit:contain}

/* ===== CTA Band — bg image with orange overlay ===== */
.cta-band{background:var(--orange);color:#fff;text-align:center;padding:0;position:relative;overflow:hidden;height:300px;display:flex;align-items:center;justify-content:center}
.cta-band .cta-bg{position:absolute;inset:0;background-size:cover;background-position:center;z-index:0}
.cta-band::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(242,145,0,.93) 0%,rgba(242,145,0,.8) 100%);z-index:1}
.cta-band .container{position:relative;z-index:2}
.cta-band h2{color:#fff;font-size:clamp(1.8rem,3.6vw,2.6rem);margin-bottom:12px;font-weight:800;letter-spacing:1px}
.cta-band p{color:rgba(255,255,255,.87);max-width:620px;margin:0 auto 26px;font-size:1rem}
.cta-buttons{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.cta-buttons .btn{padding:14px 36px;font-size:14px;letter-spacing:1px}

/* ===== Footer — navy-dark, 5-col ===== */
.footer{background:var(--navy-dark);color:#fff;padding:48px 0 20px}
.footer-grid{display:grid;grid-template-columns:1fr;gap:32px}
@media(min-width:768px){.footer-grid{grid-template-columns:280px 1fr 1fr 1fr 1fr}}
.footer-brand img{background:#fff;padding:6px 10px;border-radius:8px;max-width:190px;height:60px;object-fit:contain;margin-bottom:14px}
.footer-brand p{font-size:.7rem;color:rgba(255,255,255,.6);margin-bottom:6px;line-height:1.7}
.footer-brand a{color:rgba(255,255,255,.73)}
.footer-contact{font-size:.7rem;color:rgba(255,255,255,.73);line-height:1.7}
.footer-hours{font-size:.65rem;color:rgba(255,255,255,.47);line-height:1.6;margin-top:4px}
.footer-social{display:flex;gap:14px;margin-top:14px}
.footer-social a{color:rgba(255,255,255,.67);transition:color .2s}
.footer-social a:hover{color:var(--orange)}
.footer-social a svg{width:18px;height:18px}
.footer h4{color:#fff;font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;margin-bottom:14px;font-weight:700}
.footer ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.footer ul a{color:rgba(255,255,255,.6);font-size:.7rem}
.footer ul a:hover{color:var(--orange)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:32px;padding-top:16px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:.65rem;color:rgba(255,255,255,.34)}
.footer-bottom div:last-child a{margin-left:16px;color:rgba(255,255,255,.41)}
.footer-moe{font-size:.7rem;color:rgba(255,255,255,.4);margin-top:14px}

/* ===== Programme Page — matched to Pencil Programme Page v2 ===== */
.prog-hero{position:relative;height:380px;background:#222;overflow:hidden}
.prog-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center 25%}
.prog-hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(31,46,111,.55) 0%,rgba(31,46,111,.15) 60%,rgba(0,0,0,0) 100%)}
.prog-hero-inner{position:relative;z-index:2;max-width:var(--max-w);margin:0 auto;padding:0 60px;height:100%;display:flex;align-items:flex-start}
.prog-hero-card{background:rgba(31,46,111,.18);color:#fff;padding:28px 32px;border-radius:var(--radius);max-width:520px;display:flex;flex-direction:column;gap:12px;margin-top:50px}
.breadcrumb{font-size:.78rem;color:rgba(255,255,255,.85);display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.breadcrumb a{color:rgba(255,255,255,.85)}
.breadcrumb a:hover{color:var(--yellow)}
.breadcrumb span+span::before{content:"\203A";margin:0 8px;color:rgba(255,255,255,.5)}
.prog-hero .tag{display:inline-block;background:var(--orange);color:#fff;font-size:.7rem;font-weight:700;letter-spacing:.12em;padding:4px 12px;border-radius:12px;text-transform:uppercase;align-self:flex-start}
.prog-hero h1{color:#fff;font-size:40px;margin:0;font-weight:800;line-height:1.1}
.prog-hero p{color:rgba(255,255,255,.8);max-width:460px;font-size:14px;line-height:1.6;margin:0}

/* Key Info Bar — 4-col, first orange bottom border */
.keyinfo{background:#fff;border-bottom:1px solid var(--gray-200)}
.keyinfo-grid{display:grid;grid-template-columns:repeat(2,1fr);max-width:var(--max-w);margin:0 auto;padding:0 60px}
@media(min-width:768px){.keyinfo-grid{grid-template-columns:repeat(4,1fr);padding:0 60px}}
.ki-cell{padding:20px 28px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px;border-right:1px solid var(--gray-200);border-bottom:1px solid var(--gray-200);position:relative}
.ki-cell:last-child{border-right:0}
.ki-cell:first-child{border-bottom:3px solid var(--orange)}
.ki-cell:first-child .ki-icon{color:var(--orange)}
.ki-icon{color:var(--navy);display:inline-block}
.ki-icon svg{width:22px;height:22px}
.ki-label{font-size:10px;letter-spacing:2px;color:var(--gray-700);font-weight:700;text-transform:uppercase}
.ki-value{font-size:14px;color:var(--navy);font-weight:700}

/* Content Area — 2-col, left flexible right 360px */
.prog-layout{padding:48px 0}
.prog-layout .container{display:grid;grid-template-columns:1fr;gap:32px}
@media(min-width:1024px){.prog-layout .container{grid-template-columns:1fr 360px;gap:40px;align-items:start}}
.prog-main h2{margin-bottom:16px;font-size:28px;font-weight:800}

/* Features highlights — off-white cards, 12px radius */
.prog-features{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:28px 0;padding:0;background:transparent;border-radius:0}
@media(max-width:767px){.prog-features{grid-template-columns:repeat(4,1fr);gap:10px}}
.pf-cell{text-align:center;font-size:11px;font-weight:700;color:var(--navy);background:var(--off-white);border-radius:12px;padding:16px 12px;display:flex;flex-direction:column;align-items:center;gap:8px}
.pf-cell svg{color:var(--orange);width:24px;height:24px;margin:0}

/* FAQ — message-circle icon, 12px radius items, off-white active */
.faq{margin-top:36px}
.faq-heading{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.faq-heading h2{margin:0;font-size:28px;font-weight:800}
.aeo-badge{display:inline-flex;align-items:center;gap:6px;background:var(--yellow);color:var(--navy);font-size:10px;font-weight:700;padding:5px 12px;border-radius:12px;letter-spacing:.04em}
.faq-item{border:1px solid var(--gray-200);border-radius:12px;margin-bottom:10px;background:#fff;overflow:hidden}
.faq-item.active{border-color:transparent;background:var(--off-white)}
.faq-q{width:100%;text-align:left;padding:16px 20px;font-weight:700;color:var(--navy);display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px}
.faq-q::after{content:"";width:18px;height:18px;flex-shrink:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center/contain no-repeat;border:0;transform:none;transition:transform .2s}
.faq-item.active .faq-q::after{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23F29100' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;transform:none}
.faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease;padding:0 20px;color:var(--gray-700);font-size:13px;line-height:1.6}
.faq-item.active .faq-a{max-height:800px;padding-bottom:18px}

/* Sidebar — orange CTA, off-white key dates, bordered related */
.prog-side{display:flex;flex-direction:column;gap:24px;position:sticky;top:120px}
.side-card{background:var(--orange);color:#fff;padding:28px;border-radius:var(--radius);text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px}
.side-card .side-icon{color:#fff;margin-bottom:0}
.side-card .side-icon svg{width:32px;height:32px}
.side-card h3{color:#fff;margin:0;font-size:22px;font-weight:800}
.side-card p{font-size:13px;color:rgba(255,255,255,.87);margin:0;line-height:1.5;max-width:280px}
.side-card .btn{width:100%;margin:0}
.side-card .btn+.btn{margin-top:0}
.side-block{padding:24px;border-radius:var(--radius)}
.side-block.dates{background:var(--off-white);border:none}
.side-block.related{background:#fff;border:1px solid var(--gray-200)}
.side-block h4{color:var(--navy);margin:0 0 16px;font-size:18px;font-weight:700;letter-spacing:0;text-transform:none}
.side-block ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:16px}
.side-block.dates li{font-size:13px;color:var(--text);display:flex;gap:12px;align-items:center}
.side-block.dates .kd-icon{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.side-block.dates .kd-icon.navy{background:var(--navy);color:#fff}
.side-block.dates .kd-icon.orange{background:var(--orange);color:#fff}
.side-block.dates .kd-icon svg{width:18px;height:18px}
.side-block.dates .kd-text{display:flex;flex-direction:column;gap:2px}
.side-block.dates .kd-title{font-size:13px;font-weight:700;color:var(--navy)}
.side-block.dates .kd-sub{font-size:11px;color:var(--gray-500)}
.side-block.related li{display:block;border-bottom:1px solid var(--gray-200);padding:10px 0}
.side-block.related li:last-child{border-bottom:0}
.side-block.related a{color:var(--text-secondary);font-size:13px;font-weight:400;display:flex;align-items:center;gap:8px}
.side-block.related a:hover{color:var(--orange)}
.side-block.related a svg{color:var(--orange);width:14px;height:14px;flex-shrink:0}

.ready-bar{background:var(--orange);color:#fff;border-radius:var(--radius);padding:20px 24px;display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:16px;flex-wrap:wrap}
.ready-bar h3{color:#fff;margin:0;font-size:1.1rem}

/* ===== Modal / Form ===== */
.modal-bg{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:200;display:none;align-items:center;justify-content:center;padding:20px}
.modal-bg.open{display:flex}
.modal{background:#fff;border-radius:var(--radius);padding:30px;max-width:480px;width:100%;box-shadow:var(--shadow-lg);position:relative}
.modal h3{margin-bottom:8px}
.modal p.intro{color:var(--gray-700);font-size:.88rem;margin-bottom:18px}
.modal-close{position:absolute;top:14px;right:14px;width:32px;height:32px;border-radius:50%;background:var(--gray-100);display:flex;align-items:center;justify-content:center;font-size:1.2rem;color:var(--gray-700)}
.modal-close:hover{background:var(--gray-200)}
.form-row{margin-bottom:14px}
.form-row label{display:block;font-size:.8rem;font-weight:600;color:var(--navy);margin-bottom:4px}
.form-row input,.form-row select,.form-row textarea{width:100%;padding:10px 14px;border:1px solid var(--gray-300);border-radius:var(--radius-sm);font-family:inherit;font-size:.92rem}
.form-row input:focus,.form-row select:focus,.form-row textarea:focus{outline:0;border-color:var(--orange)}
.form-msg{padding:12px 14px;border-radius:6px;font-size:.88rem;margin-bottom:12px;display:none}
.form-msg.ok{display:block;background:#e8f5ef;color:#1a7b4c}
.form-msg.err{display:block;background:#fce8e8;color:#a83232}

/* misc */
.text-center{text-align:center}

/* ===== Mobile Responsive — matched to Pencil Mobile frames ===== */

/* Mobile Apply Bar (programme page) */
.mobile-apply-bar{display:none}

@media(max-width:767px){
  section{padding:40px 0}

  /* --- Mobile Nav --- */
  .topbar{display:none!important}
  body{padding-top:64px!important}
  .nav{top:0!important}
  .nav-inner{height:64px;padding:0 20px!important}
  .nav-logo img{height:40px}
  .nav-right .btn-primary{padding:8px 16px;font-size:11px;letter-spacing:1px;border-radius:20px}
  .nav-right .btn-primary svg,.nav-right .btn-primary i{display:none}

  /* --- Mobile Hero (Homepage) --- */
  .hero{height:auto;min-height:520px;padding-bottom:24px}
  .hero-bg::after{background:linear-gradient(180deg,rgba(31,46,111,.15) 0%,rgba(31,46,111,.3) 100%)}
  .hero-inner{padding:100px 16px 40px;align-items:flex-start}
  .hero-card{max-width:358px;padding:24px;border-radius:var(--radius);gap:14px;display:flex;flex-direction:column}
  .hero-card h1{font-size:36px;line-height:.95}
  .hero-card p{font-size:13px;line-height:1.5}
  .hero-ctas{flex-direction:column;gap:8px;width:100%}
  .hero-ctas .btn{width:100%;justify-content:center}

  /* --- Mobile Quick Links --- */
  .audience{display:flex!important;background:var(--navy)}
  .audience-inner{display:grid!important;grid-template-columns:repeat(5,1fr);padding:0!important;width:100%}
  .audience a{flex-direction:column;gap:4px;padding:12px 0;font-size:9px;font-weight:600;text-align:center;color:rgba(255,255,255,.8)}
  .audience a:first-child{background:var(--orange);color:#fff;font-weight:700}
  .audience svg{width:16px;height:16px;opacity:.8}

  /* --- Mobile Stats --- */
  .stats{padding:32px 0}
  .stats .container{padding:0 20px}
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:16px}
  .stats-grid > div{background:#fff;border-radius:12px;padding:16px}
  .stat-value{font-size:clamp(1.8rem,6vw,2.4rem)}
  .stat-label{font-size:.7rem}

  /* --- Mobile Programmes — horizontal cards per Pencil --- */
  .programmes{padding:40px 0}
  .programmes .container{padding:0 20px}
  .section-heading{margin-bottom:24px}
  .section-heading .btn{display:none}
  .prog-grid{grid-template-columns:1fr;gap:16px}
  .prog-card{flex-direction:row;border-radius:12px;height:120px;overflow:hidden}
  .prog-img{width:130px;min-width:130px;height:100%}
  .prog-tag{top:8px;left:8px;font-size:.6rem;padding:3px 8px}
  .prog-body{padding:14px 16px;gap:6px;justify-content:center}
  .prog-body h3{font-size:15px}
  .prog-body h3 br{display:none}
  .prog-body .prog-desc{font-size:11px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .prog-body .learn{font-size:12px}
  .prog-view-all-mobile{display:flex!important;align-items:center;justify-content:center;gap:6px;width:100%;padding:12px 0;border:2px solid var(--navy);border-radius:24px;color:var(--navy);font-weight:700;font-size:13px;margin-top:8px}

  /* --- Mobile Experience --- */
  .experience{padding:40px 0}
  .experience .container{padding:0 20px}
  .experience .section-heading{margin-bottom:20px}
  .experience .section-heading p{display:none}
  .exp-grid{grid-template-columns:1fr;height:auto;gap:10px}
  .exp-grid .big{height:160px;grid-row:auto}
  .exp-right{grid-template-rows:auto;gap:10px;grid-row:auto}
  .exp-row{gap:10px}
  .exp-row img{height:160px;border-radius:var(--radius)}

  /* --- Mobile Why Sunway --- */
  .advantages{padding:40px 0}
  .advantages .container{padding:0 20px}
  .adv-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .adv-card{padding:20px 14px;border-radius:12px}
  .adv-icon{width:48px;height:48px;margin-bottom:10px}

  /* --- Mobile Accreditations --- */
  .accred-inner{padding:0 20px;gap:24px}
  .accred-inner img{height:28px}

  /* --- Mobile CTA Band --- */
  .cta-band{height:auto;padding:40px 24px}
  .cta-band h2{font-size:28px;line-height:1.1;letter-spacing:1px}
  .cta-band p{font-size:14px;line-height:1.5}
  .cta-buttons{flex-direction:column;gap:12px;width:100%}
  .cta-buttons .btn{width:100%;justify-content:center}

  /* --- Mobile Footer — brand + 3 link cols per Pencil --- */
  .footer{padding:32px 0 16px}
  .footer .container{padding:0 20px}
  .footer-grid{grid-template-columns:1fr!important;gap:24px}
  .footer-brand img{max-width:160px;height:50px}
  .footer-brand p{font-size:11px}
  .footer-brand .footer-contact{font-size:11px}
  .footer-brand .footer-social{gap:16px;margin-top:12px}
  .footer-brand .footer-social svg{width:20px;height:20px}
  .footer-grid > div:nth-child(5){display:none}
  .footer h4{font-size:.72rem;margin-bottom:10px}
  .footer ul a{font-size:.65rem}
  .footer ul{gap:6px}
  .footer-bottom{flex-direction:column;align-items:center;text-align:center;gap:6px;font-size:9px}
  .footer-bottom div:last-child a{margin-left:8px}

  /* --- Mobile Programme Page Hero --- */
  .prog-hero{height:320px}
  .prog-hero-inner{padding:0 16px}
  .prog-hero-card{max-width:358px;padding:20px;gap:10px;margin-top:30px}
  .prog-hero h1{font-size:32px;line-height:1;white-space:pre-line}
  .prog-hero p{font-size:12px;line-height:1.5}
  .prog-hero .tag{font-size:.62rem;padding:3px 10px;border-radius:10px}

  /* --- Mobile Key Info --- */
  .keyinfo-grid{grid-template-columns:repeat(2,1fr);padding:0 20px}
  .ki-cell{padding:16px 12px;gap:4px}
  .ki-icon svg{width:18px;height:18px}
  .ki-label{font-size:9px;letter-spacing:1.5px}
  .ki-value{font-size:12px}

  /* --- Mobile Apply Bar --- */
  .mobile-apply-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--orange);color:#fff;padding:14px 20px;margin:0;border-radius:0}
  .mobile-apply-bar .mab-label{font-weight:800;font-size:16px;color:#fff;line-height:1.2}
  .mobile-apply-bar .mab-btn{display:inline-flex;align-items:center;gap:6px;background:var(--navy);color:#fff;padding:10px 20px;border-radius:20px;font-weight:700;font-size:11px;letter-spacing:1px;white-space:nowrap}
  .mobile-apply-bar .mab-btn i{width:12px;height:12px}

  /* --- Mobile Programme Content --- */
  .prog-layout{padding:32px 0}
  .prog-layout .container{padding:0 20px;gap:24px}
  .prog-main h2{font-size:22px;margin-bottom:14px}
  .prog-main p{font-size:13px;line-height:1.7}
  .prog-features{grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}
  .pf-cell{padding:12px 8px;border-radius:10px;font-size:9px;gap:6px}
  .pf-cell svg{width:18px;height:18px}

  /* --- Mobile FAQ --- */
  .faq{margin-top:24px}
  .faq-heading h2{font-size:22px}
  .faq-q{padding:14px 16px;font-size:13px}
  .faq-a{padding:0 16px;font-size:12px}
  .faq-item.active .faq-a{padding-bottom:16px}

  /* --- Mobile Sidebar hidden --- */
  .prog-side{display:none}
}
