/* =========================================================
   Global Innovation Aero — Corporate Site Design System
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root{
  --navy:        #0A2342;
  --navy-2:      #0E2E56;
  --sky:         #1CA7EC;
  --sky-dim:     rgba(28,167,236,0.14);
  --white:       #FFFFFF;
  --silver:      #D9D9D9;
  --silver-dim:  #EEF1F4;
  --ink:         #0A2342;
  --ink-70:      rgba(10,35,66,0.7);
  --ink-45:      rgba(10,35,66,0.45);
  --surface:     #FFFFFF;
  --surface-2:   #F5F7FA;
  --border:      rgba(10,35,66,0.12);
  --glass-bg:    rgba(255,255,255,0.55);
  --glass-border:rgba(255,255,255,0.6);
  --shadow:      0 20px 60px -20px rgba(10,35,66,0.25);

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
}

html[data-theme="dark"]{
  --ink:         #F2F6FA;
  --ink-70:      rgba(242,246,250,0.72);
  --ink-45:      rgba(242,246,250,0.45);
  --surface:     #0A2342;
  --surface-2:   #0E2E56;
  --border:      rgba(255,255,255,0.12);
  --glass-bg:    rgba(14,46,86,0.55);
  --glass-border:rgba(255,255,255,0.14);
  --shadow:      0 20px 60px -20px rgba(0,0,0,0.55);
  background: #071A33;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html[dir="rtl"] body{ direction: rtl; text-align: right; }

body{
  margin:0;
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .3s ease, color .3s ease;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button{ font-family: inherit; }

.wrap{ max-width: 1220px; margin:0 auto; padding: 0 32px; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(34px, 5vw, 58px); font-weight: 800; }
h2{ font-size: clamp(26px, 3.2vw, 38px); }
h3{ font-size: 20px; font-weight:600; }
p{ margin:0 0 16px; color: var(--ink-70); }
.lede{ font-size: 18px; color: var(--ink-70); max-width: 640px; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-body); font-weight:600;
  font-size: 12.5px; letter-spacing:0.12em; text-transform:uppercase;
  color: var(--sky);
}
.eyebrow::before{ content:""; width:22px; height:2px; background: var(--sky); display:inline-block; border-radius:2px; }

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

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-weight:600; font-size:14.5px;
  padding: 14px 26px; border-radius: 100px;
  cursor:pointer; border:1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space:nowrap;
}
.btn-primary{ background: linear-gradient(135deg, var(--sky), #0f8fcf); color:#fff; box-shadow: 0 12px 30px -10px rgba(28,167,236,0.55); }
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(28,167,236,0.65); }
.btn-outline{ background: transparent; border-color: var(--border); color: var(--ink); }
html[data-theme="dark"] .btn-outline{ border-color: rgba(255,255,255,0.25); }
.btn-outline:hover{ border-color: var(--sky); color: var(--sky); }
.btn-white{ background: #fff; color: var(--navy); }
.btn-white:hover{ transform: translateY(-2px); }
.btn-sm{ padding:10px 18px; font-size:13px; }

/* ---------- Header ---------- */
header.site-header{
  position: sticky; top:0; z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-row{ display:flex; align-items:center; justify-content:space-between; padding:16px 0; gap:24px; position:relative; }
.logo{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.logo-mark{ width:54px; height:54px; object-fit:contain; }
.logo-text{ font-family: var(--font-display); font-weight:700; font-size:16.5px; line-height:1.15; color: var(--ink); }
.logo-text small{ display:block; font-size:10px; font-weight:500; letter-spacing:0.1em; color: var(--ink-45); text-transform:uppercase; }

nav.main-nav ul{ list-style:none; display:flex; gap:20px; margin:0; padding:0; flex-wrap:wrap; }
nav.main-nav a{ font-size:13.5px; font-weight:500; color: var(--ink-70); padding:6px 2px; border-bottom:2px solid transparent; transition: color .2s ease, border-color .2s ease; white-space:nowrap; }
nav.main-nav a:hover, nav.main-nav a.active{ color: var(--sky); border-color: var(--sky); }

.nav-actions{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.icon-btn{
  width:38px; height:38px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--border); background: transparent; color: var(--ink);
  cursor:pointer; transition: border-color .2s ease, color .2s ease;
}
.icon-btn:hover{ border-color: var(--sky); color: var(--sky); }
.mobile-toggle{ display:none; background:none; border:none; color:var(--ink); font-size:22px; cursor:pointer; }

/* ---------- Glass card ---------- */
.glass{
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  padding: 90px 0 110px;
  overflow:hidden;
  background:
    radial-gradient(1200px 500px at 15% -10%, rgba(28,167,236,0.35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #071A33 60%, #050f1f 100%);
  color:#fff;
}
.hero .eyebrow{ color:#7fd4f6; }
.hero .eyebrow::before{ background:#7fd4f6; }
.hero h1{ color:#fff; }
.hero p.lede{ color: rgba(255,255,255,0.78); }
.hero-actions{ display:flex; gap:16px; margin-top:34px; flex-wrap:wrap; }
.hero-visual{ position:relative; }
.hero-grid{ display:grid; grid-template-columns: 1.05fr 0.95fr; gap:56px; align-items:center; }

.stat-strip{ margin-top: 70px; display:grid; grid-template-columns: repeat(4,1fr); gap:2px; background: rgba(255,255,255,0.1); border-radius: var(--radius); overflow:hidden; }
.stat-strip .stat{ background: rgba(255,255,255,0.04); padding: 24px 22px; }
.stat-strip .num{ font-family: var(--font-display); font-size:30px; font-weight:800; color:#fff; display:block; }
.stat-strip .label{ font-size:12.5px; color: rgba(255,255,255,0.65); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{ padding: 64px 0 56px; background: linear-gradient(160deg, var(--navy), #0E2E56); color:#fff; }
.page-hero .eyebrow{ color:#7fd4f6; }
.page-hero .eyebrow::before{ background:#7fd4f6; }
.page-hero h1{ color:#fff; margin-top:14px; }
.page-hero p.lede{ color: rgba(255,255,255,0.78); }
.breadcrumb{ font-size:13px; color: rgba(255,255,255,0.55); margin-bottom:8px; }
.breadcrumb a:hover{ color:#fff; }

/* ---------- Sections ---------- */
section{ padding: 90px 0; }
section.tight{ padding:56px 0; }
.section-head{ max-width: 680px; margin-bottom: 48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- Grids / cards ---------- */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }

.feature-card{
  background: var(--surface);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon{
  width:52px; height:52px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background: var(--sky-dim); color: var(--sky); margin-bottom:20px;
}
.feature-icon svg{ width:26px; height:26px; }

/* ---------- Industry chips ---------- */
.chip-row{ display:flex; flex-wrap:wrap; gap:14px; }
.chip-card{
  flex:1 1 180px;
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius);
  padding: 22px; text-align:center; font-weight:600; font-size:14.5px;
  transition: border-color .2s ease, transform .2s ease;
}
.chip-card:hover{ border-color: var(--sky); transform: translateY(-4px); }
.chip-card .ic{ width:36px; height:36px; margin: 0 auto 12px; color: var(--sky); }

/* ---------- Testimonials ---------- */
.testimonial-card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px;
}
.testimonial-card .quote{ font-size:15px; color: var(--ink-70); margin-bottom:20px; }
.testimonial-card .who{ font-weight:700; font-size:14px; }
.testimonial-card .role{ font-size:12.5px; color: var(--ink-45); }
.stars{ color:#F5A623; margin-bottom:14px; letter-spacing:2px; font-size:14px; }

/* ---------- CTA band ---------- */
.cta-band{
  background: linear-gradient(135deg, var(--navy), #0E2E56);
  color:#fff; border-radius: 28px; padding: 56px 48px;
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
}
.cta-band h2{ color:#fff; margin:0; max-width:560px; }

/* ---------- Timeline ---------- */
.timeline{ position:relative; padding-left:32px; border-left:2px solid var(--border); }
.timeline-item{ position:relative; padding-bottom:38px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{ content:""; position:absolute; left:-39px; top:4px; width:12px; height:12px; border-radius:50%; background: var(--sky); box-shadow:0 0 0 4px var(--sky-dim); }
.timeline-item .yr{ font-family: var(--font-display); color: var(--sky); font-weight:700; font-size:14px; display:block; margin-bottom:6px; }

/* ---------- Value cards ---------- */
.value-card{ padding:26px 0; border-top:1px solid var(--border); }

/* ---------- Services (detail rows) ---------- */
.service-block{ padding: 56px 0; border-top:1px solid var(--border); }
.service-block:first-of-type{ border-top:none; }
.service-grid{ display:grid; grid-template-columns: 90px 1fr 1fr; gap:40px; align-items:start; }
.service-num{ font-family: var(--font-display); font-size:15px; font-weight:700; color: var(--sky); }
.service-visual{ color: var(--sky); }
.service-visual svg{ width:48px; height:48px; }
.process-list{ list-style:none; margin:20px 0 0; padding:0; display:flex; flex-direction:column; gap:12px; }
.process-list li{ display:flex; gap:12px; font-size:14.5px; color: var(--ink-70); }
.process-list .n{ font-family: var(--font-display); font-weight:700; color: var(--sky); flex-shrink:0; }
.benefit-list{ list-style:none; margin:14px 0 0; padding:0; display:flex; flex-direction:column; gap:10px; }
.benefit-list li{ display:flex; gap:10px; font-size:14.5px; color: var(--ink-70); align-items:flex-start; }
.benefit-list svg{ width:18px; height:18px; color: var(--sky); flex-shrink:0; margin-top:2px; }

/* ---------- Products ---------- */
.filter-bar{
  display:flex; gap:14px; flex-wrap:wrap; align-items:center;
  padding: 18px 22px; border:1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); margin-bottom: 40px;
}
.filter-bar select, .filter-bar input{
  border:1px solid var(--border); background: var(--surface-2); color: var(--ink);
  padding:10px 14px; border-radius:10px; font-size:13.5px; font-family:inherit;
}
.filter-bar input{ flex:1; min-width:180px; }
.product-card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius);
  overflow:hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); }
.product-thumb{
  height:150px; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--navy), #0E2E56); color:#7fd4f6;
}
.product-thumb svg{ width:56px; height:56px; }
.product-body{ padding:22px; }
.product-cat{ font-size:11.5px; text-transform:uppercase; letter-spacing:0.06em; color: var(--sky); font-weight:700; margin-bottom:8px; }
.product-meta{ font-size:12.5px; color: var(--ink-45); margin-top:10px; }
.no-results{ text-align:center; padding:60px 20px; color: var(--ink-45); display:none; }

/* ---------- Forms ---------- */
.form-card{ padding: 40px; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.field{ display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.field.full{ grid-column: 1 / -1; }
.field label{ font-size:13px; font-weight:600; color: var(--ink); }
.field label .req{ color:#E2604F; }
.field input, .field select, .field textarea{
  background: var(--surface-2); border:1px solid var(--border); color: var(--ink);
  padding:13px 14px; border-radius:10px; font-size:14px; font-family:inherit; resize:vertical;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color: var(--sky); }
.field-file{ border:1.5px dashed var(--border); border-radius:10px; padding:20px; text-align:center; font-size:13px; color: var(--ink-45); cursor:pointer; }
.form-status{ margin-top:16px; font-size:14px; font-weight:600; padding:14px 16px; border-radius:10px; display:none; }
.form-status.success{ display:block; background: rgba(28,167,236,0.12); color:#0f8fcf; }
.form-status.error{ display:block; background: rgba(226,96,79,0.12); color:#c9432f; }
.field .error-msg{ font-size:12px; color:#E2604F; display:none; }
.field.invalid input, .field.invalid select, .field.invalid textarea{ border-color:#E2604F; }
.field.invalid .error-msg{ display:block; }

/* ---------- Info rows (contact) ---------- */
.info-row{ display:flex; gap:16px; padding:20px 0; border-top:1px solid var(--border); }
.info-row:last-child{ border-bottom:1px solid var(--border); }
.info-row .ico{ width:22px; color: var(--sky); flex-shrink:0; }
.info-row .label{ font-size:11.5px; text-transform:uppercase; letter-spacing:0.05em; color: var(--ink-45); font-weight:700; margin-bottom:4px; }
.social-row{ display:flex; gap:12px; margin-top:20px; }

/* ---------- Blog ---------- */
.blog-hero-post{ display:grid; grid-template-columns: 1fr 1fr; gap:0; border-radius: var(--radius); overflow:hidden; border:1px solid var(--border); }
.blog-hero-img{ background: linear-gradient(135deg, var(--navy), #0E2E56); min-height:260px; display:flex; align-items:center; justify-content:center; color:#7fd4f6; }
.blog-hero-img svg{ width:70px; height:70px; }
.blog-hero-body{ padding:40px; background: var(--surface); }
.blog-cats{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:28px; }
.blog-cat-btn{ padding:8px 16px; border-radius:100px; border:1px solid var(--border); font-size:13px; font-weight:600; cursor:pointer; background:transparent; color: var(--ink-70); }
.blog-cat-btn.active, .blog-cat-btn:hover{ background: var(--sky); border-color: var(--sky); color:#fff; }
.blog-card{ background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; }
.blog-card-img{ height:130px; background: linear-gradient(135deg, var(--navy), #0E2E56); display:flex; align-items:center; justify-content:center; color:#7fd4f6; }
.blog-card-img svg{ width:40px; height:40px; }
.blog-card-body{ padding:22px; }
.blog-card .cat{ font-size:11.5px; color: var(--sky); font-weight:700; text-transform:uppercase; letter-spacing:0.05em; margin-bottom:10px; }
.blog-card .date{ font-size:12px; color: var(--ink-45); margin-top:14px; }

/* ---------- Careers ---------- */
.job-card{ display:flex; align-items:center; justify-content:space-between; padding:26px; border:1px solid var(--border); border-radius: var(--radius); gap:20px; flex-wrap:wrap; background:var(--surface); }
.job-meta{ display:flex; gap:14px; margin-top:8px; flex-wrap:wrap; }
.job-tag{ font-size:12px; padding:5px 12px; border-radius:100px; background: var(--sky-dim); color:#0f8fcf; font-weight:600; }

/* ---------- Certifications ---------- */
.cert-card{ text-align:center; padding:34px 24px; }
.cert-icon{ width:56px; height:56px; margin:0 auto 18px; color: var(--sky); }

/* ---------- Footer ---------- */
footer.site-footer{ background: linear-gradient(160deg, var(--navy), #071A33); color: rgba(255,255,255,0.85); padding: 70px 0 30px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap:36px; padding-bottom:40px; }
.footer-col h4{ font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#7fd4f6; margin-bottom:18px; }
.footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
.footer-col a{ font-size:14px; color: rgba(255,255,255,0.72); }
.footer-col a:hover{ color:#fff; }
.footer-logo{ display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.footer-logo .logo-text{ color:#fff; }
.newsletter-form{ display:flex; gap:8px; margin-top:14px; }
.newsletter-form input{ flex:1; padding:11px 14px; border-radius:100px; border:1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color:#fff; font-size:13px; }
.newsletter-form button{ padding:11px 18px; border-radius:100px; background: var(--sky); color:#fff; border:none; font-weight:600; font-size:13px; cursor:pointer; }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{ width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,0.2); display:flex; align-items:center; justify-content:center; }
.footer-social a:hover{ background: var(--sky); border-color: var(--sky); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; border-top:1px solid rgba(255,255,255,0.12); padding-top:24px; font-size:12.5px; color: rgba(255,255,255,0.55); flex-wrap:wrap; gap:12px; }
.footer-bottom a{ color: rgba(255,255,255,0.55); }
.footer-bottom a:hover{ color:#fff; }

/* ---------- WhatsApp float button ---------- */
.whatsapp-float{
  position:fixed; bottom:26px; z-index:200;
  right:26px;
  width:58px; height:58px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 30px -6px rgba(37,211,102,0.6);
  transition: transform .2s ease;
}
html[dir="rtl"] .whatsapp-float{ right:auto; left:26px; }
.whatsapp-float:hover{ transform: scale(1.08); }
.whatsapp-float svg{ width:30px; height:30px; }

/* ---------- Cookie consent ---------- */
.cookie-banner{
  position:fixed; left:0; right:0; bottom:0; z-index:300;
  background: var(--navy); color:#fff;
  padding:20px 32px; display:flex; align-items:center; justify-content:space-between;
  gap:24px; flex-wrap:wrap; transform: translateY(120%); transition: transform .4s ease;
}
.cookie-banner.show{ transform: translateY(0); }
.cookie-banner p{ color: rgba(255,255,255,0.8); margin:0; font-size:13.5px; max-width:640px; }
.cookie-actions{ display:flex; gap:10px; flex-shrink:0; }

/* ---------- Back to top ---------- */
.to-top{
  position:fixed; bottom:26px; left:26px; z-index:200;
  width:44px; height:44px; border-radius:50%;
  background: var(--surface); border:1px solid var(--border); color: var(--ink);
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  opacity:0; pointer-events:none; transition: opacity .2s ease, transform .2s ease;
}
html[dir="rtl"] .to-top{ left:auto; right:94px; }
.to-top.show{ opacity:1; pointer-events:auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px){
  .footer-grid{ grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 940px){
  .hero-grid{ grid-template-columns:1fr; }
  .grid-3, .grid-2, .grid-4{ grid-template-columns: 1fr 1fr; }
  .stat-strip{ grid-template-columns: repeat(2,1fr); }
  .service-grid{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
  .blog-hero-post{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 860px){
  nav.main-nav{ display:none; }
  nav.main-nav.nav-open{
    display:block; position:absolute; top:100%; left:0; right:0;
    background: var(--surface); border:1px solid var(--border); border-radius:16px; margin-top:10px; padding:10px 20px;
  }
  nav.main-nav.nav-open ul{ flex-direction:column; gap:0; }
  nav.main-nav.nav-open li{ padding:14px 0; border-top:1px solid var(--border); }
  nav.main-nav.nav-open li:first-child{ border-top:none; }
  .mobile-toggle{ display:block; }
  .grid-3, .grid-2, .grid-4{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .cta-band{ flex-direction:column; align-items:flex-start; padding:40px 28px; }
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; transition:none !important; }
  .reveal{ opacity:1; transform:none; }
}
