/* Jurisdiction Widget Styles */

.jurisdiction-section {
    padding: 80px 0;
    font-family: 'Inter', sans-serif;
    background: #fff;
    text-align: center;
}

.jurisdiction-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.jurisdiction-header {
    margin-bottom: 50px;
}

.jurisdiction-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #004274;
    margin-bottom: 20px;
}

.jurisdiction-main-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.jurisdiction-slider-wrapper {
    margin-bottom: 50px;
    position: relative;
    padding: 0;
}

.jurisdiction-swiper {
    padding-bottom: 40px !important;
}

.jurisdiction-card {
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.5s ease;
    cursor: pointer;
    text-align: left;
}

.jurisdiction-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
    transition: opacity 0.5s ease;
}

.jurisdiction-card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    transition: all 0.5s ease;
    transform: translateY(0);
}

.jurisdiction-card-content-hover {
    position: absolute;
    inset: 10px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.98);
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateY(30px);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.jurisdiction-item-logo {
    margin-bottom: 20px;
    max-width: 60px;
}

.jurisdiction-item-logo img {
    width: 100%;
    height: auto;
}

.jurisdiction-card:hover .jurisdiction-card-content-hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.jurisdiction-card:hover .jurisdiction-card-content {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
}

.jurisdiction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.jurisdiction-item-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.jurisdiction-item-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    margin: 8px 0 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.jurisdiction-hover-headline {
    font-size: 1.25rem;
    font-weight: 800;
    color: #004274;
    margin-bottom: 15px;
    line-height: 1.3;
}

.jurisdiction-hover-description {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.jurisdiction-card-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #E32A1F;
    color: #fff;
    text-decoration: none !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(227, 42, 31, 0.3);
}

.jurisdiction-card-btn:hover {
    background-color: #004274;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 66, 116, 0.3);
}

.jurisdiction-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
}

.jurisdiction-pagination .swiper-pagination-bullet-active {
    background: #E32A1F;
}

.jurisdiction-footer-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #E32A1F;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    transition: background-color 0.3s;
}

.jurisdiction-footer-btn:hover {
    background-color: #c0231a;
    color: #fff;
}

.jurisdiction-bottom-link a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid #ccc;
}

.jurisdiction-bottom-link a:hover {
    color: #333;
    border-color: #333;
}

/* Responsive fixes */
@media (max-width: 767px) {
    .jurisdiction-main-title {
        font-size: 1.8rem;
    }
    .jurisdiction-card {
        height: 350px;
    }
    .jurisdiction-slider-wrapper {
        padding: 0;
    }
}
