:root{
  --bg:#ffffff;
  --surface:#f7f9fc;
  --text:#0f172a;
  --muted:#3f4753;
  --border:#e5e7eb;

  /* Accent: keep blue feel (you can change later) */
  --accent:#2B6777;
  --accent-dark:#003c4d;

  --container:1120px;
  --radius:12px;
  --shadow:0 1px 2px rgba(15,23,42,.06);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  line-height:1.6;
  font-size: 17px;
}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

.container{
  width:min(var(--container),calc(100% - 40px));
  margin:0 auto;
}

/* Header */
.topbar{
  background:#fff;
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:100;
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.topbar-inner{
  flex-wrap: wrap;
}

.brand img{
  height:95px;
  width:auto;
}

.brand{
  flex-shrink: 0;
}

.topbar-contact{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.contact-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  color:var(--muted);
  font-weight:600;
}

.contact-item img{
  width:18px;
  height:18px;
}

.uline{ text-decoration:underline; text-underline-offset:3px; }

.nav{
  border-top:1px solid var(--border);
  background:#fff;
}

.nav-inner{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding:10px 0;
}

.nav-link{
  font-size:14px;
  font-weight:700;
  color:var(--muted);
  padding:8px 12px;
  border-radius:10px;
  transition:background 120ms ease,color 120ms ease;
}

.nav-link:hover{
  background:var(--surface);
  color:var(--text);
}

.nav-link.active{
  background:rgba(29,78,216,.08);
  color:var(--text);
}

/* Hero */
.hero{
  padding:44px 0;
  background:linear-gradient(180deg,var(--surface),#fff);
  border-bottom:1px solid var(--border);
}

.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:22px;
  align-items:center;
}

.badge{
  display:inline-flex;
  padding:6px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  font-size:13px;
  color:var(--muted);
  background:#fff;
}

.hero-title{
  margin:12px 0 8px;
  font-size:clamp(28px,3vw,40px);
  letter-spacing:-.02em;
}

.hero-sub{
  margin:0;
  color:var(--muted);
  max-width:64ch;
}

.hero-actions{
  display:flex;
  gap:10px;
  margin-top:18px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 16px;
  border-radius:10px;
  border:1px solid var(--border);
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  transition:transform 120ms ease,background 120ms ease,border-color 120ms ease;
}

.btn:active{ transform:translateY(1px); }

.btn-primary{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
}
.btn-primary:hover{
  background:var(--accent-dark);
  border-color:var(--accent-dark);
}

.btn-ghost{
  background:#fff;
}
.btn-ghost:hover{
  border-color:#cbd5e1;
}

/* Card / Sections */
.section{ padding:56px 0; }
.section-title{
  margin:0 0 16px;
  font-size:clamp(20px,2vw,28px);
  letter-spacing:-.01em;
}

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.block{ padding:18px; }

.content-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:18px;
}

.block p{ margin:0 0 12px; color:var(--muted); }
.block p:last-child{ margin-bottom:0; }

.media-block .content-image{
  width:100%;
  border-radius:10px;
  margin:12px 0;
  border:1px solid var(--border);
}

/* Flexslider tidy (keeps your plugin, just makes it look clean) */
.flexslider{
  margin:0;
  border:0;
  border-radius:var(--radius);
  overflow:hidden;
}
.flexslider .slides img{
  width:100%;
  height:360px;
  object-fit:cover;
}

/* Footer */
.footer{
  border-top:1px solid var(--border);
  padding:26px 0;
  background:#fff;
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.footer-nav{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.footer-link{
  font-size:13px;
  font-weight:700;
  color:var(--muted);
  text-decoration:underline;
  text-underline-offset:3px;
}

.footer-copy{
  margin:0;
  font-size:13px;
  color:var(--muted);
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .flexslider .slides img{ height:300px; }
  .content-grid{ grid-template-columns:1fr; }
  .topbar-inner{ align-items:flex-start; }
  .topbar-contact{ justify-content:flex-start; }
}

@media (max-width: 768px){
  .topbar-contact{
    width: 100%;
    justify-content: flex-start;
    margin-top: 8px;
  }
}

@media (max-width: 768px){
  .brand img{
    height: 68px; /* desktop can stay 56–60px */
  }
}


/* =========================
   Products page additions
   ========================= */

.page-hero{
  padding: 26px 0 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-hero-media{
  overflow: hidden;
}

.page-hero-media img{
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.products-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.product-images{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.product-thumb{
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  transition: transform 140ms ease, border-color 140ms ease;
}

.product-thumb:hover{
  transform: translateY(-1px);
  border-color: #cbd5e1;
}

.product-thumb img{
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.products-text{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.subhead{
  margin: 14px 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.callout{
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.callout h3{
  margin: 0;
  font-size: 15px;
}

@media (max-width: 980px){
  .page-hero-media img{ height: 260px; }
  .product-images{ grid-template-columns: 1fr; }
  .product-thumb img{ height: 220px; }
  .products-text{ grid-template-columns: 1fr; }
}

/* =========================
   Technology page additions
   ========================= */

.page-title{
  margin-bottom: 16px;
}

.page-title h2{
  margin: 0 0 6px;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.01em;
}

.page-subtitle{
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 70ch;
}

.prose p{
  margin: 0 0 12px;
  color: var(--muted);
}

.prose p:last-child{
  margin-bottom: 0;
}

/* =========================
   About Us page additions
   ========================= */

.leadership-row{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.leader-block{
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.leader-title{
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0.01em;
}

.leader-name{
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 980px){
  .leadership-row{ grid-template-columns: 1fr; }
}

/* =========================
   Contact page additions
   ========================= */

.contact-grid{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: start;
}

.contact-media{
  overflow: hidden;
}

.contact-media img{
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
}

.contact-cards{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.inline-ico{
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: -3px;
  margin-right: 6px;
}

@media (max-width: 980px){
  .contact-grid{ grid-template-columns: 1fr; }
  .contact-media img{ min-height: 240px; }
}
