/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Nice image as background */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-image: url('images/boston_img.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

/* Add a dark overlay to make text readable */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav_navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav_list a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav_list a:hover {
    color: #4a9eff;
    background: rgba(74, 158, 255, 0.1);
}

/* Content Sections */
.content-section {
    display: none;
    min-height: 100vh;
    padding: 120px 2rem 2rem 2rem; /* Top padding accounts for fixed navbar */
    max-width: 1200px;
    margin: 0 auto;
}

.content-section:first-of-type {
    display: block;
}

.content-section.active {
    display: block;
}

/* Update the hero-content class */
.hero-content {
    padding-top: 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9); /* Changed from blue to white */
    padding: 40px;
    border-radius: 10px; /* Added border radius */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Added shadow */
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2c5aa0 0%, #4a9eff 100%); /* Changed gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #2c5aa0; /* Changed from light blue to dark blue */
    margin-bottom: 2rem;
    border-bottom: 2px solid #2c5aa0; /* Changed border color */
    padding-bottom: 1rem;
    display: inline-block;
}

.hero-content p {
    font-size: 1.1rem;
    color: #333; /* Changed from light gray to dark */
    line-height: 1.8;
    margin-top: 2rem;
}

/* Regular Section Styling */
.section-content h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #4a9eff;
    text-align: center;
}

.section-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #4a9eff;
    text-align: center;
}

.section-content p {
    font-size: 1.1rem;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: 1.8;
    text-align: center;
}

.section-content ul {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.section-content li {
    padding: 0.5rem 0;
    border-left: 3px solid #4a9eff;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    background: rgba(74, 158, 255, 0.05);
    border-radius: 4px;
}

/* Special styling for different section types */
.inscription-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2rem;
    max-width: 600px;
    margin: 2rem auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    max-width: 1000px;
    margin: 2rem auto;
}

.schedule-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.schedule-item:hover {
    transform: translateY(-5px);
    border-color: #4a9eff;
}

.schedule-item h3 {
    color: #4a9eff;
    margin-bottom: 1rem;
}

.schedule-item .time {
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav_navbar-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .content-section {
        padding: 100px 1rem 1rem 1rem;
    }

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

/* Utility Classes */
.text-center {
    text-align: center;
}

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

.mb-2 {
    margin-bottom: 2rem;
}

.highlight {
    color: #4a9eff;
    font-weight: bold;
}

.subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 1rem;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.schedule-table thead {
    background-color: #2c5aa0;
    color: white;
}

.schedule-table th {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    color: #F5F5F5; /* Dark header text - change this color */
}

.schedule-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    color: #333; /* Dark text color */
}

.schedule-table tbody tr:hover {
    background-color: #f5f5f5;
}

.schedule-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}


/* Showing Image content */

.image-content {
    padding-top: 2rem;
    text-align: center;
    max-width: 1000px; /* increased from 800px */
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.image-content h1 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2c5aa0 0%, #4a9eff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.image-subtitle {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-bottom: 2rem;
    border-bottom: 2px solid #2c5aa0;
    padding-bottom: 1rem;
    display: inline-block;
}

.image-content p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
    margin-top: 2rem;
}

.image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Organizer part of the css */
.organizers-content {
    padding-top: 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.organizers-content h1 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #2c5aa0 0%, #4a9eff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.organizers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 2rem;
}

.organizer-card {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.organizer-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

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

.organizer-card .organizer-title {
    font-size: 1rem;
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

.organizer-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

/* Responsive design */
@media (max-width: 768px) {
    .organizers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* This is the schedule header - change position if organization is required */
.location-header {
        /* color: #2c3e50; */
        color: #F5F5F5;
        font-weight: 600;
        margin-bottom: 10px;
        padding: 5px 0;
        border-left: 4px solid #3498db;
        padding-left: 10px;
        background-color: #ecf0f1;
    }

.schedule-table {
    margin-bottom: 15px;
}



/* Speakers Section Styles */
.content-section#speakers {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: none; /* Hidden by default, shown via JavaScript */
}

.content-section#speakers h1 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.speakers-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.speaker-card {
    display: flex;
    align-items: flex-start;
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.speaker-photo {
    flex-shrink: 0;
    margin-right: 2rem;
}

.speaker-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f0f0f0;
}

.speaker-info {
    flex: 1;
    padding-top: 1rem;
}

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

.speaker-title {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.speaker-affiliation {
    font-size: 1rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.speaker-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    text-align: justify;
}

/* Responsive Design */
@media (max-width: 768px) {
    .speaker-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

    .speaker-photo img {
        width: 150px;
        height: 150px;
    }

    .speaker-info {
        padding-top: 0;
    }

    .speaker-bio {
        text-align: left;
    }
}

/* Alternative speaker card style (if you want alternating layouts) */
.speaker-card.reverse {
    flex-direction: row-reverse;
}

.speaker-card.reverse .speaker-photo {
    margin-right: 0;
    margin-left: 2rem;
}

@media (max-width: 768px) {
    .speaker-card.reverse {
        flex-direction: column;
    }

    .speaker-card.reverse .speaker-photo {
        margin-left: 0;
    }
}

