/* Main Section */
.hcs-hero-section {
    padding: 50px 20px;
    width: 100%;
    box-sizing: border-box;
}

.hcs-container {
    max-width: 100%;
    margin: 0 auto;
}

/* Grid Layout */
.hcs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Individual Item */
.hcs-item {
    min-height: 280px;
    background-repeat: no-repeat;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.hcs-item:hover {
    transform: translateY(-5px);
}

/* Link Wrapper */
.hcs-item-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    text-decoration: none;
}

/* Overlay for better readability */
.hcs-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 1;
}

.hcs-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
    /* Let clicks pass to the link */
}

/* Badge Styling */
.hcs-badge {
    display: inline-block;
    padding: 6px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    margin-bottom: 8px;
    line-height: 1;
}

/* Title Styling - FIXED WHITE COLOR */
.hcs-title {
    margin: 0 0 5px 0;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    color: #FFFFFF !important;
    /* Force white color */
}

/* Text Styling */
.hcs-text {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.4;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    color: #FFFFFF;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hcs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .hcs-item {
        min-height: 240px;
    }
}

@media (max-width: 767px) {
    .hcs-hero-section {
        padding: 30px 15px;
    }

    .hcs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .hcs-item {
        min-height: 200px;
        padding: 15px;
    }

    .hcs-badge {
        font-size: 9px;
        padding: 5px 10px;
    }

    .hcs-title {
        font-size: 14px;
    }

    .hcs-text {
        font-size: 11px;
    }
}