.contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 60px 20px;
    background: #f9f9f9;
    color: #222;
}
.contact-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    gap: 40px;

    /* Adjust height */
}
/* Left column: form with shadow */
.contact-form {
    flex: 1;
    position: relative;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 30px 45px rgba(0, 0, 0, 0.2); /* subtle black shadow */
    transform: translateY(-100px); /* moves form up 50px */
}

/* Right column: contact info bigger and more prominent */
.contact-info {
    flex: 1;
    min-width: 300px;
    font-family: "Montserrat Alternates", sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateY(-230px); /* moves it up visually */
}
.contact-info h2 {
    position: relative;
    font-size: 4rem;
    margin-bottom: 25px;
    color: #ff6b6b;
    padding-left: 30px; /* space for the square */
}

.contact-info h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px; /* width of the square */
    height: 15px; /* height of the square */
    background-color: #ff6b6b; /* color of the square */
}

.contact-info p {
    font-size: 1.8rem; /* bigger paragraph */
    margin-bottom: 25px;
    line-height: 1.5;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    font-size: 1.8rem; /* larger list items */
}

.contact-info ul li {
    margin-bottom: 15px;
}

/* Flash message styling */
#quote-flash {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 20px 30px;
    background-color: #4caf50;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Form styling */
.quote-form fieldset {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    background: #c5c2c2;
}

.quote-form legend {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ff6b6b;
}

.quote-form .submit-btn {
    background: linear-gradient(135deg, #ff6b6b, #f06595);
    color: #fff;
    border: none;
    padding: 3px 35px;
    font-size: 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 150px;
}

.quote-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {
    .quote-form .submit-btn {
        background: linear-gradient(135deg, #ff6b6b, #f06595);
        color: #fff;
        border: none;
        padding: 3px 35px;
        font-size: 1.5rem;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-left: 0px;
    }
    .contact-form {
        flex: 1;
        position: relative;
        background: #fff;
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 30px 45px rgba(0, 0, 0, 0.2);
        transform: translate(-10px, -70px); /* moves left 50px, up 70px */
    }
    .contact-section {
        flex-direction: column;
        padding: 40px 20px;
    }
    /* Right column: contact info bigger and more prominent */
    .contact-info {
        flex: 1;
        min-width: 300px;
        font-family: "Montserrat Alternates", sans-serif;
        display: flex;
        flex-direction: column;
        justify-content: center;
        transform: translateY(-70px); /* moves it up visually */
    }

    .contact-info h2 {
        font-size: 2.2rem;
    }

    .contact-info p {
        font-size: 1.2rem;
    }

    .contact-info ul {
        font-size: 1.1rem;
    }
}
/* Make the fieldset rows flexible */
.quote-form fieldset {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 10px;
    background: #fff;
}

/* Flex container for each row */
.form-row {
    display: flex;
    gap: 15px; /* space between inputs */
    flex-wrap: wrap;
    margin-bottom: 15px;
}

/* Make inputs fill half width by default */
.form-row input,
.form-row select {
    flex: 1;
    min-width: 150px;
}

/* Textarea spans full width */
.form-row textarea {
    flex: 1 1 100%;
}
.contact-icon {
    color: #ff6b6b; /* matches your theme orange */
    margin-right: 10px;
    font-size: 2rem;
    vertical-align: middle;
}
@media screen and (max-width: 1024px) {
    .contact-info h2 {
        font-size: 2.5rem;
    }

    .contact-info p {
        font-size: 1.5rem;
    }

    .contact-info ul {
        font-size: 1.5rem;
    }
    .quote-form legend {
        font-size: 1.9rem;
        font-weight: 700;
        color: #ff6b6b;
    }
    /* Flash message styling */
    #quote-flash {
        position: fixed;
        top: 700px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        padding: 20px 30px;
        background-color: #4caf50;
        color: white;
        font-weight: bold;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        text-align: center;
    }
}
