/*
Theme Name: Mr Clean Premium Theme
Theme URI: https://mrclean.lk/
Author: Vanguard Digital Solutions
Description: Custom premium theme for Mr Clean Cleaning Services, compatible with Elementor and RankMath.
Version: 1.0.0
Text Domain: mr-clean
*/

/* ─── Design Tokens ─── */
:root {
    --c-bg: #031f41; /* Deep Navy background from Stitch */
    --c-surface: #051b36; /* Slightly lighter navy for cards */
    --c-surface2: #0b254b; /* Brighter navy surface */
    --c-border: rgba(255, 255, 255, 0.12);
    --c-text: #ffffff; /* White text on dark navy */
    --c-muted: #b0c7f1; /* Light blue-grey text */
    --c-primary: #ffffff; /* White primary color (inverted) */
    --c-primary-dark: #eaf1ff; /* Hover background */
    --c-accent: #006e2f; /* Forest Green */
    --c-accent-dark: #005321;
    --c-gold: #FFB400; /* Google Star Gold */
    --c-highlight: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-blur: 12px;
    --font: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Space Grotesk', 'Inter', sans-serif;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --radius-lg: 32px;
    /* For large section containers */
    --radius: 24px; /* rounded-card from Stitch */
    /* For cards */
    --radius-sm: 12px; /* rounded-button from Stitch */
    /* For buttons/small elements */
    --transition: 0.4s var(--ease);
}

/* ─── Responsive Typography ─── */
:root {
    --fs-h1: clamp(36px, 6vw, 56px);
    --fs-h2: clamp(28px, 4vw, 40px);
    --fs-h3: clamp(20px, 2.5vw, 26px);
    --fs-body: 15px;
}

/* ─── Reset ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    font-size: 15px; /* Base size */
}

@media (min-width: 1024px) {
    html {
        font-size: 14px; /* Scaled down for standard desktops to look compact and premium */
    }
}

@media (min-width: 1440px) {
    html {
        font-size: 14px; /* Maintain clean proportions on larger viewports */
    }
}

body {
    font-family: var(--font);
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.6;
    overflow-x: hidden
}

img {
    display: block;
    max-width: 100%;
    height: auto
}

a {
    color: inherit;
    text-decoration: none
}

ul {
    list-style: none
}

/* ─── Utility & Theme ─── */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius)
}

.tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--c-primary);
    margin-bottom: 12px
}

.highlight {
    background: linear-gradient(135deg, var(--c-primary), #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.desc {
    color: var(--c-muted);
    font-size: 17px;
    max-width: 520px;
    line-height: 1.7
}

.sec {
    padding: 100px 0
}

.text-center {
    text-align: center
}

.text-white {
    color: #fff !important
}

.text-white-muted {
    color: rgba(255, 255, 255, 0.7) !important
}

.mb-4 {
    margin-bottom: 24px
}

.mt-4 {
    margin-top: 24px
}

.w-100 {
    width: 100%
}

@media (max-width: 768px) {
    .sec {
        padding: 60px 0;
    }

    .desc {
        font-size: 15px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer
}

.btn-primary {
    background: var(--c-primary);
    color: var(--c-bg)
}

.btn-primary:hover {
    background: var(--c-primary-dark);
    transform: translateY(-2px);
    color: var(--c-bg)
}

.btn-accent {
    background: var(--c-accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .35)
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, .45)
}

.btn-ghost {
    background: transparent;
    border: 2px solid var(--c-border);
    color: var(--c-text)
}

.btn-ghost:hover {
    border-color: var(--c-primary);
    color: var(--c-primary)
}

.hero-actions .btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4)
}

.hero-actions .btn-ghost:hover {
    background: #fff;
    color: var(--c-primary)
}

.btn-wa-lg {
    background: var(--c-accent);
    color: #fff;
    font-size: 18px;
    padding: 16px 36px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    justify-content: center
}

.btn-wa-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
    background: var(--c-accent-dark)
}

/* ─── Cursor & Loader ─── */
.cursor-glow {
    display: none
}

/* disabled for light theme */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-bg)
}

.loader-inner {
    text-align: center
}

.loader-logo {
    width: 260px;
    height: auto;
    animation: loaderPulse 1.2s ease-in-out infinite
}

@keyframes loaderPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1
    }

    50% {
        transform: scale(1.2);
        opacity: .6
    }
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s;
    display: none;
}

/* ─── Floating WhatsApp ─── */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--c-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 24px rgba(37, 211, 102, .4);
    transition: var(--transition);
    text-decoration: none;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 32px rgba(37, 211, 102, .55)
}

.wa-tooltip {
    position: absolute;
    right: 75px;
    background: #fff;
    color: var(--c-bg);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    transform: translateX(10px);
}

.wa-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ─── Navigation ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 18px 0;
    /* Default: solid dark background so links are always visible */
    background: rgba(3, 31, 65, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

/* Only go fully transparent when sitting over a hero (front page) */
.home .nav:not(.scrolled) {
    background: transparent;
    box-shadow: none;
    border-bottom: none;
}

.nav.scrolled {
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0;
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* WordPress admin bar fix: push nav down when admin bar is visible */
.admin-bar .nav {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar .nav {
        top: 46px;
    }
}

.nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 55px;
    width: auto;
    transition: var(--transition);
}

.nav.scrolled .nav-logo img {
    filter: brightness(0);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Dropdown Navigation Menu */
.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: #031f41; /* Deep Navy to match the theme */
    min-width: 160px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    padding: 8px 0;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    text-align: center;
}

.dropdown-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* Scrolled nav styles for dropdown */
.nav.scrolled .dropdown-menu {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.nav.scrolled .dropdown-link {
    color: rgba(3, 31, 65, 0.75);
}

.nav.scrolled .dropdown-link:hover {
    background: #f8f9ff;
    color: #031f41;
}

/* Hover triggers */
.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(5px);
}

/* Default nav links: white (visible on dark nav bg) */
.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.25s ease;
    position: relative;
    padding-bottom: 4px;
    display: inline-flex;
    align-items: center;
}

/* Animated underline: grows from centre on hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: #4ae176; /* secondary-fixed-dim – green accent */
    border-radius: 2px;
    transition: transform 0.25s ease;
    transform-origin: center;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Active page: full underline always visible */
.nav-link.active {
    color: #fff;
}

.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
    background: #6bff8f; /* bright secondary-container green */
    height: 2.5px;
}

/* ── Scrolled state (white bg): dark text + green underline ── */
.nav.scrolled .nav-link {
    color: rgba(3, 31, 65, 0.75);
}

.nav.scrolled .nav-link::after {
    background: #006e2f; /* darker green on white bg */
}

.nav.scrolled .nav-link:hover {
    color: #031f41;
}

.nav.scrolled .nav-link.active {
    color: #031f41;
}

.nav.scrolled .nav-link.active::after {
    background: #006e2f;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    background: var(--c-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition)
}

.nav-cta:hover {
    transform: translateY(-2px)
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001
}

.hamburger {
    width: 24px;
    height: 18px;
    position: relative
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: var(--transition)
}

.nav.scrolled .hamburger span {
    background: #031f41;
}

.hamburger span:nth-child(1) {
    top: 0
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%)
}

.hamburger span:nth-child(3) {
    bottom: 0
}

.nav-toggle.open .hamburger span:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
    margin-top: -1px;
    background: var(--c-text)
}

.nav-toggle.open .hamburger span:nth-child(2) {
    opacity: 0
}

.nav-toggle.open .hamburger span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: auto;
    top: 50%;
    margin-top: -1px;
    background: var(--c-text)
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: var(--c-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    padding: 40px
}

.mobile-overlay.open {
    opacity: 1;
    pointer-events: auto
}

.mobile-menu-inner {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: translateY(20px);
    transition: var(--transition)
}

.mobile-overlay.open .mobile-menu-inner {
    transform: translateY(0)
}

#mobileOverlay .mobile-menu-inner a.mobile-link {
    font-family: var(--font-display);
    font-size: 20px; /* Smaller font size */
    font-weight: 600; /* Medium-bold for premium feel */
    color: #ffffff !important; /* Force white color for visibility */
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* Subtle white border */
    display: block;
    transition: color 0.3s ease, padding-left 0.3s ease, border-color 0.3s ease;
}

#mobileOverlay .mobile-menu-inner a.mobile-link.text-sm {
    font-size: 16px !important;
    font-weight: 500;
    opacity: 0.85;
    padding-left: 20px;
    border-bottom: none; /* No bottom border for submenu items */
}

#mobileOverlay .mobile-menu-inner a.mobile-link:hover {
    color: #6bff8f !important; /* Premium bright green on hover */
    padding-left: 20px
}

#mobileOverlay .mobile-menu-inner a.mobile-link.text-sm:hover {
    padding-left: 28px;
}

/* Ensure navbar style is clean and logo is white when mobile menu is open */
.nav.menu-open {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

.nav.menu-open .nav-logo img {
    filter: brightness(0) invert(1) !important;
}

#mobileOverlay .mobile-menu-inner .mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366 !important; /* WhatsApp Green */
    color: #ffffff !important;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 9999px; /* Rounded pill borders */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-decoration: none;
    margin-top: 24px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    width: auto;
    align-self: center;
}

#mobileOverlay .mobile-menu-inner .mobile-cta:hover {
    background-color: #1ebd5b !important; /* Slightly darker green hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

#mobileOverlay .mobile-menu-inner .mobile-cta i {
    font-size: 20px;
}

/* ─── MAIN WRAPPER (To support the template's inset layout) ─── */
.main-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 100px 24px 0;
    display: flex;
    flex-direction: column;
    gap: 60px
}

/* Section Common */
.surface-rounded {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03)
}

.surface-colored {
    background: linear-gradient(135deg, var(--c-surface), var(--c-surface2));
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.surface-colored .uf-vcard {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: var(--c-text) !important;
}

.surface-colored .uf-vcard h4 {
    color: var(--c-text) !important;
}

.surface-colored .uf-vcard p {
    color: var(--c-muted) !important;
}

.surface-colored .uf-icon {
    background: rgba(107, 255, 143, 0.1) !important; /* Translucent brand green background */
    color: #6bff8f !important; /* Premium brand green */
}

/* ─── Hero Section ─── */
.layout-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 80px
}

.hero-image-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1)
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 14, 23, .9) 0%, rgba(10, 14, 23, .5) 50%, rgba(10, 14, 23, 0.3) 100%)
}

.hero-card {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 48px;
    margin-left: max(20px, calc((100vw - 1240px)/2 - 40px));
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.hero-card * {
    color: #fff
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(56, 189, 248, 0.3)
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--fs-h1);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -1px
}

.hero-title .accent {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block
}

.hero-sub {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 60px;
    line-height: 1.6;
    max-width: 500px
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap
}

.hero-floating-badge {
    position: absolute;
    bottom: 60px;
    right: 60px;
    z-index: 2;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: var(--radius);
    animation: float 4s ease-in-out infinite;
    background: rgba(5, 27, 54, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.faces {
    display: flex;
    align-items: center
}

.faces img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-right: -15px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3)
}

.face-more {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--c-gold);
    color: #031f41;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 3
}

.fb-text strong {
    display: block;
    font-size: 16px;
    color: var(--c-text)
}

.fb-text span {
    font-size: 13px;
    color: var(--c-muted)
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-15px)
    }
}

/* ─── Stats (Process) ─── */
.layout-stats {
    text-align: center
}

.layout-stats .sec-header {
    margin-bottom: 40px
}

.stats-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 2
}

.stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(56, 189, 248, .1);
    color: var(--c-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
    border: 1px solid rgba(56, 189, 248, .2)
}

.stat-item h3 {
    font-family: var(--font-display);
    font-size: 20px;
    margin-bottom: 8px
}

.stat-item p {
    color: var(--c-muted);
    font-size: 14px;
    max-width: 200px
}

.stat-line {
    height: 2px;
    flex: 1;
    background: linear-gradient(90deg, transparent, var(--c-border), transparent);
    margin: 0 -20px;
    transform: translateY(-40px);
    z-index: 1
}

/* ─── About ─── */
.layout-about {
    display: flex;
    align-items: center
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px
}

.check-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--c-text)
}

.check-list i {
    color: var(--c-primary);
    font-size: 18px
}

.about-image-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3
}

.about-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: var(--radius)
}

.ab-num {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--c-primary)
}

.ab-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-muted)
}

/* ─── Unique (Why Choose Us) ─── */
.layout-unique {
    display: flex;
    flex-direction: column;
    align-items: center
}

.unique-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
    width: 100%
}

.uf-vcard {
    padding: 32px 24px;
    text-align: center;
    border-radius: var(--radius);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%
}

.uf-vcard:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.2)
}

.uf-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(129, 140, 248, 0.1));
    color: var(--c-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px
}

.uf-vcard h4 {
    font-family: var(--font-display);
    font-size: 18px;
    margin-bottom: 12px
}

.uf-vcard p {
    font-size: 14px;
    color: var(--c-muted);
    line-height: 1.6
}

/* ─── Services ─── */
.layout-services .sec-header {
    margin-bottom: 48px
}

.layout-services h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800
}

.services-vcard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px
}

.svc-vcard {
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition)
}

.svc-vcard:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.15)
}

.svc-vcard-img {
    position: relative;
    height: 180px;
    width: 100%
}

.svc-vcard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.svc-vcard-icon {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-primary);
    font-size: 16px
}

.svc-vcard-content {
    padding: 32px 20px 24px;
    display: flex;
    flex-direction: column;
    flex: 1
}

.svc-vcard-content h3 {
    font-family: var(--font-display);
    font-size: 18px;
    margin-bottom: 10px
}

.svc-vcard-content p {
    font-size: 13px;
    color: var(--c-muted);
    margin-bottom: 20px;
    flex: 1
}

.svc-vcard-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-primary);
    transition: var(--transition)
}

.svc-vcard-link:hover {
    gap: 10px
}

/* ─── Reviews ─── */
.layout-reviews {
    text-align: center;
    position: relative
}

.layout-reviews .sec-header h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 40px
}

.reviews-slider {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--c-surface2);
    border: 1px solid var(--c-border);
    color: var(--c-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0
}

.slider-btn:hover {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary)
}

.reviews-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
    max-width: 800px
}

.rev-card {
    padding: 32px;
    text-align: left;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 16px
}

.rc-stars {
    color: var(--c-gold);
    font-size: 14px
}

.rev-card p {
    font-size: 15px;
    color: var(--c-muted);
    font-style: italic
}

.rc-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto
}

.rc-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700
}

.rc-author strong {
    display: block;
    font-size: 14px
}

.rc-author span {
    font-size: 12px;
    color: var(--c-muted)
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 50px;
    margin: 0 auto
}

.google-badge img {
    width: 20px;
    height: 20px
}

.google-badge span {
    font-size: 14px
}

/* ─── Contact ─── */
.layout-contact {
    margin-bottom: 60px
}

.contact-split {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: center
}

.contact-form-box {
    padding: 48px 40px
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px
}

.ci-item {
    display: flex;
    gap: 16px;
    align-items: flex-start
}

.ci-item i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(56, 189, 248, .1);
    color: var(--c-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0
}

.ci-item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px
}

.ci-item span {
    font-size: 14px;
    color: var(--c-muted)
}

.contact-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    min-height: 500px
}

.contact-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0
}

.contact-float-card {
    position: absolute;
    bottom: 32px;
    left: 32px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: var(--radius);
    max-width: 300px
}

.contact-float-card i {
    font-size: 24px;
    color: var(--c-accent)
}

.contact-float-card span {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4
}

.contact-float-card small {
    display: block;
    font-weight: 400;
    color: var(--c-muted);
    margin-top: 2px
}

/* ─── Footer ─── */
.layout-footer {
    background: transparent;
    padding: 0 24px 40px
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    border-top: 1px solid var(--c-border);
    padding-top: 40px
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-desc {
    color: var(--c-muted);
    font-size: 14px;
    max-width: 300px
}

.footer-social {
    display: flex;
    gap: 12px
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--c-surface2);
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition)
}

.footer-social a:hover {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary)
}

.footer-bottom {
    text-align: center;
    color: var(--c-muted);
    font-size: 13px
}

/* ─── Responsive ─── */
@media(max-width:1100px) {
    .about-grid {
        gap: 40px
    }

    .unique-cards-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .services-vcard-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:992px) {
    .nav-inner {
        padding: 0 20px
    }

    .hero-card {
        margin-left: 24px;
        padding: 40px
    }

    .contact-split {
        grid-template-columns: 1fr
    }
}

@media(max-width:768px) {

    html {
        overflow-x: hidden;
    }

    .nav-menu,
    .nav-cta {
        display: none
    }


    .nav-toggle {
        display: block
    }

    .hamburger span {
        background: var(--c-text);
    }



    /* Ensure visibility on mobile */
    .logo-icon {
        width: 32px;
        height: 32px
    }

    .main-wrapper {
        padding-top: 60px;
        gap: 40px;
        padding: 0 16px;
        max-width: 100%;
    }

    .layout-hero {
        min-height: auto;
        padding-top: 80px;
        display: flex;
        flex-direction: column;
    }

    .hero-image-wrap {
        position: relative;
        height: 350px;
        margin-bottom: -60px
    }

    .hero-card {
        margin: 0 16px;
        padding: 48px 32px;
        width: 100%;
        background: rgba(10, 14, 23, 0.85);
        border-radius: 0;
    }

    .hero-floating-badge {
        display: none
    }

    .hero-actions {
        flex-direction: column
    }

    .hero-actions .btn {
        width: 100%
    }

    .stats-flow {
        flex-direction: column;
        gap: 40px
    }

    .stat-line {
        display: none
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .surface-rounded,
    .surface-colored {
        padding: 32px 20px
    }

    .unique-cards-grid {
        grid-template-columns: 1fr
    }

    .services-vcard-grid {
        grid-template-columns: 1fr
    }

    .reviews-slider {
        flex-direction: column
    }

    .reviews-cards {
        grid-template-columns: 1fr
    }

    .contact-form-box {
        padding: 32px 20px
    }

    .contact-image-wrap {
        min-height: 350px
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 32px
    }

    .footer-desc {
        margin: 0 auto
    }
}

@media(max-width:480px) {
    .hero-title {
        font-size: 36px
    }

    .hero-sub {
        font-size: 16px
    }

    .sec-header h2 {
        font-size: 28px
    }
}

/* ─── Google Stitch Custom Helpers ─── */
.glass-card {
    background: rgba(8, 34, 69, 0.8) !important; /* Premium dark navy glass */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20) !important;
}

.card-shadow, .tonal-shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

.hero-gradient {
    background: linear-gradient(135deg, rgba(3, 31, 65, 0.85) 0%, rgba(3, 31, 65, 0.6) 100%) !important;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Ensure Google Maps images look correct in Stitch containers */
img[data-location] {
    object-position: center;
}

/* Animate-bounce-subtle keyframe for reviews rating G logo */
@keyframes bounce-subtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
.animate-bounce-subtle {
    animation: bounce-subtle 2s ease-in-out infinite;
}

/* ─── Video Showcase Section ─── */
.layout-videos {
    padding-top: 60px;
    padding-bottom: 60px;
}

.videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1240px;
    margin: 40px auto 0;
    padding: 0 24px;
    justify-items: center;
}

@media (min-width: 1024px) {
    .videos-grid {
        grid-template-columns: 1fr 1fr;
        justify-items: stretch;
    }
}

.video-card {
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Stacked vertically on mobile */
    transition: var(--transition);
    width: 100%;
    max-width: 580px; /* Wider card to fill the screen */
}

@media (min-width: 640px) {
    .video-card {
        flex-direction: row; /* Horizontal layout on desktop/tablet */
        align-items: stretch;
    }
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 110, 47, 0.25);
    box-shadow: 0 20px 40px rgba(0, 110, 47, 0.08);
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1; /* Square thumbnail */
    overflow: hidden;
    background: #000;
}

@media (min-width: 640px) {
    .video-wrapper {
        width: 220px; /* Fixed square size on desktop/tablet */
        height: 220px;
        flex-shrink: 0;
    }
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.video-card:hover .video-wrapper video {
    transform: scale(1.08); /* Zoom effect on hover */
}

/* Play button overlay */
.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(0, 110, 47, 0.9); /* Theme green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 110, 47, 0.4);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s, box-shadow 0.2s;
    z-index: 10;
    pointer-events: none; /* Clicks pass to card */
}

.play-button-overlay i {
    color: #fff;
    font-size: 18px;
    margin-left: 3px; /* Align triangle visually */
}

.video-card:hover .play-button-overlay {
    transform: translate(-50%, -50%) scale(1.15);
    background: #6bff8f; /* Bright green on hover */
    box-shadow: 0 0 30px rgba(107, 255, 143, 0.6);
}

.video-card:hover .play-button-overlay i {
    color: #031f41; /* Dark navy icon on hover */
}

.video-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center text content vertically */
    flex: 1;
}

.video-card-content h3 {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--c-primary);
    margin-bottom: 10px;
}

.video-card-content p {
    font-size: 13px;
    color: var(--c-muted);
    line-height: 1.6;
    margin: 0;
}

/* ─── Video Lightbox Modal ─── */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 31, 65, 0.85); /* Dark theme overlay */
    backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    width: 90%;
    /* Keep 9:16 aspect ratio, but constrain the width based on viewport height so the height never exceeds 80vh */
    max-width: min(420px, calc(80vh * 9 / 16));
    aspect-ratio: 9/16;
    z-index: 10000;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-video-container {
    width: 100%;
    height: 100%;
}

.lightbox-video-container video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain; /* Play in native aspect ratio without cropping */
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: background 0.2s, transform 0.2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Animated Call to Action Gradient */
.cta-gradient-card {
    background: linear-gradient(135deg, #ffffff 50%, #0a274c 80%, #031f41 105%);
    background-size: 180% 180%;
    animation: ctaGradientAnimation 10s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2rem; /* Curved borders */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

@keyframes ctaGradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 40% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Window Cleaning Section Theme Matching & Contrast Correction */
.inner-cta-block {
    background: #082245 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
}

.inner-cta-block h2 {
    color: #ffffff !important;
}

.inner-cta-block p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.inner-cta-block .badge-list div {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.inner-cta-block .badge-list span {
    color: #6bff8f !important; /* Bright brand green icons */
}