/* =====================================================
   RESOURCES PAGE STYLES
   ===================================================== */

/* Resources Hero Section */
.resources-hero {
    padding-top: 130px;
    padding-bottom: 50px;
    background: linear-gradient(135deg, rgba(7,9,42,0.85) 0%, rgba(13,16,64,0.95) 100%), url('../images/attempt.png') center/cover no-repeat;
    position: relative;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Category Grid */
.resource-categories { padding: 100px 0; background: #ffffff; }
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.cat-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 30px 24px; border-radius: 16px; text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.3s ease; text-decoration: none; display: block;
}
.cat-card:hover { background: #ffffff; border-color: rgba(245,166,35,0.4); transform: translateY(-8px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.cat-icon-box {
    width: 60px; height: 60px; margin: 0 auto 20px;
    background: rgba(245,166,35,0.1); border: 1px solid rgba(245,166,35,0.2);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: #f5a623; transition: transform 0.3s;
}
.cat-card:hover .cat-icon-box { transform: scale(1.1); background: #f5a623; color: #ffffff; }
.cat-title { font-size: 20px; color: #111827; margin-bottom: 10px; font-weight: 700; transition: color 0.3s; }
.cat-card:hover .cat-title { color: #f5a623; }
.cat-desc { font-size: 14px; color: #4b5563; line-height: 1.6; }

/* Featured Downloads */
.featured-downloads { padding: 50px 0; background: #f8fafc; border-top: 1px solid rgba(0,0,0,0.05); }
.downloads-list { display: flex; flex-direction: column; gap: 20px; max-width: 900px; margin: 40px auto 0; }
.download-item {
    background: #ffffff; border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px; padding: 20px 24px;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}
.download-item:hover { background: #ffffff; border-color: rgba(245,166,35,0.4); transform: translateX(5px); box-shadow: 0 8px 25px rgba(0,0,0,0.06); }
.dl-info { display: flex; align-items: center; gap: 20px; }
.dl-icon { font-size: 32px; color: #f5a623; }
.dl-title { font-size: 18px; color: #111827; font-weight: 600; margin-bottom: 6px; }
.dl-meta { font-size: 13px; color: #4b5563; }
.dl-btn { padding: 8px 20px; font-size: 13px; display: flex; align-items: center; gap: 8px; }

@media (max-width: 900px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Breadcrumbs */
.breadcrumb {
    margin-top: 20px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7);
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.breadcrumb a { color: #f5a623; transition: color 0.3s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 10px; color: rgba(255,255,255,0.4); }

@media (max-width: 600px) {
    .resources-hero { padding-top: 120px; padding-bottom: 20px; }
    .resources-hero .about-title { font-size: 24px; margin-bottom: 10px; line-height: 1.2; }
    .resources-hero .about-subtitle { font-size: 13px; line-height: 1.5; padding: 0 10px; text-align: justify; }
    .resource-categories { padding: 50px 0; }
    .resource-categories .section-title { font-size: 24px; margin-bottom: 12px; }
    .resource-categories .section-desc { font-size: 13px; line-height: 1.5; text-align: justify; padding: 0 10px; }
    .categories-grid { grid-template-columns: 1fr; margin-top: 30px; gap: 20px; }
    .cat-card { padding: 24px 16px; }
    .cat-icon-box { width: 48px; height: 48px; font-size: 20px; margin-bottom: 16px; }
    .cat-title { font-size: 16px; margin-bottom: 8px; }
    .cat-desc { font-size: 12px; text-align: justify; }
    
    .featured-downloads { padding: 40px 0; }
    .featured-downloads .section-title { font-size: 24px; margin-bottom: 12px; }
    .downloads-list { margin-top: 24px; gap: 16px; }
    .download-item { flex-direction: column; text-align: center; gap: 12px; align-items: stretch; padding: 16px; }
    .dl-info { flex-direction: column; text-align: center; gap: 10px; }
    .dl-icon { font-size: 24px; }
    .dl-title { font-size: 15px; margin-bottom: 4px; }
    .dl-meta { font-size: 11px; }
    .dl-btn { padding: 8px 16px; font-size: 12px; justify-content: center; }
}
