* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.webinar-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.webinar-info p {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.header-nav {
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.header-nav .nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.header-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-section {
    margin-top: 2rem;
}

.register-btn {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.intro {
    padding: 3rem 0;
    background: white;
}

.intro h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #333;
}

.intro p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #666;
}

.schedule {
    padding: 3rem 0;
    background: #f9f9f9;
}

.schedule h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.speaker-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    aspect-ratio: 1;
    width: 300px;
    overflow: hidden;
    word-wrap: break-word;
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.speaker-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.speaker-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid #667eea;
}

.speaker-info h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.3rem;
}

.speaker-affiliation {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

.talk-time {
    background: #667eea;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
}

.talk-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.talk-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
}

.speakers {
    padding: 3rem 0;
    background: #f9f9f9;
}

.speakers h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

.organizers {
    padding: 3rem 0;
    background: white;
}

.organizers h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

.organizers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.organizer-card {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.organizer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.organizer-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
    border: 3px solid #667eea;
}

.organizer-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.organizer-affiliation {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.register-link {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #667eea;
    transition: color 0.3s ease;
}

.register-link:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

.youtube-link {
    color: #8b0000;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #8b0000;
    transition: color 0.3s ease;
}

.youtube-link:hover {
    color: #660000;
    border-bottom-color: #660000;
}

.name-link {
    color: inherit;
    text-decoration: none;
}

.name-link:hover {
    color: inherit;
    text-decoration: none;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Speaker Details Page Styles */
.speaker-details {
    padding: 3rem 0;
    background: white;
}

.speaker-detail-item {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.speaker-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.speaker-detail-item .speaker-info {
    display: flex;
    gap: 1.5rem;
    width: 450px;
    flex-shrink: 0;
    align-items: center;
}

.speaker-detail-item .speaker-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #667eea;
    flex-shrink: 0;
}

.speaker-detail-item .speaker-text h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.speaker-detail-item .speaker-affiliation {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.speaker-detail-item .speaker-date {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: bold;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    display: inline-block;
}

.talk-details {
    flex: 1;
}

.talk-title {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.talk-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
}

/* Speaker Item Styles for Index Page */
.speaker-item {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.speaker-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.speaker-item .speaker-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
    border: 4px solid #667eea;
}

.speaker-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.speaker-item .speaker-affiliation {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speaker-item .speaker-date {
    color: #667eea;
    font-size: 0.8rem;
    font-weight: bold;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    display: inline-block;
}

@media (max-width: 1024px) {
    .organizers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .webinar-info {
        flex-direction: column;
        gap: 1rem;
    }

    .header-nav {
        position: static;
        margin-top: 2rem;
        text-align: center;
    }

    .organizers-grid {
        grid-template-columns: 1fr;
    }

    .speaker-header {
        flex-direction: column;
        text-align: center;
    }

    .speaker-photo {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .speaker-detail-item {
        flex-direction: column;
        gap: 1.5rem;
    }

    .speaker-detail-item .speaker-info {
        min-width: auto;
        flex-direction: column;
        text-align: center;
    }

    .speaker-detail-item .speaker-photo {
        width: 100px;
        height: 100px;
    }

    .talk-title {
        font-size: 1.2rem;
    }

    .talk-description {
        text-align: left;
    }

    .speakers-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .speaker-item {
        padding: 1.5rem;
    }

    .speaker-item .speaker-photo {
        width: 100px;
        height: 100px;
    }
}