/* education-financiere.css */
.edu-fin-main {
    background-color: #0b0c10;
    /* Very dark background */
    color: #f1f1f1;
}

/* Hero Section */
.edu-hero-section {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    background: radial-gradient(circle at 80% -20%, rgba(212, 172, 75, 0.15) 0%, rgba(11, 12, 16, 1) 60%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.edu-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../assets/images/bg/02f84afc-608c-4538-95cf-2cd08f9f10cc.svg');
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.edu-hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.edu-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #d4ac4b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.edu-subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #a0a0a0;
    line-height: 1.6;
}

.edu-hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    color: #fff;
}

/* Guides Section */
.edu-guides-section {
    padding: 100px 0;
    background-color: #0b0c10;
}

.edu-section-title {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    text-align: center;
    color: #fff;
}

.edu-guides-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.edu-guide-banner {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    gap: 4rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.edu-guide-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 172, 75, 0.3);
}

.edu-guide-banner.reverse {
    flex-direction: row-reverse;
}

.edu-guide-visual {
    flex: 0 0 35%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    aspect-ratio: 1 / 1.414;
    /* A4 Ratio */
    background: #1a1c23;
}

.pdf-canvas-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.edu-guide-visual .skeleton-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #1a1c23 0%, #2a2c35 50%, #1a1c23 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.edu-guide-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.edu-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(212, 172, 75, 0.15);
    color: #d4ac4b;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 172, 75, 0.3);
}

.edu-guide-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.2;
}

.edu-guide-desc {
    font-size: 1.1rem;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Videos Section */
.edu-videos-section {
    padding: 100px 0 150px;
    background: #0b0c10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.edu-videos-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.edu-videos-header .edu-section-title {
    margin-bottom: 0;
}

.btn-youtube {
    background: #FF0000;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-youtube:hover {
    background: #cc0000;
    transform: translateY(-2px);
    color: white;
}

.btn-youtube i {
    font-size: 1.2rem;
}

.edu-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.edu-video-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.edu-video-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.edu-video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.edu-video-card:hover .play-btn-overlay i {
    color: #FF0000;
    transform: scale(1.1);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.7;
}

.play-btn-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.play-btn-overlay i {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 2;
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.video-meta {
    font-size: 0.9rem;
    color: #888;
}

/* Responsive Adjustments */
@media (max-width: 992px) {

    .edu-guide-banner,
    .edu-guide-banner.reverse {
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
    }

    .edu-guide-visual {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .edu-videos-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

/* ========================================================
   GUIDES PAGINATED SECTION
   ======================================================== */
.edu-guides-paginated-section {
    position: relative;
    padding: 80px 0;
    background-image: linear-gradient(rgba(13, 18, 28, 0.85), rgba(13, 18, 28, 0.92)), url('../../assets/images/bg/cf1401e7-a103-40f3-8800-0d607ee428b5.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.edu-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.edu-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.edu-page-btn:hover:not(:disabled) {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.15);
}

.edu-page-btn.active {
    background: #d4af37;
    color: #000;
    border-color: #d4af37;
}

.edu-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}