:root {
    --primary-green: #00A86B;
    --primary-green-hover: #008f5b;
    --brand-blue: #0b3563;
    --brand-blue-hover: #08284b;
    --hero-blue: #0b3563;

    --dark-bg: #1a1a1a;
    --light-gray: #F5F5F5;
    --soft-blue-gray: #eff4f8;
    /* New color for segregation */
    --accent-yellow: #FFCE1B;
    --accent-yellow-hover: #e6b915;
    --text-primary: #333333;
    --text-secondary: #666666;
    --white: #FFFFFF;
    --border-gray: #E0E0E0;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- UTILITIES --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white) !important;
}

.text-blue {
    color: var(--brand-blue) !important;
}

.mt-2 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 48px;
}

.btn-primary {
    background-color: var(--brand-blue);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(11, 53, 99, 0.2);
}

.btn-primary:hover {
    background-color: var(--brand-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(11, 53, 99, 0.3);
}

.btn-accent-yellow {
    background-color: var(--accent-yellow);
    color: var(--brand-blue);
    box-shadow: 0 4px 15px rgba(255, 206, 27, 0.3);
}

.btn-accent-yellow:hover {
    background-color: var(--accent-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 206, 27, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark-bg);
}

.btn-secondary-dark {
    background-color: transparent;
    border: 2px solid var(--dark-bg);
    color: var(--dark-bg);
}

.btn-secondary-dark:hover {
    background-color: var(--dark-bg);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* --- REBATE URGENCY SECTION STYLING --- */
.rebate-urgency-section {
    background: #FAFAFA;
    border-top: 3px solid var(--accent-yellow);
    padding: 80px 20px;
}

.urgency-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.urgency-badge {
    background: var(--accent-yellow);
    color: var(--brand-blue);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 24px;
}

.urgency-headline {
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 16px;
    line-height: 1.2;
}

.urgency-subtext {
    font-size: 18px;
    color: #666666;
    margin-bottom: 28px;
    line-height: 1.5;
}

.urgency-cta {
    background: #00A86B;
    color: #FFFFFF;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
}

.urgency-cta:hover {
    background: #008c59;
    box-shadow: 0 6px 20px rgba(0, 168, 107, 0.3);
    transform: translateY(-2px);
}

.urgency-trust {
    font-size: 13px;
    color: #999999;
    margin-top: 20px;
    margin-bottom: 0;
}

/* --- URGENCY BANNER --- */
#urgency-banner {
    background-color: var(--accent-yellow);
    color: var(--brand-blue);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1001;
    font-weight: 700;
    font-size: 0.9rem;
}

.urgency-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-small-white {
    background: var(--brand-blue);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* --- NAVIGATION --- */
header {
    background: var(--white);
    padding: 10px 0;
    position: sticky;
    top: 45px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-blue);
    display: flex;
    align-items: center;
}

.logo-text span {
    color: var(--primary-green);
}

.error {
    font-size: 12px;
    color: red;
    padding-left: 5px;
    padding-top: 5px;
    font-weight: 700;
}

.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    font-weight: 700;
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- HERO SECTION --- */
#hero {
    position: relative;
    background: linear-gradient(rgba(11, 53, 99, 0.65), rgba(11, 53, 99, 0.75)), url('./../images/resources/nsw-solar-battery-header-image.jpg');
    background-size: cover;
    background-position: center;
    padding: 140px 0;
    color: var(--white);
    text-align: center;
    border-bottom: 4px solid var(--accent-yellow);
}

#hero h1 {
    color: var(--white);
    font-size: clamp(1.75rem, 4.5vw, 3.25rem);
    margin-bottom: 35px;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#hero .hero-body {
    max-width: 800px;
    margin: 0 auto 45px;
    font-size: 1.15rem;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    font-weight: 400;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.98);
    color: var(--dark-bg);
    padding: 12px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    height: fit-content;
}

/* --- ASSESSMENT & PROCESS STYLING --- */

/* Assessment Cards */
.assessment-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.assessment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.assessment-header {
    background: var(--brand-blue);
    color: white;
    padding: 20px;
    text-align: center;
}

.assessment-header h4 {
    color: white;
    margin: 0;
    font-size: 1.1rem;
}

.assessment-header i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--accent-yellow);
}

.assessment-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.assessment-approach {
    background: #f0f9ff;
    padding: 15px;
    margin-top: auto;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
}

/* Process Flow - Consultation */
.process-steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 40px;
    gap: 30px;
}

/* The connecting line */
.process-steps-container::before {
    content: '';
    position: absolute;
    top: 25px;
    /* Aligns with center of circle approx */
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e1e8ed;
    z-index: 1;
}

.process-step-card {
    background: white;
    padding: 40px 25px 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    border: 1px solid #eee;
    border-top: 5px solid var(--brand-blue);
    /* Added appeal */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
}

.process-step-card:hover {
    transform: translateY(-5px);
}

.step-number-circle {
    background: var(--brand-blue);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    margin: -65px auto 20px;
    /* Pull it up to sit on the edge */
    box-shadow: 0 0 0 5px white;
    /* White ring effect */
    position: relative;
    z-index: 2;
}

.step-icon-inner {
    color: var(--accent-yellow);
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: block;
}

/* Tech Cards */
.tech-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tech-header {
    padding: 20px;
    color: white;
    text-align: center;
}

.tech-header h4 {
    color: white;
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tech-body {
    padding: 25px;
    flex: 1;
}

.spec-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 15px;
}

.spec-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.spec-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    font-weight: 700;
    margin-bottom: 4px;
}

/* Section Title Decor */
.step-title-wrapper {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.step-pill {
    background: #eef4fb;
    color: var(--brand-blue);
    padding: 8px 24px;
    /* Increased padding */
    border-radius: 30px;
    font-size: 1.1rem;
    /* Increased size */
    font-weight: 800;
    margin-bottom: 10px;
    display: inline-block;
    border: 1px solid #d0e1f5;
}

/* --- FAQ SECTION STYLING --- */
#faq-section {
    padding: 100px 0;
    background: var(--soft-blue-gray);
    /* Segregated background */
    border-top: 1px solid #e1e8ed;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #dce2e8;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    /* Cards are white on the grey bg */
}

.faq-item:hover {
    border-color: var(--brand-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: #fff;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--brand-blue);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-green);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #fdfdfd;
    padding: 0 25px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-top: 0 solid transparent;
}

/* Simple toggle mechanism */
.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 25px;
    border-top: 1px solid var(--border-gray);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* --- SECTIONS GENERAL --- */
section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-gray);
}

.bg-white {
    background-color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

/* --- AESTHETIC BULLET LISTS --- */
.check-list {
    margin: 0;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}

.check-list li i.bullet-icon {
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--brand-blue);
    font-size: 1.1rem;
}

.hero-list li {
    color: var(--white) !important;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-list li i {
    color: var(--accent-yellow);
    background: rgba(255, 255, 255, 0.15);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.package-list li {
    padding-left: 0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--dark-bg);
}

.package-list li i {
    color: var(--primary-green);
    font-size: 1rem;
}

/* --- WHY ZIP SOLAR --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    color: var(--brand-blue);
    margin-bottom: 20px;
}

/* --- SOCIAL PROOF --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.stars {
    color: var(--accent-yellow);
    margin-bottom: 10px;
}

.review-meta {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-gray);
    padding-top: 10px;
}

/* --- BATTERY PACKAGES --- */
.packages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.package-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    transition: 0.3s;
}

.package-card.featured {
    border: 2px solid var(--brand-blue);
    box-shadow: 0 0 20px rgba(11, 53, 99, 0.15);
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent-yellow);
    color: var(--brand-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.package-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-gray);
}

.package-kwh {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-blue);
    line-height: 1;
}

/* --- FINAL CTA FORM --- */
#final-cta {
    background-color: var(--brand-blue);
    padding: 80px 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.form-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    margin-left: auto;
}

.form-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--brand-blue);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.form-group-full {
    grid-column: span 2;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: #fafafa;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-blue);
    background: white;
}

.steps-bar {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    gap: 10px;
}

.step-item {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    line-height: 1.2;
}

.step-icon {
    display: block;
    color: var(--primary-green);
    font-size: 1rem;
    margin-bottom: 5px;
}

/* --- FOOTER --- */
footer {
    background: var(--dark-bg);
    color: #ccc;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

/* --- MOBILE STICKY CALL BAR --- */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    padding: 12px 20px;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
}

.btn-call-mobile {
    flex: 1;
    background: var(--white);
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-quote-mobile {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    min-height: auto;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .brand-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-card {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-cta-group {
        display: none;
    }

    .mobile-sticky-bar {
        display: flex;
    }

    body {
        padding-bottom: 80px;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group-full {
        grid-column: auto;
    }

    /* Urgency Mobile Adjustments */
    .rebate-urgency-section {
        padding: 40px 16px;
    }

    .urgency-container {
        padding: 24px;
    }

    .urgency-headline {
        font-size: 24px;
    }

    .urgency-subtext {
        font-size: 16px;
    }

    .urgency-cta {
        font-size: 16px;
        padding: 14px 24px;
    }

    #hero {
        padding: 80px 0;
    }

    #hero h1 {
        font-size: 1.6rem;
    }

    /* Process Mobile Adjustments */
    .process-steps-container {
        flex-direction: column;
        gap: 50px;
        /* More space for circles */
    }

    .process-steps-container::before {
        width: 3px;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }
}