/* =====================================================================
   3D Theme — hero scene, depth wale buttons/cards, scroll reveal
   (template ke upar; sabse aakhri me load hota hai)
   ===================================================================== */

/* Default rang. Admin → Colors & Text se badle gaye rang layout-top.php inhe override karta hai. */
:root {
    --rose: #e2336b;          --rose-rgb: 226, 51, 107;
    --rose-2: #ff6f9f;        --rose2-rgb: 255, 111, 159;
    --rose-dark: #a3164a;     --rose-dark-rgb: 163, 22, 74;
    --plum: #240b24;          --plum-rgb: 36, 11, 36;
    --plum-2: #461640;        --plum2-rgb: 70, 22, 64;
    --plum-deep: #1a0719;
    --gold: #f6c177;          --gold-rgb: 246, 193, 119;
    --ink: #2a1d27;
    --text: #4a3f48;
    --muted: #6f6270;
    --cream: #fff8fb;
    --card: #ffffff;
    --radius: 18px;
    --shadow-1: 0 1px 2px rgba(var(--plum-rgb), .06), 0 8px 24px -8px rgba(var(--plum2-rgb), .22);
    --shadow-2: 0 2px 4px rgba(var(--plum-rgb), .06), 0 24px 48px -16px rgba(var(--plum2-rgb), .38);
    --font-display: 'Playfair Display', Georgia, serif;
}

body {
    background: var(--cream);
    color: var(--ink);
}
::selection { background: var(--rose); color: #fff; }

/* ---------------------------------------------------------------- Header (glass) */
.w3l-header-4 {
    position: sticky;
    top: 0;
    z-index: 1000;
}
.w3l-header-4 .absolute-top {
    background: rgba(var(--plum-rgb), .82);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 14px 0;
    transition: padding .3s ease, box-shadow .3s ease, background .3s ease;
}
.w3l-header-4.is-scrolled .absolute-top {
    padding: 8px 0;
    background: rgba(var(--plum-rgb), .94);
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .55);
}
.w3l-header-4 .brand-wrap { margin: 0; }
.w3l-header-4 .navbar .navbar-brand.has-logo { background: none; display: inline-flex; align-items: center; }
.w3l-header-4 .navbar-brand.has-logo img { max-height: 52px; max-width: 220px; width: auto; transition: max-height .3s ease; }
.w3l-header-4.is-scrolled .navbar-brand.has-logo img { max-height: 42px; }
.w3l-header-4 .navbar .navbar-brand {
    font-family: var(--font-display);
    font-size: 30px;
    line-height: 44px;
    background: linear-gradient(100deg, #fff 10%, var(--gold) 55%, var(--rose-2) 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    letter-spacing: .5px;
}
.w3l-header-4 .navbar-expand-lg .navbar-nav .nav-link {
    position: relative;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    padding: 6px 11px;
}
.w3l-header-4 .navbar-expand-lg .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 11px; right: 11px; bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--rose), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.w3l-header-4 .navbar-expand-lg .navbar-nav .nav-link:hover,
.w3l-header-4 .navbar-expand-lg .navbar-nav .active .nav-link { color: #fff; }
.w3l-header-4 .navbar-expand-lg .navbar-nav .nav-link:hover::after,
.w3l-header-4 .navbar-expand-lg .navbar-nav .active .nav-link::after { transform: scaleX(1); }
.w3l-header-4 .navbar-toggler .fa { color: #fff; }

@media (max-width: 991px) {
    .w3l-header-4 header .navbar-collapse,
    .w3l-header-4 .navbar-collapse {
        background: var(--plum);
        border-radius: 14px;
        margin-top: 10px;
        padding: 10px 14px;
    }
    .w3l-header-4 .navbar-expand-lg .navbar-nav .nav-link { padding: 9px 4px; }
    .w3l-header-4 .navbar-expand-lg .navbar-nav .nav-link::after { left: 4px; right: auto; width: 40px; }
    .w3l-header-4 .navbar .navbar-brand { font-size: 26px; }
}

/* ---------------------------------------------------------------- 3D buttons */
.btn-3d,
.logo-button,
.btn-contact,
.action-button,
.btn.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0 !important;
    border-radius: 14px !important;
    padding: 14px 26px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--rose-2), var(--rose) 55%, var(--rose-dark)) !important;
    box-shadow: 0 6px 0 var(--rose-dark), 0 14px 28px -8px rgba(var(--rose-rgb), .55);
    transform: translateY(0);
    transition: transform .15s ease, box-shadow .15s ease, filter .2s ease;
    text-decoration: none !important;
}
.btn-3d:hover, .logo-button:hover, .btn-contact:hover, .action-button:hover, .btn.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 8px 0 var(--rose-dark), 0 20px 34px -10px rgba(var(--rose-rgb), .6);
}
.btn-3d:active, .logo-button:active, .btn-contact:active, .action-button:active, .btn.btn-primary:active {
    transform: translateY(5px);
    box-shadow: 0 1px 0 var(--rose-dark), 0 6px 12px -6px rgba(var(--rose-rgb), .5);
}
.btn.btn-primary.btn-sm, .btn-sm.btn-3d { padding: 7px 14px; border-radius: 10px !important; box-shadow: 0 4px 0 var(--rose-dark), 0 8px 16px -8px rgba(var(--rose-rgb), .5); }
.btn.btn-primary.btn-sm:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--rose-dark); }

.btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 14px;
    color: #fff !important;
    font-weight: 600;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .28);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 24px -12px rgba(0, 0, 0, .5);
    transition: background .2s ease, transform .2s ease;
    text-decoration: none !important;
}
.btn-glass:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }

.btn-outline-primary {
    border: 2px solid var(--rose) !important;
    color: var(--rose) !important;
    border-radius: 10px !important;
    font-weight: 600;
    box-shadow: 0 3px 0 rgba(var(--rose-dark-rgb), .25);
    transition: all .15s ease;
}
.btn-outline-primary:hover { background: var(--rose) !important; color: #fff !important; transform: translateY(-1px); }

/* ---------------------------------------------------------------- HERO */
.hero3d {
    --mx: 0;
    --my: 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: min(860px, calc(100vh - 72px));
    display: flex;
    align-items: center;
    padding: 70px 0 110px;
    color: #fff;
    background:
        radial-gradient(1200px 600px at 85% 10%, rgba(var(--rose-rgb), .45), transparent 60%),
        radial-gradient(900px 500px at 5% 90%, rgba(var(--gold-rgb), .18), transparent 60%),
        linear-gradient(160deg, var(--plum-deep) 0%, var(--plum) 40%, var(--plum-2) 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .55;
    transform: translate3d(calc(var(--mx) * -40px), calc(var(--my) * -30px), 0);
    transition: transform .6s ease-out;
}
.hero-glow.g1 { width: 420px; height: 420px; right: 8%; top: 12%; background: var(--rose); }
.hero-glow.g2 { width: 320px; height: 320px; left: -60px; bottom: 10%; background: #7b2cbf; opacity: .35; }

/* 3D grid floor */
.hero-floor {
    position: absolute;
    left: -50%;
    right: -50%;
    bottom: -38%;
    height: 80%;
    background-image:
        linear-gradient(rgba(var(--rose2-rgb), .35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--rose2-rgb), .35) 1px, transparent 1px);
    background-size: 64px 64px;
    transform: perspective(700px) rotateX(72deg);
    transform-origin: center top;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 60%, transparent 100%);
    animation: floor-move 6s linear infinite;
    opacity: .55;
}
@keyframes floor-move { to { background-position: 0 64px, 0 0; } }

/* Glossy 3D orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #fff 0%, color-mix(in srgb, var(--rose-2) 30%, #fff) 12%, var(--rose-2) 38%, var(--rose-dark) 78%, var(--plum) 100%);
    box-shadow: inset -10px -14px 30px rgba(0, 0, 0, .35), 0 30px 50px -18px rgba(0, 0, 0, .6);
    animation: orb-float 7s ease-in-out infinite;
}
.orb.o1 { width: 70px; height: 70px; left: 46%; top: 14%; }
.orb.o2 { width: 36px; height: 36px; left: 2%; top: 7%; animation-delay: -2s; background: radial-gradient(circle at 32% 28%, #fff, #ffe7b8 18%, var(--gold) 45%, #a8742b 85%); }
.orb.o3 { width: 110px; height: 110px; right: 4%; bottom: 8%; animation-delay: -4s; opacity: .85; }
@keyframes orb-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -22px, 0); }
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 40px;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: .3px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.hero-eyebrow .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #3ddc97;
    box-shadow: 0 0 0 4px rgba(61, 220, 151, .25);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } }

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(40px, 5.6vw, 72px);
    line-height: 1.05;
    margin: 22px 0 18px;
    color: #fff;
    text-shadow: 0 2px 0 rgba(0, 0, 0, .15), 0 18px 40px rgba(0, 0, 0, .35);
}
.hero-title .grad {
    display: inline-block;
    background: linear-gradient(100deg, var(--gold) 0%, var(--rose-2) 55%, color-mix(in srgb, var(--rose-2) 60%, #fff) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: var(--font-display) !important;
    font-style: italic;
    font-weight: 700;
    padding: 0 .12em .08em 0; /* italic ka aakhri akshar na kate */
}
.hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .78);
    max-width: 540px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin: 32px 0 38px; }
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.hero-stats li {
    min-width: 118px;
    padding: 14px 18px;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 16px 30px -18px rgba(0, 0, 0, .7);
    transform: perspective(600px) rotateX(8deg);
}
.hero-stats strong { display: block; font-size: 24px; font-family: var(--font-display); color: #fff; }
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, .7); }

/* 3D scene */
.hero-scene {
    position: relative;
    height: 560px;
    perspective: 1300px;
}
.hero-stage {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform: rotateY(calc(-12deg + var(--mx) * 22deg)) rotateX(calc(6deg - var(--my) * 16deg));
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
    animation: stage-in 1.2s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes stage-in {
    from { opacity: 0; transform: rotateY(-40deg) rotateX(18deg) translateZ(-200px); }
}
.h-card {
    position: absolute;
    margin: 0;
    border-radius: 26px;
    overflow: hidden;
    background: #fff;
    border: 6px solid rgba(255, 255, 255, .9);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .15);
}
.h-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-card::after {
    /* chamak (glare) */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 38%);
    pointer-events: none;
}
.h-main {
    width: 300px; height: 400px;
    left: 50%; top: 50%;
    margin: -210px 0 0 -150px;
    transform: translateZ(70px);
}
/* Slider: beech wala card 3D me palat kar nayi photo dikhata hai */
.h-main { transition: transform .38s cubic-bezier(.5, 0, .5, 1); }
.h-main.flip-out { transform: translateZ(70px) rotateY(88deg); }
.h-main .slide-img { position: absolute; inset: 0; opacity: 0; }
.h-main .slide-img.is-active { opacity: 1; }

.hero-slides { display: grid; }
.hero-slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transform: perspective(900px) translateY(24px) rotateX(-14deg);
    transform-origin: left bottom;
    transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .7s;
}
.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .6s ease .15s, transform .8s cubic-bezier(.2, .8, .2, 1) .15s, visibility 0s;
}

.slider-nav { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.slider-arrow {
    width: 42px; height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 4px 0 rgba(0, 0, 0, .35);
    transition: background .2s ease, transform .12s ease;
}
.slider-arrow:hover { background: var(--rose); }
.slider-arrow:active { transform: translateY(3px); box-shadow: none; }
.slider-dots { display: flex; gap: 6px; }
.slider-dot { padding: 8px 2px; border: 0; background: none; }
.slider-dot span {
    display: block;
    width: 26px; height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .3);
    overflow: hidden;
    position: relative;
    transition: width .3s ease;
}
.slider-dot.is-active span { width: 48px; }
.slider-dot.is-active span::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--gold), var(--rose-2));
    transform-origin: left;
    animation: dot-fill var(--interval, 6s) linear forwards;
}
.hero3d.is-paused .slider-dot.is-active span::after { animation-play-state: paused; }
@keyframes dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 991px) { .slider-nav { justify-content: center; } }
.h-back-left {
    width: 220px; height: 280px;
    left: -6%; top: 12%;
    transform: translateZ(-60px) rotateY(24deg);
    opacity: .92;
}
.h-back-right {
    width: 250px; height: 180px;
    right: 0; top: 8%;
    transform: translateZ(-110px) rotateY(-26deg);
    opacity: .9;
}
.hero-ring {
    position: absolute;
    left: 50%; top: 52%;
    width: 470px; height: 470px;
    margin: -235px 0 0 -235px;
    border-radius: 50%;
    border: 2px solid rgba(var(--gold-rgb), .55);
    box-shadow: 0 0 40px rgba(var(--rose-rgb), .35), inset 0 0 40px rgba(var(--rose-rgb), .25);
    transform: translateZ(-20px) rotateX(74deg);
    animation: ring-spin 14s linear infinite;
}
.hero-ring::before {
    content: "";
    position: absolute;
    top: -9px; left: 50%;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 18px var(--gold);
}
@keyframes ring-spin { to { transform: translateZ(-20px) rotateX(74deg) rotateZ(360deg); } }

.h-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 16px;
    color: var(--ink);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .65);
    white-space: nowrap;
    animation: chip-float 5s ease-in-out infinite;
}
.h-chip b { display: block; font-size: 14px; line-height: 1.2; }
.h-chip small { font-size: 12px; color: var(--muted); }
.h-chip .ic {
    width: 38px; height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 17px;
    background: linear-gradient(135deg, var(--rose-2), var(--rose));
    box-shadow: 0 6px 14px -6px rgba(var(--rose-rgb), .9);
}
.chip-1 { left: -4%; bottom: 18%; transform: translateZ(150px); }
.chip-2 { right: -2%; top: 42%; transform: translateZ(190px); animation-delay: -1.6s; }
.chip-2 .ic { background: linear-gradient(135deg, #ffd89a, #e9a23b); }
.chip-3 { left: 30%; top: 2%; transform: translateZ(120px); animation-delay: -3.2s; }
.chip-3 .ic { background: linear-gradient(135deg, #6ee7b7, #10b981); }
@keyframes chip-float { 50% { translate: 0 -12px; } }

.hero-scroll {
    position: absolute;
    left: 50%; bottom: 58px;
    width: 26px; height: 42px;
    margin-left: -13px;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 14px;
}
.hero-scroll span {
    position: absolute;
    left: 50%; top: 8px;
    width: 4px; height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: #fff;
    animation: scroll-dot 1.6s ease-in-out infinite;
}
@keyframes scroll-dot { 60% { transform: translateY(12px); opacity: 0; } }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; display: block; }

html, body { overflow-x: clip; }
.hero-inner > * { min-width: 0; }

@media (max-width: 991px) {
    .hero3d { padding: 50px 0 100px; min-height: 0; }
    .orb.o1 { left: auto; right: 6%; top: 3%; width: 46px; height: 46px; }
    .orb.o2 { display: none; }
    .chip-1 { left: 4%; }
    .chip-2 { right: 2%; }
    .hero-eyebrow { flex-wrap: wrap; justify-content: center; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-sub { margin: 0 auto; }
    .hero-cta, .hero-stats { justify-content: center; }
    .hero-scene { height: 460px; max-width: 520px; width: 100%; margin: 10px auto 0; }
    .h-main { width: 240px; height: 320px; margin: -170px 0 0 -120px; }
    .h-back-left { width: 170px; height: 220px; }
    .h-back-right { width: 190px; height: 140px; }
    .hero-ring { width: 360px; height: 360px; margin: -180px 0 0 -180px; }
    .hero-scroll { display: none; }
}
@media (max-width: 480px) {
    .hero-scene { height: 400px; }
    .h-main { width: 210px; height: 280px; margin: -150px 0 0 -105px; }
    .h-back-left { width: 130px; height: 180px; left: -4%; }
    .h-back-right { width: 150px; height: 110px; right: -4%; }
    .h-chip { padding: 9px 12px; }
    .h-chip .ic { width: 32px; height: 32px; font-size: 14px; }
    .chip-1 { left: 0; bottom: 6%; }
    .chip-2 { right: 0; top: 50%; }
    .chip-3 { left: 18%; }
    .hero-ring { width: 290px; height: 290px; margin: -145px 0 0 -145px; }
    .hero-stats li { min-width: 96px; padding: 10px 12px; }
}

/* ---------------------------------------------------------------- Section titles */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-kicker {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rose);
    font-weight: 700;
    margin-bottom: 8px;
}
.section-title, .title-big, .category-title {
    font-family: var(--font-display);
    color: var(--ink);
}
.section-title { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 17px; }
.category-title { border-left-color: var(--rose); }

/* ---------------------------------------------------------------- Why-us 3D feature cards */
.why3d { padding: 80px 0 40px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; perspective: 1400px; }
.why-card {
    position: relative;
    padding: 30px 24px 26px;
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow-1);
    text-align: left;
    transform-style: preserve-3d;
}
.why-card .cube {
    width: 58px; height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--rose-2), var(--rose));
    box-shadow: 0 6px 0 var(--rose-dark), 0 16px 26px -10px rgba(var(--rose-rgb), .7);
    transform: translateZ(40px) rotateX(10deg);
}
.why-card:nth-child(2) .cube { background: linear-gradient(135deg, #ffd89a, #e9a23b); box-shadow: 0 6px 0 #a8742b, 0 16px 26px -10px rgba(233, 162, 59, .7); }
.why-card:nth-child(3) .cube { background: linear-gradient(135deg, #b79cff, #7b2cbf); box-shadow: 0 6px 0 #4c1a78, 0 16px 26px -10px rgba(123, 44, 191, .7); }
.why-card:nth-child(4) .cube { background: linear-gradient(135deg, #6ee7b7, #10b981); box-shadow: 0 6px 0 #0a7a55, 0 16px 26px -10px rgba(16, 185, 129, .7); }
.why-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 21px; margin-bottom: 8px; color: var(--ink); transform: translateZ(20px); }
.why-card p { font-size: 15px; color: var(--muted); margin: 0; transform: translateZ(10px); }
@media (max-width: 991px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Cards (depth + tilt) */
.service-card, .review-card, .gallery-grid figure, .invoice-box {
    border-radius: var(--radius);
    box-shadow: var(--shadow-1);
    border: 1px solid rgba(var(--plum2-rgb), .06);
}
.service-card { background: var(--card); }
.service-card img { height: 220px; }
.service-card h5 { font-family: var(--font-display); font-size: 21px; color: var(--ink); }
.service-price {
    color: var(--rose);
    background: linear-gradient(135deg, color-mix(in srgb, var(--rose) 6%, #fff), color-mix(in srgb, var(--rose) 14%, #fff));
    padding: 4px 12px;
    border-radius: 999px;
    display: inline-block;
    box-shadow: inset 0 -2px 0 rgba(var(--rose-rgb), .15);
}

/* JS dwara lagne wala tilt */
.tilt {
    position: relative;
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
    will-change: transform;
}
.tilt.is-tilting {
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2);
    transition: transform .08s linear, box-shadow .3s ease;
}
.tilt::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .45), transparent 45%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
    z-index: 2;
}
.tilt.is-tilting::before { opacity: 1; }

/* ---------------------------------------------------------------- Scroll reveal (3D) */
.reveal {
    opacity: 0;
    translate: 0 48px;
    rotate: x 14deg;
    transition: opacity .8s ease, translate .9s cubic-bezier(.2, .8, .2, 1), rotate .9s cubic-bezier(.2, .8, .2, 1);
    transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; translate: 0 0; rotate: x 0deg; }
.reveal.tilt {
    transition: opacity .8s ease, translate .9s cubic-bezier(.2, .8, .2, 1), rotate .9s cubic-bezier(.2, .8, .2, 1),
                transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}
.reveal.tilt.is-tilting { transition: transform .08s linear, box-shadow .3s ease; }
.row, .gallery-grid, .why-grid, .contact-view { perspective: 1400px; }

/* ---------------------------------------------------------------- Inner page banner */
.w3l-inner-banner-main .about-inner { min-height: 280px; overflow: hidden; }
.w3l-inner-banner-main .about-inner:before {
    background: linear-gradient(120deg, rgba(var(--plum-rgb), .88), rgba(var(--rose-dark-rgb), .55));
}
.w3l-inner-banner-main .about-inner::after {
    content: "";
    position: absolute;
    left: -20%; right: -20%; bottom: -60%;
    height: 90%;
    z-index: -1;
    background-image:
        linear-gradient(rgba(var(--rose2-rgb), .3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--rose2-rgb), .3) 1px, transparent 1px);
    background-size: 48px 48px;
    transform: perspective(500px) rotateX(70deg);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 40%, transparent);
}
.header-name {
    font-family: var(--font-display);
    color: #fff;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.15;
    margin: 0;
    text-shadow: 1px 1px 0 var(--rose), 2px 2px 0 var(--rose-dark), 3px 3px 0 #6d0f33, 0 18px 30px rgba(0, 0, 0, .45);
}
p.tiltle-para { color: rgba(255, 255, 255, .8); margin-top: 10px; }
.w3l-inner-banner-main .breadcrumbs-sub {
    background: #fff;
    box-shadow: 0 10px 24px -18px rgba(var(--plum2-rgb), .5);
    position: relative;
    z-index: 1;
}
.w3l-inner-banner-main ul.breadcrumbs-custom-path li a { color: var(--rose); }

/* ---------------------------------------------------------------- Forms & panels */
.text-primary { color: var(--rose) !important; }
.map-content-9 a:not(.btn), .cont-details a, .form-block a { color: var(--rose); }
.cont-details .cont-top { display: flex; align-items: flex-start; gap: 18px; }
.cont-details .cont-left { flex: 0 0 42px; }
.cont-details .cont-right h6 { margin-bottom: 4px; }
.cont-details .cont-left span {
    display: inline-grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--rose-2), var(--rose));
    box-shadow: 0 4px 0 var(--rose-dark), 0 10px 18px -8px rgba(var(--rose-rgb), .7);
}
.map-content-9, .cont-details {
    background: var(--card);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-1);
}
.form-control {
    border-radius: 12px !important;
    border: 1.5px solid color-mix(in srgb, var(--plum-2) 14%, #fff) !important;
    background: #fff !important;
    box-shadow: inset 0 2px 4px rgba(var(--plum2-rgb), .05) !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus {
    border-color: var(--rose) !important;
    box-shadow: 0 0 0 4px rgba(var(--rose-rgb), .15), inset 0 2px 4px rgba(var(--plum2-rgb), .05) !important;
}
.service-pick { border-radius: 14px; border-color: color-mix(in srgb, var(--plum-2) 14%, #fff); }
.slot-grid span { border-radius: 10px; box-shadow: 0 3px 0 rgba(var(--rose-dark-rgb), .2); transition: transform .12s ease; }
.slot-grid input:checked + span { box-shadow: 0 3px 0 var(--rose-dark); transform: translateY(-1px); }
.slot-grid span:active { transform: translateY(2px); box-shadow: none; }
.account-table { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-1); }
.alert { border-radius: 12px; box-shadow: var(--shadow-1); }

/* ---------------------------------------------------------------- Footer */
.w3l-footer-29-main, .w3l-footer-29-main .footer-29 {
    background: linear-gradient(170deg, var(--plum-deep), var(--plum) 60%, var(--plum-2));
}
.w3l-footer-29-main .footer-29 { position: relative; }
.w3l-footer-29-main .footer-title-29 { font-family: var(--font-display); color: #fff; font-size: 22px; }
.w3l-footer-29-main.w3l-copyright { background: var(--plum-deep); }
.w3l-footer-29-main .main-social-footer-29 a {
    display: inline-grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 4px 0 rgba(0, 0, 0, .4);
    transition: transform .15s ease, background .2s ease;
}
.w3l-footer-29-main .main-social-footer-29 a:hover { background: var(--rose); transform: translateY(-3px); }

#movetop {
    border-radius: 14px;
    background: linear-gradient(135deg, var(--rose-2), var(--rose));
    box-shadow: 0 5px 0 var(--rose-dark), 0 12px 20px -8px rgba(var(--rose-rgb), .6);
}
.whatsapp-float { box-shadow: 0 5px 0 #128c4a, 0 14px 24px -8px rgba(37, 211, 102, .7); }

/* ---------------------------------------------------------------- CTA band */
.cta3d {
    margin: 30px auto 80px;
    padding: 50px 40px;
    border-radius: 28px;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(600px 240px at 90% 0%, rgba(var(--gold-rgb), .35), transparent 60%),
        linear-gradient(130deg, var(--plum-2), var(--rose-dark) 60%, var(--rose));
    box-shadow: 0 30px 60px -28px rgba(var(--plum2-rgb), .8), inset 0 1px 0 rgba(255, 255, 255, .2);
    transform: perspective(1200px) rotateX(4deg);
}
.cta3d h3 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); color: #fff; }
.cta3d p { color: rgba(255, 255, 255, .85); font-size: 17px; margin: 12px auto 26px; max-width: 560px; }
.cta3d .btn-3d { background: #fff !important; color: var(--rose) !important; box-shadow: 0 6px 0 color-mix(in srgb, var(--rose) 25%, #fff), 0 16px 28px -10px rgba(0, 0, 0, .5); }

/* ---------------------------------------------------------------- Dual color text
   Heading ka ek hissa saada rang (--ink), doosra hissa .hl me theme rang. */
h1, h2, h3, h4, .section-title, .title-big a, .team-head, .category-title { color: var(--ink); }
.hl {
    display: inline;
    background: linear-gradient(100deg, var(--rose) 0%, color-mix(in srgb, var(--gold) 55%, var(--rose)) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    padding-right: .04em;
    font-family: inherit !important;
    font-weight: inherit;
    font-size: inherit;
}
.w3l-teams-15 .team-head, .w3l-specification-6 h3.title-big a { font-family: var(--font-display); }
/* Gehri background par highlight halka aur chamakdaar */
.hero3d .hl, .w3l-inner-banner-main .hl, .w3l-footer-29-main .hl, .cta3d .hl, .w3l-teams-15 .hl, .hero-title .grad {
    background-image: linear-gradient(100deg, var(--gold) 0%, var(--rose-2) 60%, color-mix(in srgb, var(--rose-2) 60%, #fff) 100%);
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35));
}
.header-name .hl { filter: drop-shadow(2px 2px 0 var(--rose-dark)) drop-shadow(0 14px 22px rgba(0, 0, 0, .4)); }
/* Solid style (admin setting) */
html.hl-solid .hl, html.hl-solid .hero-title .grad { background: none; color: var(--rose); -webkit-text-fill-color: var(--rose); }
html.hl-solid .hero3d .hl, html.hl-solid .hero-title .grad, html.hl-solid .w3l-inner-banner-main .hl,
html.hl-solid .w3l-footer-29-main .hl, html.hl-solid .cta3d .hl, html.hl-solid .w3l-teams-15 .hl { color: var(--gold); -webkit-text-fill-color: var(--gold); }

.w3l-teams-15 .team-head { color: #fff; }
.w3l-footer-29-main .footer-title-29, .cta3d h3, .header-name, .hero-title { color: #fff; }

/* Body text ka rang (halki background wale hisse) */
.section-pad p, .why3d p, .service-card p, .review-card p, .section-head p,
.w3l-specification-6 .para, .w3l-content-with-photo-4 .para, .w3l-recent-work .para, .cont-details .para,
.map-content-9 p, .account-table td { color: var(--text); }
.why-card p, .section-head p { color: color-mix(in srgb, var(--text) 85%, #fff); }

/* ---------------------------------------------------------------- Kam motion chahne walon ke liye */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; translate: none; rotate: none; }
    .hero-stage { transform: rotateY(-12deg) rotateX(6deg); }
}
