:root {
 --primary-color: #005A9C;
 --primary-dark: #003E6B;
 --secondary-color: #D3E3F1;
 --text-dark: #212529;
 --text-light: #495057;
 --text-muted: #6C757D;
 --bg-light: #F8F9FA;
 --bg-white: #ffffff;
 --border-color: #DEE2E6;
 --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
 --shadow-md: 0 4px 8px rgba(0,0,0,0.07);
 --radius-sm: 4px;
 --radius-md: 8px;
 --radius-lg: 12px;
 --transition: all 0.3s ease;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
 scroll-behavior: smooth;
 font-size: 16px;
}

body {
 font-family: var(--font-main);
 line-height: 1.7;
 color: var(--text-dark);
 background: var(--bg-white);
 -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
 font-weight: 700;
 line-height: 1.3;
 color: var(--text-dark);
 margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.1rem; }

p {
 margin-bottom: 1.25rem;
 color: var(--text-light);
}

a {
 color: var(--primary-color);
 text-decoration: none;
 transition: var(--transition);
}

a:hover {
 color: var(--primary-dark);
 text-decoration: underline;
}

ul {
 margin-bottom: 1.25rem;
 padding-left: 20px;
}

li {
 margin-bottom: 0.5rem;
 line-height: 1.6;
}

.container {
 max-width: 1140px;
 margin: 0 auto;
 padding: 0 20px;
}

.page-container {
 padding-top: 100px;
 padding-bottom: 80px;
}

/* Header & Nav */
.header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 background: rgba(255,255,255,0.9);
 backdrop-filter: blur(10px);
 border-bottom: 1px solid var(--border-color);
 transition: var(--transition);
}

.header.scrolled {
 background: var(--bg-white);
 box-shadow: var(--shadow-md);
}

.nav {
 height: 70px;
 display: flex;
 align-items: center;
 justify-content: space-between;
}

.nav-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--text-dark);
}
.nav-logo:hover { text-decoration: none; }

.nav-menu { display: flex; }
.nav-links {
 display: flex;
 gap: 32px;
 list-style: none;
 align-items: center;
}
.nav-link {
 font-weight: 500;
 color: var(--text-dark);
 position: relative;
 padding: 8px 0;
}
.nav-link:hover { text-decoration: none; }
.nav-link::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 50%;
 transform: translateX(-50%);
 width: 0;
 height: 2px;
 background: var(--primary-color);
 transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
 width: 100%;
}
.nav-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 width: 24px;
 height: 24px;
 position: relative;
 z-index: 1001;
}

.nav-toggle span {
 display: block;
 width: 24px;
 height: 2px;
 background: var(--text-dark);
 transition: all 0.3s;
 position: absolute; left: 0;
}
.nav-toggle span:nth-child(1) { top: 4px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 18px; }

/* Buttons */
.btn {
 display: inline-block;
 padding: 12px 24px;
 font-size: 1rem;
 font-weight: 600;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: var(--transition);
 border: 2px solid transparent;
 text-align: center;
}
.btn:hover { text-decoration: none; }

.btn-primary {
 background: var(--primary-color);
 color: white;
}
.btn-primary:hover {
 background: var(--primary-dark);
 transform: translateY(-2px);
}

.btn-secondary {
 background: transparent;
 color: var(--primary-color);
 border-color: var(--primary-color);
}
.btn-secondary:hover {
 background: var(--primary-color);
 color: white;
}

/* Sections */
.section {
 padding: 80px 0;
}
.section.bg-light {
 background: var(--bg-light);
}

.section-header {
 text-align: center;
 max-width: 800px;
 margin: 0 auto 50px;
}
.section-title {
 margin-bottom: 1rem;
}
.section-subtitle {
 font-size: 1.1rem;
 color: var(--text-muted);
}
.section-label {
 display: inline-block;
 background: var(--secondary-color);
 color: var(--primary-dark);
 padding: 6px 16px;
 border-radius: 20px;
 font-size: 0.85rem;
 font-weight: 600;
 margin-bottom: 1rem;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}

/* Hero (Text only) */
.hero-text-only {
 background-color: var(--primary-dark);
 color: white;
 padding: 120px 0;
 text-align: center;
 margin-top: 70px;
}
.hero-content-text-only h1 { color: white; }
.hero-content-text-only .section-subtitle { color: rgba(255,255,255,0.8); }

/* Text Cards */
.text-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 30px;
}
.card.text-card {
 background: var(--bg-white);
 border: 1px solid var(--border-color);
 border-radius: var(--radius-lg);
 padding: 24px;
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
}
.card.text-card:hover {
 box-shadow: var(--shadow-md);
 transform: translateY(-5px);
}
.card-title {
 font-size: 1.25rem;
}
.card-text {
 font-size: 1rem;
}

/* Content Sections */
.content-section {
 max-width: 800px;
}

/* Article & Page Content */
.page-header {
 text-align: center;
 padding: 30px 0;
 margin-bottom: 40px;
 border-bottom: 1px solid var(--border-color);
}
.content-article {
 max-width: 800px;
 margin: 0 auto;
}
.content-article h2 {
 margin-top: 2.5rem;
 padding-bottom: 0.5rem;
 border-bottom: 1px solid var(--border-color);
}

/* Team Section (Text only) */
.team-profiles {
 margin-top: 3rem;
 display: grid;
 gap: 1.5rem;
}
.profile-card {
 background: var(--bg-light);
 border-left: 4px solid var(--primary-color);
 border-radius: var(--radius-md);
 padding: 1.5rem;
}
.profile-card h3 {
 font-size: 1.4rem;
 margin-bottom: 0.25rem;
}
.profile-card h4 {
 font-size: 1rem;
 font-weight: 500;
 color: var(--text-muted);
 margin-bottom: 1rem;
}

/* Contact Page */
.contact-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 40px;
}
.contact-form-container, .contact-info-container {
 padding: 2rem;
 background: var(--bg-light);
 border-radius: var(--radius-lg);
}
.contact-info-container h3, .contact-form-container h3 { margin-top: 0; }

.contact-details .contact-item {
 margin-bottom: 1.5rem;
}
.contact-details strong {
 display: block;
 margin-bottom: 0.25rem;
 color: var(--text-dark);
}
.contact-details p {
 margin-bottom: 0;
}
.map-container {
 height: 250px;
 border-radius: var(--radius-md);
 overflow: hidden;
 margin-top: 2rem;
}

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-label, label {
 display: block;
 font-weight: 500;
 margin-bottom: 8px;
 color: var(--text-dark);
}
.form-control {
 width: 100%;
 padding: 14px 18px;
 font-size: 1rem;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 transition: var(--transition);
 background: white;
}
.form-control:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.15);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.checkbox-label {
 display: flex;
 align-items: flex-start;
 gap: 10px;
 font-weight: normal;
 font-size: 0.9rem;
}
input[type="checkbox"] {
 margin-top: 4px;
 flex-shrink: 0;
}

/* Form Validation */
.input-error {
 border-color: #dc2626 !important;
 box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}
.field-error {
 color: #dc2626;
 font-size: 0.85rem;
 margin-top: 4px;
 animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
 from { opacity: 0; transform: translateY(-5px); }
 to { opacity: 1; transform: translateY(0); }
}
.spinner {
 display: inline-block;
 width: 16px;
 height: 16px;
 border: 2px solid rgba(255,255,255,0.3);
 border-radius: 50%;
 border-top-color: #fff;
 animation: spin 0.8s linear infinite;
 margin-right: 8px;
 vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
button[disabled] { opacity: 0.7; cursor: not-allowed; }

/* Table */
.cookie-table {
 width: 100%;
 border-collapse: collapse;
 margin: 2rem 0;
}
.cookie-table th, .cookie-table td {
 border: 1px solid var(--border-color);
 padding: 12px 15px;
 text-align: left;
}
.cookie-table th {
 background-color: var(--bg-light);
 font-weight: 600;
}

/* Footer */
.footer {
 background: var(--text-dark);
 color: #adb5bd;
 padding: 60px 0 30px;
 margin-top: 80px;
}
.footer-grid {
 display: grid;
 grid-template-columns: 2fr 1fr 1fr 1.5fr;
 gap: 40px;
 margin-bottom: 40px;
}
.footer-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: white;
 margin-bottom: 1rem;
 display: block;
}
.footer-logo:hover { text-decoration: none; }
.footer-description {
 font-size: 0.9rem;
}
.footer-heading {
 font-size: 1rem;
 font-weight: 600;
 color: white;
 margin-bottom: 20px;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #adb5bd; }
.footer-links a:hover { color: white; text-decoration: none; }

.footer-contact p {
 margin-bottom: 0.5rem;
 font-size: 0.9rem;
 color: #adb5bd;
}
.footer-contact a {
 color: #adb5bd;
}
.footer-contact a:hover { color: white; }
.footer-hours {
 font-size: 0.9rem;
 line-height: 1.6;
 color: #adb5bd;
}

.footer-bottom {
 border-top: 1px solid #343a40;
 padding-top: 30px;
 text-align: center;
 font-size: 0.85rem;
}

/* Cookie Banner */
#cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: var(--text-dark);
 color: var(--bg-light);
 padding: 20px;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
 box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}
#cookie-banner p { margin: 0; font-size: 0.9rem; }
#cookie-banner a { color: var(--secondary-color); text-decoration: underline; }
#cookie-banner div { display: flex; gap: 10px; }
#cookie-banner button {
 padding: 8px 16px;
 border-radius: var(--radius-sm);
 border: none;
 cursor: pointer;
 font-weight: 500;
}
#cookie-banner button:first-child {
 background: var(--primary-color);
 color: white;
}
#cookie-banner button:last-child {
 background: var(--text-muted);
 color: white;
}

/* Responsive */
@media (max-width: 992px) {
 .text-grid { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
 .nav-menu {
 position: fixed;
 top: 0;
 right: -100%;
 width: 100%;
 height: 100%;
 background-color: var(--bg-white);
 flex-direction: column;
 justify-content: center;
 align-items: center;
 transition: right 0.4s ease;
 padding-top: 70px;
 }
 .nav-menu.active {
 right: 0;
 }
 .nav-links {
 flex-direction: column;
 gap: 40px;
 }
 .nav-link { font-size: 1.25rem; }
 .nav-toggle { display: block; z-index: 1001; }
 .nav-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 11px; }
 .nav-toggle.active span:nth-child(2) { opacity: 0; }
 .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 11px; }
 .footer-grid { grid-template-columns: 1fr; text-align: center; }
 .footer-column { margin-bottom: 20px; }
 #cookie-banner { flex-direction: column; text-align: center; }
}