:root {
    --bg-white: #FFFFFF;
    --text-primary: #222222;
    --text-secondary: #555555;
    --text-light: #888888;
    --color-navy: #0A192F;
    --color-accent: #004488;
    --border-light: #E0E0E0;
    --bg-light-gray: #F8F9FA;
    --max-width: 1200px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-white);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* Structural Classes */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.section-gray {
    background-color: var(--bg-light-gray);
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Header / Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 70px;
    box-sizing: border-box;
}

.logo-container {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-navy);
    letter-spacing: -0.5px;
}

.logo-container img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}

nav a {
    position: relative;
    padding-bottom: 5px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #AAAAAA;
    transition: width 0.3s ease;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

nav a:hover, nav a.active {
    color: var(--color-navy);
}

/* Lang Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 32px;
    padding-left: 32px;
    border-left: 1px solid var(--border-light);
}

.lang-dropbtn {
    background: none;
    border: none;
    color: var(--text-light);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.lang-dropbtn:hover {
    color: var(--color-navy);
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #FFFFFF;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1001;
    border: 1px solid var(--border-light);
}

/* Gap bridge to keep hover active */
.lang-dropdown-content::before {
    content: '';
    position: absolute;
    top: -15px; /* Adjust as needed based on gap */
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
}

.lang-dropdown-content button {
    color: var(--text-secondary);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.lang-dropdown-content button:hover {
    background-color: var(--bg-light-gray);
    color: var(--color-navy);
}

.lang-dropdown-content button.active {
    color: var(--color-navy);
    font-weight: 700;
    background-color: rgba(10, 25, 47, 0.05); /* Navy background with low opacity */
}

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

.globe-icon {
    opacity: 0.7;
}

.lang-dropdown:hover .globe-icon {
    opacity: 1;
}

/* Footer */
footer {
    background-color: var(--color-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.footer-info p {
    margin: 0 0 8px 0;
}

/* Basic Animations (Fade In Only as requested) */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-in forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--color-navy);
    color: #FFFFFF;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid var(--color-navy);
    transition: background-color 0.2s, color 0.2s;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #FFFFFF;
    color: var(--color-navy);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--color-navy);
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid var(--color-navy);
    transition: background-color 0.2s, color 0.2s;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--color-navy);
    color: #FFFFFF;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 0;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    box-sizing: border-box;
    background-color: #FFFFFF;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-navy);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
