/* Speakers Page Styles */

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

.speakers-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;
}

.speakers-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;
}

.speakers-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: 2rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

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

.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);
}

/* Categories Section */
.speakers-categories {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    position: relative;
}

.speakers-categories::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;
}

.category-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);
}

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

.category-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;
}

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

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

/* Featured Speakers Section */
.speakers-featured {
    padding: 80px 0;
    background-color: #f8fafc;
}

.speaker-card-link {
    text-decoration: none;
    display: block;
}

.speaker-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;
}

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

.speaker-img-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

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

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

.speaker-card-link:hover .speaker-overlay {
    opacity: 1;
}

.speaker-overlay i {
    font-size: 3rem;
    color: #fff;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transform: translateX(-10px);
    transition: transform 0.3s ease;
}

.speaker-card-link:hover .speaker-overlay i {
    transform: translateX(0);
}

.speaker-content {
    padding: 1.5rem;
    text-align: center;
}

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

.speaker-designation {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .speaker-card {
        height: 100%;
    }
}

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

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

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

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

    .speakers-categories,
    .speakers-featured {
        padding: 50px 0;
    }

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

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

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

    .speaker-img-wrapper {
        height: 240px;
    }

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

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

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

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

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

    .speaker-name {
        font-size: 1rem;
    }

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