:root {
    --bg-color: #FFFFFF;
    --primary-text-color: #000000;
    --secondary-text-color: #333333;
    --accent-color: #000000;
    --surface-color: #F5F5F5;
    --header-height: 80px;
    --dark-gold: #B8860B; /* Added for sector card back */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--primary-text-color);
    line-height: 1.6;
}

.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #E0E0E0;
    padding: 0 5%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo-container {
    height: 100%; /* Make container take full header height */
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px; /* Reduced height for the logo */
    width: auto;
    object-fit: contain;
}

.header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    justify-content: center;
    text-align: center;
    color: var(--primary-text-color);
    overflow: hidden;
    /* padding-top adjusted by JS based on header height */
}

.header nav a {
    text-decoration: none;
    color: var(--secondary-text-color);
    font-weight: 400;
    transition: color 0.3s ease;
}

.header nav a:hover {
    color: var(--accent-color);
}

/* Language Selector Styles */
.language-selector {
    position: relative;
    margin-left: 20px;
}

.language-btn {
    background-color: transparent;
    border: 1px solid #ccc;
    color: var(--secondary-text-color);
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

.language-btn:hover {
    background-color: #f0f0f0;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background-color: white;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1001;
    min-width: 200px;
    max-height: 300px; /* Added for scrollability */
    overflow-y: auto; /* Added for scrollability */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.language-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.language-dropdown li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--primary-text-color);
    font-size: 0.9rem;
}

.language-dropdown li a:hover {
    background-color: #f5f5f5;
}

main {
    padding-top: var(--header-height); /* This will be overridden by JS for dynamic header height */
}

/* Foundation Section */
.foundation-section {
    padding: 3rem 8% 4rem;
    background-color: var(--surface-color);
    text-align: center;
}

.foundation-section .section-title {
     padding-bottom: 2rem;
}

.foundation-section .section-title h3 {
    font-size: 1.8rem; /* Made title smaller */
}

.foundation-content {
    max-width: 800px;
    margin: 0 auto;
}

.foundation-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem; /* Made text smaller */
    color: var(--primary-text-color);
    margin-bottom: 1rem;
}

.foundation-content p:last-of-type {
    margin-bottom: 0;
}

.footer {
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
    padding: 2rem 5%;
    border-top: 1px solid #E0E0E0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Scroll reveal animation */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Responsive Design Additions */
@media (max-width: 768px) {
    body {
        padding: 10px;
        font-size: 16px;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .container, .content, .section {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    nav, header, footer {
        flex-direction: column;
        align-items: center;
    }
}
