﻿/* Course Page Styles */
body {
    padding-top: 70px;
    background-image: url(../images/dark_brick_wall.png);
    background-attachment: fixed;
}

/* Course Header */
.course-header {
    background: linear-gradient(135deg, #e62b4c, #C41735);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.course-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../images/bg-1.jpg) center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.course-title {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.course-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Course Selection */
.course-selection {
    padding: 80px 0;
    background: #1a1a1a;
}

.section-heading {
    color: #fff;
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* Course Cards */
.course-card {
    background: linear-gradient(145deg, #2d2d2d, #1a1a1a);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e62b4c, #C41735);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.course-card:hover::before {
    opacity: 1;
}

/* Course Image */
.course-image {
    height: 200px;
    background: linear-gradient(135deg, #333, #222);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.course-image i {
    font-size: 80px;
    color: #e62b4c;
    transition: all 0.3s ease;
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 43, 76, 0.9), rgba(196, 23, 53, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-overlay-content {
    text-align: center;
    color: #fff;
}

.course-overlay-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.course-overlay-content p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

/* Course Info */
.course-info {
    padding: 30px;
}

.course-info h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.course-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Course Meta */
.course-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.course-duration,
.course-level {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-duration i,
.course-level i {
    color: #e62b4c;
}

/* Course Button */
.btn-course {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #e62b4c, #C41735);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(230, 43, 76, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-course::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-course:hover::before {
    left: 100%;
}

.btn-course:hover {
    background: linear-gradient(135deg, #C41735, #a01429);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 43, 76, 0.4);
}

/* Footer */
.course-footer {
    background: #000;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(230, 43, 76, 0.2);
}

.course-footer p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .course-title {
        font-size: 36px;
    }
    
    .course-subtitle {
        font-size: 16px;
    }
    
    .section-heading {
        font-size: 28px;
    }
    
    .course-card {
        margin-bottom: 40px;
    }
    
    .course-image {
        height: 150px;
    }
    
    .course-image i {
        font-size: 60px;
    }
    
    .course-info {
        padding: 25px;
    }
    
    .course-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .course-header {
        padding: 60px 0 40px;
    }
    
    .course-title {
        font-size: 28px;
    }
    
    .course-selection {
        padding: 60px 0;
    }
    
    .section-heading {
        font-size: 24px;
    }
    
    .course-info h3 {
        font-size: 20px;
    }
}
