/* Highlights Section Styles */
.section-highlights {
    padding: 4rem 0;
    background: #f8f9fa;
}

/* Section Header */
.section-highlights .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-highlights .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #003d82;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-highlights .section-title-underline {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.section-highlights .section-title-underline span:first-child {
    width: 40px;
    height: 4px;
    background: #003d82;
}

.section-highlights .section-title-underline span:last-child {
    width: 20px;
    height: 4px;
    background: #003d82;
}

/* Highlight Cards */
.highlight-card {
    position: relative;
    height: 369px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15) !important;
}

.highlight-card a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.highlight-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.highlight-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.highlight-card:hover .highlight-card-image img {
    transform: scale(1.1);
}

.highlight-card-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #fff;
    padding: 0.5rem 1rem;
    font-weight: bold;
    font-size: 0.85rem;
}

.highlight-card-content {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 169px;
}

.highlight-card-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.highlight-card-description {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    flex-grow: 1;
}

.highlight-card-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #003d82;
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: auto;
}

/* Icon Boxes */
.icon-box {
    display: block;
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    height: 223px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.icon-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15) !important;
    background: #f8f9fa !important;
}

.icon-box:hover .icon-box-icon {
    color: #0A4E8A !important;
}

.icon-box-icon {
    margin-bottom: 1rem;
    flex-shrink: 0;
    transition: color 0.3s ease;
    color: #6c757d;
}

.icon-box-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.icon-box-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* 5-column grid for icon boxes */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .section-highlights {
        padding: 2.5rem 0 !important;
    }
    
    .section-highlights .section-title {
        font-size: 1.75rem !important;
        margin-bottom: 2rem !important;
    }
    
    .highlight-card {
        height: auto !important;
        margin-bottom: 1.5rem;
    }
    
    .highlight-card-content {
        height: auto !important;
    }
    
    .icon-box {
        min-height: 180px !important;
        height: auto !important;
    }
}

@media (max-width: 767px) {
    .section-highlights {
        padding: 2rem 0 !important;
    }
    
    .section-highlights .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .highlight-card {
        margin-bottom: 1rem;
    }
    
    .highlight-card-image {
        height: 180px !important;
    }
    
    .icon-box {
        min-height: 150px !important;
        height: auto !important;
        padding: 1.5rem 1rem !important;
        margin-bottom: 1rem;
    }
    
    .icon-box-icon {
        font-size: 2.5rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .icon-box-title {
        font-size: 0.95rem !important;
    }
    
    .icon-box-subtitle {
        font-size: 0.8rem !important;
    }
}
