
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Navigation */
.nav-tabs {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-tabs li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-tabs li a:hover {
    background-color: #e8f4ff;
    color: #4a90e2;
}

.nav-tabs li a.active {
    background-color: #4a90e2;
    color: white;
    font-weight: bold;
}

@media (max-width: 1024px) {
    .nav-tabs li a:hover,
    .nav-tabs li a.active {
        background-color: #4a90e2;
        color: #4a90e2;
    }
}

/* ==========================================================================
   RESPONSIVE NAVIGATION
   ========================================================================== */

/* Mobile Navigation Toggle Button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.5rem;
    color: #4a90e2;
    z-index: 1001;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

/* Mobile Navigation Styles */
@media (max-width: 1024px) {
    /* Prevent horizontal scrolling */
    body, html {
        overflow-x: hidden;
        width: 100%;
    }
    
    header .container {
        position: relative;
        padding: 0.8rem 60px 0.8rem 20px;
        max-width: 100%;
        overflow: hidden;
    }
    
    .nav-toggle {
        display: block !important;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        margin: 0;
    }
    
    .nav-tabs {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 2rem 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        overflow-y: auto;
        gap: 0;
    }
    
    .nav-tabs.active {
        right: 0;
    }
    
    .nav-tabs li {
        width: 100%;
    }
    
    .nav-tabs li a {
        display: block;
        padding: 1rem;
        border-radius: 8px;
        margin-bottom: 0.5rem;
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .nav-tabs li a:hover,
    .nav-tabs li a.active {
        border-left: 3px solid #4a90e2;
        background-color: #e8f4ff;
    }
    
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        backdrop-filter: blur(3px);
        z-index: 999;
        display: none;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    
    .logo {
        position: relative;
        z-index: 1;
        max-width: calc(100% - 70px); 
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo img {
        max-width: 100%;
        height: auto;
    }
    
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
}


@media (max-width: 768px) {
    .nav-tabs {
        width: 80%;
    }
    
    .nav-toggle {
        right: 15px;
        font-size: 1.4rem;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    header .container {
        padding: 0.8rem 50px 0.8rem 15px;
    }
}

@media (max-width: 480px) {
    .nav-toggle {
        right: 10px;
        font-size: 1.3rem;
    }
    
    header .container {
        padding: 0.8rem 45px 0.8rem 10px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
}

@media (min-width: 1025px) {
    .nav-toggle {
        display: none !important;
    }
    
    .nav-tabs {
        display: flex !important;
    }
    
    .nav-overlay {
        display: none !important;
    }
}


.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.hero {
    position: relative;
    height: 80vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.8) 0%, rgba(135, 206, 235, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    color: #f8fbff;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: #f8fbff;
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    color: #f8fbff;
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #f8fbff;
    font-size: 1rem;
    opacity: 0.9;
}

/* Education Section */
.education-section-event {
    padding: 80px 0;
    background-color: #f8fbff;
}

.education-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.education-text h3 {
    color: #4a90e2;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.education-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.education-text ul {
    list-style: none;
    margin-top: 1.5rem;
}

.education-text li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
}

.education-text li:before {
    content: "✓";
    color: #4a90e2;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.image-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
    width: 400px;
    height: 400px;
    border: 2px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.grid-item {
    background-size: 400px 400px;
    background-position: center;
    transition: all 0.3s ease;
    position: relative;
    background-image: url('images/logo2.png');
}

.grid-item:hover {
    transform: scale(1.05);
    z-index: 1;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
}

.item-1 { background-position: 0% 0%; }
.item-2 { background-position: 50% 0%; }
.item-3 { background-position: 100% 0%; }
.item-4 { background-position: 0% 50%; }
.item-5 { background-position: 50% 50%; }
.item-6 { background-position: 100% 50%; }
.item-7 { background-position: 0% 100%; }
.item-8 { background-position: 50% 100%; }
.item-9 { background-position: 100% 100%; }

/* Promoted Event Section */
.promoted-event-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.promoted-event-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.promoted-event-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff;
}

.promoted-event-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2 0%, #357abd 100%);
}

.promoted-event-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.promoted-event-text h2 {
    color: #4a90e2;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.promoted-event-text h3 {
    color: #4a90e2;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.promoted-event-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.promoted-event-text ul {
    list-style: none;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.promoted-event-text li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
}

.promoted-event-text li:before {
    content: "✓";
    color: #4a90e2;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.event-detail-button {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.event-detail-button:hover {
    background-color: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* Past Events Section */
.past-events {
    padding: 80px 0;
    background-color: #f8fbff;
}

.past-events h2 {
    text-align: center;
    color: #4a90e2;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.past-events h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #4a90e2;
    border-radius: 2px;
}

/* Category Filter */
.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background-color: transparent;
    color: #4a90e2;
    border: 2px solid #4a90e2;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #e8f4ff;
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: #4a90e2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* Past Events Grid */
.past-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
}

.past-event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 480px;
}

.past-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.past-event-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #f0f0f0; 
}

.past-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.past-event-card:hover .past-event-image img {
    transform: scale(1.05);
}

.past-event-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.past-event-date {
    color: #4a90e2;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.past-event-content h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.3;
}

.past-event-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.past-event-button {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: auto;
}

.past-event-button:hover {
    background-color: #357abd;
}

/* Hidden Events */
.hidden-events {
    display: none;
}

.past-event-card.hidden {
    display: none !important;
}

/* See More Button */
.see-more-container {
    text-align: center;
    margin-top: 2rem;
}

#seeMoreBtn {
    display: block;
    margin: 30px auto 0 auto !important;
    text-align: center;
}

.see-more-button {
    background-color: transparent;
    color: #4a90e2;
    border: 2px solid #4a90e2;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.see-more-button:hover {
    background-color: #4a90e2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.modal-image img, 
.modal-hero img {
    width: 100%;
    height: 400px; 
    object-fit: cover;
    display: block;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.news-section h2 {
    text-align: center;
    color: #4a90e2;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.news-section h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #4a90e2;
    border-radius: 2px;
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card-long {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

@media (min-width: 768px) {
    .news-card-long {
        flex-direction: row;
        min-height: 250px;
    }
}

.news-image-long {
    height: 200px;
    width: 100%;
}

@media (min-width: 768px) {
    .news-image-long {
        height: auto;
        width: 35%;
    }
}

.news-image-long img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-content-long {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-date-long {
    color: #4a90e2;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.news-content-long h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.news-content-long p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.news-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

.news-button {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.news-button:hover {
    background-color: #357abd;
}

/* News Modal Styles */
.news-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.news-modal-content {
    background-color: white;
    margin: 2% auto;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.close-news-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.close-news-modal:hover {
    color: #e74c3c;
}

.news-modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #eee;
    position: relative;
}

.news-modal-date {
    color: #4a90e2;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.news-modal-header h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    line-height: 1.3;
}

.news-modal-body {
    padding: 0;
}

.news-modal-image {
    height: 300px;
    overflow: hidden;
}

.news-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-modal-text {
    padding: 2rem;
}

.news-modal-text h4 {
    color: #4a90e2;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.2rem;
}

.news-modal-text p {
    line-height: 1.7;
    color: #666;
    margin-bottom: 1rem;
}

.news-modal-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.news-modal-text li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
    line-height: 1.6;
}

.news-modal-text li:before {
    content: "•";
    color: #4a90e2;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Suggestion Section */
.suggestion-section {
    padding: 80px 0;
    background-color: #f8fbff;
}

.suggestion-section h2 {
    text-align: center;
    color: #4a90e2;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.suggestion-section h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #4a90e2;
    border-radius: 2px;
}

.suggestion-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.suggestion-text {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.suggestion-text h3 {
    color: #4a90e2;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.suggestion-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.google-form-link {
    display: inline-block;
    background-color: #4a90e2;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.google-form-link:hover {
    background-color: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* Event Modal Styles */
.event-modal {

    display: none;

    position: fixed;

    z-index: 2000;

    left: 0;

    top: 0;

    width: 100%;

    height: 100%;

    background-color: rgba(0,0,0,0.8);

    backdrop-filter: blur(5px);

}

.event-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    max-width: 1920px; 
    border-radius: 10px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

#eventModal .event-modal-content {
    max-width: 1000px;
}

.modal-hero {
    height: 250px;
    overflow: hidden;
}

.modal-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
}

.badge.featured {
    background: #e8f4ff;
    color: #4a90e2;
}

.badge.certificate {
    background: #e8f6f3;
    color: #27ae60;
}

.badge.free {
    background: #fff8e8;
    color: #f39c12;
}

.badge.ongoing {
    background: #e8f4ff;
    color: #4a90e2;
}

.badge.completed {
    background: #e8f6f3;
    color: #27ae60;
}

.badge.impact {
    background: #ffe8e8;
    color: #e74c3c;
}

.badge.education {
    background: #f8e8ff;
    color: #9b59b6;
}

.badge.community {
    background: #fff8e8;
    color: #f39c12;
}


/* Event Info Grid */
.event-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.event-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    white-space: nowrap;
}

.event-info.compact {
    gap: 1.5rem;
}

.event-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fbff;
    border-radius: 8px;
}

.info-item i {
    color: #4a90e2;
    font-size: 1.2rem;
}

.info-item div {
    display: flex;
    flex-direction: column;
}

/* Schedule Tabs */
.schedule-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.schedule-tab {
    padding: 0.8rem 1.5rem;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.schedule-tab.active {
    background: #4a90e2;
    color: white;
    border-color: #4a90e2;
}

.schedule-content {
    display: none;
}

.schedule-content.active {
    display: block;
}

.schedule-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.schedule-item .time {
    min-width: 120px;
    font-weight: bold;
    color: #4a90e2;
}

.schedule-item .event {
    flex: 1;
}

/* Speakers Grid */
.speakers-grid {
    display: grid;
    gap: 1.5rem;
}

.speaker-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8fbff;
    border-radius: 10px;
    border-left: 4px solid #4a90e2;
}

.speaker-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-info h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.speaker-title {
    color: #4a90e2;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.speaker-bio {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.speaker-session {
    font-size: 0.85rem;
    color: #888;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: #f8fbff;
    border-radius: 8px;
}

.feature-item i {
    color: #4a90e2;
    width: 20px;
}

/* Registration Info */
.registration-info {
    background: #f8fbff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.registration-info p {
    margin-bottom: 0.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

.register-button {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.register-button:hover {
    background-color: #357abd;
}

.close-button {
    background-color: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex: 1;
}

.close-button:hover {
    background-color: #e9ecef;
}

.event-modal-content {
    background-color: white;
    margin: 2% auto;
    border-radius: 15px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.modal-details {
    padding: 2rem;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section h3 {
    color: #4a90e2;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Ensure proper spacing for all modal sections */
.event-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fbff;
    border-radius: 8px;
}

/* Schedule section spacing */
.schedule-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.schedule-content {
    padding: 0.5rem 0;
}

.schedule-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    margin: 0;
}

/* Speakers section spacing */
.speakers-grid {
    display: grid;
    gap: 1.5rem;
}

.speaker-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8fbff;
    border-radius: 10px;
    border-left: 4px solid #4a90e2;
    margin: 0;
}

/* Features section spacing */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: #f8fbff;
    border-radius: 8px;
    margin: 0;
}

/* Registration section spacing */
.registration-info {
    background: #f8fbff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding: 0;
}

@media (max-width: 768px) {
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-details {
        padding: 1.5rem;
    }
    
    .event-info-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .speaker-card {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: #e74c3c;
    background-color: rgba(0, 0, 0, 0.05);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #eee;
    position: relative;
    min-height: 60px; 
}


.modal-header h2 {
    color: #4a90e2;
    margin-bottom: 1rem;
}

.event-modal-content {
    background-color: white;
    margin: 2% auto;
    border-radius: 15px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    background-color: #357abd;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

#modal4 .event-modal-content,
#modal5 .event-modal-content,
#modal6 .event-modal-content,
#modal7 .event-modal-content,
#modal8 .event-modal-content,
#modal9 .event-modal-content,
#modal10 .event-modal-content,
#modal11 .event-modal-content,
#modal12 .event-modal-content,
#modal13 .event-modal-content,
#modal14 .event-modal-content,
#modal15 .event-modal-content,
#modal16 .event-modal-content,
#modal17 .event-modal-content {
    max-width: 600px !important;
}

#eventModal .event-modal-content {
    max-width: 1000px !important;
}

#modal4 .modal-image,
#modal5 .modal-image,
#modal6 .modal-image,
#modal7 .modal-image,
#modal8 .modal-image,
#modal9 .modal-image,
#modal10 .modal-image,
#modal11 .modal-image,
#modal12 .modal-image,
#modal13 .modal-image,
#modal14 .modal-image,
#modal15 .modal-image,
#modal16 .modal-image,
#modal17 .modal-image {
    height: 200px !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modal4 .modal-image img,
#modal5 .modal-image img,
#modal6 .modal-image img,
#modal7 .modal-image img,
#modal8 .modal-image img,
#modal9 .modal-image img,
#modal10 .modal-image img,
#modal11 .modal-image img,
#modal12 .modal-image img,
#modal13 .modal-image img,
#modal14 .modal-image img,
#modal15 .modal-image img,
#modal16 .modal-image img,
#modal17 .modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.collaboration-partners {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.partner-logo {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.heart-donation {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: visible;
}

.donation-tooltip {
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1001;
    letter-spacing: 0.5px;
    animation: heartbeat 3s infinite ease-in-out;
}

/* Arrow connecting tooltip to button */
.donation-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-left: 8px solid #333;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.heart-donation:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.heart-donation:hover .donation-tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

/* Heartbeat animation not sure :} */
@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    5% {
        transform: scale(1.1);
    }
    10% {
        transform: scale(1);
    }
    15% {
        transform: scale(1.1);
    }
    20% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive design for heart button */
@media (max-width: 768px) {
    .heart-donation {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .donation-tooltip {
        font-size: 0.8rem;
        padding: 6px 10px;
        right: 55px;
    }
    
    .donation-tooltip::after {
        right: -4px;
        border-width: 4px 0 4px 4px;
    }
}

@media (min-width: 768px) {
    .past-events-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for 6 cards */
    }
}

@media (min-width: 1024px) {
    .past-events-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on larger screens */
    }
}