/* =========================================================
   AQUA SHINE — MODERN LAYER (2026 refresh)
   Loaded after style.css on every page. Overrides look & feel,
   adds new components: before/after slider, comparison,
   packages, testimonial marquee. Remove this file to revert.
   ========================================================= */
:root {
    --blue: #22d3ee;
    --blue-2: #3b82f6;
    --violet: #8b5cf6;
    --blue-dim: rgba(34, 211, 238, 0.12);
    --bg: #05070d;
    --bg2: #080b14;
    --bg3: #0c1120;
    --text: #eef2f8;
    --muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.04);
    --grad: linear-gradient(120deg, #22d3ee 0%, #3b82f6 50%, #8b5cf6 100%);
    --font-display: 'Space Grotesk', 'Outfit', sans-serif;
    --font-body: 'Inter', 'Outfit', sans-serif;
    --radius: 20px;
}

body {
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(59, 130, 246, .12), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(34, 211, 238, .07), transparent 60%),
        var(--bg);
    background-attachment: fixed;
    letter-spacing: -0.005em;
}

::selection { background: rgba(34, 211, 238, .35); }

/* ---------- Typography ---------- */
h1, h2, h3, .section-title {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
}
.section-title { font-weight: 700; line-height: 1.08; }
.section-title span,
.hero h1 span {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.section-label {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--glass);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue);
    margin: 0 auto 16px;
    width: fit-content;
}
.section-label::before {
    content: "";
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 12px var(--blue);
}
section > .section-label[style*="block"] { display: flex !important; }

/* ---------- Header: floating glass pill ---------- */
.header {
    top: 14px !important;
    margin: 14px auto 0;
    width: min(1200px, calc(100% - 28px)) !important;
    border-radius: 999px;
    background: rgba(8, 11, 20, .6) !important;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid var(--border) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
    padding-inline: 18px !important;
}
.nav a {
    position: relative;
    font-weight: 500;
    transition: color .2s;
}
.nav a::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -6px;
    height: 2px; border-radius: 2px;
    background: var(--grad);
    transform: scaleX(0);
    transition: transform .25s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.phone-link {
    border-radius: 999px !important;
    background: var(--grad) !important;
    color: #04121a !important;
    font-weight: 600 !important;
    padding: 9px 18px !important;
    border: 0 !important;
}

/* ---------- Buttons ---------- */
.btn-primary {
    position: relative;
    background: var(--grad) !important;
    color: #04121a !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 30px rgba(34, 211, 238, .35);
    transition: transform .2s, box-shadow .2s !important;
    overflow: hidden;
}
.btn-primary::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: as-shine 3.5s ease-in-out infinite;
}
@keyframes as-shine { 60%, 100% { transform: translateX(120%); } }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(34, 211, 238, .5); }
.btn-outline {
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    background: rgba(255,255,255,.04) !important;
    backdrop-filter: blur(8px);
    color: var(--text) !important;
}
.btn-outline:hover { border-color: var(--blue) !important; color: var(--blue) !important; }

/* ---------- Hero ---------- */
.hero-overlay {
    background:
        radial-gradient(ellipse at 30% 40%, rgba(5,7,13,.35), rgba(5,7,13,.85) 70%),
        linear-gradient(180deg, rgba(5,7,13,.2) 0%, rgba(5,7,13,.6) 60%, var(--bg) 100%) !important;
}
.hero-bg-img { animation: as-kenburns 22s ease-in-out infinite alternate; }
@keyframes as-kenburns { to { transform: scale(1.1) translate(-1.5%, -1%); } }
.hero h1 {
    font-weight: 700;
    font-size: clamp(44px, 8vw, 104px) !important;
    line-height: .98 !important;
}
.hero-badge {
    border-radius: 999px !important;
    background: rgba(255,255,255,.06) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    backdrop-filter: blur(10px);
}
.hero-trust {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 10px; margin-top: 28px;
}
.hero-trust span {
    font-size: 13px; color: var(--muted);
    padding: 7px 14px; border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(5,7,13,.5);
    backdrop-filter: blur(8px);
}
.hero-trust b { color: var(--text); font-weight: 600; }

/* ---------- Stats strip ---------- */
.stats-strip {
    background: transparent !important;
    border: 0 !important;
}
.stats-grid {
    max-width: 1100px; margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--glass);
    backdrop-filter: blur(12px);
    overflow: hidden;
}
.stat-num {
    font-family: var(--font-display) !important;
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text; color: transparent !important;
    font-weight: 700;
}

/* ---------- Cards (bento / glass) ---------- */
.why-card, .blog-card, .review, .service-item, .home-faq details,
.faq-item, .area-card, .areas-grid > *, .contact-form, .contact-info {
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.why-card:hover, .blog-card:hover, .service-item:hover, .areas-grid > *:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, .35) !important;
    box-shadow: 0 20px 50px -20px rgba(34, 211, 238, .35);
}
.why-icon {
    width: 56px; height: 56px; display: grid; place-items: center;
    border-radius: 16px;
    background: var(--blue-dim);
    border: 1px solid rgba(34,211,238,.25);
}
.service-item img { border-radius: 14px; }
.seo-tags span { border-radius: 999px !important; }
.home-faq details { padding: 4px 20px; margin-bottom: 10px; }
.home-faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; }
.home-faq details[open] { border-color: rgba(34,211,238,.35) !important; }

input, select, textarea {
    border-radius: 12px !important;
    background: rgba(255,255,255,.04) !important;
    border: 1px solid var(--border) !important;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--blue) !important;
    box-shadow: 0 0 0 4px rgba(34,211,238,.15);
}

/* ---------- Scroll reveal ---------- */
.as-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.as-reveal.as-in { opacity: 1; transform: none; }

/* =========================================================
   NEW COMPONENTS
   ========================================================= */
.as-section { padding: 100px 20px; max-width: 1200px; margin: 0 auto; }
.as-head { text-align: center; margin-bottom: 48px; }
.as-head p { color: var(--muted); max-width: 620px; margin: 14px auto 0; }

/* ---- Service preview grid ---- */
.sp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; max-width: 1000px; margin: 0 auto; }
.sp-card { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); background: var(--glass); }
.sp-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sp-card figcaption { padding: 14px 16px; font-size: 14px; color: var(--muted); }
.sp-card figcaption b { display: block; color: var(--text); font-family: var(--font-display); font-size: 17px; margin-bottom: 2px; }
.ba-highlights {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px; max-width: 1000px; margin: 22px auto 0;
}
.ba-highlights div {
    padding: 16px 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--glass);
    font-size: 14px; color: var(--muted);
}
.ba-highlights b { display: block; color: var(--text); font-family: var(--font-display); font-size: 18px; }

/* ---- Comparison (problem vs solution) ---- */
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cmp-col { padding: 32px; border-radius: 24px; border: 1px solid var(--border); background: var(--glass); }
.cmp-col h3 { font-size: 22px; margin-bottom: 18px; }
.cmp-col ul { list-style: none; display: grid; gap: 12px; }
.cmp-col li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.cmp-col li::before {
    flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
    font-size: 12px; font-weight: 700; margin-top: 2px;
}
.cmp-bad li { text-decoration: line-through; text-decoration-color: rgba(248,113,113,.6); }
.cmp-bad li::before { content: "✕"; background: rgba(248,113,113,.15); color: #f87171; }
.cmp-good {
    background: linear-gradient(160deg, rgba(34,211,238,.12), rgba(139,92,246,.08)) !important;
    border-color: rgba(34,211,238,.3);
}
.cmp-good li { color: var(--text); }
.cmp-good li::before { content: "✓"; background: rgba(34,211,238,.2); color: var(--blue); }
.cmp-cta { text-align: center; margin-top: 34px; }

/* ---- Packages ---- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.pkg {
    position: relative; display: flex; flex-direction: column;
    padding: 32px 28px; border-radius: 24px;
    border: 1px solid var(--border); background: var(--glass);
    transition: transform .3s, box-shadow .3s;
}
.pkg:hover { transform: translateY(-6px); }
.pkg.featured {
    background: linear-gradient(var(--bg3), var(--bg3)) padding-box, var(--grad) border-box;
    border: 1px solid transparent;
    box-shadow: 0 30px 70px -30px rgba(34,211,238,.5);
}
.pkg-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 700;
    background: var(--grad); color: #04121a; white-space: nowrap;
}
.pkg h3 { font-size: 26px; }
.pkg .pkg-sub { color: var(--muted); font-size: 14px; margin: 6px 0 18px; }
.pkg .pkg-life { font-family: var(--font-display); font-size: 34px; font-weight: 700; }
.pkg .pkg-life small { font-size: 14px; color: var(--muted); font-weight: 400; }
.pkg ul { list-style: none; display: grid; gap: 10px; margin: 20px 0 26px; flex: 1; }
.pkg li { color: var(--muted); font-size: 15px; padding-left: 26px; position: relative; }
.pkg li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.pkg .btn-primary, .pkg .btn-outline { text-align: center; display: block; padding: 13px 20px; text-decoration: none; }
.pkg-emi { margin-top: 10px; text-align: center; font-size: 13px; color: var(--muted); }
.pkg-emi a { color: var(--blue); }

/* ---- Testimonial marquee ---- */
#reviews .reviews-container { display: none; }
.tm { position: relative; overflow: hidden; display: grid; gap: 18px;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tm-row { display: flex; gap: 18px; width: max-content; animation: as-marquee 45s linear infinite; }
.tm-row.rev { animation-direction: reverse; animation-duration: 55s; }
.tm:hover .tm-row { animation-play-state: paused; }
@keyframes as-marquee { to { transform: translateX(calc(-50% - 9px)); } }
.tm-card {
    width: 340px; flex: none; padding: 22px 24px; border-radius: 20px;
    border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.tm-card .stars { color: #fbbf24; letter-spacing: 2px; font-size: 14px; }
.tm-card p { margin: 10px 0 14px; font-size: 15px; line-height: 1.6; }
.tm-card .who { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.tm-card .who i {
    width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
    background: var(--grad); color: #04121a; font-weight: 700;
}
.tm-rating { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 30px; color: var(--muted); }
.tm-rating b { font-family: var(--font-display); font-size: 28px; color: var(--text); }

/* ---- Floating WhatsApp ---- */
.as-wa {
    position: fixed; right: 18px; bottom: 18px; z-index: 999;
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    background: #25d366; box-shadow: 0 10px 30px rgba(37,211,102,.45);
    animation: as-pulse 2.4s infinite;
}
.as-wa svg { width: 30px; height: 30px; fill: #fff; }
@keyframes as-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .pkg-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 26px; }
    .cmp { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .as-section { padding: 70px 16px; }
    .header { top: 10px !important; margin-top: 10px; width: calc(100% - 20px) !important; }
    .ba { aspect-ratio: 4 / 3; border-radius: 18px; }
    .tm-card { width: 280px; }
    .cmp-col { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .as-reveal { opacity: 1; transform: none; }
}

/* Professional H1: Plus Jakarta Sans */
.hero h1, .sp h1 {
    font-family: 'Plus Jakarta Sans', var(--font-display) !important;
    font-weight: 800 !important;
    letter-spacing: -0.035em !important;
}
.hero h1 { font-size: clamp(40px, 7vw, 88px) !important; line-height: 1.02 !important; }
.sp h1 { font-size: clamp(34px, 7vw, 56px) !important; line-height: 1.08 !important; }

/* ---------- Stats strip: compact on mobile ---------- */
@media (max-width: 768px) {
    .stats-strip { padding: 28px 16px !important; }
    .stat-item { padding: 14px 8px !important; }
    .stat-num { font-size: clamp(22px, 6.5vw, 28px) !important; letter-spacing: 0 !important; }
    .stat-label { font-size: 10.5px !important; letter-spacing: .06em !important; margin-top: 6px !important; }
}

/* ---------- Mobile polish ---------- */
.blog-card p a, .as-section p a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 768px) {
    .about-text, .about-text p { text-align: left !important; }
    /* keep floating EMI + WhatsApp buttons from covering the footer */
    footer, .footer { padding-bottom: 150px !important; }
}
