body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #BF5700;
    height: 10px;
    color: white;
    padding: 30px;
    text-align: left;
}

footer {
    background-color: #BF5700;
    color: white;
    padding: 40px;
    text-align: center;
}

nav a {
    margin: 15px 15px;
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

.home-container {
    padding: 40px;
    text-align: center;
}
  
select {
    text-align-last: center;
}

select option {
text-align: center;
}

.TRIGA {
    position: relative;
    width: 100%;
    height: 900px;
    background-image: url("../images/TRIGA.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
}

.TRIGA-text {
    position: relative;
    top: 250px;
    left: 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    color: white !important;
    text-align: left !important;
}

.TRIGA-text .main-title {
    font-size: 48px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: white;
}

.TRIGA-text .sub-text {
    font-size: 22px;
    margin: 4px 0;
    color: white;
}

.people-container {
    padding: 60px;
}

.person {
    margin-bottom: 40px;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url("../images/TRIGA.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: rgba(0, 0, 0, 0.4); /* dimmed overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.hero-content {
    color: white;
    text-align: left;
    max-width: 800px;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(6px);
}

.hero-content .main-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content .sub-text {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #f8f8f8;
}

.hero-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: #BF5700;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    background-color: #a64800;
}

/* Hero Section */
.hero-video {
    position: relative;
    width: 100vw;
    height: 90vh;
    overflow: hidden;
    background-color: black;
    display: flex;
    justify-content: center;
}
.hero-video-bg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
}

.alternating-section {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 80px 5%;
}

.alt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    flex-wrap: nowrap;
}

.alt-row {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
}

.alt-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.alt-reverse {
    flex-direction: row-reverse;
}

.alt-image {
    flex: 1;
    max-width: 50%;
}

.alt-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.alt-text {
    flex: 1;
    font-size: 1.6rem;
    color: #333;
    font-weight: 500;
    line-height: 1.6;
    max-width: 45%;
}

.section-button {
    display: block;
    margin: 2rem auto 0 auto;
    padding: 0.8rem 2rem;
    font-size: 1.6rem;
    font-family: sans-serif;
    background-color: #BF5700;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    width: fit-content;
    min-width: 200px;
    max-width: 300px;
}
.section-button:hover {
    background-color: #a54900;
}

.dropdown {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #BF5700;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1;
    border: 1px solid #ddd;
    top: 100%;
}

.dropdown-content a {
    color: white;
    padding: 4px 12px;
    text-decoration: none;
    display: block;
    font-size: 16px;
}

.dropdown-content a:hover {
    background-color: #ddd;
    color: black;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropbtn {
    margin: 15px 15px;
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

#replay-circle {
    position: absolute;
    left: 50%;
    top: 75%; /* (804 / 1080) * 100 */
    width: 80px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    background-color: transparent;
}

.data-dropdown-content {
    min-width: 150px; /* "Data by date" */
}

.experiments-dropdown-content {
    min-width: 250px; /* "Control Rod Shadowing" */
}

.links-dropdown-content {
    min-width: 120px; /* "Tutorial" */
}

.about-dropdown-content {
    min-width: 150px; /* "Our People" */
}
