@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Brand Identity - Hakeem Labs (Professional Blue Palette) */
    --primary: #004aad;
    /* Logo Navy-ish Blue */
    --primary-light: #e6effa;
    --primary-dark: #00337a;
    --primary-gradient: linear-gradient(135deg, #004aad 0%, #00337a 100%);

    --secondary: #00aeef;
    /* Logo Cyan/Azure Blue */
    --secondary-light: #e0f5fe;
    --secondary-gradient: linear-gradient(135deg, #00aeef 0%, #0087b8 100%);

    --accent: #00aeef;
    --accent-dark: #0087b8;

    /* Luxury Neutrals */
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-alt: #f8fafc;
    --text: #0a0f1d;
    --text-muted: #475569;
    --text-light: #94a3b8;
    --border: rgba(15, 23, 42, 0.06);
    --white: #ffffff;

    /* Glassmorphism Refraction */
    --glass: rgba(255, 255, 255, 0.75);
    --glass-heavy: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.4);

    /* Physical Shadows (Layered) */
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 35px 60px -15px rgba(15, 23, 42, 0.15);

    /* Spacing & Radii */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-full: 9999px;

    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Luxury Global Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

[lang="en"] body {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Sophisticated Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
    border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', 'Tajawal', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text);
}

/* Section Luxury Layout */
.section {
    padding: 140px 10%;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.section-title span {
    display: inline-block;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 900;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.section-title h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: var(--radius-full);
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Header - Luxury Adaptive System */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

/* logo & links default - Dark for White BG */
#header .logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

#header .logo img {
    height: 80px;
    /* Slightly smaller for sub-pages */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

#header .logo i {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    /* White glow */
}

nav ul {
    display: flex;
    gap: 45px;
    list-style: none;
}

nav a {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    transition: var(--transition);
    position: relative;
    padding: 10px 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    inset-inline-start: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 10px;
}

nav a:hover,
nav a.active {
    color: var(--primary);
}

nav a:hover::before,
nav a.active::before {
    width: 100%;
}

.header-btns {
    display: flex;
    gap: 15px;
    align-items: center;
}

#header .btn-outline {
    border-color: var(--border);
    color: var(--text);
}

#header .btn-outline:hover {
    background: var(--surface-alt);
    border-color: var(--primary);
    color: var(--primary);
}

/* =========================================
   HOME PAGE SPECIFIC (Transparent-to-Solid)
   ========================================= */
.is-home #header:not(.scrolled) {
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    padding: 25px 10%;
}

.is-home #header:not(.scrolled) .logo img {
    height: 100px;
}

/* Logo Toggle Logic */
.logo .logo-light {
    display: none;
}

.logo .logo-dark {
    display: block;
}

.is-home #header:not(.scrolled) .logo .logo-light {
    display: block;
}

.is-home #header:not(.scrolled) .logo .logo-dark {
    display: none;
}

.is-home #header:not(.scrolled) nav a {
    color: rgba(255, 255, 255, 0.9);
}

.is-home #header:not(.scrolled) nav a::before {
    background: white;
}

.is-home #header:not(.scrolled) nav a:hover,
.is-home #header:not(.scrolled) nav a.active {
    color: white;
}

.is-home #header:not(.scrolled) .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.is-home #header:not(.scrolled) .btn-outline:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

/* Scrolled state on Home Page returns it to standard light style */
.is-home #header.scrolled {
    padding: 12px 10%;
    background: rgba(255, 255, 255, 0.98);
}

/* Buttons - Luxury Styling (Global) */
.btn {
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 100%);
    transform: translateX(-150%) skewX(-25deg);
    transition: 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.btn:hover::before {
    transform: translateX(150%) skewX(-25deg);
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(0, 74, 173, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 20px 35px -8px rgba(0, 74, 173, 0.4);
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--secondary-gradient);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(0, 174, 239, 0.3);
}

.btn-secondary:hover {
    box-shadow: 0 20px 35px -8px rgba(0, 174, 239, 0.4);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    background: var(--surface-alt);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    background: var(--surface-alt);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 20px 48px;
    font-size: 1.15rem;
    border-radius: var(--radius-lg);
}

/* =========================================
   CINEMATIC IMMERSIVE HERO (Redesign)
   ========================================= */
.hero-immersive {
    position: relative;
    height: 100vh;
    min-height: 850px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    background: #0f172a;
    /* Fallback deep navy */
    z-index: 1;
}

/* Background Layer */
.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    animation: slowZoom 25s infinite alternate ease-in-out;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 31, 63, 0.4) 0%,
            rgba(0, 31, 63, 0.7) 50%,
            #001f3f 100%);
    z-index: 2;
}

/* Glowing Orbs */
.hero-glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.2;
    z-index: 3;
    animation: floatOrb 15s infinite alternate ease-in-out;
}

.orb-1 {
    top: 10%;
    inset-inline-end: 10%;
    animation-delay: 0s;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.orb-2 {
    bottom: 20%;
    inset-inline-start: 5%;
    animation-delay: -5s;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.2);
    }
}

/* Content Container */
.hero-container {
    position: relative;
    z-index: 20;
    /* High enough to be over everything */
    width: 100%;
    max-width: 1400px;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    visibility: visible;
    /* Forced visibility */
    opacity: 1;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    margin-bottom: 60px;
}

.luxury-pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.luxury-pill i {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* Typography & Elements */
.hero-title-main {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0, 31, 63, 0.3);
    color: white;
}

.hero-title-main span {
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 750px;
    margin: 0 auto 45px;
    line-height: 1.8;
}

.hero-actions-row {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-bottom: 50px;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    gap: 40px;
    justify-content: center;
    opacity: 0.9;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 700;
}

.trust-item i {
    color: var(--accent);
}

/* Bottom Glass Stats Box */
.hero-stats-glass {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    /* Slightly more visible */
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 35px 60px;
    border-radius: var(--radius-lg);
    gap: 50px;
    margin-bottom: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Entry Animations */
.hero-reveal {
    animation: heroFadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    opacity: 0;
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hr-delay-1 {
    animation-delay: 0.2s;
}

.hr-delay-2 {
    animation-delay: 0.4s;
}

.hr-delay-3 {
    animation-delay: 0.6s;
}

.hr-delay-4 {
    animation-delay: 0.8s;
}

.hr-delay-5 {
    animation-delay: 1.0s;
}

.glass-stat {
    text-align: center;
    min-width: 150px;
}

.glass-stat strong {
    display: block;
    font-size: 2.8rem;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.glass-stat span {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.glass-separator {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Scroll Mouse Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 10;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.scroll-indicator:hover {
    transform: translateY(-8px);
}

.scroll-indicator:hover .mouse {
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(0, 174, 239, 0.4);
}

.scroll-indicator:hover span {
    opacity: 1;
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(0, 174, 239, 0.3);
}

.scroll-indicator span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    font-weight: 800;
    color: white;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: mouseScroll 2s infinite;
}

@keyframes mouseScroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* Responsive Cinematic */
@media (max-width: 992px) {
    .hero-title-large {
        font-size: 3.5rem;
    }

    .hero-footer-glass {
        position: relative;
        flex-wrap: wrap;
        gap: 30px;
        background: rgba(15, 23, 42, 0.8);
        border-radius: 20px;
        margin-bottom: 40px;
    }

    .glass-separator {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-immersive {
        min-height: 100svh;
        padding-top: 90px;
        height: auto;
        align-items: center;
    }

    .hero-container {
        padding: 0 6%;
    }

    .hero-content {
        margin-bottom: 30px;
    }

    .hero-title-main {
        font-size: clamp(2.4rem, 11vw, 3.4rem);
        letter-spacing: -1px;
        margin-bottom: 20px;
    }

    .hero-title-large {
        font-size: 2.8rem;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-actions-row {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
        margin-bottom: 30px;
    }

    .hero-actions-row .btn {
        width: 100%;
        justify-content: center;
    }

    .luxury-pill {
        font-size: 0.82rem;
        padding: 10px 20px;
        margin-bottom: 24px;
    }

    .trust-indicators {
        flex-wrap: wrap;
        gap: 16px 24px;
        justify-content: center;
    }

    .trust-item {
        font-size: 0.88rem;
    }

    .scroll-indicator {
        bottom: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-footer-glass {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 20px;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

/* Stats Bar - Luxury Bridge Section */
.stats-bar-section {
    padding: 0 10%;
    margin-top: -80px;
    /* Strong overlap with hero */
    position: relative;
    z-index: 100;
}

@media (max-width: 768px) {
    .stats-bar-section {
        margin-top: 0;
        padding: 0 5%;
    }
}

.stats-bar {
    background: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.stat-item-premium {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 0 30px;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition);
}

.stat-item-premium:hover .stat-icon {
    background: var(--primary);
    color: white;
    transform: translateY(-8px) rotate(10deg);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-info .counter {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-info span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 700;
    white-space: nowrap;
}

.stat-separator {
    width: 1px;
    height: 80px;
    background: var(--border);
}

@media (max-width: 1200px) {
    .stats-bar {
        flex-direction: column;
        gap: 40px;
        padding: 50px;
        text-align: center;
    }

    .stat-item-premium {
        flex-direction: column;
        gap: 15px;
    }

    .stat-separator {
        width: 100%;
        height: 1px;
    }
}

/* Footer Redundancy Removed */

/* Packages Cards - Level Up */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
    gap: 40px;
}

.package-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(0, 74, 173, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px -20px rgba(0, 31, 63, 0.15);
    border-color: var(--secondary);
}

.package-img {
    height: 240px;
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.package-card:hover .package-img {
    transform: scale(1.05);
}

.package-badge {
    position: absolute;
    top: 20px;
    inset-inline-end: 20px;
    background: var(--secondary);
    color: var(--text-white);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow-md);
}

.package-content {
    padding: 30px;
}

.package-content h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.package-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.package-features {
    margin-bottom: 30px;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-weight: 500;
}

.package-features i {
    color: var(--accent);
}

.package-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.package-footer-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.package-footer-actions .btn {
    flex: 1;
    min-width: 0;
    justify-content: center;
    white-space: nowrap;
}

.package-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.package-price span {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-inline-start: 6px;
}

/* Simple Package Cards - Original Design */
.package-card-simple {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 50px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.package-card-simple:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.package-icon-simple {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    transition: var(--transition);
}

.package-card-simple:hover .package-icon-simple {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.package-card-simple h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text);
    font-weight: 700;
}

.package-card-simple .package-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 25px;
    display: block;
}

.package-card-simple .btn {
    margin-top: 10px;
}

/* Services - Home Visit Focus */
.home-service {
    background: #fff;
    display: flex;
    gap: 80px;
    align-items: center;
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-xl);
}

.home-service-visual {
    flex: 1;
    position: relative;
}

.home-service-visual img {
    border-radius: var(--radius-md);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.home-service-content {
    flex: 1.2;
    padding-inline-end: 50px;
}

.home-service-content h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.home-service-content p {
    font-size: 1.25rem;
    margin-bottom: 32px;
}

/* Promise / Audience Cards */
.service-promises-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.promise-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.promise-card::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-gradient);
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: var(--transition);
}

.promise-card:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.promise-card:hover::before {
    opacity: 1;
}

.promise-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: var(--transition);
}

.promise-icon--secondary {
    background: var(--secondary-light);
    color: var(--secondary);
}

.promise-card:hover .promise-icon {
    background: var(--primary);
    color: white;
    transform: rotate(8deg) scale(1.1);
}

.promise-card:hover .promise-icon--secondary {
    background: var(--secondary);
    color: white;
}

.promise-body h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.promise-body p {
    font-size: 0.875rem !important;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 !important;
}

@media (max-width: 480px) {
    .service-promises-grid {
        grid-template-columns: 1fr;
    }
}

/* Search Bar - Smart Experience */
.smart-search-section {
    background: var(--primary);
    padding: 80px 7%;
    border-radius: var(--radius-lg);
    margin: 40px 7%;
}

.search-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.search-container input {
    width: 100%;
    padding-block: 30px;
    padding-inline-start: 40px;
    padding-inline-end: 80px;
    border-radius: var(--radius-full);
    border: none;
    font-size: 1.4rem;
    font-family: inherit;
    box-shadow: var(--shadow-xl);
    outline: none;
}

.search-container i.search-icon {
    position: absolute;
    inset-inline-end: 35px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: var(--secondary);
}

/* Feature Grid - Why Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius-md);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    background: var(--bg);
    border-color: var(--secondary);
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--bg);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 24px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--secondary-gradient);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0, 174, 239, 0.2);
}

/* App Promo - Sleeker */
.app-section {
    margin: 80px 7%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 80px;
    display: flex;
    align-items: center;
    gap: 80px;
    color: #fff;
}

.app-visual {
    position: relative;
}

.app-visual img {
    height: 550px;
    border-radius: 40px;
    box-shadow: var(--shadow-2xl);
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
}

.app-visual .luxury-pill {
    position: absolute;
    top: 10%;
    inset-inline-end: -20px;
    z-index: 5;
}

.store-links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

/* Branches - Interactive Feel */
.branches-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.branches-scroll {
    padding: 40px;
    max-height: 600px;
    overflow-y: auto;
}

.branch-item {
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid #f1f5f9;
    margin-bottom: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.branch-item.active,
.branch-item:hover {
    background: var(--bg);
    border-color: var(--secondary);
}

.branch-item h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.branch-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Footer - Modern Light Luxury */
footer {
    background: var(--surface-alt);
    color: var(--text);
    padding: 100px 7% 0;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 80px;
}

.footer-col h4 {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 35px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    inset-inline-start: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 10px;
}

.footer-links li {
    margin-bottom: 18px;
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(-8px);
}

[dir="ltr"] .footer-links a:hover {
    transform: translateX(8px);
}

.footer-bottom {
    background: var(--white);
    color: var(--text-muted);
    padding: 40px 7%;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
    margin: 0 -8.5%;
    /* Correcting for padding */
}

/* Footer Icon Fixes for Light Theme */
.footer-col i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.footer-logos img {
    max-width: 220px;
    height: auto;
    margin-bottom: 25px;
}

/* Modal - Smooth Zoom */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: #fff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 800px;
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    padding: 60px;
    position: relative;
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (max-width: 768px) {
    .modal-overlay {
        padding: 12px;
        align-items: flex-end;
    }

    .modal-card {
        padding: 32px 20px 28px;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        max-height: calc(100dvh - 24px);
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .modal-card .section-title h2 {
        font-size: 1.6rem !important;
    }

    .modal-card .close-modal {
        top: 20px !important;
        inset-inline-end: 20px !important;
        font-size: 1.5rem !important;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Test Menu - Detailed Grid */
.test-grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.test-item-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.test-item-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

/* Scroll Reveal System - Cinematic */
.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
    transition: opacity 1.5s cubic-bezier(0.23, 1, 0.32, 1),
        transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered Reveals */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* Map Loading Concept */
.map-container.loading {
    position: relative;
    overflow: hidden;
}

.map-container.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--surface-alt);
    background: linear-gradient(90deg, var(--surface-alt), #f1f5f9, var(--surface-alt));
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    z-index: 5;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Search Container Micro-interactions */
.search-container {
    transition: var(--transition);
    border: 2px solid transparent;
}

.search-container.focused {
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

#searchResults {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    inset-inline-end: 0;
    background: #fff;
    border-radius: var(--radius-md);
    margin-top: 15px;
    box-shadow: var(--shadow-xl);
    z-index: 100;
    overflow: hidden;
    display: none;
}

#searchResults.has-results {
    display: block;
    animation: zoomIn 0.3s ease-out;
}

.search-item {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-item:hover {
    background: var(--surface-alt);
    color: var(--primary);
}

/* Responsive & Mobile Design System */

/* Header Container */
.header-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

@media (max-width: 1200px) {
    .header-container {
        grid-template-columns: auto 1fr;
    }

    .header-actions {
        justify-content: flex-end;
    }
}

.desktop-nav {
    display: flex;
    justify-content: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-end;
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 5px;
}

.mobile-toggle .bar {
    width: 28px;
    height: 3px;
    background: var(--text);
    border-radius: 4px;
    transition: var(--transition);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--glass-heavy);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 30px;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 50px;
    padding-bottom: 20px;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.close-mobile-menu {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text);
    cursor: pointer;
}

.mobile-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-links a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-links a:hover {
    color: var(--primary);
    padding-inline-start: 15px;
}

/* Responsive Implementation */
@media (max-width: 1200px) {
    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 150px;
        text-align: center;
        gap: 50px;
    }

    .hero-actions {
        justify-content: center;
    }

    .is-home #header:not(.scrolled) .mobile-toggle .bar {
        background: white;
    }

    .hero-visual {
        display: none;
        /* Cleaner mobile look */
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        margin: 0 7% 0;
    }

    .stat-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 20px;
    }

    .stat-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    #header {
        padding: 10px 5%;
    }

    #header .logo img {
        height: 50px !important;
    }

    .is-home #header:not(.scrolled) .logo img {
        height: 60px !important;
    }

    .mobile-menu-overlay .logo img {
        height: 60px;
        margin-bottom: 0;
    }

    .section {
        padding: 80px 5%;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .app-section {
        flex-direction: column;
        padding: 50px 30px;
        text-align: center;
        gap: 50px;
        margin: 40px 5%;
    }

    .store-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .app-content {
        order: 1;
    }

    .app-visual {
        order: 2;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .app-visual img {
        width: 100%;
        max-width: 450px;
        height: auto !important;
        border-radius: var(--radius-md) !important;
    }

    .app-visual .luxury-pill {
        inset-inline-end: 10px !important;
        right: auto !important;
        left: auto !important;
        transform: scale(0.9);
    }

    .home-service {
        flex-direction: column;
        padding: 40px 30px;
    }

    .home-service-visual img {
        height: 300px;
    }

    .branches-wrapper {
        grid-template-columns: 1fr;
    }

    .branches-scroll {
        max-height: 400px;
    }

    .map-container {
        min-height: 300px !important;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hide-mobile {
        display: none;
    }

    .logo span {
        font-size: 1.4rem;
    }

    .stats-bar {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .stat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 30px 0;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .content-visual {
        padding: 0;
        margin-top: 30px;
    }

    .content-visual img {
        max-height: 400px;
    }

    .stat-item-premium {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .stat-separator {
        display: none;
    }
}

/* =========================================
   REFINED LAYOUT FIXES (User Structure Repair)
   ========================================= */

/* 1. App Section Types */
.app-section.home-visit-mode {
    margin: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
    /* Reset padding as it interacts with inner content */
}

/* 2. Content Visual & Images - Premium Upgrade */
.content-visual {
    position: relative;
    padding: 20px;
    z-index: 1;
}

.content-visual::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 80%;
    height: 80%;
    background: var(--secondary-gradient);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.15;
    transform: translate(-10px, -10px);
}

.content-visual::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-end: 0;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    z-index: 2;
    filter: blur(20px);
    opacity: 0.5;
}

.visual-inner {
    position: relative;
    border-radius: 48px;
    /* High-end rounded corners */
    overflow: visible;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.4),
        0 0 0 12px rgba(255, 255, 255, 0.03);
    /* Luxury glass border layer */
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.visual-inner::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 5;
    pointer-events: none;
}

.content-visual img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    border-radius: 46px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    filter: saturate(1.1) contrast(1.05);
    /* Pro photo enhancement */
}

.content-visual:hover .visual-inner {
    transform: translateY(-12px) rotate(-1deg);
    box-shadow:
        0 60px 120px rgba(0, 0, 0, 0.5),
        0 0 0 16px rgba(255, 255, 255, 0.05);
}

/* Floating Evidence Card */
.floating-stat-card {
    position: absolute;
    bottom: -30px;
    inset-inline-start: -30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 24px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 10;
    animation: floatCard 4s ease-in-out infinite;
}

.floating-stat-card .card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.floating-stat-card .card-info {
    display: flex;
    flex-direction: column;
}

.floating-stat-card .card-info strong {
    font-size: 1.6rem;
    color: var(--primary);
    line-height: 1.2;
    font-family: 'Outfit', sans-serif;
}

.floating-stat-card .card-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 992px) {
    .floating-stat-card {
        bottom: 10px;
        inset-inline-start: 10px;
        scale: 0.85;
    }
}

/* 3. Booking Form */
.booking-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.full-width {
    grid-column: span 2;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
}

.footer-logos img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

/* 4. Footer Brand Column */
.brand-col {
    display: flex;
    flex-direction: column;
}

/* Mobile Overrides for New Elements */
@media (max-width: 768px) {
    .app-section.home-visit-mode {
        padding: 40px 0;
    }

    .content-visual {
        margin-top: 40px;
    }

    .content-visual img {
        height: auto !important;
        max-height: 300px;
        /* Prevent huge images on mobile */
    }

    .booking-form {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .full-width {
        grid-column: span 1;
    }

    /* Ensure Footer Stacks Correctly */
    .footer-col {
        grid-column: span 1 !important;
    }
}

/* =========================================
   FLOATING ACTIONS & WHATSAPP
   ========================================= */
.floating-actions {
    position: fixed;
    bottom: 30px;
    inset-inline-end: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2000;
}

.whatsapp-btn {
    width: 65px;
    height: 65px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    text-decoration: none;
    animation: whatsapp-heartbeat 3s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.btn-tooltip {
    position: absolute;
    inset-inline-end: 80px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    pointer-events: none;
    font-weight: 700;
}

.whatsapp-btn:hover .btn-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsapp-heartbeat {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    }

    15% {
        transform: scale(1.1);
        box-shadow: 0 20px 40px rgba(37, 211, 102, 0.6);
    }

    30% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    }

    45% {
        transform: scale(1.1);
        box-shadow: 0 20px 40px rgba(37, 211, 102, 0.6);
    }

    60% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    }
}

/* Scroll Buttons Redefinition (now inside floating-actions) */
.scroll-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.scroll-btn {
    width: 55px;
    height: 55px;
    /* ... existing styles simplified ... */
}

/* =========================================
   FIXED SCROLL BUTTONS RE-INTEGRATION
   ========================================= */
.scroll-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--glass-heavy);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--primary);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    opacity: 0.8;
}

.scroll-btn:hover {
    opacity: 1;
    transform: translateY(-5px);
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 74, 173, 0.4);
}

#scrollToTop {
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
}

#scrollToTop.visible {
    transform: translateY(0);
    opacity: 0.8;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        inset-inline-end: 20px;
        gap: 15px;
    }

    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }

    .scroll-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* =========================================
   LEGAL PAGES STYLING
   ========================================= */
.legal-content {
    background: var(--surface);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    margin-bottom: 50px;
}

.legal-content h2 {
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 25px;
    font-size: 1.8rem;
    position: relative;
    padding-inline-start: 20px;
}

.legal-content h2::after {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 70%;
    background: var(--secondary-gradient);
    border-radius: 3px;
}

.legal-content p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 25px;
    line-height: 1.9;
}

.legal-content ul {
    margin-bottom: 35px;
    padding-inline-start: 30px;
}

.legal-content li {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 18px;
    position: relative;
    line-height: 1.7;
}

.legal-content ul li::marker {
    color: var(--secondary);
    font-weight: 900;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 40px 25px;
        border-radius: var(--radius-md);
    }

    .legal-content h2 {
        font-size: 1.5rem;
    }

    .legal-content p {
        font-size: 1.05rem;
    }
}

/* ── Toast Notifications ─────────────────────────────────────────────────── */
#toast-container {
    position: fixed;
    bottom: 30px;
    inset-inline-end: 30px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
    width: calc(100vw - 60px);
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: var(--shadow-xl);
    border-inline-start: 4px solid currentColor;
    animation: toast-in 0.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    pointer-events: all;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.toast::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    height: 3px;
    background: currentColor;
    opacity: 0.25;
    animation: toast-timer linear forwards;
    animation-duration: var(--toast-duration, 4s);
}

.toast-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.toast-body {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 1rem;
    padding: 0;
    flex-shrink: 0;
    align-self: flex-start;
    line-height: 1;
}

/* Types */
.toast-success { color: #16a34a; }
.toast-error   { color: #dc2626; }
.toast-warning { color: #d97706; }
.toast-info    { color: var(--primary); }

.toast-success .toast-title { color: #15803d; }
.toast-error   .toast-title { color: #b91c1c; }
.toast-warning .toast-title { color: #b45309; }
.toast-info    .toast-title { color: var(--primary-dark); }

/* Animations */
@keyframes toast-in {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes toast-out {
    to { opacity: 0; transform: translateX(40px); max-height: 0; padding: 0; margin: 0; }
}

@keyframes toast-timer {
    from { width: 100%; }
    to   { width: 0%; }
}

[dir='rtl'] @keyframes toast-in {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@media (max-width: 480px) {
    #toast-container {
        bottom: 16px;
        inset-inline-end: 16px;
        inset-inline-start: 16px;
        width: auto;
    }
}