.contact-section {
    /* background-color: #fff; */
    padding-top: 80px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

body {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-heading {
    color: #2d3142;
    font-size: 2.8rem;
    line-height: 1.3;
    margin-bottom: 2rem;
    font-weight: 700;
    animation: fadeInUp 0.8s ease-out;
}

.social-icons {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    color: #2d3142;
    text-decoration: none;
    margin-right: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-icons a:hover {
    transform: translateY(-3px);
    background: #2d3142;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.contact-image {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.belfor-contact-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    border: none;
    /* background-color: #fff; */
    /* border-radius: 8px; */
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

.belfor-contact-title {
    color: #007bff;
    text-align: center;
}

/* Form-specific styles */
#belfor-contact-form.form-section {
    animation: slideInRight 0.8s ease-out;
}

#belfor-contact-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    background-color: #fff;
    color: #000;
    transition: all 0.3s ease;
}

#belfor-contact-form .form-control:focus {
    box-shadow: none;
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.02);
    color: #000;
}

#belfor-contact-form .form-control::placeholder {
    color: #9e9e9e;
    transition: all 0.3s ease;
}

#belfor-contact-form .form-control:focus::placeholder {
    transform: translateY(-10px);
    opacity: 0;
}

#belfor-contact-form .mb-4 {
    position: relative;
    margin-bottom: 2rem !important;
}

#belfor-contact-form textarea.form-control {
    min-height: 120px;
    resize: none;
}

.btn-submit {
    background: linear-gradient(45deg, #0d6efd, #0b5ed7);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

.btn-submit i {
    margin-left: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-submit:hover i {
    transform: translateX(5px);
}

/* Loading animation for form submission */
.btn-submit.loading {
    position: relative;
    pointer-events: none;
}

.btn-submit.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: rotate 0.8s linear infinite;
}

@keyframes rotate {
    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

@media (max-width: 991px) {
    .contact-heading {
        font-size: 2.2rem;
        text-align: center;
    }

    .social-icons {
        text-align: center;
        margin-bottom: 3rem;
    }

    /* .form-section {
        padding-top: 50px;
    } */
}

/* ----------Upper Footer--------- */

.assistance-section {
    padding: 5rem 0;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #14142B;
    margin: 0;
}

.contact-label {
    color: #6E7191;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    position: relative;
    display: flex;
    align-items: center;
}

.contact-label::before {
    content: "—";
    margin-right: 0.5rem;
    color: #6E7191;
}

.contact-info {
    color: #14142B;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.hours-title {
    color: #6E7191;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.hours-info {
    color: #14142B;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.newsletter-section {
    background-color: #14142B;
    padding: 4rem 0;
    color: white;
}

.newsletter-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.newsletter-description {
    color: #D9DBE9;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 90%;
}

.newsletter-form {
    position: relative;
    margin-top: 1rem;
}

.form-control {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 4px;
    height: auto;
    width: 100%;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control:focus {
    background-color: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: none;
}

.btn-subscribe {
    background-color: #2D68FF;
    color: white;
    padding: 0.475rem 0.875rem;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    width: 100%;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background-color: #1e54e6;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .assistance-section {
        padding: 3rem 0;
    }

    .col-md-4 {
        margin-bottom: 2rem;
    }

    .newsletter-description {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 992px) {
    .newsletter-form {
        margin-top: 0;
        display: flex;
        gap: 1rem;
        align-items: flex-start;
        height: 100%;
        justify-content: flex-end;
    }

    /* .form-control {
        max-width: 280px;
    } */

    .btn-subscribe {
        margin-top: 0;
        width: auto;
    }
}