:root{
  --green-700:#1e3a8a;
  --green-500:#3b82f6;
  --muted:#6b6b6b;
  --bg:#fbfcfd;
  --card:#f0f4f8;
  --container:1100px;
  --radius:12px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:#0f172a;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
  font-size:16px;
}

main{margin-top:74px;}

.container{max-width:var(--container);margin:0 auto;padding:0 20px}

/* Header */
.site-header{
  background:#fff;
  padding:8px 0;
  box-shadow:0 2px 12px rgba(30,58,138,0.08);
  position:fixed;top:0;left:0;right:0;z-index:60;
  transition:box-shadow 0.3s ease;
}
.site-header.scrolled{
  box-shadow:0 4px 20px rgba(30,58,138,0.12);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:inherit}
.brand-logo{width:42px;height:42px;object-fit:contain;flex:0 0 42px}

/* ensure the brand text stacks: title above the small subtitle */
.brand-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
  line-height:1;
}
.brand-text strong{font-size:22px;line-height:1;color:var(--green-700)}
.brand-text small{
  font-size:13px;
  color:var(--muted);
  margin-top:6px; /* space below the title */
  display:block;
}
.main-nav{
  display:flex;
  gap:8px;
}
.main-nav a{
  color:var(--green-700);
  text-decoration:none;
  font-weight:600;
  font-size:15px;
  padding:8px 14px;
  border-radius:6px;
  transition:background 0.2s ease, color 0.2s ease;
}
.main-nav a:hover{
  background:rgba(59,130,246,0.1);
  color:var(--green-500);
}

/* Menu toggle (hamburger) */
.menu-toggle{
  display:none;
  flex-direction:column;
  background:none;
  border:none;
  cursor:pointer;
  padding:8px;
  gap:5px;
  z-index:70;
}
.menu-toggle span{
  width:24px;
  height:2.5px;
  background:var(--green-700);
  border-radius:2px;
  transition:all 0.3s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1){
  transform:rotate(45deg) translate(8px, 8px);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2){
  opacity:0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3){
  transform:rotate(-45deg) translate(7px, -7px);
}

/* Mobile navigation */
.mobile-nav{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  right:0;
  background:#fff;
  border-bottom:1px solid #e9f0ea;
  flex-direction:column;
  padding:12px 0;
  margin-top:0;
}
.mobile-nav.active{
  display:flex;
}
.mobile-nav-link{
  color:var(--green-700);
  text-decoration:none;
  font-weight:600;
  padding:12px 20px;
  transition:background 0.2s ease;
  border-left:4px solid transparent;
}
.mobile-nav-link:hover{
  background:rgba(59,130,246,0.08);
  border-left-color:var(--green-500);
}

/* Hero */
.hero{position:relative;min-height:420px;display:flex;align-items:center}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg, rgba(30,58,138,0.72) 0%, rgba(30,58,138,0.18) 60%);backdrop-filter:contrast(1.02)}
.hero-content{
  position:relative;
  color:#fff;
  padding:80px 20px;
  max-width:760px;
  margin-left:20%; /* shift hero content left (not centered) */
}
/* smaller offset on narrower screens */
@media (max-width:1000px){
  .hero-content{ margin-left:28px; padding:40px 20px }
}
@media (max-width:520px){
  .hero{min-height:340px}
  .hero h1{font-size:24px;margin:0 0 12px}
  .hero-ctas{flex-direction:column;gap:8px;align-items:flex-start}
  .hero-ctas .btn{width:65%}
  .btn{padding:10px 18px;font-size:16px}
  .hero-content{max-width:100%;margin-left:18px;padding:28px 16px}
  .hero .lead{font-size:14px;line-height:1.4}
}


.hero-ctas{display:flex;gap:12px}
.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:999px;text-decoration:none;font-weight:600}
.btn-primary{background:var(--green-500);color:#fff;border:1px solid rgba(0,0,0,0.04)}
.btn-outline{background:transparent;color:#fff;border:1px solid rgba(255,255,255,0.6)}
.btn-icon{width:18px;height:18px;object-fit:contain;display:block}

/* Sections */
.section{width:100%;padding:56px 0;scroll-margin-top:90px}
.section.services{background:var(--card)}
.section.portfolio{background:#f8fafc}
.section.contact{background:linear-gradient(180deg, #1e3a8a 0%, #3b82f6 100%);padding:64px 0}
.eyebrow{color:var(--green-700);font-weight:700;text-transform:uppercase;font-size:13px;margin-bottom:8px}
h2{font-size:28px;margin:0 0 18px}

/* Services grid */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
  margin-top:28px;
  align-items:stretch; /* ensure grid tracks stretch so items match height */
}

/* make each service card stretch to fill its grid cell and keep consistent sizing */
.service-card,
.card{
  height:100%;
  display:flex;
  flex-direction:column;
}

/* push checklist to bottom so cards appear balanced when content length differs */
.card .checklist{
  margin-top:auto;
}

/* optional: set a sensible minimum height for visual balance */
.card{
  min-height:320px;
}

/* Elevated, higher-contrast cards for "What We Do" */
.card{
  background:#ffffff;
  padding:28px 30px;
  border-radius:14px;
  box-shadow:0 14px 36px rgba(30,58,138,0.08);
  border:1px solid rgba(30,58,138,0.06);
  color:#0f172a;
}
.card h3{margin:8px 0 8px;font-size:18px;color:var(--green-700)}
.card p{color:#1e293b;margin:0 0 12px}
.card .card-icon{
  width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:10px;background:linear-gradient(180deg,#e0e7ff,#dbeafe)
}
.card .card-icon .icon-img{
  width:36px;height:36px;object-fit:contain;display:block;
}
.checklist{list-style:none;padding-left:0;margin:10px 0 0;color:#0f172a}
.checklist li{margin:8px 0;position:relative;padding-left:18px}
.checklist li::before{
  content:"✔";
  position:absolute;left:0;top:0;color:#2563eb;font-size:13px;
}

/* About */
.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  align-items:stretch; /* ensure both columns match height */
}

/* make media image fill its grid cell height */
.about-media{height:100%}
.about-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:12px;
  display:block;
}

/* make about content stretch to match image height */
.about-content{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  gap:12px;
  height:100%;
  background:linear-gradient(180deg,#f0f4f8,#e0e7ff);
  padding:28px;
  border-radius:12px;
  border:1px solid rgba(30,58,138,0.06);
}

/* feature list: add inline icons and spacing */
.features{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:12px}
.features li{display:flex;align-items:flex-start;gap:12px}
.feature-icon{width:28px;height:28px;object-fit:contain;flex:0 0 28px}
.feature-text{display:flex;flex-direction:column;justify-content:center;min-width:220px}
.features li strong{font-size:15px;font-weight:700;line-height:1.2}
.features li span{font-size:15px;color:var(--muted);line-height:1.2}

/* Portfolio */
.portfolio-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px}
.portfolio-item{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 10px 24px rgba(30,58,138,0.08);text-align:center}
.portfolio-item img{width:100%;height:180px;object-fit:cover;display:block}
.portfolio-item h3{margin:12px 12px 16px;color:var(--green-700);font-size:17px}

@media (max-width:900px){.portfolio-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.portfolio-grid{grid-template-columns:1fr}}

/* Contact */
.contact-card{background:rgba(255,255,255,0.08);color:#fff;padding:36px;border-radius:12px;text-align:center;max-width:var(--container);margin:0 auto;backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,0.15)}
.contact-card h2{font-size:26px;margin:0 0 8px}
.contact-card .sub{color:#bfe6c5;margin-bottom:1px}
.contact-ctas{display:flex;gap:12px;justify-content:center;margin-bottom:12px}
.btn-outline.disabled{border:1px solid rgba(255,255,255,0.2);color:rgba(255,255,255,0.9);opacity:0.8;pointer-events:none}
.btn:hover{
  transform:translateY(-2px);
  transition:all 0.2s ease;
}

/* Trust Signals / Testimonials */
.section.trust-signals{background:var(--card)}

.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin:32px 0;
}

.testimonial-card{
  background:#fff;
  padding:24px;
  border-radius:12px;
  box-shadow:0 10px 24px rgba(30,58,138,0.08);
  border:1px solid rgba(30,58,138,0.06);
  display:flex;
  flex-direction:column;
}

.testimonial-card .stars{
  color:#ffa500;
  font-size:18px;
  margin-bottom:12px;
  letter-spacing:2px;
}

.testimonial-text{
  font-style:italic;
  color:#1e293b;
  margin:0 0 16px;
  flex:1;
  line-height:1.6;
}

.testimonial-author{
  font-weight:700;
  color:var(--green-700);
  font-size:15px;
  margin-bottom:4px;
}

.testimonial-subtitle{
  font-size:13px;
  color:var(--muted);
}

.trust-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:48px;
  background:linear-gradient(180deg,#f0f4f8,#e0e7ff);
  padding:32px;
  border-radius:12px;
  border:1px solid rgba(30,58,138,0.06);
}

.stat-item{
  text-align:center;
}

.stat-number{
  font-size:32px;
  font-weight:700;
  color:var(--green-700);
  margin-bottom:8px;
}

.stat-label{
  font-size:14px;
  color:var(--muted);
  font-weight:600;
}

/* Sticky WhatsApp Button (Mobile Only) */
.sticky-whatsapp{
  display:none;
  position:fixed;
  bottom:20px;
  right:20px;
  width:56px;
  height:56px;
  background:#29a71a;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 20px rgba(37,211,102,0.4);
  z-index:50;
  animation:bounce-in 0.5s ease-out;
}

.sticky-whatsapp img{
  width:32px;
  height:32px;
  object-fit:contain;
}

.sticky-whatsapp:hover{
  transform:scale(1.1);
  box-shadow:0 8px 25px rgba(37,211,102,0.5);
}

@keyframes bounce-in{
  from{
    opacity:0;
    transform:scale(0.5) translateY(20px);
  }
  to{
    opacity:1;
    transform:scale(1) translateY(0);
  }
}

/* Show sticky button only on mobile */
@media (max-width:768px){
  .sticky-whatsapp{
    display:flex !important;
  }
}

/* Responsive testimonials */
@media (max-width:900px){
  .testimonials-grid{grid-template-columns:repeat(2,1fr)}
  .trust-stats{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:520px){
  .testimonials-grid{grid-template-columns:1fr}
  .trust-stats{grid-template-columns:1fr}
  .stat-number{font-size:28px}
  .testimonial-card{padding:18px}
}

/* Footer */
.site-footer{padding:24px 0;background:#fff;border-top:1px solid #e9f0ea;color:var(--muted);text-align:center}
.footer-inner{display:flex;justify-content:center}
.site-footer{
  border-top:1px solid #e2e8f0;
}

/* Responsive */
@media (max-width:900px){
  .services-grid{grid-template-columns:1fr}
  .about-grid{grid-template-columns:1fr}
  .hero h1{font-size:32px}
  .hero{min-height:520px}
  .header-inner{padding:0 8px}
  .main-nav{display:none}
  .menu-toggle{display:flex}
}

@media (max-width:520px){
  .brand-logo{width:46px;height:46px;flex:0 0 46px}
  .brand-text strong{font-size:18px}
  .brand-text small{font-size:12px}
  main{margin-top:60px}
}