
/* Events Page Background */
.events-page {
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75)), url('../images/atomarraysetup.jpeg');
    background-size: cover; /* Scale the image to cover the entire container */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Avoid tiling the image */
    min-height: 100vh; /* Ensure full viewport height */
    background-attachment: fixed;    /* Keep the image fixed in place */
    align-items: center;
    display: flex;
    padding: 2em;
    color: #fff;
}

/* Event Page Container */
.event-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.event-card {
    background-color: rgba(0, 0, 0, 0.7); /* Darker semi-transparent background */
    color: #ffffff; /* Bright white text for readability */
    padding: 20px;
    border-radius: 10px; /* Slightly rounded corners for a modern look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

.program-title {
    font-size: 48px;
    line-height: 1.05;
    color: #ffffff;
    margin-bottom: 6px;
}

.program-subtitle {
    font-size: 20px;
    color: #ffab40;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

@media (max-width: 480px) {
    .program-title {
        font-size: 34px;
    }
    .program-subtitle {
        font-size: 16px;
    }
}

.event-card h1 {
    font-size: 32px;
    color: #ffffff; /* Accent color for the heading */
    margin-bottom: 10px;
}

.event-card h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.event-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #f5f5f5; /* Softer white for body text */
    margin-top: 15px; /* Add space above the paragraph */
    margin-bottom: 20px; /* Add space below the paragraph */
}

.event-card a {
    color: #ffa726; /* Bright orange for links */
    text-decoration: underline; /* Underline links for accessibility */
    font-weight: bold; /* Make links bold */
}

.event-card a:hover {
    color: #ffab40; /* Slightly lighter orange on hover */
}

.event-card strong {
    font-size: 18px;
    color: #ffab40; /* Bright orange for strong text */
}
.event-navbar {
    display: flex;
    justify-content: space-between; /* Distribute buttons evenly */
    background-color: rgba(128, 128, 128, 0.2); /* Darker semi-transparent background */
    margin: 20px 0;
    padding: 5px; /* Increase padding for a larger navbar */
    border-radius: 10px; /* Slightly rounded edges */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
}

.event-navbar a {
    flex: 1; /* Make buttons equally wide */
    text-align: center; /* Center-align button text */
    color: #ffffff;
    text-decoration: none;
    padding: 15px 0; /* Bigger padding for more prominent buttons */
    font-size: 18px; /* Increase font size */
    border-radius: 8px; /* Rounded edges for buttons */
    margin: 0 2px; /* Add spacing between buttons */
    background-color: #333; /* Default background for inactive buttons */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions */
}

.event-navbar a:hover {
    background-color: #ffab40; /* Highlighted blue on hover */
    color: #ffffff; /* Maintain white text */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

.event-navbar a.active {
    background-color: #ff5722; /* Distinct orange for active button */
    color: #ffffff; /* Maintain white text for active button */
}

.content-section {
    display: none;
    padding: 20px;
    background-color: rgba(128, 128, 128, 0.2); /* Darker semi-transparent background */
    margin-top: 20px;
    border-radius: 10px; /* Rounded edges for content sections */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Shadow for depth */
}

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

.lab-highlight {
    background-color: rgba(0, 0, 0, 0.6);
    border-left: 4px solid #ffab40;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.lab-highlight h3 {
    margin-top: 0;
    color: #ffd180;
}

.key-points {
    list-style: none;
    padding-left: 0;
    margin: 10px 0;
}

.key-points li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
}

.key-points li::before {
    content: "•";
    color: #ffab40;
    position: absolute;
    left: 0;
}

.lab-cta {
    background-color: rgba(255, 87, 34, 0.15);
    border: 1px solid rgba(255, 171, 64, 0.5);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.lab-cta a {
    display: inline-block;
    margin-top: 15px;
    background-color: #ff5722;
    padding: 12px 20px;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.lab-cta a:hover {
    background-color: #ff784e;
}

@media (max-width: 768px) {
    body {
        font-size: 18px; /* Increase font size for better readability */
        line-height: 1.8; /* Maintain spacious line height */
        padding: 2px; /* Add more padding for a relaxed layout */
        word-break: break-word; /* Ensure long words or URLs break properly */
        color: #333; /* Use a neutral text color for better contrast */
    }

    .events-page {
        background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)), url('../images/atomarraysetup.jpeg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 100vh;
        background-attachment: fixed;
        align-items: center;
        display: flex;
        padding: 2px;
        color: #fff;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }

    .event-container {
        max-width: 90%;
        margin: 30px auto;
        padding: 4px;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        background-color: rgba(0, 0, 0, 0.7);
    }

    .event-card {
        padding: 20px;
        margin: 15px;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .event-card h1 {
        font-size: 20px;
        margin-bottom: 20px;
        text-align: center;
        font-weight: bold;
    }

    .event-card h2 {
        font-size: 16px;
        margin-bottom: 15px;
        text-align: center;
        font-style: italic;
        color: #fff;
    }

    .event-card p {
        font-size: 12px;
        line-height: 1.9;
        margin-bottom: 20px;
        text-align: justify;
    }

    .event-navbar {
        flex-direction: column;
        padding: 2px;
        gap: 1px;
        display: flex;
        align-items: stretch;
    }

    .event-navbar a {
        margin: 1px 0;
        padding: 2px;
        font-size: 12px;
        text-align: center;
        color: white;
        border-radius: 3px;
        text-decoration: none;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        background-color: #333;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .event-navbar a:hover {
        background-color: #C44527;
        transform: scale(1.05);
    }

    .event-navbar a:focus {
        outline: 2px solid #FF5733;
        outline-offset: 2px;
    }
}

.affiliation-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    background: transparent;
    margin: 30px auto;
    max-width: 640px;
}

.affiliation-logos img {
    height: 46px;
    width: auto;
    border: none;
    border-radius: 0;
    opacity: 0.92;
    transition: opacity 0.2s ease;
}

.affiliation-logos img:hover {
    opacity: 1;
}

.affiliation-logos img[alt="QuEra"] {
    height: 36px;
}

.affiliation-logos img[alt="DARPA"] {
    height: 52px;
}

@media (max-width: 480px) {
    .affiliation-logos {
        gap: 30px;
    }
    .affiliation-logos img {
        height: 34px;
    }
    .affiliation-logos img[alt="QuEra"] {
        height: 28px;
    }
    .affiliation-logos img[alt="DARPA"] {
        height: 40px;
    }
}
