@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Source+Serif+Pro:wght@400;700&display=swap');

:root {
 --primary-color: #1e3a5f;
 --primary-dark: #12233a;
 --secondary-color: #b45309;
 --text-dark: #1a1a1a;
 --text-light: #4a4a4a;
 --text-muted: #6b7280;
 --bg-light: #f3f4f6;
 --bg-white: #ffffff;
 --border-color: #e5e7eb;
 --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
 --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', sans-serif;
 --font-serif: 'Source Serif Pro', 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-family: var(--font-serif);
 font-weight: 700;
 line-height: 1.3;
 color: var(--text-dark);
 margin-bottom: 1rem;
}

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

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

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

p {
 margin-bottom: 1rem;
}

ul, ol {
 margin-bottom: 1rem;
 padding-left: 1.5rem;
}

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

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

/* Header & Navigation */
.header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 background: rgba(255,255,255,0.85);
 backdrop-filter: blur(10px);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
}

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

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

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

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

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

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

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

.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-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-align: center;
}

.btn-primary {
 background: var(--primary-color);
 color: var(--bg-white);
}

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

.btn-secondary {
 background: var(--secondary-color);
 color: white;
}
.btn-secondary:hover {
 background: #92400e;
 color: white;
 transform: translateY(-2px);
}

.btn.nav-cta {
 padding: 10px 24px;
}

.btn-outline {
 background: transparent;
 color: var(--primary-color);
 border-color: var(--primary-color);
}

.btn-outline:hover {
 background: var(--primary-color);
 color: var(--bg-white);
}

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

.hero-inner {
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 gap: 60px;
}

.hero-copy .badge {
 display: inline-block;
 background: var(--secondary-color);
 color: white;
 padding: 6px 16px;
 border-radius: 20px;
 font-size: 0.9rem;
 font-weight: 600;
 margin-bottom: 24px;
}

.hero-copy h1 {
 margin-bottom: 24px;
}

.hero-copy p {
 font-size: 1.1rem;
 color: var(--text-muted);
 max-width: 550px;
 margin-bottom: 32px;
}

.hero-actions {
 display: flex;
 gap: 16px;
}

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

/* General Section Styling */
.section {
 padding: 80px 0;
}

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

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

.section-label {
 display: inline-block;
 background: var(--primary-color);
 color: white;
 padding: 6px 16px;
 border-radius: 20px;
 font-size: 0.85rem;
 font-weight: 600;
 margin-bottom: 16px;
}

.section-title {
 margin-bottom: 16px;
}

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

.centered { text-align: center; align-items: center; }

/* Partners Section */
.partners-section {
 padding: 60px 0;
 background-color: var(--bg-light);
 border-top: 1px solid var(--border-color);
 border-bottom: 1px solid var(--border-color);
}
.partners-title {
 text-align: center;
 font-size: 1rem;
 font-weight: 500;
 color: var(--text-muted);
 margin-bottom: 24px;
 text-transform: uppercase;
 letter-spacing: 1px;
}
.partners-grid {
 display: flex;
 justify-content: space-around;
 align-items: center;
 gap: 20px;
 flex-wrap: wrap;
}
.partner-logo {
 height: 35px;
 width: auto;
 max-width: 140px;
 object-fit: contain;
 filter: grayscale(100%);
 opacity: 0.6;
 transition: var(--transition);
}
.partner-logo:hover {
 filter: grayscale(0);
 opacity: 1;
}

/* Stats Highlight Section */
.stats-highlight {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 48px;
 align-items: center;
 margin-top: 48px;
}
.highlight-list {
 list-style: none;
 padding: 0;
}
.highlight-list li {
 margin-bottom: 20px;
 padding-left: 28px;
 position: relative;
}
.highlight-list li::before {
 content: '';
 position: absolute;
 left: 0;
 top: 0;
 color: var(--secondary-color);
 font-weight: bold;
}
.stats-numbers {
 display: flex;
 justify-content: space-around;
 text-align: center;
 gap: 20px;
}
.stat-number {
 font-size: 3rem;
 font-weight: 700;
 color: var(--primary-color);
 font-family: var(--font-serif);
}
.stat-caption {
 font-size: 1rem;
 color: var(--text-muted);
}

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

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

.card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-lg);
}

.card-body,
.card { padding: 28px; }

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

.card-text {
 color: var(--text-muted);
 line-height: 1.6;
 margin-bottom: 16px;
 flex-grow: 1;
}
.card-meta {
 font-size: 0.85rem;
 color: var(--secondary-color);
 margin-bottom: 16px;
 font-weight: 600;
 text-transform: uppercase;
}
.card-button {
 display: inline-block;
 padding: 10px 20px;
 border: 2px solid var(--primary-color);
 border-radius: var(--radius-md);
 color: var(--primary-color);
 font-weight: 600;
 align-self: flex-start;
 transition: var(--transition);
}

.card-button:hover {
 background: var(--primary-color);
 color: white;
}

.article-card {
 padding: 0;
}
.article-card .card-body {
 padding: 24px;
 display: flex;
 flex-direction: column;
 flex-grow: 1;
}
.card-image {
 width:100%;
 height: 200px;
 object-fit:cover;
 border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.meta-date {
 color: var(--text-muted);
 font-weight: 400;
}

/* Media Object Section */
.media-object {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 60px;
 align-items: center;
}
.media-object.reversed .media-visual {
 order: -1;
}
.media-copy ul {
 list-style: none;
 padding-left: 0;
}
.media-copy ul li {
 padding-left: 25px;
 position: relative;
 margin-bottom: 10px;
}
.media-copy ul li::before {
 content: '→';
 color: var(--secondary-color);
 position: absolute;
 left: 0;
}
.media-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
}
.cta-buttons {
 margin-top: 32px;
}

/* Timeline Section */
.timeline {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 30px;
 position: relative;
}
.timeline-step {
 background: var(--bg-white);
 padding: 24px;
 border-radius: var(--radius-md);
 border-left: 4px solid var(--secondary-color);
 box-shadow: var(--shadow-sm);
}
.timeline-step h3 {
 font-size: 1.2rem;
 color: var(--primary-color);
}

/* Footer */
.footer {
 background: var(--primary-dark);
 color: #a0a0a0;
 padding: 60px 0 30px;
 margin-top: 80px;
 font-size: 0.9rem;
}
.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;
 font-family: var(--font-serif);
}
.footer-description {
 line-height: 1.6;
 margin-bottom: 20px;
}
.footer-heading {
 font-size: 1rem;
 font-weight: 600;
 color: white;
 margin-bottom: 20px;
 text-transform: uppercase;
 letter-spacing: 1px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #a0a0a0; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
 width: 40px; height: 40px;
 border-radius: 50%;
 background: rgba(255,255,255,0.1);
 display: flex; align-items: center; justify-content: center;
 color: white; transition: all 0.3s ease;
}
.footer-social a:hover { background: var(--secondary-color); transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.footer-contact-item svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; color: var(--secondary-color); }
.footer-contact-item a { color: #a0a0a0; }
.footer-contact-item a:hover { color: white; }
.footer-hours {
 line-height: 1.6;
}
.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 { font-size: 0.85rem; color: #707070; }
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a { font-size: 0.85rem; color: #707070; text-decoration: none; }
.footer-legal-links a:hover { color: white; }

/* Form Styling */
.form-card {
 background: var(--bg-white);
 padding: 40px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
 max-width: 800px;
 margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-group-grid { display: grid; gap: 20px; }
.form-group-grid.two-columns { grid-template-columns: 1fr 1fr; }
.form-group label {
 display: block;
 font-weight: 600;
 margin-bottom: 8px;
 color: var(--text-dark);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
 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: var(--bg-light);
}
.form-group input:focus, .form-group textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
 background: white;
}
textarea.form-control { resize: vertical; min-height: 120px; }
.checkbox-group {
 display: flex;
 align-items: center;
 gap: 10px;
}
#terms {
 width: 1.25em;
 height: 1.25em;
}
.checkbox-group label { margin-bottom: 0; font-weight: 400; font-size: 0.9rem;}

/* Responsive */
@media (max-width: 992px) {
 .hero-inner, .media-object { grid-template-columns: 1fr; text-align: center; }
 .hero-copy p { margin-left: auto; margin-right: auto; }
 .hero-actions { justify-content: center; }
 .hero-visual { order: -1; margin-bottom: 40px; }
 .media-object.reversed .media-visual { order: -1; }
 .cards-grid { grid-template-columns: repeat(2, 1fr); }
 .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
 .form-group-grid.two-columns { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
 .nav-toggle { display: block; }
 .nav-cta { display: none; }
 .nav-links {
 position: fixed;
 top: 0; right: -100%;
 width: 280px; height: 100vh;
 background: white;
 flex-direction: column;
 padding: 100px 30px 30px;
 gap: 20px;
 box-shadow: var(--shadow-lg);
 transition: right 0.4s ease-in-out;
 }
 .nav-links.active { right: 0; }
 .cards-grid { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: 1fr; text-align: center; }
 .footer-brand { margin: 0 auto; }
 .footer-social { justify-content: center; }
 .footer-bottom { flex-direction: column; }
}

/* Page Specifics */
.page-header-section { padding-top: 140px; padding-bottom: 60px; background-color: var(--bg-light); }
.legal-page main { padding-top: 80px; }
.legal-content h2 { margin-top: 2rem; margin-bottom: 1rem; color: var(--primary-color); }
.legal-content p, .legal-content li { color: var(--text-light); }
.cookie-table { width: 100%; border-collapse: collapse; margin: 2rem 0;}
.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; }

.thank-you-section { min-height: 60vh; display: flex; align-items: center; }

/* Contact Page */
.contact-page-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; }
.contact-details-wrapper { display: flex; flex-direction: column; gap: 24px; }
.contact-info-block { background: white; padding: 24px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.contact-info-block h3 { font-size: 1.2rem; color: var(--primary-color); margin-bottom: 8px; }
.contact-info-block p { margin-bottom: 8px; }
.contact-info-block a { font-weight: 500;}
.contact-icon { color: var(--secondary-color); margin-bottom: 12px; }
.contact-icon svg { width: 28px; height: 28px; }
.map-container { width: 100%; height: 450px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); }
.form-title, .contact-details-title { font-size: 1.8rem; margin-bottom: 24px; color: var(--text-dark); }
.full-width { width: 100%; padding-top: 16px; padding-bottom: 16px; font-size: 1.1rem; }
@media(max-width: 992px) { .contact-page-grid { grid-template-columns: 1fr; } }

/* Search & Pagination */
.search-section { text-align: center; margin-bottom: 48px; display: flex; max-width: 600px; margin-left: auto; margin-right: auto; gap: 10px; }
.search-input { flex-grow: 1; padding: 14px 18px; border: 1px solid var(--border-color); border-radius: var(--radius-md); font-size: 1rem; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a { padding: 10px 16px; border-radius: var(--radius-md); text-decoration: none; font-weight: 500; transition: var(--transition); }
.pagination a:hover { background: var(--bg-light); color: var(--primary-dark); }
.pagination a.active { background: var(--primary-color); color: white; }

/* Team Section */
.team-section { background: var(--bg-light); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.team-member { text-align: center; }
.team-photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; box-shadow: var(--shadow-md); border: 4px solid white; }
.team-member h3 { font-size: 1.25rem; margin-bottom: 4px; }
.team-role { font-weight: 600; color: var(--secondary-color); margin-bottom: 8px; }
.team-bio { font-size: 0.9rem; color: var(--text-muted); }

/* Cookie Banner */
.cookie-banner {
 position: fixed;
 bottom: -200px; left: 0; right: 0;
 background: var(--primary-dark);
 color: #e0e0e0;
 padding: 20px;
 box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 20px;
 z-index: 2000;
 transition: bottom 0.5s ease;
}
.cookie-banner.show { bottom: 0; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--secondary-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }

/* Form validation styles */
.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;
}
.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: 0 8px -3px 0;
}
@keyframes spin {
 to { transform: rotate(360deg); }
}
button[disabled] { opacity: 0.7; cursor: not-allowed; }