.contact-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.contact-left {
    width: 30%;
}

.contact-right {
    width: 65%;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    background: #ffffff85;
}

a {
    text-decoration: none;
}

p {
    color: #333;
}

.contact-content a {
    color: rgb(77, 202, 210);
}

.contact-section {
    background: url(http://localhost/bidyourstay-blogs/wp-content/uploads/2024/08/beach.png);
}

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

.contact-form-wrapper span {
    font-weight: 500;
    color: #ff8c5a;
    font-size: 15px;
}

.contact-form-wrapper h2 {
    margin: 10px;
}

.contact-item-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #ffffff85;
}

.contact-icon {
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ff8c5a;
    color: #fff;
}

.contact-content h4 {
    margin: 0;
    font-size: 18px;
}

.contact-form-wrapper .section-title {
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.button .btn {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.button .btn:hover {
    background-color: #0056b3;
}

/* Contact form 7 design Css */
/* General form styling */
.wpcf7-form {
    max-width: 600px;
    /* Adjust the width as needed */
    margin: 0 auto;
    /* Center the form */
}

/* Style for labels */
.wpcf7-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

/* Input fields styling */
.wpcf7-form-control {
    width: 100%;
    /* Full width of the container */
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 30px;
    box-sizing: border-box;
    /* Include padding and border in the element’s total width and height */
}

/* Margin for name and email fields */
.wpcf7-form-control-wrap {
    margin-bottom: 15px;
}

/* Specific styles for name and email fields */
.wpcf7-form-control-wrap[data-name="your-name"] input,
.wpcf7-form-control-wrap[data-name="your-email"] input {
    margin-left: 0;
    /* Adjust as needed */
    margin-right: 0;
    /* Adjust as needed */
}

/* Textarea styling */
.wpcf7-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 20px;
    box-sizing: border-box;
    resize: vertical;
    /* Allows vertical resizing */
}

/* Submit button styling */
.wpcf7-submit {
    background-color: rgb(77, 202, 210);
    /* Primary color */
    color: #fff;
    /* Text color */
    border: none;
    padding: 15px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

/* Hover effect for submit button */
.wpcf7-submit:hover {
    background-color: #ff8c5a;
    /* Darker shade */
}

/* Spinner styling */
.wpcf7-spinner {
    display: inline-block;
    vertical-align: middle;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 2px solid #007bff;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
}

/* Animation for spinner */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Css */
/* Mobile Styles */
@media (max-width: 767px) {
    .contact-container {
        flex-direction: column;
        padding: 10px;
    }

    .contact-form-wrapper .wpcf7-form {
        padding: 10px;
        max-width: 100%;
    }

    .contact-left,
    .contact-right {
        width: 100%;
        margin-bottom: 20px;
        padding: 0;
    }

    .contact-item-wrapper {
        flex-direction: column;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .contact-content h4 {
        font-size: 16px;
    }

    .contact-form-wrapper {
        border: none;
        background: transparent;
        padding: 0;
    }

    .contact-form-wrapper .section-title {
        margin-bottom: 10px;
    }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1024px) {
    .contact-container {
        flex-direction: column;
        padding: 15px;
    }

    .contact-left,
    .contact-right {
        width: 100%;
        margin-bottom: 20px;
    }

    .contact-item-wrapper {
        flex-direction: column;
    }

    .contact-item {
        flex-direction: row;
    }

    .contact-icon {
        margin-right: 15px;
        margin-bottom: 0;
    }

    .contact-content h4 {
        font-size: 17px;
    }

    .contact-form-wrapper {
        border: 1px solid #ddd;
        border-radius: 5px;
        background: #ffffff85;
    }
}