:root {
 --primary-color: #0c4a6e; /* Dark Blue */
 --primary-dark: #073450;
 --secondary-color: #38bdf8; /* Light Blue */
 --text-dark: #1f2937;
 --text-light: #4b5563;
 --text-muted: #6b7280;
 --bg-light: #f3f4f6;
 --bg-white: #ffffff;
 --border-color: #d1d5db;
 --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
 --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
 --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
 --radius-sm: 4px;
 --radius-md: 8px;
 --radius-lg: 16px;
 --transition: all 0.3s ease-in-out;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
 scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
 font-weight: 700;
 line-height: 1.2;
 color: var(--text-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); margin-bottom: 0.75rem; }

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

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
}

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

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

.section-header {
 text-align: center;
 max-width: 750px;
 margin: 0 auto 60px;
}

.section-title {
 color: var(--text-dark);
}

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

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

.header.scrolled {
 background: rgba(255,255,255,0.98);
 box-shadow: var(--shadow-md);
}

.nav-container {
 max-width: 1400px;
 margin: 0 auto;
 padding: 0 24px;
}

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

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

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

.nav-links a {
 font-weight: 600;
 color: var(--text-dark);
 padding: 8px 4px;
 position: relative;
 font-size: 1rem;
}

.nav-links a::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 width: 0;
 height: 2px;
 background: var(--primary-color);
 transition: width 0.3s ease;
 margin: 0 auto;
}

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

.nav-cta {
 display: inline-block;
}

/* Mobile Menu */
.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 padding: 8px;
 z-index: 1001;
}

.nav-toggle span {
 display: block;
 width: 24px;
 height: 2px;
 background: var(--text-dark);
 margin: 6px 0;
 transition: var(--transition);
}

@media (max-width: 992px) {
 .nav-cta { display: none; }
 .nav-toggle { display: block; }
 .nav-links {
 position: fixed;
 top: 0;
 right: -100%;
 width: 300px;
 height: 100vh;
 background: var(--bg-white);
 flex-direction: column;
 padding: 100px 40px 40px;
 gap: 24px;
 box-shadow: var(--shadow-lg);
 transition: right 0.4s ease-in-out;
 align-items: flex-start;
 }
 .nav-links.active {
 right: 0;
 }
}

/* Buttons */
.btn {
 display: inline-block;
 padding: 12px 28px;
 font-size: 1rem;
 font-weight: 600;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: var(--transition);
 border: 2px solid transparent;
 text-decoration: none;
 text-align: center;
}
.btn-primary {
 background: var(--primary-color);
 color: white;
}
.btn-primary:hover {
 background: var(--primary-dark);
 color: white;
 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;
}
.btn-white {
 background: white;
 color: var(--primary-color);
}
.btn-white:hover {
 background:var(--bg-light);
 color: var(--primary-dark);
 transform: translateY(-2px);
}
.btn-sm {
 padding: 8px 16px;
 font-size: 0.9rem;
}

/* Hero Section */
.hero {
 position: relative;
 min-height: 70vh;
 background-size: cover;
 background-position: center;
 display: flex;
 align-items: center;
 justify-content: center;
 color: white;
}
.hero::before {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(rgba(12, 74, 110, 0.7), rgba(12, 74, 110, 0.5));
}
.hero-content {
 position: relative;
 z-index: 1;
 text-align: center;
 max-width: 800px;
 padding: 0 24px;
}
.hero-content h1 {
 color: white;
}
.hero-content .section-subtitle {
 color: rgba(255,255,255,0.9);
 margin-bottom: 2rem;
}
.hero-actions {
 display: flex;
 gap: 16px;
 justify-content: center;
 flex-wrap: wrap;
}

/* Feature Cards */
.grid-3 {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 30px;
}
.feature-card {
 background: var(--bg-white);
 padding: 32px;
 border-radius: var(--radius-lg);
 text-align: center;
 box-shadow: var(--shadow-md);
 transition: var(--transition);
 border: 1px solid var(--border-color);
}
.feature-card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-lg);
}
.feature-icon {
 width: 64px;
 height: 64px;
 border-radius: 50%;
 background: var(--bg-light);
 display: flex;
 align-items: center;
 justify-content: center;
 margin: 0 auto 24px;
 color: var(--primary-color);
}
.feature-icon svg {
 width: 32px;
 height: 32px;
}

/* Media Object */
.media-object {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 60px;
 align-items: center;
}
.media-object:not(:last-child) {
 margin-bottom: 80px;
}
.media-object.reverse {
 grid-template-columns: 1fr 1fr;
}
.media-object.reverse .media-visual {
 order: 2;
}
.media-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
 width: 100%;
 height: auto;
 object-fit: cover;
 max-height: 400px;
}
.media-copy h3 { color: var(--text-dark); }

/* CTA Banner */
.cta-banner {
 background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
 padding: 60px;
 border-radius: var(--radius-lg);
 text-align: center;
}
.cta-content h2 {
 color: white;
 font-size: 2rem;
 margin-bottom: 1rem;
}
.cta-content p {
 color: rgba(255,255,255,0.9);
 max-width: 600px;
 margin: 0 auto 2rem;
}

/* Footer */
.footer {
 background: var(--text-dark);
 color: var(--text-muted);
 padding: 80px 0 30px;
 font-size: 0.95rem;
}
.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 40px;
 margin-bottom: 60px;
}
.footer-heading {
 color: var(--bg-white);
 font-size: 1.1rem;
 margin-bottom: 20px;
 font-weight: 600;
}
.footer-description {
 margin-bottom: 20px;
 line-height: 1.6;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
 color: var(--text-muted);
}
.footer-links a:hover {
 color: var(--bg-white);
}
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer-contact svg { width: 20px; height: 20px; color: var(--secondary-color); margin-top: 3px; flex-shrink: 0; }
.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: var(--bg-white); }
.footer-bottom {
 border-top: 1px solid rgba(255,255,255,0.1);
 padding-top: 30px;
 display: flex;
 justify-content: space-between;
 align-items: center;
}
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a { color: var(--text-muted); }
.footer-legal-links a:hover { color: var(--bg-white); }

/* Article/Content Pages */
.article-content {
 max-width: 800px;
 margin: 0 auto;
}
.article-content h1, .article-content h2 { color: var(--primary-color); }
.article-content h2 { margin-top: 2rem; border-bottom: 2px solid var(--bg-light); padding-bottom: 0.5rem; }
.article-content p { margin-bottom: 1.5rem; }
.article-content ul {
 list-style-position: inside;
 margin-left: 1rem;
 margin-bottom: 1.5rem;
}
.article-meta {
 color: var(--text-muted);
 font-weight: 500;
 margin-bottom: 2rem;
}
.article-banner {
 width: 100%;
 border-radius: var(--radius-lg);
 margin-bottom: 2rem;
 height: 400px;
 object-fit: cover;
}
.about-image {
 width: 100%;
 max-width: 800px;
 height: 400px;
 object-fit: cover;
 border-radius: var(--radius-lg);
 margin: 0 auto 2rem;
 display: block;
}
.about-content h2 {
 margin-top: 2rem;
 text-align: center;
}
.about-content p {
 max-width: 800px;
 margin-left: auto;
 margin-right: auto;
}

/* Team Section */
.team-card {
 background: var(--bg-white);
 padding: 24px;
 border-radius: var(--radius-lg);
 text-align: center;
 box-shadow: var(--shadow-sm);
 border: 1px solid var(--border-color);
}
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 16px;
 border: 4px solid var(--bg-white);
 box-shadow: var(--shadow-md);
}
.team-name { color: var(--text-dark); }
.team-role {
 color: var(--primary-color);
 font-weight: 600;
 margin-bottom: 8px;
}
.team-bio {
 font-size: 0.9rem;
 color: var(--text-muted);
}

/* Contact Page */
.contact-layout {
 display: grid;
 grid-template-columns: 1.2fr 1fr;
 gap: 60px;
}
.contact-form-container h3, .contact-info-container h3 {
 margin-bottom: 1rem;
 color: var(--text-dark);
}
.form-group { margin-bottom: 20px; }
.form-label {
 display: block;
 font-weight: 600;
 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(12, 74, 110, 0.1);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; }
.form-check-input { margin-top: 5px; }
.form-check-label { font-size: 0.9rem; font-weight: 400; }
.map-container {
 margin-top: 2rem;
 border-radius: var(--radius-lg);
 overflow: hidden;
}

/* Thank you page */
.thank-you-content svg {
 width: 80px;
 height: 80px;
 color: var(--primary-color);
 margin-bottom: 1rem;
}
.text-center { text-align: center; }

/* Cookie Banner */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: var(--text-dark);
 color: var(--bg-light);
 padding: 20px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 z-index: 1001;
 display: none;
 flex-wrap: wrap;
 gap: 16px;
}
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--secondary-color); font-weight: 600; }
.cookie-buttons { display: flex; gap: 10px; }

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

/* Responsive Styles */
@media (max-width: 992px) {
 .grid-3 { grid-template-columns: 1fr; }
 .media-object, .media-object.reverse { grid-template-columns: 1fr; }
 .media-object.reverse .media-visual { order: 1; }
 .media-copy { text-align: center; }
 .contact-layout { grid-template-columns: 1fr; }
 .article-banner, .about-image { height: 300px; }
}

@media (max-width: 768px) {
 .footer-grid { grid-template-columns: 1fr; text-align: center; }
 .footer-contact li { justify-content: center; }
 .footer-bottom { flex-direction: column; gap: 1rem; }
}

@media (max-width: 576px) {
 body { font-size: 15px; }
 .section { padding: 60px 0; }
 .nav-links { width: 100%; right: -100%; }
}