
:root {
  --blue:#073c91; --deep:#061949; --red:#d91f2d; --gold:#ffc928; --green:#17a36f;
  --bg:#f5f8ff; --card:#ffffff; --text:#10254d; --muted:#657796; --line:#e4ebff;
  --shadow:0 18px 45px rgba(4,24,82,.14);
}
[data-theme="dark"] {
  --bg:#071120; --card:#0d1b33; --text:#f4f7ff; --muted:#b9c7e2; --line:#263d69;
  --deep:#020819; --shadow:0 18px 45px rgba(0,0,0,.42);
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; font-family:Arial, Helvetica, sans-serif; background:var(--bg); color:var(--text); }
a { color:inherit; text-decoration:none; }
img { max-width:100%; }
.topbar { background:linear-gradient(90deg,var(--deep),var(--blue)); color:#fff; font-size:14px; font-weight:800; }
.topbar__inner { display:flex; gap:22px; flex-wrap:wrap; justify-content:center; padding:9px 4%; align-items:center; }
.socials a { background:#ffffff18; border:1px solid #ffffff55; border-radius:999px; padding:6px 12px; }
.navbar { position:sticky; top:0; z-index:50; display:flex; align-items:center; gap:14px; padding:12px 5%; background:rgba(255,255,255,.95); backdrop-filter:blur(12px); box-shadow:0 5px 25px rgba(0,0,0,.12); }
[data-theme="dark"] .navbar { background:rgba(13,27,51,.94); }
.brand { display:flex; align-items:center; gap:12px; margin-right:auto; }
.brand img { width:72px; height:72px; object-fit:cover; border-radius:50%; border:3px solid #fff; box-shadow:0 4px 12px #0002; }
.brand strong { display:block; color:var(--blue); font-size:31px; letter-spacing:.5px; }
.brand small { display:block; color:var(--red); font-weight:900; text-transform:uppercase; }
.navlinks { display:flex; gap:16px; align-items:center; font-weight:900; font-size:14px; color:var(--blue); }
.navlinks a { padding:10px 2px; border-bottom:3px solid transparent; white-space:nowrap; }
.navlinks a:hover,.navlinks a.active { color:var(--red); border-bottom-color:var(--red); }
.menu-btn,.theme-toggle { border:0; border-radius:12px; background:var(--blue); color:#fff; padding:9px 12px; font-size:22px; cursor:pointer; }
.menu-btn { display:none; }
.nav-cta,.btn { display:inline-flex; justify-content:center; align-items:center; border:0; border-radius:999px; background:var(--red); color:#fff; font-weight:900; padding:14px 22px; box-shadow:0 12px 24px rgba(217,31,45,.25); cursor:pointer; }
.btn.blue { background:var(--blue); }
.btn.gold { background:var(--gold); color:#061949; }
.btn.green { background:var(--green); }
.hero { min-height:760px; display:grid; place-items:center; text-align:center; color:#fff; position:relative; overflow:hidden; }
.hero-slide { position:absolute; inset:0; background-size:cover; background-position:center; opacity:0; animation:fade 18s infinite; transform:scale(1.04); }
.hero-slide:nth-child(1) { background-image:linear-gradient(#06194999,#061949a8),url('assets/hero-1.png'); animation-delay:0s; }
.hero-slide:nth-child(2) { background-image:linear-gradient(#06194999,#061949a8),url('assets/contact-bg.png'); animation-delay:6s; }
.hero-slide:nth-child(3) { background-image:linear-gradient(#06194999,#061949a8),url('assets/bulletin-bg.png'); animation-delay:12s; }
@keyframes fade { 0%,34%{opacity:1} 40%,100%{opacity:0} }
.hero:after { content:""; position:absolute; left:-10%; right:-10%; bottom:-70px; height:150px; background:var(--bg); border-radius:50% 50% 0 0/100% 100% 0 0; }
.hero-content { position:relative; z-index:2; max-width:1180px; padding:38px; }
.hero-logo { width:135px; height:135px; border-radius:50%; object-fit:cover; background:#fff; padding:7px; box-shadow:0 14px 35px #0006; }
.kicker { display:inline-block; margin:18px 0; padding:10px 18px; border:1px solid #ffffff55; background:#ffffff22; border-radius:999px; font-weight:900; }
.hero h1 { font-size:clamp(56px,9vw,136px); line-height:.88; margin:0; text-shadow:0 8px 25px #0009; }
.hero h2 { font-size:clamp(30px,4vw,60px); color:var(--gold); margin:8px 0; }
.devise { font-family:cursive; font-size:clamp(25px,3.4vw,48px); margin:14px 0 28px; }
.hero-actions { display:flex; justify-content:center; gap:16px; flex-wrap:wrap; }
.section { padding:82px 6%; }
.white { background:var(--card); }
.title { text-align:center; font-size:clamp(34px,4vw,54px); color:var(--blue); margin:0 0 16px; }
.title span { color:var(--red); }
.subtitle { text-align:center; max-width:900px; margin:0 auto 38px; line-height:1.75; color:var(--muted); font-size:18px; }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(245px,1fr)); gap:24px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:28px; padding:30px; box-shadow:var(--shadow); transition:.25s; }
.card:hover { transform:translateY(-8px); }
.icon { font-size:42px; width:72px; height:72px; display:grid; place-items:center; background:#eef3ff; border-radius:22px; margin-bottom:12px; }
.two { display:grid; grid-template-columns:1fr 1.1fr; gap:38px; align-items:center; }
.two img,.photo-card img { width:100%; border-radius:28px; box-shadow:var(--shadow); object-fit:cover; }
.mosaic { display:grid; grid-template-columns:1.1fr 1fr 1fr; gap:12px; }
.mosaic img { width:100%; height:210px; object-fit:cover; border-radius:18px; box-shadow:var(--shadow); }
.mosaic img:first-child { grid-row:span 2; height:432px; }
.stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); margin-top:35px; border-radius:30px; overflow:hidden; background:linear-gradient(135deg,var(--blue),var(--red)); color:#fff; box-shadow:var(--shadow); }
.stat { text-align:center; padding:28px; border-right:1px solid #ffffff40; }
.stat strong { display:block; font-size:42px; }
.page-hero { padding:120px 6%; text-align:center; color:#fff; background:linear-gradient(#061949bb,#061949bb),url('assets/hero-1.png') center/cover; }
.page-hero h1 { font-size:clamp(42px,6vw,78px); margin:0; }
.page-hero p { font-size:21px; }
.tabs { display:flex; justify-content:center; gap:12px; flex-wrap:wrap; margin-bottom:30px; }
.tab-btn { border:0; background:var(--card); color:var(--blue); padding:15px 22px; border-radius:999px; font-weight:900; box-shadow:0 8px 22px #0001; cursor:pointer; }
.tab-btn.active { background:var(--blue); color:#fff; }
.tab-panel { display:none; }
.tab-panel.active { display:block; }
.form { max-width:1100px; margin:auto; background:var(--card); border-radius:32px; box-shadow:var(--shadow); padding:34px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form input,.form select,.form textarea { width:100%; border:1px solid #d8e0f6; border-radius:16px; padding:16px; font-size:16px; background:var(--card); color:var(--text); }
.form textarea { min-height:130px; grid-column:1/-1; }
.notice { display:none; margin-top:18px; background:#eafff5; color:#0e5d40; border-left:6px solid var(--green); padding:16px; border-radius:14px; font-weight:800; }
.gallery { display:grid; grid-template-columns:repeat(auto-fit,minmax(235px,1fr)); gap:18px; }
.gallery img { width:100%; height:235px; object-fit:cover; border-radius:22px; box-shadow:var(--shadow); cursor:pointer; transition:.25s; }
.gallery img:hover { transform:scale(1.03); }
.modal { display:none; position:fixed; z-index:100; inset:0; background:#000d; align-items:center; justify-content:center; padding:35px; }
.modal img { max-width:94%; max-height:86vh; border-radius:20px; }
.close { position:absolute; right:35px; top:20px; color:#fff; font-size:48px; cursor:pointer; }
.news,.dashboard-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:24px; }
.date { color:var(--red); font-weight:900; }
.timeline { max-width:950px; margin:auto; }
.event { display:grid; grid-template-columns:135px 1fr; gap:18px; margin-bottom:18px; }
.month { background:var(--blue); color:#fff; border-radius:22px; padding:18px; text-align:center; font-weight:900; }
.body { background:var(--card); border-radius:22px; padding:22px; box-shadow:var(--shadow); }
.table-wrap { overflow:auto; background:var(--card); border-radius:24px; box-shadow:var(--shadow); }
table { width:100%; border-collapse:collapse; min-width:700px; }
th,td { padding:15px; border-bottom:1px solid var(--line); text-align:left; }
th { background:var(--blue); color:#fff; }
.hidden { display:none!important; }
.login-box { max-width:480px; }
.badge { display:inline-block; padding:6px 12px; border-radius:999px; background:#eef3ff; color:var(--blue); font-weight:900; }
.download { display:flex; justify-content:space-between; gap:14px; align-items:center; }
.map { height:340px; border-radius:28px; box-shadow:var(--shadow); background:linear-gradient(#073c91cc,#073c91cc),url('assets/contact-bg.png') center/cover; display:grid; place-items:center; color:#fff; text-align:center; padding:25px; }
.footer { display:grid; grid-template-columns:1.2fr 1fr 1fr 1fr; gap:28px; background:var(--deep); color:#fff; padding:52px 6%; }
.footer-logo { width:88px; height:88px; border-radius:50%; object-fit:cover; }
.footer a { display:block; margin:8px 0; }
.copyright { text-align:center; background:#03143d; color:#fff; padding:15px; }
.floating-whatsapp,.to-top { position:fixed; right:18px; z-index:70; border:0; }
.floating-whatsapp { bottom:84px; background:var(--green); color:#fff; border-radius:999px; padding:14px 18px; font-weight:900; box-shadow:0 12px 25px #0004; }
.to-top { display:none; bottom:22px; background:var(--red); color:#fff; width:48px; height:48px; border-radius:50%; font-size:24px; cursor:pointer; }
.reveal { opacity:0; transform:translateY(28px); transition:.7s; }
.reveal.show { opacity:1; transform:none; }
@media(max-width:1180px) {
  .menu-btn { display:block; }
  .nav-cta { display:none; }
  .navlinks { display:none; position:absolute; left:0; right:0; top:96px; background:var(--card); flex-direction:column; padding:22px; box-shadow:0 18px 25px #0002; }
  .navlinks.open { display:flex; }
}
@media(max-width:760px) {
  .topbar { display:none; }
  .brand strong { font-size:23px; }
  .brand img { width:58px; height:58px; }
  .navbar { padding:10px 4%; }
  .hero { min-height:650px; }
  .two,.footer,.form-grid { grid-template-columns:1fr; }
  .section { padding:60px 5%; }
  .event { grid-template-columns:1fr; }
  .mosaic { grid-template-columns:1fr; }
  .mosaic img,.mosaic img:first-child { height:240px; grid-row:auto; }
}


/* ===== Premium v2 upgrades ===== */
.announcement-bar{
  background:linear-gradient(90deg,#d91f2d,#ffc928);
  color:#061949;
  font-weight:900;
  text-align:center;
  padding:10px 16px;
}
.quick-actions{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
  margin-top:28px;
}
.quick-action{
  background:var(--card);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  border-radius:24px;
  padding:22px;
  display:flex;
  align-items:center;
  gap:14px;
}
.quick-action span{font-size:34px}
.portal-shell{
  max-width:1180px;
  margin:auto;
  display:grid;
  grid-template-columns:280px 1fr;
  gap:24px;
}
.portal-menu{
  background:var(--card);
  border-radius:26px;
  padding:18px;
  box-shadow:var(--shadow);
  border:1px solid var(--line);
}
.portal-menu button{
  width:100%;
  text-align:left;
  border:0;
  border-radius:16px;
  background:transparent;
  padding:14px;
  font-weight:900;
  color:var(--blue);
  cursor:pointer;
}
.portal-menu button.active{background:#eef3ff}
.portal-panel{
  background:var(--card);
  border-radius:26px;
  padding:28px;
  box-shadow:var(--shadow);
  border:1px solid var(--line);
}
.cms-list{
  display:grid;
  gap:14px;
}
.cms-item{
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
}
.lang-switch{
  position:fixed;
  left:18px;
  bottom:22px;
  z-index:70;
  background:var(--blue);
  color:#fff;
  border-radius:999px;
  padding:12px 16px;
  border:0;
  font-weight:900;
  box-shadow:0 12px 25px #0004;
}
.toast{
  position:fixed;
  left:50%;
  bottom:28px;
  transform:translateX(-50%);
  background:#061949;
  color:#fff;
  padding:14px 22px;
  border-radius:999px;
  box-shadow:0 12px 25px #0005;
  display:none;
  z-index:90;
}
@media(max-width:800px){
  .portal-shell{grid-template-columns:1fr}
}


/* ===== Digital School Platform Upgrade ===== */
.platform-hero{
  background:linear-gradient(135deg,#061949,#073c91 55%,#d91f2d);
  color:white;
  padding:90px 6%;
  text-align:center;
}
.platform-hero h1{font-size:clamp(42px,7vw,86px);margin:0 0 14px}
.platform-hero p{font-size:20px;max-width:860px;margin:0 auto 28px;line-height:1.7}
.portal-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow);
  padding:28px;
}
.portal-card h3{color:var(--blue)}
.login-demo{
  max-width:520px;
  margin:24px auto 0;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.35);
  border-radius:26px;
  padding:24px;
}
.login-demo input,.login-demo select{
  width:100%;
  padding:15px;
  border-radius:14px;
  border:0;
  margin:8px 0;
}
.dashboard{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:24px;
}
.dash-menu{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:26px;
  box-shadow:var(--shadow);
  padding:18px;
}
.dash-menu button{
  width:100%;
  border:0;
  background:transparent;
  padding:14px;
  border-radius:16px;
  font-weight:900;
  color:var(--blue);
  text-align:left;
  cursor:pointer;
}
.dash-menu button.active{background:#eef3ff}
.dash-panel{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:26px;
  box-shadow:var(--shadow);
  padding:28px;
}
.grade{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid var(--line);
  padding:12px 0;
}
.grade strong{color:var(--blue)}
.progress{
  height:12px;
  background:#e8eeff;
  border-radius:999px;
  overflow:hidden;
}
.progress span{
  display:block;
  height:100%;
  background:linear-gradient(90deg,var(--blue),var(--red));
}
.lang-box{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
}
.receipt{
  border:2px dashed var(--blue);
  border-radius:22px;
  padding:22px;
  background:var(--card);
}
@media(max-width:850px){.dashboard{grid-template-columns:1fr}}


/* ===== Full School System Upgrade ===== */
.system-hero{
  background:linear-gradient(135deg,#061949,#073c91 52%,#d91f2d);
  color:white;
  padding:92px 6%;
  text-align:center;
}
.system-hero h1{font-size:clamp(40px,7vw,88px);margin:0 0 12px}
.system-hero p{max-width:900px;margin:0 auto 26px;font-size:20px;line-height:1.7}
.system-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:22px;
}
.system-card{
  background:var(--card);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  border-radius:28px;
  padding:28px;
  min-height:190px;
}
.system-card .big-icon{font-size:48px;margin-bottom:12px}
.panel-layout{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:270px 1fr;
  gap:24px;
}
.side-panel{
  background:var(--card);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  border-radius:26px;
  padding:18px;
}
.side-panel button{
  width:100%;
  border:0;
  background:transparent;
  color:var(--blue);
  font-weight:900;
  padding:14px;
  border-radius:16px;
  text-align:left;
  cursor:pointer;
}
.side-panel button.active{background:#eef3ff}
.main-panel{
  background:var(--card);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  border-radius:26px;
  padding:30px;
}
.kpi-row{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:16px;
}
.kpi{
  background:linear-gradient(135deg,var(--blue),var(--red));
  color:white;
  border-radius:22px;
  padding:20px;
}
.kpi strong{display:block;font-size:30px}
.mini-table{
  width:100%;
  border-collapse:collapse;
  margin-top:14px;
}
.mini-table th,.mini-table td{
  padding:12px;
  border-bottom:1px solid var(--line);
  text-align:left;
}
.exam-question{
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  margin:14px 0;
}
.library-search{
  width:100%;
  padding:16px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--card);
  color:var(--text);
  margin-bottom:22px;
}
.certificate-preview{
  background:white;
  color:#10254d;
  border:10px solid #073c91;
  border-radius:22px;
  padding:34px;
  text-align:center;
  box-shadow:var(--shadow);
}
@media(max-width:850px){
  .panel-layout{grid-template-columns:1fr}
}


/* ===== Next Generation Platform ===== */
.next-hero{
  background:
    radial-gradient(circle at 20% 15%, rgba(255,201,40,.35), transparent 25%),
    radial-gradient(circle at 85% 20%, rgba(217,31,45,.36), transparent 28%),
    linear-gradient(135deg,#061949,#073c91 58%,#d91f2d);
  color:white;
  padding:98px 6%;
  text-align:center;
  overflow:hidden;
}
.next-hero h1{font-size:clamp(42px,7vw,92px);margin:0 0 14px}
.next-hero p{max-width:920px;margin:0 auto 26px;font-size:20px;line-height:1.75}
.feature-band{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
  margin-top:32px;
}
.feature-pill{
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.34);
  border-radius:24px;
  padding:18px;
  font-weight:900;
}
.app-frame{
  max-width:390px;
  margin:auto;
  background:#111827;
  border-radius:42px;
  padding:14px;
  box-shadow:0 30px 70px rgba(0,0,0,.35);
}
.app-screen{
  background:var(--bg);
  color:var(--text);
  border-radius:32px;
  overflow:hidden;
  min-height:640px;
}
.app-top{
  background:linear-gradient(135deg,var(--blue),var(--red));
  color:white;
  padding:28px 22px;
}
.app-card{
  background:var(--card);
  margin:16px;
  border-radius:22px;
  padding:18px;
  box-shadow:var(--shadow);
}
.app-bottom{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  position:sticky;
  bottom:0;
  background:var(--card);
  border-top:1px solid var(--line);
}
.app-bottom a{
  padding:14px 6px;
  text-align:center;
  font-size:12px;
  font-weight:900;
  color:var(--blue);
}
.ai-box{
  max-width:980px;
  margin:auto;
  background:var(--card);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  border-radius:30px;
  padding:28px;
}
.chat-window{
  min-height:280px;
  max-height:420px;
  overflow:auto;
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px;
  background:var(--bg);
  margin-bottom:18px;
}
.msg{
  max-width:78%;
  padding:12px 16px;
  border-radius:18px;
  margin:10px 0;
  line-height:1.5;
}
.msg.bot{background:#eef3ff;color:#10254d}
.msg.user{background:var(--blue);color:white;margin-left:auto}
.report-card{
  background:white;
  color:#10254d;
  border:3px solid #073c91;
  border-radius:22px;
  padding:28px;
  box-shadow:var(--shadow);
}
.report-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border-bottom:3px solid #073c91;
  padding-bottom:12px;
  margin-bottom:18px;
}
.report-head img{width:72px;height:72px;border-radius:50%;object-fit:cover}
.attendance-grid{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:8px;
}
.day{
  border-radius:12px;
  padding:12px;
  text-align:center;
  background:#eef3ff;
  font-weight:900;
}
.day.present{background:#eafff5;color:#0e5d40}
.day.absent{background:#ffe8ea;color:#9b1520}
.notification-card{
  border-left:7px solid var(--blue);
  background:var(--card);
  border-radius:18px;
  padding:18px;
  box-shadow:var(--shadow);
}
.print-btn{margin-top:18px}
@media print{
  .navbar,.footer,.floating-whatsapp,.to-top,.print-btn{display:none!important}
  .section{padding:0}
  body{background:white}
}


/* ===== Bilingual School Upgrade ===== */
.bilingual-hero{
  background:
    radial-gradient(circle at 15% 20%, rgba(255,201,40,.34), transparent 26%),
    radial-gradient(circle at 88% 22%, rgba(217,31,45,.36), transparent 28%),
    linear-gradient(135deg,#061949,#073c91 56%,#d91f2d);
  color:white;
  text-align:center;
  padding:96px 6%;
}
.bilingual-hero h1{font-size:clamp(42px,7vw,90px);margin:0 0 14px}
.bilingual-hero p{font-size:20px;line-height:1.75;max-width:920px;margin:0 auto 26px}
.lang-course-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:24px;
}
.course-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:30px;
  box-shadow:var(--shadow);
  padding:32px;
  position:relative;
  overflow:hidden;
}
.course-card:before{
  content:"";
  position:absolute;
  right:-40px;
  top:-40px;
  width:140px;
  height:140px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--gold),var(--red));
  opacity:.22;
}
.course-card .course-icon{font-size:52px;margin-bottom:12px}
.course-card h2{color:var(--blue);font-size:32px}
.bilingual-badge{
  display:inline-block;
  background:var(--gold);
  color:#061949;
  border-radius:999px;
  padding:8px 14px;
  font-weight:900;
  margin-bottom:16px;
}
.word-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:14px;
}
.word-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:20px;
  padding:18px;
  box-shadow:var(--shadow);
}
.word-card b{color:var(--blue)}
.lesson-box{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow);
  padding:28px;
}
.lesson-row{
  display:flex;
  justify-content:space-between;
  gap:16px;
  border-bottom:1px solid var(--line);
  padding:14px 0;
}
.lesson-row:last-child{border-bottom:0}


/* ===== Complete School Ecosystem Upgrade ===== */
.ecosystem-hero{
  background:
    radial-gradient(circle at 15% 20%, rgba(255,201,40,.34), transparent 26%),
    radial-gradient(circle at 88% 22%, rgba(217,31,45,.36), transparent 28%),
    linear-gradient(135deg,#061949,#073c91 56%,#d91f2d);
  color:white;
  padding:100px 6%;
  text-align:center;
}
.ecosystem-hero h1{font-size:clamp(42px,7vw,92px);margin:0 0 14px}
.ecosystem-hero p{font-size:20px;line-height:1.75;max-width:940px;margin:0 auto 28px}
.eco-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:22px;
}
.eco-card{
  background:var(--card);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  border-radius:30px;
  padding:30px;
  transition:.25s;
}
.eco-card:hover{transform:translateY(-8px)}
.eco-card .eco-icon{font-size:52px;margin-bottom:12px}
.eco-card h3{color:var(--blue)}
.account-shell{
  max-width:1180px;
  margin:auto;
  display:grid;
  grid-template-columns:280px 1fr;
  gap:24px;
}
.account-menu{
  background:var(--card);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  border-radius:26px;
  padding:18px;
}
.account-menu button{
  width:100%;
  border:0;
  border-radius:16px;
  padding:14px;
  text-align:left;
  font-weight:900;
  color:var(--blue);
  background:transparent;
  cursor:pointer;
}
.account-menu button.active{background:#eef3ff}
.account-panel{
  background:var(--card);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  border-radius:26px;
  padding:30px;
}
.form-compact{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:14px;
}
.form-compact input,.form-compact select,.form-compact textarea{
  width:100%;
  padding:15px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--card);
  color:var(--text);
}
.form-compact textarea{grid-column:1/-1;min-height:110px}
.record-list{display:grid;gap:14px;margin-top:20px}
.record{
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  background:var(--bg);
}
.finance-row{
  display:flex;
  justify-content:space-between;
  gap:14px;
  border-bottom:1px solid var(--line);
  padding:12px 0;
}
.finance-row:last-child{border-bottom:0}
.app-badges{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;margin-top:22px}
.app-badge{
  background:#111827;
  color:white;
  border-radius:16px;
  padding:14px 20px;
  font-weight:900;
}
.notification-preview{
  background:var(--card);
  border-left:8px solid var(--green);
  border-radius:18px;
  padding:18px;
  box-shadow:var(--shadow);
  margin-top:18px;
}
@media(max-width:850px){
  .account-shell{grid-template-columns:1fr}
}


/* ===== Subject Search Upgrade ===== */
.search-hero{
  background:linear-gradient(135deg,#061949,#073c91 55%,#d91f2d);
  color:white;
  text-align:center;
  padding:90px 6%;
}
.search-hero h1{font-size:clamp(42px,7vw,86px);margin:0 0 14px}
.subject-search-box{
  max-width:900px;
  margin:28px auto 0;
  display:flex;
  gap:12px;
  background:white;
  padding:12px;
  border-radius:999px;
  box-shadow:0 20px 45px rgba(0,0,0,.22);
}
.subject-search-box input{
  flex:1;
  border:0;
  outline:0;
  padding:16px 18px;
  font-size:17px;
  border-radius:999px;
}
.subject-search-box button{
  border:0;
  border-radius:999px;
  background:#d91f2d;
  color:white;
  font-weight:900;
  padding:14px 24px;
  cursor:pointer;
}
.subject-results{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
}
.subject-card{
  background:var(--card);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  border-radius:26px;
  padding:24px;
}
.subject-card h3{color:var(--blue)}
.no-results{
  display:none;
  text-align:center;
  font-weight:900;
  color:var(--red);
  margin-top:24px;
}
@media(max-width:700px){
  .subject-search-box{border-radius:26px;flex-direction:column}
}


/* ===== VERY VISIBLE GLOBAL SEARCH BAR ===== */
.global-search-wrap{
  width:min(680px, 92vw);
  margin:18px auto 0;
  display:flex;
  gap:10px;
  background:#fff;
  border:4px solid #ffc928;
  border-radius:999px;
  padding:8px;
  box-shadow:0 16px 35px rgba(0,0,0,.25);
}
.global-search-wrap input{
  flex:1;
  border:0;
  outline:0;
  border-radius:999px;
  padding:16px 18px;
  font-size:17px;
  color:#10254d;
}
.global-search-wrap button{
  border:0;
  border-radius:999px;
  background:#d91f2d;
  color:#fff;
  font-weight:900;
  padding:14px 24px;
  cursor:pointer;
}
.nav-search-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#ffc928;
  color:#061949!important;
  padding:10px 16px!important;
  border-radius:999px;
  font-weight:900;
  border-bottom:0!important;
}
.search-center{
  background:linear-gradient(135deg,#061949,#073c91 56%,#d91f2d);
  color:white;
  padding:80px 6%;
  text-align:center;
}
.search-center h1{font-size:clamp(40px,7vw,82px);margin:0 0 14px}
.search-suggestions{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:18px;
}
.search-result-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:24px;
  padding:24px;
  box-shadow:var(--shadow);
}
.search-result-card h3{color:var(--blue)}
.search-result-card.hide{display:none}
#visibleNoResults{
  display:none;
  text-align:center;
  color:var(--red);
  font-weight:900;
  margin-top:24px;
}
@media(max-width:760px){
  .global-search-wrap{border-radius:24px;flex-direction:column}
}
