/* ===========================================================
   IB Solution — shared stylesheet
   Palette: Navy #0B2559, Deep Navy #081A40, Royal #1E4FA3,
            Orange #F26522, Ice #F4F7FB, Slate #5B6B82
   Type: 'Poppins' (display/headings) + 'Inter' (body/UI)
=========================================================== */

:root{
  --navy:#0B2559;
  --navy-deep:#081A40;
  --royal:#1E4FA3;
  --orange:#F26522;
  --orange-dark:#D8540F;
  --ice:#F4F7FB;
  --white:#ffffff;
  --slate:#5B6B82;
  --slate-light:#8695AC;
  --border:#E2E8F1;
  --shadow: 0 20px 50px -20px rgba(11,37,89,0.25);
  --radius:10px;
  --maxw:1280px;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Inter', system-ui, -apple-system, sans-serif;
  color:var(--navy-deep);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}
h1,h2,h3,h4{
  font-family:'Poppins', 'Inter', sans-serif;
  color:var(--navy);
  margin:0 0 .5em;
  line-height:1.2;
  font-weight:700;
}
p{margin:0 0 1em;color:var(--slate);}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
ul{margin:0;padding:0;list-style:none;}
button{font-family:inherit;cursor:pointer;}
.container{max-width:var(--maxw);margin:0 auto;padding:0 32px;}
.eyebrow{
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.78rem;
  font-weight:700;
  color:var(--orange);
  display:flex;align-items:center;gap:10px;
}
.eyebrow::before{content:'';width:28px;height:2px;background:var(--orange);display:inline-block;}
.section{padding:96px 0;}
.section-tight{padding:64px 0;}
.section-alt{background:var(--ice);}
.section-navy{background:var(--navy-deep);color:var(--white);}
.section-navy h2, .section-navy h3{color:var(--white);}
.section-navy p{color:#B9C6DE;}
.section-head{max-width:640px;margin-bottom:48px;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:15px 28px;
  border-radius:6px;
  font-weight:600;
  font-size:.95rem;
  border:2px solid transparent;
  transition:.25s ease;
  white-space:nowrap;
}
.btn svg{width:16px;height:16px;transition:transform .25s ease;}
.btn:hover svg{transform:translateX(4px);}
.btn-primary{background:var(--navy);color:var(--white);}
.btn-primary:hover{background:var(--navy-deep);}
.btn-outline{background:transparent;color:var(--navy);border-color:var(--navy);}
.btn-outline:hover{background:var(--navy);color:var(--white);}
.btn-orange{background:var(--orange);color:var(--white);}
.btn-orange:hover{background:var(--orange-dark);}
.btn-ghost-light{background:transparent;color:var(--white);border-color:rgba(255,255,255,.4);}
.btn-ghost-light:hover{background:rgba(255,255,255,.12);border-color:var(--white);}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:1000;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 32px;max-width:var(--maxw);margin:0 auto;
  gap:24px;
}
.brand{display:flex;align-items:center;gap:10px;}
.brand-logo{height:38px;width:auto;display:block;}

.main-nav ul{display:flex;gap:2px;}
.main-nav a{
  display:block;padding:10px 16px;font-size:.88rem;font-weight:600;
  letter-spacing:.02em;color:var(--navy-deep);border-radius:6px;
  transition:.2s;position:relative;
}
.main-nav a:hover{color:var(--orange);}
.main-nav a.active{color:var(--royal);}
.main-nav a.active::after{
  content:'';position:absolute;left:16px;right:16px;bottom:2px;height:2px;background:var(--orange);
}
.header-cta{display:flex;align-items:center;gap:18px;}
.nav-toggle{display:none;background:none;border:none;padding:8px;}
.nav-toggle span{display:block;width:24px;height:2px;background:var(--navy);margin:5px 0;transition:.25s;}

/* ---------- Hero ---------- */
.hero{
  position:relative;overflow:hidden;
  background:linear-gradient(120deg, #EEF2F9 0%, #E6ECF7 45%, #DCE7F6 100%);
}
.hero-grid{
  display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:40px;
  padding:80px 32px 60px;max-width:var(--maxw);margin:0 auto;position:relative;
}
.hero-copy h1{font-size:clamp(2.4rem,4.4vw,3.6rem);margin-bottom:.3em;}
.hero-copy h1 .hl{color:var(--orange);}
.hero-copy p.lead{font-size:1.05rem;max-width:520px;}
.hero-rule{width:70px;height:4px;background:var(--orange);margin:18px 0 22px;border-radius:2px;}
.hero-actions{display:flex;gap:16px;margin-top:8px;flex-wrap:wrap;}

.hero-visual{position:relative;min-height:460px;}
.hero-device{
  position:relative;z-index:3;border-radius:14px;overflow:hidden;
  box-shadow:var(--shadow);
  background:var(--navy-deep);
  aspect-ratio:16/10.4;
  display:flex;align-items:center;justify-content:center;
  border:10px solid #1c2b45;
}
.hero-device .screen-content{
  text-align:center;color:#fff;
}
.hero-device .screen-content .screen-mark{
  width:88px;height:auto;margin:0 auto 16px;
  background:#fff;border-radius:50%;padding:14px;
  box-shadow:0 10px 30px -8px rgba(0,0,0,.5);
}
.hero-device .screen-content .title{font-family:'Poppins';font-weight:700;font-size:1.5rem;}
.hero-device .screen-content .sub{color:#9db3d6;font-size:.85rem;letter-spacing:.04em;margin-top:2px;}

.orbit-node{
  position:absolute;z-index:4;display:flex;flex-direction:column;align-items:center;gap:8px;
  width:110px;text-align:center;
}
.orbit-node .icon{
  width:64px;height:64px;border-radius:50%;background:#fff;border:2px solid #C9D8ED;
  display:flex;align-items:center;justify-content:center;box-shadow:0 10px 24px -10px rgba(11,37,89,.25);
  color:var(--navy);
}
.orbit-node .icon svg{width:26px;height:26px;}
.orbit-node .label{font-size:.72rem;font-weight:700;color:var(--navy-deep);letter-spacing:.02em;}
.n1{top:-2%;left:14%;} .n2{top:2%;left:44%;} .n3{top:-2%;right:6%;}
.n4{top:32%;left:-2%;} .n5{top:36%;right:-4%;}
.n6{bottom:6%;left:12%;}

.hero-stats{
  background:var(--navy-deep);color:#fff;
}
.hero-stats .container{
  display:grid;grid-template-columns:repeat(5,1fr);gap:24px;padding:34px 32px;
}
.stat{display:flex;gap:14px;align-items:flex-start;}
.stat .icon{color:var(--orange);flex:none;margin-top:2px;}
.stat .icon svg{width:30px;height:30px;}
.stat h4{color:#fff;font-size:.92rem;margin:0 0 4px;font-family:'Poppins';}
.stat p{color:#AEC0DC;font-size:.82rem;margin:0;}

/* ---------- Generic page hero (inner pages) ---------- */
.page-hero{
  background:linear-gradient(120deg, var(--navy-deep), var(--navy) 60%, var(--royal));
  color:#fff;padding:70px 0 60px;position:relative;overflow:hidden;
}
.page-hero::after{
  content:'';position:absolute;right:-120px;top:-120px;width:400px;height:400px;
  border-radius:50%;border:60px solid rgba(255,255,255,.05);
}
.page-hero .eyebrow{color:var(--orange);}
.page-hero .eyebrow::before{background:var(--orange);}
.page-hero h1{color:#fff;font-size:clamp(2rem,3.6vw,2.8rem);}
.breadcrumb{color:#AEC0DC;font-size:.85rem;margin-top:10px;}
.breadcrumb a{color:#fff;font-weight:600;}
.breadcrumb .sep{margin:0 8px;color:var(--orange);}

/* ---------- Cards / grids ---------- */
.grid{display:grid;gap:28px;}
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}

.card{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  padding:32px 26px;transition:.25s ease;
}
.card:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:transparent;}
.card .icon-box{
  width:56px;height:56px;border-radius:12px;background:var(--ice);
  display:flex;align-items:center;justify-content:center;margin-bottom:18px;color:var(--navy);
}
.card .icon-box svg{width:26px;height:26px;}
.card h3{font-size:1.08rem;margin-bottom:8px;}
.card p{font-size:.92rem;margin-bottom:0;}
.card .num{
  font-family:'Poppins';font-weight:700;font-size:.8rem;color:var(--orange);
  letter-spacing:.06em;margin-bottom:10px;display:block;
}

.value-strip{background:var(--navy);color:#fff;}
.value-strip .container{
  display:grid;grid-template-columns:repeat(5,1fr);gap:0;padding:0;
}
.value-item{
  display:flex;gap:14px;align-items:flex-start;padding:34px 24px;
  border-right:1px solid rgba(255,255,255,.12);
}
.value-item:last-child{border-right:none;}
.value-item .icon{color:var(--orange);flex:none;}
.value-item .icon svg{width:32px;height:32px;}
.value-item h4{color:#fff;font-size:.92rem;margin-bottom:4px;font-family:'Poppins';}
.value-item p{color:#B9C6DE;font-size:.82rem;margin:0;}

/* ---------- CTA band ---------- */
.cta-band{
  background:linear-gradient(120deg,var(--navy-deep),var(--royal));
  color:#fff;border-radius:16px;padding:56px 48px;
  display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap;
}
.cta-band h2{color:#fff;margin-bottom:6px;}
.cta-band p{color:#C6D3E8;margin-bottom:0;}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy-deep);color:#C7D2E5;}
.footer-top{padding:70px 0 40px;}
.footer-grid{
  display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:40px;
}
.footer-col h4{
  color:#fff;font-size:1rem;margin-bottom:18px;display:flex;align-items:center;gap:10px;
}
.footer-col h4 svg{width:20px;height:20px;color:var(--orange);flex:none;}
.footer-col p, .footer-col li{color:#AEBBD4;font-size:.9rem;}
.footer-col.about p{max-width:320px;}
.footer-logo{
  height:34px;width:auto;display:block;margin-bottom:22px;
  background:#fff;padding:8px 14px;border-radius:8px;
}
.social-row{display:flex;gap:10px;margin-top:18px;}
.social-row a{
  width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.2);
  display:flex;align-items:center;justify-content:center;transition:.2s;
}
.social-row a:hover{background:var(--orange);border-color:var(--orange);}
.social-row svg{width:16px;height:16px;}

.addr-line{display:flex;gap:10px;margin-bottom:14px;align-items:flex-start;}
.addr-line svg{width:18px;height:18px;color:var(--orange);flex:none;margin-top:3px;}

.vision-list li{display:flex;gap:10px;margin-bottom:12px;align-items:flex-start;font-size:.9rem;}
.vision-list svg{width:16px;height:16px;color:var(--orange);flex:none;margin-top:3px;}

.map-frame{
  border-radius:10px;overflow:hidden;border:1px solid rgba(255,255,255,.14);
  height:190px;
}
.map-frame iframe{width:100%;height:100%;border:0;filter:grayscale(.2) contrast(1.05);}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);padding:22px 0;
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;
  font-size:.82rem;color:#8FA0BF;
}
.footer-bottom a{color:#8FA0BF;}
.footer-bottom a:hover{color:var(--orange);}
.footer-links{display:flex;gap:18px;}

/* ---------- Scroll to top ---------- */
.to-top{
  position:fixed;right:24px;bottom:24px;width:46px;height:46px;border-radius:50%;
  background:var(--orange);color:#fff;display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 24px -8px rgba(0,0,0,.4);border:none;opacity:0;pointer-events:none;
  transition:.3s;z-index:900;
}
.to-top.show{opacity:1;pointer-events:auto;}
.to-top:hover{background:var(--orange-dark);}
.to-top svg{width:20px;height:20px;}

/* ---------- Contact form ---------- */
#contact-form input, #contact-form textarea{
  outline:none;transition:.2s;
}
#contact-form input:focus, #contact-form textarea:focus{
  border-color:var(--royal);box-shadow:0 0 0 3px rgba(30,79,163,.15);
}
#form-note.show{display:block !important;}

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

/* ---------- Responsive ---------- */
@media (max-width:1080px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-visual{min-height:380px;order:-1;}
  .orbit-node{display:none;}
  .hero-stats .container{grid-template-columns:repeat(3,1fr);}
  .value-strip .container{grid-template-columns:repeat(2,1fr);}
  .value-item{border-right:none;border-bottom:1px solid rgba(255,255,255,.12);}
  .footer-grid{grid-template-columns:1fr;}
  .grid-4{grid-template-columns:repeat(2,1fr);}
  .grid-3{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:860px){
  .main-nav{
    position:fixed;top:70px;left:0;right:0;bottom:0;background:#fff;
    display:flex;flex-direction:column;padding:20px 32px;transform:translateX(100%);
    transition:.3s;overflow:auto;
  }
  .main-nav.open{transform:translateX(0);}
  .main-nav ul{flex-direction:column;gap:4px;}
  .main-nav a{padding:14px 4px;border-bottom:1px solid var(--border);}
  .nav-toggle{display:block;}
  .header-cta .btn-primary{display:none;}
  .hero-stats .container{grid-template-columns:1fr 1fr;}
}
@media (max-width:640px){
  .section{padding:64px 0;}
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr;}
  .hero-actions{flex-direction:column;align-items:stretch;}
  .cta-band{padding:36px 24px;}
  .hero-stats .container{grid-template-columns:1fr 1fr;}
}
