/* Section Base */
.resources-section {
    font-family: 'THICCCBOI Light', sans-serif;
    /* Reveal Animation Base State */
    opacity: 0;
    transform: translateY(40px);
    padding: 80px 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.resources-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.res-header {
    text-align: center;
    margin-bottom: 60px;
}

.res-header h2 {
    font-family: 'THICCCBOI', sans-serif;
    font-size: 48px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

@media (max-width: 768px) {
    .res-header h2 {
        font-size: 32px;
    }
}

/* Stack Layout */
.res-stack {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Card Styling */
.res-card {
    border-radius: 20px;
    padding: 50px;
    border: 5px solid rgba(255, 255, 255, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); /* Adding subtle shadow for depth */
    
    /* Reveal Animation Item Base */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.resources-section.is-visible .res-reveal-item {
    opacity: 1;
    transform: translateY(0);
}

.res-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Content Column */
.res-col-content {
    color: #ffffff;
}

.res-card-heading {
    font-family: 'THICCCBOI', sans-serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.3;
}

.res-card-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* List Styling */
.res-list-container {
    margin-bottom: 30px;
}

.res-list-intro {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 18px;
}

.res-list {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

.res-list li {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 8px;
    opacity: 0.9;
}

/* Image Column & Placeholder */
.res-col-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.res-img-wrapper {
    width: 100%;
}

.res-placeholder-box {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Behavior */
@media (max-width: 992px) {
    .res-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Force Image on Top for ALL cards on mobile/tablet */
    .res-col-img {
        order: -1;
    }
    
    .res-card {
        padding: 30px;
        text-align: left; /* Keep left alignment */
    }
    
    .res-card-heading {
        font-size: 26px;
    }
    
    .res-card-text {
        font-size: 16px;
    }
}