﻿/* =========================================================
   Tasleem Typing Center — styles.css
   Modern, professional, animated single-page site
   ========================================================= */

/* ---------- Brand Tokens ---------- */
:root{
  /* Brand reds (from official Tasleem logo) */
  --primary: #c41e2a;
  --primary-2: #e64852;
  --primary-3: #8c1018;

  /* Supporting palette */
  --accent: #0e9594;         /* deep teal */
  --accent-2: #056b6a;
  --gold: #d4a93d;            /* refined gold for stars */

  /* Neutrals */
  --bg:       #0c1622;
  --bg-2:     #111d2e;
  --bg-3:     #18283f;
  --surface:  #ffffff;
  --surface-2:#f7f9fc;
  --text:     #0d1a2b;
  --muted:    #5a6a82;
  --line:     #e6ebf3;

  /* Gradients */
  --grad-1:    linear-gradient(135deg, #c41e2a 0%, #e64852 100%);
  --grad-1-deep: linear-gradient(135deg, #8c1018 0%, #c41e2a 100%);
  --grad-2:    linear-gradient(135deg, #0e9594 0%, #1a4f70 100%);
  --grad-hero: linear-gradient(135deg, #0c1622 0%, #131f33 45%, #1a2a48 100%);

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(14,26,43,.06);
  --shadow-md: 0 12px 30px rgba(14,26,43,.10);
  --shadow-lg: 0 30px 60px rgba(14,26,43,.18);
  --shadow-brand: 0 14px 32px rgba(196,30,42,.25);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --container: 1280px;
  --container-wide: 1440px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing: border-box; }
html, body{
  width: 100%;
  min-width: 100%;
  max-width: 100vw;
}
html{
  scroll-behavior: smooth;
  background: #06111f;
}
body{
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  /* Body bg matches the footer color so any overscroll / extra-tall
     viewport area below the footer is dark, not white.
     All page sections have explicit backgrounds, so this is safe. */
  background: #06111f;
  line-height: 1.6;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; border: 0; background: none; }
ul{ list-style: none; padding: 0; margin: 0; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
@media (min-width: 1500px){
  .container{ max-width: var(--container-wide); }
}
@media (max-width: 540px){
  .container{ padding: 0 18px; }
}

/* ---------- Animated background blobs ---------- */
.bg-shapes{
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.bg-shapes .shape{
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
  animation: float-shape 16s ease-in-out infinite;
}
.shape-1{ width: 420px; height: 420px; background:#c41e2a; top: -120px; left:-100px; }
.shape-2{ width: 360px; height: 360px; background:#29c4b3; top: 30%; right:-120px; animation-delay:-4s; }
.shape-3{ width: 300px; height: 300px; background:#1f6fb2; bottom: 10%; left:10%;  animation-delay:-8s; }
.shape-4{ width: 260px; height: 260px; background:#f5c451; top: 60%; left:40%;  animation-delay:-12s; opacity:.22; }
.shape-5{ width: 320px; height: 320px; background:#e64852; bottom: -120px; right: 20%; animation-delay:-6s; opacity:.25; }

@keyframes float-shape{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%   { transform: translate(40px,-30px) scale(1.08); }
}

/* ---------- Scroll progress ---------- */
.scroll-progress{
  position: fixed; top:0; left:0;
  height: 3px; width: 0;
  background: var(--grad-1);
  z-index: 100;
  transition: width .08s linear;
}

/* ---------- Topbar ---------- */
.topbar{
  background: #06111f;
  color: #cfd8e6;
  font-size: 13px;
}
.topbar-inner{
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px;
  gap: 16px;
}
.topbar a{ color: #cfd8e6; transition: color .2s; }
.topbar a:hover{ color: #fff; }
.topbar-left, .topbar-right{ display:flex; gap: 18px; flex-wrap: wrap; }
.topbar i{ color: var(--primary-2); margin-right: 6px; }
.wa-link{ color: #25d366 !important; }
@media (max-width: 720px){
  .topbar-left{ display:none; }
  .topbar-right{ justify-content:center; width:100%; }
}

/* ---------- Navbar ---------- */
.navbar{
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.navbar.scrolled{
  background: rgba(255,255,255,.98);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 28px;
  gap: 16px;
}
@media (max-width: 540px){
  .logo-img{ height: 44px; }
  .nav-inner{ padding: 10px 18px; }
}
.logo{ display:flex; align-items:center; gap: 12px; }
.logo-img{
  height: 56px;
  width: auto;
  display: block;
  transition: transform .35s var(--ease), filter .35s;
}
.logo:hover .logo-img{ transform: scale(1.04); }

/* Footer logo gets a soft white pill so the colored logo reads on dark bg */
.footer-logo-wrap{
  display: inline-flex;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.logo-img-footer{ height: 50px; }

.nav-links{ display:flex; align-items:center; gap: 26px; }
.nav-links a{
  font-weight: 500;
  color: #25334a;
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0;
  width:0; height:2px; background: var(--grad-1);
  transition: width .3s var(--ease);
}
.nav-links a:hover{ color: var(--primary); }
.nav-links a:hover::after{ width: 100%; }
.nav-cta{
  background: var(--grad-1);
  color:#fff !important;
  padding: 10px 18px !important;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(230,72,82,.28);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.nav-cta::after{ display:none; }
.nav-cta:hover{ transform: translateY(-2px); box-shadow: 0 14px 28px rgba(230,72,82,.36); }

.nav-toggle{ display:none; width:42px; height:42px; border-radius: 10px; }
.nav-toggle span{
  display:block; width:22px; height:2px; background: #25334a;
  margin: 4px auto; border-radius:2px; transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px){
  .nav-toggle{ display:block; }
  .nav-links{
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px 26px;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .25s;
  }
  .nav-links.show{
    opacity: 1; transform: translateY(0); pointer-events: auto;
  }
  .nav-links a{ width:100%; padding: 8px 0; border-bottom: 1px dashed var(--line); }
  .nav-links a.nav-cta{ border-bottom: 0; text-align:center; }
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
  cursor:pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary{
  background: var(--grad-1);
  color: #fff;
  box-shadow: 0 12px 28px rgba(196,30,42,.35);
}
.btn-primary::before{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, #e64852, #8c1018);
  opacity: 0; transition: opacity .3s;
}
.btn-primary span, .btn-primary i{ position: relative; z-index: 1; }
.btn-primary:hover{ transform: translateY(-3px); box-shadow: 0 18px 36px rgba(196,30,42,.45); }
.btn-primary:hover::before{ opacity: 1; }

.btn-ghost{
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover{ background: rgba(255,255,255,.16); transform: translateY(-3px); }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  padding: 80px 0 120px;
  overflow: hidden;
}
.hero::after{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(196,30,42,.25), transparent 60%),
    radial-gradient(700px 360px at 0% 100%, rgba(41,196,179,.22), transparent 60%);
  pointer-events: none;
}
.hero-inner{
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
}
.eyebrow{
  display:inline-flex; align-items:center; gap: 10px;
  padding: 8px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #f7c8cc;
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  margin-bottom: 22px;
}
.eyebrow i{ color: var(--gold); }
.hero-title{
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
.gradient-text{
  background: linear-gradient(135deg, #e64852 0%, #c41e2a 50%, #8c1018 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.typewriter{
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #c0d2ee;
  margin-top: 14px;
  min-height: 28px;
}
.typewriter::after{
  content: "|";
  color: var(--primary-2);
  animation: blink 1s infinite;
}
@keyframes blink{ 50%{ opacity: 0; } }

.hero-sub{
  font-size: 17px;
  color: #c7d4ea;
  max-width: 560px;
  margin: 0 0 30px;
}
.hero-cta{ display:flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero-badges{
  display:flex; flex-wrap: wrap; gap: 16px;
}
.badge-item{
  display:flex; align-items:center; gap: 12px;
  padding: 10px 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  transition: transform .3s, background .3s;
}
.badge-item:hover{ transform: translateY(-3px); background: rgba(255,255,255,.12); }
.badge-item i{
  width: 38px; height: 38px;
  display:grid; place-items:center;
  border-radius: 10px;
  background: var(--grad-2);
  color:#fff;
  font-size: 16px;
}
.badge-item strong{ display:block; font-size: 14px; color:#fff; }
.badge-item small{ font-size: 12px; color: #b9c8e0; }

/* Hero visual card */
.hero-visual{ position: relative; height: 520px; }
.hero-card{
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(440px, 100%);
  background: #fff;
  color: #1a2a44;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.05);
  overflow: hidden;
}
.floating{ animation: float 6s ease-in-out infinite; }
@keyframes float{
  0%,100%{ transform: translateY(-4px); }
  50%   { transform: translateY(8px); }
}
.hero-card-head{
  display:flex; align-items:center; gap: 8px;
  padding: 12px 16px;
  background: #f3f6fc;
  border-bottom: 1px solid #e7ecf6;
}
.dot{ width:11px; height:11px; border-radius:50%; display:inline-block; }
.dot.red{ background:#ff6157; }
.dot.yellow{ background:#febc40; }
.dot.green{ background:#28c93f; }
.hero-card-title{
  margin-left: 8px;
  font-size: 13px;
  color: #6e7d97;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.hero-card-body{ padding: 18px; }
.line{
  display:flex; align-items:center; gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafd;
  border: 1px solid #ecf0f7;
  margin-bottom: 10px;
  font-size: 14px;
}
.line i{
  width: 30px; height: 30px;
  display:grid; place-items:center;
  border-radius: 8px;
  background: var(--grad-1);
  color:#fff;
}
.typing-line{ flex:1; font-weight:500; }
.status{
  font-size: 11px; font-weight: 700;
  padding: 4px 8px; border-radius: 999px;
  letter-spacing: .5px;
}
.status.ok{ background: #e9faf0; color: #149f59; }
.status.processing{ background: #fff4e3; color: #c97a08; animation: pulseBg 1.6s infinite; }
@keyframes pulseBg{ 50%{ background: #ffeac4; } }

.progress-wrap{ margin-top: 16px; }
.progress-label{
  display:flex; justify-content: space-between;
  font-size: 12px; color: #6e7d97; margin-bottom: 6px;
}
.progress-bar{
  height: 8px; background: #eef2f9; border-radius: 999px; overflow: hidden;
}
.progress-fill{
  height: 100%; width: 0;
  background: var(--grad-1);
  border-radius: 999px;
  transition: width 1.5s var(--ease);
}
.mini-stats{
  display:grid; grid-template-columns: repeat(3,1fr); gap: 10px;
  margin-top: 16px;
}
.mini-stats > div{
  text-align:center;
  padding: 10px 6px;
  background: #f8fafd;
  border-radius: 12px;
  border: 1px solid #ecf0f7;
}
.mini-stats strong{
  display:block; font-size: 18px; font-weight: 800; color: var(--primary);
}
.mini-stats small{ font-size: 11px; color: #6e7d97; }

/* Orbit floating icons */
.orbit{
  position: absolute;
  width: 60px; height: 60px;
  display:grid; place-items:center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color:#fff; font-size: 22px;
  backdrop-filter: blur(8px);
}
.orbit-1{ top: 10%; left: -10px; animation: float 5s ease-in-out infinite; }
.orbit-2{ bottom: 12%; right: -10px; animation: float 7s ease-in-out infinite; animation-delay: -2s; }
.orbit-3{ top: 50%; right: 8%; animation: float 6s ease-in-out infinite; animation-delay: -4s; }

.scroll-down{
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 999px;
  display: grid; place-items:center;
}
.scroll-down span{
  display:block; width: 4px; height: 8px; background: #fff; border-radius: 4px;
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot{
  0%{ transform: translateY(-8px); opacity:0; }
  50%{ opacity: 1; }
  100%{ transform: translateY(8px); opacity:0; }
}

@media (max-width: 920px){
  .hero{ padding: 50px 0 90px; }
  .hero-inner{ grid-template-columns: 1fr; gap: 50px; }
  .hero-visual{ height: 460px; }
}

/* ---------- Trust strip ---------- */
.trust-strip{
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
}
.trust-track{
  display:flex; gap: 50px;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.trust-item{
  display:flex; align-items:center; gap: 10px;
  font-weight: 600;
  color: #4f6280;
  white-space: nowrap;
  letter-spacing: .5px;
}
.trust-item i{
  font-size: 22px;
  color: var(--primary);
}
@keyframes marquee{
  from{ transform: translateX(0); }
  to  { transform: translateX(-50%); }
}

/* ---------- Section helpers ---------- */
.section{ padding: 100px 0; }
.section-head{
  text-align:center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.kicker{
  display:inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(196,30,42,.12);
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.kicker.light{
  background: rgba(255,255,255,.12);
  color: #f7c8cc;
}
.section-title{
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--text);
  letter-spacing: -0.3px;
}
.section-title.light{ color: #fff; }
.section-sub{
  color: var(--muted);
  font-size: 16.5px;
  margin: 0;
}

/* ---------- Services ---------- */
.services{
  background: linear-gradient(180deg, #fbfcff 0%, #f5f8ff 100%);
  position: relative;
}
.services-grid{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr));
  gap: 26px;
}
.service-card{
  position: relative;
  background: #fff;
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  overflow: hidden;
}
.service-card::before{
  content:""; position:absolute; inset: 0;
  background: var(--grad-1);
  opacity: 0;
  transition: opacity .35s var(--ease);
  z-index: 0;
}
.service-card > *{ position: relative; z-index: 1; }
.service-card:hover{
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before{ opacity: 1; }
.service-card:hover,
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .svc-list li,
.service-card:hover .svc-cta{
  color: #fff;
}
.service-card:hover .svc-icon{
  background: rgba(255,255,255,.18);
  color:#fff;
}
.service-card:hover .svc-list i{ color:#fff; }

.svc-icon{
  width: 64px; height: 64px;
  display:grid; place-items:center;
  border-radius: 16px;
  background: linear-gradient(135deg,#fff1f2,#ffe1e3);
  color: var(--primary);
  font-size: 26px;
  margin-bottom: 18px;
  transition: background .35s, color .35s, transform .35s var(--ease);
}
.service-card:hover .svc-icon{ transform: scale(1.05) rotate(-4deg); }

.service-card h3{
  font-size: 22px;
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -.2px;
}
.service-card p{
  color: var(--muted);
  margin: 0 0 16px;
}
.svc-list{ display:flex; flex-direction:column; gap: 8px; margin-bottom: 20px; }
.svc-list li{
  display:flex; align-items:center; gap: 10px;
  font-size: 14.5px;
  color: #364a66;
}
.svc-list i{ color: var(--accent); font-size: 12px; }
.svc-cta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--grad-1);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .3px;
  border: 1px solid transparent;
  box-shadow: 0 10px 22px rgba(196,30,42,.28);
  transition: background .25s var(--ease),
              color .25s,
              transform .25s var(--ease),
              box-shadow .25s,
              gap .25s;
  position: relative;
  overflow: hidden;
}
.svc-cta::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e64852 0%, #8c1018 100%);
  opacity: 0;
  transition: opacity .3s;
  z-index: 0;
}
.svc-cta i,
.svc-cta span{
  position: relative;
  z-index: 1;
}
.svc-cta i{
  font-size: 15px;
  transition: transform .35s var(--ease);
}
.svc-cta:hover{
  gap: 14px;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(196,30,42,.42);
  color: #fff;
}
.svc-cta:hover::before{ opacity: 1; }
.svc-cta:hover i{ transform: translateX(2px) scale(1.08); }

/* When the service card itself flips to its red-gradient hover state,
   the CTA becomes a clean white pill so it stays clearly readable. */
.service-card:hover .svc-cta{
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}
.service-card:hover .svc-cta::before{ opacity: 0; }
.service-card:hover .svc-cta:hover{
  background: #ffffff;
  color: var(--primary-3);
  transform: translateY(-3px);
}

.service-card.featured{
  border-color: transparent;
  box-shadow: 0 20px 50px rgba(196,30,42,.18);
}
.ribbon{
  position: absolute;
  top: 18px; right: -36px;
  background: var(--grad-1);
  color: #fff;
  padding: 6px 40px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px;
  transform: rotate(35deg);
  box-shadow: 0 6px 14px rgba(230,72,82,.35);
  z-index: 2;
}

/* ---------- About ---------- */
.about{
  background: #fff;
  position: relative;
}
.about-inner{
  display:grid; grid-template-columns: 1fr 1.1fr; gap: 60px;
  align-items: center;
}
.about-visual{ position: relative; }
.about-card{
  display:grid; grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(196,30,42,.06), rgba(41,196,179,.06));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.glass{
  position: relative;
  backdrop-filter: blur(10px);
}
.about-badge{
  grid-column: 1 / -1;
  display:flex; align-items:center; gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.about-badge i{
  width: 50px; height: 50px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: var(--grad-1);
  color: #fff;
  font-size: 22px;
}
.about-badge strong{ display:block; font-size: 18px; }
.about-badge small{ color: var(--muted); }
.about-tile{
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.about-tile:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.about-tile i{
  width: 42px; height: 42px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: linear-gradient(135deg, #e7f6ff, #d5ecff);
  color: #1f6fb2;
  font-size: 18px;
  margin-bottom: 12px;
}
.about-tile h4{ margin: 0 0 6px; font-size: 16px; }
.about-tile p{ margin: 0; color: var(--muted); font-size: 14.5px; }

.about-content p{
  color: #2c3b54;
  font-size: 16px;
  margin: 0 0 14px;
}
.feature-row{
  display:grid; grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0 28px;
}
.feature{
  display:flex; align-items:flex-start; gap: 10px;
  font-size: 14.5px;
  color: #1f2d44;
}
.feature i{ color: var(--accent); margin-top: 4px; }

@media (max-width: 920px){
  .about-inner{ grid-template-columns: 1fr; gap: 40px; }
  .feature-row{ grid-template-columns: 1fr; }
}

/* ---------- Stats ---------- */
.stats-section{
  position: relative;
  padding: 80px 0;
  background: var(--grad-hero);
  color: #fff;
}
.stats-section::after{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(196,30,42,.18), transparent 60%),
    radial-gradient(600px 300px at 100% 100%, rgba(41,196,179,.18), transparent 60%);
  pointer-events:none;
}
.stats-grid{
  position: relative; z-index: 1;
  display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 24px;
}
.stat{
  text-align:center;
  padding: 30px 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), background .3s;
}
.stat:hover{ transform: translateY(-6px); background: rgba(255,255,255,.1); }
.stat-icon{
  width: 60px; height: 60px;
  margin: 0 auto 14px;
  display:grid; place-items:center;
  border-radius: 16px;
  background: var(--grad-1);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 12px 24px rgba(230,72,82,.35);
}
.stat-num{
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  background: linear-gradient(135deg,#fff, #f7c8cc);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-label{ color:#cdd9ee; margin-top: 6px; font-size: 14.5px; }

/* ---------- Process ---------- */
.process{
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}
.process-grid{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 28px;
  position: relative;
}
.process-step{
  position: relative;
  text-align:center;
  padding: 32px 22px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.process-step:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num{
  position: absolute;
  top: 12px; right: 18px;
  font-family: 'Playfair Display', serif;
  font-size: 50px;
  font-weight: 800;
  color: rgba(196,30,42,.12);
  line-height: 1;
}
.step-icon{
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  display:grid; place-items:center;
  border-radius: 50%;
  background: var(--grad-1);
  color:#fff; font-size: 24px;
  box-shadow: 0 12px 24px rgba(230,72,82,.25);
  transition: transform .35s var(--ease);
}
.process-step:hover .step-icon{ transform: scale(1.08) rotate(-4deg); }
.process-step h4{ margin: 0 0 6px; font-size: 18px; }
.process-step p{ margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Why ---------- */
/* ---------- Why Choose Tasleem (redesigned) ---------- */
.why{
  position: relative;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(196,30,42,.06), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(14,149,148,.05), transparent 60%),
    #ffffff;
  overflow: hidden;
}

/* Decorative floating glow blobs (section-scoped) */
.why-bg-deco{ position: absolute; inset: 0; pointer-events: none; }
.why-bg-deco span{
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .25;
}
.why-bg-deco span:nth-child(1){
  width: 280px; height: 280px;
  background: var(--primary);
  top: 15%; left: -80px;
}
.why-bg-deco span:nth-child(2){
  width: 220px; height: 220px;
  background: var(--accent);
  bottom: 25%; right: -60px;
  opacity: .18;
}
.why-bg-deco span:nth-child(3){
  width: 180px; height: 180px;
  background: var(--gold);
  top: 50%; left: 45%;
  opacity: .10;
}

/* 3-col x 2-row grid */
.why-grid{
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 60px;
}
@media (max-width: 980px){ .why-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .why-grid{ grid-template-columns: 1fr; gap: 18px; } }

/* Card */
.why-card{
  position: relative;
  padding: 38px 32px 30px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 4px 14px rgba(14,26,43,.04);
  transition: transform .45s var(--ease),
              box-shadow .45s,
              border-color .45s;
  overflow: hidden;
  isolation: isolate;
}
.why-card:hover{
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(14,26,43,.10);
  border-color: rgba(196,30,42,.25);
}

/* Number watermark */
.why-num{
  position: absolute;
  top: 18px; right: 22px;
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: rgba(196,30,42,.08);
  user-select: none;
  transition: color .4s, transform .4s var(--ease);
  z-index: 0;
}
.why-card:hover .why-num{
  color: rgba(196,30,42,.18);
  transform: scale(1.08) rotate(-3deg);
}

/* Icon container */
.why-icon{
  position: relative;
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 18px;
  color: #fff;
  font-size: 26px;
  margin-bottom: 22px;
  z-index: 1;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.why-icon::before{
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  background: inherit;
  opacity: .18;
  filter: blur(14px);
  z-index: -1;
  transition: opacity .4s;
}
.why-icon--red{
  background: var(--grad-1);
  box-shadow: 0 14px 30px rgba(196,30,42,.30);
}
.why-icon--green{
  background: linear-gradient(135deg, #25d366 0%, #128a45 100%);
  box-shadow: 0 14px 30px rgba(37,211,102,.35);
}
.why-card:hover .why-icon{
  transform: rotate(-8deg) scale(1.08) translateY(-2px);
}
.why-card:hover .why-icon::before{ opacity: .35; }

/* Title + body */
.why-card h4{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.2px;
  color: var(--text);
  position: relative;
  z-index: 1;
}
.why-card p{
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}
.why-card p strong{ color: var(--text); font-weight: 600; }

/* Tag pill */
.why-tag{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(196,30,42,.08);
  color: var(--primary);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .2px;
  border: 1px solid rgba(196,30,42,.12);
  position: relative;
  z-index: 1;
  transition: background .3s, color .3s, transform .3s, border-color .3s;
}
.why-card:hover .why-tag{
  background: var(--grad-1);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}
.why-tag--green{
  background: rgba(37,211,102,.10);
  color: #128a45;
  border-color: rgba(37,211,102,.25);
}
.why-card:hover .why-tag--green{
  background: linear-gradient(135deg, #25d366, #128a45);
  color: #fff;
}

/* WhatsApp-themed featured card */
.why-card--accent{
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(37,211,102,.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7fcf9 100%);
  border-color: rgba(37,211,102,.18);
}
.why-card--accent .why-num{ color: rgba(18,138,69,.12); }
.why-card--accent:hover{ border-color: rgba(37,211,102,.45); }

/* Diagonal sheen sweep on hover */
.why-shine{
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(120deg,
    transparent 30%,
    rgba(255,255,255,.4) 50%,
    transparent 70%);
  transform: skewX(-20deg);
  transition: left .9s var(--ease);
  pointer-events: none;
  z-index: 2;
}
.why-card:hover .why-shine{ left: 130%; }

/* ---------- CTA banner under cards ---------- */
.why-cta{
  position: relative;
  margin-top: 20px;
  padding: 44px 50px;
  background: linear-gradient(135deg, #0c1622 0%, #1a2a48 100%);
  border-radius: 28px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 60px rgba(14,26,43,.18);
}
.why-cta-glow{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 90% 0%, rgba(196,30,42,.35), transparent 60%),
    radial-gradient(400px 250px at 0% 100%, rgba(37,211,102,.18), transparent 60%);
  z-index: -1;
}
.why-cta::before{
  content: "";
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(196,30,42,.15), transparent 60%);
  transform: rotate(-15deg);
  z-index: -1;
  animation: cta-pulse 6s ease-in-out infinite;
}
@keyframes cta-pulse{
  0%, 100%{ opacity: .8; transform: rotate(-15deg) scale(1); }
  50%    { opacity: 1;  transform: rotate(-12deg) scale(1.08); }
}

.why-cta-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #f7c8cc;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.why-cta-eyebrow i{ color: var(--primary-2); }

.why-cta h3{
  margin: 0 0 10px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.2;
}
.why-cta p{
  margin: 0;
  color: #c7d4ea;
  font-size: 15.5px;
  max-width: 560px;
}

.why-cta-actions{
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.btn-whatsapp{
  background: linear-gradient(135deg, #25d366 0%, #128a45 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(37,211,102,.35);
}
.btn-whatsapp::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2ee176, #0f7a40);
  opacity: 0;
  transition: opacity .3s;
  z-index: 0;
}
.btn-whatsapp:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(37,211,102,.45);
}
.btn-whatsapp:hover::before{ opacity: 1; }
.btn-whatsapp span,
.btn-whatsapp i{ position: relative; z-index: 1; }

.btn-ghost-dark{
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(6px);
}
.btn-ghost-dark:hover{
  background: rgba(255,255,255,.14);
  transform: translateY(-3px);
}

@media (max-width: 760px){
  .why-cta{
    grid-template-columns: 1fr;
    padding: 32px 28px;
    text-align: center;
  }
  .why-cta-eyebrow{ margin-inline: auto; }
  .why-cta-actions{ flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .why-cta p{ margin-inline: auto; }
}
@media (max-width: 480px){
  .why-cta-actions{ flex-direction: column; width: 100%; }
  .why-cta-actions .btn{ justify-content: center; width: 100%; }
}

/* ---------- Testimonials (premium) ---------- */
.testimonials{
  background:
    radial-gradient(900px 400px at 50% -10%, rgba(196,30,42,.05), transparent 60%),
    linear-gradient(180deg, #fbfbfd 0%, #ffffff 100%);
}
.testi-grid{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 26px;
}
.testi-card{
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(14,26,43,.04);
  display:flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  overflow: hidden;
}
.testi-card::after{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.testi-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(14,26,43,.10);
  border-color: rgba(196,30,42,.18);
}
.testi-card:hover::after{ transform: scaleX(1); }

.testi-card .quote-mark{
  position: absolute;
  top: 14px; right: 18px;
  font-family: 'Playfair Display', serif;
  font-size: 70px;
  line-height: 1;
  color: rgba(196,30,42,.10);
  font-weight: 700;
  user-select: none;
}
.stars{
  color: var(--gold);
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: 2px;
}
.testi-card blockquote{
  margin: 0 0 22px;
  color: #2a3a55;
  font-size: 15.5px;
  line-height: 1.7;
  position: relative;
  font-weight: 400;
}
.testi-card blockquote::before,
.testi-card blockquote::after{ content: none; }
.testi-card figcaption{
  display:flex; align-items:center; gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.avatar{
  width: 46px; height: 46px; border-radius: 50%;
  display:grid; place-items:center;
  color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 6px 14px rgba(14,26,43,.18);
  letter-spacing: .5px;
}
.testi-card figcaption strong{ display:block; font-size: 15px; color: var(--text); }
.testi-card figcaption small{ color: var(--muted); font-size: 13px; }

/* ---------- Contact ---------- */
.contact{
  background: var(--grad-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::after{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(700px 360px at 90% 10%, rgba(196,30,42,.22), transparent 60%),
    radial-gradient(700px 360px at 10% 90%, rgba(41,196,179,.22), transparent 60%);
  pointer-events:none;
}
.contact-inner{
  position: relative; z-index: 1;
  display:grid; grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: start;
}
.contact-info p.light{ color: #c7d4ea; max-width: 480px; }
.contact-list{
  display:flex; flex-direction: column;
  gap: 18px;
  margin: 26px 0;
}
.contact-list li{
  display:flex; gap: 14px; align-items: flex-start;
}
.contact-list i{
  width: 44px; height: 44px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--primary-2);
  font-size: 18px;
  flex: 0 0 44px;
}
.contact-list strong{ display:block; font-size: 15px; }
.contact-list span{ color: #c7d4ea; font-size: 14.5px; line-height: 1.5; }
.socials{ display:flex; gap: 12px; margin-top: 8px; }
.socials a{
  width: 42px; height: 42px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  font-size: 16px;
  transition: transform .25s var(--ease), background .25s;
}
.socials a:hover{ background: var(--grad-1); transform: translateY(-3px); }

.contact-form{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(10px);
}
.contact-form h3{
  margin: 0 0 8px;
  font-size: 22px;
}
.form-intro{
  margin: 0 0 22px;
  font-size: 13.5px;
  color: #b9c8e0;
  line-height: 1.55;
}
.form-intro strong{ color: #fff; }
.contact-list a{
  color: inherit;
  border-bottom: 1px dashed rgba(247,200,204,.4);
  transition: color .2s, border-color .2s;
}
.contact-list a:hover{ color: var(--primary-2); border-color: var(--primary-2); }

.whatsapp-submit{
  background: linear-gradient(135deg, #1faf57 0%, #128a45 100%) !important;
  box-shadow: 0 14px 32px rgba(31,175,87,.35) !important;
}
.whatsapp-submit::before{
  background: linear-gradient(135deg, #25d366 0%, #0f7a40 100%) !important;
}
.whatsapp-submit i{ font-size: 20px; }

/* Floating WhatsApp tooltip */
.wa-tooltip{
  position: absolute;
  right: 70px; top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #0c1622;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: transform .25s var(--ease), opacity .25s;
  box-shadow: var(--shadow-md);
}
.wa-tooltip::after{
  content: "";
  position: absolute;
  right: -6px; top: 50%;
  width: 0; height: 0;
  border-left: 6px solid #0c1622;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  transform: translateY(-50%);
}
.whatsapp-fab:hover .wa-tooltip{
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* (Footer contact list — main rules live in the polished Footer section below) */
.form-row{
  display:grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group{ display:flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label{ font-size: 13px; color: #c7d4ea; font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea{
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  color: #fff;
  font: inherit;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.form-group input::placeholder,
.form-group textarea::placeholder{ color: #93a3c0; }
.form-group select option{ color: #0e1a2b; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  outline: none;
  border-color: var(--primary);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 4px rgba(196,30,42,.18);
}
.form-submit{ width: 100%; justify-content: center; margin-top: 6px; }
.form-note{ font-size: 12px; color: #93a3c0; margin: 14px 0 0; text-align: center; }
.form-success{
  display:none;
  align-items:center; gap: 14px;
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(31,175,87,.12);
  border: 1px solid rgba(31,175,87,.35);
  border-radius: 12px;
  color: #b6f4c4;
}
.form-success.show{ display:flex; animation: pop .35s var(--ease); }
.form-success i{ font-size: 24px; color: #25d366; }
.form-success strong{ display:block; color:#fff; }
@keyframes pop{
  from{ transform: translateY(8px); opacity: 0; }
  to  { transform: translateY(0);   opacity: 1; }
}

@media (max-width: 920px){
  .contact-inner{ grid-template-columns: 1fr; gap: 40px; }
  .form-row{ grid-template-columns: 1fr; }
}

/* ---------- Footer (polished) ---------- */
.footer{
  position: relative;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(196,30,42,.10), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(14,149,148,.06), transparent 60%),
    linear-gradient(180deg, #0a1322 0%, #06111f 100%);
  color: #cfd8e6;
  padding-top: 80px;
  isolation: isolate;            /* keep bg shapes from bleeding through */
  z-index: 1;
}
.footer-accent{
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--primary) 20%,
    var(--primary-2) 50%,
    var(--primary) 80%,
    transparent 100%);
  box-shadow: 0 0 24px rgba(196,30,42,.5);
}

.footer-inner{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 50px;
  padding-bottom: 60px;
}

/* Headings */
.footer-col h5{
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 22px;
  position: relative;
  padding-bottom: 14px;
  font-weight: 700;
}
.footer-col h5::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 2px;
  background: var(--grad-1);
  border-radius: 2px;
}

/* Brand column */
.footer-brand .footer-logo-wrap{
  display: inline-flex;
  background: #ffffff;
  padding: 14px 22px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  margin-bottom: 22px;
}
.footer-brand .logo-img-footer{ height: 58px; }
.footer-tagline{
  color: #b1c0d8;
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 22px;
  max-width: 320px;
}
.footer-tagline strong{ color: #fff; }

.footer-socials{ display: flex; gap: 10px; }
.footer-socials a{
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: #cfd8e6;
  font-size: 15px;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.footer-socials a:hover{
  background: var(--grad-1);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-brand);
}

/* Link lists */
.footer-col > ul{ display:flex; flex-direction:column; gap: 12px; }
.footer-col > ul li a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b1c0d8;
  font-size: 14.5px;
  transition: color .2s, transform .2s, letter-spacing .2s;
}
.footer-col > ul li a i{
  font-size: 9px;
  color: var(--primary);
  transition: transform .25s var(--ease), color .25s;
}
.footer-col > ul li a:hover{
  color: #fff;
  transform: translateX(4px);
}
.footer-col > ul li a:hover i{
  color: var(--primary-2);
  transform: translateX(2px);
}

/* Contact list (footer version) */
.footer-contact-col .footer-contact{ display: flex; flex-direction: column; gap: 16px; }
.footer-contact-col .footer-contact li{
  display: flex; align-items: flex-start; gap: 12px;
  color: #b1c0d8;
  font-size: 14px;
  line-height: 1.6;
}
.footer-contact-col .footer-contact i{
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(196,30,42,.12);
  border: 1px solid rgba(196,30,42,.25);
  color: var(--primary-2);
  font-size: 14px;
  margin: 0;
  flex: 0 0 36px;
  transition: background .25s, border-color .25s;
}
.footer-contact-col .footer-contact li:hover i{
  background: rgba(196,30,42,.22);
  border-color: rgba(196,30,42,.45);
}
.footer-contact-col .footer-contact a{
  color: #cfd8e6;
  transition: color .2s;
  border-bottom: 1px dashed transparent;
}
.footer-contact-col .footer-contact a:hover{
  color: var(--primary-2);
  border-bottom-color: var(--primary-2);
}

/* Authority badges sub-strip */
.footer-trust{
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  padding: 22px 0;
}
.footer-trust-inner{
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.footer-trust-label{
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding-right: 22px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.footer-trust-label i{
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--grad-1);
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 6px 16px rgba(196,30,42,.4);
  font-size: 13px;
}
.footer-trust-list{
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  flex: 1;
}
.footer-trust-list span{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #b1c0d8;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.footer-trust-list span:hover{
  background: rgba(196,30,42,.10);
  border-color: rgba(196,30,42,.30);
  color: #fff;
  transform: translateY(-2px);
}
.footer-trust-list span i{ color: var(--primary-2); font-size: 13px; }

@media (max-width: 760px){
  .footer-trust-inner{ justify-content: center; text-align: center; }
  .footer-trust-label{ border-right: 0; padding-right: 0; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.10); width: 100%; justify-content: center; }
  .footer-trust-list{ justify-content: center; }
}

/* Bottom bar */
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  font-size: 13.5px;
  color: #8597b3;
  background: rgba(0,0,0,.30);
}
.footer-bottom .container{
  display:flex; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap;
  align-items: center;
}
.footer-bottom strong{ color: #fff; font-weight: 600; }

.footer-legal{
  display: inline-flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-legal a{
  color: #a3b1c7;
  transition: color .2s;
  position: relative;
}
.footer-legal a::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--primary-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.footer-legal a:hover{ color: #fff; }
.footer-legal a:hover::after{ transform: scaleX(1); }
.footer-legal span{ color: rgba(255,255,255,.20); }

.footer-credit{
  display: inline-flex; align-items: center; gap: 8px;
}
.footer-credit i{
  color: var(--primary);
  animation: heart-beat 1.4s ease-in-out infinite;
}
@keyframes heart-beat{
  0%, 100%{ transform: scale(1); }
  20%, 60%{ transform: scale(1.2); }
  40%, 80%{ transform: scale(.95); }
}

@media (max-width: 700px){
  .footer-bottom .container{ justify-content: center; text-align: center; }
}

@media (max-width: 1100px){
  .footer-inner{ grid-template-columns: 1.3fr 1fr 1.3fr; gap: 36px; }
  .footer-brand{ grid-column: 1 / -1; max-width: 700px; }
}
@media (max-width: 760px){
  .footer-inner{ grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand{ grid-column: 1 / -1; }
  .footer-contact-col{ grid-column: 1 / -1; }
}
@media (max-width: 480px){
  .footer{ padding-top: 60px; }
  .footer-inner{ grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer-bottom .container{ justify-content: center; text-align: center; }
}

/* ---------- Floating action buttons (WhatsApp + Back-to-top) ---------- */
.fab-stack{
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 60;
}

.whatsapp-fab{
  position: relative;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  font-size: 28px;
  flex-shrink: 0;
  box-shadow:
    0 14px 30px rgba(37,211,102,.40),
    0 0 0 6px rgba(37,211,102,.10);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.whatsapp-fab:hover{
  transform: scale(1.08);
  box-shadow:
    0 18px 40px rgba(37,211,102,.50),
    0 0 0 8px rgba(37,211,102,.15);
}
.wa-pulse{
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse 1.8s ease-out infinite;
  opacity: .6;
  pointer-events: none;
}
@keyframes pulse{
  0%  { transform: scale(.9); opacity:.7; }
  100%{ transform: scale(1.6); opacity: 0; }
}

.to-top{
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad-1);
  color: #fff;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow:
    0 12px 26px rgba(196,30,42,.35),
    0 0 0 5px rgba(196,30,42,.10);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: scale(.85);
  max-height: 0;
  margin-bottom: -14px;
  overflow: hidden;
  transition:
    opacity .25s,
    transform .25s,
    box-shadow .25s,
    max-height .25s,
    margin-bottom .25s,
    visibility .25s;
}
.to-top.show{
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: scale(1);
  max-height: 46px;
  margin-bottom: 0;
}
.to-top:hover{
  transform: scale(1.05);
  box-shadow:
    0 16px 32px rgba(196,30,42,.45),
    0 0 0 7px rgba(196,30,42,.15);
}

@media (max-width: 480px){
  .fab-stack{
    bottom: 18px;
    right: 18px;
    gap: 12px;
  }
  .whatsapp-fab{
    width: 52px; height: 52px;
    font-size: 26px;
  }
  .to-top{
    width: 42px; height: 42px;
    font-size: 14px;
    margin-bottom: -12px;
  }
  .to-top.show{
    max-height: 42px;
  }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal{
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.reveal[data-reveal="left"]{ transform: translateX(-40px); }
.reveal[data-reveal="right"]{ transform: translateX(40px); }
.reveal.visible{
  opacity: 1;
  transform: translate(0,0);
}

/* =========================================================
   MOUSE EFFECTS + EXTRA ANIMATIONS
   ========================================================= */

/* ---------- Typing-themed custom cursor ---------- */
/*  Keyboard "key" + blinking text caret + soft tracking ring.
    Additive — the native OS cursor is still visible. */
.t-cursor-key,
.t-cursor-caret,
.t-cursor-ring{
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}

/* Key cap */
.t-cursor-key{
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fff1ea);
  border: 1px solid rgba(196,30,42,.55);
  box-shadow:
    inset 0 -2px 0 rgba(0,0,0,.06),
    0 6px 14px rgba(196,30,42,.35);
  color: var(--primary);
  font-size: 14px;
  transition: transform .15s var(--ease),
              background .25s, border-color .25s, color .25s,
              box-shadow .2s, opacity .2s;
}
.t-cursor-key i{ font-size: 13px; }

/* Blinking text caret beside the key */
.t-cursor-caret{
  width: 2px; height: 18px;
  background: var(--primary);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(196,30,42,.8);
  margin-left: 22px;     /* visually offset to the right of the key */
  margin-top: 1px;
  animation: caret-blink 1s steps(1) infinite;
  transition: opacity .2s;
}
@keyframes caret-blink{
  50%{ opacity: 0; }
}

/* Soft ring that lerps behind the cursor */
.t-cursor-ring{
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 2px solid rgba(196,30,42,.35);
  box-shadow: 0 0 24px rgba(196,30,42,.15);
  transition: width .25s var(--ease), height .25s var(--ease),
              border-color .25s, background .25s, border-radius .25s,
              opacity .2s;
}

/* Hover state — over any interactive element */
.t-cursor-ring.hover{
  width: 72px; height: 72px;
  border-radius: 16px;
  background: rgba(196,30,42,.10);
  border-color: rgba(196,30,42,.85);
}
.t-cursor-key.hover{
  transform: translate(-50%, -50%) scale(1.08);
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  color: #fff;
  border-color: rgba(255,255,255,.6);
}

/* Press / click state — key visibly "presses down" */
.t-cursor-key.click{
  transform: translate(-50%, -50%) scale(.82) translateY(2px);
  box-shadow: 0 2px 6px rgba(196,30,42,.45);
}
.t-cursor-ring.click{
  width: 32px; height: 32px;
  background: rgba(196,30,42,.25);
}

/* Over text inputs / textareas — hide key, just show typing caret */
.t-cursor-key.text-mode{ opacity: 0; }
.t-cursor-ring.text-mode{ opacity: 0; }
.t-cursor-caret.text-mode{
  margin-left: 0;
  height: 22px;
  width: 2px;
}

/* Hide when mouse leaves window */
body.cursor-hidden .t-cursor-key,
body.cursor-hidden .t-cursor-caret,
body.cursor-hidden .t-cursor-ring{ opacity: 0; }

/* Hide custom cursor on touch / coarse pointer devices */
@media (hover: none), (pointer: coarse){
  .t-cursor-key, .t-cursor-caret, .t-cursor-ring{ display: none !important; }
}

/* ---------- Magnetic buttons ---------- */
/* Do NOT override the target's `display` here — many magnetic targets
   are <button width:100%> or inline elements and changing display
   can break their layout. Just animate transform. */
.magnetic{
  transition: transform .25s var(--ease);
  will-change: transform;
}

/* ---------- Ripple effect ---------- */
.ripple{
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  transform: scale(0);
  opacity: .85;
  animation: ripple-anim .6s ease-out forwards;
  pointer-events: none;
  z-index: 2;
}
@keyframes ripple-anim{
  to{ transform: scale(2.4); opacity: 0; }
}
/* Make sure every ripple host clips its overflow */
.btn, .nav-cta, .svc-cta{
  position: relative;
  overflow: hidden;
}
.to-top, .whatsapp-fab{
  overflow: hidden;
}

/* ---------- 3D tilt on service cards ---------- */
.service-card{
  transform-style: preserve-3d;
  perspective: 800px;
  will-change: transform;
}
.service-card .svc-icon,
.service-card h3,
.service-card p{
  transform: translateZ(0);
  transition: transform .35s var(--ease), background .35s, color .35s;
}
.service-card.tilted .svc-icon{ transform: translateZ(40px) scale(1.05); }
.service-card.tilted h3{ transform: translateZ(26px); }
.service-card.tilted p{ transform: translateZ(14px); }

/* Sheen / shine sweep on cards */
.service-card::after,
.why-card::after,
.process-step::after{
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255,255,255,.35) 50%,
    transparent 100%);
  transform: skewX(-20deg);
  transition: left .9s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.service-card:hover::after,
.why-card:hover::after,
.process-step:hover::after{
  left: 130%;
}
.why-card, .process-step{ position: relative; overflow: hidden; }

/* ---------- Hero parallax targets ---------- */
.parallax{ transition: transform .25s var(--ease); will-change: transform; }

/* ---------- Hero spotlight that follows mouse ---------- */
.hero{ position: relative; }
.hero-spotlight{
  position: absolute; inset: 0;
  background: radial-gradient(
    400px circle at var(--mx, 50%) var(--my, 50%),
    rgba(196,30,42,.22),
    transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
  z-index: 0;
}
.hero:hover .hero-spotlight{ opacity: 1; }

/* ---------- Wobble on service icon hover ---------- */
@keyframes wobble{
  0%,100%{ transform: rotate(0); }
  20%{ transform: rotate(-8deg); }
  40%{ transform: rotate(6deg); }
  60%{ transform: rotate(-4deg); }
  80%{ transform: rotate(2deg); }
}
.svc-icon:hover{ animation: wobble .6s var(--ease); }

/* ---------- Stats stagger pop ---------- */
.stat{ transition: transform .35s var(--ease), background .35s, box-shadow .35s; }
.stat:hover .stat-icon{
  animation: pop-icon .5s var(--ease);
}
@keyframes pop-icon{
  0%{ transform: scale(1) rotate(0); }
  50%{ transform: scale(1.18) rotate(-8deg); }
  100%{ transform: scale(1) rotate(0); }
}

/* ---------- Section heading underline ---------- */
.section-title{
  position: relative;
  display: inline-block;
}
.section-title::after{
  content: "";
  display: block;
  width: 0;
  height: 4px;
  margin: 14px auto 0;
  background: var(--grad-1);
  border-radius: 999px;
  transition: width .8s var(--ease);
}
.section-head .reveal.visible .section-title::after,
.section-head.visible .section-title::after,
.section-title.visible::after{ width: 80px; }
.reveal.visible .section-title::after{ width: 80px; }

/* ---------- Glow ring on focus for links ---------- */
.nav-links a:focus-visible,
.btn:focus-visible{
  outline: 3px solid rgba(196,30,42,.55);
  outline-offset: 4px;
  border-radius: 999px;
}

/* ---------- Sparkles on form success ---------- */
.sparkle{
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  box-shadow: 0 0 12px rgba(245,196,81,.9);
  animation: sparkle-fly .9s ease-out forwards;
}
@keyframes sparkle-fly{
  0%  { transform: translate(0,0) scale(1); opacity: 1; }
  100%{ transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; }
}
.contact-form{ position: relative; overflow: visible; }

/* ---------- Image / icon zoom on testimonial hover ---------- */
.testi-card{ position: relative; overflow: hidden; }
.testi-card::before{
  content: "";
  position: absolute;
  top: -50%; right: -50%;
  width: 160%; height: 160%;
  background: radial-gradient(circle at 50% 50%, rgba(196,30,42,.06), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
}
.testi-card:hover::before{ opacity: 1; }
.testi-card:hover .avatar{ transform: scale(1.1) rotate(-4deg); }
.avatar{ transition: transform .35s var(--ease); }

/* ---------- Hero card hover glow ---------- */
.hero-card{
  transition: transform .4s var(--ease), box-shadow .4s;
}
.hero-card:hover{
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 40px 100px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.1);
}

/* (Removed the WhatsApp "nudge" animation — the static pulse ring is
   enough to draw attention without risking visual collisions with the
   back-to-top button stacked above it.) */

/* ---------- Service grid wider gap on large screens ---------- */
@media (min-width: 1500px){
  .services-grid,
  .why-grid,
  .process-grid,
  .testi-grid{ gap: 30px; }
}

/* ---------- Print / reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .cursor-dot, .cursor-ring{ display: none; }
}


