/* Apply Poppins font globally */
* {
    font-family: 'Poppins', sans-serif;
}

:root {
    --orange: #f56217;
    --form-bg: #1a2a40;
}

/* Topbar Styles */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
}

.headphone-icon {
    height: 45px;
    width: auto;
}

.small-icon {
    height: 20px;
    width: auto;
}

.contact-info p {
    font-size: 14px;
    line-height: 1.2;
}

.contact-info h5 {
    font-size: 20px;
    line-height: 1.2;
}

.contact-info a {
    text-decoration: none;
}

.phone-button {
    display: inline-block;
    text-decoration: none;
}

.quick-phone-icon {
    height: 50px;
    width: auto;
}

/* Hero Section */
.hero-section {
    background-image: url('../img/hero.png');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 40px;
    min-height: 100vh;
}

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

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

.hero-title {
    line-height: 1.2;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a1a1a;
}

.hero-solar {
    font-size: 6.5rem;
    letter-spacing: -2px;
    line-height: 68px;
}

.hero-contract {
    font-size: 4.5rem;
    letter-spacing: -1px;
    color: #1a1a1a;
}

img.form-arrow.img-fluid {
    position: absolute;
    left: 29px;
    width: 50px;
    top: -12px;
}

/* Form Container */
.form-container {
    background-color: var(--form-bg);
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-header h4 {
    font-size: 18px;
    font-weight: 400;
}

.icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.arrow-wrapper {
    margin: 20px 0;
}

/* Form Styling */
.question-form .form-label {
    font-size: 18px;
}

.badge.bg-orange {
    background-color: var(--orange) !important;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 5px;
}

.form-select {
    border: none;
    padding: 15px;
    font-size: 16px;
    background-color: white;
}

.btn-orange {
    background-color: var(--orange);
    border: none;
    color: white;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-orange:hover {
    background-color: #e05010;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 98, 23, 0.4);
    color: white;
}

.btn-orange:hover svg path {
    stroke: white;
}

/* Logos Section */
.logos-section {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.logos-img {
    max-height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Reviews Section */
.reviews-section {
    background-color: #f3f4f7;
}

.review-icon {
    height: 50px;
    width: auto;
}

.reviews-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 2px;
}

.reviews-subtitle {
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.text-real {
    color: #4A90E2;
    font-weight: 600;
}

.text-experiences {
    color: #6c757d;
    font-weight: 400;
}

.review-card {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.review-avatar {
    width: 60px;
    height: 60px;
}

.review-avatar img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.review-text {
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
}

/* Empowering Homeowners Section */
.empowering-section {
    background-image: url('../img/solar.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    position: relative;
    padding: 100px 0;
}

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

.empowering-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.empowering-text {
    font-size: 1.4rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* Free Evaluation Section */
.evaluation-section {
    background-color: #f3f4f7;
    position: relative;
}

.evaluation-text-wrapper {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
}

.overlay-bg-logo {
    position: absolute;
    top: -20px;
    left: 0;
    max-width: 250px;
    height: auto;
    opacity: 0.9;
    z-index: 1;
}

.evaluation-text {
    position: relative;
    z-index: 2;
}

.evaluation-text .lead {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #2c3e50;
}

.evaluation-form-card {
    background-color: white;
    border-radius: 15px;
    padding: 50px 80px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 100px auto 0;
    position: relative;
}

.bottom-arrow-wrapper {
    position: absolute;
    top: -40px;
    left: 50px;
}

.bottom-arrow {
    width: 80px;
    height: auto;
}

.evaluation-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
}

.evaluation-form-content .form-select {
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    font-size: 1.1rem;
}

/* Footer Section */
.footer-section {
    background-color: #fff;
    border-top: 1px solid #e5e5e5;
}

.disclaimer-content h6 {
    font-size: 1.1rem;
    color: #2c3e50;
}

.disclaimer-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1rem;
}

.footer-bottom hr {
    border-color: #dee2e6;
}

.copyright-text {
    font-size: 1.05rem;
    color: #2c3e50;
    font-weight: 500;
}

.footer-links {
    font-size: 1.05rem;
}

.footer-link {
    color: #1e90ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #0066cc;
    text-decoration: underline;
}

/* Question Section 2+ */
.question-section {
    background-image: url('../img/section-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.question-card {
    /* max-width: 9000px; */
    margin: 0 auto;
    text-align: center;
}

.question-title {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.4;
}

.question-title .badge {
    font-size: 1.8rem;
    padding: 8px 18px;
    border-radius: 5px;
    flex-shrink: 0;
}

.radio-options {
    margin-left: 60px;
}

/* Custom Radio Button Styling */
.radio-option-label {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.radio-option-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-custom {
    position: relative;
    width: 35px;
    height: 35px;
    border: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    margin-right: 20px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.radio-option-label input[type="radio"]:checked~.radio-custom {
    border-color: #4A90E2;
    background-color: transparent;
}

.radio-option-label input[type="radio"]:checked~.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #4A90E2;
}

.radio-text {
    font-size: 2rem;
    font-weight: 400;
    color: white;
}

.page-counter {
    font-size: 1.3rem;
    opacity: 1;
    color: #c5f2ff;
    margin-top: 80px;
}

/* Contact Form Section */
.contact-form {
    max-width: 500px;
}

.contact-form .form-control {
    background-color: white;
    border: 1px solid #dee2e6;
    padding: 18px 20px;
    font-size: 1rem;
    width: 100%;
}

.contact-form .form-control::placeholder {
    color: #adb5bd;
}

.contact-form .form-label {
    font-size: 1.1rem;
    font-weight: 400;
    text-align: left;
}

.send-btn {
    width: 100%;
    max-width: 500px;
    font-size: 1.2rem;
}

.consent-section {
    padding: 0;
    background-color: transparent;
    max-width: 500px;
}

.consent-text {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 1;
    text-align: left;
}

.consent-section .form-check-input {
    background-color: transparent;
    border: 2px solid white;
    cursor: pointer;
}

.consent-section .form-check-input:checked {
    background-color: #4A90E2;
    border-color: #4A90E2;
}

/* Thank You Section */
.thank-you-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.thank-you-text {
    font-size: 24px;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.phone-icon {
    width: 60px;
    height: 60px;
}

.phone-number {
    font-size: 2.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #c5f2ff !important;
    transition: opacity 0.3s ease;
}

.phone-number:hover {
    opacity: 0.8;
    color: #c5f2ff !important;
}

.full-btn {
    width: 400px;
    border-radius: 0;
    font-size: 23px;
    font-weight: 500;
    letter-spacing: 1px;
    max-width: 95%;
}

body,
html {
    overflow-x: hidden;
}

.ckmark {
    color: rgb(94 239 6) !important;
    font-size: 1.2em;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo {
        height: 50px;
    }

    .headphone-icon {
        height: 35px;
    }

    .contact-info h5 {
        font-size: 16px;
    }

    .contact-info p {
        font-size: 12px;
    }

    .hero-section {
        min-height: 60vh;
        padding: 10px 0;
        background-position: -104px -264px;
    }

    .hero-section .container {
        padding-bottom: 0;
    }

    .hero-section .row {
        margin-bottom: 0;
    }

    .hero-title {
        margin-bottom: 10px !important;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-solar {
        font-size: 3rem;
        line-height: 22px;
    }

    .hero-contract {
        font-size: 2.2rem;
    }

    /* Make form section full-screen on mobile */
    .hero-section .col-lg-5 {
        margin-left: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-top: 0 !important;
    }

    .form-container {
        padding: 17px 14px;
        margin-top: 0;
        border-radius: 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .form-header h4 {
        font-size: 18px;
    }

    .form-header h3 {
        font-size: 1.8rem;
    }

    .form-header p {
        font-size: 14px;
    }

    .form-label {
        font-size: 16px;
    }

    .badge.bg-orange {
        font-size: 16px;
        padding: 8px 14px;
    }

    .btn-orange {
        font-size: 18px;
        font-weight: 600;
    }

    /* Reviews slider on mobile */
    .reviews-section {
        padding: 40px 0 !important;
    }

    .reviews-section .text-center.mb-5 {
        margin-bottom: 30px !important;
    }

    .reviews-section .row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        margin: 0;
        padding: 0 15px 20px 15px;
    }

    .reviews-section .row::-webkit-scrollbar {
        height: 8px;
    }

    .reviews-section .row::-webkit-scrollbar-track {
        background: #e0e0e0;
        border-radius: 10px;
    }

    .reviews-section .row::-webkit-scrollbar-thumb {
        background: #4A90E2;
        border-radius: 10px;
    }

    .reviews-section .col-md-6 {
        flex: 0 0 85%;
        max-width: 85%;
        scroll-snap-align: center;
    }

    .review-card {
        height: 100%;
        min-height: 200px;
    }

    .empowering-section {
        padding: 60px 0;
    }

    .empowering-title {
        font-size: 2rem;
    }

    .empowering-text {
        font-size: 1rem;
    }

    .overlay-bg-logo {
        max-width: 150px;
        top: -10px;
    }

    .evaluation-text .lead {
        font-size: 1.1rem;
    }

    .evaluation-form-card {
        padding: 40px 20px;
    }

    .bottom-arrow-wrapper {
        top: -30px;
        left: 20px;
    }

    .bottom-arrow {
        width: 60px;
    }

    .evaluation-form-title {
        font-size: 1.5rem;
    }

    .question-section {
        padding: 40px 0;
    }

    .question-title {
        font-size: 1.4rem;
    }

    .question-title .badge {
        font-size: 1.3rem;
        padding: 6px 14px;
    }

    .radio-options {
        margin-left: 0;
    }

    .radio-custom {
        width: 28px;
        height: 28px;
        border-width: 2px;
    }

    .radio-option-label input[type=\"radio\"]:checked~.radio-custom::after {
        width: 14px;
        height: 14px;
    }

    .radio-text {
        font-size: 1.5rem;
    }

    .thank-you-title {
        font-size: 2.5rem;
    }

    .thank-you-text {
        font-size: 1rem;
    }

    .phone-icon {
        width: 45px;
        height: 45px;
    }

    .phone-number {
        font-size: 1.8rem;
    }

    img.form-arrow.img-fluid {
        position: absolute;
        left: 0;
        top: -12px;
    }

    .form-container {
        width: 100%;
        margin: 0;
    }

    h2.question-title.text-white.d-flex.justify-content-center.align-items-start {
        justify-content: start !important;
        text-align: start;
    }

    .hero-section .col-4 {
        padding: 0 !important;
    }

    .row.g-4 {
        gap: 0;
    }
}

.error {
    color: #f56217;
    font-size: 13px;
    padding: 6px;
    font-weight: bold;
    display: none;
}
.error.visible {
    display: block;
}
.city-state-zip {
    display: none;
}
.street-example {
    color: #fff;
    font-style: italic;
}