:root {
    --primary-color: #007bff;
}
*{
    padding:0;
    margin:0;
    box-sizing: border-box;
}
html,body{
    width:auto;
    height: auto;
}
.section{
    display: flex;
}
.nav{
    width:30%;
    height:100%;
    background-color: #007bff;
}
.webinar-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}
h3{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
}
h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.webinar-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.webinar-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.webinar-card:hover {
    transform: translateY(-5px);
}

.date-badge {
    background:var(--primary-color);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.month {
    font-size: 1.2rem;
    font-weight: bold;
}

.day {
    font-size: 2rem;
    font-weight: bold;
}

.webinar-info {
    padding: 20px;
    flex: 1;
}

.webinar-info h3 {
    margin: 0 0 15px 0;
    color: var(--primary-color);
}
.webinar-info p {
    margin: 10px 0;
    color: #666;
}

.webinar-info i {
    margin-right: 10px;
    color: var(--primary-color);
}
.register-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    border: 2px solid #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 15px;
}
.register-btn:hover {
    background-color: white;
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.register-btn i {
    font-size: 16px;
}

.time-zones {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    line-height: 1.8;
    margin: 15px 0;
}

.page-container {
    display: flex;
    min-height: 100vh;
}

.side-nav {
    width: 250px;
    background: #333;
    color: white;
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
}
.nav-logo {
    padding: 0 20px;
    margin-bottom: 30px;
    text-align: center;
}

.nav-logo h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    color: white;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    padding: 0;
}

.nav-links a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}
.nav-links a:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 25px;
}

.nav-links a.active {
    background: var(--primary-color);
}
.nav-links i {
    margin-right: 10px;
    width: 20px;
}
.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 20px;
}

.teacher-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    padding: 10px;
    border-radius: 8px;
    background: rgba(0,0,0,0.02);
}

.teacher-img {
    width: 80px;  /* Increased from 50px */
    height: 80px; /* Increased from 50px */
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #007bff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.teacher-img:hover {
    transform: scale(1.05);
}

.teacher-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.logo {
    display: flex;
    align-items: center;
    height: 70px;
    padding: 10px 20px;
}

.logo img {
    height: 100%;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.lang-btn {
    background: white;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
    overflow: hidden;
}

.language-dropdown.show {
    display: block;
}

.language-dropdown a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s;
}

.language-dropdown a:hover {
    background: #f5f5f5;
}

@media screen and (max-width: 768px) {
    .logo {
        height: 60px;
    }
    
    .logo img {
        max-width: 180px;
    }
}
@media screen and (max-width: 768px) {
    .page-container {
        flex-direction: column;
    }
    .active{
        border-radius: 8px;
    }
    .side-nav {
        width: 100%;
        height: auto;
        position: relative;
        padding: 10px 0;
    }

    .nav-logo {
        margin-bottom: 15px;
    }

    .nav-links {
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .nav-links a {
        padding: 10px 15px;
    }

    .main-content {
        margin-left: 0;
        padding: 15px;
    }

    .webinar-card {
        flex-direction: column;
    }

    .date-badge {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        padding: 15px;
    }

    .webinar-info {
        padding: 15px;
    }

    .webinar-info h3 {
        font-size: 1.2rem;
    }

    .time-zones {
        font-size: 0.9rem;
        padding: 10px;
    }

    .register-btn {
        width: 100%;
        padding: 12px;
    }

    h1 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .webinar-container {
        margin: 20px auto;
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .nav-links a {
        width: 90%;
        justify-content: center;
    }

    .webinar-info p {
        font-size: 0.9rem;
    }

    .date-badge {
        padding: 10px;
    }

    .month, .day {
        font-size: 1rem;
    }

    .register-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }

    .teacher-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .teacher-img {
        width: 60px;  /* Increased from 40px */
        height: 60px; /* Increased from 40px */
    }
}


