/* ================= COURSES PAGE CSS ================= */

/* Container utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.courses-main h2 {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: #fff;
}

.courses-main h2 span {
    color: #ff0000;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}

/* ================= HERO ================= */
.courses-hero {
    text-align: center;
    padding: 100px 5% 80px;
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
}

.courses-hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #fff;
}

.courses-hero-content h1 span {
    color: #ff0000;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.courses-hero-content p {
    font-size: 1.3rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ================= COURSES GRID ================= */
.courses-section {
    padding: 60px 5% 100px;
}

.courses-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.course-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.9));
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.course-card:hover {
    background: rgba(255, 0, 0, 0.05);
    border-color: rgba(255, 0, 0, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.15);
}

.course-card i {
    font-size: 3.5rem;
    color: #ff0000;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.3));
}

.course-card:hover i {
    transform: scale(1.1);
}

.course-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
}

.course-card p {
    color: #aaa;
    line-height: 1.6;
    font-size: 1.05rem;
    margin-bottom: 30px;
    flex-grow: 1; /* Pushes button to bottom */
}

/* COURSE BUTTONS */
.btn-group {
    display: flex;
    gap: 15px;
    width: 100%;
}

.course-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.course-btn.outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.course-btn.outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.course-btn.solid {
    background: linear-gradient(45deg, #cc0000, #ff0000);
    border: 1px solid #ff0000;
}

.course-btn.solid:hover {
    background: transparent;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .courses-hero-content h1 { font-size: 2.8rem; }
    .courses-main h2 { font-size: 2.2rem; }
    .course-card { padding: 40px 25px; }
}
