:root {
    --primary-orange: #F58220;
    --primary-green: #009640;
    --dark-green: #005c27;
    --primary-yellow: #FDB913;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    width: 100%;
    position: relative;
    z-index: 1000;
}

/* Top Bar */
.header-top-bar {
    background-color: var(--primary-green);
    color: #fff;
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact a {
    color: #fff;
    margin-right: 20px;
    font-weight: 500;
}

.top-contact i {
    margin-right: 5px;
}

.top-socials a {
    color: #fff;
    margin-left: 15px;
    transition: color 0.3s;
}

.top-socials a:hover {
    color: var(--primary-yellow);
}

/* Main Header */
.header-main {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.header-main.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.main-nav .nav-list > li > a.active-link {
    color: var(--primary-green);
}

.header-main-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text .prima {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-green);
    letter-spacing: -1px;
}

.logo-text .solutions {
    font-size: 0.8rem;
    color: var(--primary-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation */
.main-nav .nav-list {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav .nav-list > li {
    position: relative;
}

.main-nav .nav-list > li > a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 10px 0;
    display: block;
    position: relative;
}

.main-nav .nav-list > li > a:hover {
    color: var(--primary-green);
}

/* Dropdown Menu */
.has-dropdown > a i {
    font-size: 0.8rem;
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 3px solid var(--primary-green);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1100;
    border-radius: 0 0 5px 5px;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: background 0.2s;
}

.dropdown-menu li a:hover {
    background: #f9f9f9;
    color: var(--primary-green);
    padding-left: 25px; /* Slide effect */
}

/* CTA Button */
.header-cta {
    display: flex;
    align-items: center;
}

.btn-quote-nav {
    background-color: var(--primary-orange);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(245, 130, 32, 0.3);
    transition: transform 0.3s, background-color 0.3s;
}

.btn-quote-nav:hover {
    background-color: #e06d10;
    transform: translateY(-2px);
    color: #fff;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-left: 20px;
    cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .header-top-bar {
        display: none; /* Simplify for mobile */
    }

    .mobile-menu-toggle {
        display: block;
        z-index: 1200;
        position: relative;
    }

    /* Mobile Menu Drawer */
    .main-nav {
        display: block; /* Always block, controlled by transform */
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen */
        width: 80%; /* Drawer width */
        max-width: 300px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding: 80px 20px 20px;
        transition: right 0.3s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        overflow-y: auto;
        z-index: 1100;
    }

    .main-nav.active {
        right: 0; /* Slide in */
    }

    /* Mobile Menu Overlay */
    .main-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: -1;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s;
        pointer-events: none;
    }

    .main-nav.active::before {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        left: -100vw; /* Position overlay relative to nav container */
        width: 200vw; /* Cover screen */
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .main-nav .nav-list > li {
        border-bottom: 1px solid #f5f5f5;
        width: 100%;
    }

    .main-nav .nav-list > li > a {
        padding: 15px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 15px;
        display: none;
        background: #f9f9f9;
        margin-bottom: 10px;
    }

    .has-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .has-dropdown.active > a {
        color: var(--primary-green);
    }
    
    .has-dropdown.active > a i {
        transform: rotate(180deg);
    }

    .btn-quote-nav {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 40%, rgba(255,255,255,0) 100%);
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-left {
    max-width: 650px;
}

.hero-title {
    font-size: 6.5rem;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-title .highlight-orange {
    color: var(--primary-orange);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 500;
    max-width: 500px;
}

@media (max-width: 992px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-text-side {
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 3rem;
    }
}

/* Calculator Widget */
.calculator-widget {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    max-width: 500px;
    border: 1px solid rgba(0,0,0,0.05);
}

.widget-header {
    background: var(--primary-green);
    color: var(--white);
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-body {
    padding: 30px;
}

.postcode-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.postcode-input-group input {
    flex: 1;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.3s;
}

.postcode-input-group input:focus {
    border-color: var(--primary-orange);
}

.btn-check {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 0 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn-check:hover {
    background: var(--dark-green);
}

.widget-benefits {
    margin-bottom: 25px;
}

.widget-benefits li {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.widget-benefits li i {
    color: var(--primary-green);
    font-size: 1.1rem;
}

.btn-calculate-large {
    display: block;
    width: 100%;
    background: var(--primary-orange);
    color: var(--white);
    text-align: center;
    padding: 18px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(245, 130, 32, 0.4);
}

.btn-calculate-large:hover {
    background: #e06d10;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 130, 32, 0.5);
}

/* Green Strip */
.green-strip {
    background: var(--primary-green);
    padding: 40px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 10;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

.strip-content h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.btn-strip {
    background: var(--white);
    color: var(--primary-green);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-strip:hover {
    background: var(--primary-yellow);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.section-title {
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: 800;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-orange);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.services-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.service-card-v2 {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.icon-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border: 3px solid transparent;
    transition: border-color 0.3s;
}

.service-card-v2:nth-child(odd) .icon-circle {
    border-color: rgba(245, 130, 32, 0.2);
}

.service-card-v2:nth-child(even) .icon-circle {
    border-color: rgba(0, 150, 64, 0.2);
}

.icon-circle img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.service-card-v2 h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card-v2 p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-learn {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 30px;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: transform 0.3s;
}

.btn-learn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn-learn.orange { background: var(--primary-orange); }
.btn-learn.green { background: var(--primary-green); }

/* Why Choose Section */
.why-choose {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.overlay-green {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 150, 64, 0.9); /* Dark green overlay */
}

.why-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.why-content h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 40px;
    font-weight: 800;
}

.why-list {
    text-align: left;
    display: inline-block;
    margin-bottom: 40px;
}

.why-list li {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
}

.why-list li i {
    color: var(--primary-yellow);
    background: rgba(255,255,255,0.1);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

.btn-qualify {
    display: inline-block;
    background: var(--white);
    color: var(--primary-green);
    padding: 18px 50px;
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 8px;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-qualify:hover {
    background: var(--primary-yellow);
    color: var(--text-dark);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 2.5rem; }
    .header-nav ul { flex-wrap: wrap; justify-content: center; }
    .hero-left { margin: 0 auto; text-align: center; }
    .hero-layout { justify-content: center; }
    .calculator-widget { margin: 0 auto; }
}

@media (max-width: 768px) {
    .header-flex { flex-direction: column; text-align: center; }
    .header-contact { flex-direction: column; gap: 10px; }
    .header-nav ul li a { padding: 10px 15px; font-size: 0.9rem; }
    .hero-wrapper { padding: 60px 0; }
    .section-title h2 { font-size: 2rem; }
}

/* Footer Styles (Reverted) */
footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h3 {
    color: var(--primary-orange);
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: #ddd;
    transition: color 0.3s;
}
.footer-col ul li a:hover {
    color: var(--primary-green);
}
.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #aaa;
}

/* Hero Slider Styles */
.hero-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #333; /* Fallback */
}

.banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slider-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* Dark overlay for better text readability */
}

.slider-slide.active {
    opacity: 1;
}

.hero-layout {
    position: relative;
    z-index: 2;
}

/* Text Animations */
.hero-title, .hero-subtitle {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-text-hidden {
    opacity: 0;
    transform: translateY(20px);
}

.hero-text-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   NEWLY ADDED STYLES FOR SIDEBAR & FOOTER
   ========================================= */

/* =========================================
   SIDEBAR & HEADER REDESIGN (LEFT SIDE)
   ========================================= */

/* Main Layout Wrapper */
.site-wrapper {
    margin-left: 280px; /* Space for sidebar */
    transition: margin-left 0.3s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    width: auto;
    overflow-x: hidden;
}

/* Sidebar Navigation */
.sidebar-nav {
    position: fixed;
    top: 0;
    left: 0; /* Left side now */
    bottom: 0;
    width: 280px;
    height: 100vh;
    background: var(--dark-green); /* Dark Green matching logo */
    color: #fff;
    z-index: 2000;
    transition: transform 0.3s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sidebar-nav.minimized {
    transform: translateX(-280px);
}

/* Minimized State for Wrapper */
.site-wrapper.full-width {
    margin-left: 0;
}

/* Logo Area */
.sidebar-logo-area {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.sidebar-logo-area img {
    max-width: 160px; /* Reduced from 100% (approx 240px) to 160px */
    height: auto;
}

/* Menu Items */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: #b0bec5; /* Light grey text */
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.sidebar-menu li a:hover, .sidebar-menu li a.active {
    background: rgba(0,0,0,0.2);
    color: #fff;
    border-left: 4px solid var(--primary-orange);
}

.sidebar-menu li a i {
    width: 25px;
    margin-right: 10px;
    text-align: center;
    color: #78909c;
}

.sidebar-menu li a:hover i {
    color: var(--primary-orange);
}

/* Submenu */
.sidebar-submenu {
    background: rgba(0,0,0,0.2);
    display: none;
}

.has-submenu.active .sidebar-submenu {
    display: block;
}

.sidebar-submenu li a {
    padding-left: 55px;
    font-size: 0.9rem;
}

/* Contact Info Block */
.sidebar-contact-info {
    padding: 20px;
    background: rgba(0,0,0,0.1);
    margin-top: auto;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #fff;
    font-size: 0.9rem;
}

.contact-item i {
    margin-right: 10px;
    color: var(--primary-green);
}

/* Blog Widget */
.sidebar-widget {
    padding: 20px;
    background: #1d272c;
}

.widget-header h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

.blog-preview-card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.blog-preview-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.blog-preview-content {
    padding: 10px;
}

.blog-preview-content h4 {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 5px;
}

.blog-preview-content a {
    font-size: 0.8rem;
    color: var(--primary-orange);
    text-decoration: none;
}

.blog-dots {
    text-align: center;
    padding: 5px 0;
}

.blog-dots .dot {
    height: 8px;
    width: 8px;
    background-color: #555;
    border-radius: 50%;
    display: inline-block;
    margin: 0 2px;
}

.blog-dots .dot.active {
    background-color: #fff;
}

/* Social Icons */
.sidebar-social {
    padding: 15px 20px;
    display: flex;
    justify-content: space-around;
    background: #151d21;
}

.sidebar-social a {
    color: #b0bec5;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.sidebar-social a:hover {
    color: var(--primary-orange);
}

/* Mobile Header */
.site-header {
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: none; /* Hidden on desktop */
}

@media (max-width: 991px) {
    .site-wrapper {
        margin-left: 0;
    }

    .sidebar-nav {
        transform: translateX(-280px);
    }

    .sidebar-nav.active {
        transform: translateX(0);
    }
    
    .site-wrapper.pushed-mobile {
        transform: translateX(280px);
    }

    .site-header {
        display: block;
        position: sticky;
        top: 0;
        z-index: 1000;
    }
}

/* Hero Slider Styles (New) */
.hero-wrapper {
    position: relative;
    height: auto;
    min-height: 600px;
    background-color: #333;
    overflow: hidden;
}

.hero-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide-item.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-item .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* Consistent overlay */
}

/* Static Content over Slider */
.hero-static-content {
    position: relative;
    z-index: 10; /* Above slider */
    height: 100%;
    min-height: 600px; /* Match wrapper */
    display: flex;
    align-items: center;
}

.hero-content-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text-side {
    position: relative;
    z-index: 5;
}

/* Blog Slider Styles */
.blog-slide {
    display: none;
}
.blog-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

/* Accreditation Slider - No Shadow/Effects */
.accreditation-track img {
    width: 200px;
    padding: 0 30px;
    height: 60px;
    object-fit: contain;
    /* Removed grayscale and opacity per request */
    box-shadow: none !important;
}

.accreditation-track img:hover {
    transform: scale(1.05);
}
}

.postcode-header h4 {
    margin: 0;
    color: #2e7d32;
    font-size: 1.1rem;
    font-weight: 700;
}

.postcode-body {
    padding: 30px;
}

.input-group-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.input-group-row input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

.btn-check-postcode {
    background: #2e7d32;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.checklist {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.checklist li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
}

.checklist li i {
    color: #2e7d32;
    margin-right: 10px;
}

.btn-calculate-savings {
    display: block;
    width: 100%;
    background: var(--primary-orange);
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.btn-calculate-savings:hover {
    background: #e67e22;
    color: #fff;
}

.privacy-note {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    margin-top: 15px;
}

/* Service Icons Strip */
.service-icon-strip {
    background: #fff;
    padding: 30px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.service-strip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.strip-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s;
}

.strip-item:hover {
    transform: translateY(-5px);
}

.strip-item i {
    font-size: 2rem;
    color: #37474f;
    margin-right: 15px;
}

.strip-item h5 {
    margin: 0;
    font-size: 1rem;
    color: #333;
    line-height: 1.3;
}

/* Footer CTA Strip */
.footer-cta-strip {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    padding: 50px 0;
    color: #fff;
    margin-top: 0;
}

/* Blinking CTA Animation */
@keyframes cta-blink {
    0% { box-shadow: 0 0 0 0 rgba(0, 150, 64, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 150, 64, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 150, 64, 0); }
}

.btn-calculate-large, .btn-footer-cta, .btn-glow, .master-calc-cta .btn-white-outline {
    animation: cta-blink 2s infinite;
}

/* FAQ Section Styles */
.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary-green);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed */
}

.faq-item.active .faq-question {
    color: var(--primary-green);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Trustpilot Widget */
.trustpilot-badge:hover {
    transform: translateY(-5px);
}

.footer-cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-cta-text h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.footer-cta-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.btn-footer-cta {
    background: #fff;
    color: var(--primary-green);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-footer-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    color: var(--primary-orange);
}

/* Accreditation Slider */
.accreditation-section {
    padding: 50px 0;
    background: #fff;
    text-align: center;
    overflow: hidden;
}

.accreditation-section h4 {
    margin-bottom: 30px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
}

.accreditation-slider-container {
    width: 100%;
    overflow: hidden;
}

.accreditation-track {
    display: flex;
    width: calc(200px * 14); /* 14 images roughly */
    animation: scroll 40s linear infinite;
}

/* Accreditation Slider - No Shadow */
.accreditation-track img {
    width: 200px;
    padding: 0 30px;
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s, opacity 0.3s;
    box-shadow: none !important; /* Force no shadow */
}

.accreditation-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 7)); } /* Scroll half */
}

/* Newsletter Section */
.newsletter-section {
    background: #f4f4f4;
    padding: 60px 0;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h4 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.newsletter-content p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

.newsletter-form button {
    background: var(--primary-orange);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #e06d10;
}

/* Sidebar Toggle Button (Visible in Header) */
#sidebar-toggle-btn {
    display: block; /* Ensure it's visible */
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Restored Hero Styles */
.hero-text-side h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-text-side span.highlight {
    color: var(--primary-orange);
}

.postcode-card {
    background: #fff;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    max-width: 450px;
    margin-left: auto;
}

.postcode-header {
    background: #e8f5e9;
    padding: 15px 20px;
    border-bottom: 1px solid #c8e6c9;
}

@media (max-width: 991px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
        padding: 50px 0;
    }
    
    .hero-static-content {
        display: block;
        height: auto;
        min-height: auto;
        padding-bottom: 50px;
    }
    
    .postcode-card {
        margin: 20px auto;
        width: 100%;
    }
}


/* Testimonial Slider Styles - Added for Card Wide Slideshow */
.testimonial-slider-container {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding: 0 20px;
}

.testimonial-wrapper {
    position: relative;
    width: 100%;
    min-height: 300px; /* Ensure height for content */
}

.testimonial-slide {
    display: none; /* Hide by default */
    width: 100%;
    animation: fadeEffect 1s ease-in-out;
}

.testimonial-slide.active {
    display: block; /* Show when active */
}

.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    text-align: center;
    width: 100%; /* Full width relative to container */
    max-width: 1000px; /* Wide card */
    margin: 0 auto; /* Center it */
    border-top: 5px solid var(--primary-green);
}

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 25px;
    opacity: 0.3;
}

.testimonial-card .review-text {
    font-size: 1.4rem;
    font-style: italic;
    color: #444;
    margin-bottom: 35px;
    line-height: 1.8;
}

.testimonial-card .reviewer-info .name {
    display: block;
    font-weight: 800;
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.testimonial-card .reviewer-info .verified {
    display: inline-block;
    color: #fff;
    background: var(--primary-green);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.testimonial-dots {
    text-align: center;
    margin-top: 30px;
}

.testimonial-dots .dot {
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonial-dots .dot.active {
    background-color: var(--primary-orange);
    transform: scale(1.2);
}

@keyframes fadeEffect {
    from {opacity: 0;} 
    to {opacity: 1;}
}

/* Calculator Styles */
.calculator-section {
    padding: 60px 0;
    background-color: #f4f4f4;
}

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.progress-bar-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.progress-bar-container::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    z-index: 1;
}

.progress-step {
    width: 35px;
    height: 35px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    color: #fff;
    font-weight: bold;
    transition: 0.3s;
}

.progress-step.active {
    background: var(--primary-orange);
}

.progress-step.completed {
    background: var(--primary-green);
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.option-card {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

.option-card:hover {
    border-color: var(--primary-orange);
    background-color: #fff8f0;
}

.option-card.selected {
    border-color: var(--primary-green);
    background-color: #e8f5e9;
    color: var(--primary-green);
    font-weight: bold;
}

.option-card i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.calc-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-prev {
    background-color: #999;
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-next {
    background-color: var(--primary-orange);
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Results Styles */
.results-header {
    text-align: center;
    margin-bottom: 40px;
    background: #e8f5e9;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid var(--primary-green);
}

.savings-amount {
    font-size: 3.5rem;
    color: var(--primary-green);
    font-weight: bold;
    margin: 10px 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.result-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    border: 1px solid #eee;
}

.result-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.result-content {
    padding: 20px;
}

.result-content h3 {
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.savings-badge {
    background: var(--primary-green);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
}

.btn-details {
    display: block;
    width: 100%;
    padding: 10px;
    background: var(--primary-orange);
    color: #fff;
    text-align: center;
    margin-top: 15px;
    border-radius: 5px;
}

/* Hero Banner Layout Fixes */
.hero-content-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text-side {
    position: relative;
    z-index: 5;
    max-width: 550px;
}

.hero-spacer {
    width: 100%;
    min-height: 1px;
    grid-column: 1; /* Explicitly place in first column */
}

/* Ensure static content overlays correctly */
.hero-static-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let clicks pass through to slider */
    z-index: 10;
}

/* Re-enable pointer events for the calculator card */
.postcode-card {
    pointer-events: auto;
}

@media (max-width: 992px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-spacer {
        display: none;
    }
    /* On mobile, stack them naturally */
    .hero-static-content {
        position: relative;
        height: auto;
    }
}

/* Fix for slider text vertical alignment */
.hero-slide-item .container {
    display: flex;
    align-items: center;
}


/* UPDATED HERO TEXT SIZES - User Request */
.hero-text-side h1, .hero-title {
    font-size: 3.5rem !important; /* Force larger size */
}

.hero-subtitle {
    font-size: 1.2rem !important; /* Smaller, disciplined font size */
    color: #fff !important;       /* White text */
    font-weight: 400;             /* Normal weight */
    line-height: 1.6;             /* Clean line height */
    opacity: 0.95;                /* High visibility */
    max-width: 600px;             /* Controlled width */
    margin-top: 15px;
}

.hero-text-side {
    max-width: 650px !important; /* Allow more width for larger text */
}

@media (max-width: 992px) {
    .hero-text-side h1, .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.4rem !important;
    }
}


/* BLINKING FLASH EFFECT FOR CTA BUTTONS */
@keyframes cta-flash-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 130, 32, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px 0 rgba(245, 130, 32, 0.4);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 130, 32, 0);
        transform: scale(1);
    }
}

.btn-calculate-large, 
.btn-check, 
.btn-qualify, 
.btn-check-postcode, 
.btn-calculate-savings,
.btn-footer-cta {
    animation: cta-flash-pulse 2s infinite ease-in-out;
}

/* Ensure hover state overrides or pauses animation if needed, but usually keeping it is fine */
.btn-calculate-large:hover, 
.btn-check:hover, 
.btn-qualify:hover, 
.btn-check-postcode:hover, 
.btn-calculate-savings:hover,
.btn-footer-cta:hover {
    animation: none; /* Stop blinking on hover */
    transform: scale(1.05); /* Standard hover grow */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}


/* =========================================
   VIBRANT FORM & SUCCESS STYLES
   ========================================= */

.vibrant-form-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-top: 5px solid #F58220;
}

.vibrant-form-container h3 {
    color: #005c27;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 800;
}

.vibrant-form-container .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333333;
    font-size: 1rem;
}

.vibrant-form-container .form-group input[type="text"],
.vibrant-form-container .form-group input[type="email"],
.vibrant-form-container .form-group input[type="tel"],
.vibrant-form-container .form-group input[type="number"],
.vibrant-form-container .form-group select,
.vibrant-form-container .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: #fafafa;
    font-family: inherit;
}

.vibrant-form-container .form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.vibrant-form-container .form-group input:focus,
.vibrant-form-container .form-group select:focus,
.vibrant-form-container .form-group textarea:focus {
    border-color: #F58220;
    background: #fff;
    box-shadow: 0 5px 15px rgba(245, 130, 32, 0.1);
    outline: none;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.checkbox-card {
    position: relative;
    cursor: pointer;
}

.checkbox-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-card-inner {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    transition: all 0.3s;
    background: #fafafa;
}

.checkbox-card:hover .checkbox-card-inner {
    border-color: #ddd;
    background: #fff;
}

.checkbox-card input:checked + .checkbox-card-inner {
    border-color: #009640;
    background: rgba(0, 150, 64, 0.05);
    color: #009640;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 150, 64, 0.1);
}

.checkbox-card-inner i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.btn-submit-vibrant {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #F58220, #ff9f43);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(245, 130, 32, 0.3);
    transition: all 0.3s ease;
    margin-top: 30px;
}

.btn-submit-vibrant:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(245, 130, 32, 0.4);
}

.success-message-vibrant {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 15px 30px rgba(21, 87, 36, 0.15);
    border: 2px solid #c3e6cb;
}
