/* Course Detail Page Styles */

/* Hero Section */
.course-detail-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.course-detail-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.course-detail-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: subtleZoom 20s ease-in-out infinite;
}

@keyframes subtleZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.course-detail-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 20, 41, 0.85), rgba(0, 20, 41, 0.65));
    z-index: -1;
}

.course-detail-hero .hero-content {
    position: relative;
    z-index: 1;
    color: var(--white-color);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 4rem 2rem;
    text-align: center;
}

.course-detail-hero .hero-text h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease;
}

.course-detail-hero .hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 600;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.01em;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: var(--white-color);
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: fadeInUp 0.6s ease;
}

.hero-certifications {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1.2s ease;
}

.hero-certifications i {
    color: var(--secondary-color);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content Section */
.featured-showcase {
    position: relative;
    background: linear-gradient(to bottom, var(--white-color) 0%, #f8f9fa 50%, var(--white-color) 100%);
    padding: 4rem 0;
}

.showcase-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* Left Sidebar - Info Cards */
.showcase-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 2rem;
}

.info-card {
    background: var(--white-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 78, 137, 0.1);
    border: 2px solid rgba(0, 78, 137, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 78, 137, 0.15);
    border-color: var(--primary-color);
}

.info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 78, 137, 0.1);
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item dt {
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-item dd {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

/* Trainers List */
.trainers-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.trainer-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(0, 78, 137, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.trainer-item:hover {
    background: rgba(0, 78, 137, 0.08);
    transform: translateX(4px);
}

.trainer-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
}

.trainer-details {
    flex: 1;
}

.trainer-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.trainer-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.25rem;
}

.trainer-qualifications {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
}

.prerequisites-content,
.audience-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.prerequisites-content p,
.audience-content p {
    margin-bottom: 0.75rem;
}

/* Center Content */
.showcase-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-card {
    background: var(--white-color);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 78, 137, 0.1);
    border: 2px solid rgba(0, 78, 137, 0.1);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 78, 137, 0.15);
    border-color: var(--primary-color);
}

.content-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 78, 137, 0.1);
    position: relative;
}

.content-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

/* Learning Outcomes */
.outcomes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.outcomes-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
    padding: 1rem;
    background: rgba(0, 78, 137, 0.03);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.outcomes-list li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
}

.outcomes-list li:hover {
    background: rgba(0, 78, 137, 0.08);
    transform: translateX(8px);
    border-left-color: var(--primary-color);
}

/* Curriculum Modules */
.modules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modules-list li {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(0, 78, 137, 0.03);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.modules-list li:hover {
    background: rgba(0, 78, 137, 0.08);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0, 78, 137, 0.1);
}

.module-index {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.module-content {
    flex: 1;
}

.module-text {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.module-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* What to Bring */
.what-to-bring-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.what-to-bring-content p {
    margin-bottom: 0.75rem;
}

/* FAQ Section */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    padding: 1.5rem;
    background: rgba(0, 78, 137, 0.03);
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(0, 78, 137, 0.08);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0, 78, 137, 0.1);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.faq-answer {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.faq-answer p {
    margin: 0;
}

/* Right Sidebar - Content + Sessions & CTA */
.showcase-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Right Sidebar - Sessions & CTA */
.showcase-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 2rem;
}

.sessions-card,
.cta-card {
    background: var(--white-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 78, 137, 0.1);
    border: 2px solid rgba(0, 78, 137, 0.1);
}

.sessions-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 78, 137, 0.1);
}

.session-card {
    padding: 1.5rem;
    background: rgba(0, 78, 137, 0.03);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    border: 2px solid rgba(0, 78, 137, 0.1);
    transition: all 0.3s ease;
}

.session-card:hover {
    background: rgba(0, 78, 137, 0.08);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 78, 137, 0.1);
}

.session-dates {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.date-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.date-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.date-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
}

.deadline-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.session-card .btn-primary {
    width: 100%;
    margin-top: 0.75rem;
}

.cta-primary {
    text-align: center;
    margin-bottom: 1.5rem;
}

.cta-primary .btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    width: 100%;
    margin-bottom: 0.75rem;
}

.cta-subtext {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

.cta-card .btn-outline {
    width: 100%;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.cta-card .btn-outline:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #003d6b;
    border-color: #003d6b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 78, 137, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.btn-block {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .showcase-grid {
        grid-template-columns: 280px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .showcase-info,
    .showcase-actions {
        position: static;
    }
    
    .showcase-info {
        order: 2;
    }
    
    .showcase-content-wrapper {
        order: 1;
    }
    
    .showcase-actions {
        order: 3;
    }
}

@media (max-width: 768px) {
    .course-detail-hero {
        min-height: 350px;
    }
    
    .course-detail-hero .hero-content {
        min-height: 350px;
        padding: 2rem 1.5rem;
    }
    
    .featured-showcase {
        padding: 2.5rem 0;
    }
    
    .showcase-wrapper {
        padding: 0 1rem;
    }
    
    .info-card,
    .content-card,
    .sessions-card,
    .cta-card {
        padding: 1.5rem;
    }
    
    .info-title,
    .content-title,
    .sessions-title {
        font-size: 1.25rem;
    }
    
    .session-dates {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 576px) {
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-certifications {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
    }
    
    .info-card,
    .content-card {
        padding: 1.25rem;
    }
    
    .outcomes-list li,
    .modules-list li,
    .faq-item {
        padding: 1rem;
    }
    
    .module-index {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

