:root {
    --primary-color: #008AE6;
    --light-primary-color: #E6F4FF;
    --secondary-color: #005999;
    --light-secondary-color: #CCE7FF;
    --tertiary-color: #B3D9FF;
    --dark-color: #31333A;
    --light-color: #FFFFFF;
    --grey-color: #BBC7D4;
    --light-dark-color: #727272;
    --light-grey-color: #f5f5f5;
    --body-font: 'Inter', sans-serif;
    --heading-font: 'Inter', sans-serif;
}

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

body {
    font-family: var(--body-font);
    overflow-x: hidden;
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--light-grey-color);
}

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

/* Header & Navigation Styles */
.nav-container {
    padding: 10px 20px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-align {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.main-logo img {
    width: 130px;
}

/* Desktop Menu */
.nav-list {
    display: block;
}

.nav-list ul {
    display: flex;
    gap: 35px;
}

.nav-list ul li {
    list-style: none;
}

.nav-list ul li a {
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    color: var(--dark-color);
    transition: color 0.3s;
}

.nav-list ul li a:hover,
.nav-list ul li a.active {
    color: var(--primary-color);
}

/* Hamburger Button */
.hamburger {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    padding: 8px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #31333A;
    transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-align {
        padding: 10px 0;
    }

    .hamburger {
        display: flex;
        position: relative;
        left: 0;
    }

    .nav-list {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        display: none;
        z-index: 100;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-list.open {
        display: block;
    }

    .nav-list ul {
        display: block;
        width: 100%;
    }

    .nav-list ul li {
        border-bottom: 1px solid #e0e0e0;
        padding: 15px 20px;
    }

    .nav-list ul li a {
        display: block;
        width: 100%;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-small {
    padding: 8px 16px;
    font-size: 12px;
}

/* Hero Section */
.events-hero {
    background: linear-gradient(135deg, var(--light-primary-color) 0%, var(--light-grey-color) 100%);
    padding: 80px 0;
    text-align: center;
}

.events-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.events-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--light-dark-color);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat .label {
    font-size: 0.9rem;
    color: var(--light-dark-color);
    font-weight: 500;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--light-dark-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Event Categories */
.event-categories {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid var(--light-grey-color);
}

.categories-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 24px;
    background: var(--light-grey-color);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    color: var(--light-dark-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Upcoming Events */
.upcoming-events {
    padding: 80px 0;
    background-color: var(--light-grey-color);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.event-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.event-card.conference .event-badge {
    background: var(--primary-color);
    color: white;
}

.event-card.webinar .event-badge {
    background: var(--secondary-color);
    color: white;
}

.event-card.workshop .event-badge {
    background: #4A90E2;
    color: white;
}

.event-card.networking .event-badge {
    background: #50E3C2;
    color: white;
}

.event-image {
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content {
    padding: 25px;
    display: flex;
    gap: 20px;
}

.event-date {
    flex-shrink: 0;
    text-align: center;
    min-width: 80px;
}

.date-main {
    background: var(--light-primary-color);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
}

.day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
}

.date-info {
    font-size: 0.8rem;
    color: var(--light-dark-color);
}

.year {
    display: block;
}

.duration {
    display: block;
}

.event-details {
    flex: 1;
}

.event-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark-color);
    line-height: 1.3;
}

.event-description {
    color: var(--light-dark-color);
    margin-bottom: 20px;
    line-height: 1.5;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--light-dark-color);
}

.meta-item i {
    color: var(--primary-color);
    width: 16px;
}

.event-speakers h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.speakers-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.speaker {
    display: flex;
    align-items: center;
    gap: 8px;
}

.speaker-avatar {
    width: 30px;
    height: 30px;
    background: var(--light-primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-color);
}

.speaker span {
    font-size: 0.8rem;
    color: var(--light-dark-color);
}

.event-actions {
    padding: 20px 25px;
    background: var(--light-grey-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.event-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.member-price {
    font-size: 0.9rem;
    color: var(--light-dark-color);
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.action-buttons .btn {
    white-space: nowrap;
}

/* Past Webinars */
.past-webinars {
    padding: 80px 0;
    background-color: white;
}

.webinars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.webinar-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--light-grey-color);
}

.webinar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.webinar-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.webinar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-overlay i {
    color: white;
    font-size: 2rem;
}

.webinar-content {
    padding: 20px;
}

.webinar-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark-color);
    line-height: 1.3;
}

.webinar-date {
    font-size: 0.8rem;
    color: var(--light-dark-color);
    margin-bottom: 12px;
}

.webinar-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.webinar-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--light-dark-color);
}

.webinar-meta i {
    color: var(--primary-color);
}

.webinar-description {
    font-size: 0.9rem;
    color: var(--light-dark-color);
    margin-bottom: 20px;
    line-height: 1.5;
}

.webinar-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Event Calendar */
.event-calendar {
    display: flex;
    position: relative;
    padding: 80px 0;
    margin-right: auto;
    margin-left: auto;
    background-color: var(--light-grey-color);
}

.event-calendar .container {
    justify-content: center;
}

.calendar-view {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    justify-content: center;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.calendar-header h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
}

.calendar-nav {
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 35px;
    height: 35px;
    border: 1px solid var(--grey-color);
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--light-primary-color);
    border-color: var(--primary-color);
}

.calendar-grid {
    border: 1px solid var(--light-grey-color);
    border-radius: 8px;
    overflow: hidden;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--light-primary-color);
}

.weekday {
    padding: 15px 10px;
    text-align: center;
    font-weight: 600;
    color: var(--dark-color);
    border-right: 1px solid var(--light-grey-color);
}

.weekday:last-child {
    border-right: none;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.day {
    padding: 15px 10px;
    text-align: center;
    border-right: 1px solid var(--light-grey-color);
    border-bottom: 1px solid var(--light-grey-color);
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.day:hover {
    background: var(--light-primary-color);
}

.day.empty {
    background: var(--light-grey-color);
    cursor: default;
}

.day.empty:hover {
    background: var(--light-grey-color);
}

.day.has-event {
    font-weight: 600;
}

.event-dot {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.event-dot.conference {
    background: var(--primary-color);
}

.event-dot.webinar {
    background: var(--secondary-color);
}

.event-dot.workshop {
    background: #4A90E2;
}

.event-dot.networking {
    background: #50E3C2;
}

/* CTA Section */
.events-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    background: white;
    color: var(--primary-color);
}

.cta-buttons .btn:hover {
    background: var(--light-grey-color);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Footer */


/* Responsive Styles */
@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .event-date {
        display: flex;
        gap: 15px;
        align-items: center;
        text-align: left;
    }
    
    .date-main {
        margin-bottom: 0;
    }
    
    .webinars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    
}

@media (max-width: 768px) {
    .events-hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat .number {
        font-size: 2rem;
    }
    
    .categories-nav {
        gap: 10px;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .event-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .action-buttons {
        width: 100%;
    }
    
    .action-buttons .btn {
        flex: 1;
    }
    
    .webinars-grid {
        grid-template-columns: 1fr;
    }
    
    .webinar-actions {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .event-card {
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .calendar-view {
        padding: 20px 15px;
    }
    
    .day {
        padding: 10px 5px;
        font-size: 0.9rem;
    }
    
    .weekday {
        padding: 10px 5px;
        font-size: 0.8rem;
    }
}