/* GLOBAL STYLES */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #1a1a1a;
    color: white;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

/* NAVIGATION */
.top-nav {
    position: sticky;
    top: 0;
    width: 100%;
    height: 60px;
    background-color: #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 9999;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-left, .nav-icons-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-icon img {
    height: 24px;
    transition: transform 0.2s;
}

.nav-icon:hover img {
    transform: scale(1.1);
}

.nav-right {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.nav-link:hover { color: #00acee; }
.nav-link.active { color: #55acee; }

/* SECTION CONTAINERS */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
    padding-bottom: 20px;
    scroll-margin-top: 60px;
}

.mini-section {
    min-height: auto;
    height: auto;
    padding: 40px 0;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    object-fit: cover;
    z-index: 1; 
}

/* CONTENT BLOCKS */
.content-stack {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    margin-top: 5vh;
}

.overlay-text {
    position: relative;
    z-index: 10;
    background-color: rgba(40, 40, 40, 0.75); 
    padding: 20px 30px;
    border-radius: 4px;
    line-height: 1.6;
    backdrop-filter: blur(3px);
    max-width: 800px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.sub-heading {
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
    color: #ccc;
}

/* LOGO & IMAGES */
.logo-wrapper {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.main-logo {
    width: 676px;
    filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.3));
}

.inset-img {
    position: relative;
    z-index: 10;
    display: block;
    height: auto;
}

.pos-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}

/* LAYOUT HELPERS */
.image-row {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.row-img {
    width: 300px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.straddle img {
    border: 3px solid #1a1a1a;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.side-by-side {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.image-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1.5; 
    min-width: 250px;
    max-width: 450px;
}

.side-by-side .overlay-text {
    flex: 1; 
    margin-bottom: 0;
    min-width: 300px; 
}

.side-img {
    width: 100%;
    border: 3px solid #1a1a1a;
    border-radius: 4px;
}

.map-responsive {
    width: 791px !important; 
    max-width: 100% !important;
}

.sys-req {
    margin-top: 20px;
    font-size: 1.0rem;
    color: #eee;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .side-by-side {
        flex-direction: column-reverse;
        align-items: center;
    }
    .main-logo { width: 400px; }
}

@media (max-width: 600px) {
    .main-logo { width: 300px; }
    .nav-left span { display: none; } /* Hide "Join us on" text on tiny screens */
}