/* Hero Section */
.mice-hero {
    background: url('/images/mice/d/mice-programs-header.webp') center/cover;
    min-height: 546px;
    position: relative;
    display: flex;
    align-items: center;
}

/* Filter in Hero */
.hero-filter {
    max-width: 400px;
}

.hero-filter select {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    background: white;
    color: #333;
    cursor: pointer;
}


/* Programs Section */
.programs-section {
    padding: 0 0 60px 0;
    background: white;
}

.destination-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.destination-group:last-child {
    margin-bottom: 0;
}

.destination-title {
    font-family: "Montserrat Thin", sans-serif;
    font-size: 35px;
    font-weight: 700;
    text-transform: capitalize;
    color: #484848;
    text-align: center;
}

/* Program Cards Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 0 20px;
    justify-content: center;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.no-results h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 991px) {
    .programs-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mice-hero {
        min-height: 0;
        padding-top: 60px;
        padding-bottom: 115px;
    }
}

@media (max-width: 575px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .destination-title {
        font-size: 30px;
    }
}

/* mice-program-card css beginning */
.bracketed-text {
    color: #CDB08C;
}

/* Program wrapper to contain tile and expanded content */
.program-wrapper {
    margin-bottom: 40px;
}

/* Program Card - Tile Style */
.program-tile {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1;
}

.program-tile:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.program-tile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark gradient overlay for text readability */
.program-tile-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 1;
}

/* Location text at bottom left in white */
.program-tile-location {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Initial state - content is positioned but hidden */
.program-tile-expanded {
    background: #f5f5f5;
    border-radius: 0 0 20px 20px;
    padding: 0 30px;  /* Horizontal padding fixed */
    margin-top: -20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    z-index: -1;
}

/* Expanded state */
.program-wrapper.hover-active .program-tile-expanded {
    padding: 40px 30px 30px 30px;  /* Add top/bottom padding */
    max-height: 1000px;
    opacity: 1;
}

/* Simplified animations - no horizontal movement */
@keyframes slideDown {
    0% {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    100% {
        opacity: 1;
        max-height: 1000px;
        padding-top: 40px;
        padding-bottom: 30px;
    }
}

@keyframes slideUp {
    0% {
        opacity: 1;
        max-height: 1000px;
        padding-top: 40px;
        padding-bottom: 30px;
    }
    100% {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* Content styling */
.program-content-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.program-tile-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.program-tile-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
}

.program-tile-cta:hover {
    color: #6ec1e4;
}

.program-tile-cta svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

/* Responsive */
@media (max-width: 575px) {
    .program-tile {
        height: 250px;
    }

    .program-tile-location {
        font-size: 1.1rem;
    }
}

@media (min-width: 992px) {
    .program-tile-location, .program-content-title {
        font-size: 17px;
    }

    .program-tile-description, .program-tile-cta {
        font-size: 14px;
    }

}
/* mice-program-card css ending */