:root {
    --Neutral-300: #EFF0F6;
    --Neutral-100: #FFF;
    --Primary: linear-gradient(90deg, #BC05FF 0%, #8A05FF 100%);
    --Primary-static: #8A05FF;
    --Secondary: rgba(19, 18, 66, 0.07);
}

body {
    font-family: 'Roboto Flex', sans-serif;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
    display: unset;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* HEADER */

header {
    background-color: #000;
    color: #fff;
    height: 100px;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px 20px;
    }
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 100%;
}

.logo {
    position: relative;
}

.logo-img {
    max-height: 180px;
    position: absolute;
    bottom: -140px;
    left: 0;
    right: 0;
    margin-left: auto;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav a {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 100;
    font-size: 20px;
    line-height: 29px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #888;
}

.cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px 0px -20px 30px;
}

.cta-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 29px;
    min-width: 150px;
    background: linear-gradient(90deg, #BC05FF 0%, #8A05FF 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-size: 16px;
    line-height: 1.5;
    position: relative;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: linear-gradient(90deg, #9C03E0 0%, #7A03E0 100%);
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        display: none;
    }

    .cta {
        margin-top: 10px;
        position: static;
    }

    .logo-img {
        bottom: auto;
        top: 0;
        transform: none;
        margin-top: 19px;
        margin-right: 21px;
    }

    .cta-button {
        left: 60%;
        position: initial;
    }

    .cta-button.get-qoute {
        left: 22%;
    }

    .cta-button.cta-table {
        left: 0%;
    }
}


/* Form */
.form-section {
    min-height: 560px;
    margin-top: 125px;
    margin-bottom: 70px;
}

.form-container {
    width: 700px;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0px 2px 6px var(--Secondary);
    text-align: center;
    position: inherit;
    margin: 0 auto;
    padding-bottom: 60px;
}

h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
}

/* Container for Progress Bar */
.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 75%;
    margin: 0 auto;
    margin-bottom: 20px;
}

/* Step Container */
.step {
    display: flex;
    align-items: center;
    position: relative;
}

/* Step Number (circle) */
.step-number {
    width: 40px;
    height: 40px;
    background: var(--Neutral-300);
    /* Gray for inactive */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    z-index: 2;
}

/* Active Step */
.step.active .step-number {
    background: var(--Primary);
    /* Use your primary color here */
}

/* Step Line (connector) */
.step-line {
    width: 95px;
    /* Line width between steps */
    height: 6px;
    background: var(--Neutral-300);
    /* Gray for inactive */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    margin-left: 55px;
    border-radius: 55px;
}

/* Left and Right Line Activation */
.step.active+.step-line {
    background: var(--Primary);
    /* Highlight line after active step */
}


/* Divider Line */
.divider {
    width: 75%;
    margin: 20px auto;
    border-bottom: 1px solid var(--Neutral-300);
}

/* Form Styling */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    position: relative;
}

label {
    display: block;
    margin-bottom: 5px;
    margin-left: 40px;
    font-size: 14px;
    font-weight: 100;
    color: #333;
    text-align: left;
}

.input-container {
    position: relative;
}

/* Default state: hidden */
.validation-text {
    display: none;
    font-size: 10px;
    color: red;
}

/* Active state: shown when invalid */
.validation-text.invalid {
    display: inline-block; /* Makes the text visible */
}

input,
select {
    width: 54%;
    height: 30px;
    padding: 10px 40px;
    border-radius: 46px;
    border: 1px solid var(--Neutral-300);
    background: var(--Neutral-100);
    box-shadow: 0px 2px 6px var(--Secondary);
    font-size: 14px;
}

input::placeholder {
    color: #bbb;
}

select {
    padding: 10px 40px;
    /* Adjust padding as needed */
    border-radius: 46px;
    border: 1px solid var(--Neutral-300);
    background: var(--Neutral-100) url('svg/dropdownsvg.svg') no-repeat;
    background-position: calc(100% - 17px) center;
    /* Move background image to the left */
    box-shadow: 0px 2px 6px var(--Secondary);
    font-size: 14px;
    appearance: none;
    /* Hide default dropdown arrow */
    cursor: pointer;
    width: 78%;
    height: 52px;
}

.img-svg {
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

/* Navigation Buttons */
.form-navigation {
    position: relative;
    top: 57px;
    display: flex;
    justify-content: space-between;
}

.next-btn,
.prev-btn,
.submit-btn {
    height: 45px;
    position: absolute;
    padding: 10px 30px;
    border-radius: 50px;
    border: none;
    background: var(--Primary);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
}

/* Specific Styles for Previous and Submit Buttons */
.prev-btn,
.submit-btn {
    background: #fff;
    color: var(--Primary);
    border: 2px solid var(--Primary-static);
}

/* Hover Effect */
.next-btn:hover,
.prev-btn:hover,
.submit-btn:hover {
    opacity: 0.8;
}

/* Positioning for the buttons */
.prev-btn {
    left: 20px;
    /* Moves the Previous button to the left */
    bottom: -65px;
    /* Moves it lower */
}

.next-btn {
    right: 20px;
    /* Moves the Next button to the right */
    bottom: -65px;
    /* Moves it just above the submit button */
}

.submit-btn {
    right: 20px;
    /*transform: translateX(-50%); /* Centers the Submit button */
    bottom: -65px;
    /* Moves it lower */
}
.cta-button.submit-button{
    width: 22%;
    display: initial;
}
.next-btn:disabled,
.prev-btn:disabled {
    background: var(--Neutral-300);
    cursor: not-allowed;
}

/* Submit button visibility */
.submit-btn {
    display: none;
}

.form-step:nth-of-type(4) .submit-btn {
    display: inline-block;
}

@media (max-width: 1200px) {
    .form-container {
        display: flex;
        flex-direction: column;
        /* Stack buttons */
        gap: 10px;
        max-width: 630px;
    }

    .form-container button {
        margin: 0;
        /* Remove button margin */
        width: 25%;
        /* Full-width buttons */
        min-width: 180px;
    }

    .progress-bar {
        display: none;
        /* Hide progress bar if space is tight */
    }


    input,
    select {
        font-size: 12px;
    }

}

.form-group-gdpr {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.form-group-gdpr input[type="checkbox"] {
    display: inline-block; /* Ensure inline alignment */
    width: 20px; /* Desired width */
    height: 20px; /* Desired height */
    margin-left: 17px;
    padding: 0; /* Remove browser's default padding */
    appearance: none; /* Reset native styling */
    -webkit-appearance: none; /* Reset for WebKit browsers */
    -moz-appearance: none; /* Reset for Firefox */
    border: 2px solid #8A05FF; /* Add a border */
    border-radius: 4px; /* Rounded corners */
    background-color: #f9f9f9; /* Light background */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
    cursor: pointer; /* Show pointer on hover */
    transition: all 0.3s ease; /* Smooth transition for effects */
    min-width: 20px;
    min-height: 20px;
}
.form-group-gdpr input[type="checkbox"]:checked {
    background-color: #8A05FF; /* Change background color when checked */
    border-color: #8A05FF; /* Change border color when checked */
}

.form-group-gdpr input[type="checkbox"]:hover {
    background-color: #cc97fb; /* Change background color on hover */
    border-color: #8A05FF; /* Change border color on hover */
}

.gdprConsent {
    margin-left: 15px;

}

.form-group-gdpr label a {
    color: #8A05FF;
    text-decoration: underline;
    max-width: 620px;
}

.form-group-gdpr-label {
    margin-left: 10px;
}


@media (max-width: 768px) {
    lable {
        margin-left: 20px;
    }
    .form-group-gdpr label a {
        color: #8A05FF;
        text-decoration: underline;
        max-width: 350px;
    }
    .form-container {
        width: 87%;
        padding: 0px 15px 0px 15px;
        margin: 0px 0px 0px 12px;
        display: flex;
        flex-direction: column;
        /* Stack buttons */
        gap: 10px;
        gap: 5px;
        max-width: 430px;
    }

    .form-container button {
        margin: 0;
        /* Remove button margin */
        width: 25%;
        /* Full-width buttons */
        min-width: 150px;
    }
    .form-section{
        padding-bottom: 50px;
    }

    .form-navigation {
        top: 1px;
    }

    .form-group.select {
        width: 285px;
    }
    .form-group.textarea-message{
        width: 100%;
        margin-bottom: 91px;
        margin-top: 40px;
    }

    .next-btn {
        right: 1px;

    }

    .prev-btn {
        left: 1px;
    }

    .progress-bar {
        display: none;
        /* Hide progress bar if space is tight */
    }

    .img-svg {
        left: 14px;
    }

    input,
    select {
        font-size: 12px;
        width: 100%;
    }


    .form-row {
        display: grid;
        margin: 0px 0px 40px 25px;
    }

}


/* Success */
/* Success Step Styling */
.success-message {
    text-align: center;
    padding: 20px;
}

.success-message img {
    width: 150px;
    margin-bottom: 10px;
}

.success-container {
    text-align: center;
    padding: 20px;
}

.success-container img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.success-container h2 {
    font-size: 24px;
    color: var(--Primary);
    margin-bottom: 10px;
}

.success-container p {
    font-size: 16px;
    color: var(--Neutral-500);
}

textarea {
    width: 85%;
    height: 160px;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--Neutral-300);
    background: var(--Neutral-100);
    font-size: 14px;
    box-shadow: 0px 2px 6px var(--Secondary);
    resize: none;
}

.error {
    border-color: red !important;
}

.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}


/* Footer */

/* Footer Styling */
.footer {
    background-color: #0d0e28;
    /* Deep navy background */
    color: #fff;
    font-family: 'Roboto Flex', sans-serif;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    max-width: 150px;
    margin: 5px 0px 0px 250px;
}

.footer-logo img {
    margin: -50px 100px 0px 0px;
    max-width: 150px;
    height: auto;
}

.footer-main {
    max-width: 600px;
}

.footer-heading {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.footer-description {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 20px;
}

.footer-cta {
    display: inline-block;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 500;
    background: linear-gradient(90deg, #BC05FF 0%, #8A05FF 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    transition: background 0.3s ease;
}

.footer-cta:hover {
    background: linear-gradient(90deg, #9C03E0 0%, #7A03E0 100%);
}

.footer-social {
    margin-top: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    float: right;
    margin-right: 250px;
}

.social-icons li {
    display: inline-block;
}

.social-icons a {
    display: inline-block;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #151633;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background: linear-gradient(90deg, #BC05FF 0%, #8A05FF 100%);
}

.social-icons svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.copymark {
    font-weight: 100;
    color: #858383;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #2e2f45;
    padding-top: 10px;
}

@media (max-width: 768px) {
    .footer-content {
        gap: 30px;
    }

    .footer-logo {
        margin: 0px 0px 0px 100px;
    }

    .footer-logo img {
        max-width: 80px;
        margin: 0px 0px 0px 0px;
    }

    .footer-heading {
        font-size: 20px;
    }

    .footer-description {
        font-size: 14px;
    }

    .footer-cta {
        font-size: 16px;
        padding: 12px 30px;
    }

    .social-icons {
        float: none;
        margin-right: 0px;
        gap: 15px;
    }

    .social-icons a {
        width: 35px;
        height: 35px;
    }
   

    .footer-bottom {
        font-size: 12px;
    }
}