/* style.css — patched for hover, group-hover, icons & animations
   Breakpoints: sm=640px md=768px lg=1024px xl=1280px
*/

/* Root variables (light theme) */
:root{
  --bg-h: 210;
  --bg-s: 25%;
  --bg-l: 98%;

  --background: hsl(var(--bg-h) var(--bg-s) var(--bg-l));
  --foreground: hsl(215 30% 15%);

  --card: hsl(0 0% 100%);
  --card-foreground: hsl(215 30% 15%);

  --primary: hsl(210 85% 35%);
  --primary-foreground: #fff;

  --accent: hsl(25 95% 53%);
  --accent-foreground: #fff;

  --muted: hsl(210 20% 95%);
  --muted-foreground: hsl(215 15% 45%);

  --destructive: hsl(0 84% 60%);

  --radius: 12px;
  --container-max: 1280px;

  --shadow-card: 0 10px 30px rgba(20,24,40,0.06);
  --shadow-elev: 0 20px 50px rgba(20,24,40,0.08);
  --shadow-cta: 0 12px 30px rgba(255,140,60,0.12);
}

/* Dark mode token set (if you want to enable) */
.dark {
  --background: hsl(215 30% 10%);
  --foreground: hsl(210 25% 95%);
  --card: hsl(215 30% 14%);
  --muted: hsl(215 25% 18%);
}

/* Basic resets */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:var(--background);
  color:var(--foreground);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
}
 
.trust-badge {
    color: #0d59a5 !important;
}
.trust-badge.text-center.p-4.md\:p-6.ring-2.ring-primary\/30.bg-primary\/5 {
    border: 2px solid hsl(208.93deg 48.28% 77.25%) !important;
}
h3.font-bold.text-sm.md\:text-base.text-primary {
    color: #0d59a5 !important;
}
h3.font-bold.text-sm.md\:text-base.text-foreground {
    color: #000 !important;
}
.bg-red {
    background: hsl(0 84% 60%);
    color: #fff !important;
}
.rounded-full2 {
     background: #e6eef6 !important;
    height: 47px !important;
    width: 46px !important;
}


/* Utility container */
.container{
  width:1400px !important;
  max-width:var(--container-max);
  margin:0 auto;
  padding-left:1rem;
  padding-right:1rem;
}
a.btn.btn-cta-large:hover {
    --tw-scale-x: 1.05;
    --tw-scale-y: 1.05;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
    --tw-brightness: brightness(1.1);
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.text-primary-foreground {
    color: hsl(0 0% 100%) !important;
}
.bg-accent\/20 {
    background-color: hsl(25deg 95% 53% / 20%) !important;
}
.border-accent\/30 {
    border-color: hsl(25deg 95% 53% / 20%) !important;
}
.bg-primary {
    background-color: hsl(210 85% 35%) !important;
}
/* header */
.site-header{
  background:transparent;
  position:sticky;
  top:0;
  z-index:60;
  backdrop-filter: blur(6px);
}
.bg-foreground {
    background-color: hsl(215 30% 15%) !important;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:1rem 0;
}
.firstbox{
    background: #fffbeb !important;
}
.bg-orange-50 {
    background: #fff7ed !important;
}
.bg-red-50 {
    background: #fef2f2 !important;
}
.bg-red-100 {
    background: #fee2e2 !important;
}
p.text-4xl.md\:text-5xl.font-black.text-primary {
    color: #0d5c9d;
}.fill-accent {
    fill: hsl(25 95% 53%) !important;
}.text-accent {
    color: hsl(25 95% 53%) !important;
}
 

.w-14.h-14.rounded-xl.bg-primary\/10.flex.items-center.justify-center.mb-4.group-hover\:bg-primary.group-hover\:scale-110.transition-all.duration-300 {
    background: #e6eef6;
     color: #155ea8 ;
}
.w-14.h-14.rounded-xl.bg-primary\/10.flex.items-center.justify-center.mb-4.group-hover\:bg-primary.group-hover\:scale-110.transition-all.duration-300:hover {
    background: #155ea8;
     color: #fff ;
}
.group.p-6.rounded-2xl.bg-card.border.border-border\/50.shadow-card.hover\:shadow-elevated.hover\:border-primary\/20.transition-all.duration-300:hover .w-14.h-14.rounded-xl.bg-primary\/10.flex.items-center.justify-center.mb-4.group-hover\:bg-primary.group-hover\:scale-110.transition-all.duration-300 {
    
     background: #155ea8;
     color: #fff ;
}
.logo{font-weight:700; font-size:1rem}
.top-nav a{margin-left:1rem; color:var(--foreground); text-decoration:none; opacity:.85}
.top-nav a:hover{opacity:1}

/* Sections */
.section{padding:48px 0}
.section-padding{padding-top:48px; padding-bottom:48px}

/* Hero */
.hero{position:relative; overflow:hidden; background: linear-gradient(135deg, var(--primary), hsl(200 75% 25%)); color:var(--primary-foreground)}
.hero-inner{position:relative; z-index:10; text-align:center; padding-bottom:80px}
.hero-bg{position:absolute; inset:0; opacity:.12; pointer-events:none}
.float-circle{
  position:absolute;
  border-radius:999px;
  filter:blur(34px);
  opacity:.95;
  transform:translateZ(0);
  will-change: transform, filter;
}
.float-1{width:256px;height:256px; background:var(--primary-foreground); top:5rem; right:2.5rem; animation:float 8s ease-in-out infinite}
.float-2{width:192px;height:192px; background:var(--primary-foreground); bottom:5rem; left:2.5rem; animation:float 9s ease-in-out infinite}
.float-3{width:200px;height:200px;background:var(--primary-foreground); top:3rem; left:10rem; animation:float 9.5s ease-in-out infinite}
.float-4{width:300px;height:300px;background:var(--primary-foreground); bottom:6rem; right:6rem; animation:float 11s ease-in-out infinite}

/* Emergency banner */
.emergency-banner{text-transform: uppercase;display:inline-flex;gap:.6rem;align-items:center;color:rgba(255,255,255,.95);font-weight:700;margin:1rem auto}
.emergency-banner .icon{width:1.1rem;height:1.1rem}


/* Hero title & copy */
.hero-title{font-weight:900; font-size:2.25rem; margin:0.5rem 0; line-height:1.02; margin-bottom: 1.5rem;color:#fff;}
@media(min-width:768px){
    .hero-title{font-size:3rem} 
}

@media screen and (max-width: 600px) {
  .container {
    width: 100% !important;
    }
}
@media(min-width:1024px){ .hero-title{font-size:4.5rem} }

.accent{color:var(--accent);}

/* subtitle */
.hero-sub{max-width:48rem;margin:0 auto;color:rgba(255,255,255,.9);font-size:1.05rem}
@media(min-width:1024px){ .hero-sub{font-size:1.50rem} }

/* CTA */
.cta-row{margin:1.5rem 0; display:flex; justify-content:center}
.btn{display:inline-flex;align-items:center;gap:.75rem;border-radius:14px;padding:.9rem 1.1rem;font-weight:700;text-decoration:none;transition:transform .18s ease, filter .18s ease, box-shadow .18s ease}
.btn .icon{width:1.25rem;height:1.25rem;opacity:.98}

/* CTA primary style */
.btn-cta-large{background:var(--accent);color:var(--accent-foreground); box-shadow:var(--shadow-cta); transform:translateZ(0); border: none;}
.btn-cta-large:hover,
.btn-cta-large:focus{
  transform:scale(1.05);
  filter:brightness(1.06);
  box-shadow: 0 20px 50px rgba(255,140,60,0.18);
  outline: none;
}

/* response bubble */
.response-bubble{display:inline-flex;align-items:center;gap:.6rem;padding:.6rem 1rem;border-radius:999px;background:rgba(255,255,255,.12); margin:1rem auto;font-weight:700}
.response-bubble svg{width:1.5rem;height:1.5rem}

/* trust inline */
.trust-inline{display:flex;gap:1.25rem;justify-content:center;margin-top:1rem;flex-wrap:wrap}
.trust-item{display:flex;gap:.6rem;align-items:center;color:rgba(255,255,255,.9)}
.trust-item .icon{width:1.2rem;height:1.2rem}

/* hero wave */
.hero-wave{display:block; position:relative; margin-top:0}

/* TRUST BADGES */
.section-trust{background:linear-gradient(180deg,hsl(200 60% 94%),var(--background))}
.grid{display:grid;gap:1rem}
.grid-3{grid-template-columns:1fr; }
@media(min-width:640px){ .grid-3{grid-template-columns:repeat(3,1fr)} }

.badge{background:var(--card); padding:1.2rem; border-radius:14px; text-align:center; box-shadow:var(--shadow-card); border:1px solid rgba(0,0,0,0.04); transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}
.badge .badge-icon{width:48px;height:48px;border-radius:10px;margin:0 auto;margin-bottom:.6rem;background:rgba(0,0,0,0.04);display:flex;align-items:center;justify-content:center}
.badge h3{margin:.4rem 0 0.2rem;font-size:1rem}
.badge p{margin:0;color:var(--muted-foreground)}

.badge.highlight{border:2px solid rgba(99,102,241,0.22); background:rgba(99,102,241,0.03)}
.badge.highlight .badge-icon{background:var(--primary); color:var(--primary-foreground)}

.badge:hover{transform:translateY(-6px); box-shadow:var(--shadow-elev);}

/* TIMELINE */
.section-timeline{position:relative}
.timeline-intro .pill{display:inline-flex; gap:.5rem; align-items:center;padding:.45rem .8rem;border-radius:999px;background:rgba(255,100,100,0.09); font-weight:700;margin-bottom:1rem}
.timeline{position:relative;margin:2rem auto}
.timeline-line{display:none}
@media(min-width:768px){
  .timeline{padding-left:3rem}
  .timeline-line{display:block; position:absolute; left:40px; top:0; bottom:0; width:8px; border-radius:999px; background: linear-gradient(180deg,#f59e0b,#f97316,#ef4444,#b91c1c)}
}
.timeline-steps{display:flex;flex-direction:column;gap:1.25rem}
.timeline-item{position:relative}
.timeline-dot{display:none}
@media(min-width:768px){
  .timeline-dot{display:block; position:absolute; left:36px; top:28px; width:16px;height:16px;border-radius:999px;border:4px solid var(--background); z-index:10}
}
.timeline-card{
  background:var(--card);
  padding:1rem;
  border-radius:14px;
  border:2px solid rgba(0,0,0,0.03);
  box-shadow:var(--shadow-card);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  overflow:visible;
}

/* group hover: we rely on parent .group to rotate icon etc */
.group { --group-hover-scale: 1.02; }

.timeline-card.group:hover{
  transform:scale(var(--group-hover-scale));
  box-shadow:var(--shadow-elev);
}

/* card layout */
.card-left{display:flex;gap:1rem;align-items:center}
.card-icon{width:64px;height:64px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.25rem; transition:transform .4s cubic-bezier(.2,.9,.2,1), box-shadow .25s ease, filter .25s ease}
.card-icon svg{width:36px;height:36px}
.card-icon.amber{background:#ffedd5;color:#92400e}
.card-icon.orange{background:#fff7ed;color:#b45309}
.card-icon.red{background:#fee2e2;color:#991b1b}
.card-icon.deepred{background:#fecaca;color:#7f1d1d}

/* rotate & pop icon on group hover */
.timeline-card.group:hover .card-icon{
  transform: rotate(6deg) scale(1.06);
  filter:brightness(1.03) drop-shadow(0 8px 28px rgba(0,0,0,0.06));
}

/* add glow for severe items */
.timeline-card.group:hover .card-icon.red,
.timeline-card.group:hover .card-icon.deepred{
  box-shadow: 0 12px 40px rgba(239,68,68,0.12), 0 2px 8px rgba(0,0,0,0.06);
}

/* card-meta and cost */
.card-meta h3{margin:.2rem 0}
.caps{display:block;font-size:.7rem;font-weight:800;letter-spacing:.06em;margin-bottom:.2rem}
.card-cost{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem .6rem;border-radius:999px;font-weight:700;margin-top:.4rem;background:rgba(0,0,0,0.03)}

/* SERVICES GRID */
.section-services .services-grid{display:grid;gap:1rem;grid-template-columns:1fr}
@media(min-width:768px){ .section-services .services-grid{grid-template-columns:repeat(2,1fr)} }
@media(min-width:1024px){ .section-services .services-grid{grid-template-columns:repeat(3,1fr)} }
.service-card{
  background:var(--card);
  padding:1.25rem;border-radius:14px;border:1px solid rgba(0,0,0,0.04);
  box-shadow:var(--shadow-card);transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card.group:hover{transform:translateY(-6px);box-shadow:var(--shadow-elev);border-color:rgba(99,102,241,0.12)}
.service-icon{width:56px;height:56px;border-radius:12px;background:rgba(99,102,241,0.06);display:flex;align-items:center;justify-content:center;margin-bottom:.75rem;transition:transform .28s ease, background .28s ease}
.service-card.group:hover .service-icon{transform:scale(1.06); background:var(--primary); color:var(--primary-foreground)}
.service-icon svg{width:28px;height:28px}

/* TESTIMONIALS */
.section-testimonials{background:rgba(0,0,0,0.03)}
.testimonials-grid{display:grid;gap:1rem}
@media(min-width:768px){ .testimonials-grid{grid-template-columns:repeat(3,1fr)} }
.testimonial-card{background:var(--card);padding:1rem;border-radius:14px;border:1px solid rgba(0,0,0,0.04);position:relative}
.quote-decor{position:absolute;right:1rem;top:1rem;width:32px;height:32px;opacity:.06}
.stars{color:var(--accent);font-weight:800;margin-bottom:.5rem}
.testimonial-text{margin-bottom:.75rem}
.test-trust-metrics{display:flex;gap:2rem;justify-content:center;margin-top:1.25rem;flex-wrap:wrap}
.metric{text-align:center}
.metric .big{font-size:2rem;font-weight:900}
.metric .primary{color:var(--primary)}

/* CONTACT CTA HERO VARIANT */
.hero-variant{position:relative; overflow:hidden; background: linear-gradient(135deg, var(--primary), hsl(200 74% 24%)); color:var(--primary-foreground)}
.contact-bg .float-circle{filter:blur(40px); opacity:.14}
.pill.accent{display:inline-flex;align-items:center;gap:.5rem;padding:.45rem .75rem;border-radius:999px;background:rgba(255,255,255,0.08);font-weight:700;color:var(--accent)}

/* FOOTER */
.site-footer{background:var(--foreground); color:var(--primary-foreground); padding:2rem 0 4rem}
.site-footer .muted{opacity:.8}
.footer-bottom{display:flex;flex-direction:column;gap:.5rem;align-items:center;justify-content:center}
.footer-links{display:flex;gap:.6rem;margin-top:.6rem}
.footer-links a{color:inherit;text-decoration:none;opacity:.9}

/* Sticky call bar (mobile only) */
.sticky-call{position:fixed; left:0; right:0; bottom:0; z-index:999; padding:1rem; display:block; transform:translateY(100%); opacity:0; transition:all .28s cubic-bezier(.2,.9,.2,1)}
@media(max-width:767px){
  .sticky-call{display:block}
}
.sticky-call.show{transform:translateY(0); opacity:1}
.btn.fullwidth{width:100%}
.pulse-soft{animation:pulse-soft 2.2s infinite}
.bounce{animation:bounce-subtle 2s infinite}
.bounce-once{animation:bounce-subtle 1.2s}

/* Typography helpers */
h1,h2,h3{margin:0 0 .6rem}
h1{font-size:1.6rem;font-weight:900}
@media(min-width:1024px){ h1{font-size:2rem} }
h2{font-size:1.4rem;font-weight:800}
h3{font-size:1.05rem;font-weight:800}
.muted{color:var(--muted-foreground)}
.small{font-size:.875rem}
.display-4{font-size:3rem;font-weight:900}
.lead{font-size:1.1rem}

/* Prose area (privacy/terms) */
.prose{color:var(--muted-foreground);line-height:1.7}
.prose h2{color:var(--foreground);font-size:1.1rem;margin-top:1rem}

/* Misc */
.back-link{display:inline-block;margin-bottom:1rem;color:var(--primary);text-decoration:none}
.link{color:var(--primary);text-decoration:underline}

/* Animations you approved */
@keyframes float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-20px)}
}
@keyframes glow{
  0%,100%{filter:brightness(1)}
  50%{filter:brightness(1.18)}
}
@keyframes bounce-subtle{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-6px)}
}
@keyframes pulse-soft{
  0%,100%{opacity:1}
  50%{opacity:.7}
}

/* small helpers */
.container.max-w-3xl{max-width:720px}
.max-w-4xl{max-width:920px}
.text-center{text-align:center}

/* small accessibility focus outline */
a:focus, button:focus {
  outline: 3px solid rgba(99,102,241,0.18);
  outline-offset: 3px;
  border-radius: 8px;
}






