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

:root {
 --primary-color: #2c5282; /* Deep Blue */
 --primary-dark: #2a4365;
 --secondary-color: #a0aec0; /* Cool Gray */
 --accent-color: #38a169; /* Green Accent */
 --text-dark: #1a202c;
 --text-light: #4a5568;
 --text-muted: #718096;
 --bg-light: #f7fafc;
 --bg-white: #ffffff;
 --border-color: #e2e8f0;
 
 --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
 --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
 --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
 
 --radius-sm: 8px;
 --radius-md: 12px;
 --radius-lg: 16px;
 
 --transition: all 0.3s ease-in-out;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --- RESET & BASE --- */
*, *::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.65;
 color: var(--text-light);
 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: 0.75em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
p { margin-bottom: 1.25rem; }
a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { margin-bottom: 1rem; padding-left: 20px; }
ul li, ol li { margin-bottom: 0.5rem; }

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

/* --- 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);
 height: 72px;
}

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

.nav {
 max-width: 1280px;
 margin: 0 auto;
 padding: 0 24px;
 height: 100%;
 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 { color: var(--primary-color); }

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

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

.nav-links a::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 0;
 height: 2px;
 background: var(--primary-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); font-weight: 600; }

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

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

@media (max-width: 768px) {
 .nav-toggle { display: block; }
 .nav-links {
 position: fixed;
 top: 0;
 right: -100%;
 width: 280px;
 height: 100vh;
 background: var(--bg-white);
 flex-direction: column;
 padding: 100px 30px 30px;
 gap: 20px;
 box-shadow: var(--shadow-lg);
 transition: right 0.4s ease;
 }
 .nav-links.active { right: 0; }
 .nav-links a {
 font-size: 1.2rem;
 width: 100%;
 }
}

/* --- SECTIONS & CONTAINERS --- */
.section { padding: 80px 0; }
.section.light { background: var(--bg-light); }
.section-inner {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
}
.section-inner.centered {
 display: flex;
 flex-direction: column;
 align-items: center;
}
.section-header {
 text-align: center;
 max-width: 750px;
 margin: 0 auto 50px;
}
.section-label, .badge {
 display: inline-block;
 background-color: var(--primary-color);
 color: white;
 padding: 6px 16px;
 border-radius: 20px;
 font-size: 0.85rem;
 font-weight: 600;
 margin-bottom: 16px;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}
.page-header-section { padding-top: 152px; padding-bottom: 40px; }

/* --- HERO SECTION --- */
.page-hero {
 padding-top: 152px;
 padding-bottom: 80px;
 background-color: var(--bg-light);
}

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

.hero-copy h1 { color: var(--text-dark); }
.hero-copy p { font-size: 1.15rem; color: var(--text-light); max-width: 550px; }

.hero-actions { display: flex; gap: 16px; margin: 32px 0; flex-wrap: wrap; }
.cta-button {
 background: var(--primary-color);
 color: white;
 padding: 14px 28px;
 border-radius: var(--radius-sm);
 font-weight: 600;
 transition: var(--transition);
 box-shadow: var(--shadow-md);
 border: 2px solid transparent;
}
.cta-button:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.button-outline {
 background: transparent;
 color: var(--primary-color);
 padding: 14px 28px;
 border-radius: var(--radius-sm);
 font-weight: 600;
 border: 2px solid var(--primary-color);
 transition: var(--transition);
}
.button-outline:hover { background: var(--primary-color); color: white; transform: translateY(-3px); }

.tag-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.tag-pills span {
 background: var(--bg-white);
 border: 1px solid var(--border-color);
 padding: 6px 12px;
 border-radius: 16px;
 font-size: 0.85rem;
 font-weight: 500;
}
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

@media (max-width: 992px) {
 .hero-inner { grid-template-columns: 1fr; text-align: center; }
 .hero-copy p { margin: 0 auto 1.25rem; }
 .hero-visual { grid-row: 1; }
 .hero-actions, .tag-pills { justify-content: center; }
}

/* --- STATS SECTION --- */
.stats-highlight {
 display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; 
}
.highlight-list li { font-size: 1.05rem; }
.stats-numbers {
 display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 32px;
 background: var(--bg-light); padding: 32px; border-radius: var(--radius-lg); text-align: center;
}
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--primary-color); }
.stat-caption { font-size: 0.9rem; color: var(--text-muted); }
@media (max-width: 768px) { .stats-highlight { grid-template-columns: 1fr; } }

/* --- CARDS GRID --- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
.card {
 background: var(--bg-white);
 border-radius: var(--radius-lg);
 padding: 28px;
 box-shadow: var(--shadow-md);
 border: 1px solid var(--border-color);
 transition: all 0.3s ease;
 display: flex;
 flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--text-light); flex-grow: 1; }
.card-meta { font-size: 0.85rem; color: var(--accent-color); margin-bottom: 20px; font-weight: 500; }
.card-button {
 display: inline-block;
 padding: 10px 20px;
 border: 2px solid var(--primary-color);
 border-radius: var(--radius-sm);
 color: var(--primary-color);
 font-weight: 600;
 text-align: center;
 align-self: flex-start;
}
.card-button:hover { background: var(--primary-color); color: white; }
.card-image-top {
 height: 200px;
 border-radius: var(--radius-lg) var(--radius-lg) 0 0;
 margin: -28px -28px 24px;
 width: calc(100% + 56px);
}
.card-body { padding: 0; }

@media (max-width: 992px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards-grid { grid-template-columns: 1fr; } }

/* --- MEDIA OBJECT --- */
.media-object { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.media-object.reversed .media-visual { grid-column: 1; }
.media-object.reversed .media-copy { grid-column: 2; }
.media-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.media-copy ul li { color: var(--text-light); }
.media-copy ul { list-style-type: none; padding-left: 0; }
.media-copy ul li::before {
 content: ''; color: var(--accent-color); font-weight: bold;
 display: inline-block; width: 1.5em; margin-left: -1.5em;
}
.cta-buttons { margin-top: 2rem; }
@media (max-width: 768px) {
 .media-object, .media-object.reversed { grid-template-columns: 1fr; }
 .media-object.reversed .media-visual, .media-object.reversed .media-copy { grid-column: auto; }
}

/* --- TIMELINE --- */
.timeline {
 position: relative;
 max-width: 800px;
 margin: auto;
 display: flex;
 flex-direction: column;
 gap: 40px;
}
.timeline::before {
 content: '';
 position: absolute;
 left: 20px;
 top: 20px;
 bottom: 20px;
 width: 3px;
 background: var(--border-color);
}
.timeline-step {
 position: relative;
 padding-left: 60px;
}
.timeline-step::before {
 content: '';
 position: absolute;
 left: 10px;
 top: 5px;
 width: 24px;
 height: 24px;
 border-radius: 50%;
 background: var(--primary-color);
 border: 4px solid var(--bg-light);
}
.timeline-step h3 { font-size: 1.3rem; }
@media (max-width: 600px) {
 .timeline::before { left: 12px; }
 .timeline-step::before { left: 0; }
 .timeline-step { padding-left: 45px; }
}

/* --- FORMS --- */
.form-card {
 background: var(--bg-white);
 padding: 40px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
 max-width: 800px;
 margin: auto;
}
.form-grid { display: flex; flex-direction: column; gap: 20px; }
.form-group.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; }
.form-grid label { font-weight: 500; color: var(--text-dark); margin-bottom: 8px; }
.form-grid input, .form-grid textarea {
 width: 100%;
 padding: 14px 18px;
 font-size: 1rem;
 font-family: var(--font-main);
 border: 1px solid var(--border-color);
 border-radius: var(--radius-sm);
 transition: var(--transition);
 background: var(--bg-light);
}
.form-grid input:focus, .form-grid textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 background: white;
 box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.2);
}
.form-grid textarea { resize: vertical; min-height: 120px; }
.form-grid button { align-self: flex-start; }
@media(max-width: 600px) {
 .form-group.two-columns { grid-template-columns: 1fr; }
}

/* --- CONTACT PAGE --- */
.contact-page-grid {
 display: grid;
 grid-template-columns: 1.2fr 0.8fr;
 gap: 40px;
}
.contact-info-container {
 background: var(--bg-light);
 padding: 40px;
 border-radius: var(--radius-lg);
}
.contact-details { margin-top: 2rem; }
.contact-item {
 display: flex;
 gap: 16px;
 align-items: flex-start;
 margin-bottom: 24px;
}
.contact-item svg {
 flex-shrink: 0;
 width: 24px;
 height: 24px;
 color: var(--primary-color);
 margin-top: 4px;
}
.contact-item h4 { font-size: 1rem; margin-bottom: 4px; color: var(--text-dark); }
.contact-item p, .contact-item a { font-size: 0.95rem; margin-bottom: 0; color: var(--text-light); }
.map-container {
 width: 100%;
 height: 400px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 margin-top: 40px;
 box-shadow: var(--shadow-md);
}
@media (max-width: 992px) {
 .contact-page-grid { grid-template-columns: 1fr; }
}

/* --- TEAM SECTION --- */
.team-section .team-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 30px;
 text-align: center;
}
.team-member {
 background: white;
 padding: 24px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 transition: var(--transition);
}
.team-member:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 margin: 0 auto 20px;
 box-shadow: 0 0 0 5px white, 0 0 0 7px var(--border-color);
}
.team-member h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.team-role { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
@media (max-width: 992px) { .team-section .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 576px) { .team-section .team-grid { grid-template-columns: 1fr; } }

/* --- LEGAL & MISC PAGES --- */
.legal-page { padding-top: 120px; }
.legal-page h1, .legal-page h2 { border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }
.legal-page .section-inner { max-width: 850px; }
.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; }
.thank-you-section { min-height: 60vh; display: flex; align-items: center; justify-content: center; background: var(--bg-light); }
.thank-you-actions { margin-top: 2rem; }

/* --- LOGOS GRID --- */
.logos-grid {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: center;
 gap: 40px;
 margin-top: 2rem;
}
.partner-logo {
 height: 35px;
 width: auto;
 max-width: 130px;
 object-fit: contain;
 filter: grayscale(100%);
 opacity: 0.6;
 transition: var(--transition);
}
.partner-logo:hover {
 filter: grayscale(0);
 opacity: 1;
}

/* --- FOOTER --- */
.footer {
 background: var(--text-dark);
 color: var(--secondary-color);
 padding: 60px 0 20px;
 margin-top: 80px;
 font-size: 0.9rem;
}

.footer-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.footer-grid {
 display: grid;
 grid-template-columns: 2fr 1fr 1fr 1.5fr;
 gap: 48px;
 margin-bottom: 40px;
}
.footer-logo { font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 16px; display: block; }
.footer-description { line-height: 1.6; color: var(--secondary-color); margin-bottom: 20px; }
.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: var(--secondary-color); }
.footer-links a:hover { color: white; padding-left: 5px; }

.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer-contact-item svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; color: var(--accent-color); }
.footer-contact-item a, .footer-contact-item span { color: var(--secondary-color); }
.footer-contact-item 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(--primary-color); transform: translateY(-3px); }

.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; font-size: 0.85rem; color: #718096; }
.footer-legal-links a { color: #718096; }
.footer-legal-links a:hover { color: white; }

@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
 .footer-grid { grid-template-columns: 1fr; text-align: center; }
 .footer-contact-item, .footer-social { justify-content: center; }
 .footer-bottom { flex-direction: column; 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;
 box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
 z-index: 2000;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: 0.9rem; }
.cookie-banner a { color: var(--accent-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 12px; }
.cookie-buttons button {
 padding: 8px 16px;
 border: none;
 border-radius: var(--radius-sm);
 cursor: pointer;
 font-weight: 600;
 transition: var(--transition);
}
.cookie-buttons button:first-child { background: var(--accent-color); color: white; }
.cookie-buttons button:last-child { background: var(--secondary-color); color: var(--text-dark); }
@media (max-width: 600px) {
 .cookie-banner { flex-direction: column; text-align: center; }
}