/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header specific container for extra width */
.header .container {
    max-width: 1600px;
    padding: 0 40px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1rem;
}

/* Colors */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #059669;
    --accent-color: #f59e0b;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

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

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
}

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

.btn-accent:hover {
    background-color: #d97706;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white) !important;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Match outline button padding to accent button */
.btn-outline.btn-large {
    padding: 10px 32px 10px 32px !important; /* Custom padding: top right bottom left */
}

/* More specific rule for hero section outline button */
.hero .btn-outline.btn-large {
    padding: 10px 32px 10px 32px !important; /* Custom padding: top right bottom left */
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    position: relative;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
}

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

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

.logo a:hover {
    color: inherit;
    text-decoration: none;
}

.logo i {
    font-size: 2rem;
}

.logo div {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.header-actions {
    display: none;
    align-items: center;
    gap: 2rem;
}

.phone {
    color: var(--text-light);
    font-size: 0.9rem;
}

.phone i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    margin: 0 3rem;
}

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

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--white);
    background: var(--primary-color);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.nav-link.active:hover {
    color: var(--white);
    background: var(--primary-color);
    transform: translateY(-1px);
}

/* Mega Menu Styles */
.nav-item {
    position: relative;
}

.has-mega-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.has-mega-menu .nav-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.has-mega-menu:hover .nav-link i {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: -50px;
    transform: translateX(0);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    min-width: 800px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(0) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(0);
}

/* Dropdown Menu Styles */
.has-dropdown {
    position: relative;
}

.has-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.has-dropdown .nav-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 180px;
    margin-top: 0.5rem;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu ul {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 0 0.5rem;
}

.dropdown-menu a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mega-menu-column h4,
.mega-menu-title {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.mega-menu-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu-column li {
    margin-bottom: 0.75rem;
}

.mega-menu-column a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0.5rem 0;
    display: block;
    transition: all 0.3s ease;
    border-radius: 6px;
    padding: 0.5rem 1rem;
}

.mega-menu-column a:hover {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
    transform: translateX(4px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile Navigation */
@media (max-width: 1200px) {
    .nav-link {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 1024px) {
    .nav-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        margin: 0 1rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
}

@media (max-width: 1280px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 1rem;
        right: 1rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(59, 130, 246, 0.1);
        border-radius: 16px;
        display: none;
        z-index: 1000;
        margin: 0;
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        display: block;
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.5rem;
        background: transparent;
        border: none;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 10px;
        text-align: center;
        background: rgba(59, 130, 246, 0.05);
        border: 1px solid rgba(59, 130, 246, 0.1);
    }
    
    .nav-link:hover {
        background: rgba(59, 130, 246, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    }
    
    .nav-link.active {
        background: var(--primary-color);
        color: var(--white);
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
    }
    
    .nav-link.active:hover {
        background: var(--primary-color);
        color: var(--white);
    }
    
    .mobile-menu-toggle {
        display: flex;
        background: rgba(59, 130, 246, 0.1);
        border-radius: 8px;
        padding: 0.75rem;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(59, 130, 246, 0.15);
        transform: scale(1.05);
    }
    
    .hamburger-line {
        background-color: var(--primary-color);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Mobile Mega Menu */
    .mega-menu {
        position: static;
        background: transparent;
        backdrop-filter: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        min-width: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        margin-bottom: 1rem;
    }
    
    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mega-menu-column h4,
    .mega-menu-title {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.25rem;
        color: var(--primary-color);
    }
    
    .mega-menu-column a {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
        margin-bottom: 0.5rem;
        background: rgba(59, 130, 246, 0.03);
        border: 1px solid rgba(59, 130, 246, 0.08);
        border-radius: 8px;
    }
    
    .mega-menu-column a:hover {
        transform: none;
        background: rgba(59, 130, 246, 0.08);
    }
    
    .has-mega-menu .nav-link i {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    color: var(--white);
    padding: 5rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('attached_assets/Romford-Solar-Installation_LE_upscale_balanced_x1_1753639171006.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.text-accent {
    color: var(--accent-color);
}

.hero-subtitle {
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle p:last-child {
    margin-bottom: 0;
}

.hero-highlight {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-experience {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 0;
}

.experience-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .experience-text {
        font-size: 0.85rem;
        white-space: normal;
        max-width: 100%;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    width: 280px;
    min-height: 120px;
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    white-space: nowrap;
    line-height: 1.2;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    text-align: left;
    margin-bottom: 2rem;
}

.service-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.service-card h3 {
    text-align: left;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    white-space: normal !important;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-light) !important;
    font-size: 0.9rem;
}

.service-features i {
    color: var(--secondary-color);
    margin-right: 0.75rem;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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='%23f59e0b' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.why-choose-text h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}

.why-choose-text > p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.reasons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.reason {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reason::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reason:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.reason:hover::before {
    opacity: 1;
}

.reason-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 16px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.reason-icon i {
    font-size: 1.8rem;
}

.reason-content h3 {
    color: var(--text-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

.reason-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.why-choose-images {
    display: grid;
    gap: 2rem;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.image-gallery {
    position: relative;
    width: 100%;
}

.main-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s ease;
    display: block;
}

.gallery-thumbnails-container {
    position: relative;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 15px 0;
    overflow: visible;
}

.thumbnails-wrapper {
    flex: 1;
    position: relative;
    overflow: visible;
    padding: 10px;
}

.gallery-arrow {
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
    position: relative;
}

.gallery-arrow:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.gallery-arrow i {
    font-size: 1.2rem;
}

/* Hide arrows when not applicable */
#thumb-set-1:checked ~ .gallery-thumbnails-container .gallery-arrow-left {
    opacity: 0.3;
    cursor: not-allowed;
    transform: scale(0.9);
}

#thumb-set-2:checked ~ .gallery-thumbnails-container .gallery-arrow-right {
    opacity: 0.3;
    cursor: not-allowed;
    transform: scale(0.9);
}

.gallery-thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid transparent;
}

.gallery-thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

/* Remove old navigation styles */

/* Hide/show images based on radio buttons */
.gallery-radio {
    display: none;
}

.gallery-radio:checked + .main-image {
    display: block;
}

.gallery-radio:not(:checked) + .main-image {
    display: none;
}

/* Continuous thumbnail gallery */
#thumbnail-set-all {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.75rem;
    padding: 5px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#thumbnail-set-all::-webkit-scrollbar {
    display: none;
}

/* Navigation arrows update dynamically based on active image */
.gallery-arrow label {
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Dynamic arrow navigation based on current selection - LEFT ARROWS (go to previous) */
#gallery-1:checked ~ .gallery-thumbnails-container .gallery-arrow-left label[for="gallery-8"],
#gallery-2:checked ~ .gallery-thumbnails-container .gallery-arrow-left label[for="gallery-1"],
#gallery-3:checked ~ .gallery-thumbnails-container .gallery-arrow-left label[for="gallery-2"],
#gallery-4:checked ~ .gallery-thumbnails-container .gallery-arrow-left label[for="gallery-3"],
#gallery-5:checked ~ .gallery-thumbnails-container .gallery-arrow-left label[for="gallery-4"],
#gallery-6:checked ~ .gallery-thumbnails-container .gallery-arrow-left label[for="gallery-5"],
#gallery-7:checked ~ .gallery-thumbnails-container .gallery-arrow-left label[for="gallery-6"],
#gallery-8:checked ~ .gallery-thumbnails-container .gallery-arrow-left label[for="gallery-7"] {
    display: flex;
}

/* Dynamic arrow navigation based on current selection - RIGHT ARROWS (go to next) */
#gallery-1:checked ~ .gallery-thumbnails-container .gallery-arrow-right label[for="gallery-2"],
#gallery-2:checked ~ .gallery-thumbnails-container .gallery-arrow-right label[for="gallery-3"],
#gallery-3:checked ~ .gallery-thumbnails-container .gallery-arrow-right label[for="gallery-4"],
#gallery-4:checked ~ .gallery-thumbnails-container .gallery-arrow-right label[for="gallery-5"],
#gallery-5:checked ~ .gallery-thumbnails-container .gallery-arrow-right label[for="gallery-6"],
#gallery-6:checked ~ .gallery-thumbnails-container .gallery-arrow-right label[for="gallery-7"],
#gallery-7:checked ~ .gallery-thumbnails-container .gallery-arrow-right label[for="gallery-8"],
#gallery-8:checked ~ .gallery-thumbnails-container .gallery-arrow-right label[for="gallery-1"] {
    display: flex;
}

/* Center the Get Quote button */
.why-choose-text .btn {
    display: block;
    margin: 2rem auto 0;
    width: fit-content;
}

/* Responsive Design for Why Choose Us */
@media (max-width: 768px) {
    .reasons {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .why-choose-text h2 {
        font-size: 2.5rem;
    }
    
    .reason {
        padding: 1.5rem;
    }
    
    .reason-icon {
        width: 60px;
        height: 60px;
    }
    
    .main-image {
        height: 380px;
    }
    
    .gallery-thumbnails-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .gallery-arrow {
        width: 40px;
        height: 40px;
    }
    
    .gallery-arrow i {
        font-size: 1rem;
    }
    
    .thumbnail-set {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem;
    }
    
    .gallery-thumbnail {
        height: 80px;
    }
    
    .main-image {
        height: 400px;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.stars {
    display: flex;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.testimonial-card p {
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    background-color: #e5e7eb;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--text-light);
}

.author-name {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.author-location {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Additional Services Section */
.additional-services {
    padding: 5rem 0;
    background-color: var(--white);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: var(--white);
}

/* FAQ grid – FLEXBOX instead of GRID */
.faq-grid {
    display: flex;          /* flex layout */
    flex-wrap: wrap;        /* cards can wrap to new rows   */
    gap: 2rem;              /* keep your original gap size  */
    align-items: flex-start; /* ← key line: stop equal heights */
}

/* CARD width rules – 3 columns ≥ 1000 px, 2 columns ≥ 600 px */
.faq-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15), 
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    margin-bottom: 1rem;
    overflow: hidden;
    flex: 1 1 100%;                     /* default: one column */
}

/* ≥ 600 px viewport → two columns */
@media (min-width: 600px) {
    .faq-item {
        flex: 1 1 calc(50% - 2rem);     /* 2 across (gap already subtracted) */
    }
}

/* ≥ 1000 px viewport → three columns */
@media (min-width: 1000px) {
    .faq-item {
        flex: 1 1 calc(33.333% - 2rem); /* 3 across */
    }
}

/* Hide checkbox inputs completely */
.faq-toggle-input {
    display: none !important;
}

/* Style the clickable question */
.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    border: none;
    background: none;
    width: 100%;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.faq-question h3 {
    color: var(--text-color);
    margin: 0;
    flex: 1;
    font-size: 1.1rem;
    text-align: left;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

/* CRITICAL: Hide ALL FAQ answers by default */
.faq-answer {
    max-height: 0px !important;
    overflow: hidden !important;
    transition: max-height 0.4s ease !important;
    padding: 0px !important;
    margin: 0px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: block !important;
}

/* ONLY show the specific checked FAQ answer */
.faq-toggle-input:checked + .faq-question + .faq-answer {
    max-height: 500px !important;
    padding: 0 2rem 2rem 2rem !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Rotate the plus sign when checked */
.faq-toggle-input:checked + .faq-question .faq-toggle {
    transform: rotate(45deg) !important;
}

/* Style the answer text */
.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    padding-top: 1rem;
}

/* Service Areas Section */
.service-areas {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.area-item {
    background-color: var(--bg-light);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.area-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Homepage CTA Section - Original Blue Style */
.service-areas .cta-section {
    text-align: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(30, 64, 175, 0.9));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 4rem 2rem;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3), 
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.service-areas .cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-areas .cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--white);
}

.service-areas .cta-section .cta-subtext {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 500px !important;
    margin-left: auto;
    margin-right: auto;
    width: 500px;
    color: var(--white);
}

/* Solar Installation Page - Ensure service card headings stay white */
.solar-installation-page .solutions-showcase .service-header h3 {
    color: var(--white) !important;
}

.solar-installation-page .solutions-showcase .service-card h3 {
    color: var(--white) !important;
}

/* Solar Installation Page CTA Section - White Style */
.solar-installation-page .cta-section {
    background: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.solar-installation-page .cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}

.solar-installation-page .cta-section::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateY(-50%);
}

.solar-installation-page .cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.solar-installation-page .cta-content h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
}

.solar-installation-page .cta-content h2::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.solar-installation-page .cta-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-weight: 400;
}

.solar-installation-page .cta-content p:last-of-type {
    margin-bottom: 3rem;
}

.solar-installation-page .cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.solar-installation-page .cta-actions .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: center;
}

.solar-installation-page .cta-actions .btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #f59e0b);
    color: var(--white);
    border: 2px solid var(--accent-color);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.solar-installation-page .cta-actions .btn-primary:hover {
    background: linear-gradient(135deg, #f59e0b, var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.4);
}

.solar-installation-page .cta-actions .btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.solar-installation-page .cta-actions .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.3);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-benefits {
    margin-bottom: 3rem;
}

.benefit {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.benefit i {
    color: var(--secondary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-method i {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-method strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 0.25rem;
}

.contact-method p {
    color: var(--text-light);
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    border-radius: 20px;
    padding: 0;
    box-shadow: var(--shadow-lg);
}

.solar-form {
    padding: 2.5rem;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-light);
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.form-security {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.form-security i {
    margin-right: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-logo a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-logo a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.affiliation {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    border: 1px solid var(--primary-color);
}

.affiliation-text {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.affiliation-desc {
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-logo i {
    color: var(--accent-color);
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
    white-space: nowrap;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    color: #d1d5db;
    transition: all 0.3s ease;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.footer-section ul li:hover {
    padding-left: 4px;
}

.footer-section ul li:hover a {
    color: var(--accent-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

.footer-contact a {
    color: #d1d5db !important;
}

.footer-contact i {
    margin-right: 0.75rem;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

@media (max-width: 768px) {
    .footer-bottom p {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .copyright-line,
    .links-line {
        display: block;
    }
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-credits {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.footer-credits a {
    color: var(--accent-color);
    font-weight: 500;
}

/* Thank You Page Styles */
.thank-you-section {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 80vh;
}

.thank-you-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-icon i {
    font-size: 5rem;
    color: #10b981;
    animation: scaleIn 0.6s ease-out;
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.thank-you-content h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.thank-you-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.thank-you-message {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
    border-left: 4px solid var(--primary-color);
}

.thank-you-message p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

.next-steps {
    margin-bottom: 3rem;
}

.next-steps h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.step {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.step-number {
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.step-content h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.contact-urgency {
    margin-bottom: 3rem;
}

.urgency-box {
    background: linear-gradient(135deg, var(--accent-color), #f59e0b);
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.urgency-box i {
    font-size: 2rem;
    flex-shrink: 0;
}

.urgency-box h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.urgency-box p {
    margin: 0;
    line-height: 1.4;
}

.urgency-box .hours {
    font-size: 0.9rem;
    opacity: 0.9;
}

.thank-you-benefits {
    margin-bottom: 3rem;
}

.thank-you-benefits h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.benefit-item span {
    font-weight: 500;
    color: var(--text-color);
}

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

/* Desktop: Force three boxes in a row */
@media (min-width: 769px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Thank You Page Mobile Responsive */
@media (max-width: 768px) {
    .thank-you-content h1 {
        font-size: 2rem;
    }
    
    .thank-you-content h2 {
        font-size: 2.5rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .urgency-box {
        flex-direction: column;
        text-align: center;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .thank-you-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (min-width: 768px) {
    .header-actions {
        display: flex;
    }
    
    .hero-actions {
        flex-direction: row;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-title-top,
    .hero-title-main {
        font-size: 4rem;
        display: inline;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero {
        padding: 3rem 0;
        text-align: center;
        width: 100%;
        overflow-x: hidden;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
    }
    
    .hero-title-top {
        font-size: 2rem;
        color: var(--white);
        display: block;
        margin-bottom: 0.2rem;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title-main {
        font-size: 2.5rem;
        display: block;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section h4 {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        font-size: 1.5rem;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    /* Fix phone number visibility on mobile */
    .phone {
        color: var(--white) !important;
    }
    
    .header-actions .phone {
        color: var(--white) !important;
    }
    
    /* Phone links on light backgrounds: blue, underlined (dark blocks are set to white below the blog fixes). 30 Nov 2026 */
    a[href^="tel:"] {
        color: #1D4ED8 !important;
        text-decoration: underline;
    }
    
    /* Make email links visible in the site footer/contact only (not blog share chips) */
    .site-footer a[href^="mailto:"],
    .footer a[href^="mailto:"] {
        color: var(--white) !important;
        text-decoration: none;
    }
    
    /* Fix contact section styling on mobile - very specific selectors */
    .contact-method p,
    .contact-method p * {
        color: #000000 !important;
    }
    
    .contact-method strong {
        color: #000000 !important;
    }
    
    /* More specific mobile contact styling */
    .contact .contact-method p,
    .contact-methods .contact-method p,
    .contact .contact-method p *,
    .contact-methods .contact-method p * {
        color: #000000 !important;
    }
    
    .contact .contact-method strong,
    .contact-methods .contact-method strong {
        color: #000000 !important;
    }
    
    /* Override any phone link styling in contact section */
    .contact-method a[href^="tel:"],
    .contact .contact-method a[href^="tel:"],
    .contact-methods .contact-method a[href^="tel:"] {
        color: #000000 !important;
        text-decoration: none !important;
    }
    
    /* Add mobile padding to intro text */
    .section-header p {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Mobile gallery layout modifications */
    .gallery-thumbnails-container {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        padding: 15px 0;
        overflow: visible;
    }
    
    .thumbnails-wrapper {
        flex: none;
        width: auto;
        padding: 10px;
        overflow: visible;
    }
    
    /* Mobile thumbnail grid - show only 2 thumbnails with arrows */
    #thumbnail-set-all {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        overflow: hidden;
        padding: 5px;
        width: 200px;
        margin: 0 auto;
    }
    
    /* Show only current and next thumbnail on mobile */
    #thumbnail-set-all label {
        display: none;
    }
    
    /* Show specific thumbnail pairs based on selection */
    .image-gallery #gallery-1:checked ~ .gallery-thumbnails-container #thumbnail-set-all label:nth-child(1),
    .image-gallery #gallery-1:checked ~ .gallery-thumbnails-container #thumbnail-set-all label:nth-child(2) {
        display: block !important;
    }
    
    .image-gallery #gallery-2:checked ~ .gallery-thumbnails-container #thumbnail-set-all label:nth-child(2),
    .image-gallery #gallery-2:checked ~ .gallery-thumbnails-container #thumbnail-set-all label:nth-child(3) {
        display: block !important;
    }
    
    .image-gallery #gallery-3:checked ~ .gallery-thumbnails-container #thumbnail-set-all label:nth-child(3),
    .image-gallery #gallery-3:checked ~ .gallery-thumbnails-container #thumbnail-set-all label:nth-child(4) {
        display: block !important;
    }
    
    .image-gallery #gallery-4:checked ~ .gallery-thumbnails-container #thumbnail-set-all label:nth-child(4),
    .image-gallery #gallery-4:checked ~ .gallery-thumbnails-container #thumbnail-set-all label:nth-child(5) {
        display: block !important;
    }
    
    .image-gallery #gallery-5:checked ~ .gallery-thumbnails-container #thumbnail-set-all label:nth-child(5),
    .image-gallery #gallery-5:checked ~ .gallery-thumbnails-container #thumbnail-set-all label:nth-child(6) {
        display: block !important;
    }
    
    .image-gallery #gallery-6:checked ~ .gallery-thumbnails-container #thumbnail-set-all label:nth-child(6),
    .image-gallery #gallery-6:checked ~ .gallery-thumbnails-container #thumbnail-set-all label:nth-child(7) {
        display: block !important;
    }
    
    .image-gallery #gallery-7:checked ~ .gallery-thumbnails-container #thumbnail-set-all label:nth-child(7),
    .image-gallery #gallery-7:checked ~ .gallery-thumbnails-container #thumbnail-set-all label:nth-child(8) {
        display: block !important;
    }
    
    .image-gallery #gallery-8:checked ~ .gallery-thumbnails-container #thumbnail-set-all label:nth-child(8),
    .image-gallery #gallery-8:checked ~ .gallery-thumbnails-container #thumbnail-set-all label:nth-child(1) {
        display: block !important;
    }
    
    /* Fix FAQ section shadow cutoff on mobile */
    .faq-grid {
        padding-bottom: 2rem;
        overflow: visible;
    }
    
    .faq-item {
        margin-bottom: 2rem;
        overflow: visible;
    }
    
    .faq-item:last-child {
        margin-bottom: 3rem;
    }
    
    /* Mobile locations grid - 2 by 2 layout */
    .areas-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    
    .area-item {
        font-size: 0.85rem !important;
        padding: 0.75rem 1rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Fix CTA text overflow on mobile - Homepage */
    .service-areas .cta-section {
        padding: 1.5rem 0.75rem !important;
        margin: 0 0.5rem !important;
        border-radius: 16px !important;
    }
    
    .service-areas .cta-section p,
    .service-areas .cta-section .cta-subtext {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 1rem !important;
    }
    
    .service-areas .cta-section h3 {
        font-size: 1.3rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1.25rem !important;
    }

    /* Fix CTA text overflow on mobile - Solar Installation Page */
    .solar-installation-page .cta-section {
        padding: 1.5rem 0.75rem !important;
        margin: 0 0.5rem !important;
    }
    
    .gallery-thumbnail {
        height: 80px;
    }
    
    /* Position arrows on sides */
    .gallery-arrow {
        position: relative;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    
    .gallery-arrow i {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .hero-bg {
        background-attachment: scroll;
    }
    
    /* Ensure all sections are full width on mobile */
    section {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Grid fixes for mobile */
    .services-grid,
    .testimonials-grid,
    .reasons {
        width: 100%;
        max-width: 100%;
    }
    
    /* Fix additional services section spacing */
    .additional-services {
        padding: 3rem 0;
        margin-bottom: 2rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    /* Ensure proper background for all sections */
    .additional-services,
    .faq-section,
    .contact {
        background-color: var(--white);
        position: relative;
        z-index: 1;
        overflow: visible;
        padding-bottom: 3rem;
    }
    
    /* Keep service-areas with light background on mobile */
    .service-areas {
        background-color: var(--bg-light);
        position: relative;
        z-index: 1;
        overflow: visible;
        padding-bottom: 3rem;
    }
    
    /* Fix contact section spacing and background */
    .contact {
        padding: 3rem 0;
        margin-bottom: 0;
    }
    
    .contact-form {
        margin-bottom: 2rem;
    }
    

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        box-shadow: var(--shadow);
        border-radius: 12px;
    }
    
    .solar-form {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Ensure service cards have proper spacing and visibility */
    .additional-services .service-card:last-child {
        margin-bottom: 3rem;
    }
    
    /* Fix contact form bottom spacing */
    .contact-form {
        margin-bottom: 3rem;
    }
}

/* Service Page Styles */

/* Service Hero Section */
.service-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 100%);
    color: var(--white);
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    z-index: 1;
}

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

.service-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.service-hero .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.service-hero .hero-stats {
    display: flex !important;
    justify-content: center !important;
    gap: 1rem !important;
    margin: 3rem 0 !important;
}

.service-hero .stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    min-height: 120px !important;
    height: 120px !important;
    width: 250px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    flex: none !important;
}

.service-hero .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.service-hero .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-icon i {
    font-size: 1.5rem;
}

.benefit-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.step-number {
    background: var(--primary-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step-item h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.step-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}





/* Warning Signs / Feature Cards */
.warning-signs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.sign-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease;
}

.sign-card:hover {
    transform: translateY(-3px);
}

.sign-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.sign-icon.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: var(--white);
}

.sign-icon.warning {
    background: linear-gradient(135deg, var(--accent-color), #f59e0b);
    color: var(--white);
}

/* Property Types / System Types */
.property-types,
.system-sizes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.property-card,
.size-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.property-card:hover,
.size-card:hover {
    transform: translateY(-5px);
}

.property-icon {
    background: var(--bg-light);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.property-icon i {
    font-size: 1.5rem;
}

/* System Size Cards */
.size-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    position: relative;
}

.size-range {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.size-card.featured {
    border-top-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}

.size-details p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.size-details strong {
    color: var(--text-color);
}

/* Emergency/Upgrade Features */
.emergency-features,
.upgrade-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.emergency-card,
.upgrade-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.emergency-card:hover,
.upgrade-card:hover {
    transform: translateY(-5px);
}

.emergency-icon,
.upgrade-icon {
    background: linear-gradient(135deg, var(--secondary-color), #047857);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.emergency-icon i,
.upgrade-icon i {
    font-size: 1.5rem;
}

/* Inverter Types */
.inverter-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.inverter-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

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

.inverter-icon {
    background: var(--bg-light);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.inverter-specs {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.inverter-specs p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.inverter-brands {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.inverter-brands li {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Financing Options */
.financing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.financing-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

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

.financing-icon {
    background: linear-gradient(135deg, var(--secondary-color), #047857);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Section Backgrounds */
.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Enhanced Solar Panel Installation Page Designs */

/* Benefits Showcase Section */
.benefits-showcase {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.benefits-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.benefits-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.benefits-intro p {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.6;
}

.benefits-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefits-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.benefit-card.featured {
    background: linear-gradient(135deg, var(--white) 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.benefit-card.featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.benefit-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.benefit-visual i {
    font-size: 3rem;
    color: var(--primary-color);
}

.benefit-badge {
    background: linear-gradient(135deg, var(--accent-color), #f59e0b);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.benefit-card.featured .benefit-content h3 {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.benefit-content {
    text-align: left;
}

.benefit-content p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.benefits-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.benefits-side {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.benefits-cta {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.benefits-cta p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.benefits-cta .cta-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 0;
}

.benefits-cta .btn {
    align-self: flex-start;
}

.benefit-compact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.benefit-compact:last-child {
    border-bottom: none;
}

.benefit-compact i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.benefit-compact span {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
}

.benefits-footer {
    text-align: center;
}

.benefits-footer p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Solutions Showcase Section */
.solutions-showcase {
    padding: 5rem 0;
}

.solutions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.solutions-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.solutions-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.solutions-text p:nth-child(3) {
    margin-top: 0;
    margin-bottom: 2rem;
}

.solutions-highlight {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.highlight-item {
    text-align: center;
}

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

.highlight-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.solutions-certs {
    margin-top: 1.5rem;
    overflow: hidden;
    width: 580px;
    padding: 20px 0 35px 0;
}

.cert-carousel {
    width: 100%;
    overflow: hidden;
}

.cert-track {
    display: flex;
    gap: 1.2rem;
    animation: certSlide 20s infinite linear;
    width: max-content;
}

.cert-item {
    width: 130px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.cert-item:hover img {
    filter: grayscale(0%);
}

@keyframes certSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-130px * 7 - 8.4rem));
    }
}

.solutions-footer-text {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.solutions-services {
    display: grid;
    gap: 1.5rem;
}

.service-card {
    padding: 1.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.solutions-showcase .service-card.primary {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: var(--white);
}

.solutions-showcase .service-card.secondary {
    background: linear-gradient(135deg, var(--secondary-color), #047857);
    color: var(--white);
}

.solutions-showcase .service-card.accent {
    background: linear-gradient(135deg, var(--accent-color), #d97706);
    color: var(--white);
}

.solutions-showcase .service-card.neutral {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: var(--white);
}

.solutions-showcase .service-card.support {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: var(--white);
}

.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.service-header i {
    font-size: 1.5rem;
}

.service-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.solutions-showcase .service-card p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
    color: var(--white);
}

.solutions-footer {
    text-align: center;
    margin-top: 3rem;
}

.solutions-footer p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Installation Process Section */
.installation-process {
    padding: 5rem 0;
    background: var(--white);
}

.process-hero {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
    align-items: center;
    margin-bottom: 4rem;
}

.process-content {
    position: relative;
    z-index: 2;
}

.process-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.process-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.process-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.process-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.process-visual {
    display: flex;
    justify-content: center;
}

.process-visual {
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.app-image {
    max-width: 400px;
    max-height: 400px;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
}


.process-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.detail-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.detail-icon {
    background: var(--primary-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.detail-icon i {
    font-size: 1.5rem;
}

.detail-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.detail-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Advanced Solutions Section */
.advanced-solutions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.advanced-item {
    background: linear-gradient(135deg, var(--white), #f8fafc);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.advanced-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.advanced-item:hover::before {
    transform: scaleX(1);
}

.advanced-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: var(--primary-color);
}

.advanced-icon {
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.advanced-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-color), #f59e0b);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.advanced-item:hover .advanced-icon::before {
    opacity: 1;
}

.advanced-icon i {
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.advanced-item h3 {
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s ease;
}

.advanced-item:hover h3 {
    color: var(--primary-color);
}

.section-text {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    margin: 2rem auto 0;
    max-width: 600px;
}

/* Timing Section */
.timing-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.timing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
}

.timing-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.timing-header p {
    margin-top: 2rem;
}

.timing-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.timing-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.timing-carousel {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.timing-track {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    min-height: auto;
}

.timing-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, transparent 0%, rgba(245, 158, 11, 0.05) 25%, transparent 50%, rgba(59, 130, 246, 0.05) 75%, transparent 100%);
    z-index: 0;
}

.timing-track::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3) 20%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.3) 80%, transparent);
    transform: translateY(-50%);
    z-index: 1;
}

.timing-slide {
    position: relative;
    z-index: 2;
    flex: 1;
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.timing-slide:hover {
    transform: translateY(-15px) scale(1.08);
    z-index: 10;
}

.slide-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.4s ease;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.slide-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, transparent, var(--accent-color), transparent, var(--accent-color));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    opacity: 0;
    transition: all 0.4s ease;
}

.timing-slide:hover .slide-icon::before {
    opacity: 1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

.slide-icon i {
    font-size: 2.2rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.timing-slide:hover .slide-icon i {
    color: black;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.slide-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.slide-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: all 0.8s ease;
}

.timing-slide:hover .slide-content::before {
    left: 100%;
}

.slide-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.timing-slide:hover .slide-content h3 {
    color: var(--accent-color);
    text-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.slide-content p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.5;
    margin: 0;
    font-weight: 300;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.timing-slide:hover .slide-content p {
    opacity: 0.95;
}

.timing-slide:hover .slide-content {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.timing-conclusion {
    text-align: center;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.timing-conclusion {
    text-align: center;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.timing-conclusion p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
    color: var(--accent-color);
}

/* New Pages Styling */

/* Areas Page */
.areas-hero {
    background: linear-gradient(135deg, rgba(21, 128, 61, 0.95), rgba(22, 101, 52, 0.95)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="map" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23map)"/></svg>');
    color: var(--white);
    padding: 6rem 0;
    position: relative;
}

.areas-map-section {
    padding: 5rem 0;
    background: var(--white);
}

.map-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.coverage-benefits {
    margin-top: 2rem;
}

.benefit-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.benefit-point i {
    color: var(--secondary-color);
    width: 20px;
}

.map-visual {
    position: relative;
    height: 400px;
}

.essex-outline {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-light), #e2e8f0);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.location-pin {
    position: absolute;
    cursor: pointer;
}

.pin-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.pin-label {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.main-areas {
    padding: 5rem 0;
}

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

.area-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.area-card.featured {
    background: linear-gradient(135deg, var(--white) 0%, #f8fafc 100%);
    border: 2px solid var(--primary-color);
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.area-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.area-image i {
    font-size: 3rem;
    color: var(--primary-color);
}

.area-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.area-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.area-features i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.extended-coverage {
    padding: 5rem 0;
    background: var(--white);
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.coverage-column h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.location-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.location-item {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.location-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.local-benefits {
    padding: 5rem 0;
}

.benefits-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.benefits-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.benefit-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* Case Studies Page */
.case-studies-hero {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(124, 58, 237, 0.95));
    color: var(--white);
    padding: 6rem 0;
}

.hero-metrics {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.metric-item {
    text-align: center;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.featured-case-study {
    padding: 5rem 0;
    background: var(--white);
}

.featured-study {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.study-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.study-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.study-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.study-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.study-specs {
    margin: 2rem 0;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.spec-icon {
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spec-value {
    font-weight: 600;
    color: var(--text-color);
}

.spec-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.customer-quote {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    margin-top: 2rem;
}

.customer-quote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--text-color);
}

.case-studies-grid {
    padding: 5rem 0;
}

.studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.study-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.study-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-header {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
}

.card-badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-badge.commercial { background: var(--secondary-color); }
.card-badge.integration { background: var(--accent-color); }

.card-location {
    font-size: 0.9rem;
    color: var(--text-light);
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.quick-stats {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
}

.stat {
    text-align: center;
}

.case-studies-grid .stat-number {
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.case-studies-grid .stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.card-quote {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Reviews Page */
.reviews-hero {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(217, 119, 6, 0.95));
    color: var(--white);
    padding: 6rem 0;
}

.review-summary {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.stars i {
    color: #d97706 /* was #fbbf24 (1.67:1 on white); 3.19:1 */;
    font-size: 1.5rem;
}

.rating-score {
    font-size: 2rem;
    font-weight: 700;
}

.rating-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

.review-count {
    text-align: center;
}

.count-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.count-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.featured-reviews {
    padding: 5rem 0;
    background: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.review-card.featured {
    border: 2px solid var(--accent-color);
    transform: scale(1.02);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.reviewer-details h4 {
    margin: 0;
    color: var(--text-color);
}

.reviewer-location {
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.review-rating i {
    color: #d97706 /* was #fbbf24 (1.67:1 on white); 3.19:1 */;
}

.review-content p {
    line-height: 1.6;
    color: var(--text-color);
}

.review-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.reviews-masonry {
    padding: 5rem 0;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.review-item.compact {
    padding: 1.5rem;
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.review-stars i {
    color: #d97706 /* was #fbbf24 (1.67:1 on white); 3.19:1 */;
    font-size: 1rem;
}

.reviewer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.reviewer strong {
    color: var(--text-color);
    display: block;
}

.reviewer span {
    color: var(--text-light);
    font-size: 0.9rem;
}


/* FAQs Page */
.faqs-hero {
    background: linear-gradient(135deg, rgba(91, 94, 232, 0.95), rgba(79, 70, 229, 0.95)); /* lighter stop #6366F1 -> #5B5EE8 so white text is >= 4.5:1 (30 Nov 2026) */
    color: var(--white);
    padding: 6rem 0;
}

.hero-search {
    margin-top: 2rem;
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    background: var(--white);
    color: var(--text-color);
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.search-note a {
    color: var(--white);
    text-decoration: underline;
}

.faq-categories {
    padding: 5rem 0;
    background: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-icon {
    background: var(--bg-light);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.question-count {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.popular-questions {
    padding: 5rem 0;
}

.popular-faqs {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-item.featured {
    border: 2px solid var(--primary-color);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    color: var(--text-color);
}

.faq-icon {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-color);
    line-height: 1.6;
}

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(139, 92, 246, 0.95));
    color: var(--white);
    padding: 6rem 0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-badge {
    background: rgba(255,255,255,0.2);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    min-width: 100px;
}

.about-hero .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.about-hero .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem;
    color: var(--white);
}

.our-story {
    padding: 5rem 0;
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.story-timeline {
    margin-top: 2rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: start;
}

.timeline-year {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    min-width: 70px;
    text-align: center;
}

.timeline-content h4 {
    margin: 0 0 0.5rem;
    color: var(--text-color);
}

.timeline-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.story-values h3 {
    color: var(--text-color);
    margin-bottom: 2rem;
}

.value-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.value-icon {
    background: var(--bg-light);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.value-content h4 {
    margin: 0 0 0.5rem;
    color: var(--text-color);
}

.value-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.team-section {
    padding: 5rem 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.member-image {
    margin-bottom: 1.5rem;
}

.member-placeholder {
    width: 120px;
    height: 120px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 3rem;
}

.member-info h4 {
    margin: 0 0 0.5rem;
    color: var(--text-color);
}

.member-role {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.member-info p {
    margin: 1rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.member-credentials {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.credential {
    background: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-color);
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .benefits-layout,
    .solutions-content,
    .process-hero,
    .map-content,
    .featured-study,
    .story-content,
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .solutions-highlight,
    .hero-metrics,
    .review-summary,
    .hero-benefits,
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .timing-track {
        padding: 0 1rem;
    }
    
    .timing-slide {
        flex: 0 0 280px;
    }
    
    .areas-showcase,
    .studies-grid,
    .reviews-grid,
    .options-grid,
    .categories-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .spec-grid,
    .quick-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Results Showcase Section */
.results-showcase {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.results-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.results-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.results-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
}

.results-text h2::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.results-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.results-highlights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.highlight-row {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.highlight-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.highlight-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-text h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.highlight-text p {
    color: var(--text-light);
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.results-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.results-chart {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.chart-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
}

.chart-bars {
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 200px;
    gap: 1rem;
}

.chart-bar {
    flex: 1;
    display: flex;
    align-items: end;
    justify-content: center;
    position: relative;
}

.bar-fill {
    width: 100%;
    background: linear-gradient(180deg, var(--accent-color), #f59e0b);
    border-radius: 8px 8px 0 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    min-height: 40px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}

.bar-fill:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.bar-value {
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: auto;
}

.bar-label {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    position: absolute;
    bottom: -25px;
    white-space: nowrap;
}

/* Mobile responsiveness for results showcase */
@media (max-width: 768px) {
    .results-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .results-text h2 {
        font-size: 2rem;
    }
    
    .highlight-row {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .results-chart {
        padding: 2rem 1.5rem;
    }
    
    .chart-bars {
        height: 150px;
        gap: 0.5rem;
    }
}

/* Process Success Section */
.process-success {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.process-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}

.process-success h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.process-success h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.process-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
    border-radius: 2px;
    z-index: 1;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 3rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 3rem;
    text-align: left;
}

.timeline-marker {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 0 0 6px var(--white), 0 0 0 10px var(--primary-color);
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.timeline-marker:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px var(--white), 0 0 0 12px var(--primary-color), 0 8px 25px rgba(59, 130, 246, 0.3);
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    flex: 1;
    max-width: 400px;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transform: translateY(-50%) rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
}

.timeline-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    position: relative;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Mobile responsiveness for process timeline */
@media (max-width: 768px) {
    .process-timeline::before {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }
    
    .timeline-item .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 2rem;
        margin-right: 0;
        text-align: left;
        max-width: none;
    }
    
    .timeline-marker {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        position: absolute;
        left: 0;
        box-shadow: 0 0 0 4px var(--white), 0 0 0 8px var(--primary-color);
    }
    
    .timeline-content::before,
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
        right: auto;
    }
    
    .process-success h2 {
        font-size: 2rem;
    }
}

/* Case Studies CTA Section */
.case-studies-cta {
    background: linear-gradient(135deg, #ea580c 0%, #f59e0b 25%, #fbbf24 50%, #f97316 75%, #dc2626 100%);
    color: var(--white);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.case-studies-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(251, 191, 36, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(245, 158, 11, 0.3) 0%, transparent 50%);
    animation: gradientShift 8s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% { opacity: 0.4; }
    50% { opacity: 0.7; }
    100% { opacity: 0.4; }
}

.case-studies-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="hexagons" width="60" height="60" patternUnits="userSpaceOnUse"><polygon points="30,2 52,16 52,44 30,58 8,44 8,16" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="60" height="60" fill="url(%23hexagons)"/></svg>');
    animation: backgroundFloat 20s linear infinite;
    pointer-events: none;
}

@keyframes backgroundFloat {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-60px, -60px) rotate(360deg); }
}

.case-studies-cta .container {
    position: relative;
    z-index: 10;
}

.case-studies-cta .cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    padding: 5rem 4rem 6rem 4rem;
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 1px 0 rgba(255, 255, 255, 0.2) inset;
    position: relative;
    overflow: visible;
}

.case-studies-cta .cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

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

.case-studies-cta .cta-content::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.case-studies-cta h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.case-studies-cta h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #ef4444, #f59e0b);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.5);
}

.case-studies-cta p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2rem;
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.case-studies-cta .cta-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.case-studies-cta .btn {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 60px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    min-width: 250px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.case-studies-cta .btn::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.8s ease;
}

.case-studies-cta .btn:hover::before {
    left: 100%;
}

.case-studies-cta .btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #ef4444 100%);
    color: var(--white);
    box-shadow: 
        0 10px 30px rgba(245, 158, 11, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.case-studies-cta .btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(245, 158, 11, 0.6),
        0 0 50px rgba(245, 158, 11, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    background: linear-gradient(135deg, #fbbf24 0%, #fb923c 50%, #f87171 100%);
}

.case-studies-cta .btn-primary i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.case-studies-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.case-studies-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1);
}

.case-studies-cta .btn i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.case-studies-cta .btn:hover i {
    transform: scale(1.1);
}

/* Mobile responsiveness for case studies CTA */
@media (max-width: 768px) {
    .case-studies-cta {
        padding: 5rem 0;
    }

    .case-studies-cta .cta-content {
        padding: 4rem 2.5rem;
        margin: 0 1rem;
        border-radius: 24px;
    }

    .case-studies-cta h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .case-studies-cta p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .case-studies-cta .cta-actions {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .case-studies-cta .btn {
        width: 100%;
        max-width: 320px;
        min-width: auto;
        padding: 1.3rem 2rem;
        font-size: 1.1rem;
    }
}

/* Areas CTA Section */
.areas-cta {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(139, 92, 246, 0.95));
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.areas-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.areas-cta .container {
    position: relative;
    z-index: 2;
}

.areas-cta .cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 4rem 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.areas-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.2;
}

.areas-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.areas-cta .cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.areas-cta .btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 200px;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.areas-cta .btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #f59e0b);
    color: var(--white);
    border: 2px solid transparent;
}

.areas-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.4);
}

.areas-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.areas-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* Mobile Responsiveness for Service Pages */
@media (max-width: 768px) {
    .service-hero {
        padding: 5rem 0 3rem;
    }

    .areas-cta {
        padding: 4rem 0;
    }

    .areas-cta .cta-content {
        padding: 3rem 2rem;
        margin: 0 1rem;
    }

    .areas-cta h2 {
        font-size: 2rem;
    }

    .areas-cta .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .areas-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .benefits-grid,
    .solutions-grid,
    .advanced-solutions,
    .timing-benefits,
    .process-steps,
    .warning-signs,
    .property-types,
    .system-sizes,
    .emergency-features,
    .upgrade-options,
    .inverter-types,
    .financing-options {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 3rem 0;
    }
}

/* Auto-Scrolling Certifications */
.certifications-carousel {
    background-color: var(--bg-light);
    padding: 3rem 0 1rem 0;
    position: relative;
    overflow: hidden;
}

.auto-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.auto-scroll-track {
    display: flex;
    align-items: center;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.cert-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    min-width: 200px;
    margin: 0 1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.cert-logo:hover {
    transform: scale(1.1);
    animation-play-state: paused;
}

.auto-scroll-track:hover {
    animation-play-state: paused;
}

.cert-logo img {
    max-width: 180px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    transition: filter 0.3s ease;
}

.cert-logo:hover img {
    filter: brightness(1) contrast(1.2);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 2));
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cert-logo {
        height: 100px;
        min-width: 150px;
        margin: 0 0.25rem;
    }
    
    .cert-logo img {
        max-width: 130px;
        max-height: 80px;
    }
    
    .auto-scroll-track {
        animation-duration: 20s;
    }
    
    /* Reduce logo text size on mobile */
    .logo div {
        font-size: 1.6rem;
    }
    
    /* Reduce accreditations spacing on mobile */
    .certifications-carousel {
        padding: 1.5rem 0 0.5rem 0;
    }
    
    /* Ensure smooth animation on mobile without refresh */
    .auto-scroll-track {
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
    
    /* Reduce spacing after accreditations on mobile */
    .services {
        margin-top: -3rem;
    }
}

/* Hide mobile-only elements on desktop */
@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
    
    /* Make header phone icon blue on desktop */
    .header-actions .phone .fa-phone {
        color: var(--accent-color) !important;
    }
}

/* Certifications Text Section */
.certifications-text {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.cert-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cert-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.cert-badge i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

.cert-badge span {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.contact-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* Footer Bottom */
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left,
.footer-right {
    flex: 1;
    text-align: center;
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-left,
    .footer-right {
        text-align: center;
    }
}


/* ===== Preview fixes, 1 Nov 2026 (design re-check) ===== */
:root { --primary-color: #1D4ED8; --cta: #B45309; --cta-hover: #92400E; }
/* One CTA colour: #B45309 with white text (5.02:1) */
.btn-primary, .btn-accent, .btn-primary.btn-large, .btn-accent.btn-large, .hero .btn-accent, .header-actions .btn { background: var(--cta) !important; background-color: var(--cta) !important; color: #fff !important; border-color: var(--cta) !important; }
.btn-primary:hover, .btn-accent:hover { background: var(--cta-hover) !important; background-color: var(--cta-hover) !important; color: #fff !important; }
/* Hero: no empty band under it at 1440 */
.hero { min-height: auto; padding: 6rem 0 5rem; }
.hero-bg { background-attachment: scroll; }
/* Accreditation strip: static row of full-colour logos, ~48px high */
.certifications-carousel { padding: 2rem 0; }
.auto-scroll-wrapper { mask: none; -webkit-mask: none; overflow: visible; }
.auto-scroll-track { animation: none !important; width: 100%; flex-wrap: wrap; justify-content: center; gap: 1.25rem 2.5rem; transform: none !important; }
.cert-logo { height: 56px; min-width: 0; margin: 0; }
.cert-logo:hover { transform: none; }
.cert-logo img, .cert-logo:hover img { height: 48px; max-height: 48px; width: auto; max-width: 160px; filter: none; }
/* Footer */
.footer-credits, .footer-credits a { color: #CBD5E1; }
/* Mobile menu toggle sits outside nav.nav-menu */
.header-content { position: relative; }
@media (max-width: 1280px) {
  .mobile-menu-toggle { display: flex !important; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .mobile-menu-toggle ~ .header-actions { display: none; }
}
@media (max-width: 768px) { .header-actions { display: none; } }
@media (min-width: 1281px) { .mobile-menu-toggle { display: none !important; } }
/* Back-to-top: smaller and tucked into the corner on phones; only shown after the hero (JS) */
@media (max-width: 768px) { .back-to-top { width: 44px; height: 44px; right: 12px; bottom: 16px; } }
@media (max-width: 1280px) { .header > .container { overflow: visible; } .nav-menu.active { max-height: calc(100vh - 140px); overflow-y: auto; } }

/* ===== Preview fixes v4 ===== */
.footer-logo, .footer-logo a, .footer-logo a:hover { color: #FFFFFF; }
.cert-logo { height: auto; }
.cert-logo img, .cert-logo:hover img { height: 44px; max-height: none; width: auto; max-width: none; }
.drawer-cta { display: none; }
@media (max-width: 1280px) {
  .nav-menu { position: fixed !important; left: 0 !important; right: 0 !important; top: var(--drawer-top, 72px) !important; bottom: 0; border-radius: 0 !important; border: 0 !important; background: #fff !important; margin: 0 !important; max-height: none !important; overflow-y: auto; transform: none !important; }
  .nav-menu.active { display: block; }
  .drawer-cta { display: grid; gap: .6rem; padding: 1rem 1.25rem .5rem; }
  .drawer-cta .btn { width: 100%; justify-content: center; text-align: center; display: flex; align-items: center; gap: .5rem; min-height: 48px; }
  .drawer-cta .drawer-call, .drawer-cta .drawer-call i { background: #fff !important; color: #1D4ED8 !important; border: 2px solid #1D4ED8; opacity: 1 !important; visibility: visible !important; }
  .nav-menu .nav-list { padding: .5rem 1.25rem 1.5rem; gap: .4rem; }
  .nav-menu .nav-link { justify-content: space-between; text-align: left; }
  .nav-menu .has-mega-menu .mega-menu, .nav-menu .has-dropdown .dropdown-menu { display: none !important; }
  .nav-menu .has-mega-menu.open .mega-menu, .nav-menu .has-dropdown.open .dropdown-menu { display: block !important; position: static !important; opacity: 1 !important; visibility: visible !important; transform: none !important; box-shadow: none !important; }
  .nav-menu li.open > .nav-link .fa-chevron-down { transform: rotate(180deg); }
}
@media (max-width: 1280px) { .drawer-cta .drawer-call i { border: 0 !important; background: none !important; } }
/* ===== Preview fixes v5 ===== */
.cert-logo img[alt="MCS Certified"], .cert-logo img[alt="Green Deal Approved"], .cert-logo img[alt="Fox ESS Elite Installer"] { height: 62px; }
@media (max-width: 1280px) {
  .nav-menu .has-mega-menu > .nav-link .fa-chevron-down, .nav-menu .has-dropdown > .nav-link .fa-chevron-down { display: inline-block !important; opacity: 1 !important; visibility: visible !important; transition: transform .2s; }
}

/* redesign-v1: contrast + mobile overflow fixes */
.hero-overlay{background:linear-gradient(rgba(15,23,42,.65),rgba(15,23,42,.65))}
.hero .text-accent,.hero-title .text-accent{color:#fff}
.popular-badge{right:8px;color:#111827}
.contact-info,.contact-info *{min-width:0;overflow-wrap:anywhere}
@media(max-width:480px){.contact-info{max-width:100%}.contact-section .container>*,.contact-grid{grid-template-columns:minmax(0,1fr)!important}}
.page-photo{padding:2rem 0 0}.page-photo img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover;border-radius:16px}
/* amber text contrast audit (AA) */
.stat-content .stat-number{color:#92400E}
.areas-hero .stat-number{color:#fff}
.timing-section p[style*="color"],.timing-section .text-accent{color:#FDE68A!important}
.timing-section p{color:#FDE68A}

/* ===== 16 Nov 2026: hero trust badges, accreditation strip, site footer ===== */
.hero-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 860px; margin: 2.75rem auto 0; }
.trust-badge { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: .35rem; background: #fff; border-radius: 16px; padding: 1.25rem 1rem 1.1rem; text-decoration: none; color: #0f172a; text-align: center; box-shadow: 0 12px 32px rgba(2, 6, 23, .28); border: 1px solid rgba(255,255,255,.6); transition: transform .2s ease, box-shadow .2s ease; }
a.trust-badge:hover, a.trust-badge:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(2, 6, 23, .36); text-decoration: none; color: #0f172a; }
a.trust-badge:focus-visible { outline: 3px solid #FDE68A; outline-offset: 3px; }
.trust-logo { height: 52px; display: flex; align-items: center; justify-content: center; margin-bottom: .35rem; }
.trust-logo img { display: block; width: auto; height: 100%; max-width: 100%; }
.trust-logo--tm img { height: 34px; }
.trust-logo--mcs img { height: 52px; }
.trust-figure { height: 52px; margin-bottom: .35rem; display: flex; align-items: center; font-size: 2.6rem; font-weight: 800; line-height: 1; color: #92400E; letter-spacing: -.02em; }
.trust-title { font-size: 1rem; font-weight: 700; line-height: 1.25; color: #0f172a; }
.trust-meta { font-size: .85rem; line-height: 1.3; color: #475569; }
.trust-meta i { font-size: .7rem; margin-left: .2rem; color: #64748b; }
@media (max-width: 640px) {
  .hero-trust { grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 2rem; }
  .trust-badge { padding: 1rem .6rem .9rem; border-radius: 14px; }
  .trust-logo { height: 44px; }
  .trust-logo--tm img { height: 26px; }
  .trust-logo--mcs img { height: 44px; }
  .trust-title { font-size: .9rem; }
  .trust-meta { font-size: .78rem; }
  .trust-badge--stat { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: .75rem; padding: .85rem 1rem; text-align: left; }
  .trust-badge--stat .trust-figure { height: auto; margin: 0; font-size: 2rem; }
  .trust-badge--stat .trust-title { margin-right: .25rem; }
}

.accred-strip { background: #fff; padding: 3rem 0; border-bottom: 1px solid #e2e8f0; }
.accred-head { text-align: center; font-size: .8rem !important; letter-spacing: .14em; text-transform: uppercase; color: #475569; font-weight: 700; margin: 0 0 1.5rem; line-height: 1.4; }
.accred-list { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; max-width: 1080px; }
.accred-list > li { display: flex; }
.accred-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: 1.5rem 1rem 1.25rem; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; text-decoration: none; color: #0f172a; text-align: center; transition: border-color .2s ease, box-shadow .2s ease; }
a.accred-item:hover, a.accred-item:focus-visible { border-color: #93c5fd; box-shadow: 0 8px 24px rgba(15, 23, 42, .08); text-decoration: none; color: #0f172a; }
.accred-logo { height: 60px; display: flex; align-items: center; justify-content: center; margin-bottom: .5rem; }
.accred-logo img { display: block; width: auto; max-width: 100%; }
.accred-logo--mcs img { height: 60px; }
.accred-logo--tm img { height: 34px; }
.accred-logo--hies img { height: 42px; }
.accred-logo--napit img { height: 44px; }
.accred-name { font-weight: 700; font-size: .98rem; line-height: 1.3; }
.accred-meta { font-size: .85rem; line-height: 1.4; color: #475569; }
@media (max-width: 900px) { .accred-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .accred-strip { padding: 2.25rem 0; }
  .accred-list { gap: .75rem; }
  .accred-item { padding: 1.1rem .6rem 1rem; border-radius: 14px; }
  .accred-logo { height: 48px; }
  .accred-logo--mcs img { height: 48px; }
  .accred-logo--tm img { height: 26px; }
  .accred-logo--hies img { height: 32px; }
  .accred-logo--napit img { height: 34px; }
  .accred-name { font-size: .9rem; }
  .accred-meta { font-size: .78rem; }
}

.site-footer { background: #0f172a; color: #cbd5e1; padding: 4rem 0 1.5rem; text-align: left; }
.site-footer .sf-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid #1e293b; }
.site-footer .sf-logo { display: inline-block; font-size: 1.5rem; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -.01em; margin-bottom: 1rem; }
.site-footer .sf-logo:hover { color: #fff; text-decoration: none; }
.site-footer .sf-about { font-size: .95rem; line-height: 1.65; color: #cbd5e1; margin: 0 0 1.5rem; max-width: 36ch; }
.site-footer .sf-accred { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; max-width: 340px; }
.site-footer .sf-accred li > a, .site-footer .sf-accred li > span { display: flex; align-items: center; justify-content: center; height: 60px; padding: 0 .75rem; background: #fff; border-radius: 10px; transition: transform .2s ease; }
.site-footer .sf-accred li > a:hover { transform: translateY(-2px); }
.site-footer .sf-accred img { display: block; width: auto; max-width: 100%; height: 24px; }
.site-footer .sf-accred li:first-child img { height: 42px; }
.site-footer .sf-accred li:nth-child(3) img { height: 32px; }
.site-footer .sf-accred li:nth-child(4) img { height: 30px; }
.site-footer h4 { color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: .4rem 0 1.25rem; border: 0; padding: 0; }
.site-footer .sf-col ul { list-style: none; margin: 0; padding: 0; }
.site-footer .sf-col li { margin: 0 0 .7rem; }
.site-footer .sf-col li a, .site-footer .sf-contact a, .site-footer .sf-areas a { color: #cbd5e1; text-decoration: none; font-size: .95rem; line-height: 1.5; transition: color .15s ease; }
.site-footer .sf-col li a:hover, .site-footer .sf-contact a:hover, .site-footer .sf-areas a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .sf-contact a, .site-footer .sf-address { display: flex; align-items: flex-start; gap: .65rem; margin: 0 0 .85rem; color: #cbd5e1; font-size: .95rem; line-height: 1.5; }
.site-footer .sf-contact i { width: 16px; margin-top: .25rem; color: #FBBF24; flex: 0 0 16px; text-align: center; }
.site-footer .sf-contact a.sf-phone { font-size: 1.35rem; font-weight: 700; color: #fff; align-items: center; }
.site-footer .sf-contact a.sf-phone i { margin-top: 0; }
.site-footer .sf-email { word-break: break-word; }
.site-footer .sf-areas { font-size: .88rem; line-height: 1.6; color: #94a3b8; margin: 1.1rem 0 0; }
.site-footer .sf-areas a { font-size: .88rem; color: #FBBF24; font-weight: 600; }
.site-footer .sf-bottom { padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem 2rem; flex-wrap: wrap; font-size: .85rem; color: #94a3b8; }
.site-footer .sf-bottom p { margin: 0; line-height: 1.6; color: #94a3b8; }
.site-footer .sf-company { max-width: 70ch; }
.site-footer .sf-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.site-footer .sf-links a { color: #cbd5e1; text-decoration: none; }
.site-footer .sf-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) { .site-footer .sf-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; } }
@media (max-width: 640px) {
  .site-footer { padding: 3rem 0 6rem; }
  .site-footer .sf-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
  .site-footer .sf-brand, .site-footer .sf-contact { grid-column: 1 / -1; }
  .site-footer .sf-about { max-width: none; }
  .site-footer .sf-accred { max-width: none; }
  .site-footer .sf-col li a { font-size: .92rem; }
  .site-footer .sf-bottom { flex-direction: column; }
}
.site-footer .sf-bottom { padding-right: 4.5rem; }
@media (max-width: 640px) {
  .site-footer .sf-bottom { padding-right: 0; }
  .trust-badge--stat .trust-meta { display: none; }
  .trust-badge--stat .trust-title { white-space: nowrap; font-size: 1rem; }
}
/* 16 Nov 19:30: 5th accreditation (Fox ESS Elite) */
.accred-list { display: flex; flex-wrap: wrap; justify-content: center; max-width: 1180px; }
.accred-list > li { flex: 0 1 calc((100% - 4rem) / 5); }
.accred-logo--fox img { height: 60px; }
@media (max-width: 1100px) { .accred-list > li { flex-basis: calc((100% - 2rem) / 3); } }
@media (max-width: 640px) { .accred-list > li { flex-basis: calc((100% - .75rem) / 2); } .accred-logo--fox img { height: 48px; } }
.site-footer .sf-accred { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 360px; }
.site-footer .sf-accred li.sf-sq { grid-column: span 2; }
.site-footer .sf-accred li.sf-wide { grid-column: span 3; }
.site-footer .sf-accred li:first-child img, .site-footer .sf-accred li.sf-sq:first-child img { height: 42px; }
.site-footer .sf-accred li.sf-sq:last-child img { height: 42px; }
.site-footer .sf-accred li.sf-sq:nth-child(4) img { height: 26px; }
@media (max-width: 640px) { .site-footer .sf-accred { max-width: 420px; } }
.site-footer .sf-accred li.sf-sq { order: 1; } .site-footer .sf-accred li.sf-wide { order: 2; }



/* Blog / guides (added 29 Nov 2026) */
.blog-wrap{padding:2.5rem 0 4rem;background:#fff;color:#1f2937}
.blog-wrap h1{font-size:clamp(1.75rem,2.5vw,2.35rem);line-height:1.25;color:#111827;margin:0 0 0.75rem;letter-spacing:-0.02em;font-weight:700}
.blog-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:3rem;align-items:start;max-width:1120px;margin:0 auto}
.blog-article{min-width:0;color:#1f2937}
.blog-article h1{font-size:clamp(1.75rem,2.5vw,2.35rem);line-height:1.25;color:#111827;margin:0 0 0.75rem;letter-spacing:-0.02em;font-weight:700}
.blog-article h2{font-size:1.35rem;line-height:1.3;color:#111827;margin:2.25rem 0 0.75rem;font-weight:700}
.blog-article h3{font-size:1.25rem;line-height:1.3;color:#111827;margin:1.75rem 0 0.5rem;font-weight:700}
.blog-article p,.blog-article li{font-size:1.125rem;line-height:1.65;color:#1f2937}
.blog-article p{margin:0 0 1rem;max-width:40rem}
.blog-article ul,.blog-article ol{margin:0 0 1.25rem;padding-left:1.25rem;max-width:40rem}
.blog-article li{margin:0 0 0.45rem}
.blog-article a{color:#1D4ED8;text-decoration:underline;text-underline-offset:2px}
.blog-article a:hover{color:#1e40af}
.blog-kicker{font-size:0.8rem;font-weight:650;letter-spacing:0.08em;text-transform:uppercase;color:#1D4ED8;margin:0 0 0.6rem}
.blog-dek{font-size:1.2rem;line-height:1.5;color:#374151;margin:0 0 0.75rem;max-width:40rem}
.blog-meta{font-size:0.95rem;color:#6b7280;margin:0 0 1.5rem}
.blog-bc{font-size:0.875rem;margin:0 0 1.25rem;color:#6b7280}
.blog-bc ol{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:0.35rem;max-width:none}
.blog-bc li:not(:last-child)::after{content:"/";margin-left:0.35rem;color:#9ca3af}
.blog-hero-photo{margin:0 0 1rem;max-width:none}
.blog-hero-photo img,.blog-inline-photo img{display:block;width:100%;height:auto;max-height:420px;object-fit:cover;border-radius:16px}
.blog-hero-photo figcaption,.blog-inline-photo figcaption{font-size:0.85rem;color:#6b7280;margin-top:0.5rem}
.blog-inline-photo{margin:0 0 1.5rem;max-width:40rem}
.blog-trust{display:flex;flex-wrap:wrap;gap:0.55rem 1.25rem;margin:0 0 1.5rem;padding:0.85rem 0 1.1rem;border-bottom:1px solid #e5e7eb;font-size:0.9375rem;line-height:1.35;color:#374151;max-width:40rem}
.blog-trust span{display:inline-flex;align-items:center;gap:0.4rem;white-space:nowrap}
.blog-trust span::before{content:"";flex:0 0 0.65rem;width:0.65rem;height:0.65rem;border-radius:50%;background:#059669}
.blog-trust a{color:inherit}
.blog-jump{margin:0 0 1.5rem;padding:1rem 1.15rem;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;max-width:40rem}
.blog-jump p{margin:0 0 0.45rem;font-weight:650;color:#111827;font-size:1rem}
.blog-jump ol{margin:0;padding-left:1.2rem}
.blog-jump a{font-size:1.05rem}
.blog-check{list-style:none;padding:1rem 1.15rem;margin:0 0 1.25rem;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;max-width:40rem}
.blog-check li{padding-left:1.6rem;position:relative}
.blog-check li::before{content:"";position:absolute;left:0;top:0.55rem;width:0.7rem;height:0.7rem;border-radius:50%;background:#059669}
.blog-avoid{list-style:none;padding:1rem 1.15rem;margin:0 0 1.25rem;background:#fff7ed;border:1px solid #fed7aa;border-left:4px solid #B45309;border-radius:12px;max-width:40rem}
.blog-avoid li{padding-left:1.6rem;position:relative}
.blog-avoid li::before{content:"\00D7";position:absolute;left:0;top:0.2rem;width:1.1rem;height:1.1rem;border-radius:50%;background:#B45309;color:#fff;font-weight:700;font-size:0.95rem;line-height:1.1rem;text-align:center}
.blog-steps{list-style:none;padding:0;margin:0 0 1.25rem;max-width:40rem;display:grid;gap:0.75rem}
.blog-steps li{display:grid;grid-template-columns:2rem 1fr;gap:0.75rem;align-items:start;padding:0.9rem 1rem;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px}
.blog-steps .num{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:50%;background:#B45309;color:#fff;font-weight:700;font-size:0.95rem;line-height:1}
.blog-cta-box{margin:0 0 1.75rem;padding:1.2rem 1.25rem;background:#111827;color:#fff;border-radius:16px;max-width:40rem}
.blog-cta-box .blog-cta-title{margin:0 0 0.4rem;font-size:1.15rem;font-weight:700;color:#fff;line-height:1.3}
.blog-cta-box p{margin:0 0 0.85rem;color:#e5e7eb;font-size:1.05rem;max-width:none}
.blog-cta-actions{display:flex;flex-wrap:wrap;gap:0.75rem 1rem;align-items:center;margin:0!important}
.blog-cta-box .btn{text-decoration:none;color:#fff}
.blog-cta-phone{color:#fff!important;font-weight:650}
.blog-aside{position:sticky;top:6.5rem;display:flex;flex-direction:column;gap:1rem}
.blog-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:1.1rem 1.15rem}
.blog-card h2,.blog-card h3{margin:0 0 0.5rem;font-size:0.95rem;color:#111827}
.blog-card p{margin:0 0 0.75rem;font-size:0.95rem;line-height:1.5;color:#374151}
.blog-card a{color:#1D4ED8}
.blog-card .btn{display:inline-block;text-align:center;width:100%;text-decoration:none;color:#fff}
.blog-card .btn + .text-link{display:block;margin-top:0.6rem;text-align:center;font-size:0.85rem}
.blog-share{display:flex;flex-wrap:wrap;gap:0.5rem}
.blog-share a{display:inline-flex;align-items:center;gap:0.35rem;font-size:0.85rem;color:#1f2937!important;text-decoration:none;border:1px solid #e5e7eb;background:#fff;border-radius:999px;padding:0.35rem 0.7rem}
.blog-share a:hover{border-color:#1D4ED8;color:#1D4ED8!important}
.blog-share-end{display:none;margin:2rem 0 0}
.blog-index-list{display:grid;gap:1.25rem;max-width:56rem}
.blog-index-card{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);text-decoration:none;color:inherit;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;background:#fff}
.blog-index-card:hover{border-color:#93c5fd}
.blog-index-card img{width:100%;height:100%;max-height:none;aspect-ratio:3/2;object-fit:cover;object-position:center 30%;display:block}
.blog-index-card .body{padding:1.3rem 1.4rem 1.4rem;display:flex;flex-direction:column;justify-content:center}
.blog-index-card h2{margin:0 0 0.4rem;font-size:1.35rem;color:#111827;line-height:1.3}
.blog-index-card p{margin:0 0 0.8rem;color:#374151;font-size:1.05rem}
.blog-index-card .date{font-size:0.85rem;color:#6b7280;margin:0 0 0.4rem}
.blog-index-card .read{font-size:0.95rem;font-weight:650;color:#1D4ED8}
.blog-index-cta{margin:2rem 0 0;max-width:56rem;padding:1.4rem 1.5rem;background:#111827;color:#fff;border-radius:16px}
.blog-index-cta p{margin:0 0 0.9rem;font-size:1.15rem;color:#fff;max-width:36rem}
.blog-index-cta .blog-cta-actions{display:flex;flex-wrap:wrap;gap:0.75rem 1rem;align-items:center}
.blog-index-cta .btn{text-decoration:none;color:#fff}
.blog-index-cta .blog-cta-phone{color:#fff;font-weight:650}
@media (max-width: 900px){
  .blog-layout{grid-template-columns:1fr;gap:2rem}
  .blog-aside{position:static}
  .blog-share-end{display:block}
  .blog-aside .blog-share-card{display:none}
  .blog-index-card{grid-template-columns:1fr}
  .blog-index-card img{height:200px}
}

/* Blog: keep phone links readable on light backgrounds (the mobile rule above forces tel: links white). 30 Nov 2026 */
.blog-article > p a[href^="tel:"],
.blog-article li a[href^="tel:"],
.blog-card p a[href^="tel:"] { color: #1D4ED8 !important; font-weight: 650; text-decoration: underline; }
.blog-early-cta { margin: 0 0 1.5rem; padding: 0.8rem 1rem; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; max-width: 40rem; font-weight: 600; color: #374151; }
.blog-early-cta a { color: #B45309; }

/* Device QA fixes, 30 Nov 2026 (Designer report device-qa-20261130) */
/* 1: burger nav up to 1280px; logo and quote button never wrap */
.logo div, .header-actions .btn { white-space: nowrap; }
/* 2: phones/tablets: header lines up with the 15px content edge; logo on one line */
@media (max-width: 768px) {
  .header .container { padding: 0 15px; }
  .logo div { font-size: 20px; white-space: nowrap; }
}
/* 4: "How we clean" is a service panel with ticks, not numbered DIY steps */
.blog-service-panel{margin:0 0 1.5rem;padding:1.1rem 1.25rem;background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;max-width:40rem}
.blog-service-panel p{margin:0}
.blog-article .blog-ticks{list-style:none;padding:0;margin:0 0 0.9rem}
.blog-ticks li{position:relative;padding-left:1.75rem}
.blog-ticks li::before{content:"\2713";position:absolute;left:0;top:0.15rem;width:1.2rem;height:1.2rem;border-radius:50%;background:#1D4ED8;color:#fff;font-weight:700;font-size:0.8rem;line-height:1.2rem;text-align:center}
/* 5: no second "Book a clean" card under the dark CTA on tablets/phones */
@media (max-width: 768px) { .blog-aside .blog-card:first-child { display: none; } }
/* 6: share label, same small uppercase style everywhere */
.blog-share-label{margin:0 0 0.6rem!important;font-size:0.8rem!important;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;color:#374151!important;line-height:1.3}
/* 8 + 9: phone link in dark boxes underlined at every width; 44px tap targets */
.blog-cta-phone, .blog-index-cta .blog-cta-phone { text-decoration: underline !important; text-underline-offset: 2px; }
.blog-share a, .blog-cta-phone { min-height: 44px; display: inline-flex; align-items: center; }
/* 1b: 1281-1439px, keep logo + 6 nav links + quote button on one row inside the viewport */
@media (min-width: 1281px) and (max-width: 1439px) {
  .header .container { padding: 0 24px; }
  .logo div { font-size: 1.75rem; }
  .nav-menu { margin: 0 1rem; }
  .nav-link { padding: 0.75rem 0.8rem; }
}
/* Recheck 09:57: tel: links stay white only on dark blocks (all widths); everything else uses the blue rule above */
.btn:not(.drawer-call)[href^="tel:"],
.hero a[href^="tel:"],
.faqs-hero a[href^="tel:"],
.blog-cta-box a[href^="tel:"],
.blog-index-cta a[href^="tel:"],
.site-footer a[href^="tel:"],
.footer a[href^="tel:"] { color: #fff !important; }
.btn[href^="tel:"] { text-decoration: none; }
.blog-cta-box p:not(.blog-cta-actions) a[href^="tel:"] { text-decoration: underline; }
.contact-section .contact-info a[href^="tel:"], .contact-section a[href^="tel:"]:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }

/* ===== Designer recheck 10:13 + full text-contrast sweep (30 Nov 2026): every text 4.5:1 (3:1 large) at the lightest point ===== */
/* 1: FAQs hero note solid white */
.search-note { opacity: 1; }
/* 2: About hero darker gradient, dark chips, solid white labels and numbers */
.about-hero { background: linear-gradient(135deg, rgba(79, 70, 229, 0.95), rgba(109, 40, 217, 0.95)); }
.about-hero .stat-badge { background: rgba(15, 23, 42, 0.35); backdrop-filter: none; -webkit-backdrop-filter: none; }
.about-hero .stat-number { color: #fff !important; }
.about-hero .stat-label { opacity: 1; color: #fff; }
/* 3: policy pages: phone links blue and underlined at every width */
.policy-content a[href^="tel:"] { color: #1D4ED8 !important; text-decoration: underline; text-underline-offset: 2px; }
/* Service heroes (8 pages): same chip treatment as About */
.service-hero .stat-item { background: rgba(15, 23, 42, 0.25); }
.service-hero .stat-number { color: #fff; }
.service-hero .stat-label { opacity: 1; }
/* Areas hero and Areas CTA */
/* Areas hero: stops darkened in place (#22C55E/#16A34A -> #15803D/#166534) */
.areas-cta { background: linear-gradient(135deg, rgba(29, 78, 216, 0.95), rgba(109, 40, 217, 0.95)); }
.areas-cta .cta-content p { opacity: 1; color: #fff; }
.areas-cta .btn-secondary { background: rgba(15, 23, 42, 0.3) !important; color: #fff !important; }
/* Reviews hero: darker amber */
.reviews-hero { background: linear-gradient(135deg, rgba(180, 83, 9, 0.95), rgba(146, 64, 14, 0.95)); }
/* Home CTA band: darker lighter stop */
.service-areas .cta-section { background: linear-gradient(135deg, rgba(29, 78, 216, 0.95), rgba(30, 64, 175, 0.95)); }
.service-areas .cta-section p, .service-areas .cta-section .cta-subtext { opacity: 1; }
.reviews-hero .rating-subtitle { opacity: 1; }
.reviews-hero .stars i { color: #FCD34D; } /* hero-only; card stars stay #d97706 */
/* Installation page: solution cards, slides, badges */
.solutions-showcase .service-card.secondary { background: linear-gradient(135deg, #047857, #065F46); }
.solutions-showcase .service-card.accent { background: linear-gradient(135deg, #B45309, #92400E); }
.solutions-showcase .service-card.neutral { background: linear-gradient(135deg, #4B5563, #374151); }
.solutions-showcase .service-card.support { background: linear-gradient(135deg, #7C3AED, #6D28D9); }
.solutions-showcase .service-card p { opacity: 1; }
.slide-content p { opacity: 1; }
.benefit-badge { background: linear-gradient(135deg, #B45309, #92400E); }
/* Home "why choose" intro: grey on the tinted band */
.why-choose-text p { color: #4B5563; }
/* Blog dark boxes: in-sentence links white and underlined */
.blog-cta-box a:not(.btn) { color: #fff !important; text-decoration: underline; }
