/* Fancy Form Styles */

#contact-section {
    padding: 40px 0;
}

.plans-wrap, #contact-section, .shipping-types-section, #contact-section {
}

h1, h2, #contact-form h3 {
    color: #ff7326 !important;
}

.footer-links-wrapper h2 {
    color: var(--white)!important;
}

.faq-section {
}

.faq-section h2 + p {
    color: black;
}

.contact-form p {
    text-align: left;
}

h2.center, h3 {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 5px;
}

h2.center {
    font-size: 40px;
    margin-bottom: 20px;
}

h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

p {
    color: #d3d3d3;
    font-size: 16px;
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: space-between;
}

/* Ensure two fields are placed side by side on larger screens */
.input-group.half {
    flex: 1;
    min-width: calc(50% - 20px); /* Two fields next to each other with space */
}

.form-control {
    border: 1px solid #ff7326; /* Bright orange border */
    height: 50px;
    padding: 10px;
    font-size: 16px;
    width: 100%;
    transition: border-color 0.3s ease;
    color: gray;
}

.form-control:hover,
.form-control:focus {
    border-color: var(--colors--emerald); /* Change to gold on focus */
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); /* Glowing gold shadow */
}

.drop-down {
    border: 1px solid #ff7326;
    background-color: white;
    color: gray;
}

#down_payment input {
    width: 100%;
}

.worldwide-simple-btn {
    background: linear-gradient(90deg, #ff6600 0%, #ffdd00 100%);
    color: #fff;
    border: none;
    padding: 15px;
    width: 220px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    background-size: 200% 100%; /* Double the width for smooth transition */
    transition: transform 0.3s ease, background-position 0.5s ease; /* Background position transition */
}

.worldwide-simple-btn:hover {
    background-position: 100% 0; /* Shift the gradient position on hover */
    color: #000;
    transform: scale(1.05); /* Slightly enlarge on hover */
}

.contact-form {
    background-color: #0e1523; /* Dark semi-transparent background */
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7); /* Deeper shadow */
}

.financing {
    background-image: url('../images/static/financing-bg.jpg');
    background-position-x: 50%;
    background-repeat: no-repeat;
}

.shipping {
    background-size: cover;
    background-image: url('../images/static/car-ship-bg.jpg');
    background-position: center;
}

.shipping, .financing {
    box-shadow: inset 0 0 0 2000px rgba(11, 10, 10, 0.70);
}

.faq-cols svg {
    fill: #ffffff;
    width: 30px;
    height: 30px;
    margin-bottom: 20px;
}

h2, h3, strong {
    opacity: 0; /* Initially hidden */
    transform: translateX(-50px); /* Move to the left */
    transition: opacity 1.5s ease, transform 1.5s ease; /* Smooth transition */
}

h2.visible, h3.visible, strong.visible {
    opacity: 1; /* Fully visible */
    transform: translateX(0); /* Move to original position */
}

.no-shadow {
    box-shadow: none !important; /* Ensure the box shadow is removed */
    transition: box-shadow 3s ease; /* Add transition for smooth effect */
}

/* Screen size adjustments */

/* For larger screens (992px and above) */
@media (min-width: 992px) {
    .input-group {
        flex-wrap: nowrap; /* Prevent fields from stacking */
    }

    .input-group.half {
        min-width: calc(50% - 10px); /* Ensure half-width fields on large screens */
    }

    .input-group.full {
        min-width: 100%; /* Full-width for larger fields */
    }
}

/* For medium screens (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .input-group {
        flex-wrap: wrap;
        gap: 15px;
    }

    .input-group.half {
        min-width: calc(50% - 15px); /* Adjust for medium screens */
    }
}

/* For small screens (less than 768px) */
@media (max-width: 768px) {
    h2.center, h3 {
        letter-spacing: 0;
        line-height: 1em;
    }

    .contact-form {
        padding: 20px;
    }

    h2.center {
        font-size: 40px;
    }

    h3 {
        font-size: 20px;
    }

    .worldwide-simple-btn {
        width: 100%;
    }

    .input-group {
        flex-direction: column;
    }
}

@media (max-width: 500px) {
    h2.center {
        font-size: 23px;
    }
}
