/* Course Header */
.course-header {
    position: relative;
    background: linear-gradient(135deg, var(--dark-color), var(--secondary-color), var(--dark-color));
    color: var(--white);
    padding: 8rem 0 4rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.course-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
}

.course-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.course-header-text {
    flex: 1;
}

.course-header-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--primary-color);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.course-header-image {
    flex: 1;
    max-width: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.5s ease;
    position: relative;
}

.course-header-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,215,0,0.1), transparent);
}

.course-header-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.course-header-image:hover img {
    transform: scale(1.05);
}

.portfolio-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    margin-right: 1rem;
    margin-top: 1rem;
}

.portfolio-link:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,215,0,0.2);
}

/* Course Detail Section */
.course-detail-section {
    padding: 4rem 0;
    background: var(--white);
    position: relative;
    z-index: 1;
}

.course-detail-content {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 3rem;
    margin-top: -5rem;
    position: relative;
    z-index: 2;
}

.course-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.highlight-item p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.course-description {
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.course-description h4 {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.course-description h5 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin: 1.5rem 0 1rem;
    position: relative;
    padding-left: 1rem;
}

.course-description h5::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35em;
    height: 0.8em;
    width: 5px;
    background: var(--primary-color);
}

.course-description ul {
    list-style: none;
    margin-bottom: 2rem;
}

.course-description li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 2rem;
    font-size: 1.1rem;
}

.course-description li i {
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0.2em;
}

.course-description b {
    color: var(--primary-dark);
    font-weight: 600;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    margin-top: 2rem;
}

/* Footer Grid Styles */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-col h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    width: 100%;
}

.footer-col p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    margin-top: 0.5rem;
}

.social-links a {
    color: var(--white);
    background: rgba(255,255,255,0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    width: 100%;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.footer-credits a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-credits a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .course-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .course-header-text h1 {
        font-size: 2.5rem;
    }
    
    .course-header-image {
        max-width: 100%;
    }
    
    .course-detail-content {
        margin-top: -3rem;
    }
}

@media (max-width: 576px) {
    .course-header-text h1 {
        font-size: 1.8rem;
    }
    
    .course-detail-content {
        padding: 1.5rem;
    }
    
    .course-description h4 {
        font-size: 1.5rem;
    }
    
    .course-description h5 {
        font-size: 1.3rem;
    }
    
    .portfolio-link {
        display: block;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .btn-large {
        width: 100%;
        text-align: center;
    }
}