/*
Theme Name: Upkeep Cleaning
Theme URI: https://upkeepcleaning.com
Author: OnTopLocal
Description: Custom Theme for Upkeep Cleaning Services
Version: 1.0
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Raleway:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================ */

:root {
    /* Primary Colors */
    --bs-body-bg: #111111;
    --primary-gray: #444444;
    --primary-gray-alt: #454545;

    /* Accent Colors - New Blue-Green Palette */
    --bs-primary: #067c91;
    --accent-cyan-light: #4ca6b8;
    --accent-teal-dark: #045561;

    /* Sage Green Colors */
    --sage-green: #067c91;
    --sage-light: #4ca6b8;
    --sage-dark: #045561;

    /* Navy Colors */
    --navy-dark: #1a202c;
    --navy-medium: #2d3748;

    /* Supporting Colors */
    --gray-light: #4a5568;
    --gray-lighter: #6b7280;
    --gray-darkest: #1a202c;

    /* Text Colors */
    --bs-body-color: #ffffff;
    --text-secondary: #4b5563;
    --text-muted: #374151;
    --text-light: #ffffff;
    --text-dark: #333333;
    /* Status Colors */
    --bs-success: #067c91;
    --bs-warning: #067c91;
    --bs-danger: #f44336;
    --bs-info: #4ca6b8;

    /* Typography Scale */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-md: 1.125rem;
    --font-size-lg: 1.618rem;
    --font-size-xl: 2.618rem;
    --font-size-2xl: 4.236rem;

    /* Gradients */
    --accent-gradient: linear-gradient(
        135deg,
        var(--bs-primary) 0%,
        var(--accent-teal-dark) 100%
    );
    --sage-gradient: linear-gradient(
        135deg,
        var(--sage-green) 0%,
        var(--sage-dark) 100%
    );
    --cyan-gradient: linear-gradient(
        135deg,
        var(--accent-cyan-light) 0%,
        var(--bs-primary) 100%
    );
    --bg-gradient-dark: linear-gradient(
        145deg,
        var(--bs-body-bg) 0%,
        var(--gray-darkest) 100%
    );
    --bg-dark-gradient: linear-gradient(
        145deg,
        var(--gray-darkest) 0%,
        #1a1a1a 100%
    );
    --bg-navy-gradient: linear-gradient(
        145deg,
        var(--gray-light) 0%,
        var(--gray-lighter) 100%
    );
    --bg-primary-gradient: linear-gradient(
        145deg,
        var(--bs-primary) 0%,
        var(--accent-teal-dark) 100%
    );

    /* Elevation System */
    --elevation-1: 0 4px 6px rgba(0, 0, 0, 0.2);
    --elevation-2: 0 8px 15px rgba(0, 0, 0, 0.25);
    --elevation-3: 0 16px 28px rgba(0, 0, 0, 0.3);
    --elevation-4: 0 24px 38px rgba(0, 0, 0, 0.35);
    --elevation-5: 0 32px 48px rgba(0, 0, 0, 0.4);

    /* Animation Timing */
    --timing-fast: 200ms;
    --timing-medium: 400ms;
    --timing-slow: 600ms;

    /* Easing Curves */
    --ease-in-out: cubic-bezier(0.33, 0.1, 0.5, 1);
    --ease-emphasis: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Layout */
    --navbar-height: 90px;
}

/* ============================================
   GLOBAL STYLES & RESET
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

*:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(6, 124, 145, 0.5);
}

::selection {
    background-color: rgba(6, 124, 145, 0.3);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

body {
    font-family: "Raleway", sans-serif;
    background: linear-gradient(
        135deg,
        var(--navy-dark) 0%,
        var(--navy-medium) 100%
    );
    /* background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23222222' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); */
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    letter-spacing: 0.01em;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Page-specific navbar spacing overrides */
body.page-template-page-member-dashboard,
body.page-template-page-login,
body.page-template-page-register,
body.page-template-page-member-login,
body.page-template-page-simple-login,
body.page-template-page-live-webinars,
body.single-news,
body.post-type-archive-news,
body.archive {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ============================================
   TYPOGRAPHY SYSTEM
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

/* Script-style text using Pacifico font */
.script-text,
.pacifico-text {
    font-family: "Pacifico", cursive;
    font-weight: 400;
    letter-spacing: 0.02em;
    font-size: 1.2em;
    line-height: 1.3;
    transform: rotate(-1deg);
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive sizing for script text */
@media (min-width: 768px) {
    .script-text,
    .pacifico-text {
        font-size: 1.4em;
    }
}

@media (min-width: 1200px) {
    .script-text,
    .pacifico-text {
        font-size: 1.6em;
    }
}
    font-size: 1.2em;
    color: var(--accent-cyan-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: rotate(-2deg);
    display: inline-block;
    margin: 0 0.25em;
}

/* Responsive font sizes */
@media (max-width: 768px) {
    .script-text,
    .pacifico-text {
        font-size: 1.1em;
        transform: rotate(-1deg);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .script-text,
    .pacifico-text {
        font-size: 1em;
        transform: none;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}

h1 {
    font-size: var(--font-size-2xl);
}
h2 {
    font-size: var(--font-size-xl);
}
h3 {
    font-size: var(--font-size-lg);
}
h4 {
    font-size: var(--font-size-md);
}
h5 {
    font-size: var(--font-size-base);
}
h6 {
    font-size: var(--font-size-sm);
}

/* Text Utilities */
.text-primary {
    color: var(--bs-primary) !important;
    font-weight: 700 !important;
}

.text-navy {
    color: var(--navy-dark) !important;
    font-weight: 600 !important;
}

.text-sage {
    color: var(--sage-green) !important;
    font-weight: 600 !important;
}
.text-secondary {
    color: var(--text-secondary) !important;
}
.text-muted {
    color: var(--text-muted) !important;
}
.text-light {
    color: var(--text-light) !important;
}

.text-highlight {
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: "";
    position: absolute;
    left: -5px;
    bottom: 0;
    width: 0;
    height: 8px;
    background-color: rgba(6, 124, 145, 0.3);
    z-index: -1;
    transition: width 0.5s var(--ease-bounce);
}

.text-highlight:hover::after,
.active .text-highlight::after {
    width: calc(100% + 10px);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.bg-gradient-dark {
    background: var(--bg-gradient-dark);
    color: #ffffff !important;
}






.bg-dark-gradient {
    background: var(--bg-dark-gradient);
}
.bg-navy-gradient {
    background: var(--bg-navy-gradient);
}
.bg-primary-gradient {
    background: var(--bg-primary-gradient);
}

.section {
    position: relative;
}

/* Hero section spacing for pages with custom navbar handling */
.account-hero,
.news-hero,
.login-hero,
.register-hero,
.webinars-hero,
.post-type-archive-news .section.bg-navy-gradient,
.page-template-page-login .hero-section,
.page-template-page-register .hero-section,
.page-template-page-member-login .hero-section,
.page-template-page-simple-login .hero-section,
.page-template-page-live-webinars .hero-section {
    padding-top: var(--navbar-height) !important;
}

/* Fallback section spacing */
.site-content {
    background: #ffffff !important;
    position: relative;
    z-index: 1;
}

.site-content > section:first-child,
.site-content section:first-of-type {
    padding-top: calc(1rem + var(--navbar-height));
}

/* Archive page specific fixes */
body.post-type-archive-newsletter section:first-of-type,
body.post-type-archive-webinar section:first-of-type {
    margin-top: 0px !important;
}

/* ============================================
   NAVIGATION SYSTEM
   ============================================ */

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(6, 124, 145, 0.2);
    transition: all var(--timing-medium) var(--ease-in-out);
    z-index: 99997;
    backdrop-filter: blur(0px);
    height: var(--navbar-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-scrolled {
    box-shadow: var(--elevation-2);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    transition: transform var(--timing-medium) var(--ease-bounce);
    color: var(--navy-dark) !important;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--bs-primary) !important;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem !important;
    transition: all var(--timing-medium) var(--ease-in-out);
    border-radius: 4px;
    color: var(--navy-dark) !important;
    font-weight: 500;
}

.nav-link:hover {
    background-color: rgba(6, 124, 145, 0.1);
    transform: translateY(-2px);
    color: var(--bs-primary) !important;
}

/* Mobile Menu System */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--bs-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(6, 124, 145, 0.1);
    color: #067c91;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 2rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(6, 124, 145, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-dark);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--bs-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(6, 124, 145, 0.1);
    transform: rotate(90deg);
}

.mobile-nav-list {
    padding: 2rem 0;
    list-style: none;
    margin: 0;
}

.mobile-nav-item {
    margin-bottom: 0.5rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--navy-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--bs-primary);
    background: rgba(6, 124, 145, 0.1);
    border-left-color: var(--bs-primary);
    transform: translateX(5px);
}

.mobile-nav-icon {
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.mobile-menu-footer {
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(6, 124, 145, 0.2);
    margin-top: auto;
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mobile-btn {
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.mobile-btn-primary {
    background: var(--accent-gradient);
    color: white;
}

.mobile-btn-outline {
    background: transparent;
    color: var(--bs-primary);
    border: 2px solid var(--bs-primary);
}

.mobile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 124, 145, 0.3);
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.mobile-social-link {
    color: var(--bs-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.mobile-social-link:hover {
    color: var(--accent-teal-dark);
    transform: scale(1.2);
}

/* Navigation responsive behavior */
@media (min-width: 992px) {
    .navbar-nav {
        display: flex !important;
    }

    .mobile-menu-toggle {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .navbar-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

/* ============================================
   BUTTON SYSTEM
   ============================================ */

/* Base Button Styles */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all var(--timing-medium) var(--ease-bounce);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, #067c91 0%, #045561 100%);
    color: white !important;
    box-shadow: 0 4px 15px rgba(6, 124, 145, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #045561 0%, #067c91 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 124, 145, 0.4);
    color: white;
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(6, 124, 145, 0.3);
    transition: all 0.1s ease;
}

/* Outline Buttons */
.btn-outline-light {
    border: 2px solid var(--navy-dark);
    color: var(--navy-dark);
    background: transparent;
}

.btn-outline-light:hover {
    background-color: var(--navy-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(170, 167, 160, 0.2);
}

.btn-outline-primary {
    border: 2px solid rgba(6, 124, 145, 0.5);
    color: var(--bs-primary) !important;
    background: transparent;
    position: relative;
}

.btn-outline-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(6, 124, 145, 0.1) 0%,
        rgba(6, 124, 145, 0.05) 100%
    );
    transition: width 0.3s ease;
    z-index: 0;
}

.btn-outline-primary:hover::after {
    width: 100%;
}

.btn-outline-primary:hover {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    transform: translateY(-2px);
    background: transparent;
    box-shadow: 0 6px 20px rgba(6, 124, 145, 0.2);
}

/* Premium Button Effects */
.btn-premium {
    position: relative;
    overflow: hidden;
    transition: all var(--timing-slow) var(--ease-bounce);
    transform-style: preserve-3d;
}

.btn-premium::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.6s ease;
}

.btn-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(6, 124, 145, 0.4);
}

.btn-premium:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 3px 15px rgba(6, 124, 145, 0.3);
    transition: all 0.1s ease;
}

.btn-premium:hover::before {
    left: 100%;
}

/* Button Sizes */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: var(--font-size-md);
}

/* Magnetic Button Effect */
.magnetic-button {
    transition: transform var(--timing-medium) var(--ease-bounce);
    transform: translateZ(0);
}

/* Micro Interaction Effects */
.micro-interaction {
    position: relative;
    overflow: hidden;
}

.micro-interaction::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: rgba(6, 124, 145, 0.5);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: -1;
    transition:
        transform 0.6s var(--ease-bounce),
        opacity 0.6s ease;
}

.micro-interaction:active::after {
    transform: translate(-50%, -50%) scale(40);
    opacity: 1;
    transition:
        transform 0.4s var(--ease-bounce),
        opacity 0.1s ease;
}

/* Special Button Styles for Service/Project Actions */
.service-action-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-urgent {
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
    color: white;
}

.btn-scheduled {
    background: var(--accent-gradient);
    color: white;
}

.btn-completed {
    background: var(--sage-gradient);
    color: white;
}

.service-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-action-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.service-action-btn:hover::before {
    left: 100%;
}

/* ============================================
   HERO SECTION & TYPING ANIMATION
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Remove the background image from here */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/uploads/2025/06/up-keep-hero.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(6, 124, 145, 0.6) 50%,
        rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 5rem 4rem;
    margin: 3rem auto;
    max-width: 1200px;
    width: 90%;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-visual {
    display: none;
}

/* Remove the problematic responsive CSS and replace with this: */
@media (max-width: 768px) {
    .hero-background {
        background-attachment: scroll; /* Better for mobile performance */
    }

    .hero-section {
        min-height: 100vh !important;
        padding: 2rem 0 !important;
    }

    .hero-content {
        padding: 4rem 2rem !important;
        margin: 2rem auto !important;
        max-width: 90% !important;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem) !important;
        line-height: 1.15 !important;
        margin-bottom: 1.75rem !important;
    }

    .hero-subtitle {
        font-size: clamp(1.1rem, 3.5vw, 1.4rem) !important;
        margin-bottom: 2.25rem !important;
        line-height: 1.5 !important;
    }
}

.about-hero {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(76, 166, 184, 0.15) 100%
        ),
        url("/wp-content/uploads/2025/06/clean-home-hero.jpg") no-repeat center
            center;
    background-size: cover;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-bottom: 8rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 100%
    );
    z-index: -1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Typing Animation Container */
.typed-text-container {
    display: block;
    width: 100%;
    position: relative;
    min-height: 120px;
    height: 120px;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: nowrap;
    flex-direction: row-reverse;
}

.typed-text {
    color: var(--navy-dark);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
    font-weight: 700;
    display: inline-block;
    position: relative;
    white-space: nowrap;
    overflow: visible;
    font-size: 3.5rem;
    line-height: 1.2;
    background: linear-gradient(90deg, var(--navy-dark) 0%, var(--bs-primary) 50%, var(--sage-green) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.typed-cursor {
    color: var(--bs-primary) !important;
    background: none !important;
    border: none !important;
    font-weight: 400 !important;
    height: 50px !important;
    font-size: inherit !important;
    line-height: inherit !important;
    margin-left: 2px !important;
    animation: blink 1s linear infinite !important;
}

@keyframes blink {
    0%,
    50% {
        opacity: 1;
    }
    51%,
    100% {
        opacity: 0;
    }
}

/* Service Cards in Hero (replacing market cards) */
.service-cards {
    position: relative;
    width: 100%;
    z-index: 3;
    pointer-events: auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(6, 124, 145, 0.3);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 15px;
    position: relative;
    min-width: 180px;
    max-width: 100%;
    box-shadow: 0 10px 30px rgba(6, 124, 145, 0.2);
    animation: float 8s ease-in-out infinite;
    z-index: 2;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
    overflow: hidden;
    color: var(--navy-dark);
}

.service-card:hover {
    transform: translateY(-8px) rotateX(8deg);
    box-shadow:
        0 15px 35px rgba(6, 124, 145, 0.3),
        0 0 20px rgba(6, 124, 145, 0.2);
    border-color: var(--bs-primary);
    background: rgba(255, 255, 255, 0.95);
}

/* Staggered card animations */
#residential-card {
    animation-delay: 0s;
}
#commercial-card {
    animation-delay: 0.5s;
}
#deep-clean-card {
    animation-delay: 1s;
}
#eco-friendly-card {
    animation-delay: 1.5s;
}
#window-card {
    animation-delay: 2s;
}
#carpet-card {
    animation-delay: 2.5s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(0.5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Staggered positioning for larger screens */
@media (min-width: 992px) {
    #residential-card {
        margin-top: 5px;
        margin-left: 8px;
    }
    #commercial-card {
        margin-top: 8px;
        margin-left: 3px;
    }
    #deep-clean-card {
        margin-top: 2px;
        margin-left: 10px;
    }
    #eco-friendly-card {
        margin-top: 6px;
        margin-left: 5px;
    }
    #window-card {
        margin-top: 3px;
        margin-left: 12px;
    }
    #carpet-card {
        margin-top: 7px;
        margin-left: 6px;
    }
}

/* Hero Icons */
.hero-icon {
    width: 20px;
    height: 20px;
    font-size: 1rem;
    line-height: 1;
    color: var(--bs-primary);
}

.hero-icon i {
    font-size: inherit;
    line-height: inherit;
}

/* Pulse animation for active services */
.pulse-circle {
    width: 16px;
    height: 16px;
    background-color: var(--sage-green);
    border-radius: 50%;
    animation: pulse-active 2s infinite;
    display: inline-block;
}

@keyframes pulse-active {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(135, 169, 107, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(135, 169, 107, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(135, 169, 107, 0);
    }
}

/* Service Card Content */
.service-card h4 {
    color: var(--navy-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.service-card .service-price {
    color: var(--bs-primary);
    font-weight: 700;
    font-size: 1rem;
}

.service-card .service-description {
    color: var(--navy-medium);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Responsive Typography */
@media (max-width: 1199.98px) {
    .typed-text {
        font-size: 2.8rem;
    }
    .typed-text-container {
        min-height: 100px;
        height: 100px;
    }
}

@media (max-width: 991.98px) {
    .typed-text {
        font-size: 2.2rem;
    }
    .typed-text-container {
        min-height: 80px;
        height: 80px;
        display: block;
        justify-content: center;
    }

    .service-cards {
        position: relative;
        margin-top: 2rem;
    }

    .hero-content {
        text-align: center;
        padding: 80px 20px 40px 20px;
    }

    .d-flex.flex-wrap {
        /* flex-direction: column; */
        /* align-items: center; */
    }

    #residential-card,
    #commercial-card,
    #deep-clean-card,
    #eco-friendly-card,
    #window-card,
    #carpet-card {
        margin: 0 !important;
        min-width: 150px;
        padding: 0.75rem;
        animation: float 8s ease-in-out infinite;
    }

    .service-cards {
        padding: 2rem 0.5rem 1rem 0.5rem;
        overflow: visible;
    }

    .service-card {
        min-width: 150px;
        max-width: 100%;
        font-size: 0.9rem;
    }

    .service-card h4 {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .typed-text {
        font-size: 1.8rem;
    }
    .typed-text-container {
        min-height: 70px;
        height: 70px;
        display: block;
    }

    .btn-premium,
    .btn-outline-light {
        width: 100%;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .typed-text {
        font-size: 1.5rem;
    }
    .typed-text-container {
        min-height: 60px;
        height: 60px;
        display: block;
    }
}

/* ============================================
   CARD SYSTEMS
   ============================================ */

/* Base Premium Card */
.premium-card {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 249, 250, 0.9) 100%
    );
    border: 1px solid rgba(6, 124, 145, 0.2);
    border-radius: 15px;
    overflow: hidden;
    padding: 1rem;
    perspective: 1000px;
    transition:
        transform 0.6s var(--ease-bounce),
        box-shadow 0.6s var(--ease-in-out),
        border-color 0.3s ease;
    box-shadow: 0 8px 25px rgba(6, 124, 145, 0.15);
    position: relative;
    color: var(--navy-dark);
}

.premium-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 15px 40px rgba(6, 124, 145, 0.25);
    border-color: rgba(6, 124, 145, 0.5);
}

.premium-card .card-header {

    border-bottom: 1px solid rgba(6, 124, 145, 0.2);
    transition: all 0.3s var(--ease-in-out);
    padding: 1.5rem;
}

.premium-card:hover .card-header {

    border-bottom-color: rgba(74, 155, 142, 0.4);
}

/* Feature Boxes */
.feature-box {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(74, 155, 142, 0.2);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.6s var(--ease-bounce);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 800px;
    color: var(--navy-dark);
}

.feature-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 15px 35px rgba(74, 155, 142, 0.2);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
}

.feature-box:hover {
    transform: translateY(-10px) scale(1.03) rotateX(3deg);
    box-shadow: 0 20px 40px rgba(74, 155, 142, 0.25);
    border-color: rgba(74, 155, 142, 0.5);
    background: rgba(255, 255, 255, 0.95);
}

.feature-box:hover::after {
    opacity: 1;
}

/* Feature Icon System */
.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: white;
    transition: all 0.5s var(--ease-bounce);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(74, 155, 142, 0.3);
}

.feature-box:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 8px 25px rgba(74, 155, 142, 0.5);
}

.feature-icon-wrapper::after {
    content: "";
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    top: -150%;
    left: -150%;
    transition: all 0.5s var(--ease-in-out);
}

.feature-box:hover .feature-icon-wrapper::after {
    top: 150%;
    left: 150%;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(74, 155, 142, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--bs-primary);
    flex-shrink: 0;
    transition: all var(--timing-medium) var(--ease-bounce);
    border: 1px solid rgba(74, 155, 142, 0.2);
    margin-right: 1rem;
}

.premium-feature-list li:hover .feature-icon {
    transform: scale(1.1) rotate(8deg);
    background-color: rgba(74, 155, 142, 0.2);
    box-shadow: 0 0 15px rgba(74, 155, 142, 0.3);
    border-color: var(--bs-primary);
    color: var(--accent-teal-dark);
}

/* Glass Panel Effects */
.glass-panel {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(74, 155, 142, 0.2);
    box-shadow: 0 10px 30px rgba(74, 155, 142, 0.15);
    transition: all var(--timing-medium) cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--navy-dark);
}

.glass-panel:hover {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-color: rgba(74, 155, 142, 0.4);
    box-shadow:
        0 15px 35px rgba(74, 155, 142, 0.2),
        0 0 15px rgba(74, 155, 142, 0.1);
    transform: translateY(-5px);
}

/* Testimonial Cards */
.testimonial-card {
    position: relative;
    perspective: 1000px;
}

.testimonial-card-inner {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(248, 249, 250, 0.8) 100%
    );
    border: 1px solid rgba(74, 155, 142, 0.2);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-bounce);
    transform-style: preserve-3d;
    box-shadow: 0 8px 25px rgba(74, 155, 142, 0.15);
    padding: 2rem;
    color: var(--navy-dark);
}

.testimonial-card-inner:hover {
    transform: translateY(-10px) rotateY(5deg);
    border-color: rgba(74, 155, 142, 0.5);
    box-shadow: 0 20px 40px rgba(74, 155, 142, 0.25);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 249, 250, 0.9) 100%
    );
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 2.5rem;
    color: var(--bs-primary);
    opacity: 0.3;
    transition: all 0.5s var(--ease-bounce);
    transform: translateZ(20px);
}

.testimonial-card-inner:hover .quote-icon {
    transform: scale(1.2) rotate(-10deg) translateZ(30px);
    opacity: 0.5;
    color: var(--accent-cyan-light);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bs-primary);
    transition: all var(--timing-medium) var(--ease-bounce);
    box-shadow: 0 3px 10px rgba(6, 124, 145, 0.2);
}

.testimonial-card-inner:hover .testimonial-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(6, 124, 145, 0.4);
    border-color: var(--accent-cyan-light);
}

.rating i {
    font-size: 0.875rem;
    transition: all var(--timing-medium) var(--ease-bounce);
    opacity: 0.9;
    color: var(--sage-green);
}

.testimonial-card-inner:hover .rating i {
    transform: scale(1.2);
    color: var(--sage-dark);
    opacity: 1;
    text-shadow: 0 0 10px rgba(135, 169, 107, 0.3);
}

/* Team Cards */
.team-card {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(248, 249, 250, 0.8) 100%
    );
    border: 1px solid rgba(6, 124, 145, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.6s var(--ease-bounce);
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 8px 25px rgba(6, 124, 145, 0.15);
    color: var(--navy-dark);
}

.team-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(6, 124, 145, 0.25);
    border-color: rgba(6, 124, 145, 0.5);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(6, 124, 145, 0.8) 0%,
        transparent 60%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.5rem;
    opacity: 0;
    transition: all 0.5s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s var(--ease-bounce) 0.2s;
}

.team-card:hover .team-social {
    transform: translateY(0);
    opacity: 1;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 0.5rem;
    transition: all var(--timing-medium) var(--ease-bounce);
    transform: translateZ(0);
}

.social-icon:hover {
    background-color: var(--accent-cyan-light);
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 8px 20px rgba(6, 124, 145, 0.4);
}

.team-info {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(248, 249, 250, 0.8) 100%
    );
    backdrop-filter: blur(5px);
    transition: all var(--timing-medium) ease;
}

.team-card:hover .team-info {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 249, 250, 0.9) 100%
    );
}

/* Avatar System */
.avatar-wrapper {
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--timing-medium) var(--ease-bounce);
    border: 2px solid rgba(6, 124, 145, 0.5);
    background: var(--accent-gradient);
}

.featured-service-card:hover .avatar-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(6, 124, 145, 0.4);
    border-color: rgba(6, 124, 145, 0.8);
}

.avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.small-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    transition: all var(--timing-medium) var(--ease-bounce);
    background: var(--accent-gradient);
    border: 1px solid rgba(6, 124, 145, 0.5);
}

.service-schedule-table tr:hover .small-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 15px rgba(6, 124, 145, 0.4);
}

/* Philosophy Cards */
.philosophy-card {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(248, 249, 250, 0.8) 100%
    );
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.5s var(--ease-bounce);
    box-shadow: 0 8px 25px rgba(6, 124, 145, 0.15);
    color: var(--navy-dark);
}

.philosophy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(6, 124, 145, 0.25);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 249, 250, 0.9) 100%
    );
}

.philosophy-icon {
    font-size: 3rem;
    color: var(--bs-primary);
    line-height: 1;
    transition: all 0.5s var(--ease-bounce);
}

.philosophy-card:hover .philosophy-icon {
    transform: scale(1.2) rotate(-10deg);
    color: var(--accent-cyan-light);
    text-shadow: 0 0 20px rgba(6, 124, 145, 0.3);
}

/* ============================================
   FORMS & INPUT ELEMENTS
   ============================================ */

/* Form Controls */
.form-control {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(6, 124, 145, 0.3);
    color: var(--navy-dark);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: var(--font-size-base);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: var(--bs-primary);
    box-shadow: 0 0 15px rgba(6, 124, 145, 0.2);
    color: var(--navy-dark);
}

.form-control::placeholder {
    color: rgba(170, 167, 160, 0.7);
}

/* Dark Background Form Controls */
.form-control.bg-dark {
    background-color: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(6, 124, 145, 0.3);
    color: var(--navy-dark);
}

.form-control.bg-dark:focus {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(6, 124, 145, 0.25);
}

.form-control.bg-dark::placeholder {
    color: rgba(170, 167, 160, 0.7);
}

/* Input Groups */
.input-group .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(6, 124, 145, 0.25);
}

.input-group .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(74, 155, 142, 0.25);
}

/* Newsletter Form */
.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(74, 155, 142, 0.3);
    color: var(--navy-dark);
    padding: 0.75rem 1rem;
    border-radius: 8px 0 0 8px;
    transition: all 0.3s ease;
}

.newsletter-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: var(--bs-primary);
    box-shadow: 0 0 15px rgba(74, 155, 142, 0.2);
}

/* Search Forms */
#newsletter-search-form {
    position: relative;
}

#search-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(74, 155, 142, 0.3);
    border-radius: 0 0 12px 12px;
    backdrop-filter: blur(15px);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(74, 155, 142, 0.2);
}

.suggestion-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(74, 155, 142, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--navy-dark);
}

.suggestion-item:hover {
    background: rgba(74, 155, 142, 0.1);
    border-left: 3px solid var(--bs-primary);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-title {
    color: var(--navy-dark);
    font-weight: 500;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.suggestion-date {
    color: var(--navy-medium);
    font-size: 0.8rem;
}

/* Search Results */
.search-results-count {
    background: rgba(74, 155, 142, 0.1);
    border: 1px solid rgba(74, 155, 142, 0.3);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    color: var(--navy-dark);
}

.search-results-count .btn-link {
    text-decoration: none;
    padding: 0;
    font-size: 0.875rem;
    color: var(--bs-primary);
}

.search-results-count .btn-link:hover {
    text-decoration: underline;
    color: var(--accent-teal-dark);
}

/* Form Validation States */
.form-control.is-valid {
    border-color: var(--sage-green);
}

.form-control.is-invalid {
    border-color: var(--bs-danger);
}

.form-control.is-valid:focus {
    border-color: var(--sage-green);
    box-shadow: 0 0 0 0.2rem rgba(135, 169, 107, 0.25);
}

.form-control.is-invalid:focus {
    border-color: var(--bs-danger);
    box-shadow: 0 0 0 0.2rem rgba(244, 67, 54, 0.25);
}

/* Custom Select Styling */
.form-select {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(74, 155, 142, 0.3);
    color: var(--navy-dark);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%234A9B8E' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
}

.form-select:focus {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: var(--bs-primary);
    box-shadow: 0 0 15px rgba(74, 155, 142, 0.2);
}

/* Form Labels */
.form-label {
    color: var(--navy-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Form Check (Checkboxes & Radio) */
.form-check-input {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(74, 155, 142, 0.3);
}

.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.form-check-input:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(74, 155, 142, 0.25);
}

.form-check-label {
    color: var(--navy-dark);
}

/* Form Text */
.form-text {
    color: var(--navy-medium);
    font-size: var(--font-size-sm);
}

/* ============================================
   NEWSLETTER & CONTENT SECTIONS
   ============================================ */

/* Newsletter Preview Cards */
.newsletter-preview {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 249, 250, 0.9) 100%
    );
    border: 1px solid rgba(74, 155, 142, 0.2);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.6s var(--ease-bounce);
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 8px 25px rgba(74, 155, 142, 0.15);
    color: var(--navy-dark);
}

.newsletter-preview:hover {
    transform: translateY(-10px) rotateY(-5deg);
    box-shadow: 0 20px 40px rgba(74, 155, 142, 0.25);
    border-color: rgba(74, 155, 142, 0.5);
}

.newsletter-preview::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(74, 155, 142, 0.1),
        transparent
    );
    transition: left 0.6s ease;
    z-index: 1;
}

.newsletter-preview:hover::before {
    left: 100%;
}

/* Newsletter Header */
.newsletter-header {
    background: linear-gradient(
        145deg,
        rgba(74, 155, 142, 0.1) 0%,
        rgba(125, 211, 192, 0.05) 100%
    );
    border-bottom: 1px solid rgba(74, 155, 142, 0.2);
    transition: all var(--timing-medium) var(--ease-in-out);
    padding: 1.25rem;
    position: relative;
    color: var(--navy-dark);
}

.newsletter-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(6, 124, 145, 0.5),
        transparent
    );
    transition: all var(--timing-medium) var(--ease-in-out);
}

.newsletter-preview:hover .newsletter-header {
    background: linear-gradient(
        145deg,
        rgba(6, 124, 145, 0.15) 0%,
        rgba(76, 166, 184, 0.1) 100%
    );
    border-bottom-color: rgba(6, 124, 145, 0.4);
}

/* Newsletter Meta */
.newsletter-meta {
    position: relative;
    z-index: 2;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    font-size: 0.875rem;
}

.newsletter-meta .d-flex {
    background: rgba(6, 124, 145, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(6, 124, 145, 0.2);
    transition: all 0.3s ease;
}

.newsletter-meta .d-flex:hover {
    background: rgba(6, 124, 145, 0.15);
    border-color: rgba(6, 124, 145, 0.3);
    transform: translateY(-1px);
}

.newsletter-preview:hover .newsletter-meta {
    opacity: 1;
}

.newsletter-meta .text-light,
.newsletter-meta span {
    color: var(--navy-dark) !important;
}

/* Newsletter Title */
.newsletter-title {
    position: relative;
    z-index: 2;
}

.newsletter-title a {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--bs-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.newsletter-title a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--bs-primary), var(--accent-cyan-light));
    transition: width 0.3s ease;
}

.newsletter-title a:hover::after {
    width: 100%;
}

/* Newsletter Icon */
.newsletter-icon {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    transition: all 0.5s var(--ease-bounce);
    color: var(--bs-primary);
}

.newsletter-icon i {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--accent-cyan-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(6, 124, 145, 0.3));
    animation: iconGlow 3s ease-in-out infinite alternate;
}

@keyframes iconGlow {
    0% {
        filter: drop-shadow(0 0 10px rgba(6, 124, 145, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(6, 124, 145, 0.6));
    }
}

.newsletter-preview:hover .newsletter-icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--accent-cyan-light);
    text-shadow: 0 0 15px rgba(6, 124, 145, 0.4);
}

/* Newsletter Content */
.newsletter-content {
    position: relative;
    z-index: 2;
}

.newsletter-excerpt {
    color: var(--navy-dark) !important;
    line-height: 1.6;
    background: linear-gradient(
        135deg,
        rgba(6, 124, 145, 0.05) 0%,
        rgba(76, 166, 184, 0.02) 100%
    );
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(6, 124, 145, 0.1);
    margin: 1.5rem 0;
    transition: all var(--timing-medium) var(--ease-in-out);
    position: relative;
    overflow: hidden;
}

.newsletter-excerpt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--bs-primary), var(--accent-cyan-light));
    border-radius: 0 2px 2px 0;
}

/* Key Insights */
.key-insights {
    border-radius: 8px;
    transition: all var(--timing-medium) var(--ease-in-out);
    background-color: rgba(6, 124, 145, 0.1);
    border-left: 3px solid var(--bs-primary);
    padding: 1rem;
    margin: 1.5rem 0;
    color: var(--navy-dark) !important;
}

.newsletter-preview:hover .key-insights {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(6, 124, 145, 0.2);
    background-color: rgba(6, 124, 145, 0.15);
}

.key-insights .text-light {
    color: var(--navy-dark) !important;
}

/* Newsletter Tags */
.newsletter-tags .badge {
    background: linear-gradient(
        135deg,
        rgba(6, 124, 145, 0.2) 0%,
        rgba(76, 166, 184, 0.1) 100%
    );
    border: 1px solid rgba(6, 124, 145, 0.3);
    color: var(--bs-primary);
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.newsletter-tags .badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.newsletter-tags .badge:hover::before {
    left: 100%;
}

.newsletter-tags .badge:hover {
    background: linear-gradient(
        135deg,
        rgba(6, 124, 145, 0.3) 0%,
        rgba(76, 166, 184, 0.2) 100%
    );
    border-color: rgba(6, 124, 145, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 124, 145, 0.2);
}

/* Newsletter Actions */
.newsletter-actions-bar {
    background: linear-gradient(
        135deg,
        rgba(6, 124, 145, 0.05) 0%,
        rgba(76, 166, 184, 0.02) 100%
    );
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(6, 124, 145, 0.1);
    margin-top: 1rem;
}

/* Share Links */
.share-links {
    gap: 0.5rem !important;
}

.share-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(74, 155, 142, 0.1) 0%,
        rgba(125, 211, 192, 0.05) 100%
    );
    border: 1px solid rgba(74, 155, 142, 0.2);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.share-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(6, 124, 145, 0.2) 0%,
        rgba(76, 166, 184, 0.1) 100%
    );
    transition: left var(--timing-medium) var(--ease-in-out);
    z-index: -1;
}

.share-link:hover::before {
    opacity: 1;
}

.share-link:hover {
    transform: translateY(-3px) scale(1.1);
    border-color: rgba(6, 124, 145, 0.5);
    color: var(--bs-primary);
    box-shadow: 0 8px 25px rgba(6, 124, 145, 0.2);
}

.share-link.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.share-link.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    color: white;
}

.share-link.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: white;
}

.share-link.email:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

.share-link i {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.share-link:hover i {
    transform: scale(1.1);
}

/* Premium Content Overlay */
.locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s var(--ease-bounce);
    transform: translateZ(50px);
    backdrop-filter: blur(5px);
    color: var(--navy-dark);
}

.newsletter-preview:hover .locked-overlay {
    opacity: 1;
}

/* Premium Badge */
.premium-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background-color: rgba(6, 124, 145, 0.1);
    border: 1px solid rgba(6, 124, 145, 0.3);
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--bs-primary);
    transition: all var(--timing-medium) var(--ease-bounce);
}

.premium-badge:hover {
    background-color: rgba(6, 124, 145, 0.2);
    border-color: rgba(6, 124, 145, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 124, 145, 0.2);
}

/* Premium Feature List */
.premium-feature-list {
    list-style: none;
    padding: 0;
}

.premium-feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    transition: all var(--timing-medium) var(--ease-in-out);
    padding: 0.5rem 0.5rem 0.5rem 0;
    border-radius: 8px;
    transform: translateZ(0);
    color: var(--navy-dark);
}

.premium-feature-list li:hover {
    transform: translateX(5px);
    background-color: rgba(6, 124, 145, 0.05);
}

/* Newsletter Tabs */
.newsletter-tabs {
    display: flex;
    gap: 0.5rem;
}

.newsletter-tabs .tab-link {
    padding: 0.5rem 1rem;
    background: rgba(74, 155, 142, 0.1);
    border: 1px solid rgba(74, 155, 142, 0.2);
    color: var(--navy-dark);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.newsletter-tabs .tab-link:hover,
.newsletter-tabs .tab-link.active {
    background: var(--accent-gradient);
    color: white;
    border-color: var(--bs-primary);
    text-decoration: none;
}

.newsletter-tabs .tab-link i {
    opacity: 0.8;
}

/* Content Wrapper Loading States */
.newsletter-content-wrapper {
    transition: opacity 0.3s ease;
}

.newsletter-preview.loading {
    opacity: 0.6;
    pointer-events: none;
}

.newsletter-preview.loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(74, 155, 142, 0.1),
        transparent
    );
    animation: shimmer 1.5s infinite;
    z-index: 10;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Newsletter Social Sharing - Hidden */
.newsletter-social-sharing {
    display: none !important;
}

/* Text Color Overrides for Light Theme */
.newsletter-preview .text-light,
.newsletter-preview .text-muted,
.newsletter-preview .newsletter-excerpt,
.newsletter-preview .key-insights,
.newsletter-preview .key-insights .text-light {
    color: var(--navy-dark) !important;
}

/* Service-specific Newsletter Styling */
.cleaning-tips-newsletter {
    border-left: 4px solid var(--sage-green);
}

.eco-friendly-newsletter {
    border-left: 4px solid var(--accent-cyan-light);
}

.commercial-newsletter {
    border-left: 4px solid var(--bs-primary);
}

.residential-newsletter {
    border-left: 4px solid var(--sage-light);
}

/* Newsletter Category Icons */
.newsletter-category-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

.category-cleaning {
    background: var(--sage-gradient);
    color: white;
}

.category-eco {
    background: var(--cyan-gradient);
    color: white;
}

.category-commercial {
    background: var(--accent-gradient);
    color: white;
}

.category-tips {
    background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage-dark) 100%);
    color: white;
}

/* ============================================
   CHARTS & DATA VISUALIZATION
   ============================================ */

/* Chart Containers */
.chart-container {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(74, 155, 142, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all var(--timing-medium) var(--ease-in-out);
    box-shadow: 0 8px 25px rgba(74, 155, 142, 0.15);
    transform: translateZ(0);
    height: 400px;
    max-height: 400px;
}

.chart-container:hover {
    box-shadow: 0 15px 35px rgba(74, 155, 142, 0.25);
    border-color: rgba(74, 155, 142, 0.4);
    transform: translateY(-5px);
}

.chart-header {
    border-bottom: 1px solid rgba(74, 155, 142, 0.2);
    background: linear-gradient(
        145deg,
        rgba(74, 155, 142, 0.1) 0%,
        rgba(125, 211, 192, 0.05) 100%
    );
    transition: all 0.3s ease;
    padding: 1rem;
    height: 60px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--navy-dark);
}

.chart-container:hover .chart-header {
    background: linear-gradient(
        145deg,
        rgba(74, 155, 142, 0.15) 0%,
        rgba(125, 211, 192, 0.1) 100%
    );
    border-bottom-color: rgba(74, 155, 142, 0.4);
}

.chart-wrapper {
    position: relative;
    height: 340px;
    max-height: 340px;
    width: 100%;
    padding: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
}

.chart-wrapper canvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

.chart-container canvas {
    max-height: 300px !important;
    height: 300px !important;
}

/* Stats System */
.stats-strip {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(74, 155, 142, 0.2);
    transition: all var(--timing-medium) var(--ease-in-out);
    transform: translateZ(0);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(74, 155, 142, 0.1);
}

.stats-strip:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(74, 155, 142, 0.3);
    box-shadow: 0 10px 25px rgba(74, 155, 142, 0.2);
    transform: translateY(-5px);
}

.stats-item {
    position: relative;
    color: var(--navy-dark);
}

.stats-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--bs-primary) 50%,
        transparent 100%
    );
}

.stats-grid {
    display: grid;
    gap: 1rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(74, 155, 142, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    color: var(--navy-dark);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 155, 142, 0.2);
    border-color: rgba(74, 155, 142, 0.4);
}

.stat-number {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    color: var(--navy-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Animated Number Counter */
.animate-number {
    display: inline-block;
    transition: all var(--timing-medium) var(--ease-bounce);
}

.animate-number.visible {
    animation: countUp 2s var(--ease-bounce) forwards;
}

@keyframes countUp {
    from {
        transform: translateY(20px);
        opacity: 0;
        filter: blur(5px);
    }
    to {
        transform: translateY(0);
        opacity: 1;
        filter: blur(0);
    }
}

/* Performance Metrics Cards */
.performance-card {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 249, 250, 0.9) 100%
    );
    border: 1px solid rgba(6, 124, 145, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    color: var(--navy-dark);
}

.performance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(6, 124, 145, 0.2);
    border-color: rgba(6, 124, 145, 0.4);
}

.performance-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.performance-card:hover .performance-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(6, 124, 145, 0.3);
}

.performance-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
}

.performance-label {
    color: var(--navy-medium);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.performance-trend {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
}

.trend-up {
    background: rgba(135, 169, 107, 0.2);
    color: var(--sage-dark);
}

.trend-down {
    background: rgba(244, 67, 54, 0.2);
    color: #d32f2f;
}

.trend-stable {
    background: rgba(6, 124, 145, 0.2);
    color: var(--bs-primary);
}

/* Service Metrics Dashboard */
.service-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.metric-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(6, 124, 145, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.metric-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.metric-card:hover::before {
    transform: scaleX(1);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(6, 124, 145, 0.2);
}

.metric-title {
    color: var(--navy-dark);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-subtitle {
    color: var(--navy-medium);
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Progress Bars */
.progress-container {
    background: rgba(6, 124, 145, 0.1);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-bar {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 10px;
    transition: width 1s ease;
    position: relative;
}

.progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Video Container Styling */
.video-container {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(6, 124, 145, 0.2);
    border-radius: 15px;
    overflow: hidden;
    padding: 1rem;
}

.video-container iframe {
    box-shadow: 0 10px 30px rgba(6, 124, 145, 0.2);
    border-radius: 12px;
}

/* Recording Thumbnail */
.recording-thumbnail {
    position: relative;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.5);
}

.recording-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.modern-service-card:hover .recording-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 124, 145, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-service-card:hover .play-overlay {
    opacity: 1;
}

.play-icon {
    font-size: 3rem;
    color: white;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

/* Progress Indicators */
.progress-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(6, 124, 145, 0.1);
    z-index: 9999;
}

.progress-bar-indicator {
    height: 100%;
    background: var(--accent-gradient);
    width: 0%;
    transition: width 0.3s ease;
}

/* Title Separator with Animation */
.title-separator {
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    margin: 1rem auto;
}

.title-separator::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    animation: shine 2s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Service Rating Display */
.service-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.rating-star {
    color: var(--sage-green);
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.rating-star.filled {
    color: var(--sage-dark);
    text-shadow: 0 0 5px rgba(135, 169, 107, 0.3);
}

.rating-value {
    font-weight: 700;
    color: var(--navy-dark);
    margin-left: 0.5rem;
}

.rating-count {
    color: var(--navy-medium);
    font-size: 0.9rem;
}

/* Chart Legend Styling */
.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(6, 124, 145, 0.05);
    border-radius: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--navy-dark);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Efficiency Metrics */
.efficiency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.efficiency-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(6, 124, 145, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.efficiency-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(6, 124, 145, 0.2);
}

.efficiency-icon {
    font-size: 2.5rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.efficiency-item:hover .efficiency-icon {
    transform: scale(1.1);
    color: var(--accent-cyan-light);
}

.efficiency-percentage {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sage-green);
    margin-bottom: 0.5rem;
}

.efficiency-label {
    color: var(--navy-medium);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ============================================
   ANIMATION & EFFECT SYSTEMS
   ============================================ */

/* Base Animation Classes */
.reveal-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-bounce);
}

.reveal-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Children Animation */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease-bounce);
}

.stagger-children.visible > *:nth-child(1) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.visible > *:nth-child(2) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.visible > *:nth-child(3) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.visible > *:nth-child(4) {
    transition-delay: 0.4s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.visible > *:nth-child(5) {
    transition-delay: 0.5s;
    opacity: 1;
    transform: translateY(0);
}

/* Particle System */
.particle {
    position: absolute;
    background-color: rgba(6, 124, 145, 0.3);
    border-radius: 50%;
    animation: float 5s infinite ease-in-out;
    filter: blur(1px);
}

.particle.sage {
    background-color: rgba(135, 169, 107, 0.3);
}

.particle.cyan {
    background-color: rgba(76, 166, 184, 0.3);
}

/* Countdown Animations */
.countdown {
    width: 100%;
    perspective: 1000px;
}

.countdown-item {
    flex: 1;
    transform-style: preserve-3d;
}

.countdown-value {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(248, 249, 250, 0.8) 100%
    );
    color: var(--bs-primary);
    font-size: 1.75rem;
    font-weight: 700;
    padding: 0.75rem 0;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    transition: all var(--timing-medium) var(--ease-bounce);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(6, 124, 145, 0.15);
    border: 1px solid rgba(6, 124, 145, 0.2);
}

.countdown-value::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 200%;
    top: -50%;
    left: -100px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(6, 124, 145, 0.3),
        transparent
    );
    transform: rotate(30deg);
    animation: countdown-shine 3s infinite;
}

@keyframes countdown-shine {
    0% {
        left: -100px;
    }
    20% {
        left: 120%;
    }
    100% {
        left: 120%;
    }
}

.countdown-value:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(6, 124, 145, 0.25);
    color: var(--accent-cyan-light);
}

.countdown-label {
    color: var(--navy-medium);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.countdown-item:hover .countdown-label {
    color: var(--navy-dark);
}

/* Enhanced Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Cleaning Service Specific Animations */
@keyframes sparkle {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

.sparkle-effect {
    position: relative;
    overflow: hidden;
}

.sparkle-effect::before {
    content: "✨";
    position: absolute;
    top: 10%;
    left: 10%;
    animation: sparkle 2s infinite;
    animation-delay: 0.5s;
}

.sparkle-effect::after {
    content: "⭐";
    position: absolute;
    top: 70%;
    right: 20%;
    animation: sparkle 2s infinite;
    animation-delay: 1s;
}

/* Bubble Animation for Cleaning Theme */
@keyframes bubble-float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(
        145deg,
        rgba(76, 166, 184, 0.3) 0%,
        rgba(6, 124, 145, 0.1) 100%
    );
    border: 1px solid rgba(76, 166, 184, 0.2);
    animation: bubble-float 6s infinite linear;
    pointer-events: none;
}

/* Animation Utility Classes */
.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -15px, 0);
    }
    70% {
        transform: translate3d(0, -8px, 0);
    }
    90% {
        transform: translate3d(0, -3px, 0);
    }
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(6, 124, 145, 0.4);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Hover Effect Animations */
.hover-lift {
    transition: transform var(--timing-medium) var(--ease-bounce);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-scale {
    transition: transform var(--timing-medium) var(--ease-bounce);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-rotate {
    transition: transform var(--timing-medium) var(--ease-bounce);
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

/* Glow Effects for Clean Theme */
.glow-clean {
    position: relative;
}

.glow-clean::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        var(--accent-cyan-light),
        var(--bs-primary),
        var(--sage-green),
        var(--accent-cyan-light)
    );
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    filter: blur(6px);
}

.glow-clean:hover::before {
    opacity: 0.7;
}

/* Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 249, 250, 0.9) 100%
    );
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease-out;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(74, 155, 142, 0.2);
    border-radius: 50%;
    border-top-color: var(--bs-primary);
    animation: spin 1s linear infinite;
    position: relative;
}

.loading-spinner::before,
.loading-spinner::after {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
}

.loading-spinner::before {
    border-top-color: var(--accent-cyan-light);
    opacity: 0.7;
    animation: spin 2s linear infinite;
}

.loading-spinner::after {
    border-top-color: var(--sage-green);
    opacity: 0.5;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Cleaning Progress Animation */
.cleaning-progress {
    position: relative;
    width: 100%;
    height: 8px;
    background: rgba(74, 155, 142, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.cleaning-progress-bar {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 10px;
    transition: width 1s ease;
    position: relative;
}

.cleaning-progress-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    animation: cleaning-shine 2s infinite;
}

@keyframes cleaning-shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Service Status Animations */
.status-indicator {
    position: relative;
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-active {
    background: var(--sage-green);
    animation: pulse-active 2s infinite;
}

.status-pending {
    background: var(--bs-primary);
    animation: pulse-pending 2s infinite;
}

.status-completed {
    background: var(--accent-cyan-light);
    animation: pulse-completed 2s infinite;
}

@keyframes pulse-active {
    0% {
        box-shadow: 0 0 0 0 rgba(135, 169, 107, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(135, 169, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(135, 169, 107, 0);
    }
}

@keyframes pulse-pending {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 155, 142, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(74, 155, 142, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 155, 142, 0);
    }
}

@keyframes pulse-completed {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 166, 184, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 166, 184, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 166, 184, 0);
    }
}

/* Micro Interactions */
.micro-bounce {
    transition: transform 0.2s ease;
}

.micro-bounce:active {
    transform: scale(0.95);
}

.micro-wiggle {
    animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {
    0%, 7% {
        transform: rotateZ(0);
    }
    15% {
        transform: rotateZ(-15deg);
    }
    20% {
        transform: rotateZ(10deg);
    }
    25% {
        transform: rotateZ(-10deg);
    }
    30% {
        transform: rotateZ(6deg);
    }
    35% {
        transform: rotateZ(-4deg);
    }
    40%, 100% {
        transform: rotateZ(0);
    }
}

/* Success Animation */
.success-checkmark {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--sage-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    animation: success-pop 0.5s ease-out;
}

@keyframes success-pop {
    0% {
        transform: scale(0);
    }
    80% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .particle,
    .bubble,
    .sparkle-effect::before,
    .sparkle-effect::after {
        display: none;
    }
}

/* Focus Animations */
.focus-ring {
    transition: box-shadow 0.2s ease;
}

.focus-ring:focus {
    box-shadow:
        0 0 0 3px rgba(6, 124, 145, 0.3),
        0 0 0 6px rgba(76, 166, 184, 0.1);
}

/* Loading Dots Animation */
.loading-dots {
    display: inline-flex;
    gap: 0.25rem;
}

.loading-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bs-primary);
    animation: loading-dots-animation 1.4s infinite ease-in-out;
}

.loading-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes loading-dots-animation {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal.revealed:nth-child(odd) {
    animation: slideInLeft 0.8s ease-out;
}

.scroll-reveal.revealed:nth-child(even) {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============================================
   MEMBERSHIP CARDS & PRICING TABLES
   ============================================ */

/* Membership Cards */
.membership-card {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 249, 250, 0.9) 100%
    );
    border: 1px solid rgba(74, 155, 142, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.6s var(--ease-bounce);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 8px 25px rgba(74, 155, 142, 0.15);
    color: var(--navy-dark);
}

.membership-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(74, 155, 142, 0.25);
    border-color: rgba(74, 155, 142, 0.5);
    z-index: 5;
}

.membership-card.popular {
    border: 2px solid var(--bs-primary);
    box-shadow: 0 10px 30px rgba(74, 155, 142, 0.2);
    z-index: 1;
}

.membership-card.popular:hover {
    box-shadow: 0 25px 50px rgba(74, 155, 142, 0.3);
    transform: translateY(-20px) rotateX(8deg);
}

.membership-card .card-header {
    background: linear-gradient(
        145deg,
        rgba(74, 155, 142, 0.1) 0%,
        rgba(125, 211, 192, 0.05) 100%
    );
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(74, 155, 142, 0.2);
    transition: all var(--timing-medium) var(--ease-in-out);
    color: var(--navy-dark);
}

.membership-card:hover .card-header {
    background: linear-gradient(
        145deg,
        rgba(74, 155, 142, 0.15) 0%,
        rgba(125, 211, 192, 0.1) 100%
    );
    border-bottom-color: rgba(74, 155, 142, 0.4);
}

/* Plan Icons */
.plan-icon {
    font-size: 2.5rem;
    color: var(--bs-primary);
    transition: all 0.5s var(--ease-bounce);
}

.membership-card:hover .plan-icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--accent-cyan-light);
    text-shadow: 0 0 15px rgba(6, 124, 145, 0.4);
}

/* Service Plan Icons */
.plan-icon.residential {
    color: var(--sage-green);
}

.plan-icon.commercial {
    color: var(--bs-primary);
}

.plan-icon.premium {
    color: var(--accent-cyan-light);
}

.plan-icon.eco-friendly {
    color: var(--sage-light);
}

/* Pricing Display */
.price {
    margin-top: 1rem;
    position: relative;
    display: inline-block;
    transition: all var(--timing-medium) var(--ease-bounce);
}

.membership-card:hover .price {
    transform: scale(1.05);
}

.currency {
    position: absolute;
    top: 0;
    left: -10px;
    font-size: 1.25rem;
    color: var(--navy-medium);
    transition: all 0.3s ease;
}

.membership-card:hover .currency {
    color: var(--navy-dark);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bs-primary);
    line-height: 1;
    transition: all var(--timing-medium) var(--ease-bounce);
}

.membership-card:hover .amount {
    color: var(--accent-cyan-light);
    text-shadow: 0 0 15px rgba(6, 124, 145, 0.3);
}

.period {
    font-size: 0.875rem;
    color: var(--navy-medium);
    margin-left: 0.25rem;
    transition: all 0.3s ease;
}

.membership-card:hover .period {
    color: var(--navy-dark);
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: 1rem;
    right: -4rem;
    background: var(--bs-primary);
    color: white;
    padding: 0.5rem 4rem;
    font-size: 0.875rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 3;
    box-shadow: 0 2px 10px rgba(6, 124, 145, 0.3);
    transition: all var(--timing-medium) var(--ease-in-out);
}

.membership-card:hover .popular-badge {
    background: var(--accent-cyan-light);
    box-shadow: 0 0 20px rgba(6, 124, 145, 0.4);
    transform: rotate(45deg) scale(1.05);
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(6, 124, 145, 0.1);
    display: flex;
    align-items: center;
    transition: all 0.3s var(--ease-in-out);
    color: var(--navy-dark);
}

/* Override ONLY for dark backgrounds - NOT white cards */
.section.bg-gradient-dark .feature-list li,
.section.bg-navy-gradient .feature-list li {
    color: #ffffff !important;
}

.feature-list li:last-child {
    border-bottom: none;
}

.membership-card:hover .feature-list li {
    border-bottom-color: rgba(6, 124, 145, 0.2);
}

.feature-list li:hover {
    transform: translateX(5px);
    background-color: rgba(6, 124, 145, 0.05);
    padding-left: 0.5rem;
    border-radius: 8px;
}

.feature-list .feature-icon {
    color: var(--sage-green);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.feature-list li:hover .feature-icon {
    color: var(--sage-dark);
    transform: scale(1.1);
}

/* Service Package Cards */
.service-package-card {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 249, 250, 0.9) 100%
    );
    border: 1px solid rgba(6, 124, 145, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.6s var(--ease-bounce);
    position: relative;
    color: var(--navy-dark);
}

.service-package-card.featured {
    border: 2px solid var(--sage-green);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(181, 201, 154, 0.05) 100%
    );
}

.service-package-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(6, 124, 145, 0.25);
}

/* Enterprise Card Variant */
.enterprise-card {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(248, 249, 250, 0.95) 100%
    );
    border: 2px solid var(--accent-cyan-light);
}

.enterprise-icon {
    font-size: 3rem;
    color: var(--bs-primary);
    transition: all 0.5s var(--ease-bounce);
}

.enterprise-card:hover .enterprise-icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--accent-cyan-light);
    text-shadow: 0 0 20px rgba(6, 124, 145, 0.4);
}

/* Premium Table System */
.premium-table-wrapper {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 249, 250, 0.9) 100%
    );
    border: 1px solid rgba(6, 124, 145, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all var(--timing-medium) var(--ease-in-out);
    box-shadow: 0 8px 25px rgba(6, 124, 145, 0.15);
    transform: translateZ(0);
}

.premium-table-wrapper:hover {
    box-shadow: 0 15px 35px rgba(6, 124, 145, 0.25);
    border-color: rgba(6, 124, 145, 0.4);
    transform: translateY(-5px);
}

.service-schedule-table {
    margin-bottom: 0;
    color: var(--navy-dark);
}

.service-schedule-table th {
    background: linear-gradient(
        145deg,
        rgba(6, 124, 145, 0.1) 0%,
        rgba(76, 166, 184, 0.05) 100%
    );
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(6, 124, 145, 0.2);
    transition: all 0.3s ease;
    color: var(--navy-dark);
}

.service-schedule-table td {
    padding: 1.25rem 1.5rem;
    color: var(--navy-medium);
    border-top: none;
    border-bottom: 1px solid rgba(6, 124, 145, 0.1);
    vertical-align: middle;
    transition: all var(--timing-medium) var(--ease-in-out);
}

.service-schedule-table tr:last-child td {
    border-bottom: none;
}

.service-schedule-table tr {
    transition: all var(--timing-medium) var(--ease-in-out);
    transform: translateZ(0);
}

.service-schedule-table tr:hover {
    background-color: rgba(6, 124, 145, 0.05);
    transform: translateX(5px);
}

.service-schedule-table tr:hover td {
    border-bottom-color: rgba(6, 124, 145, 0.2);
    color: var(--navy-dark);
}

/* Table Content Styling */
.service-date {
    font-weight: 600;
    color: var(--navy-dark);
}

.service-time {
    color: var(--navy-medium);
    font-size: 0.875rem;
}

.service-type {
    font-weight: 500;
    color: var(--bs-primary);
}

.service-location {
    color: var(--navy-medium);
    font-size: 0.9rem;
}

/* Status Badges */
.badge-scheduled {
    background-color: var(--bs-primary);
    color: white;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    display: inline-flex;
    align-items: center;
    transition: all var(--timing-medium) var(--ease-bounce);
    box-shadow: 0 2px 10px rgba(6, 124, 145, 0.2);
}

.badge-completed {
    background-color: var(--sage-green);
    color: white;
}

.badge-in-progress {
    background-color: var(--accent-cyan-light);
    color: white;
}

.badge-cancelled {
    background-color: #e57373;
    color: white;
}

.service-schedule-table tr:hover .badge-scheduled {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(6, 124, 145, 0.3);
}

.service-schedule-table tr:hover .badge-completed {
    box-shadow: 0 5px 15px rgba(135, 169, 107, 0.3);
}

.service-schedule-table tr:hover .badge-in-progress {
    box-shadow: 0 5px 15px rgba(76, 166, 184, 0.3);
}

/* Details List Styling */
.details-list .border-bottom:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Service Provider Profile */
.provider-profile {
    border: 1px solid rgba(6, 124, 145, 0.2);
    transition: all var(--timing-medium) var(--ease-bounce);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    color: var(--navy-dark);
}

.featured-service-card:hover .provider-profile {
    border-color: var(--bs-primary);
    background: rgba(6, 124, 145, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(6, 124, 145, 0.15);
}

/* Service Rating in Tables */
.table-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-rating .rating-stars {
    display: flex;
    gap: 0.1rem;
}

.table-rating .rating-star {
    color: var(--sage-green);
    font-size: 0.9rem;
}

.table-rating .rating-value {
    font-weight: 600;
    color: var(--navy-dark);
    font-size: 0.85rem;
}

/* Service Package Features */
.package-features {
    background: rgba(6, 124, 145, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.hours-item.today {
    background: rgba(6, 124, 145, 0.1);
    border-radius: 6px;
    padding: 0.5rem;
}

.hours-item.today .hours-time {
    color: #067c91;
    font-weight: 600;
}

.package-features h6 {
    color: var(--bs-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
}

.package-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--navy-dark);
}

.package-features li::before {
    content: "✓";
    color: var(--sage-green);
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* Pricing Comparison Table */
.pricing-comparison {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(74, 155, 142, 0.2);
    border-radius: 15px;
    overflow: hidden;
    margin: 2rem 0;
}

.pricing-comparison th {
    background: var(--accent-gradient);
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
    font-weight: 600;
}

.pricing-comparison td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(74, 155, 142, 0.1);
    color: var(--navy-dark);
}

.pricing-comparison tr:hover {
    background: rgba(74, 155, 142, 0.05);
}

.feature-included {
    color: var(--sage-green);
    font-weight: bold;
}

.feature-not-included {
    color: #e57373;
    opacity: 0.7;
}

.feature-partial {
    color: var(--bs-primary);
    font-weight: 500;
}

/* Add-on Services */
.addon-services {
    background: linear-gradient(
        145deg,
        rgba(6, 124, 145, 0.1) 0%,
        rgba(76, 166, 184, 0.05) 100%
    );
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.addon-services h6 {
    color: var(--sage-green);
    margin-bottom: 1rem;
}

.addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(74, 155, 142, 0.1);
    color: var(--navy-dark);
}

.addon-item:last-child {
    border-bottom: none;
}

.addon-price {
    color: var(--bs-primary);
    font-weight: 600;
}

/* Service Guarantee Badge */
.guarantee-badge {
    background: linear-gradient(
        135deg,
        var(--sage-green) 0%,
        var(--sage-dark) 100%
    );
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(135, 169, 107, 0.3);
    transition: all 0.3s ease;
}

.guarantee-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(135, 169, 107, 0.4);
}

.guarantee-badge i {
    font-size: 1.1rem;
}

/* Emergency Service Badge */
.emergency-badge {
    background: linear-gradient(135deg, #e57373 0%, #d32f2f 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: pulse-urgent 2s infinite;
}

@keyframes pulse-urgent {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 115, 115, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(229, 115, 115, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(229, 115, 115, 0);
    }
}

/* ============================================
   SERVICE ARCHIVE & CONTENT SECTIONS
   ============================================ */

/* Modern Service Archive */
.service-hero {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(181, 201, 154, 0.2) 100%
        ),
        url("/wp-content/uploads/2025/08/move-out-hero.webp") center/cover;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    color: var(--navy-dark);
}

.service-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 100%
    );
    z-index: 1;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

/* Blog/Tips Hero */
.blog-hero {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(76, 166, 184, 0.2) 100%
        ),
        url("/wp-content/uploads/2025/06/cleaning-tips-hero.jpg") no-repeat center
            center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    color: var(--navy-dark);
}

.blog-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 100%
    );
    z-index: 1;
}

.blog-hero .container {
    position: relative;
    z-index: 2;
}

/* Reviews Hero */
.reviews-hero {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(74, 155, 142, 0.15) 100%
        ),
        url("/wp-content/uploads/2025/06/reviews-hero.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    color: var(--navy-dark);
}

.reviews-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 100%
    );
    z-index: 1;
}

.reviews-hero .container {
    position: relative;
    z-index: 2;
}

/* Account/Profile Hero */
.account-hero {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(135, 169, 107, 0.15) 100%
        ),
        url("/wp-content/uploads/2025/06/account-hero.jpg") no-repeat center
            center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    color: var(--navy-dark);
}

.account-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 100%
    );
    z-index: 1;
}

.account-hero .container {
    position: relative;
    z-index: 2;
}

/* Training Hero */
.training-hero {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(74, 155, 142, 0.2) 100%
        ),
        url("/wp-content/uploads/2025/06/training-hero.jpg") no-repeat center
            center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    color: var(--navy-dark);
}

.training-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 100%
    );
    z-index: 1;
}

.training-hero .container {
    position: relative;
    z-index: 2;
}

/* Filter Tabs */
.service-filter-tabs {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(74, 155, 142, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(74, 155, 142, 0.15);
    margin-bottom: 3rem;
}

.service-nav-link {
    background: transparent;
    border: none;
    color: var(--navy-medium);
    padding: 1.5rem 2rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(74, 155, 142, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.service-nav-link:hover {
    color: var(--bs-primary);
    background: rgba(74, 155, 142, 0.1);
    transform: translateY(-2px);
}

.service-nav-link:hover::before {
    left: 100%;
}

.service-nav-link.active {
    background: var(--accent-gradient);
    color: white;
    font-weight: 700;
}

/* Service Cards Grid */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Modern Service Cards */
.modern-service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(74, 155, 142, 0.2);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: var(--navy-dark);
}

.modern-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(74, 155, 142, 0.1) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.modern-service-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(74, 155, 142, 0.4);
    box-shadow:
        0 20px 60px rgba(74, 155, 142, 0.2),
        0 0 40px rgba(74, 155, 142, 0.1);
}

.modern-service-card:hover::before {
    opacity: 1;
}

/* Status Badges */
.service-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 155, 142, 0.2);
}

.status-available {
    background: rgba(135, 169, 107, 0.9);
    color: white;
    animation: pulse-available 2s infinite;
}

.status-busy {
    background: rgba(244, 67, 54, 0.9);
    color: white;
}

.status-scheduled {
    background: rgba(74, 155, 142, 0.9);
    color: white;
}

.status-completed {
    background: rgba(76, 166, 184, 0.9);
    color: white;
}

@keyframes pulse-available {
    0% {
        box-shadow: 0 0 5px rgba(135, 169, 107, 0.5);
    }
    50% {
        box-shadow:
            0 0 20px rgba(135, 169, 107, 0.8),
            0 0 30px rgba(135, 169, 107, 0.4);
    }
    100% {
        box-shadow: 0 0 5px rgba(135, 169, 107, 0.5);
    }
}

/* Card Content */
.service-card-header {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-title a:hover {
    color: var(--bs-primary);
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--navy-medium);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-icon {
    width: 16px;
    height: 16px;
    color: var(--bs-primary);
}

.service-excerpt {
    color: var(--navy-medium);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card-footer {
    padding: 0 1.5rem 1.5rem;
    margin-top: auto;
}

/* Calendar-style Date Display */
.service-date-calendar {
    background: var(--accent-gradient);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    color: white;
    font-weight: 700;
    min-width: 80px;
    margin-right: 1rem;
}

.calendar-day {
    font-size: 1.5rem;
    line-height: 1;
}

.calendar-month {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-year {
    font-size: 0.75rem;
    opacity: 0.8;
}

.service-card-layout {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.service-content {
    flex: 1;
}

/* Available Indicator */
.available-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--sage-green);
    border-radius: 50%;
    animation: pulse-available 2s infinite;
}

/* Section Headers */
.section-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(74, 155, 142, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--navy-dark);
}

.section-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(74, 155, 142, 0.05) 0%,
        rgba(125, 211, 192, 0.1) 100%
    );
    pointer-events: none;
}

.section-header h2 {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin: 0;
}

/* Content Archive Styles */
.content-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.content-tabs .tab-link {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(74, 155, 142, 0.2);
    color: var(--navy-dark);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.content-tabs .tab-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(6, 124, 145, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.content-tabs .tab-link:hover::before {
    left: 100%;
}

.content-tabs .tab-link:hover,
.content-tabs .tab-link.active {
    background: var(--accent-gradient);
    color: white;
    border-color: var(--bs-primary);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 155, 142, 0.3);
}

.content-tabs .tab-link.active {
    transform: translateY(-2px);
}

.content-tabs .tab-link i {
    opacity: 0.9;
    margin-right: 0.5rem;
}

/* Content Preview Cards */
.content-preview {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(74, 155, 142, 0.2);
    border-radius: 15px;
    color: var(--navy-dark);
}

.content-preview:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(74, 155, 142, 0.2);
}

.content-preview .content-header {
    background: linear-gradient(
        135deg,
        rgba(6, 124, 145, 0.1) 0%,
        rgba(76, 166, 184, 0.05) 100%
    );
    position: relative;
}

.content-preview .content-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(6, 124, 145, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.content-preview:hover .content-header::before {
    left: 100%;
}

/* Content Improvements */
.content-preview .content-meta .text-light,
.content-preview .content-meta span,
.content-preview .text-light,
.content-preview .text-muted,
.content-preview .content-author {
    color: var(--navy-dark) !important;
}

.content-preview .content-icon {
    opacity: 0.7;
    transition: all 0.3s ease;
    color: var(--bs-primary);
}

.content-preview:hover .content-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Featured Content Animation */
.tab-link.active[href*="featured"] i {
    animation: pulse 2s infinite;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(6, 124, 145, 0.2);
    border-radius: 24px;
    margin-top: 2rem;
    color: var(--navy-dark);
}

.empty-icon {
    font-size: 4rem;
    color: var(--bs-primary);
    margin-bottom: 1.5rem;
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 1rem;
}

.empty-description {
    color: var(--navy-medium);
    margin-bottom: 2rem;
}

.empty-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Subscribe CTA */
.subscribe-cta {
    background: linear-gradient(
        135deg,
        rgba(6, 124, 145, 0.9) 0%,
        rgba(170, 167, 160, 0.9) 100%
    );
    backdrop-filter: blur(20px);
    border: 1px solid rgba(6, 124, 145, 0.3);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.subscribe-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%
    );
    pointer-events: none;
}

.cta-icon {
    font-size: 4rem;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: white;
    color: var(--bs-primary);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.125rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: var(--accent-teal-dark);
}

/* Topic Filters */
.topic-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.topic-filter-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(6, 124, 145, 0.3);
    color: var(--navy-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.topic-filter-btn:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-2px);
    border-color: var(--bs-primary);
}

/* Service Category Filters */
.category-residential {
    background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage-green) 100%);
}

.category-commercial {
    background: var(--accent-gradient);
}

.category-deep-cleaning {
    background: var(--cyan-gradient);
}

.category-eco-friendly {
    background: linear-gradient(135deg, var(--sage-green) 0%, var(--sage-dark) 100%);
}

/* ============================================
   PAGINATION & FOOTER
   ============================================ */

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.modern-pagination .page-link {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(6, 124, 145, 0.3);
    color: var(--navy-dark);
    padding: 0.75rem 1rem;
    margin: 0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 44px;
    text-align: center;
    font-weight: 500;
}

.modern-pagination .page-link:hover,
.modern-pagination .page-item.active .page-link {
    background: var(--accent-gradient);
    color: white;
    border-color: var(--bs-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 124, 145, 0.3);
}

.modern-pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    gap: 0.5rem;
}

.modern-pagination li {
    display: flex;
}

/* Premium Pagination */
.premium-pagination .page-item {
    margin: 0 0.25rem;
}

.premium-pagination .page-link {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(248, 249, 250, 0.8) 100%
    );
    border: 1px solid rgba(6, 124, 145, 0.2);
    color: var(--navy-dark);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.3s var(--ease-in-out);
    font-weight: 500;
}

.premium-pagination .page-link:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: var(--bs-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 124, 145, 0.2);
}

.premium-pagination .page-item.active .page-link {
    background: var(--accent-gradient);
    color: white;
    border-color: var(--bs-primary);
}

.premium-pagination .page-item.disabled .page-link {
    background: rgba(255, 255, 255, 0.5);
    color: var(--navy-medium);
    opacity: 0.6;
    cursor: not-allowed;
}

/* Pagination Info */
.pagination-info {
    text-align: center;
    margin-top: 1rem;
    color: var(--navy-medium);
    font-size: 0.9rem;
}

.pagination-info .current-page {
    color: var(--bs-primary);
    font-weight: 600;
}

/* ============================================
   FOOTER & SOCIAL LINKS
   ============================================ */

.footer {
    background: #ffffff !important;
    background-color: #ffffff !important;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(6, 124, 145, 0.3);
    color: #333333 !important;
    z-index: 10;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(6, 124, 145, 0) 0%,
        rgba(6, 124, 145, 0.3) 50%,
        rgba(6, 124, 145, 0) 100%
    );
}

/* Footer Text Overrides */
.footer .text-light {
    color: #4b5563 !important;
}

.footer .text-white {
    color: #333333 !important;
}

.footer p {
    color: #374151 !important;
}

.footer span {
    color: #374151 !important;
}

.footer a {
    color: #4b5563 !important;
}

.footer a:hover {
    color: #067c91 !important;
}

/* Footer Content Sections */
.footer-section {
    padding: 3rem 0 2rem 0;
}

.footer-section h5 {
    color: #067c91;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h5::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 1px;
}

/* Company Info Section */
.company-info {
    background: rgba(6, 124, 145, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(6, 124, 145, 0.2);
    color: #333333 !important;
}

.company-logo {
    max-width: 200px;
    margin-bottom: 1rem;
}

.company-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(6, 124, 145, 0.1);
    border-radius: 10px;
}


.stat-label {
    font-size: 0.8rem;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Social Links System */
.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: linear-gradient(
        145deg,
        rgba(6, 124, 145, 0.2) 0%,
        rgba(76, 166, 184, 0.1) 100%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    text-decoration: none;
    transition: all var(--timing-medium) var(--ease-bounce);
    border: 1px solid rgba(6, 124, 145, 0.3);
    backdrop-filter: blur(5px);
}

.social-links a:hover {
    background: linear-gradient(135deg, #067c91 0%, #045561 100%);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(6, 124, 145, 0.4);
    border-color: #067c91;
}

.social-links a.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-links a.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #bc1888;
}

.social-links a.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.social-links a.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-links a.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link {
    color: #666666;
    text-decoration: none;
    transition: all 0.3s var(--ease-in-out);
    display: inline-block;
    position: relative;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
}

.footer-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.5rem;
    width: 0;
    height: 1px;
    background-color: #067c91;
    transition: all var(--timing-medium) var(--ease-in-out);
}

.footer-link:hover {
    color: #067c91;
    border-left-color: var(--bs-primary);
    transform: translateX(5px);
}

.footer-link:hover::before {
    width: 100%;
}

/* Service Areas Links */
.service-areas {
    background: rgba(6, 124, 145, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    color: #333333 !important;
}

.service-areas h6 {
    color: #067c91;
    margin-bottom: 1rem;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
}

.area-link {
    color: #666666;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.area-link:hover {
    background: rgba(6, 124, 145, 0.1);
    color: #067c91;
    transform: translateX(3px);
}

/* Contact Information */
.contact-info {
    background: rgba(6, 124, 145, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    color: #666666;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: #067c91;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.contact-text {
    flex: 1;
}

.contact-text a {
    color: #666666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-text a:hover {
    color: var(--sage-light);
}

/* Quick Navigation Items */
.quick-nav-item {
    transition: all 0.3s var(--ease-in-out);
    border-bottom: 1px solid rgba(6, 124, 145, 0.2) !important;
    padding: 1rem 0;
    color: #666666;
}

.quick-nav-item:hover {
    background-color: rgba(6, 124, 145, 0.1);
    transform: translateX(5px);
    border-left: 3px solid #067c91;
    padding-left: 1rem;
    color: #067c91;
}

.quick-nav-item:hover .feature-icon {
    transform: scale(1.1);
    background-color: rgba(74, 155, 142, 0.3);
    color: var(--accent-cyan-light);
}

.quick-nav-item:hover .fa-chevron-right {
    transform: translateX(5px);
    color: var(--accent-cyan-light);
}

/* Newsletter Signup */
.newsletter-signup {
    background: rgba(76, 166, 184, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(76, 166, 184, 0.2);
}

.newsletter-signup h6 {
    color: #067c91;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(6, 124, 145, 0.3);
    border-radius: 8px;
    background: #ffffff;
    color: #333333;
    backdrop-filter: none;
}

/* ============================================
   COMPREHENSIVE READABILITY FIXES
   ============================================ */

/* Enhanced text contrast utilities */
.text-readable-dark {
    color: #111827 !important;
    font-weight: 600;
}

.text-readable-medium {
    color: #374151 !important;
    font-weight: 500;
}

.text-readable-light {
    color: #4b5563 !important;
    font-weight: 500;
}

/* Override any remaining problematic light text classes */
.text-light-gray,
.text-gray-400,
.text-gray-300,
.text-secondary {
    color: #374151 !important;
    font-weight: 500;
}

/* Enhanced muted text for better readability */
.text-muted,
.text-black-50,
small.text-muted {
    color: var(--text-muted) !important;
    font-weight: 500;
}

/* Paragraph and content text improvements */
p.text-muted,
.card-text.text-muted,
.list-group-item .text-muted {
    color: #4b5563 !important;
}

/* Enhanced teal text visibility on light backgrounds */
.text-primary {
    color: var(--bs-primary) !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    position: relative;
}

/* Add subtle background highlight for better teal text visibility */
.text-primary::before {
    content: '';
    position: absolute;
    inset: -2px -4px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.text-primary:hover::before {
    opacity: 1;
}

/* Service content text improvements */
.service-content small,
.service-subtitle,
.service-description {
    color: #4b5563 !important;
    font-weight: 500;
}

/* Card and component text fixes */
.card-body .text-muted,
.accordion-body .text-muted,
.modal-body .text-muted {
    color: #374151 !important;
}

/* Breadcrumb and navigation text */
.breadcrumb-item.active,
.nav-link.text-muted {
    color: #4b5563 !important;
}

/* Form help text and labels */
.form-text,
.form-label.text-muted,
.help-text {
    color: #374151 !important;
    font-weight: 500;
}

/* List item descriptions */
.list-group-item small,
.list-unstyled li small {
    color: #4b5563 !important;
}

/* Alert text improvements */
.alert .text-muted {
    color: #374151 !important;
}

/* Table text improvements */
.table td.text-muted,
.table th.text-muted {
    color: #4b5563 !important;
}

/* Badge and pill improvements */
.badge.text-muted,
.pill.text-muted {
    color: #374151 !important;
    background-color: #e5e7eb !important;
}

/* Ensure headings have proper hierarchy and readability */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark) !important;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
}

h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Special styling for cursive/script text in headings */
.font-script,
.cursive-text {
    color: var(--bs-primary) !important;
    font-style: italic;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Mixed typography for section headings */
.section-title .font-script {
    color: var(--bs-primary) !important;
    font-size: 0.9em;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title strong {
    color: var(--text-dark) !important;
    font-weight: 700;
    display: block;
}

/* Enhanced section descriptions */
.section-description {
    color: var(--text-muted) !important;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Responsive heading adjustments */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.375rem; }
    .section-title { font-size: 1.75rem; }
}

@media (max-width: 576px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    .section-title { font-size: 1.5rem; }
    .font-script { font-size: 1.1rem; }
}

/* Ensure all text on light backgrounds is readable */
.bg-light *,
.bg-white *,
.site-content * {
    color: inherit;
}

.bg-light .text-muted,
.bg-white .text-muted,
.site-content .text-muted {
    color: var(--text-muted) !important;
}

/* Custom post type content readability */
.news-content-wrapper p,
.newsletter-content-wrapper p,
.training-content-wrapper p {
    color: var(--text-dark) !important;
    line-height: 1.6;
    font-weight: 400;
}

.news-content-wrapper .text-muted,
.newsletter-content-wrapper .text-muted,
.training-content-wrapper .text-muted {
    color: var(--text-muted) !important;
}

.newsletter-input::placeholder {
    color: #6b7280;
}

/* ============================================
   GLOBAL LIGHT TEXT OVERRIDES
   ============================================ */

/* Catch any remaining problematic light text colors */
.text-light-gray,
.text-gray-light,
.text-gray-400,
.text-gray-300,
.subtitle,
.subtext,
.meta-text {
    color: #4b5563 !important;
    font-weight: 500 !important;
}

/* Override Bootstrap's default muted everywhere */
.text-muted,
.muted,
.text-black-50,
small.text-muted,
.small.text-muted {
    color: #374151 !important;
    font-weight: 500 !important;
}

/* Fix any light text in cards */
.card .text-light,
.card .text-secondary,
.card-text.text-light,
.card-subtitle.text-muted {
    color: #4b5563 !important;
}

/* Fix any light text in forms */
.form-text.text-muted,
.form-help.text-muted,
.input-group-text.text-muted {
    color: #374151 !important;
}

/* Fix any light text in lists */
.list-group-item.text-muted,
.list-item-subtitle,
.description-text {
    color: #4b5563 !important;
}

/* Fix any light text in tables */
.table .text-muted,
.table-secondary {
    color: #374151 !important;
}

/* Fix any light placeholder text */
::placeholder,
::-webkit-input-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
    color: #6b7280 !important;
    opacity: 1 !important;
}



/* Ensure all paragraph text on light backgrounds is readable */
.bg-white p, .bg-light p, .site-content p {
    /* color: var(--text-dark) !important; */
}

/* Fix any remaining secondary text */
.secondary-text,
.helper-text,
.caption-text,
.note-text {
    color: #4b5563 !important;
    font-weight: 500 !important;
}

/* Enhanced teal text contrast on all backgrounds */
.text-primary,
.text-teal,
.text-brand {
    color: var(--bs-primary) !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

/* Cursive text styling for headings */
.font-script,
.cursive,
.script-text,
.italic-accent {
    font-style: italic !important;
    color: var(--bs-primary) !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

/* Mixed heading typography */
.section-heading .font-script,
.title .script-part,
.heading .cursive-part {
    display: block;
    font-size: 0.85em;
    margin-bottom: 0.5rem;
    color: var(--bs-primary) !important;
}

/* Ensure proper contrast for all interactive elements */
.btn .text-muted,
.nav-link .text-muted,
.dropdown-item .text-muted {
    color: #374151 !important;
}


/* Dark background section fixes */
.section.bg-gradient-dark,
.bg-dark,
.hero-section {
    color: #ffffff !important;
}



/* Mobile hero improvements */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh !important;
        padding: 1rem 0 !important;
    }

    .hero-content {
        padding: 3rem 1.5rem !important;
        margin: 1rem auto !important;
        max-width: 95% !important;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.2rem) !important;
        line-height: 1.2 !important;
        margin-bottom: 1.5rem !important;
        color: #ffffff !important;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.3rem) !important;
        margin-bottom: 2rem !important;
        line-height: 1.4 !important;
        color: rgba(255, 255, 255, 0.95) !important;
    }

    .btn-glass-primary {
        font-size: 1.1rem !important;
        padding: 1rem 2rem !important;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 2.5rem 1rem !important;
        margin: 0.5rem auto !important;
        margin-bottom: 3rem !important;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 2.8rem) !important;
        margin-bottom: 1.25rem !important;
    }

    .hero-subtitle {
        font-size: clamp(0.95rem, 4.5vw, 1.2rem) !important;
        margin-bottom: 1.75rem !important;
    }
}

/* Enhanced heading styles with Pacifico/Raleway combo */
.main-heading {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    color: #1a202c !important;
}

.main-heading .cursive-part,
.main-heading .pacifico-part {
    font-family: 'Pacifico', cursive;
    color: var(--bs-primary) !important;
    font-weight: normal;
    display: block;
    font-size: 0.7em;
    margin-bottom: 0.5rem;
}

.section-title-combo {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: #1a202c !important;
}

.section-title-combo .pacifico-accent {
    font-family: 'Pacifico', cursive;
    color: var(--bs-primary) !important;
    font-weight: normal;
    display: block;
    font-size: 0.7em;
    margin-bottom: 0.5rem;
}

/* Global typography system */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif !important;
    color: #1a202c !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 1rem !important;
}

h1 {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
}

h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
}

h3 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

h4 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
}

h5 {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
}

h6 {
    font-size: 1rem !important;
    font-weight: 600 !important;
}

/* Pacifico accent utility classes */
.pacifico-accent {
    font-family: 'Pacifico', cursive !important;
    color: var(--bs-primary) !important;
    font-weight: normal !important;
}

.pacifico-small {
    font-family: 'Pacifico', cursive !important;
    color: var(--bs-primary) !important;
    font-size: 0.7em !important;
    display: block;
    margin-bottom: 0.3rem;
    font-weight: normal !important;
}

/* All body text should use Raleway */
p, span, div, a, li, td, th {
    font-family: 'Raleway', sans-serif;
}

/* All paragraphs should be readable */
p {
    color: #1a202c !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

/* Lead text styling */
.lead {
    font-family: 'Raleway', sans-serif !important;
    color: #1a202c !important;
    font-weight: 500 !important;
    font-size: 1.25rem !important;
    line-height: 1.6 !important;
}

/* CRITICAL FIX: Override all light text classes */
.text-navy,
.text-navy-dark,
.text-gray-light,
.text-light-gray,
.text-gray-400,
.text-gray-300,
.text-secondary {
    color: #1a202c !important;
    font-weight: 600 !important;
}


/* Fix all service card text */
.service-highlights span,
.service-item span,
.feature-text,
.description-text,
.checklist-item span,
.service-card-body span,
.service-detail-card span {
    color: #1a202c !important;
    font-weight: 600 !important;
}

/* Override any remaining problematic classes */
.text-gray,
.text-light-muted,
.text-faded,
.subtitle,
.subtext {
    color: #1a202c !important;
    font-weight: 600 !important;
}

/* Ensure all headings use proper font combinations */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif !important;
    color: #1a202c !important;
    font-weight: 700 !important;
}

/* Company News heading color override */
.post-type-archive-news h1.display-4 {
    color: #a9a69a !important;
}

/* Training page heading color override */
.single-training .news-title,
.single-training h1 {
    color: #a9a69a !important;
}

/* Main page headings with cursive accents */
.page-title,
.section-title,
.service-title {
    font-family: 'Raleway', sans-serif !important;
    color: #1a202c !important;
    font-weight: 800 !important;
}

/* Pricing and feature text */
.pricing-display span {
    color: #1a202c !important;
    font-weight: 600 !important;
}

.schedule-badge,
.service-badge,
.pricing-badge,
.hero-badge,
.badge,
.popular-badge {
    color: white !important;
    font-weight: 600 !important;
    background: var(--accent-gradient) !important;
}

/* Service card specific overrides */
.service-card h4,
.service-card .service-description,
.service-card p,
.service-card span {
    color: #1a202c !important;
    font-weight: 600 !important;
}

.service-card h3 {
    color: #1a202c !important;
    font-weight: 700 !important;
    font-family: 'Raleway', sans-serif !important;
}

/* Service feature items */
.feature-item span,
.checklist-item span {
    color: #1a202c !important;
    font-weight: 600 !important;
}

/* Service pricing text */
.price-text,
.pricing-preview span {
    color: #1a202c !important;
    font-weight: 600 !important;
}

.newsletter-input:focus {
    border-color: var(--accent-cyan-light);
    background: rgba(255, 255, 255, 0.15);
    outline: none;
}

.newsletter-btn {
    background: linear-gradient(135deg, #067c91 0%, #045561 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #045561 0%, #067c91 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 124, 145, 0.3);
}

/* Business Hours */
.business-hours {
    background: rgba(6, 124, 145, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.business-hours h6 {
    color: #067c91;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(6, 124, 145, 0.1);
    color: #666666;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-day {
    font-weight: 500;
    color: #333333;
}

.hours-time {
    color: #666666;
    font-weight: 600;
}

.hours-item.today {
    background: rgba(6, 124, 145, 0.1);
    padding: 0.75rem;
    border-radius: 6px;
    border: none;
}

.hours-item.today .hours-time {
    color: #067c91;
    font-weight: 700;
}

/* Awards & Certifications */
.awards-section {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(6, 124, 145, 0.2);
    margin-top: 2rem;
}

.awards-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.award-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.award-item:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.award-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.award-item:hover .award-logo {
    filter: grayscale(0%);
}

.award-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* Copyright Section */
.copyright-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(74, 155, 142, 0.2);
    text-align: center;
}

.copyright-text {
    color: #666666;
    margin: 0;
    text-align: center;
}

.copyright-links {
    margin-top: 0.5rem;
}

.copyright-links a {
    color: #666666;
    text-decoration: none;
    margin: 0 1rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.copyright-links a:hover {
    color: #067c91;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(74, 155, 142, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--cyan-gradient);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 155, 142, 0.4);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-section {
        padding: 2rem 0 1rem 0;
    }

    .company-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        margin-top: 0.5rem;
    }

    .awards-grid {
        gap: 1rem;
    }

    .award-logo {
        width: 40px;
        height: 40px;
    }

    .copyright-links a {
        display: block;
        margin: 0.25rem 0;
    }
}

/* ============================================
   RESPONSIVE DESIGN & MEDIA QUERIES
   ============================================ */

/* Large Screens (1200px+) */
@media (min-width: 1200px) {
    .hero-content {
        /* padding: 120px 0 80px 0; */
    }

    .service-cards {
        padding: 3rem 1rem 2rem 1rem;
    }

    .container-xl {
        max-width: 1400px;
    }
}

/* Medium Screens (992px - 1199px) */
@media (max-width: 1199.98px) {
    .typed-text {
        font-size: 2.8rem;
    }

    .typed-text-container {
        min-height: 100px;
        height: 100px;
    }

    .chart-container {
        height: 350px;
        max-height: 350px;
    }

    .chart-wrapper {
        height: 290px;
        max-height: 290px;
    }

    .chart-container canvas {
        max-height: 250px !important;
        height: 250px !important;
    }

    .service-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

/* Small Screens (768px - 991px) */
@media (max-width: 991.98px) {
    .typed-text {
        font-size: 2.2rem;
    }

    .typed-text-container {
        min-height: 80px;
        height: 80px;
        display: block;
        justify-content: center;
    }

    .service-cards {
        position: relative;
        margin-top: 2rem;
    }

    .hero-content {
        text-align: center;
        padding: 80px 20px 40px 20px;
    }

    .d-flex.flex-wrap {
        /* flex-direction: column; */
        /* align-items: center; */
    }

    .glass-panel {
        padding: 2rem 1.5rem;
    }

    #residential-card,
    #commercial-card,
    #deep-clean-card,
    #eco-friendly-card,
    #window-card,
    #carpet-card {
        margin: 0 !important;
        min-width: 150px;
        padding: 0.75rem;
        animation: float 8s ease-in-out infinite;
    }

    .service-cards {
        padding: 2rem 0.5rem 1rem 0.5rem;
        overflow: visible;
    }

    .service-card {
        min-width: 150px;
        max-width: 100%;
        font-size: 0.9rem;
    }

    .service-card h4 {
        font-size: 1.1rem;
    }

    /* Service Cards Grid Responsive */
    .service-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-filter-tabs {
        border-radius: 16px;
    }

    .service-nav-link {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .section-header {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .subscribe-cta {
        padding: 2rem;
        border-radius: 20px;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .topic-filters {
        flex-direction: column;
        align-items: center;
    }

    .service-card-layout {
        flex-direction: column;
    }

    .service-date-calendar {
        margin-right: 0;
        margin-bottom: 1rem;
        align-self: flex-start;
    }

    /* Navigation adjustments */
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }
}

/* Extra Small Screens (576px - 767px) */
@media (max-width: 767.98px) {
    .typed-text {
        font-size: 1.8rem;
    }

    .typed-text-container {
        min-height: 70px;
        height: 70px;
        display: block;
    }

    .btn-premium,
    .btn-outline-light {
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .chart-container {
        height: 320px;
        max-height: 320px;
        margin-bottom: 2rem;
    }

    .chart-wrapper {
        height: 260px;
        max-height: 260px;
    }

    .chart-container canvas {
        max-height: 220px !important;
        height: 220px !important;
    }

    /* Mobile Recording/Video Box Fix */
    .service-video-section .premium-card,
    .video-container,
    .recording-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 2rem 0 !important;
    }

    .service-video-section .container > .row > .col-lg-8,
    .service-video-section .container > .row > .col-lg-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* Content Responsive */
    .content-tabs {
        justify-content: center;
    }

    .content-tabs .tab-link {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }

    .empty-actions {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .search-suggestions {
        max-height: 200px;
    }

    .suggestion-item {
        padding: 0.5rem 0.75rem;
    }

    .suggestion-title {
        font-size: 0.85rem;
    }

    .suggestion-date {
        font-size: 0.75rem;
    }

    .newsletter-actions-bar .row {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-actions-bar .col-md-6:first-child {
        margin-bottom: 1rem;
    }

    .newsletter-share {
        justify-content: center !important;
        margin-top: 1rem;
    }

    /* Membership cards responsive */
    .membership-card {
        margin-bottom: 2rem;
    }

    .membership-card .card-header {
        padding: 1.5rem 1rem;
    }

    .popular-badge {
        right: -3rem;
        padding: 0.4rem 3rem;
    }

    /* Footer responsive */
    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .company-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .contact-item {
        justify-content: center;
        text-align: center;
    }
}

/* Very Small Screens (575px and below) */
@media (max-width: 575.98px) {
    .typed-text {
        font-size: 1.5rem;
    }

    .typed-text-container {
        min-height: 60px;
        height: 60px;
        display: block;
    }

    .service-filter-tabs {
        border-radius: 12px;
    }

    .service-nav-link {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .modern-service-card {
        border-radius: 20px;
    }

    .service-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .service-hero {
        padding: 4rem 0;
    }

    .content-tabs .tab-link {
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
    }

    .content-preview .content-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .content-preview .content-meta > div {
        margin: 0.25rem;
    }

    .btn-sm {
        font-size: 0.813rem;
        padding: 0.4rem 0.8rem;
    }

    .newsletter-actions-bar .row {
        gap: 1rem;
    }

    .share-links {
        flex-wrap: wrap;
    }

    /* Typography adjustments */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Company stats single column */
    .company-stats {
        grid-template-columns: 1fr;
    }

    /* Business hours stack */
    .hours-item {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
}

/* Content Preview Responsive Enhancements */
@media (max-width: 768px) {
    .content-preview {
        margin-bottom: 2rem;
    }

    .newsletter-actions-bar .row {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-share {
        justify-content: center !important;
        margin-top: 1rem;
    }
}

/* Archive Page Animation Staggering */
.content-preview {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease forwards;
}

.content-preview:nth-child(1) {
    animation-delay: 0.1s;
}
.content-preview:nth-child(2) {
    animation-delay: 0.2s;
}
.content-preview:nth-child(3) {
    animation-delay: 0.3s;
}
.content-preview:nth-child(4) {
    animation-delay: 0.4s;
}
.content-preview:nth-child(5) {
    animation-delay: 0.5s;
}

/* ============================================
   SCROLLBAR & BROWSER SPECIFIC STYLES
   ============================================ */

/* Enhanced Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    background-color: rgba(248, 249, 250, 0.8);
}

::-webkit-scrollbar-track {
    background-color: rgba(74, 155, 142, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gradient);
    border-radius: 10px;
    border: 3px solid rgba(248, 249, 250, 0.8);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cyan-gradient);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--bs-primary) rgba(74, 155, 142, 0.1);
}

/* Enhanced Premium Card Effects */
.premium-card.content-preview::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--bs-primary),
        var(--accent-cyan-light),
        var(--bs-primary)
    );
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.premium-card.content-preview:hover::before {
    transform: scaleX(1);
}

/* Safari Specific Fixes */
@supports (-webkit-appearance: none) {
    .form-control {
        -webkit-appearance: none;
    }

    .btn {
        -webkit-appearance: none;
    }
}

/* iOS Specific Touch Improvements */
@supports (-webkit-touch-callout: none) {
    .btn,
    .card,
    .premium-card {
        -webkit-tap-highlight-color: rgba(74, 155, 142, 0.3);
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
}

/* High DPI Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section {
        background-image:
            linear-gradient(
                135deg,
                rgba(255, 255, 255, 0.95) 0%,
                rgba(181, 201, 154, 0.15) 100%
            ),
            url("/wp-content/uploads/2025/06/hero-home.jpg");
    }
}

/* Dark Mode Support (if system preference) */
@media (prefers-color-scheme: dark) {
    :root {
        --bs-body-bg: #f8f9fa;
        --gray-darkest: #e9ecef;
    }
}

/* Focus Visible Support */
@supports selector(:focus-visible) {
    *:focus {
        outline: none;
        box-shadow: none;
    }

    *:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px rgba(74, 155, 142, 0.5);
    }
}

/* ============================================
   UTILITY CLASSES & HELPER STYLES
   ============================================ */

/* Display Utilities */
.d-none {
    display: none !important;
}
.d-block {
    display: block !important;
}
.d-inline {
    display: inline !important;
}
.d-inline-block {
    display: inline-block !important;
}
.d-flex {
    display: flex !important;
}
.d-grid {
    display: grid !important;
}

/* Responsive Display Utilities */
@media (min-width: 576px) {
    .d-sm-none {
        display: none !important;
    }
    .d-sm-block {
        display: block !important;
    }
    .d-sm-inline {
        display: inline !important;
    }
    .d-sm-inline-block {
        display: inline-block !important;
    }
    .d-sm-flex {
        display: flex !important;
    }
}

@media (min-width: 768px) {
    .d-md-none {
        display: none !important;
    }
    .d-md-block {
        display: block !important;
    }
    .d-md-inline {
        display: inline !important;
    }
    .d-md-inline-block {
        display: inline-block !important;
    }
    .d-md-flex {
        display: flex !important;
    }
}

@media (min-width: 992px) {
    .d-lg-none {
        display: none !important;
    }
    .d-lg-block {
        display: block !important;
    }
    .d-lg-inline {
        display: inline !important;
    }
    .d-lg-inline-block {
        display: inline-block !important;
    }
    .d-lg-flex {
        display: flex !important;
    }
}

@media (min-width: 1200px) {
    .d-xl-none {
        display: none !important;
    }
    .d-xl-block {
        display: block !important;
    }
    .d-xl-inline {
        display: inline !important;
    }
    .d-xl-inline-block {
        display: inline-block !important;
    }
    .d-xl-flex {
        display: flex !important;
    }
}

/* Flexbox Utilities */
.flex-row {
    flex-direction: row !important;
}
.flex-column {
    flex-direction: column !important;
}
.flex-wrap {
    flex-wrap: wrap !important;
}
.flex-nowrap {
    flex-wrap: nowrap !important;
}
.justify-content-start {
    justify-content: flex-start !important;
}
.justify-content-center {
    justify-content: center !important;
}
.justify-content-end {
    justify-content: flex-end !important;
}
.justify-content-between {
    justify-content: space-between !important;
}
.align-items-start {
    align-items: flex-start !important;
}
.align-items-center {
    align-items: center !important;
}
.align-items-end {
    align-items: flex-end !important;
}

/* Spacing Utilities */
.m-0 {
    margin: 0 !important;
}
.m-1 {
    margin: 0.25rem !important;
}
.m-2 {
    margin: 0.5rem !important;
}
.m-3 {
    margin: 1rem !important;
}
.m-4 {
    margin: 1.5rem !important;
}
.m-5 {
    margin: 3rem !important;
}

.mt-0 {
    margin-top: 0 !important;
}
.mt-1 {
    margin-top: 0.25rem !important;
}
.mt-2 {
    margin-top: 0.5rem !important;
}
.mt-3 {
    margin-top: 1rem !important;
}
.mt-4 {
    margin-top: 1.5rem !important;
}
.mt-5 {
    margin-top: 3rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}
.mb-1 {
    margin-bottom: 0.25rem !important;
}
.mb-2 {
    margin-bottom: 0.5rem !important;
}
.mb-3 {
    margin-bottom: 1rem !important;
}
.mb-4 {
    margin-bottom: 1.5rem !important;
}
.mb-5 {
    margin-bottom: 3rem !important;
}

.p-0 {
    padding: 0 !important;
}
.p-1 {
    padding: 0.25rem !important;
}
.p-2 {
    padding: 0.5rem !important;
}
.p-3 {
    padding: 1rem !important;
}
.p-4 {
    padding: 1.5rem !important;
}
.p-5 {
    padding: 3rem !important;
}

/* Text Utilities */
.text-left {
    text-align: left !important;
}
.text-center {
    text-align: center !important;
}
.text-right {
    text-align: right !important;
}
.text-justify {
    text-align: justify !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}
.text-lowercase {
    text-transform: lowercase !important;
}
.text-capitalize {
    text-transform: capitalize !important;
}

.fw-light {
    font-weight: 300 !important;
}
.fw-normal {
    font-weight: 400 !important;
}
.fw-medium {
    font-weight: 500 !important;
}
.fw-semibold {
    font-weight: 600 !important;
}
.fw-bold {
    font-weight: 700 !important;
}

.fs-1 {
    font-size: var(--font-size-2xl) !important;
}
.fs-2 {
    font-size: var(--font-size-xl) !important;
}
.fs-3 {
    font-size: var(--font-size-lg) !important;
}
.fs-4 {
    font-size: var(--font-size-md) !important;
}
.fs-5 {
    font-size: var(--font-size-base) !important;
}
.fs-6 {
    font-size: var(--font-size-sm) !important;
}

/* Color Utilities */
.text-white {
    color: #ffffff !important;
}
.text-primary {
    color: var(--bs-primary) !important;
}
.text-secondary {
    color: var(--text-secondary) !important;
}
.text-muted {
    color: var(--text-muted) !important;
}
.text-light {
    color: var(--text-light) !important;
}
.text-navy {
    color: var(--navy-dark) !important;
}
.text-sage {
    color: var(--sage-green) !important;
}
.text-cyan {
    color: var(--accent-cyan-light) !important;
}
.text-success {
    color: var(--bs-success) !important;
}
.text-warning {
    color: var(--bs-warning) !important;
}
.text-danger {
    color: var(--bs-danger) !important;
}
.text-dark {
    color: var(--text-dark) !important;
}
.text-info {
    color: var(--bs-info) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}
.bg-secondary {
    background-color: var(--primary-gray) !important;
}
.bg-light {
    background-color: #ffffff !important;
}
.bg-sage {
    background-color: var(--sage-green) !important;
}
.bg-cyan {
    background-color: var(--accent-cyan-light) !important;
}
.bg-navy {
    background-color: var(--navy-dark) !important;
}
.bg-transparent {
    background-color: transparent !important;
}

/* Border Utilities */
.border {
    border: 1px solid rgba(6, 124, 145, 0.2) !important;
}
.border-0 {
    border: 0 !important;
}
.border-top {
    border-top: 1px solid rgba(6, 124, 145, 0.2) !important;
}
.border-bottom {
    border-bottom: 1px solid rgba(6, 124, 145, 0.2) !important;
}
.border-start {
    border-left: 1px solid rgba(6, 124, 145, 0.2) !important;
}
.border-end {
    border-right: 1px solid rgba(6, 124, 145, 0.2) !important;
}

.border-primary {
    border-color: var(--bs-primary) !important;
}
.border-sage {
    border-color: var(--sage-green) !important;
}
.border-cyan {
    border-color: var(--accent-cyan-light) !important;
}

.rounded {
    border-radius: 0.375rem !important;
}
.rounded-0 {
    border-radius: 0 !important;
}
.rounded-circle {
    border-radius: 50% !important;
}
.rounded-pill {
    border-radius: 50rem !important;
}

/* Position Utilities */
.position-static {
    position: static !important;
}
.position-relative {
    position: relative !important;
}
.position-absolute {
    position: absolute !important;
}
.position-fixed {
    position: fixed !important;
}
.position-sticky {
    position: sticky !important;
}

/* Width & Height Utilities */
.w-25 {
    width: 25% !important;
}
.w-50 {
    width: 50% !important;
}
.w-75 {
    width: 75% !important;
}
.w-100 {
    width: 100% !important;
}
.w-auto {
    width: auto !important;
}

.h-25 {
    height: 25% !important;
}
.h-50 {
    height: 50% !important;
}
.h-75 {
    height: 75% !important;
}
.h-100 {
    height: 100% !important;
}
.h-auto {
    height: auto !important;
}

/* Shadow Utilities */
.shadow-sm {
    box-shadow: var(--elevation-1) !important;
}
.shadow {
    box-shadow: var(--elevation-2) !important;
}
.shadow-lg {
    box-shadow: var(--elevation-3) !important;
}
.shadow-none {
    box-shadow: none !important;
}

/* Custom Utility Classes */
.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 155, 142, 0.2);
}

.glow-effect {
    box-shadow: 0 0 20px rgba(74, 155, 142, 0.3);
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sage-gradient-text {
    background: var(--sage-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cyan-gradient-text {
    background: var(--cyan-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.cursor-pointer {
    cursor: pointer !important;
}
.cursor-default {
    cursor: default !important;
}
.cursor-not-allowed {
    cursor: not-allowed !important;
}

/* Skip to Content (Accessibility) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--bs-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    font-weight: bold;
}

.skip-link:focus {
    top: 6px;
}

/* Print Utilities */
.d-print-none {
    display: none !important;
}
.d-print-block {
    display: block !important;
}
.d-print-inline {
    display: inline !important;
}
.d-print-inline-block {
    display: inline-block !important;
}

/* Screen Reader Only */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.sr-only-focusable:focus {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: inherit !important;
    margin: inherit !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
}

/* ============================================
   PRINT STYLES & ACCESSIBILITY
   ============================================ */

@media print {
    /* Hide non-essential elements */
    .progress-indicator,
    .mobile-menu,
    .mobile-menu-overlay,
    .navbar,
    .footer,
    .newsletter-social-sharing,
    .newsletter-actions-bar,
    .quick-nav-item,
    .pagination-wrapper,
    .subscribe-cta,
    .service-filter-tabs,
    .content-tabs,
    .btn,
    .social-links {
        display: none !important;
    }

    /* Print-friendly styling */
    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 12pt;
        line-height: 1.5;
        padding: 0 !important;
    }

    .premium-card,
    .content-preview {
        background: white !important;
        color: black !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        page-break-inside: avoid;
        margin-bottom: 1rem !important;
    }

    .text-white,
    .text-light,
    .text-muted,
    .text-secondary {
        color: black !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: black !important;
        text-shadow: none !important;
        page-break-after: avoid;
    }

    a {
        color: #0066cc !important;
        text-decoration: underline !important;
    }

    /* Page breaks */
    .page-break-before {
        page-break-before: always;
    }

    .page-break-after {
        page-break-after: always;
    }

    .no-page-break {
        page-break-inside: avoid;
    }

    /* Print-specific margins */
    @page {
        margin: 2cm;
    }

    .container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
    }

    .row {
        margin: 0 !important;
    }

    .col,
    [class*="col-"] {
        width: 100% !important;
        padding: 0 !important;
    }
}

/* ============================================
   FINAL PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* Optimize heavy animations for performance */
.premium-card,
.service-card,
.feature-box {
    will-change: transform;
}

.premium-card:not(:hover),
.service-card:not(:hover),
.feature-box:not(:hover) {
    will-change: auto;
}

/* GPU acceleration for smooth animations */
.btn-premium,
.magnetic-button,
.micro-interaction {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Optimize images */
img {
    max-width: 100%;
    height: auto;
}

/* Content loading optimization */
.content-wrapper {
    contain: layout style paint;
}

/* ============================================
   FINAL CLEANUP & OVERRIDES
   ============================================ */


/* Ensure proper spacing and no conflicts */
.content-preview {
    margin-bottom: 2rem;
}

/* Final animation performance optimization */
@media (prefers-reduced-motion: reduce) {
    .particle,
    .bubble,
    .sparkle-effect::before,
    .sparkle-effect::after {
        display: none;
    }

    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Ensure no blurry text on transformations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Final mobile optimizations */
@media (max-width: 576px) {
    .premium-card {
        margin-bottom: 1.5rem;
    }

    .btn {
        min-height: 44px; /* Touch target size */
    }

    .form-control {
        min-height: 44px; /* Touch target size */
    }
}

/* Light Background Section Header */
.light-section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--navy-dark);
}

.light-section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.light-section-header .title-separator {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary) 0%, var(--accent-cyan-light) 100%);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    margin: 1rem auto 2rem auto;
}

.light-section-header .title-separator::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    animation: shine 2s infinite;
}

.light-section-header .section-subtitle {
    color: var(--navy-medium);
    font-size: 1.1rem;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.light-section-header .text-highlight {
    position: relative;
    display: inline-block;
    color: var(--navy-dark);
}

.light-section-header .text-highlight::after {
    content: "";
    position: absolute;
    left: -5px;
    bottom: 0;
    width: 0;
    height: 8px;
    background-color: rgba(74, 155, 142, 0.3);
    z-index: -1;
    transition: width 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.light-section-header:hover .text-highlight::after,
.light-section-header.active .text-highlight::after {
    width: calc(100% + 10px);
}

/* Animation for the shine effect */
@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .light-section-header {
        margin-bottom: 2rem;
    }

    .light-section-header h2 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .light-section-header .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
}


/* ===================================
   SERVICE PAGE STYLES
   =================================== */

/* Service Hero Sections */
.service-hero {
    position: relative;
    overflow: hidden;
    padding: 8rem 0 6rem 0;
    color: var(--navy-dark);
}

.commercial-hero {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(74, 155, 142, 0.15) 100%
        ),
        url("/wp-content/uploads/2025/06/up-keep-hero.jpg") center/cover;
}

.residential-hero {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(181, 201, 154, 0.2) 100%
        ),
        url("/wp-content/uploads/2025/08/house-cleaning-hero.webp") center/cover;
}
.move-in-out-hero {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(181, 201, 154, 0.2) 100%
        ),
        url("/wp-content/uploads/2025/08/move-out-hero.webp") center/cover;
}
.deep-cleaning-hero {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(181, 201, 154, 0.2) 100%
        ),
        url("/wp-content/uploads/2025/08/enjoy-your-time.jpg") center/cover;
}
/* Service Grid Layout */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* Ensure even layout on larger screens */
@media (min-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991.98px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Service Type Cards */
.service-type-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(74, 155, 142, 0.3);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(74, 155, 142, 0.2);
    border-color: rgba(74, 155, 142, 0.4);
    background: rgba(255, 255, 255, 1);
}

.service-type-card h4 {
    color: var(--navy-dark) !important;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-type-card p {
    color: var(--navy-dark) !important;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-type-card ul li {
    color: var(--navy-dark) !important;
    font-weight: 500;
}

/* Service Icons */
.service-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-type-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(74, 155, 142, 0.3);
}

/* Service Detail Cards */
.service-detail-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(6, 124, 145, 0.2);
    border-radius: 16px;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 25px rgba(6, 124, 145, 0.15);
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(6, 124, 145, 0.25);
    border-color: rgba(6, 124, 145, 0.4);
}

.service-card-header {
    background: linear-gradient(145deg, rgba(6, 124, 145, 0.1) 0%, rgba(76, 166, 184, 0.05) 100%);
    border-bottom: 1px solid rgba(6, 124, 145, 0.2);
    padding: 1.5rem;
    display: flex;
    align-items: center;
}

.service-card-header h4 {
    color: var(--navy-dark) !important;
    font-weight: 700;
    margin: 0;
}

.service-card-body {
    padding: 1.5rem;
}

/* Service Highlight Cards */
.service-highlight-card {
    background: linear-gradient(135deg, rgba(6, 124, 145, 0.1) 0%, rgba(76, 166, 184, 0.05) 100%);
    border: 2px solid var(--bs-primary);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Pricing Plan Cards */
.pricing-plan-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.9) 100%);
    border: 2px solid rgba(6, 124, 145, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.pricing-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(6, 124, 145, 0.2);
    border-color: rgba(6, 124, 145, 0.5);
}

.pricing-plan-card.popular {
    border-color: var(--bs-primary);
    box-shadow: 0 12px 30px rgba(6, 124, 145, 0.25);
}

.pricing-plan-card.popular:hover {
    box-shadow: 0 20px 40px rgba(6, 124, 145, 0.35);
}

.plan-header {
    padding: 2rem;
    background: linear-gradient(145deg, rgba(6, 124, 145, 0.05) 0%, rgba(76, 166, 184, 0.02) 100%);
    border-bottom: 1px solid rgba(6, 124, 145, 0.15);
}


.plan-body {
    padding: 2rem;
}

.plan-icon {
    width: 60px;
    height: 60px;
    background: var(--sage-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto;
}

.price-display {
    margin: 1rem 0;
}

.price-display .currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--bs-primary);
    vertical-align: top;
}

.price-display .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--bs-primary);
    line-height: 1;
}

.price-display .period {
    font-size: 1rem;
    color: var(--navy-dark);
    font-weight: 500;
}

/* Schedule Badges */
.schedule-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--accent-gradient) !important;
    color: white !important;
    border-radius: 25px;
    font-weight: 700 !important;
    font-size: 0.9rem;
    margin: 0.25rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--bs-primary);
    color: white;
    padding: 0.5rem 2.5rem;
    transform: rotate(45deg);
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--sage-green) !important;
    color: white !important;
    padding: 0.5rem 2.5rem;
    transform: rotate(45deg);
    font-weight: 700 !important;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(6, 124, 145, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(6, 124, 145, 0.1);
    display: flex;
    align-items: center;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li.included {
    color: var(--navy-dark);
}

/* Override ONLY for dark backgrounds - NOT white cards */
.section.bg-gradient-dark .feature-list li.included,
.section.bg-navy-gradient .feature-list li.included {
    color: #ffffff !important;
}

/* Checklist Items */
.checklist-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(6, 124, 145, 0.1);
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-icon {
    color: var(--sage-green);
    margin-right: 1rem;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* One-Time Options */
.one-time-option {
    background: rgba(6, 124, 145, 0.05);
    border: 1px solid rgba(6, 124, 145, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.one-time-option:hover {
    background: rgba(6, 124, 145, 0.1);
    border-color: rgba(6, 124, 145, 0.3);
    transform: translateY(-2px);
}

/* FAQ Styles */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(6, 124, 145, 0.2);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    background: linear-gradient(145deg, rgba(6, 124, 145, 0.05) 0%, rgba(76, 166, 184, 0.02) 100%);
    border-bottom: 1px solid rgba(6, 124, 145, 0.1);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: linear-gradient(145deg, rgba(6, 124, 145, 0.1) 0%, rgba(76, 166, 184, 0.05) 100%);
}

.faq-question h5 {
    color: var(--navy-dark) !important;
    font-weight: 700;
    margin: 0;
    flex: 1;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1.5rem;
    display: none;
    background: rgba(255, 255, 255, 0.98);
}

.faq-answer.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.faq-answer p {
    color: var(--navy-dark) !important;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Feature Boxes */
.feature-box {
    padding: 2rem;
}

.cleaning-feature-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-box:hover .cleaning-feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(6, 124, 145, 0.3);
}

/* Testimonial Styles */
.testimonial-commercial {
    background: rgba(255, 255, 255, 0.95);
    border-left: 4px solid var(--bs-primary);
    border-radius: 0 12px 12px 0;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quote-icon {
    color: var(--bs-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 700;
    color: var(--navy-dark);
}

.testimonial-position {
    font-size: 0.9rem;
    color: var(--bs-primary);
}

/* Light Section Headers */
.light-section-header h2 {
    color: white;
}

.light-section-header .section-subtitle {
    /* color: rgba(255, 255, 255, 0.9); */
}

/* Schedule Options */
.schedule-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

/* Service Areas Styles */
.service-area-map {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(6, 124, 145, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.coverage-info .d-flex {
    transition: all 0.3s ease;
}

.coverage-info .d-flex:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.area-stat {
    text-align: center;
    padding: 1rem;
}

.area-stat .h4 {
    font-weight: 800;
    margin: 0;
}

/* Guarantee Badges */
.guarantee-badges .d-flex {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 0.75rem 1rem;
    backdrop-filter: blur(10px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .service-hero {
        padding: 6rem 0 4rem 0;
    }

    .service-highlight-card {
        padding: 2rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-answer {
        padding: 1rem;
    }

    .plan-header,
    .plan-body {
        padding: 1.5rem;
    }

    .schedule-options {
        justify-content: flex-start;
    }

    .pricing-badge,
    .popular-badge {
        right: -1.5rem;
        padding: 0.4rem 2rem;
        font-size: 0.8rem;
    }
}

/* Additional Utility Classes */
.text-sage {
    color: var(--sage-green) !important;
}

.text-cyan {
    color: var(--cyan) !important;
}

.text-navy-medium {
    color: rgba(28, 42, 58, 0.8) !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.fw-800 {
    font-weight: 800 !important;
}


/* Commercial-specific enhancements */
.commercial-hero {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(6, 124, 145, 0.15) 100%
        ),
        url("/wp-content/uploads/2025/06/up-keep-hero.jpg") center/cover;
    position: relative;
    overflow: hidden;
    padding: 8rem 0 6rem 0;
    color: var(--navy-dark);
}

.business-type-card {
    background: rgba(255, 255, 255, 0.95); /* More opaque */
    border: 1px solid rgba(6, 124, 145, 0.3);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.business-type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(74, 155, 142, 0.2);
    border-color: rgba(74, 155, 142, 0.4);
    background: rgba(255, 255, 255, 1);
}

.business-type-card h4 {
    color: var(--navy-dark) !important;
    font-weight: 700;
    margin-bottom: 1rem;
}

.business-type-card p {
    color: var(--navy-dark) !important;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.business-type-card ul li {
    color: var(--navy-dark) !important;
    font-weight: 500;
}

.business-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.business-type-card:hover .business-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(74, 155, 142, 0.3);
}

/* Enhanced commercial service cards */
.commercial-service-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(74, 155, 142, 0.2);
    border-radius: 16px;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 25px rgba(74, 155, 142, 0.15);
}

.commercial-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(74, 155, 142, 0.25);
    border-color: rgba(74, 155, 142, 0.4);
}

.service-card-header {
    background: linear-gradient(145deg, rgba(74, 155, 142, 0.1) 0%, rgba(125, 211, 192, 0.05) 100%);
    border-bottom: 1px solid rgba(74, 155, 142, 0.2);
    padding: 1.5rem;
    display: flex;
    align-items: center;
}

.service-card-header h4 {
    color: var(--navy-dark) !important;
    font-weight: 700;
    margin: 0;
}

.service-card-body {
    padding: 1.5rem;
}

.commercial-checklist {
    background: transparent;
    padding: 0;
    margin: 0;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* Ensure even 2x4 layout on larger screens */
@media (min-width: 992px) {
    .industry-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991.98px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .industry-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.contract-highlight {
    background: linear-gradient(135deg, rgba(74, 155, 142, 0.1) 0%, rgba(125, 211, 192, 0.05) 100%);
    border: 2px solid var(--bs-primary);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.schedule-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--accent-gradient);
    color: white;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0.25rem;
}

.testimonial-commercial {
    background: rgba(255, 255, 255, 0.95);
    border-left: 4px solid var(--bs-primary);
    border-radius: 0 12px 12px 0;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Enhanced FAQ styling */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(74, 155, 142, 0.2);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    background: linear-gradient(145deg, rgba(74, 155, 142, 0.05) 0%, rgba(125, 211, 192, 0.02) 100%);
    border-bottom: 1px solid rgba(74, 155, 142, 0.1);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: linear-gradient(145deg, rgba(74, 155, 142, 0.1) 0%, rgba(125, 211, 192, 0.05) 100%);
}

.faq-question h5 {
    color: var(--navy-dark) !important;
    font-weight: 700;
    margin: 0;
    flex: 1;
}

.faq-answer {
    padding: 1.5rem;
    display: none;
    background: rgba(255, 255, 255, 0.98);
}

.faq-answer.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.faq-answer p {
    color: var(--navy-dark) !important;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .commercial-hero {
        padding: 6rem 0 4rem 0;
    }

    .contract-highlight {
        padding: 2rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-answer {
        padding: 1rem;
    }
}

/* CRITICAL PRICING CARD TEXT VISIBILITY FIXES */
.pricing-plan-card h4,
.pricing-plan-card span,
.pricing-plan-card small,
.pricing-plan-card p,
.pricing-plan-card .feature-list li,
.pricing-plan-card .feature-list li.included,
.pricing-plan-card .plan-header h4,
.pricing-plan-card .plan-header small,
.pricing-plan-card .pricing-display span,
.pricing-plan-card .currency,
.pricing-plan-card .amount,
.pricing-plan-card .period {
    color: #1a202c !important;
    font-weight: 600 !important;
}


/* Ensure pricing display is always visible */
.pricing-display {
    color: #1a202c !important;
}

.pricing-display .currency,
.pricing-display .amount,
.pricing-display .period {
    color: #1a202c !important;
    font-weight: 700 !important;
}

/* Plan headers */
.plan-header h4 {
    color: #1a202c !important;
    font-weight: 700 !important;
}

.plan-header small {
    color: #4b5563 !important;
    font-weight: 500 !important;
}

/* Feature list items */
.feature-list li {
    color: #1a202c !important;
}

.feature-list li span {
    color: #1a202c !important;
}

a.btn.btn-outline-light.btn-premium {
    color: var(--navy-dark);
}

a.btn.btn-outline-light.btn-premium:hover {
    color: white;
}
