:root{
  /* White / light theme with logo colors */
  --bg:#ffffff;
  --bg-soft:#f8f9fc;
  --panel:#ffffff;
  --text:#1a1d2e;
  --muted:#5a6178;

  /* Brand palette (from HPPL logo) */
  --brand-teal:#07a3a2;
  --brand-blue:#09579a;
  --brand-indigo:#2831a2;
  --brand-purple:#6c1088;
  --brand-magenta:#cc0b53;
  --brand-green:#5ec65b;
  --brand-orange:#eb990b;
  --brand-redorange:#ef5312;

  --brand1: var(--brand-teal);
  --brand2: var(--brand-purple);
  --accent: var(--brand-orange);

  --card: #ffffff;
  --border: rgba(9,87,154,.12);
  --border-strong: rgba(9,87,154,.25);
  --shadow: 0 4px 24px rgba(26,29,46,.08);
  --radius: 18px;
  --max: 1120px;
}

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

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}

.skip{position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;}
.skip:focus{left:16px; top:16px; width:auto; height:auto; padding:10px 12px; background:var(--brand-blue); color:#fff; border-radius:10px; z-index:9999}

/* ----- Header (white + logo colors) ----- */
header{
  position:sticky; top:0; z-index:50;
  background: var(--panel);
  border-bottom: 2px solid var(--brand-teal);
  box-shadow: var(--shadow);
}

.nav{
  display:flex; align-items:center; justify-content:space-between;
  height:72px;
}
.brand{
  display:flex; gap:12px; align-items:center;
}
.brand .logo{
  width:46px; height:46px; border-radius:12px;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-blue));
  border:2px solid var(--brand-indigo);
  display:grid; place-items:center;
  overflow:hidden;
}
.brand .title{display:flex; flex-direction:column; gap:0}
.brand .title strong{font-size:16px; letter-spacing:.2px; color:var(--brand-blue)}
.brand .title span{font-size:12px; color:var(--muted)}
.navlinks{
  display:flex; gap:4px; align-items:center;
}
.navlinks > a{
  font-size:14px; color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  font-weight:500;
}
.navlinks > a:hover{background: var(--bg-soft); color:var(--brand-teal)}

/* Our Services dropdown */
.nav-dropdown{position:relative;}
.nav-dropdown-btn{
  font-size:14px; color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  border:0;
  background:transparent;
  cursor:pointer;
  font-family:inherit;
  display:inline-flex; align-items:center; gap:6px;
  font-weight:500;
}
.nav-dropdown-btn:hover{background: var(--bg-soft); color:var(--brand-teal)}
.nav-dropdown-btn::after{
  content:""; width:0; height:0;
  border-left:5px solid transparent; border-right:5px solid transparent;
  border-top:5px solid currentColor; margin-left:2px;
}
.nav-dropdown-menu{
  position:absolute; top:100%; left:0;
  margin:4px 0 0; padding:8px 0;
  min-width:220px;
  background: var(--panel);
  border:1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  list-style:none;
  opacity:0; visibility:hidden; transform:translateY(-6px);
  transition: opacity .2s, visibility .2s, transform .2s;
  z-index:60;
}
.nav-dropdown.open .nav-dropdown-menu{
  opacity:1; visibility:visible; transform:translateY(0);
}
.nav-dropdown-menu li{margin:0}
.nav-dropdown-menu a{
  display:block; padding:10px 18px;
  font-size:14px; color:var(--text);
}
.nav-dropdown-menu a:hover{background: var(--bg-soft); color:var(--brand-teal)}
.cta{display:flex; gap:10px; align-items:center;}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:11px 18px;
  font-size:14px;
  border-radius:14px;
  border:2px solid var(--brand-teal);
  background: transparent;
  color:var(--brand-teal);
  font-weight:600;
  cursor:pointer;
  transition: background .2s, color .2s;
}
.btn:hover{background: var(--brand-teal); color:#fff;}
.btn.primary{
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-blue), var(--brand-purple));
  color:#fff;
  font-weight:700;
}
.btn.primary:hover{filter:brightness(1.08); box-shadow: 0 6px 20px rgba(7,163,162,.35)}
.hamburger{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:2px solid var(--border-strong);
  background: var(--bg-soft);
  color:var(--text);
}

/* ----- Hero slider (4 visible, move 1 at a time) ----- */
.hero{padding:32px 0 40px;}
.hero-slider-wrap{
  position:relative;
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 12px 40px rgba(26,29,46,.12);
  border:1px solid var(--border);
}
.hero-slider{
  position:relative;
  height:380px;
  overflow:hidden;
}
.hero-slider-track{
  display:flex;
  width:175%;
  height:100%;
  transition: transform .45s ease-out;
  will-change:transform;
}
.hero-slider-track .hero-slide{
  flex:0 0 25%;
  width:25%;
  height:100%;
}
.hero-slider-track .hero-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.hero-slider-caption{
  position:absolute;
  left:0; right:0; bottom:0;
  padding:20px 24px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(26,29,46,.92) 100%);
  color:#fff;
}
.hero-slider-caption .kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-size:12px; color:rgba(255,255,255,.9);
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:6px;
}
.hero-slider-caption .kicker .dot{
  width:8px; height:8px; border-radius:999px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-teal));
}
.hero-slider-caption h1{
  margin:0 0 6px;
  font-size:28px;
  line-height:1.2;
  color:#fff;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}
.hero-slider-caption p{
  margin:0;
  color:rgba(255,255,255,.9);
  max-width:52ch;
  font-size:14px;
}
.hero-slider-arrows{
  position:absolute;
  bottom:20px; right:20px;
  z-index:12;
  display:flex; gap:8px;
}
.hero-slider-arrows button{
  width:44px; height:44px;
  border-radius:50%;
  border:0;
  background: rgba(255,255,255,.95);
  color:var(--brand-blue);
  cursor:pointer;
  display:grid; place-items:center;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  transition: transform .2s, background .2s;
}
.hero-slider-arrows button:hover{background:#fff; transform:scale(1.05)}
.hero-slider-arrows button svg{width:20px; height:20px}
.hero-slider-dots{
  position:absolute;
  bottom:20px; left:24px;
  z-index:12;
  display:flex; gap:10px;
}
.hero-slider-dots button{
  width:10px; height:10px;
  border-radius:50%;
  border:0;
  background: rgba(255,255,255,.5);
  cursor:pointer;
  padding:0;
  transition: background .2s, transform .2s;
}
.hero-slider-dots button.active{background:#fff; transform:scale(1.2)}

/* Hero grid (homepage side panels) */
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:26px;
  align-items:stretch;
}
.hero-card{
  position:relative;
  border:1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  background: var(--card);
}
/* Featured hero card: dynamic white-to-gray background + colorful image */
.hero-card-featured{
  background: linear-gradient(145deg, #ffffff 0%, #f5f6f8 25%, #eef0f3 50%, #e6e9ee 75%, #dfe2e8 100%);
  box-shadow: 0 8px 32px rgba(26,29,46,.08), 0 2px 8px rgba(0,0,0,.04);
}
.hero-card-featured .hero-media{
  position:relative;
}
.hero-card-featured .hero-media::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(248,249,252,.4) 35%, rgba(238,240,243,.92) 70%, rgba(230,233,238,.98) 100%);
  pointer-events:none;
}
.hero-card-featured .hero-media img{
  filter: saturate(1.15) contrast(1.05);
}
.hero-card-featured .hero-content{
  position:absolute; inset:0;
  padding:26px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:10px;
}
.hero-card-featured .hero-content .kicker,
.hero-card-featured .hero-content h1,
.hero-card-featured .hero-content p{
  text-shadow: 0 1px 2px rgba(255,255,255,.8), 0 0 20px rgba(255,255,255,.3);
}
.hero-card-featured .hero-content .kicker{ color: var(--brand-blue); }
.hero-card-featured .hero-content h1{ color: var(--text); }
.hero-card-featured .hero-content p{ color: var(--muted); }

.hero-media{height: 320px; position:relative;}
.hero-media::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 40%, rgba(26,29,46,.6) 100%);
}
.hero-card-featured .hero-media::after{
  background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(248,249,252,.45) 38%, rgba(238,240,243,.92) 72%, rgba(228,231,236,.98) 100%);
}
.hero-media img{width:100%; height:100%; object-fit:cover;}
.hero-content{
  position:absolute; inset:0;
  padding:26px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:10px;
}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-size:12px; color:rgba(255,255,255,.9);
  letter-spacing:.16em;
  text-transform:uppercase;
}
.kicker .dot{
  width:10px; height:10px; border-radius:999px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-teal), var(--brand-blue));
}
.hero h1{margin:0; font-size:34px; line-height:1.12; letter-spacing:-.02em; color:#fff; text-shadow: 0 2px 8px rgba(0,0,0,.25)}
.hero p{margin:0; color:rgba(234,240,255,.92); max-width: 52ch;}
.hero-actions{display:flex; gap:12px; margin-top:6px; flex-wrap:wrap}

.side{display:grid; gap:14px;}
.panel{
  border:2px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding:20px;
  border-left:4px solid var(--brand-teal);
}
.panel h3{margin:0 0 8px; font-size:16px; color:var(--brand-blue)}
.panel p{margin:0; color:var(--muted); font-size:14px}
.stats{display:grid; grid-template-columns:1fr 1fr; gap:12px;}
.stat{
  border:1px solid var(--border);
  border-radius: 16px;
  padding:14px;
  background: var(--bg-soft);
}
.stat strong{display:block; font-size:17px; color:var(--brand-indigo)}
.stat span{color:var(--muted); font-size:13px}

/* ----- Sections ----- */
section{padding: 48px 0;}
.section-title{margin-bottom:24px;}
.section-title h2{margin:0 0 8px; font-size:28px; letter-spacing:-.01em; color:var(--brand-blue)}
.section-title p{margin:0; color:var(--muted); max-width:70ch}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
.card{
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding:22px;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover{border-color: var(--brand-teal); box-shadow: 0 8px 28px rgba(7,163,162,.12)}
.card h3{margin:0 0 10px; font-size:17px; color:var(--brand-indigo)}
.card p{margin:0; color:var(--muted); font-size:14px; line-height:1.5}
.badges{display:flex; flex-wrap:wrap; gap:10px; margin-top:12px}
.badge{
  padding:8px 14px;
  border:1px solid var(--brand-teal);
  border-radius: 999px;
  font-size:12px;
  color:var(--brand-teal);
  background: rgba(7,163,162,.06);
}

.split{display:grid; grid-template-columns: 1fr 1fr; gap:20px;}
.list{margin:10px 0 0; padding:0; list-style:none; display:grid; gap:10px;}
.list li{display:flex; gap:10px; align-items:flex-start; color:var(--muted); font-size:14px;}
.check{
  width:22px; height:22px; flex:0 0 22px;
  border-radius:8px;
  background: rgba(7,163,162,.15);
  border:1px solid var(--brand-teal);
  display:grid; place-items:center;
}
.check svg{width:14px; height:14px; color:var(--brand-teal)}

/* ----- Contact ----- */
.contact, .contact.form-row{
  display:grid;
  grid-template-columns: 1fr .95fr;
  gap:20px;
  align-items:stretch;
}
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap:24px;
  align-items:start;
  margin-bottom:28px;
}
.contact-info-card h3,
.contact-map-wrap h3{margin:0 0 12px; font-size:18px; color:var(--brand-blue)}
.contact-info-card .company-name{margin:0 0 8px; color:var(--text)}
.contact-address{
  font-style:normal; color:var(--muted); font-size:15px;
  margin:0 0 14px; line-height:1.6;
}
.contact-phone{margin:0 0 16px; font-size:15px}
.contact-phone a{color:var(--brand-teal); font-weight:600;}
.contact-phone a:hover{text-decoration:underline}
.contact-revenue{
  margin-top:18px; padding-top:16px;
  border-top:2px solid var(--border);
  font-size:14px; color:var(--muted);
}
.revenue-value{color:var(--brand-green); font-size:20px; font-weight:700;}
.contact-map-wrap .map-link{display:block; border-radius:var(--radius); overflow:hidden; border:1px solid var(--border)}
.contact-map-wrap iframe{display:block}

.card-link{
  text-decoration:none;
  color:inherit;
  transition: background .2s, border-color .2s;
}
.card-link:hover{
  border-color: var(--brand-teal);
  box-shadow: 0 8px 28px rgba(7,163,162,.12);
}

.form{display:grid; gap:12px;}
.field{display:grid; gap:6px;}
label{font-size:13px; color:var(--muted); font-weight:500;}
input, textarea{
  width:100%;
  padding:12px 14px;
  border-radius: 14px;
  border:2px solid var(--border);
  background: var(--bg);
  color: var(--text);
  outline: none;
  font-size:15px;
}
textarea{min-height:120px; resize:vertical}
input:focus, textarea:focus{border-color: var(--brand-teal); box-shadow: 0 0 0 3px rgba(7,163,162,.15)}

/* ----- Footer ----- */
footer{
  padding: 28px 0 36px;
  border-top: 2px solid var(--brand-teal);
  color: var(--muted);
  background: var(--bg-soft);
}
.footergrid{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
}
.small{font-size:14px;}
.small a{color:var(--brand-teal); font-weight:600;}
.small a:hover{text-decoration:underline}
.footer-links{display:flex; gap:16px; flex-wrap:wrap;}
.footer-links a{color:var(--muted);}
.footer-links a:hover{color:var(--brand-teal)}
.pill{
  padding:8px 14px;
  border-radius: 999px;
  border:2px solid var(--brand-teal);
  background: rgba(7,163,162,.06);
  font-size:12px;
  color:var(--brand-teal);
  font-weight:500;
}

/* Service page hero */
.service-hero .hero-grid{display:none}
.service-hero .container > .hero-card{max-width:100%}
.service-hero .hero-media{height:380px}
.service-hero .hero-content .kicker{color:rgba(255,255,255,.9)}
.service-hero .hero-content h1{color:#fff}
.service-hero .hero-content p{color:rgba(255,255,255,.9)}

/* Service section images */
.service-img-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; margin-top:20px;}
.service-img-grid img{border-radius: var(--radius); width:100%; height:200px; object-fit:cover; border:1px solid var(--border);}

/* Page title (contact, etc.) */
.page-hero{
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-blue));
  color:#fff;
  padding:48px 0;
  text-align:center;
}
.page-hero h1{margin:0 0 8px; font-size:36px;}
.page-hero p{margin:0; color:rgba(255,255,255,.9); font-size:18px;}

@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-media{height: 300px}
  .hero-slider{height:360px}
  .contact{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .service-img-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 760px){
  .navlinks{display:none}
  .hamburger{display:inline-grid; place-items:center}
  .stats{grid-template-columns:1fr 1fr}
  .grid3{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .hero h1{font-size:28px}
  .hero-slide-content h1{font-size:28px}
  .contact.form-row{grid-template-columns:1fr}
  .service-img-grid{grid-template-columns:1fr}
  .footergrid{flex-direction:column; text-align:center;}
}

.mobilemenu{
  display:none;
  border-top:1px solid var(--border);
  background: var(--panel);
}
.mobilemenu.open{display:block}
.mobilemenu a{
  display:block;
  padding:14px 20px;
  color:var(--text);
  border-bottom:1px solid var(--border);
}
.mobilemenu a:hover{background: var(--bg-soft); color:var(--brand-teal)}
