:root {
 --primary-color: #1e3a5e; /* Dark Navy Blue */
 --secondary-color: #3b82f6; /* Bright Blue */
 --primary-dark: #12233a;
 --text-dark: #1f2937;
 --text-light: #6b7280;
 --bg-light: #f3f4f6;
 --bg-white: #ffffff;
 --border-color: #d1d5db;
 --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
 --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
 --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
 --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, Helvetica, Arial, sans-serif;
}

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

html {
 scroll-behavior: smooth;
 scroll-padding-top: 80px;
}

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

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

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

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

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

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

a:hover {
 color: var(--primary-color);
}

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

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

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

.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(--secondary-color);
}

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

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

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

.nav-links a:hover::after,
.nav-links a.active::after {
 width: 100%;
}
.nav-links a.active {
 color: var(--primary-color);
}

.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);
}

/* Buttons */
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 padding: 12px 24px;
 font-size: 0.95rem;
 font-weight: 600;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: var(--transition);
 border: 2px solid transparent;
 text-decoration: none;
}

.btn-primary {
 background: var(--secondary-color);
 color: white;
}
.btn-primary:hover {
 background: var(--primary-color);
 color: white;
 transform: translateY(-2px);
}
.nav-cta{
 padding: 10px 20px;
}

.btn-secondary {
 background: transparent;
 color: white;
 border-color: white;
}
.btn-secondary:hover {
 background: white;
 color: var(--primary-color);
}
#cookie-banner .btn-secondary {
 color: var(--text-light);
 border-color: var(--border-color);
}
#cookie-banner .btn-secondary:hover {
 background: var(--bg-light);
 color: var(--text-dark);
}

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

/* Hero Section */
.hero {
 min-height: 65vh;
 position: relative;
 display: flex;
 align-items: center;
 justify-content: center;
 text-align: center;
 background-size: cover;
 background-position: center;
 padding: 80px 0;
}

.hero::before {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(0deg, rgba(8, 28, 54, 0.7), rgba(30, 58, 94, 0.5));
}

.hero-content {
 position: relative;
 z-index: 2;
 color: white;
 max-width: 800px;
}

.hero-title {
 color: white;
 font-size: clamp(2.5rem, 6vw, 3.5rem);
}

.hero-subtitle {
 font-size: 1.25rem;
 color: rgba(255, 255, 255, 0.85);
 margin-top: 1rem;
 margin-bottom: 2rem;
 max-width: 700px;
 margin-left:auto;
 margin-right:auto;
}

.hero-buttons {
 display: flex;
 gap: 16px;
 justify-content: center;
 margin-top: 2rem;
}

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

.section-header {
 text-align: center;
 max-width: 700px;
 margin: 0 auto 50px;
}
.section-title { color: var(--primary-color); }

.section-title-small {
 font-size: 1.75rem;
 color: var(--primary-color);
}

/* Feature Cards */
.feature-card {
 background: var(--bg-white);
 padding: 32px;
 border-radius: var(--radius-lg);
 text-align: center;
 box-shadow: var(--shadow-md);
 transition: var(--transition);
}
.feature-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}

.feature-card-icon {
 width: 64px;
 height: 64px;
 border-radius: 50%;
 background: var(--bg-light);
 color: var(--secondary-color);
 display: flex;
 align-items: center;
 justify-content: center;
 margin: 0 auto 24px;
}

.feature-card-icon svg {
 width: 32px;
 height: 32px;
}

.feature-card-title {
 color: var(--text-dark);
 font-size: 1.25rem;
}
.feature-card-text {
 font-size: 0.95rem;
}

/* Content Section (Image + Text) */
.content-section {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 60px;
 align-items: center;
}
.content-section-reverse {
 grid-template-columns: 1fr 1fr;
}
.content-section-reverse .content-text { order: 2; }
.content-section-reverse .content-image { order: 1; }

.content-image img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
 width: 100%;
 height: 400px;
 object-fit: cover;
}
.content-text .btn {
 margin-top: 1rem;
}

/* Grid Layout */
.grid-3 {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 30px;
}

/* Footer */
.footer {
 background: var(--primary-color);
 color: #a0aec0;
 padding: 60px 0 20px;
 margin-top: 60px;
}

.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-about {
 font-size: 0.9rem;
 line-height: 1.6;
}

.footer-heading {
 font-size: 1rem;
 font-weight: 600;
 color: white;
 margin-bottom: 1.5rem;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}

.footer-links {
 list-style: none;
}

.footer-links li {
 margin-bottom: 0.75rem;
}

.footer-links a, .footer-contact a {
 color: #a0aec0;
}

.footer-links a:hover, .footer-contact a:hover {
 color: white;
}

.footer-contact {
 display: flex;
 align-items: flex-start;
 gap: 12px;
 margin-bottom: 1rem;
 font-size: 0.9rem;
}
.footer-contact svg {
 width: 18px;
 height: 18px;
 flex-shrink: 0;
 margin-top: 3px;
 color: var(--secondary-color);
}

.footer-social {
 display: flex;
 gap: 1rem;
 margin-top: 1.5rem;
}
.footer-social a{
 color: #a0aec0;
 display: block;
 width: 24px;
 height: 24px;
}
.footer-social a:hover {
 color: white;
}

.footer-bottom {
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 padding-top: 20px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 font-size: 0.85rem;
}
.footer-legal a {
 margin-left: 20px;
 color: #a0aec0;
}
.footer-legal a:hover {
 color: white;
}

/* Page Specific Styles */
.page-header-section {
 background: var(--bg-light);
 text-align: center;
 padding: 60px 0;
}
.page-title { color: var(--primary-color);}

.article-content {
 padding: 60px 20px;
}
.article-body {
 max-width: 800px;
 margin: 0 auto;
}
.article-image {
 width: 100%;
 height: auto;
 max-height: 400px;
 object-fit: cover;
 border-radius: var(--radius-lg);
 margin-bottom: 2rem;
}
.article-body h2 {
 margin-top: 2.5rem; color: var(--primary-color);
}
.article-body h3 {
 margin-top: 2rem;
}
.article-body ul {
 list-style-position: inside;
 padding-left: 1rem;
 margin-bottom: 1rem;
}
.article-body li {
 margin-bottom: 0.5rem;
 color: var(--text-light);
}

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

/* Contact Page */
.contact-layout {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 60px;
}
.form {
 margin-top: 2rem;
}
.form-group {
 margin-bottom: 1.25rem;
}
.form-label {
 display: block;
 font-weight: 500;
 margin-bottom: 8px;
 color: var(--text-dark);
}
.form-control {
 width: 100%;
 padding: 14px 18px;
 font-size: 1rem;
 font-family: var(--font-main);
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 transition: var(--transition);
 background: white;
}
.form-control:focus {
 outline: none;
 border-color: var(--secondary-color);
 box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.form-check {
 display: flex;
 align-items: flex-start;
 gap: 10px;
 font-size: 0.9rem;
 color: var(--text-light);
}
.form-check input { margin-top: 4px; }
.form-check a { color: var(--secondary-color); font-weight: 500; }
.form-check a:hover { text-decoration: underline; }

.contact-info-item {
 display: flex;
 gap: 1rem;
 align-items: flex-start;
 margin-bottom: 1.5rem;
}
.contact-info-icon {
 flex-shrink: 0;
 width: 40px;
 height: 40px;
 border-radius: 50%;
 background: var(--bg-light);
 color: var(--secondary-color);
 display: flex;
 align-items: center;
 justify-content: center;
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-item p { margin-bottom: 0; }
.contact-info-item a { color: var(--text-dark); }
.contact-info-item a:hover { color: var(--secondary-color); }

.map-container {
 height: 300px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 margin-top: 2rem;
 box-shadow: var(--shadow-md);
}

/* Resources Page */
.resource-list {
 display: grid;
 gap: 30px;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.resource-card {
 background: white;
 padding: 24px;
 border-radius: var(--radius-md);
 box-shadow: var(--shadow-md);
 border-left: 4px solid var(--secondary-color);
 display: flex;
 flex-direction: column;
}
.resource-title {
 font-size: 1.2rem;
}
.resource-description {
 flex-grow: 1;
 color: var(--text-light);
 font-size: 0.95rem;
}
.resource-link {
 font-weight: 600;
 display: inline-block;
 margin-top: 1rem;
}

/* Legal text & Thank you*/
.legal-text h3 {
 margin-top: 2rem;
 color: var(--primary-color);
}
.thank-you-section {
 min-height: 50vh;
 display: flex;
 align-items: center;
 justify-content: center;
}
.text-center { text-align: center; }

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

/* Cookie Banner */
#cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: white;
 padding: 20px;
 box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
}
#cookie-banner p {
 margin: 0;
 font-size: 0.9rem;
 color: var(--text-light);
}
#cookie-banner div {
 display: flex;
 gap: 10px;
 flex-shrink: 0;
}

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

@media (max-width: 768px) {
 .nav-toggle { display: block; }
 .nav-links {
 position: fixed;
 top: 0;
 right: -100%;
 height: 100vh;
 width: 280px;
 background: white;
 flex-direction: column;
 padding: 100px 20px 20px;
 gap: 24px;
 box-shadow: var(--shadow-lg);
 transition: right 0.4s ease-in-out;
 align-items: flex-start;
 }
 .nav-links.active { right: 0; }
 .nav-cta { display: none; }
 .grid-3 { grid-template-columns: 1fr; }
 .hero-buttons { flex-direction: column; }
 #cookie-banner {
 flex-direction: column;
 text-align: center;
 }
}

@media (max-width: 576px) {
 .footer-grid { grid-template-columns: 1fr; }
 .footer-bottom { flex-direction: column; gap: 1rem; }
}