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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    justify-content: flex-end; /* Ensure nav content is right-aligned */
    min-height: 60px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0 2rem;
    width: auto; /* Remove the full width constraint */
}


nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.banner {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-color: #000;
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* 30% opaque black overlay */
    z-index: 1;
}

.banner img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom; /* Aligns image to bottom */
    opacity: 1; /* Changed from 0.7 since we're using overlay */
}

.banner-content {
    position: relative;
    z-index: 2; /* Increased z-index to appear above the overlay */
}

.banner h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.schedule {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow-x: auto;
    max-width: 1000px; /* Add max-width to constrain table size */
    margin: 0 auto; /* Center the schedule container */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optional: adds subtle shadow */
}

.schedule table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0; /* Add vertical margin inside the schedule container */
}

.schedule th, .schedule td {
    padding: 1rem 1.5rem; /* Increased horizontal padding */
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.schedule th {
    background-color: #333;
    color: white;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr)); /* Changed from auto-fit to 3 columns */
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px; /* Optional: adds a max-width to ensure consistent layout */
    margin-left: auto; /* Optional: centers the grid */
    margin-right: auto; /* Optional: centers the grid */
}

.person {
    text-align: center;
}

.person img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.info {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: flex-end;
        gap: 1rem;
    }

    .banner h1 {
        font-size: 1.5rem;
    }
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    position: absolute;
    right: 1rem;
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Center vertically */
    height: 40px; /* Fixed height */
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    nav ul {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: rgba(255, 255, 255, 0.9);
        padding: 1rem;
    }

    nav ul.active {
        display: block;
    }

    nav ul li {
        margin: 1rem 0;
        text-align: center;
    }
}

.speaker-row {
    background-color: #f0f2f5;  /* Light grayish-blue color */
}

/* Ensure hover effect for better interaction */
.speaker-row:hover {
    background-color: #e5e8ed;  /* Slightly darker on hover */
}
