.navbar-section.elementor-sticky--active {
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.5);
}

.faqs-section .elementor-widget-container .e-n-accordion {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faqs-section .elementor-widget-container .e-n-accordion .e-n-accordion-item .e-n-accordion-item-title {
    height: 100%;
    align-items: flex-start;
}

.image-box-section {
    overflow: hidden;
}

.image-box-section .elementor-image-box-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-box-section .elementor-image-box-img img:hover {
    transform: scale(1.1);
}

.gform_wrapper.gravity-theme .gform_validation_errors {
    box-shadow: none !important;
}

.gform_wrapper.gravity-theme .gfield_validation_message,
.gform_wrapper.gravity-theme .validation_message {
    background: transparent !important;
    border: 0 !important;
}

@media screen and (max-width: 1024px) {
    .faqs-section .elementor-widget-container .e-n-accordion {
        grid-template-columns: repeat(1, 1fr);
    }

    .faqs-section .elementor-widget-container .e-n-accordion .e-n-accordion-item .e-n-accordion-item-title {
        height: auto;
    }
}

.personal-injury-img-section,
.sanitation-worker-injuries-img-section,
.construction-site-accidents-img-section,
.municipal-worker-injuries-img-section,
.workplace-injuries-img-section,
.slip-and-fall-accidents-img-section,
.disability-and-benefits-img-section,
.mesothelioma-img-section,
.premises-liability-img-section,
.auto-accidents-img-section,
.pedestrian-accidents-img-section,
.truck-accidents-img-section,
.bicycle-accidents-img-section,
.snow-and-ice-accidents-img-section,
.birth-injuries-img-section,
.defective-drugs-img-section {
    position: relative;
    overflow: hidden;
}

.personal-injury-img-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://ryaninjuryfirm.com/wp-content/uploads/2025/02/drl13.jpg);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    z-index: -1;
}

.sanitation-worker-injuries-img-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://ryaninjuryfirm.com/wp-content/uploads/2025/02/drl1.jpg);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    z-index: -1;
}

.construction-site-accidents-img-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://ryaninjuryfirm.com/wp-content/uploads/2025/02/drl16.jpg);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    z-index: -1;
}

.municipal-worker-injuries-img-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://ryaninjuryfirm.com/wp-content/uploads/2025/02/header-municipalworker.jpg);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    z-index: -1;
}

.workplace-injuries-img-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://ryaninjuryfirm.com/wp-content/uploads/2025/02/DRL18.jpg);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    z-index: -1;
}

.slip-and-fall-accidents-img-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://ryaninjuryfirm.com/wp-content/uploads/2025/02/drl15.jpg);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    z-index: -1;
}

.disability-and-benefits-img-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://ryaninjuryfirm.com/wp-content/uploads/2025/02/drl20.jpg);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    z-index: -1;
}

.mesothelioma-img-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://ryaninjuryfirm.com/wp-content/uploads/2025/02/drl17.jpg);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    z-index: -1;
}

.premises-liability-img-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://ryaninjuryfirm.com/wp-content/uploads/2025/02/image-asset.jpeg);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    z-index: -1;
}

.auto-accidents-img-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://ryaninjuryfirm.com/wp-content/uploads/2025/02/image-asset1.jpeg);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    z-index: -1;
}

.pedestrian-accidents-img-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://ryaninjuryfirm.com/wp-content/uploads/2025/02/image-asset2.jpeg);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    z-index: -1;
}

.truck-accidents-img-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://ryaninjuryfirm.com/wp-content/uploads/2025/02/image-asset3-e1740046878334.jpeg);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    z-index: -1;
}

.bicycle-accidents-img-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://ryaninjuryfirm.com/wp-content/uploads/2025/02/image-asset4.jpeg);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    z-index: -1;
}

.snow-and-ice-accidents-img-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://ryaninjuryfirm.com/wp-content/uploads/2025/02/image-asset5.jpeg);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    z-index: -1;
}

.birth-injuries-img-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://ryaninjuryfirm.com/wp-content/uploads/2025/02/image-asset6.jpeg);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    z-index: -1;
}

.defective-drugs-img-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://ryaninjuryfirm.com/wp-content/uploads/2025/02/image-asset7-e1740380276557.jpeg);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    z-index: -1;
}

.personal-injury-img-section:hover::before,
.sanitation-worker-injuries-img-section:hover::before,
.construction-site-accidents-img-section:hover::before,
.municipal-worker-injuries-img-section:hover::before,
.workplace-injuries-img-section:hover::before,
.slip-and-fall-accidents-img-section:hover::before,
.disability-and-benefits-img-section:hover::before,
.mesothelioma-img-section:hover::before,
.premises-liability-img-section:hover::before,
.auto-accidents-img-section:hover::before,
.pedestrian-accidents-img-section:hover::before,
.truck-accidents-img-section:hover::before,
.bicycle-accidents-img-section:hover::before,
.snow-and-ice-accidents-img-section:hover::before,
.birth-injuries-img-section:hover::before,
.defective-drugs-img-section:hover::before {
    transform: scale(1.1);
}