/*
========================================================================
    CSS CONSOLIDATION AND REORGANIZATION
========================================================================
This file combines all your individual CSS files into one master stylesheet.
Styles are organized into logical sections to improve readability and maintenance.

Table of Contents:
1. Base & Universal Styles
2. Header & Navigation
3. Buttons & Socials
4. Home Section
5. Achievements & News Section
6. Shows Section
7. About Section
8. Telescopes Carousel
9. Education Section
10. History Section
11. Museum Section
12. Contact Section
13. Tour Info Page
14. Modals & Overlays
15. Loading Screen
16. Responsive Design (Media Queries)
*/


/* ========================================================================
   1. BASE & UNIVERSAL STYLES
   ======================================================================== */

@import url('https://fonts.cdnfonts.com/css/montserrat');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;600;700&display=swap');

/* Basic reset and font styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    background-color: #141313;
    color: white;
    overflow-x: hidden;
    padding-top: 120px; /* Space for the fixed header */
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

main.content-hidden {
    visibility: hidden;
    opacity: 0;
}

main.content-visible {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.hidden {
    display: none !important;
}

/* ========================================================================
   2. HEADER & NAVIGATION
   ======================================================================== */

.main-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #141313;
    z-index: 1000;
    height: 120px;
}

@media (max-width: 1370px) {
    .main-header {
        height: 80px;
    }
}

.header-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1920px;
    margin: 0 auto;
}

.main-nav {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.utility-items {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.utility-item {
    display: flex;
    align-items: center;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    color: white;
}

/* UIverse Nav Button Styling */
.nav-button {
    --border-right: 2px;
    --text-stroke-color: rgba(255, 255, 255, 0.6);
    --animation-color: #37FF8B;
    --fs-size: 14px;
    letter-spacing: 2px;
    text-decoration: none;
    font-size: var(--fs-size);
    font-family: "Montserrat", sans-serif;
    position: relative;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-stroke-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-button .actual-text,
.nav-button .hover-text {
    white-space: nowrap;
}

.nav-button .hover-text {
    position: absolute;
    box-sizing: border-box;
    content: attr(data-text);
    color: var(--animation-color);
    width: 0%;
    left: 0;
    top: 0;
    bottom: 0;
    border-right: var(--border-right) solid var(--animation-color);
    overflow: hidden;
    transition: 0.5s;
    -webkit-text-stroke: 1px var(--animation-color);
}

.nav-button:hover .hover-text {
    width: 100%;
    filter: drop-shadow(0 0 23px var(--animation-color));
}

.nav-menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
}


/* ========================================================================
   3. BUTTONS & SOCIALS
   ======================================================================== */

/* Get Tickets Button */
.btn {
    border: none;
    width: auto;
    height: auto;
    border-radius: 3em;
    padding: 8px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: #1C1A1C;
    cursor: pointer;
    transition: all 450ms ease-in-out;
    text-decoration: none;
}

.btn .sparkle {
    fill: #AAAAAA;
    transition: all 800ms ease;
}

.btn .text {
    font-weight: 600;
    color: #AAAAAA;
    font-size: 12px;
    text-decoration: none;
}

.btn:hover {
    background: linear-gradient(90deg, #4f0ad6, #0bdf79);
    box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.4),
                inset 0px -4px 0px 0px rgba(0, 0, 0, 0.2),
                0px 0px 0px 4px rgba(255, 255, 255, 0.2),
                0px 0px 80px 0px #0bdf79;
    transform: translateY(0);
}

.btn:hover .text {
    color: white;
}

.btn:hover .sparkle {
    fill: white;
    transform: scale(1.2);
}

/* Social Bar */
.socialbar {
    background-color: #191919;
    border-radius: 3em;
    padding: 10px;
    color: white;
    box-shadow: 3px 3px 15px rgb(0, 0, 0),
                -3px -3px 15px rgb(58, 58, 58);
    display: flex;
    gap: 10px;
}

.socialbar a {
    transition: 0.4s;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

#instagram:hover {
    color: #d62976;
}

#facebook:hover {
    color: #3b5998;
}

#twitter:hover {
    color: #00acee;
}


/* ========================================================================
   4. HOME SECTION
   ======================================================================== */

.home-section {
    min-height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 0;
    max-width: 1920px;
    margin: 0 auto;
}

#stars-display-area {
    width: 95%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

#stars-display-area iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    z-index: 1;
}

.stars-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    will-change: transform, opacity;
}

.stars-overlay-content h1 {
    font-size: 32px;
    margin-bottom: 0;
    max-width: 50%;
    text-transform: uppercase;
    font-weight: 700;
}

.stars-overlay-content p {
    font-size: 22px;
    line-height: 1.6;
    max-width: 50%;
    margin-bottom: 0;
    text-transform: uppercase;
    font-weight: 700;
}

.video-grid {
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
    align-items: flex-end;
    width: 95%;
    max-width: 1920px;
    position: relative;
    z-index: 1;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-logo-overlay {
    position: absolute;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.75);
}

.video-logo-overlay img {
    width: 90%;
    height: auto;
    object-fit: contain;
}

.top-left-logo {
    top: 0;
    left: 0;
    width: 100px;
}

.top-right-logo {
    top: 0;
    right: 0;
    width: 200px;
}


/* ========================================================================
   5. ACHIEVEMENTS & NEWS SECTION
   ======================================================================== */

.achievements-news-section {
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.news-section-content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 40px;
    width: 95%;
    max-width: 1920px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.achievements-column {
    flex: 2;
    min-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 25px;
}

.achievements-column h2 {
    font-size: 42px;
    text-align: left;
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    width: 100%;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.news-column {
    flex: 0.8;
    min-width: 300px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.news-column h2 {
    font-size: 42px;
    text-align: left;
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 20px;
    width: 100%;
    height: auto;
    margin-top: 0;
    justify-items: center;
}

.fb-page-container {
    width: 100%;
    /* Create a responsive aspect ratio for the container */
    position: relative;
    padding-top: 120%; /* Maintain a 4:5 aspect ratio (500/600 = 0.833, 1/0.833 = 1.2, so 120%) */
    border-radius: 12px;
    overflow: hidden;
}

.fb-page-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Achievement Card Styles */
.container { /* Card wrapper */
    position: relative;
    width: 190px;
    height: 254px;
    transition: 200ms;
    cursor: pointer;
}

.container:active {
    width: 180px;
    height: 245px;
}

.card {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    transition: 700ms;
    background: linear-gradient(45deg, #1a1a1a, #262626);
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.2);
    transform: none;
}

.card-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 15px;
}

.card-number {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    font-size: 3em;
    font-weight: 800;
    letter-spacing: 2px;
    transition: 300ms ease-in-out;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    font-family: 'Montserrat', sans-serif;
    opacity: 1;
}

.title {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 300ms ease-in-out, transform 300ms ease-in-out;
    font-size: 1em;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;
    width: 90%;
    background: linear-gradient(90deg, #4f0ad6, #0bdf79);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 255, 170, 0.3));
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 5px;
}

.subtitle {
    position: relative;
    width: 90%;
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
    color: #fff;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    font-family: 'Montserrat', sans-serif;
    word-wrap: break-word;
    white-space: normal;
}

.container:hover .card {
    filter: brightness(1.1);
}

.container:hover .card-number {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
}

.container:hover .title {
    opacity: 0;
    transform: translateY(20px);
}

.container:hover .subtitle {
    max-height: 100%;
    opacity: 1;
    transform: translateY(-20px);
}


/*
========================================================================
   UPDATED: SHOWS SECTION (FINAL CSS)
========================================================================
*/
.shows-section {
    width: 95%;
    background-color: #141313;
    margin: 0 auto;
}

.shows-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    text-align: left;
    color: white;
    margin-bottom: 30px;
}

.shows-carousel {
    width: 95%;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

/* Swiper slide container, handled by the Swiper library */
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

/* This is the individual card inside each Swiper slide */
.show-card {
    width: 100%;
    height: 600px;
    background: #1C1A1C;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: grab;
}

.show-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.show-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.show-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.show-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.show-description {
    color: #AAAAAA;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.show-datetime {
    color: white;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
}

.show-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    margin-bottom: 20px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.show-location:hover {
    color: #0bdf79;
}

.show-location svg {
    width: 20px;
    height: 20px;
    fill: #0bdf79;
}

.location-text {
    cursor: pointer;
}

.booking-btn {
    padding: 10px 20px;
    background-color: #141313;
    border: 2px solid #09c66c;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    display: block;
    width: 100%;
    margin-top: auto;
}

.booking-btn:hover {
    background-color: #09c66c;
    color: black;
}

/* Swiper.js Navigation Buttons */
.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    opacity: 0.3;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    /* Using Swiper's default CSS for the icons */
    font-family: swiper-icons;
    font-size: 20px;
    text-transform: none;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    color: white;
    font-weight: bold;
}

.swiper-button-prev {
    left: -60px;
}
.swiper-button-next {
    right: -60px;
}

/* ========================================================================
   7. ABOUT SECTION
   ======================================================================== */

.about-container {
    width: 90%;
    max-width: 1920px;
    margin: 0 auto;
}

.about-container h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    text-align: left;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 60px;
}

.about-column {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}

.about-column .about-image {
    width: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 20px;
    border: none;
}

.about-column h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fff;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #fff;
    margin-left: 10px;
    margin-right: 10px;
}

.observatory-map {
    position: relative;
    width: 100%;
    margin: 40px 0;
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Positioning for hotspots */
.item-hints {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    padding-right: 0; /* Override original padding */
}

/* Adjusted original styles */
.item-hints .hint {
    margin: 0; /* Remove original margins */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.item-hints .hint-dot {
    z-index: 3;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 40px; /* Adjusted size */
    height: 40px; /* Adjusted size */
    transform: scale(0.95);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: bold;
    transition: all 0.3s ease;
}

.item-hints .hint:hover .hint-dot {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.item-hints .hint-radius {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -125px 0 0 -125px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
}

.item-hints .hint-content {
    width: 250px;
    position: absolute;
    z-index: 5;
    padding: 20px 0;
    opacity: 0;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    color: #fff;
    visibility: hidden;
    pointer-events: none;
}

.item-hints .hint:hover .hint-content {
    opacity: 1;
    visibility: visible;
}

/* Line effects */
.item-hints .hint-content::before {
    width: 0px;
    bottom: 29px;
    left: 0;
    content: "";
    background-color: #fff;
    height: 2px;
    position: absolute;
    transition: width 0.4s;
}

.item-hints .hint:hover .hint-content::before {
    width: 180px;
}

.item-hints .hint-content::after {
    transform-origin: 0 50%;
    transform: rotate(-225deg);
    bottom: 29px;
    left: 0;
    width: 80px;
    content: "";
    background-color: #fff;
    height: 2px;
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.item-hints .hint:hover .hint-content::after {
    opacity: 1;
}

/* Position variations */
.item-hints .hint[data-position="4"] .hint-content {
    bottom: 85px;
    left: 50%;
    margin-left: 56px;
}

/* Add more positions as needed */
.item-hints .hint[data-position="1"] .hint-content {
    top: 85px;
    left: 50%;
    margin-left: 56px;
}



/*
========================================================================
   UPDATED: TELESCOPES CAROUSEL
========================================================================
*/
.about-carousel {
    width: 90%;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.about-carousel h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    text-align: left;
    color: white;
    margin-bottom: 30px;
}

/* Swiper container now handles the layout */
.about-carousel .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

/* This is the individual card inside each Swiper slide */
.telescope-card {
    width: 100%;
    /* FIX: Set a consistent min-height for all telescope cards */
    height: 600px;
    background: #1C1A1C;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: grab;
}

@media (max-width: 1370px) {
    .telescope-card h3 {
        font-size: 18px;
    }
    .telescope-card p {
        font-size: 11px;
    }
}

.telescope-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.telescope-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.telescope-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    /* FIX: Add justify-content to push the description to the bottom */
    justify-content: space-between;
}

.telescope-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.telescope-description {
    color: #AAAAAA;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Swiper.js Navigation Buttons (re-used from shows section) */
.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    opacity: 0.3;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-family: swiper-icons;
    font-size: 20px;
    text-transform: none;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    color: white;
    font-weight: bold;
}

.swiper-button-prev {
    left: -60px;
}
.swiper-button-next {
    right: -60px;
}

@media (max-width: 900px) {
    /* Hide navigation buttons on smaller screens */
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
}

/* ========================================================================
   9. EDUCATION SECTION
   ======================================================================== */

.education-container {
    width: 90%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 50px 0;
}

.education-container h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    text-align: left;
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.education-column {
    height: 600px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}

.education-column .education-image {
    width: 100%;
    max-height: 200px;
    min-height: 200px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 20px;
    border: none;
}

.education-column h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fff;
}

.education-content p {
    height: 50px;
    margin-bottom: 20px;
    line-height: 1.;
    color: #fff;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 0.8rem;
}

.btn-container {
    justify-content: flex-end;
    flex-direction: column;
    display: flex;
    height: auto;
}

.edubtn-learnmore {
    justify-content: center;
    padding: 10px 20px;
    background-color: #141313;
    border: 2px solid #09c66c;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    display: flex;
    width: 100%;
}

.edubtn-learnmore:hover {
    background-color: #09c66c;
    color: black;
}

.education-gallery {
    width: 90%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: center;
    gap: 10px;
    max-width: 1920px;
}

.gallery-item {
    flex: 0 0 auto;
    width: 300px;
    text-align: center;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}


/*
========================================================================
UPDATED: HISTORY SECTION (FINAL CSS)
========================================================================
*/

/* --- General History Section Styling --- */
.history-section {
    width: 95%;
    background-color: #141313;
    margin: 0 auto;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.history-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/history-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.history-overlay {
    position: relative;
    z-index: 1;
    width: 95%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.history-section h2,
.history-section h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    text-align: center;
    color: white;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* --- Initial Buttons (History Intro) --- */
.initial-history-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: opacity 0.5s ease, transform 0.5s ease;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    min-height: auto;
}

.history-intro-button {
    padding: 15px 40px;
    background-color: #141313;
    border: 2px solid #09c66c;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.history-intro-button:hover {
    background-color: #09c66c;
    color: black;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* --- History Tabs Container & Toggle Switch --- */
.history-tabs-container {
    transition: opacity 0.5s ease, transform 0.5s ease;
    width: 100%;
}

.toggle-switch-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.toggle-button {
    display: flex;
    align-items: center;
    background-color: #1C1A1C;
    border-radius: 30px;
    padding: 5px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.4);
    width: 350px;
    max-width: 90%;
}

.toggle-label {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    color: #AAAAAA;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    z-index: 2;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.toggle-label.active {
    color: white;
}

.toggle-slider {
    position: absolute;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    width: calc(50% - 5px);
    background-color: #09c66c;
    border-radius: 25px;
    transition: transform 0.3s ease-in-out;
    z-index: 1;
}

/* --- History Tab Content --- */
.history-tab {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Ensure hidden state is always respected */
.hidden {
    display: none !important;
}

/* --- History Carousel Styling (reused from shows) --- */
.history-carousel-container {
    width: 95%;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    /* FIX: Hide overflowing content */
    overflow: hidden;
}

/* Swiper wrapper, handled by the Swiper library */
.history-carousel-slides-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    padding: 20px 0;
}

.history-card {
    /* Use flex shorthand to explicitly control growth, shrinking, and basis */
    width: 100%;
    min-height: 450px;
    background: #1C1A1C;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: grab;
}

.history-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.history-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.history-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 15px 20px 10px 20px;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
}

.history-card p {
    color: #AAAAAA;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 20px 20px 20px;
    flex-grow: 1;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
}

/* Swiper.js Navigation Buttons (re-used from shows section) */
.history-carousel-container .swiper-button-prev,
.history-carousel-container .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    opacity: 0.3;
}

/*
========================================================================
   UPDATED: MUSEUM SECTION (FINAL CSS)
========================================================================
*/
.museum-section {
    width: 95%;
    max-width: 1920px;
    margin: 40px auto;
    position: relative;
    padding: 20px 0;
}

.museum-carousel h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: #fff;
}

/* Swiper.js specific styles */
.museum-carousel .swiper-wrapper {
    /* Use Swiper's default wrapper behavior */
    width: 100%;
    position: relative;
    padding: 20px 0;
}

.museum-carousel .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

.exhibit-card {
    width: 100%;
    min-height: 650px;
    max-height: 650px;
    background: #1c1a1c;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

@media (max-width: 1370px) {
    .exhibit-card h3 {
        font-size: 18px;
    }
    .exhibit-card p {
        font-size: 11px;
    }

    .exhibit-card {
    min-height: 500px;
    max-height: 500px;

}
}

.exhibit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.exhibit-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.exhibit-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.exhibit-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.exhibit-description {
    color: #aaaaaa;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    font-family: 'Montserrat', sans-serif;
}

.view-exhibit-btn {
    display: block;
    width: 100%;
    padding: 10px 15px;
    background-color: #0bdf79;
    color: #141313;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: auto;
}

.view-exhibit-btn:hover {
    background-color: #08c067;
    transform: scale(1.02);
}


/* Styles for the new full exhibit page */
.full-exhibit-page-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #141313;
    overflow-y: auto;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
}

.exhibit-page-content {
    width: 95%;
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: #1c1a1c;
    border-radius: 12px;
    color: #e0e0e0;
}

.exhibit-page-content h2.exhibit-page-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    text-align: center;
    color: #0bdf79;
    margin-bottom: 20px;
}

.exhibit-content-container {
    font-family: 'Montserrat', sans-serif;
}

.exhibit-content-container .content-block.paragraph-block p {
    text-align: justify;
    line-height: 1.8;
    color: #ccc;
    font-size: 1.1em;
    margin: 20px 0;
}

.exhibit-content-container .content-block.image-block {
    text-align: center;
    margin: 30px 0;
}

.exhibit-content-container .content-block.image-block img {
    max-width: 100%;
    max-height: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.exhibit-content-container .content-block.image-block p.caption {
    font-style: italic;
    color: #aaa;
    font-size: 0.9em;
    margin-top: 10px;
}

.back-button {
    position: sticky;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    background-color: #444;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 101;
}

.back-button:hover {
    background-color: #666;
}

/* ========================================================================
   12. CONTACT SECTION
   ======================================================================== */
#contact{
    justify-content: center;
    align-items: center;
}
.contact-section {
    margin: 0 auto;
    color: #ccd6f6;
    max-width: 1920px;
    width: 90%;
}

.contact-section h2.section-title {
    font-family: 'Bebas Neue', sans-serif;
    text-align: left;
    color: #fff;
    font-size: 42px;
    margin-bottom: 1.5em;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 2em;
    align-items: center;
    max-width: 1920px;
    margin: 0 auto;
    padding: 1em;
}

.grid-item {
    background-color: #171717;
    border-radius: 20px;
    padding: 1.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-container h3 {
    font-family: 'Bebas Neue', sans-serif;
    color: #fff;
    margin-bottom: 1em;
    text-align: center;
    font-size: 1.5em;
}

.map-container iframe {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
}

.form-container {
    padding: 0;
    background-color: transparent;
    box-shadow: none;
}

/* UIverse Form Styles */
.form {
    display: flex;
    flex-direction: column;
    align-self: center;
    font-family: inherit;
    gap: 10px;
    padding-inline: 2em;
    padding-bottom: 0.4em;
    background-color: #171717;
    border-radius: 20px;
}

.form-heading {
    text-align: center;
    margin: 2em;
    color: #09c66c;
    font-size: 1.2em;
    background-color: transparent;
    align-self: center;
}

.form-field {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    border-radius: 10px;
    padding: 0.6em;
    border: none;
    outline: none;
    color: white;
    background-color: #171717;
    box-shadow: inset 2px 5px 10px rgb(5, 5, 5);
}

.input-field {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    color: #ccd6f6;
    padding-inline: 1em;
}

.sendMessage-btn {
    cursor: pointer;
    margin-bottom: 3em;
    padding: 1em;
    border-radius: 10px;
    border: none;
    outline: none;
    background-color: transparent;
    color: #09c66c;
    font-weight: bold;
    outline: 1px solid #09c66c;
    transition: all ease-in-out 0.3s;
}

.sendMessage-btn:hover {
    background-color: #09c66c;
    color: #000;
}

.form-card1 {
    background-image: linear-gradient(163deg, #09c66c 0%, #09c66c 100%);
    border-radius: 22px;
    transition: all 0.3s;
    width: 100%;
}

.form-card1:hover {
    box-shadow: 0px 0px 30px 1px rgba(100, 255, 218, 0.3);
}

.form-card2 {
    border-radius: 0;
    transition: all 0.2s;
    width: 100%;
}

.form-card2:hover {
    transform: scale(0.98);
    border-radius: 20px;
}

.radio-buttons-container {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-bottom: 1.5em;
    flex-wrap: wrap;
    background-color: transparent;
}

.radio-label {
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 0.5em;
    cursor: pointer;
    color: #ccd6f6;
    padding: 0.8em 1.2em;
    border: 1px solid #09c66c;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: #171717;
}

.radio-label:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

.radio-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 1.2em;
    height: 1.2em;
    border: 2px solid #09c66c;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    display: grid;
    place-content: center;
}

.radio-input::before {
    content: '';
    width: 0.45em;
    height: 0.45em;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #09c66c;
}

.radio-input:checked::before {
    transform: scale(1);
}


/* ========================================================================
   13. TOUR INFO PAGE
   ======================================================================== */

#tour-info-page-container {
    /* Main container for the tour info page, which is a modal-like view */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999; /* Below the loading screen, but above all other content */
    background-color: #141313;
    overflow-y: auto;
}

.tour-info-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #141313;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
}

.stars-background-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 0;
    opacity: 0.5;
}

.tour-content-overlay {
    position: relative;
    z-index: 1;
    width: 95%;
    max-width: 1920px;
    margin: 0 auto;
    border-radius: 15px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-main-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    color: white;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.page-sub-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: #09c66c;
    text-align: center;
    font-weight: 600;
    margin-bottom: 30px;
}

.tour-columns-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.tour-column {
    flex: 1;
    min-width: 300px;
    background-color: #1C1A1C;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.tour-column .column-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    color: white;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.tour-column ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.tour-column ul li {
    font-size: 15px;
    color: #E0E0E0;
    margin-bottom: 10px;
    line-height: 1.5;
    position: relative;
    padding-left: 25px;
}

.tour-column ul li::before {
    content: '•';
    color: #09c66c;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

.tour-column .sub-section-heading {
    font-size: 22px;
    color: white;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.tour-column .sub-section-intro {
    font-size: 16px;
    color: #AAAAAA;
    margin-bottom: 10px;
    font-style: italic;
}

.tour-column p {
    font-size: 15px;
    color: #E0E0E0;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tour-booking-btn {
    display: block;
    width: 100%;
    padding: 12px 25px;
    background-color: #141313;
    border: 2px solid #09c66c;
    color: white;
    font-weight: 700;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-top: auto;
}

.tour-booking-btn:hover {
    background-color: #09c66c;
    color: black;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}


/* ========================================================================
   14. MODALS & OVERLAYS
   ======================================================================== */

.expanded-achievement-overlay,
.full-exhibit-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: none; /* Hidden by default */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
    animation: fadeInOverlay 0.3s ease-out forwards;
}

.expanded-achievement-overlay.show,
.full-exhibit-page.show {
    display: flex;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

.expanded-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 950px;
    background: linear-gradient(45deg, #1a1a1a, #262626);
    border-radius: 12px;
    padding: 40px;
    position: relative;
}

.full-description-display {
    flex-grow: 1;
    text-align: center;
    padding: 0 20px;
}

.full-description-display h3 {
    font-size: 2.2em;
    color: #0bdf79;
    margin-bottom: 20px;
}

.full-description-display p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #e0e0e0;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding-right: 10px;
}

.uiverse-close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 4em;
  height: 4em;
  border: none;
  background: rgba(180, 83, 107, 0.11);
  border-radius: 5px;
  transition: background 0.5s;
  z-index: 10;
  cursor: pointer;
}

.X {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2em;
  height: 1.5px;
  background-color: rgb(255, 255, 255);
  transform: translateX(-50%) rotate(45deg);
}

.Y {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2em;
  height: 1.5px;
  background-color: #fff;
  transform: translateX(-50%) rotate(-45deg);
}

.close {
  position: absolute;
  display: flex;
  padding: 0.8rem 1.5rem;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  top: -70%;
  left: 50%;
  width: 3em;
  height: 1.7em;
  font-size: 12px;
  background-color: rgb(19, 22, 24);
  color: rgb(187, 229, 236);
  border: none;
  border-radius: 3px;
  pointer-events: none;
  opacity: 0;
}

.uiverse-close-button:hover {
  background-color: rgb(211, 21, 21);
}

.uiverse-close-button:active {
  background-color: rgb(130, 0, 0);
}

.uiverse-close-button:hover > .close {
  animation: close 0.2s forwards 0.25s;
}

.nav-arrow {
    background-color: #0bdf79;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5em;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    margin: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
}

.nav-arrow:hover {
    background-color: #0bdf79;
    transform: scale(1.1);
}

.nav-arrow svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2.5;
}


/* ========================================================================
   15. LOADING SCREEN
   ======================================================================== */

#loading-screen-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0s 0.5s;
}

#loading-screen-container.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.solar {
    margin: 0;
    height: 50px;
    width: 50px;
    background: orange;
    border-radius: 25px;
    position: relative;
    animation: glow 1.5s linear infinite;
}

.solar i {
    border-radius: 250px;
    display: block;
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-sizing: border-box;
    transform-origin: 50% 50%;
}


/* ========================================================================
   16. RESPONSIVE DESIGN (MEDIA QUERIES)
   ======================================================================== */

/* General Responsive */
@media (max-width: 1200px) {
    .nav-links {
        gap: 15px;
        justify-content: flex-start
    }
}

/* Tablet (769px to 1200px) */
@media (min-width: 769px) and (max-width: 1200px) {
    .header-content-wrapper {
        padding: 15px 20px;
    }
    #home {
        min-height: fit-content;
    }
    .stars-overlay-content h1{
        font-size: 16px;
        max-width: 500px;
    }
    .stars-overlay-content p{
        font-size: 14px;
    }
    .about-carousel .about-wrapper,
    .shows-carousel .shows-wrapper {
        gap: 15px;
    }
    .telescope-card, .show-card {
        min-width: calc(33.333% - 13.333px);
    }
    .carousel-button.prev, .carousel-button.next {
        left: 0;
        right: 0;
    }
    .achievements-grid {
        grid-template-columns: repeat(3, 1fr);
        height: auto;
    }
    .news-column {
        min-width: unset;
        flex: 1;
    }
    .utility-items{
        display: flex;
        flex-direction: row;
        gap: 10px;
        align-items: center;
        margin-left: auto; /* Push utility items to the right */
    }
    .nav-links {
        gap: 10px;
        display: flex !important;
        flex-direction: row;
        position: static;
        background-color: transparent;
        box-shadow: none;
        width: auto;
        flex-grow: 1;
        justify-content: center;
        font-size: 11px;
        flex-wrap: wrap;
    }
    .nav-button {
        --fs-size: 1em;
    }
    .nav-menu-toggle {
        display: none;
    }
    .utility-item {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        margin-top: 0;
        width: auto;
    }
    .btn .text{
        font-size: 10px;
    }
    .socialbar svg{
        width: 12px;
        height: 12px;
    }
    .btn svg {
        width: 16px;
        height: 16px;
    }
    .nav-links .search-container, .nav-links .btn, .nav-links .socialbar {
        display: none; /* Hide them from the main nav on smaller desktops */
    }
}

/* Mobile & Tablet (up to 992px) */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
    }
    .form-container {
        grid-column: span 2;
    }
    .tour-columns-container {
        flex-direction: column;
        gap: 40px;
    }
}


/* Mobile (up to 768px) */
@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }
    #home {
        min-height: fit-content;
    }
    .main-header {
        height: 80px;
    }
    .header-content-wrapper {
        padding: 15px 20px;
        flex-wrap: nowrap;
    }
    .nav-menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        background-color: #1a1a1a;
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        z-index: 999;
        padding: 20px 0;
        align-items: center;
        width: 100%;
    }
    .nav-links.active {
        display: flex;
    }
    .utility-items {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: end;
        width: 100%;
        gap: 20px;
    }
    .utility-item {
        display: block;
        text-align: center;
    }
    .btn {
        width: 100%;
    }
    .btn .text {
        font-size: 9px;
    }
    .socialbar {
        width: fit-content;
        margin: 0 auto;
    }
    #stars-display-area {
        min-height: 90dvh;
        box-sizing: border-box;
    }
    #stars-display-area iframe{
        min-height: 90dvh;
    }
    .stars-overlay-content {
        background-color: rgba(0, 0, 0, 0.5);
    }
    .stars-overlay-content h1{
        font-size: 14px;
        max-width: 300px;
    }
    .stars-overlay-content p{
        font-size: 12px;
    }
    .video-logo-overlay {
        width: auto;
    }
    .video-logo-overlay img {
        height: 20px;
        width: auto;
    }
    .video-grid{
        height: 100%;
    }
    #stars-display-area {
        height: auto;
    }


    .about-grid, .education-grid {
        grid-template-columns: 1fr;
    }
    .observatory-map {
        display: none;
    }
    .education-column, .education-content p {
        height: auto;
    }
    .achievements-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }
    .achievements-grid > .container {
        flex: 0 0 80%;
        scroll-snap-align: center;
        margin-left: 10%;
        margin-right: 10%;
    }
    .news-column {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    .form-container {
        grid-column: span 1;
    }
    .contact-section {
        box-sizing: border-box;
        padding: 0;
        margin: 0;
        width: 100%;
        height: 100%;
    }
    #contact{
        justify-content: center;
        margin: 0;
        padding: 0;
    }
    .contact-grid{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    .map-container{
        display: none;
    }
    .form-container{
        width: 100%;
    }
    .history-initial-buttons {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .education-gallery {
        flex-direction: row;
        align-items: start;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }
    .expanded-achievement-overlay.show h3{
        font-size: 18px;
    }
    .expanded-achievement-overlay.show p{
        font-size: 12px;
    }
    .expanded-content-wrapper{
        padding: 0;
    }
    #prev-achievement-btn, #next-achievement-btn{
        width: 40px;
        height: 40px;
        padding: 5px;
        margin: 5;
    }
}