/* ===========================================
   COURSE DETAIL PAGE STYLES
   =========================================== */

/* Breadcrumb Enhancement */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-1);
    font-family: 'Onest', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: white;
    margin-bottom: 44px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: white;
    margin: 0 var(--spacing-1);
}

.breadcrumb-current {
    color: white;
}

/* Course Detail Hero Section */
.course-detail-hero {
    height: 100vh;
    min-height: 100vh;
    padding-top: 5%;
    padding-bottom: 0;
    padding-left: 157px;
    padding-right: 0;
    background: linear-gradient(135deg, #283892 0%, #041A31 100%);
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
}

.course-detail-hero .container {
    padding-left: 0;
}

.course-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.course-detail-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.course-detail-title {
    font-family: 'Onest', sans-serif;
    font-size: 50px;
    font-weight: 400;
    line-height: 130%;
    color: #FFF;
    margin-bottom: 27px;
}

.course-detail-description {
    font-family: 'Onest', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #FFF;
    line-height: 30px;
    margin-bottom: var(--spacing-4);
}

/* Duration & Validity Tags */
.course-meta {
    display: flex;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-6);
}

.course-meta-item {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-2);
    padding: 12px 23px;
    background: rgba(0, 0, 0, 0.00);
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.25);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: white;
}

.meta-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.meta-value {
    font-weight: 600;
    color: white;
}

/* WhatsApp Button */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: 12px 24px;
    background: #25D366;
    color: white;
    border-radius: var(--radius-full);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
    width: fit-content;
    border: none;
    cursor: pointer;
}

.whatsapp-btn:hover {
    background: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn svg {
    width: 20px;
    height: 20px;
}

/* Course Image */
.course-detail-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.course-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/10;
    object-fit: cover;
}

/* ===========================================
   TRAINING INFORMATION SECTION
   =========================================== */

.training-info-section {
    padding: var(--spacing-16) 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(40, 56, 146, 0.03) 100%);
}

.training-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.training-info-title {
    font-family: 'Onest', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1;
    color: #041A31;
}

/* Accordion Styles */
.accordion-section {
    display: flex;
    flex-direction: column;
}

.accordion-item {
    border-bottom: 1px solid #E5E7EB;
}

.accordion-item:first-child {
    border-top: 1px solid #E5E7EB;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Onest', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #041A31;
    text-align: left;
    transition: color var(--transition-fast);
}

.accordion-header:hover {
    color: var(--color-secondary);
}

.accordion-icon {
    transition: transform var(--transition-base);
    color: var(--color-secondary);
    flex-shrink: 0;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content[data-expanded="true"] {
    max-height: 500px;
}

.accordion-content p {
    padding-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666666;
    line-height: 1.8;
}

/* ===========================================
   OBJECTIVES SECTION
   =========================================== */

.objectives-section {
    padding: var(--spacing-16) 0;
    background: white;
}

.objectives-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.objectives-header {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-8);
}

.objectives-title {
    font-family: 'Onest', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
    color: #041A31;
}

/* Objectives Illustration */
.objectives-illustration {
    width: 100%;
    max-width: 400px;
    margin-top: var(--spacing-6);
}

.objectives-illustration img,
.objectives-illustration svg {
    width: 100%;
    height: auto;
    max-height: 300px;
}

.objectives-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.objectives-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

/* Orange bullet with checkmark */
.objective-icon {
    width: 8px;
    height: 8px;
    min-width: 8px;
    flex-shrink: 0;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--color-primary);
}

.objective-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666666;
    line-height: 1.7;
}

.objective-text strong {
    color: #041A31;
    font-weight: 600;
}

/* ===========================================
   CTA SECTION - "Are you interested?"
   =========================================== */

.cta-section {
    position: relative;
    padding: 100px 0;
    background: #1E3A5F;
    overflow: hidden;
}

/* Background Image */
.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/courses/courses-detail-cta-bg.svg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Dark Overlay */
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 26, 49, 0.6);
    z-index: 1;
}

/* Dotted Pattern Overlay - Hidden */
.cta-dots-pattern {
    display: none;
}

/* Blur Effect in Center */
.cta-blur {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    max-width: 1370px;
    height: 70%;
    max-height: 490px;
    background: rgba(0, 0, 0, 0.00);
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    z-index: 3;
}

/* Content Container */
.cta-container {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Onest', sans-serif;
    font-size: 64px;
    font-weight: 400;
    color: #FFF;
    line-height: 105%;
    text-align: center;
}

.cta-description {
    font-family: 'Onest', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #FFF;
    line-height: 30px;
    text-align: center;
    max-width: 550px;
}

/* Register Now Button */
.cta-section .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 215px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid #FFF;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 22px;
    color: #FFF;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ===========================================
   RESPONSIVE STYLES
   =========================================== */

@media (max-width: 1024px) {
    .course-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .course-detail-image {
        order: -1;
    }

    .training-info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .objectives-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .objectives-illustration {
        max-width: 300px;
    }

    .cta-blur {
        width: 90%;
        height: 80%;
    }
}

@media (max-width: 768px) {
    .course-detail-title {
        font-size: 24px;
    }

    .course-meta {
        flex-wrap: wrap;
        gap: var(--spacing-2);
    }

    .course-meta-item {
        padding: 8px 16px;
        font-size: 12px;
    }

    .training-info-title {
        font-size: 36px;
    }

    .accordion-header {
        font-size: 16px;
        padding: 16px 0;
    }

    .objectives-title {
        font-size: 20px;
    }

    .objectives-illustration {
        display: none;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-blur {
        display: none;
    }
}

@media (max-width: 480px) {
    .course-detail-title {
        font-size: 22px;
    }

    .training-info-title {
        font-size: 28px;
    }

    .cta-title {
        font-size: 28px;
    }
}
