:root{
  --primary:#017eff;
  --secondary:#acabb1;
  --tertiary:#c8d502;
  --ink:#0f172a;
  --muted:#475569;
  --bg:#ffffff;
  --soft:#f6f7fb;
  --card:#ffffff;
  --border:#e5e7eb;
  --shadow: 0 12px 30px rgba(2, 8, 23, .08);
  --radius:18px;
  --radius-sm:12px;
  --max:1180px;
  --focus: 0 0 0 4px rgba(1,126,255,.18);
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
  font-size:18px; /* senior-friendly default */
}

img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:none; box-shadow:var(--focus); border-color: rgba(1,126,255,.45);
}

.wrapper{max-width:var(--max); margin:0 auto; padding:0 18px}
.section{padding:64px 0}
.section.soft{background:var(--soft)}
.kicker{color:var(--primary); font-weight:700; letter-spacing:.06em; text-transform:uppercase; font-size:14px}
.h1{font-size:clamp(32px, 4vw, 54px); line-height:1.1; margin:10px 0 12px}
.h2{font-size:clamp(26px, 3vw, 40px); line-height:1.15; margin:10px 0 10px}
.h3{font-size:22px; margin:10px 0}
.p{color:var(--muted); margin:0 0 14px}
.small{font-size:14px; color:var(--muted)}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid transparent;
  background:var(--primary);
  color:#fff;
  font-weight:700;
  transition: transform .12s ease, opacity .12s ease, background .12s ease;
  cursor:pointer;
  white-space:nowrap;
}
.btn:hover{transform: translateY(-1px); opacity:.95}
.btn:active{transform: translateY(0)}
.btn.ghost{background:transparent; border-color:rgba(15,23,42,.18); color:var(--ink)}
.btn.light{background:#fff; color:var(--ink); border-color:rgba(15,23,42,.14)}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:999px;
  background:rgba(1,126,255,.10);
  color:var(--ink);
  font-weight:650;
  border:1px solid rgba(1,126,255,.18);
  font-size:14px;
}
.grid{display:grid; gap:18px}
.grid.two{grid-template-columns:1fr}
.grid.three{grid-template-columns:1fr}
@media(min-width:860px){
  .grid.two{grid-template-columns:1.15fr .85fr}
  .grid.three{grid-template-columns:repeat(3, 1fr)}
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:20px;
}
.card.slim{padding:16px}
.rounded{border-radius:var(--radius)}
.rounded-sm{border-radius:var(--radius-sm)}
.border{border:1px solid var(--border)}
.shadow{box-shadow:var(--shadow)}

.topbar{
  background: linear-gradient(90deg, rgba(1,126,255,.10), rgba(200,213,2,.10));
  border-bottom:1px solid rgba(15,23,42,.10);
}
.topbar .row{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:10px 0;
  font-size:16px;
}
.topbar .row .left{display:flex; gap:14px; align-items:center}
.topbar .pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:999px;
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
}

.header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.84);
  backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid rgba(15,23,42,.08);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0; /* increased for larger logo */
  gap:16px;
}

.brand{
  display:flex; align-items:center; gap:12px; min-width:180px;
}
.brand img{
  height: 90px;   /* desktop */
  width: auto;
}

@media (max-width: 980px){
  .brand img{
    height: 62px; /* tablet */
  }
}

@media (max-width: 480px){
  .brand img{
    height: 58px; /* mobile */
  }
}

.navlinks{display:none; gap:18px; align-items:center}
.navlinks a{font-weight:650; color:rgba(15,23,42,.86)}
.navlinks a:hover{color:var(--primary)}
.menu-btn{display:inline-flex}
@media(min-width:980px){
  .navlinks{display:flex}
  .menu-btn{display:none}
}

.mobilemenu{
  display:none;
  border-top:1px solid rgba(15,23,42,.10);
}
.mobilemenu.open{display:block}
.mobilemenu a{
  display:block;
  padding:14px 6px;
  border-bottom:1px solid rgba(15,23,42,.08);
  font-weight:650;
}

.hero{
  position:relative;
  background: #0b1220;
  color:#fff;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image: linear-gradient(180deg, rgba(11,18,32,.70), rgba(11,18,32,.75)),
                    url("../img/hero-home-1a.jpg");
  background-size:cover;
  background-position:center;
  transform:scale(1.02);
}
.hero .inner{position:relative; padding:76px 0 62px}
.hero .lead{max-width:760px}
.hero .sub{color:rgba(255,255,255,.86); font-size:20px}
.hero .actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}
.hero .trust{display:flex; gap:10px; flex-wrap:wrap; margin-top:22px}

.hero.slim .inner{padding:54px 0 40px}
.hero.slim::before{
  background-image: linear-gradient(180deg, rgba(11,18,32,.68), rgba(11,18,32,.75)),
                    url("../img/hero-inner-1.jpg");
}

.iconrow{display:flex; gap:12px; flex-wrap:wrap}
.icon{
  width:44px; height:44px; border-radius:14px;
  background:rgba(1,126,255,.12);
  border:1px solid rgba(1,126,255,.18);
  display:grid; place-items:center;
}

/* -----------------------------------
   Services carousel: responsive 3/2/1
----------------------------------- */
.services-carousel{
  position:relative;
  overflow:hidden;
}

/* Track: scroll-snap, hidden scrollbar */
.carousel-track{
  display:flex;
  gap:18px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  padding: 6px 2px 10px;
  -webkit-overflow-scrolling:touch;

  scrollbar-width:none;
  -ms-overflow-style:none;
}
.carousel-track::-webkit-scrollbar{ display:none; }

/* Default (mobile-first): 1 card visible, not oversized */
.service-card{
  flex: 0 0 auto;
  scroll-snap-align:start;
  width: min(86vw, 420px);   /* mobile comfort */
}

/* Tablets: 2 visible */
@media (min-width: 720px){
  .service-card{
    width: calc((100% - 18px) / 2); /* 2 cards + 1 gap */
  }
}

/* Desktop: 3 visible */
@media (min-width: 980px){
  .service-card{
    width: calc((100% - (18px * 2)) / 3); /* 3 cards + 2 gaps */
  }
}

/* Ensure images are consistent */
.service-img{
  width:100%;
  height:auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}


.service-img{
  width:100%;
  height:auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}


.side-layout{
  display:grid;
  gap:18px;
  grid-template-columns:1fr;
}
@media(min-width:980px){
  .side-layout{grid-template-columns: 280px 1fr}
}
.sidemenu a{
  display:block; padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.10);
  margin-bottom:10px;
  font-weight:650;
  background:#fff;
}
.sidemenu a.active, .sidemenu a:hover{
  border-color:rgba(1,126,255,.35);
  box-shadow: 0 0 0 4px rgba(1,126,255,.12);
}
.footer{
  background: #0b1220;
  color: rgba(255,255,255,.88);
}
.footer a{color: rgba(255,255,255,.88)}
.footer a:hover{color:#fff}
.footer .cols{
  display:grid; gap:18px;
  grid-template-columns:1fr;
}
@media(min-width:980px){
  .footer .cols{grid-template-columns:1.2fr 1fr 1fr 1.2fr}
}
.footer .col h4{margin:0 0 10px; font-size:18px}
.footer .col p, .footer .col li{color: rgba(255,255,255,.76)}
.footer ul{margin:0; padding:0; list-style:none}
.footer li{margin:8px 0}
.footer .bottom{
  border-top:1px solid rgba(255,255,255,.12);
  padding:14px 0;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  flex-wrap:wrap;
  font-size:14px;
}
.social{display:flex; gap:10px}
.social a{
  width:38px; height:38px;
  border-radius:12px;
  display:grid; place-items:center;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
}

.modal{
  position:fixed; inset:0; z-index:80;
  background:rgba(2,8,23,.58);
  display:none;
  align-items:center; justify-content:center;
  padding:18px;
}
.modal.open{display:flex}
.modal .panel{
  width:min(720px, 100%);
  background:#fff;
  border-radius:22px;
  border:1px solid rgba(15,23,42,.12);
  box-shadow: 0 24px 70px rgba(2,8,23,.22);
  overflow:hidden;
}
.modal .head{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 18px;
  border-bottom:1px solid rgba(15,23,42,.10);
  background:linear-gradient(90deg, rgba(1,126,255,.08), rgba(200,213,2,.08));
}
.modal .body{padding:18px}
.close{
  background:transparent; border:1px solid rgba(15,23,42,.18);
  border-radius:999px; padding:8px 12px; cursor:pointer;
  font-weight:700;
}
.formgrid{display:grid; gap:12px; grid-template-columns:1fr}
@media(min-width:720px){
  .formgrid.two{grid-template-columns:1fr 1fr}
}
label{font-weight:650; font-size:15px}
input, textarea, select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.16);
  font: inherit;
  background:#fff;
}
textarea{min-height:120px; resize:vertical}
.help{font-size:14px; color:var(--muted)}
.alert{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.14);
  background:rgba(200,213,2,.12);
}

/* -----------------------------------
   WOW Enhancements (Homepage)
----------------------------------- */

/* Hero: make it feel more premium */
.hero .lead{
  max-width: 860px;
}
.hero .actions .btn{
  box-shadow: 0 10px 22px rgba(1,126,255,.22);
}
.hero .actions .btn.ghost,
.hero .actions .btn.light{
  box-shadow: 0 10px 22px rgba(2,8,23,.12);
}

/* Replace simple badges with feature “trust cards” */
.trustcards{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:22px;
}
.trustcard{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  font-weight: 700;
  font-size: 14px;
}
.trustcard .ticon{
  width:34px;
  height:34px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background: linear-gradient(135deg, rgba(1,126,255,.35), rgba(200,213,2,.35));
  border: 1px solid rgba(255,255,255,.20);
}
.trustcard svg{ width:18px; height:18px; color:#fff; }

/* Global card polish (subtle) */
.card{
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(1,126,255,.22);
  box-shadow: 0 18px 44px rgba(2, 8, 23, .12);
}

/* WHY CHOOSE US: image background + colour overlay */
.why-bg{
  position: relative;
  color: #0f172a;
  background: #0b1220;
  overflow: hidden;
}
.why-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(180deg, rgba(11,18,32,.72), rgba(11,18,32,.82)),
    url("../img/hero-inner-1.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.why-bg .wrapper{
  position: relative;
}

/* Head spacing */
.why-head .p{
  max-width: 820px;
  color: rgba(255,255,255,.80);
}
.why-bg .kicker{ color: rgba(200,213,2,.95); }
.why-bg .h2{ color: #fff; }

/* Why cards: bring to life with brand accents */
.why-cards .why-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 55px rgba(2,8,23,.25);
}
.why-icon{
  width:54px;
  height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  margin-bottom:12px;

  background: linear-gradient(135deg, rgba(1,126,255,.18), rgba(200,213,2,.20));
  border: 1px solid rgba(1,126,255,.20);
}
.why-icon svg{
  width:26px;
  height:26px;
  color: var(--primary);
}

/* tighten spacing in dark section */
.why-bg .p{ color: rgba(15,23,42,.78); }
.why-bg .why-card .p{ color: rgba(15,23,42,.72); }

/* Mobile tuning */
@media (max-width: 720px){
  .trustcard{ width: 100%; justify-content:flex-start; }
  .why-bg{ padding-top: 56px; padding-bottom: 56px; }
}
