/* Course Card Styles */
.course-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-card .card-text {
    flex: 1;
    margin-bottom: 1rem;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.course-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-features {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
}

.course-features span {
    display: flex;
    align-items: center;
}

.course-features i {
    margin-right: 5px;
}

/* Course Hero Section */
.course-hero {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 0 4rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.course-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.course-hero .container {
    position: relative;
    z-index: 1;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.course-meta span {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.course-meta i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.tech-item {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.tech-item i {
    margin-right: 0.5rem;
}

/* Course Content Section */
.course-content {
    padding: 4rem 0;
}

.course-module {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.course-module:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.module-list {
    list-style: none;
    padding: 0;
}

.module-list li {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.module-list li:hover {
    background: #f8f9fa;
    padding-left: 1.5rem;
}

.module-list li:last-child {
    border-bottom: none;
}

.module-list i {
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Course Features Section */
.course-features-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1);
}

/* Enrollment Section */
.enrollment-section {
    padding: 4rem 0;
    text-align: center;
}

.enrollment-card {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

/* Theme-specific styles */
.java-theme .course-hero {
    background: linear-gradient(135deg, #007396, #00a4e4);
}

.java-theme .module-list i,
.java-theme .feature-card i {
    color: #007396;
}

.python-theme .course-hero {
    background: linear-gradient(135deg, #306998, #FFD43B);
}

.python-theme .module-list i,
.python-theme .feature-card i {
    color: #306998;
}

.devops-theme .course-hero {
    background: linear-gradient(135deg, #2496ED, #1E1E1E);
}

.devops-theme .module-list i,
.devops-theme .feature-card i {
    color: #2496ED;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .course-hero {
        padding: 6rem 0 3rem;
    }

    .course-meta span {
        display: block;
        margin-bottom: 1rem;
    }

    .enrollment-card {
        padding: 2rem;
    }

    .tech-stack {
        justify-content: center;
    }
} 