/* Gayo Growth English v0.4.9: ceria SMA, identitas Gayo dan navigasi bawah tanpa dropdown */
:root{
  --eg-ink:#193E53;
  --eg-body:#365166;
  --eg-muted:#587381;
  --eg-bg:#FFF9F0;
  --eg-line:#DDEAEF;
  --eg-forest:#17695C;
  --eg-forest2:#12847C;
  --eg-teal:#078E91;
  --eg-mint:#DDF9EC;
  --eg-cream:#FFF0BC;
  --eg-gold:#FFD75E;
  --eg-coral:#FF796C;
  --eg-blue:#CBF1FF;
  --eg-lavender:#E8DDFF;
  --eg-shadow:0 18px 45px rgba(43,91,112,.10);
  --eg-shadow-sm:0 9px 25px rgba(43,91,112,.085);
}
.eg-body{
  background:
    radial-gradient(ellipse at 3% 8%,rgba(255,205,88,.38),transparent 26%),
    radial-gradient(ellipse at 97% 20%,rgba(132,216,255,.37),transparent 28%),
    radial-gradient(ellipse at 8% 72%,rgba(253,166,179,.27),transparent 31%),
    radial-gradient(ellipse at 97% 85%,rgba(160,224,191,.32),transparent 27%),
    linear-gradient(165deg,#FFFBF4,#F4FCFF 48%,#FFF8F1);
  color:var(--eg-body);
}
.eg-body::before{
  background-image:url('../img/gayo-roof.png'),url('../img/gayo-border.png'),url('../img/gge-school-doodles.svg');
  background-repeat:no-repeat,no-repeat,repeat;
  background-position:right -38px top 110px,left -55px bottom 64px,center top;
  background-size:235px auto,530px auto,820px auto;
  opacity:.17;
}
.eg-body::after,.eg-top:after,.eg-footer:before{opacity:.52;height:8px;background-size:215px auto}
.eg-wrap{max-width:1260px}
.eg-top{background:rgba(255,255,255,.96);border-bottom-color:#DAEAE9}
.eg-logo .eg-logo-mark{background:#E5FAF3;border:1px solid #C6EFE2;border-radius:14px;padding:3px}
.eg-logo-copy strong{color:#185256}
.eg-nav a.is-active{background:#E1F8EC;color:#067B78}
.eg-body .eg-btn{background:#0F8B84;border-color:#0F8B84;color:white!important;box-shadow:0 8px 20px rgba(13,148,139,.18)}
.eg-body .eg-btn:hover{background:#08746E;transform:translateY(-2px)}
.eg-body .eg-btn--ghost{color:#136E72!important;background:#fff;border-color:#9ED6D3;box-shadow:none}
.eg-body .eg-btn--ghost:hover{background:#E7FBF6}
.eg-body .eg-btn--gold{color:#234F51!important;background:#FFDA64;border-color:#FFDA64;box-shadow:0 9px 24px rgba(223,163,53,.17)}
.eg-body .eg-btn--gold:hover{background:#FFD04C}
.eg-card{border:1px solid rgba(195,224,226,.9);box-shadow:0 13px 32px rgba(22,106,123,.075)}
.eg-card:hover{border-color:#9BD7D3}
.eg-iconbox{background:#DFF7EE;color:#058B82}
.eg-overline{color:#0A9193}
.eg-body .eg-pill{background:#DBF9F1;color:#08766E}
.eg-body .eg-pill.is-cream{background:#FFF0C8;color:#8A6320}
.eg-body .eg-pill.is-rose{background:#FFE1DE;color:#9D4D46}
.eg-section-head p,.eg-lead{color:#496B78}
.eg-bar i{background:linear-gradient(90deg,#0FAAA0,#58C59B)}

/* Cheerful homepage: vivid but readable */
.eg-landing-hero{
  background:
    radial-gradient(circle at 5% 12%,rgba(255,206,104,.38),transparent 28%),
    radial-gradient(circle at 100% 8%,rgba(134,219,252,.63),transparent 38%),
    linear-gradient(120deg,#FFFDF9 0%,#FFF8E9 40%,#E9FAFF 100%);
  border:2px solid #E8EEDC;
  box-shadow:0 24px 60px rgba(52,110,129,.12);
}
.eg-landing-hero:before{background:linear-gradient(180deg,#FFC94C 0 27%,#FA746B 27% 50%,#1FAE94 50% 76%,#79B8F1 76%);opacity:1}
.eg-landing-hero:after{opacity:.52;height:12px}
.eg-landing-hero .eg-hero-text h1{color:#174D60;text-wrap:balance}
.eg-landing-hero .eg-hero-text h1::selection{background:#FFE68E}
.eg-pill--eyebrow,.eg-body .eg-pill--eyebrow{background:#FFF0BE;color:#94621A;border-color:#F8D47E}
.eg-hero-benefits span{background:#FFFFFFDE;border:1px solid #DCEEE8;padding:7px 11px;border-radius:999px;color:#3B7374}
.eg-landing-hero .eg-scene{background:#BFEFF2;border:5px solid #FFFFFF;box-shadow:0 15px 37px rgba(62,151,159,.19)}
.eg-landing-hero .eg-hero-showcase:before{
  content:"";position:absolute;width:83px;height:83px;top:-33px;right:-17px;z-index:4;
  background:url('../img/gayo-roof.png') center/contain no-repeat;
  filter:drop-shadow(0 6px 2px rgba(40,60,46,.08));transform:rotate(10deg)
}
.eg-hero-floating{border:2px solid #fff;box-shadow:0 11px 29px rgba(24,82,100,.14)}
.eg-hero-floating--top{background:#FFF3C7}
.eg-hero-floating--bottom{background:#E0F9EC}
.eg-learning-scene{background:#D7F6EC}
.eg-learning-scene .eg-scene-bg{filter:saturate(1.24)}
.eg-scene-sticker{background:#FFDA66;color:#855918;border-color:#FFF5CD}
.eg-step-index{color:#B8DAD7}
.eg-journey-grid .eg-step{border-width:2px;transition:transform .2s ease,box-shadow .2s ease}
.eg-journey-grid .eg-step:hover{transform:translateY(-4px);box-shadow:var(--eg-shadow)}
.eg-journey-grid .eg-step:nth-child(1){background:#E6FAF6;border-color:#BCEEE4}
.eg-journey-grid .eg-step:nth-child(2){background:#FFF5D7;border-color:#F8E3A8}
.eg-journey-grid .eg-step:nth-child(3){background:#FFE9E3;border-color:#FFCFC5}
.eg-journey-grid .eg-step:nth-child(4){background:#F0E9FF;border-color:#DACBFF}
.eg-journey-grid .eg-step:nth-child(5){background:#E8F6FF;border-color:#C7E8FF}
.eg-journey-grid .eg-step:nth-child(1) .eg-step-index{color:#A8E2D6}
.eg-journey-grid .eg-step:nth-child(2) .eg-step-index{color:#F2DEAA}
.eg-journey-grid .eg-step:nth-child(3) .eg-step-index{color:#F5C9BD}
.eg-journey-grid .eg-step:nth-child(4) .eg-step-index{color:#D5C8EF}
.eg-journey-grid .eg-step:nth-child(5) .eg-step-index{color:#BFDFF6}
.eg-feature-main{background:linear-gradient(128deg,#116B80,#0F9C98);box-shadow:var(--eg-shadow);border:2px solid rgba(255,255,255,.35)}
.eg-feature-main:after{opacity:.26;right:12px;bottom:0;width:240px;height:240px}
.eg-feature-cards .eg-feature-card:nth-child(1){background:#FFF1CF;border-color:#FBE2AA}
.eg-feature-cards .eg-feature-card:nth-child(2){background:#E8F8F1;border-color:#BCE9DB}
.eg-feature-cards .eg-feature-card:nth-child(3){background:#E9E9FF;border-color:#D6D2F8}
.eg-feature-cards .eg-feature-card:nth-child(1) .eg-iconbox{background:#FFE3A0;color:#B67711}
.eg-feature-cards .eg-feature-card:nth-child(2) .eg-iconbox{background:#C9F0E2;color:#188371}
.eg-feature-cards .eg-feature-card:nth-child(3) .eg-iconbox{background:#D9D7FF;color:#6B58B8}
.eg-culture-panel{border:2px solid #F2E2B6;background:linear-gradient(115deg,#FFF2D6,#FFFDF2)}
.eg-culture-art{background:linear-gradient(140deg,#0E8286,#15505E)}
.eg-culture-art:after{background:radial-gradient(circle at 50% 45%,rgba(255,225,126,.26),transparent 65%)}
.eg-culture-art>img{width:min(79%,295px);filter:drop-shadow(0 14px 10px rgba(0,26,31,.35))}
.eg-culture-band{opacity:.78}
.eg-trust-intro{background:#E7F8FA}
.eg-trust-grid>.eg-trust-item:nth-child(2){background:#F0EFFF}
.eg-trust-grid>.eg-trust-item:nth-child(3){background:#FFF0EC}

/* Student dashboard: colorful blocks and friendly feedback */
.eg-student-hero{
  background:radial-gradient(circle at 95% 2%,rgba(137,219,255,.64),transparent 33%),linear-gradient(117deg,#FFF5D9,#FFFDF6 46%,#E7F9EE);
  border:2px solid #FAE8BE;
  box-shadow:0 20px 42px rgba(64,114,128,.11)
}
.eg-student-hero .eg-hero-text h1{color:#1B5568}
.eg-student-hero:before{opacity:.20;width:135px;height:135px}
.eg-student-hero:after{opacity:.63;height:11px}
.eg-student-hero .eg-scene{background:#C8F1F4;border:4px solid white;border-radius:25px}
.eg-student-quicklinks a{background:#fff;border:2px solid #BDE9E2;color:#137B7B;border-radius:13px;box-shadow:0 5px 14px rgba(24,90,105,.065)}
.eg-student-quicklinks a:nth-child(2){background:#FFF5D7;border-color:#F5DCA6;color:#87601F}
.eg-student-quicklinks a:nth-child(3){background:#F0E8FF;border-color:#DACBFC;color:#7557A9}
.eg-continue-feature{background:linear-gradient(116deg,#12758A,#1AA99A);border:2px solid #9FE7DE}
.eg-student-stat{border-width:2px;box-shadow:0 10px 22px rgba(32,94,111,.065)}
.eg-student-stat--coral{background:#FFEAE5;border-color:#FFC5BB}
.eg-student-stat--mint{background:#DCF8E9;border-color:#ACEAD1}
.eg-student-stat--gold{background:#FFF1C9;border-color:#F5D98D}
.eg-student-stat--blue{background:#DFF4FF;border-color:#B7E3FD}
.eg-student-journey .eg-phase:nth-child(1){background:#E9F9F3;border-color:#C7EBDD}
.eg-student-journey .eg-phase:nth-child(2){background:#FFF3D7;border-color:#F2DFAE}
.eg-student-journey .eg-phase:nth-child(3){background:#FFE9E5;border-color:#F2C7BE}
.eg-student-journey .eg-phase:nth-child(4){background:#F0EAFC;border-color:#DDCFF5}
.eg-student-journey .eg-phase:nth-child(5){background:#E6F5FF;border-color:#C3E6F8}
.eg-student-journey .eg-phase.is-now{outline:2px solid #DEAA37;outline-offset:1px}
.eg-units-panel{background:#FFFFFFEE}
.eg-extra-card--culture{background:#FFF0CE;border-color:#F1D69B}
.eg-extra-card--museum{background:#E1F7FA;border-color:#B6E5EC}
.eg-unitcard:nth-child(5n + 1){background:#E9F9F4}
.eg-unitcard:nth-child(5n + 2){background:#FFF5DE}
.eg-unitcard:nth-child(5n + 3){background:#F2EFFF}
.eg-unitcard:nth-child(5n + 4){background:#FDE9E4}
.eg-unitcard:nth-child(5n){background:#E9F4FF}

/* Teacher dashboards: inviting but structured */
.eg-staff{background:linear-gradient(135deg,#F0F8FF,#FFF8F0 56%,#F0FCF7)}
.eg-sidebar{background:linear-gradient(160deg,#0D5C6F,#13786F)}
.eg-teacher-banner{background:linear-gradient(112deg,#116B83,#168C84 78%,#22999C);box-shadow:0 17px 33px rgba(28,99,117,.17)}
.eg-teacher-banner:after{opacity:.21}
.eg-teacher-stat{border-width:2px}
.eg-teacher-stat--mint{background:#E4F9EE;border-color:#C5ECDA}
.eg-teacher-stat--blue{background:#E5F6FF;border-color:#C8EAFB}
.eg-teacher-stat--gold{background:#FFF4D8;border-color:#F5DEAB}
.eg-teacher-stat--coral{background:#FFEDE9;border-color:#F9D3CB}
.eg-teacher-insight{background:#FFF1CB;border-color:#F1D89A}
.eg-table th{background:#E5F6F4}
.eg-footer{background:rgba(255,255,255,.92)}

/* The login CTA replaces the old public hamburger; on desktop it stays in nav. */
.eg-mobile-student-login,.eg-public-bottom,.eg-staff-swipe-hint{display:none}
.eg-mobile-student-login{align-items:center;gap:7px;justify-content:center;min-height:42px;min-width:108px;padding:9px 12px;text-decoration:none;color:#fff!important;background:#087F84;border-radius:13px;font-size:12px;font-weight:800;box-shadow:0 8px 20px rgba(6,124,124,.22)}
.eg-mobile-student-login:hover{color:#fff!important;background:#075F69}
.eg-landing-path{scroll-margin-top:105px}

@media(max-width:820px){
  /* Public: no dropdown, every public link stays on bottom navigation. */
  .eg-top-public .eg-nav-public,.eg-top-public .eg-nav-public.is-open{display:none!important}
  .eg-top-public .eg-top-row{grid-template-columns:minmax(0,1fr) auto}
  .eg-mobile-student-login{display:inline-flex;grid-column:2;grid-row:1;white-space:nowrap}
  .eg-public-bottom{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;position:fixed;left:0;right:0;bottom:0;z-index:80;padding:8px 7px calc(9px + env(safe-area-inset-bottom));border-top:2px solid #B8E9E1;background:rgba(255,255,255,.98);box-shadow:0 -10px 30px rgba(15,93,112,.13);backdrop-filter:blur(14px)}
  .eg-public-bottom a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:51px;padding:6px 1px;text-align:center;border-radius:12px;text-decoration:none;font-size:10px;line-height:1.2;font-weight:800;color:#476A76}
  .eg-public-bottom a svg{width:21px;height:21px}
  .eg-public-bottom a.is-active,.eg-public-bottom a[aria-current="page"]{background:#DDF8F0;color:#07857D}
  .eg-public-bottom a:focus-visible,.eg-mobile-student-login:focus-visible{outline:3px solid #D59A20;outline-offset:2px}
  .eg-body:has(.eg-public-bottom) .eg-footer{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
  .eg-body:has(.eg-public-bottom) .eg-main{padding-bottom:42px}
  .eg-landing-path{scroll-margin-top:95px}
  /* Staff: swipeable lower tab row, never a dropdown */
  .eg-staff .eg-sidebar{position:sticky;top:0;z-index:43;background:linear-gradient(90deg,#0F6271,#15847D);padding:12px 18px;min-height:0;overflow:visible}
  .eg-staff .eg-sidebar .eg-staff-sidebar-head{justify-content:flex-start}
  .eg-staff .eg-sidebar .eg-sidebar-sub{margin:6px 0 0;font-size:11px}
  .eg-staff-swipe-hint{display:inline;color:#D1F3E7;font-weight:600}
  .eg-staff .eg-sidebar nav,.eg-staff .eg-sidebar nav.is-open{display:flex!important;position:fixed;left:0;right:0;top:auto;bottom:0;width:100%;height:calc(75px + env(safe-area-inset-bottom));max-height:none;min-height:0;margin:0;padding:7px 8px calc(8px + env(safe-area-inset-bottom));gap:5px;flex-direction:row;flex-wrap:nowrap;align-items:stretch;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#70C6B8 transparent;border-top:2px solid #C5F3E7;background:rgba(15,100,111,.98);box-shadow:0 -8px 30px rgba(13,73,82,.21);z-index:90;-webkit-overflow-scrolling:touch}
  .eg-staff .eg-sidebar nav a{flex:0 0 88px;min-width:88px;max-width:105px;height:56px;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:5px;text-align:center;white-space:normal;overflow-wrap:anywhere;line-height:1.15;font-size:10px;letter-spacing:0;font-weight:750;color:#E4FFF8!important;border-radius:11px;scroll-snap-align:start}
  .eg-staff .eg-sidebar nav a svg{width:20px;height:20px}
  .eg-staff .eg-sidebar nav a.is-active{color:#214B52!important;background:#FFE08B}
  .eg-staff .eg-sidebar nav a:hover{background:rgba(255,255,255,.15)}
  .eg-staff .eg-sidebar nav a.is-active:hover{background:#FFE08B}
  .eg-staff .eg-staff-main{padding-bottom:calc(108px + env(safe-area-inset-bottom))}
}
@media(max-width:760px){
  .eg-body::before{background-position:right -26px top 120px,left -85px bottom 130px,center top;background-size:148px auto,285px auto,620px auto;opacity:.19}
  .eg-landing-hero{background:radial-gradient(circle at 100% 0,rgba(140,221,255,.55),transparent 50%),linear-gradient(130deg,#FFF6DC,#FFFDF8 55%,#E5FBF9)}
  .eg-student-hero{background:radial-gradient(circle at 100% 0,rgba(164,227,255,.55),transparent 55%),linear-gradient(132deg,#FFF0CB,#FFFDF5 58%,#E5FAF1)}
  .eg-journey-grid .eg-step{min-height:185px}
  /* Student: seven links, 4+3 always visible; no "more" control or overlay */
  .eg-tabbar.eg-tabbar-all{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:49px;gap:3px 4px;justify-content:initial;align-items:stretch;position:fixed;left:0;right:0;bottom:0;z-index:85;padding:6px 7px calc(8px + env(safe-area-inset-bottom));border-top:2px solid #B9E8E1;background:rgba(255,255,255,.985);box-shadow:0 -10px 30px rgba(11,97,115,.13)}
  .eg-tabbar.eg-tabbar-all a{grid-column:span 3;min-width:0;max-width:none;min-height:0;height:49px;padding:3px 1px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:10px;line-height:1.14;color:#57727E!important;border-radius:10px}
  .eg-tabbar.eg-tabbar-all a:nth-child(n+5){grid-column:span 4}
  .eg-tabbar.eg-tabbar-all a.is-active{background:#DDF9F0;color:#087F78!important}
  .eg-tabbar.eg-tabbar-all a svg{width:18px;height:18px}
  .eg-tabbar.eg-tabbar-all.is-short{grid-auto-rows:55px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .eg-tabbar.eg-tabbar-all.is-short a,.eg-tabbar.eg-tabbar-all.is-short a:nth-child(n+5){grid-column:auto;height:55px}
  .eg-screen-app .eg-footer{padding-bottom:calc(128px + env(safe-area-inset-bottom))}
  .eg-screen-app .eg-main{padding-bottom:calc(36px + env(safe-area-inset-bottom))}
  .eg-body .eg-login,.eg-body .eg-narrowcard{border:2px solid #C5E9E2}
}
@media(max-width:400px){
  .eg-logo-copy strong{font-size:12px}
  .eg-logo-copy small{font-size:6.7px}
  .eg-mobile-student-login{padding:8px 9px;font-size:11px;min-width:101px}
  .eg-mobile-student-login svg{width:15px;height:15px}
  .eg-tabbar.eg-tabbar-all a{font-size:9px}
  .eg-public-bottom a{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.eg-journey-grid .eg-step{transition:none!important}}
/* Maintain accessible contrast within deep accent cards. */
.eg-body .eg-darkcard h2,.eg-body .eg-feature-main h2,.eg-body .eg-teacher-banner h2{color:#fff}
.eg-body .eg-darkcard p,.eg-body .eg-feature-main p{color:#E8FBF5}
.eg-body .eg-teacher-banner p{color:#E8F9F4}
