:root{
  /* Light professional blue theme + complementary teal/amber */
  --bg: #f6fbff;
  --surface: #ffffff;
  --ink: #0b1b2b;
  --muted: rgba(11,27,43,.68);
  --line: rgba(11,27,43,.12);

  --primary: #4aa3ff;         /* lighter blue */
  --primary-2: #2d7ef7;       /* slightly deeper blue */
  --teal: #19c6b6;            /* complementary accent */
  --amber: #ffb020;           /* warm highlight */

  --shadow: 0 18px 48px rgba(14,83,170,.12);
  --shadow2: 0 10px 22px rgba(11,27,43,.10);
  --radius: 18px;
  --container: 1120px;

  --focus: 0 0 0 4px rgba(74,163,255,.26);
  --ease: cubic-bezier(.2,.8,.2,1);

}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--ink);
  background: radial-gradient(circle at 10% 0%, rgba(74,163,255,.18), transparent 45%),
              radial-gradient(circle at 90% 10%, rgba(25,198,182,.14), transparent 40%),
              var(--bg);
  line-height: 1.65;
}

h1, h2, h3 { letter-spacing: -0.03em; }
h1 { font-weight: 800; }
h2 { font-weight: 800; }

img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; }

.container{
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* Progress bar */
.progress{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 999;
  background: transparent;
}
.progress-bar{
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--teal), var(--amber));
}

/* About visual (ALIGNED, NO FLOATING MISALIGNMENT) */
.about-visual{
  margin-top: 0;              /* keeps it flush with the section rhythm */
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1rem;
  align-items: stretch;
  position: relative;
}

.visual-card{
  margin: 0;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(11,27,43,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.visual-img{
  width: 100%;
  aspect-ratio: 6 / 5;  /* consistent height across both cards */
  height: clamp(240px, 26vw, 340px);  /* SAME height for both cards */
  overflow: hidden;
}

.visual-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.visual-card figcaption{
  padding: .75rem 1rem;
  color: var(--muted);
  font-weight: 800;
  font-size: .92rem;
  min-height: 52px; /* makes captions align perfectly */
  display: flex;
  align-items: center;
}

/* Badge aligns under the two cards */
.visual-badge{
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: .2rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(11,27,43,.10);
  box-shadow: var(--shadow2);
  font-weight: 900;
}



/* Top strip */
.top-strip{
  background: linear-gradient(90deg, rgba(74,163,255,.22), rgba(25,198,182,.18));
  border-bottom: 1px solid rgba(255,255,255,.35);
}
.top-strip-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: .55rem 0;
  gap: 1rem;
}
.top-strip-left{ display:flex; align-items:center; gap: .75rem; flex-wrap: wrap; }
.top-strip-text{ color: rgba(11,27,43,.75); font-weight: 600; font-size: .9rem; }
.top-strip-right{ display:flex; gap: .9rem; align-items:center; flex-wrap: wrap; }
.top-link{
  text-decoration:none;
  font-weight: 700;
  color: rgba(11,27,43,.78);
}
.top-link:hover{ color: var(--primary-2); }
.top-link.strong{ color: var(--primary-2); }

.badge{
  display:inline-flex;
  padding: .28rem .6rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .02em;
  color: rgba(11,27,43,.88);
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(11,27,43,.08);
}

/* Header */
.site-header{
  position: sticky;
  top: 3px;
  z-index: 90;
  background: rgba(246,251,255,.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11,27,43,.10);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: .95rem 0;
  gap: 1rem;
}

.brand{
  display:flex; gap: .75rem; align-items:center;
  text-decoration:none;
}
.brand-mark{
  width: 40px; height: 40px; border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, rgba(25,198,182,.9), rgba(74,163,255,.95));
  box-shadow: 0 14px 30px rgba(74,163,255,.25);
}
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-title{ font-weight: 900; letter-spacing: -.01em; }
.brand-sub{ font-size: .8rem; color: var(--muted); font-weight: 700; margin-top: .1rem; }

.nav{ display:flex; align-items:center; gap: 1rem; }
.nav a{
  text-decoration:none;
  font-weight: 800;
  font-size: .92rem;
  color: rgba(11,27,43,.82);
  padding: .45rem .6rem;
  border-radius: 999px;
}
.nav a:hover{ color: var(--primary-2); background: rgba(255,255,255,.55); }
.nav a.active{
  color: rgba(11,27,43,.95);
  background: rgba(74,163,255,.18);
  border: 1px solid rgba(74,163,255,.22);
}

.nav-toggle{
  display:none;
  border: 1px solid rgba(11,27,43,.10);
  background: rgba(255,255,255,.7);
  border-radius: 12px;
  padding: .5rem .7rem;
  font-size: 1.1rem;
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:.55rem;
  padding: .95rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration:none;
  font-weight: 900;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active{ transform: translateY(1px); }
.btn:focus{ outline:none; box-shadow: var(--focus); }

.btn-small{ padding: .6rem .95rem; font-size: .9rem; }

.btn-primary{
  color: #fff;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  box-shadow: 0 18px 44px rgba(45,126,247,.22);
}
.btn-primary:hover{ box-shadow: 0 18px 44px rgba(45,126,247,.30); }

.btn-soft{
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(74,163,255,.22);
  color: rgba(11,27,43,.92);
}
.btn-soft:hover{ border-color: rgba(25,198,182,.30); }

.btn-outline{
  background: transparent;
  border-color: rgba(11,27,43,.14);
  color: rgba(11,27,43,.9);
}
.btn-outline:hover{ border-color: rgba(74,163,255,.35); }

/* Typography */
h1{ font-size: clamp(2.05rem, 3.7vw, 3.1rem); margin: .45rem 0 1rem; }
h2{ font-size: clamp(1.7rem, 2.5vw, 2.25rem); margin: 0; }
h3{ margin: 0 0 .35rem; }

.eyebrow{
  margin: 0;
  font-weight: 900;
  color: rgba(11,27,43,.85);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
}

.lead{
  color: rgba(11,27,43,.78);
  font-size: 1.05rem;
  max-width: 72ch;
}

.section-lead{
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 90ch;
}

.muted{ color: var(--muted); }
.tiny{ font-size: .85rem; }

/* Section heading accent */
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap: 1rem;
}
.accent-line{
  height: 4px; width: 130px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-2), var(--teal), rgba(255,176,32,.2));
}

/* Hero */
.hero{
  position: relative;
  overflow: hidden;
  padding: 4.7rem 0 3.8rem;
}
.hero-bg{ position:absolute; inset:0; pointer-events:none; }
.orb{
  position:absolute;
  width: 520px; height: 520px; border-radius: 50%;
  filter: blur(50px);
  opacity: .35;
}
.orb-1{ background: rgba(74,163,255,.75); left:-240px; top:-220px; }
.orb-2{ background: rgba(25,198,182,.65); right:-260px; top:-240px; opacity:.28; }
.orb-3{ background: rgba(255,176,32,.45); right:-280px; bottom:-320px; opacity:.20; }
.gridlines{
  position:absolute; inset:-1px;
  background-image: linear-gradient(rgba(255,255,255,.55) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.55) 1px, transparent 1px);
  background-size: 90px 90px;
  opacity: .18;
}

.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
}

.hero-cta{ display:flex; gap:.9rem; flex-wrap: wrap; margin-top: 1.2rem; }

.hero-highlights{
  margin-top: 1.4rem;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}
.highlight-card{
  display:flex; gap:.75rem; align-items:center;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(11,27,43,.08);
  border-radius: 16px;
  padding: .85rem .9rem;
  box-shadow: var(--shadow2);
}
.icon{
  width: 34px; height: 34px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(25,198,182,.25), rgba(74,163,255,.18));
  border: 1px solid rgba(74,163,255,.18);
  font-weight: 900;
}
.h-title{ margin: 0; font-weight: 900; font-size: .92rem; }
.h-sub{ margin: .05rem 0 0; color: var(--muted); font-weight: 700; font-size: .82rem; }

.hero-media{ position: relative; }
.hero-media img{
  border-radius: var(--radius);
  border: 1px solid rgba(11,27,43,.08);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.55);
}
.hero-float{
  position:absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(11,27,43,.10);
  border-radius: 16px;
  padding: .9rem 1rem;
  box-shadow: var(--shadow2);
}
.float-title{ margin: 0 0 .6rem; font-weight: 900; }
.float-actions{ display:flex; gap:.55rem; flex-wrap: wrap; }
.float-sub{ margin: .6rem 0 0; }

/* Sections */
.section{ padding: 4.6rem 0; }
.section-alt{
  background: rgba(255,255,255,.45);
  border-top: 1px solid rgba(11,27,43,.06);
  border-bottom: 1px solid rgba(11,27,43,.06);
}

/* About collage layout (NEW) */
.about-grid{
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}
.about-collage{
  position: relative;
  min-height: 520px;
}
.collage-main,
.collage-float{
  margin: 0;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(11,27,43,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  overflow: hidden;
}
.collage-main img{
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
}
.collage-float{
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(380px, 78%);
  transform: translate(-10px, 12px);
}
.collage-float img{
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
}
.collage-main figcaption,
.collage-float figcaption{
  padding: .75rem 1rem;
  color: var(--muted);
  font-weight: 800;
  font-size: .92rem;
}
.collage-badge{
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(11,27,43,.10);
  box-shadow: var(--shadow2);
  font-weight: 900;
}
.badge-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--primary), var(--teal));
}

/* About stats */
.stats{
  margin: 1.2rem 0 0;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.stat{
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(11,27,43,.08);
  border-radius: 18px;
  padding: 1.05rem 1.1rem;
  box-shadow: var(--shadow2);
}
.stat-num{
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.03em;
  background: linear-gradient(90deg, var(--primary-2), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label{ margin: .25rem 0 0; color: var(--muted); font-weight: 700; }

/* Services */
.services-toolbar{
  margin-top: 1.2rem;
  display:grid;
  gap: 1rem;
}
.search{
  display:flex; align-items:center; gap:.6rem;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(11,27,43,.10);
  border-radius: 999px;
  padding: .65rem .9rem;
  box-shadow: var(--shadow2);
}
.search-icon{ opacity: .7; font-weight: 900; }
.search input{
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: rgba(11,27,43,.9);
}

.chips{ display:flex; gap:.55rem; flex-wrap: wrap; }
.chip{
  border: 1px solid rgba(11,27,43,.12);
  background: rgba(255,255,255,.6);
  border-radius: 999px;
  padding: .45rem .8rem;
  font-weight: 900;
  cursor:pointer;
}
.chip:hover{ border-color: rgba(74,163,255,.35); }
.chip-on{
  border-color: rgba(74,163,255,.35);
  background: rgba(74,163,255,.16);
}
.chip-accent{
  border-color: rgba(255,176,32,.35);
  background: rgba(255,176,32,.18);
}

@media (max-width: 980px){
  .hero-media{ margin-top: 1rem; }
  .hero-float{
    position: relative;
    left: auto; right: auto; bottom: auto;
    margin-top: .9rem;
  }
}

@media (max-width: 680px){
  .gridlines{ opacity: .10; }
}

@media (max-width: 520px){
  .hero-cta .btn{
    width: 100%;
  }
  .services-cta .btn{
    width: 100%;
  }
}


.service-grid{
  margin-top: 1.25rem;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.svc-card{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(11,27,43,.08);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1rem;
  box-shadow: var(--shadow2);
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease;
}
.svc-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(74,163,255,.20);
}
.svc-top{ display:flex; flex-direction:column; gap:.35rem; }
.svc-badge{
  width: fit-content;
  font-weight: 900;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(25,198,182,.22);
  background: rgba(25,198,182,.12);
  color: rgba(11,27,43,.88);
}
.svc-card p{ color: var(--muted); font-weight: 650; margin: .6rem 0 .7rem; }

.link{
  appearance:none;
  border:none;
  background: transparent;
  font: inherit;
  cursor:pointer;
  padding: 0;
  color: rgba(11,27,43,.92);
  font-weight: 900;
}
.link:hover{ color: var(--primary-2); }

.services-cta{ display:flex; gap:.9rem; flex-wrap: wrap; margin-top: 1.3rem; }

/* Team */
.team-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.6rem;
}
.profile{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(11,27,43,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  overflow:hidden;
  display:grid;
  grid-template-columns: 220px 1fr;
}
.profile img{ width: 100%; height: 100%; object-fit: cover; }
.profile-body{ padding: 1.1rem 1.1rem 1.2rem; }
.role{
  margin: 0 0 .25rem;
  color: rgba(11,27,43,.85);
  font-weight: 900;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing:.12em;
}
.name{ margin: 0 0 .65rem; }

/* Bio clamp (NEW) */
.bio{
  margin: 0 0 1rem;
  color: var(--muted);
  font-weight: 650;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* Testimonial */
.testimonial{
  margin-top: 1.8rem;
  background: linear-gradient(135deg, rgba(74,163,255,.14), rgba(25,198,182,.10));
  border: 1px solid rgba(11,27,43,.08);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.2rem;
  box-shadow: var(--shadow2);
}
.testimonial-head{
  display:flex; align-items:center; justify-content:space-between; gap: 1rem;
}
.t-controls{ display:flex; gap:.5rem; }
.t-btn{
  width: 40px; height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(11,27,43,.10);
  background: rgba(255,255,255,.65);
  cursor:pointer;
  font-weight: 900;
}
.t-btn:hover{ border-color: rgba(74,163,255,.35); }
.t-card{
  margin-top: .85rem;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(11,27,43,.08);
  border-radius: 16px;
  padding: 1rem 1rem;
}
.t-quote{ margin: 0; font-weight: 750; }
.t-meta{ margin: .55rem 0 0; color: var(--muted); font-weight: 800; font-size: .9rem; }

/* Benefits */
.section-ink{
  background: radial-gradient(circle at 20% 0%, rgba(74,163,255,.22), transparent 48%),
              radial-gradient(circle at 85% 20%, rgba(25,198,182,.16), transparent 42%),
              linear-gradient(180deg, #eaf6ff, #f6fbff);
}
.accent-line-ink{
  background: linear-gradient(90deg, var(--teal), var(--primary-2), rgba(255,176,32,.25));
}
.section-lead-ink{ color: var(--muted); }

.card-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* prevents overflow */
  gap: 1rem;
  margin-top: 1.6rem;
}

.card{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(11,27,43,.08);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.15rem;
  box-shadow: var(--shadow2);
  min-width: 0; 
}
.muted-ink{ color: var(--muted); font-weight: 800; margin: .2rem 0 .55rem; }

/* FAQ */
.faq{ margin-top: 1.6rem; }
.faq-title{ margin: 0 0 .75rem; }
.faq-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}
details{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(11,27,43,.08);
  border-radius: 16px;
  padding: .85rem .95rem;
  box-shadow: var(--shadow2);
}
summary{
  cursor:pointer;
  font-weight: 900;
}
details p{ color: var(--muted); font-weight: 650; margin: .65rem 0 0; }

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.form{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(11,27,43,.08);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow2);
}
.form-title{ margin: 0 0 1rem; }
label{
  display:grid;
  gap: .35rem;
  font-weight: 850;
  font-size: .92rem;
}
input, textarea{
  padding: .85rem .9rem;
  border-radius: 14px;
  border: 1px solid rgba(11,27,43,.12);
  font: inherit;
  background: rgba(255,255,255,.85);
}
input:focus, textarea:focus{ outline:none; box-shadow: var(--focus); border-color: rgba(74,163,255,.35); }
textarea{ resize: vertical; }
.field-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-actions{ display:flex; gap:.8rem; flex-wrap: wrap; margin-top: 1rem; }
.error{
  color: #b42318;
  font-size: .82rem;
  font-weight: 800;
  min-height: 1.1em;
}

.contact-aside .aside-block{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(11,27,43,.08);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow2);
  margin-bottom: 1rem;
}
.plain{ list-style:none; padding: 0; margin: .75rem 0 0; }
.plain li{ margin: .35rem 0; color: rgba(11,27,43,.85); font-weight: 650; }
.contact-aside a{ color: var(--primary-2); font-weight: 900; text-decoration: none; }
.contact-aside a:hover{ text-decoration: underline; }

/* Footer */
.footer{
  border-top: 1px solid rgba(11,27,43,.08);
  padding: 1.6rem 0 1.2rem;
  background: rgba(255,255,255,.55);
}
.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-title{ margin: 0; font-weight: 950; }
.footer-meta{ margin: .35rem 0 0; }
.footer-links{ display:flex; gap: 1rem; }
.footer-links a{
  text-decoration:none;
  color: var(--muted);
  font-weight: 900;
}
.footer-links a:hover{ color: var(--primary-2); }
.footer-bottom{ margin-top: .9rem; }

/* Floating buttons */
.fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99;
  display:none;
  padding: .85rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(11,27,43,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.65));
  box-shadow: var(--shadow);
  font-weight: 950;
  cursor:pointer;
}
.fab:hover{ border-color: rgba(74,163,255,.35); }
.to-top{
  position: fixed;
  right: 18px;
  bottom: 74px;
  z-index: 99;
  display:none;
  width: 44px; height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(11,27,43,.10);
  background: rgba(255,255,255,.75);
  box-shadow: var(--shadow2);
  cursor:pointer;
  font-weight: 950;
}
.to-top:hover{ border-color: rgba(25,198,182,.35); }

/* Modal */
.modal::backdrop{ background: rgba(11,27,43,.35); }
.modal{ border: none; padding: 0; background: transparent; }
.modal-card{
  width: min(720px, calc(100vw - 2rem));
  border-radius: 20px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(11,27,43,.10);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.1rem 1.2rem;
  position: relative;
}
.modal-x{
  position:absolute;
  right: 12px; top: 12px;
  width: 40px; height: 40px;
  border-radius: 16px;
  border: 1px solid rgba(11,27,43,.12);
  background: rgba(255,255,255,.75);
  cursor:pointer;
  font-weight: 950;
}
.modal-actions{ display:flex; gap:.8rem; flex-wrap: wrap; margin-top: 1rem; }

/* Modal list (NEW) */
.modal-list{
  margin: .9rem 0 0;
  padding-left: 1.1rem;
  color: rgba(11,27,43,.85);
  font-weight: 650;
}
.modal-list li{ margin: .35rem 0; }

/* Toast */
.toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 120;
  background: rgba(11,27,43,.88);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(11,27,43,.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.show{
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}

/* Reveal animations */
.reveal{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ transition: none; transform: none; }
  .svc-card{ transition: none; }
}

@media (max-width: 980px){
  .card-grid{ grid-template-columns: 1fr; 
  .about-visual{
    grid-template-columns: 1fr;
      align-items: stretch;
  }
  .visual-badge{
    justify-self: start;
  }

  .visual-img{
    height: 260px; /* same height when stacked */
  }
}

/* Make anchor jumps land correctly under sticky header */
main section[id]{
  scroll-margin-top: 130px; /* adjust if your header is taller/shorter */
}

/* -----------------------------
   Premium Motion Pack
------------------------------ */

/* Stagger support for existing reveals */
.reveal{
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

/* Ambient hero orbs (subtle floating) */
@keyframes floaty{
  0%, 100% { transform: translate3d(0,0,0); }
  50%      { transform: translate3d(0,-14px,0); }
}
.orb{
  animation: floaty 14s var(--ease) infinite;
}
.orb-1{ animation-duration: 14s; }
.orb-2{ animation-duration: 18s; animation-delay: -4s; }
.orb-3{ animation-duration: 22s; animation-delay: -9s; }

/* Section accent line “draw” */
@keyframes lineGrow{
  from{ transform: scaleX(.15); opacity: .35; }
  to  { transform: scaleX(1); opacity: 1; }
}
.section-head .accent-line{
  transform-origin: left;
  transform: scaleX(.15);
  opacity: .35;
}
.section-head.visible .accent-line{
  animation: lineGrow .65s var(--ease) forwards;
}

/* Slightly nicer hover micro-interactions */
.svc-card, .profile, .card, .stat{
  transition: transform .14s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.svc-card:hover, .profile:hover, .card:hover, .stat:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Button “shine” (subtle) */
.btn-primary{
  position: relative;
  overflow: hidden;
}
.btn-primary::before{
  content:"";
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.40), transparent);
  transform: translateX(-120%) skewX(-12deg);
  transition: transform .75s var(--ease);
  pointer-events: none;
}
.btn-primary:hover::before{
  transform: translateX(120%) skewX(-12deg);
}

/* Modal pop-in */
@keyframes modalIn{
  from { transform: translateY(10px) scale(.985); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.modal[open] .modal-card{
  animation: modalIn .18s var(--ease);
}

/* Testimonial crossfade hook (JS toggles .t-fade) */
.t-card{
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.t-card.t-fade{
  opacity: 0;
  transform: translateY(6px);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .orb{ animation: none !important; }
  .btn-primary::before{ transition: none !important; }
  .modal[open] .modal-card{ animation: none !important; }
  .t-card{ transition: none !important; }
}




/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-highlights{ grid-template-columns: 1fr; }

/*  .service-grid{ grid-template-columns: repeat(2, 1fr); }*/
.service-grid{
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}


  .team-grid{ grid-template-columns: 1fr; }
  .profile{ grid-template-columns: 1fr; }
  .profile img{ height: 260px; }

  .stats{ grid-template-columns: 1fr; }
  .faq-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }

  .about-grid{ grid-template-columns: 1fr; }
  .about-collage{ min-height: 520px; }
}
@media (max-width: 680px){
  .nav-toggle{ display:inline-flex; }
  .nav{
    display:none;
    position:absolute;
    right: 1rem;
    top: 120px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(11,27,43,.10);
    border-radius: 16px;
    padding: .8rem;
    box-shadow: var(--shadow);
    flex-direction:column;
    align-items:flex-start;
    min-width: 260px;
  }
  .nav.open{ display:flex; }
  .field-row{ grid-template-columns: 1fr; }

  .service-grid{ grid-template-columns: 1fr; }
}
