/* Enhanced Case Details Section */
.case-details-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 5rem 0;
}

.case-details-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.case-details-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.case-details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
}

.case-details-content h2 {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 2rem;
    font-weight: 700;
}

.case-details-grid {
    display: grid;
    gap: 2rem;
}

.case-detail-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.case-detail-card h3 {
    font-size: 1.4rem;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.case-detail-card p {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
}

/* Enhanced Eligibility Section */
.eligibility-section {
    background: white;
    padding: 5rem 0;
}

.eligibility-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.eligibility-section .section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-weight: 700;
}

.eligibility-section .section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Eligibility Grid - Horizontal Layout */
.eligibility-grid {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
}

.eligibility-grid::-webkit-scrollbar {
    height: 8px;
}

.eligibility-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.eligibility-grid::-webkit-scrollbar-thumb {
    background: var(--primary-navy);
    border-radius: 4px;
}

.eligibility-grid::-webkit-scrollbar-thumb:hover {
    background: #1e3a5f;
}

.eligibility-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid #e8e8e8;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
    min-width: 300px;
    max-width: 350px;
}

.eligibility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-navy));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.eligibility-card:hover::before {
    transform: scaleX(1);
}

.eligibility-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.eligibility-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-navy), #1e3a5f);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.eligibility-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--accent-gold);
}

.eligibility-card h3 {
    font-size: 1.5rem;
    color: #1a73e8;
    margin-bottom: 1rem;
    font-weight: 600;
}

.eligibility-card p {
    color: #4A90E2 !important;
    line-height: 1.8;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .case-details-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .case-details-image {
        order: -1;
    }

    .case-details-image img {
        min-height: 400px;
    }

    .case-details-content h2,
    .eligibility-section .section-header h2 {
        font-size: 2rem;
    }

}

@media (max-width: 768px) {
    .case-details-section,
    .eligibility-section {
        padding: 3rem 0;
    }

    .case-details-image img {
        min-height: 300px;
    }

    .case-details-content h2,
    .eligibility-section .section-header h2 {
        font-size: 1.75rem;
    }

    .case-detail-card,
    .eligibility-card {
        padding: 1.5rem;
    }

    .eligibility-card {
        min-width: 280px;
    }
}

/* Alternate Section Style - Compact List Layout */
.info-list-section {
    background: var(--primary-navy);
    padding: 5rem 0;
    color: white;
}

.info-list-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.info-list-section .section-header h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-list-section .section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
}

.info-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-list-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.info-list-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    border-color: var(--accent-gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.info-list-item h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-list-item h3::before {
    content: "▸";
    font-size: 1.8rem;
    color: var(--accent-gold);
}

.info-list-item p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .info-list-section {
        padding: 3rem 0;
    }

    .info-list-section .section-header h2 {
        font-size: 1.75rem;
    }

    .info-list-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-list-item {
        padding: 1.5rem;
    }
}
