:root{
  --jsco-teal:#04aeb7;
  --jsco-green:#cae525;
  --text:#0f172a;
  --muted:#64748b;
  --bg:#ffffff;
  --surface:#ffffff;
  --border:#e5e7eb;
  --radius:18px;
  --shadow:0 14px 40px rgba(15,23,42,0.10);
  --shadow-soft:0 10px 26px rgba(15,23,42,0.08);
  --container:1040px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}

.container{
  width:min(var(--container), calc(100% - 56px));
  margin:0 auto;
}

/* ================= Topbar ================= */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,0.80);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(229,231,235,0.9);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 0;
}

.brand{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  min-width:210px;
  margin-top: 20px;
}
.brand img{height:40px;width:auto}
.brand .sub{
  font-size:12px;
  color:rgba(15,23,42,0.70);
  font-weight:700;
  letter-spacing:.2px;
  white-space:nowrap;
}

.navlinks{
  display:flex;
  gap:8px;
  align-items:center;
  padding:6px;
  border-radius:999px;
  background:rgba(15,23,42,0.03);
  border:1px solid rgba(229,231,235,0.9);
}

.navlinks a{
  padding:9px 12px;
  border-radius:999px;
  font-weight:700;
  color:rgba(15,23,42,0.82);
  transition:background .2s ease, color .2s ease, transform .2s ease;
}
.navlinks a:hover{background:rgba(4,174,183,0.12)}
.navlinks a[aria-current="page"]{
  background:rgba(4,174,183,0.16);
  color:rgba(15,23,42,0.95);
}

.actions{
  display:flex;
  gap:10px;
  align-items:center;
}

.select{
  border:1px solid var(--border);
  border-radius:999px;
  padding:10px 14px;
  background:#fff;
  font-weight:700;
}

.button{
  padding:10px 16px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  font-weight:800;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover{transform:translateY(-1px); box-shadow:var(--shadow-soft)}
.button:active{transform:translateY(0)}

.button.primary{
  border:none;
  color:#fff;
  background:linear-gradient(135deg,var(--jsco-teal),var(--jsco-green));
}

.icon-btn{
  width:42px;height:42px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.icon-btn svg{width:20px;height:20px}

/* ================= Mobile menu ================= */
.mobile{
  display:none;
}
.mobile-panel{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,0.40);
  z-index:60;
  display:none;
}
.mobile-panel[data-open="true"]{display:block}
.mobile-sheet{
  position:absolute;
  right:14px;
  left:14px;
  top:74px;
  background:#fff;
  border:1px solid rgba(229,231,235,0.9);
  border-radius:20px;
  box-shadow:var(--shadow);
  padding:14px;
}
.mobile-links{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-top:8px;
}
.mobile-links a{
  padding:12px 12px;
  border-radius:14px;
  font-weight:800;
  background:rgba(15,23,42,0.03);
}
.mobile-links a:hover{background:rgba(4,174,183,0.10)}

/* ================= Hero ================= */
.hero{
  position:relative;
  overflow:hidden;
  padding:64px 0 36px;
}
.hero:before{
  content:"";
  position:absolute;
  left:0; right:0; top:-120px; height:520px;
  background:
    radial-gradient(110% 80% at 15% 30%, rgba(4,174,183,0.22) 0%, rgba(4,174,183,0.10) 40%, transparent 68%),
    radial-gradient(110% 80% at 85% 20%, rgba(202,229,37,0.20) 0%, rgba(202,229,37,0.08) 38%, transparent 70%);
  pointer-events:none;
}

.hero-inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap:28px;
  align-items:center;
}
.kicker{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  font-weight:900;
  letter-spacing:.3px;
  font-size:12px;
  background:rgba(255,255,255,0.70);
  border:1px solid rgba(229,231,235,0.9);
}
h1{
  font-size:clamp(26px, 3vw, 44px);
  line-height:1.08;
  margin:14px 0 12px;
  letter-spacing:-.4px;
}
.lead{
  margin:0 0 18px;
  color:rgba(15,23,42,0.75);
  font-size:16.5px;
}
.badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
.badge{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(229,231,235,0.9);
  background:rgba(255,255,255,0.70);
  font-weight:800;
  color:rgba(15,23,42,0.78);
  font-size:13px;
}
.badge svg{width:16px;height:16px}

.hero-card{
  border-radius:22px;
  border:1px solid rgba(229,231,235,0.9);
  background:rgba(255,255,255,0.72);
  box-shadow:var(--shadow);
  padding:18px;
}
.hero-card .logo{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(4,174,183,0.14), rgba(202,229,37,0.12));
  border:1px solid rgba(229,231,235,0.9);
}
.hero-card .logo img{max-height:90px; width:auto}
.hero-card .meta{
  margin-top:12px;
  display:grid;
  gap:10px;
}
.meta .row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-weight:800;
  color:rgba(15,23,42,0.78);
}
.meta .row span{color:rgba(15,23,42,0.55); font-weight:800}

/* ================= Sections ================= */
.section{padding:54px 0}
.section h2{
  font-size:28px;
  margin:0 0 8px;
  letter-spacing:-.2px;
}
.sub{
  color:var(--muted);
  margin:0 0 18px;
  max-width:70ch;
}

.box{
  background:var(--surface);
  border:1px solid rgba(229,231,235,0.9);
  border-radius:20px;
  box-shadow:var(--shadow-soft);
  padding:20px;
}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.cards{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
}

.card{
  border:1px solid rgba(229,231,235,0.9);
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow-soft);
  transition:transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
  border-color:rgba(4,174,183,0.35);
}
.card img{aspect-ratio: 4/3; object-fit:cover}
.card .content{padding:14px}
.card h3{margin:0 0 6px; font-size:18px; letter-spacing:-.1px}
.card p{margin:0 0 10px; color:rgba(15,23,42,0.72)}
.card .link{
  font-weight:900;
  color:rgba(4,174,183,0.95);
}

.bullets{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:12px;
  margin-top:16px;
}
.bullet{
  display:flex;
  gap:10px;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(229,231,235,0.9);
  background:rgba(15,23,42,0.02);
}
.bullet svg{width:18px;height:18px; flex:0 0 auto; margin-top:2px}

/* ================= Footer ================= */
footer{
  padding:30px 0;
  border-top:1px solid rgba(229,231,235,0.9);
  background:rgba(15,23,42,0.02);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap:16px;
  align-items:start;
}
.small{font-size:13px; color:rgba(15,23,42,0.68)}
.footer-title{font-weight:900; margin:0 0 8px}

/* ================= Reveal animations ================= */
.reveal{opacity:0; transform:translateY(10px); transition:opacity .5s ease, transform .6s ease}
.reveal[data-show="true"]{opacity:1; transform:translateY(0)}

/* ================= Responsive ================= */
@media (max-width: 980px){
  .hero-inner{grid-template-columns:1fr; gap:18px}
  .cards{grid-template-columns:repeat(2, 1fr)}
  .footer-grid{grid-template-columns:1fr}
}

@media (max-width: 760px){
  .navlinks{display:none}
  .mobile{display:inline-flex}
  .nav{flex-wrap:wrap}
  .actions{flex-wrap:wrap; justify-content:flex-end}
  .brand{display:flex; flex-direction:column; align-items:center; gap:4px; min-width:auto}
}


/* ================= RTL ================= */
html[dir="rtl"] body{
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Tahoma",Arial,sans-serif;
}
html[dir="rtl"] .nav,
html[dir="rtl"] .actions,
html[dir="rtl"] .mobile-links{
  direction:rtl;
}
html[dir="rtl"] .hero-inner{direction:rtl}


/* ===== Layout refinements (global, non-forced) ===== */
@media (max-width: 520px){
  .container{width:min(var(--container), calc(100% - 32px));}
}

/* Hero showcase (replaces language card) */
.hero-showcase{
  background:linear-gradient(135deg, rgba(4,174,183,0.10), rgba(202,229,37,0.10));
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
  padding:18px;
  align-self:start;
}
.showcase-header{margin-bottom:12px}
.showcase-title{font-weight:700; letter-spacing:-.2px}
.showcase-sub{color:var(--muted); font-size:14px; margin-top:4px}
.showcase-items{display:grid; gap:10px; margin-top:12px}
.showcase-item{
  display:block;
  padding:12px 12px;
  border:1px solid var(--border);
  border-radius:14px;
  background:rgba(255,255,255,0.7);
  text-decoration:none;
  color:inherit;
}
.showcase-item:hover{box-shadow:var(--shadow-soft)}
.pill{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  font-weight:650;
  font-size:13px;
}
.showcase-note{margin-top:12px; color:var(--muted)}

/* Sectors two-up */
.cards-2{grid-template-columns:repeat(2, minmax(0, 1fr));}
@media (max-width: 860px){
  .cards-2{grid-template-columns:1fr;}
}

/* Contact section (matches requested layout) */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-top:18px;
}
@media (max-width: 980px){
  .contact-grid{grid-template-columns:1fr;}
}
.contact-list{display:grid; gap:14px}
.contact-item{display:grid; grid-template-columns:16px 1fr; gap:10px; align-items:start}
.dot{
  width:10px; height:10px; border-radius:999px;
  background:rgba(4,174,183,0.85);
  margin-top:6px;
}
.contact-label{font-weight:700; margin-bottom:2px}
.inline-link{color:inherit; text-decoration:none; border-bottom:1px solid rgba(15,23,42,0.15)}
.inline-link:hover{border-bottom-color:rgba(15,23,42,0.35)}
.quick-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  text-decoration:none;
  color:inherit;
  font-weight:650;
}
.chip.primary{
  background:linear-gradient(135deg, var(--jsco-teal), var(--jsco-green));
  color:#fff;
  border-color:transparent;
}
.tip{margin-top:14px; color:var(--muted)}

/* Footer */
.site-footer{padding:22px 0; border-top:1px solid var(--border); background:#fff}
.footer-top{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:18px;
  align-items:start;
}
@media (max-width: 860px){
  .footer-top{grid-template-columns:1fr;}
}
.footer-brand img{width:54px; height:auto}
.footer-brand .sub{margin:0}
.footer-bottom{padding-top:14px; margin-top:14px; border-top:1px solid var(--border)}


/* ===== Better small-screen header layout ===== */
@media (max-width: 520px){
  .actions{gap:8px}
  .select{padding:9px 12px}
  .button.primary{display:none} /* keep header clean on very small screens */
}


/* ===== Footer (professional) ===== */
.site-footer{
  margin-top:48px;
  background:rgba(15,23,42,0.04);
  border-top:1px solid rgba(229,231,235,0.9);
}

.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:24px;
  padding:28px 0;
}

.footer-brand{
  align-items:flex-start;
  gap:6px;
}

.footer-desc{
  margin:10px 0 12px;
  font-size:13px;
  line-height:1.6;
  color:rgba(15,23,42,0.75);
  max-width:42ch;
}

.footer-social{
  display:flex;
  gap:10px;
}

.social-link{
  width:34px;
  height:34px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border:1px solid rgba(15,23,42,0.12);
  background:rgba(255,255,255,0.7);
  color:rgba(15,23,42,0.85);
  font-weight:800;
  transition:transform .15s ease, background .15s ease;
}
.social-link:hover{transform:translateY(-2px); background:#fff}

.footer-col h4{
  margin:6px 0 12px;
  font-size:14px;
  letter-spacing:.2px;
}

.footer-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
  font-size:13px;
}

.footer-list a{
  color:rgba(15,23,42,0.85);
  text-decoration:none;
}
.footer-list a:hover{text-decoration:underline}

.footer-cta{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.footer-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:38px;
  padding:0 14px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  font-size:13px;
  border:1px solid rgba(15,23,42,0.12);
  background:rgba(15,23,42,0.92);
  color:#fff;
}
.footer-btn.ghost{
  background:transparent;
  color:rgba(15,23,42,0.9);
}

.footer-bottom{
  border-top:1px solid rgba(229,231,235,0.9);
  background:rgba(255,255,255,0.6);
}

.footer-bottom-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 0;
}

.back-top{
  text-decoration:none;
  font-weight:800;
  font-size:13px;
  color:rgba(15,23,42,0.85);
}
.back-top:hover{text-decoration:underline}

/* Responsive footer */
@media (max-width: 980px){
  .footer-grid{grid-template-columns:1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{grid-template-columns:1fr;}
  .footer-bottom-inner{flex-direction:column; align-items:flex-start;}
}
