/* Keynotes Page Styles */

/* Hero Section */
.keynotes-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}

.keynotes-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(71, 183, 73, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.keynotes-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(71, 183, 73, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.keynotes-hero .row {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(71, 183, 73, 0.1) 0%, rgba(71, 183, 73, 0.15) 100%);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    border: 1px solid rgba(71, 183, 73, 0.2);
}

.hero-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.keynotes-hero p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 18px;
}

.hero-img-wrapper {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(71, 183, 73, 0.15), 0 10px 20px rgba(15, 23, 42, 0.08);
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-img-wrapper:hover img {
    transform: scale(1.05);
}

/* Themes Section */
.keynotes-themes-section {
    padding: 40px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    position: relative;
}

.keynotes-themes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(71, 183, 73, 0.2) 50%, transparent 100%);
}

.section-subtitle {
    text-align: center;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}

.theme-card {
    background: #fff;
    padding: 35px 30px;
    border-radius: 24px;
    height: 100%;
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: var(--color-primary);

}

.theme-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(71, 183, 73, 0.12);
}

.theme-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(71, 183, 73, 0.1) 0%, rgba(71, 183, 73, 0.15) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    margin-bottom: 25px;
    color: var(--color-primary);
    font-size: 1.8rem;
}

.theme-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}

.theme-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Speeches Section */
.keynotes-speeches-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f0fdf4 0%, #f8fafc 100%);
}

.keynotes-header {
    text-align: center;
    margin-bottom: 50px;
}

.keynote-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #eef2f6;
}

.keynote-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(71, 183, 73, 0.15);
    border-color: var(--color-primary);
}

.keynote-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.keynote-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.keynote-card:hover .keynote-img {
    transform: scale(1.08);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(71, 183, 73, 0.7) 0%, rgba(71, 183, 73, 0.5) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.keynote-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 3.5rem;
    color: #fff;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.keynote-content {
    padding: 1.5rem;
}

.keynote-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 10px;
}

.keynote-description {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-watch {
    background-color: #f0fdf4 !important;
    color: var(--color-primary) !important;
    border: 1px solid rgba(71, 183, 73, 0.3);
    border-radius: 50px !important;
    padding: 0.65rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-watch:hover {
    background-color: var(--color-primary) !important;
    color: white !important;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(71, 183, 73, 0.25);
}

/* Video Modal */
.modal-video .modal-content {
    background-color: #000;
    border-radius: 20px;
    overflow: hidden;
    border: none;
}

.modal-video .modal-body {
    padding: 0;
    position: relative;
    aspect-ratio: 16/9;
}

.modal-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-video .btn-close {
    position: absolute;
    top: -40px;
    right: 0;
    filter: invert(1);
    opacity: 1;
}

@media (max-width: 1199px) {
    .keynote-card {
        height: 100%;
    }
}

@media (max-width: 991px) {
    .keynote-card {
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .keynotes-hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .keynotes-themes-section,
    .keynotes-speeches-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .keynotes-header {
        margin-bottom: 40px;
    }

    .theme-card {
        padding: 25px 20px;
    }

    .theme-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .keynote-img-wrapper {
        height: 200px;
    }

    .keynote-card {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .theme-title {
        font-size: 1.05rem;
    }

    .hero-img-wrapper {
        border-radius: 20px;
    }

    .keynote-title {
        font-size: 1rem;
    }

    .play-overlay i {
        font-size: 2.5rem;
    }
}
