:root {
 --primary-color: #0d47a1; /* Deep Blue */
 --primary-dark: #002171;
 --secondary-color: #007BFF; /* Bright Blue */
 --text-dark: #212121;
 --text-light: #5f6368;
 --text-muted: #80868b;
 --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);
 --shadow-lg: 0 10px 20px rgba(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, 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.7;
 color: var(--text-light);
 background: var(--bg-white);
 -webkit-font-smoothing: antialiased;
}

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

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

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

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

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

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

/* 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 {
 box-shadow: var(--shadow-md);
 background: rgba(255,255,255,0.98);
}

.nav {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
 height: 70px;
 display: flex;
 align-items: center;
 justify-content: space-between;
}

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

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

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

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

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

.nav-cta {
 font-size: 0.9rem;
}

.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 padding: 8px;
 z-index: 1100;
}

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

/* Hero Section */
.page-hero {
 padding: 120px 0 80px;
 background: var(--bg-light);
}

.page-hero.homepage-hero {
 padding-top: 150px;
}

.hero-inner {
 display: grid;
 grid-template-columns: 1fr;
 align-items: center;
 gap: 48px;
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
}

.hero-copy .badge {
 color: var(--secondary-color);
 font-weight: 600;
 margin-bottom: 16px;
 display: inline-block;
}
.hero-copy h1 { color: var(--text-dark); }
.hero-copy p { font-size: 1.1rem; max-width: 550px; margin: 24px 0 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap;}

.hero-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
 max-height: 500px;
 object-fit: cover;
 width: 100%;
}

.subpage-hero {
 background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
 color: white;
 text-align: center;
 padding: 120px 24px 60px;
}
.subpage-hero h1 { color: white; }
.subpage-hero p { color: rgba(255,255,255,0.8); max-width: 700px; margin: 0 auto; }
.hero-inner-sub { max-width: 800px; margin: 0 auto; }
.hero-inner-sub .badge { background: rgba(255,255,255,0.1); color: white; padding: 4px 12px; border-radius: 20px;}

/* Buttons */
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 padding: 12px 24px;
 font-size: 1rem;
 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-dark);
 color: white;
 transform: translateY(-2px);
}

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

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

.section-header {
 text-align: center;
 max-width: 700px;
 margin: 0 auto 60px;
}
.section-label {
 display: inline-block;
 background: var(--primary-dark);
 color: white;
 padding: 6px 16px;
 border-radius: 20px;
 font-size: 0.85rem;
 font-weight: 600;
 margin-bottom: 16px;
 text-transform: uppercase;
}
.section-title { margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; line-height: 1.6; }

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

.card {
 background: white;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
 border: 1px solid var(--border-color);
 display: flex;
 flex-direction: column;
}
.card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-md);
}

.card-body {
 padding: 24px;
 display: flex;
 flex-direction: column;
 flex-grow: 1;
}

.card-title {
 font-size: 1.25rem;
 margin-bottom: 12px;
}

.card-text {
 color: var(--text-light);
 flex-grow: 1;
}

/* Media Object */
.media-object {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 48px;
 align-items: center;
 margin-bottom: 60px;
}
.media-object.reverse { grid-template-columns: 1fr 1fr; }
.media-object.reverse .media-visual { order: 2; }
.media-object:last-child { margin-bottom: 0; }
.media-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
}
.media-copy h3 { font-size: 1.7rem; }
.media-copy ul {
 list-style-position: inside;
 list-style-type: none;
 padding-left: 0;
 margin-top: 20px;
}

.media-copy li {
 padding-left: 2em;
 position: relative;
 margin-bottom: 10px;
}

.media-copy li::before {
 content: "";
 color: var(--secondary-color);
 font-weight: bold;
 position: absolute;
 left: 0;
}
.media-copy .cta-buttons { margin-top: 24px; }

/* Stats section */
.stats-highlight {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 40px;
 align-items: center;
}
.highlight-list {
 list-style: none;
 padding: 0;
}
.highlight-list li {
 font-size: 1.1rem;
 padding: 15px 0;
 border-bottom: 1px solid var(--border-color);
}
.highlight-list li:first-child { padding-top: 0; }
.highlight-list li:last-child { border-bottom: none; padding-bottom: 0; }

.stats-numbers {
 display: flex;
 justify-content: space-around;
 text-align: center;
 gap: 20px;
}
.stat-number {
 font-size: 2.5rem;
 font-weight: 700;
 color: var(--primary-dark);
}
.stat-caption {
 font-size: 0.9rem;
 color: var(--text-light);
}

/* Timeline */
.timeline {
 position: relative;
 max-width: 800px;
 margin: 0 auto;
 padding: 0 20px;
}
.timeline::before {
 content: '';
 position: absolute;
 top: 0;
 left: 20px;
 height: 100%;
 width: 2px;
 background: var(--border-color);
}
.timeline-step {
 position: relative;
 padding-left: 50px;
 margin-bottom: 40px;
}
.timeline-step::before {
 content: '';
 position: absolute;
 left: 10px;
 top: 5px;
 width: 20px;
 height: 20px;
 border-radius: 50%;
 background: var(--secondary-color);
 border: 3px solid var(--bg-light);
}
.timeline-step h3 {
 font-size: 1.3rem;
 color: var(--primary-dark);
}

/* Content Rich Text (for legal pages)
*/
.content-rich-text {
 max-width: 800px;
 margin: 0 auto;
}
.content-rich-text p, .content-rich-text ul {
 margin-bottom: 20px;
}
.content-rich-text h2, .content-rich-text h3 {
 margin-top: 40px;
 margin-bottom: 20px;
}
.content-rich-text ul { list-style-position: inside; padding-left: 20px; }
.legal-page .section { padding-top: 60px; padding-bottom: 60px; }

/* Footer */
.footer {
 background: var(--primary-dark);
 color: #e0e0e0;
 padding: 60px 0 30px;
 margin-top: 80px;
}
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-grid {
 display: grid;
 grid-template-columns: 2fr 1fr 1fr 1.5fr;
 gap: 40px;
 margin-bottom: 40px;
}
.footer-brand { max-width: 300px; }
.footer-logo { font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 16px; display: block; }
.footer-description { font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.7); }
.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; }
.footer-links li { margin-bottom: 12px; }
.footer-links a, .footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-links a:hover, .footer-contact-item a:hover { color: white; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.5;}
.footer-contact-item svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--secondary-color); }
.footer-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 30px 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-copyright, .footer-legal-links a { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a:hover { color: white; }

/* Contact Page */
.contact-grid {
 display: grid;
 grid-template-columns: 1.2fr 1fr;
 gap: 48px;
}
.contact-form-container h3, .contact-info-container h3 {
 margin-bottom: 24px;
}
.form-grid {
 display: flex;
 flex-direction: column;
}
.form-group { margin-bottom: 20px; }
.form-group.two-columns {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 20px;
}
.form-label { display: block; font-weight: 500; margin-bottom: 8px; color: var(--text-dark); }
.form-control {
 width: 100%;
 padding: 12px 16px;
 font-size: 1rem;
 font-family: inherit;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 transition: var(--transition);
}
.form-control:focus {
 outline: none;
 border-color: var(--secondary-color);
 box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-check { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.form-check input { width: auto; }
.form-submit-btn {
 align-self: flex-start;
 margin-top: 10px;
}

.contact-info-container .contact-info-item {
 display: flex;
 align-items: flex-start;
 gap: 16px;
 margin-bottom: 24px;
}
.contact-info-container .contact-info-item svg {
 width: 24px;
 height: 24px;
 color: var(--secondary-color);
 flex-shrink: 0;
 margin-top: 4px;
}
.contact-info-item strong {
 display: block;
 font-weight: 600;
 color: var(--text-dark);
 margin-bottom: 4px;
}
.map-container {
 border-radius: var(--radius-lg);
 overflow: hidden;
 margin-top: 30px;
 border: 1px solid var(--border-color);
}

/* Team section */
.team-section { background-color: var(--bg-light); }
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 30px;
}
.team-member {
 text-align: center;
 background: white;
 padding: 30px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
}
.team-member:hover {
 transform: translateY(-10px);
 box-shadow: var(--shadow-md);
}
.team-photo {
 width: 140px;
 height: 140px;
 border-radius: 50%;
 margin: 0 auto 20px;
 object-fit: cover;
 border: 4px solid white;
 box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.team-member h3 { font-size: 1.25rem; color: var(--text-dark); }
.team-member .team-role { color: var(--secondary-color); font-weight: 500; margin: 4px 0 12px; }
.team-member .team-bio { font-size: 0.9rem; }

/* Cookie Banner */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: var(--primary-dark);
 color: white;
 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-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-buttons .btn-primary { background: white; color: var(--primary-dark); border-color: white; }
.cookie-buttons .btn-secondary { color: white; border-color: rgba(255,255,255,0.5); }
.cookie-buttons .btn-secondary:hover { background: rgba(255,255,255,0.1); }

.cookie-table {
 width: 100%;
 border-collapse: collapse;
 margin: 30px 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;
}

/* Responsive Styles */
@media (max-width: 992px) {
 .hero-inner { grid-template-columns: 1fr; text-align: center; }
 .hero-copy p { margin-left: auto; margin-right: auto; }
 .hero-actions { justify-content: center; }
 .grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
 .media-object, .media-object.reverse { grid-template-columns: 1fr; }
 .media-object.reverse .media-visual { order: 0; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
 .nav-toggle { display: block; }
 .nav-links {
 position: fixed;
 top: 0;
 right: -100%;
 width: 300px;
 height: 100%;
 background: white;
 flex-direction: column;
 padding: 100px 40px;
 gap: 24px;
 align-items: flex-start;
 box-shadow: -5px 0 15px rgba(0,0,0,0.1);
 transition: right 0.4s ease-in-out;
 }
 .nav-links.active { right: 0; }
 .nav-cta { display: none; }
 .cookie-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 576px) {
 body { font-size: 15px; }
 .footer-grid { grid-template-columns: 1fr; }
 .footer-bottom { flex-direction: column; text-align: center; }
 .form-group.two-columns { grid-template-columns: 1fr; }
}