/* Program Highlights Component Styles - Modern Version */
.program-highlights {
    margin-bottom: 2rem;
}

/* Gallery Styles */
.program-gallery {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.program-gallery .carousel {
    position: relative;
}

.program-gallery .carousel-inner {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.program-gallery .carousel-item {
    height: 450px;
    background: var(--light);
}

.program-gallery .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-gallery .carousel-item:hover img {
    transform: scale(1.02);
}

/* Carousel Indicators (Dots) */
.program-gallery .carousel-indicators {
    bottom: 20px;
    z-index: 15;
}

.program-gallery .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: var(--transition);
}

.program-gallery .carousel-indicators button.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* Carousel Controls (Prev/Next) */
.program-gallery .carousel-control-prev,
.program-gallery .carousel-control-next {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    opacity: 0;
    transition: var(--transition);
}

.program-gallery:hover .carousel-control-prev,
.program-gallery:hover .carousel-control-next {
    opacity: 1;
}

.program-gallery .carousel-control-prev {
    left: 15px;
}

.program-gallery .carousel-control-next {
    right: 15px;
}

.program-gallery .carousel-control-prev-icon,
.program-gallery .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Carousel Overlay */
.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 2rem 1.5rem 1rem;
    z-index: 10;
    pointer-events: none;
}

.gallery-label {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(10, 140, 114, 0.8);
    border-radius: 30px;
    font-size: 0.75rem;
}

/* Highlight Cards Grid */
.highlight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

/* Individual Highlight Card */
.highlight-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

/* Highlight Icon */
.highlight-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(10, 140, 114, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.highlight-card:hover .highlight-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    transform: scale(1.05);
}

.highlight-icon i {
    font-size: 1.6rem;
    color: var(--primary);
    transition: var(--transition);
}

.highlight-card:hover .highlight-icon i {
    color: white;
}

/* Highlight Content */
.highlight-content h6 {
    color: var(--primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.highlight-content h4 {
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.highlight-content p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .program-gallery .carousel-item {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .program-gallery .carousel-item {
        height: 300px;
    }
    
    .highlight-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .highlight-card {
        padding: 1.25rem;
    }
    
    .highlight-icon {
        width: 55px;
        height: 55px;
    }
    
    .highlight-icon i {
        font-size: 1.3rem;
    }
    
    .program-gallery .carousel-control-prev,
    .program-gallery .carousel-control-next {
        width: 35px;
        height: 35px;
        margin: 0 10px;
        opacity: 0.6;
    }
    
    .carousel-overlay {
        padding: 1rem 1rem 0.75rem;
    }
    
    .gallery-label {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .program-gallery .carousel-item {
        height: 250px;
    }
}

/* Optional: Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.highlight-card:nth-child(1) { animation-delay: 0.1s; }
.highlight-card:nth-child(2) { animation-delay: 0.2s; }
.highlight-card:nth-child(3) { animation-delay: 0.3s; }
.highlight-card:nth-child(4) { animation-delay: 0.4s; }
