body {
    font-family: 'Poppins', sans-serif;
    background-color: white;
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.question-text-1 {
    font-size: 24px;
    font-weight: 400;
    color: #1F4397;
    margin-bottom: 100px;
    text-align: center;
    margin-top: 100px;

}

.form-section {
    margin: 20px 0;
    display: none;
}

.form-section.active {
    display: block;
    /* 仅显示active的section */
}

.home-hidden-section {
    display: none;
}


.hidden-section {
    display: none;
}

.active {
    display: block !important;
}

.options {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.option {
    text-align: center;
    width: 160px;
    height: 160px;
    transition: transform 0.3s;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 20px;
    margin: 5px;
}

.option img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

.option p {
    margin: 0;
    font-size: 13px;
}

.option:hover {
    transform: scale(1.1);
    border-color: #024BEF;
}

.text-option {
    text-align: center;
    width: 100%;
    max-width: 300px;
    height: 45px;
    padding: 15px;
    margin: 10px auto;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.text-option:hover {
    transform: scale(1.05);
    border-color: #024BEF;
}


.navbar {
    flex: 0 0 auto;
    width: 100%;
    padding: 0;
}

.progress-container {
    background-color: #f2f2f2;
}

.form-container {
    background-color: white;
    /* 设置表单背景颜色 */
}

.section-promo {
    padding: 2rem 0;
    margin: 0;
    /*border-radius: 8px;*/
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    background-color: #F2F2F2;
}

.section-promo .row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
}

.section-promo .col-md-6 {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    border: none;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
}

#seeImage {
    width: 100%;
    max-width: 850px;
    height: 160px;

}

#findImage {
    width: 100%;
    max-width: 300px;
    margin-top: 10px;
}

.section-promo .col-md-6 {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-promo .text-md-left {
    text-align: center;
    padding: 0 20px;
    margin-bottom: 20px;
}

.section-howitwork {
    flex: 1 0 auto;
    background-color: white;
    width: 100%;
}

.hidden-postcode {
    display: none;
}

.container {
    max-width: 1200px;
    /* margin: 50px auto; */
    padding: 40px;
}

.progress {
    height: 10px;
    border-radius: 15px;
    margin-bottom: 40px;
    background-color: #e9ecef;
    width: 60%;
    margin: auto;
}

.progress-bar {
    width: 0%;
    line-height: 20px;
    background: linear-gradient(to right, #a0c2ec, hsl(217, 76%, 48%));
    border-radius: 15px;
    transition: width 0.5s ease;
}

.form-section {
    display: none;
}

.form-section.active {
    display: block;
    background-color: white;
}

.header-text {
    color: #024BEF;
    text-align: center;
    margin-bottom: 30px;
    font-size: 36px;
    font-weight: bold;
}

.sub-header-text {
    text-align: center;
    font-weight: bold;
    margin-bottom: 50px;
    font-size: 27px;
}

.question-text {
    text-align: center;
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 20px;
    color: #1F4397;
    font-weight: 400;
}

.text-center {
    font-size: 14px;
    font-weight: 1px;
    margin-bottom: 40px;
    color: #1F4397;
}

.options {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.option {
    text-align: center;
    width: 160px;
    height: 160px;
    transition: transform 0.3s;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 20px;
    margin: 5px;
}

.small-gap {
    margin-right: 20px;
    /* Adjust the value as needed */
}

.option img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

.option p {
    margin: 0;
    font-size: 13px;
}

.option:hover {
    transform: scale(1.1);
    border-color: #024BEF;
}

.promo-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    /* Center the image */

    .container_top {
        padding-left: 0;
        /* 在手机屏幕上移除 padding-left */
    }
}

.text-option {
    text-align: center;
    width: 100%;
    max-width: 300px;
    height: 45px;
    padding: 15px;
    margin: 10px auto;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.text-option:hover {
    transform: scale(1.05);
    border-color: #024BEF;
}

.button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

.btn-back {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: black;
    border: none;
    padding: 9px 18px;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
    margin-bottom: 10px;
    width: 200px;
    font-size: 15px;
    font-weight: 100;
}

.btn-next {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #024BEF;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
    margin-bottom: 10px;
    width: 60%;
    font-size: 15px;
    font-weight: bold;
}

.btn-next:hover,
.btn-back:hover {
    background-color: #dcdcdc;
}

.btn-submit-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #024BEF;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
    margin-bottom: 10px;
    width: 60%;
    font-size: 15px;
    font-weight: bold;
}

.btn-submit-custom:hover {
    background-color: #748ecc;
}

.mb-4,
.mb-3 {
    margin-bottom: 15px;
}

.form-control {
    width: 60%;
    padding: 10px;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.one-option {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    flex-direction: column;
}

.shading-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 400px;
    /* Set a maximum width to force wrapping */
    margin: auto;
    /* Center the container */
}

.input-group {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px;
}

.form-control:hover {
    border-color: #024BEF;
    transform: scale(1.01);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    margin-top: 30px;
}

.error-message {
    position: absolute;
    display: none;
    color: red;
    font-size: 12px;
    top: 100%;
    width: 80%;
    right: 0;
}

.address-info {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 30px;
}

.map-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.container_top {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: start;

}

.text-rated {
    font-family: 'DM Sans', sans-serif;
    color: #A5A5A5;
    text-align: center;
    font-size: 8px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-top: 30px;
}

.section-howitwork,
.section-solar-options {
    background: white;
}

.section-howitwork h2 {
    color: var(--blue-gray-900,
            #1F4397);
    text-align: center;
    font-family: 'Almarai';
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: nowrap;
    margin-right: -15px;
    margin-left: -15px;
}

* {
    margin: 0;
    padding: 0;
}

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

.pl-5,
.px-5 {
    padding-left: 3rem !important;
}

p {
    color: #000;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

.text-center {
    text-align: center !important;
}

.home .footer-bottom {
    padding-bottom: 110px !important;
}

.footer-bottom {
    background-color: #8c8c8c !important;
}

.pb-5,
.py-5 {
    padding-bottom: 3rem !important;
    padding-top: 3rem !important;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.bg-footer p {
    font-weight: 400 !important;
    font-size: 12px !important;
    line-height: 16px !important;
    color: #FFFFFF !important;
}

.mb-2,
.my-2 {
    margin-bottom: .5rem !important;
}

.img-fluid {
    max-width: 40%;
    height: 40px;
}

.for-desktop {
    visibility: visible;
}

.mr-2,
.mx-2 {
    margin-right: .5rem !important;
}

.float-left {
    float: left !important;
}

.img-fluid {
    max-width: 60%;
    height: 30px;
}

.footer-top {
    background-color: #1F4397 !important;
    padding-top: 5rem !important;
}

.section-box {
    padding: 20px 15px;
    /* Increase padding to make sections taller */
    background-color: white;
    margin-bottom: 20px;
    /* Add space between the boxes */
    border-radius: 10px;
    /* Optional: add border-radius for styling */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /* Optional: add a subtle shadow */
    font-size: 16px;
    margin: 0 10px;
}

.section-box img {
    margin-bottom: 15px;
    /* Add margin below the icons */
}

.section-box h3 {
    font-size: 22px;
    /* Increase font size of the headers */
}

.section-box p {
    font-size: 16px;
    /* Increase font size of the text */
}

#startButton {
    opacity: 0;
    transform: scale(0.5);
    animation: popup 0.4s ease-out 0.8s forwards, zoomInOut 1.2s ease-in-out 1.2s infinite;
}

@keyframes popup {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomInOut {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@media (min-width: 992px) {
    nav .container_top {
        padding-left: 400px;
        /* 仅在电脑屏幕上设置 padding-left 为 400px */
    }
}

/* 手机屏幕样式 */
@media (max-width: 991px) {
    .section-promo .row {
        /* justify-content: center; */
        display: flex;
        /* flex-direction: column-reverse;  */
    }

}

@media (min-width: 768px) {
    .col-md-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 30%;
        font-weight: 400 !important;
        font-size: 12px !important;
    }
}

/* Media query for mobile screens */
@media (max-width: 768px) {

    .section-box {
        margin-bottom: 20px;
        /* Ensure spacing on mobile as well */
    }

    .row {
        flex-direction: column-reverse;
        text-align: center;
    }

    .progress {
        width: 100%;
    }

    .promo-image {
        margin-top: 20px;
        width: 111%;
    }

    .question-text-1 {
        font-size: 33px;
        padding: 10px;
    }

    .form-section {
        margin: 20px;
    }

    .form-control {
        width: 100%;
    }

    .options {
        flex-direction: row;
        gap: 20px;
        align-items: center;
    }

    .option {
        width: 40%;
        margin: 10px 0;
        /* Adjust the margin to space out the options */
    }

    .container_top {
        padding-left: 20px;
        /* Add appropriate padding for mobile */
        padding-right: 20px;
        /* Add appropriate padding for mobile */
    }
}