/* styles.css */
body {
    font-family: 'merriweather', serif;
    margin: 0;
    padding: 0;
}

header {
    background-image: url('landing.jpg');
    background-size: cover;
    background-position: center;
    padding-bottom: 50px; 
    color: white;
}

.logo-container{
    display: flex;
    justify-content: center;
    background-color: white;
    padding: 10px 0;
    margin: 0;
    
}

.logo img {
    width: 100%;
    max-width: 300px;
}

.logo  {
    width: 100%;
    max-width: 300px;
}

.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    max-width: 1200px; 
    margin: 0 auto;
    
}

.hero-section_xp {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    width: 60%;
}

.hero-text h1 {
    font-size: 72px;
    margin: 0;
}

.sub-heading {
    font-size: 32px;
}

.cta-text {
    font-size: 42px;
}


.form-container {
    width: 40%;
    padding: 20px;
    border-radius: 10px;
    background: #1f1919; /*65635C*/
    margin: 1px;
}

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

form label {
    margin-top: 10px;
    font-size: 18px;
    
    
}

form input, form select {
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: white;
    font-size: 20px;
    
}

form select {
    color: gray;
    
}

form input::placeholder {
    color: gray; 

}


button:hover {
    background-color: #E65E12;
}

section button:hover{
    background-color: #E65E12;
}

form button  {
    
    padding: 24px 70px;
    margin-top: 20px;
    background-color: #ff7f50;
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    text-align: center;
}



.form-part {
    display: none; /* Hide all parts initially */
    flex-direction: column;
}

.form-part.active {
    display: flex; /* Show active form part */
    flex-direction: column;
}

.error {
    border-color: red;
    background-color: #ffdddd;
}

.steps-section {
    display: flex;
    justify-content: space-around;
    padding: 30px 0;
    text-align: center;
    background-color: #f4f4f4;
}

.step {
    background-color: #ff7f50;
    color: white;
    padding: 20px;
    border-radius: 50px; 
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 10px; 
}

.step-number {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px; 
}

.step p{
    font-size: 16px;
    margin: 0;
}

.info-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: space-between;
    padding: 50px;
}

.info-section reverse {
    flex-direction: row-reverse;
}

.info-text {
    text-align: center;
    margin-bottom: 20px;
    padding-right: 100px;
    width: 50%;

}

.info-text.reverse{
    text-align: center;
    margin-bottom: 20px;
    padding-left: 100px;
    padding-right: 0px;
    width: 50%;

}

.info-text h2 {
    font-size: 36px;
}

.info-text p {
    font-size: 20px;
}

.info-text button {
    padding: 15px 30px;
    background-color: #ff7f50;
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.info-image {
    width: 50%;
    max-width: 600px;
}

.info-image img {
    width: 100%;
    border-radius: 10px;
}



/* Styles for the second page */
.offer-page {
    background-color: #fff;
    text-align: center;

}

.offer-header {
    background-color: #f4a261; /* New background color for the offer page header */
    color: white;
    padding-bottom: 50px; 
    background-image: none;
}

.offer-header .logo-container {
    display: flex;
    justify-content: center;
    background-color: white;
    padding: 10px 0; /* Corrected padding syntax */
    margin: 0 auto;
    width: 80%;

}

.offer-header .logo img {
    width: auto;
}

.offer-header .hero-section {
    background-color: #f4a261;
    padding: 50px 0;
    width: 100%;

}

.offer-header .hero-section .hero-text {
    max-width: 1200px;
    margin: 0 auto;
}

.offer-header .hero-section .hero-text h1 {
    font-size: 48px;
}

.offer-header .hero-section .hero-text .sub-heading {
    font-size: 24px;
}

.offer-content{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 5%;
}

.offer-content h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.button-container {
    width: 25%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.offer-button {

    padding: 15px 0;
    font-size: 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.offer-button.yes {
    background-color: #ff7f50;
    color: white;
}

.offer-button.no {
    background-color: #e0e0e0;
    color: black;
}


/*Third page*/

body, html {
    margin: 0;
    padding: 0;
    font-family: 'merriweather', serif;
    background-color: white; /* Ensure no background image */
}

#index3-page .offer-page {
    background-color: #fff;
    text-align: center;
    padding: 50px 0;
    position: relative; /* Ensure the orange box and progress bar are positioned correctly */
}

.logo-container-top-left {
    position: absolute;

    top: 20px;
    left: 20px;
}

.logo-top-left {
    width: 120px; 
    
}

#index3-page .offer-header{
    background-color: #fff; /* Background color for the offer page header */
    color: black;
    padding-bottom: 50px; 
    
}

#index3-page .offer-header .hero-section {
    background-color: #fff; /* Set background color for hero section */
    padding: 20px 0;
    width: 100%; /* Ensure the hero section spans the full width */
    text-align: center;

}



#index3-page .offer-header .hero-section .hero-text {
    max-width: 1200px;
    margin: 0 auto;

}

#index3-page .offer-header .hero-section .hero-text h1 {
    font-size: 32px;
}

#index3-page .offer-header .hero-section .hero-text .sub-heading {
    font-size: 18px;
    color: #333;
}

#index3-page .offer-content {
    padding: 20px auto;
    text-align: center;
    position: relative;

}

.progress-bar-container {
    display: flex;
    justify-content: center;
    width: 30%;
    height: 5px;
    margin: 0 auto 20px auto; 
    position: relative;
    top: 0; 

}

.progress-bar {
    flex: 1;
    background: white;
    border: 1px solid black;
}

.progress-bar.filled {
    background: black;
}

.orange-box {
    background-color: #f4a261;
    color: white;
    padding: 40px;
    border-radius: 10px;
    display: inline-block;
    text-align: center;
    width: 30%; 
    position: relative;
    margin: 40px auto; 
}

.orange-box h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

#index3-page .button-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#index3-page .offer-button {
    width: 25%;
    padding: 15px 0;
    font-size: 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;

}

.offer-button.yes {
    background-color: #ff7f50;
    color: white;
}

.offer-button.yes:hover {
    background-color: #E65E12;
}

.offer-button.no {
    background-color: #e0e0e0;
    color: black;
}

.offer-button.no:hover {
    background-color: #AFADAD;
}

/* Thank you page */




#index4-page header {
    background: linear-gradient(
        rgba(231, 145, 97, 0.3), /* #E79161 with 30% opacity */
        rgba(231, 145, 97, 0.3)
      ),
      url('landing2.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;

}



#index4-page .hero-text {
    width: 100%;
    align-items: center;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);


}

.button4 {
    
    padding: 24px 70px;
    margin-top: 20px;
    background-color: #CC5757;
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    text-align: center;
}

.button4:hover {
    background-color: #E02F2F;
}



/* Styles for the cards section */
.cards-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    background-color: #F5F5F5; 
}

.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 15px;
    width: 300px; /* Width of each card */
    overflow: hidden;
    text-align: center;
    flex: 1 1 calc(50% - 40px);
    box-sizing: border-box;
    max-width: calc(50% - 40px);
}

.card img {
    width: 100%;
    height: auto;
}

.card-content {
    padding: 20px;
}

.card-content p {
    font-size: 16px;
    margin: 10px 0;
}

.card-button {
    background-color: #CC5757;
    border: none;
    border-radius: 5px;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    text-align: center;
}

.card-button:hover {
    background-color: #B04A4A; 
}



/* Styles for the footer section */
.footer-section {
    background-color: #EAEAEA;
    padding: 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    color: #333;
}

.footer-content a{
    color: #333;
    text-decoration: underline;
}

.footer-content a:hover{
    color: #333;
    text-decoration: none;
}


.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-content p {
    font-size: 14px;
    line-height: 1.5;
    margin: 10px 0;
}

/* Footer Form Styles  */
.thank-you-box {
    background-color: green;
    color: white;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 18px;
}

.legalblock {
    padding-block: 50px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    align-self: stretch;
    gap: 40px;
}

.dsmiform {
    text-align: left;
    padding-bottom: 30px;
    padding-top: 20px;
    column-gap: 10px;
}

.dsmiform td{
    padding: 0px 10px;
}

.dsmiselect {
    border-color: black;
    border-width: 2px;
    background-color: white;
    color: black;
    border-style: solid;
    width: 225px;
    height: 30px;
    appearance: auto;
    color: #122458;
    font-style: normal;
    font-weight: 500;
    font-family: Roboto;
}

#dontsellmyinfo{
    display: none;
}



/* /////////////////////////// Spiner ///////////// */

.spinnerCode {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#container {
    width: 200px;
    height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

@keyframes animation {
    0% {
        stroke-dasharray: 1 98;
        stroke-dashoffset: -105;
    }
    50% {
        stroke-dasharray: 80 10;
        stroke-dashoffset: -160;
    }
    100% {
        stroke-dasharray: 1 98;
        stroke-dashoffset: -300;
    }
}

#spinner {
    transform-origin: center;
    animation-name: animation;
    animation-duration: 1.2s;
    animation-timing-function: cubic-bezier;
    animation-iteration-count: infinite;
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-text {
        width: 100%;

    }

   .hero-text h1 {
    font-size: 48px;
   }

   .sub-heading {
    font-size: 24px;
   }

    .form-container {
        width: 80%;
    }

    .steps-section {
        flex-direction: column;
        align-items: center;
    }

    .step {
        width: 80%;
        margin-bottom: 20px;
    }

    .info-text.reverse{
    padding: 0;
    width: 100%;

    }

    .info-section.reverse {
    flex-direction: column-reverse;
    }


    .info-section {
        flex-direction: column;
        padding: 20px;
    }

    .info-text,
    .info-image {
        width: 100%;
        padding: 0;
    }

    .info-text h2 {
        font-size: 28px;
    }

    .info-text p {
        font-size: 16px;
    }

    .info-text button {
        font-size: 16px;
        padding: 10px 20px;
    }

    /* Offer Page */

    .offer-header .hero-section {
        padding: 25px 0;
    }

    .offer-header .hero-section .hero-text h1{
        font-size: 36px;
    }

    .offer-header .hero-section .hero-text .sub-heading{
        font-size: 18px;
    }

    /* Offer Page 2 */

    #index3-page .offer-header{
        padding-bottom: 30px;
    }

    #index3-page .offer-header .hero-section .hero-text{
        max-width: 500px;
    }

    

    .progress-bar-container {
        width: 60%;
    }

    .orange-box {
        width: 60%;
    }

    /* index 4 */

    .button4 {
    
    padding: 24px 30px;
    }

    .logo-container-top-left {
        width: 100%;
        
        display: flex;
        justify-content: center;
    }

    .logo img {
    max-width: 200px;
    }

    .logo  {
        max-width: 200px;
    }

}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 20px;
    }

    .sub-heading {
        font-size: 16px;
    }

    .cta-text {
        font-size: 20px;
        font-weight: bolder;
    }

    form label {
    margin-top: 10px;
    font-size: 16px;
    text-align: left;

    }

    form {

        width: 100%;
    }



    .info-text h2 {
        font-size: 24px;
    }

    .info-text p {
        font-size: 14px;
    }

    .info-text button {
        font-size: 14px;
        padding: 10px 15px;
    }

    .card {
        flex: 1 1 100%; /* On small screens, cards take full width */
        max-width: 100%; 
    }

    .logo-container-top-left {
        width: 100%;
        
        display: flex;
        justify-content: center;
    }

    .logo img {
    max-width: 150px;
    }

    .logo  {
        max-width: 150px;
    }
}