:root {
 --primary-color: #3b82f6;
 --primary-dark: #2563eb;
 --secondary-color: #6b7280;
 --text-dark: #1f2937;
 --text-light: #4b5563;
 --text-muted: #6b7280;
 --bg-light: #f9fafb;
 --bg-white: #ffffff;
 --border-color: #d1d5db;
 --shadow-sm: 0 1px 2px 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', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Base Reset & Typography */
*, *::before, *::after {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}

html {
 scroll-behavior: smooth;
 font-size: 16px;
}

body {
 font-family: var(--font-main);
 line-height: 1.6;
 color: var(--text-light);
 background-color: 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, 3rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style-position: inside; padding-left: 1rem;}
ul li { margin-bottom: 0.5rem;}
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Animations */
.animate-in { opacity: 0; transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.animate-in[data-anim="fade-in"] { transform: translateY(0); }
.animate-in[data-anim="slide-up"] { transform: translateY(50px); }
.animate-in[data-anim="slide-down"] { transform: translateY(-30px); opacity: 1; }
.animate-in.is-visible { opacity: 1; transform: translateY(0); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.anim-fade-down { animation: slideDown 0.7s ease-out forwards; }
@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity:1; }}

/* Header & Navigation */
.header { position: sticky; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: var(--transition); box-shadow: none; border-bottom: 1px solid transparent; }
.header.scrolled { box-shadow: var(--shadow-md); background: rgba(255, 255, 255, 0.95); border-bottom-color: #eee; }
.nav { height: 80px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 1.75rem; font-weight: 700; color: var(--text-dark); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-weight: 500; color: var(--text-dark); padding: 5px 0; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; 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; z-index: 1001; }
.nav-toggle span { display: block; width: 25px; 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: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--primary-color); border-color: var(--primary-color); }
.btn-secondary:hover { background: var(--primary-color); color: white; }

/* Sections */
.section { padding: 80px 0; }
.section.bg-light { background-color: var(--bg-light); }
.section.no-padding { padding: 0; }
.section-header { text-align: center; max-width: 750px; margin: 0 auto 50px; }
.section-label, .badge { display: inline-block; background-color: rgba(59, 130, 246, 0.1); color: var(--primary-color); padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; }
.section-title { color: var(--text-dark); }
.section-subtitle { font-size: 1.1rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.centered { text-align: center; }

/* Hero Section */
.page-hero { padding: 60px 0; background-color: var(--bg-light); }
.homepage-hero { padding: 80px 0; }
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.hero-copy { max-width: 550px; }
.hero-copy h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); }
.hero-copy p { font-size: 1.1rem; color: var(--text-light); }
.hero-copy.centered-hero { text-align: center; max-width: 800px; margin: 0 auto; }
.hero-actions { margin-top: 32px; display: flex; gap: 16px; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

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

.card { background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); transition: var(--transition); display: flex; flex-direction: column; overflow: hidden; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-image { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.3rem; color: var(--text-dark); margin-bottom: 12px; }
.card-text { color: var(--text-light); margin-bottom: 24px; flex-grow: 1; }
.card-meta { font-size: 0.85rem; color: var(--secondary-color); font-weight: 500; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px;}
.card-button { align-self: flex-start; }

.plain-card { background-color: var(--bg-white); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.plain-card:hover { border-color: var(--primary-color); }

/* Media Object */
.media-object { display: flex; align-items: center; gap: 48px; }
.media-object.reverse { flex-direction: row-reverse; }
.media-copy { flex: 1; }
.media-copy ul li { padding-left: 10px; position: relative; }
.media-copy ul li::before { content: ''; color: var(--primary-color); position: absolute; left: -10px; font-weight: 700; }
.media-visual { flex: 1; }
.media-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* Testimonials */
.testimonials { gap: 24px; }
.testimonial-card { background: var(--bg-light); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; }
.testimonial-card p { font-style: italic; color: var(--text-dark); margin-bottom: 20px; flex-grow: 1; }
.testimonial-card p::before { content: '“'; font-size: 2rem; color: var(--primary-color); line-height: 0; display: inline-block; margin-right: 5px; transform: translateY(5px); }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { color: var(--text-dark); display: block; }
.testimonial-author span { color: var(--text-muted); font-size: 0.9rem; }

/* Timeline */
.timeline { position: relative; display: flex; flex-direction: column; gap: 30px; }
.timeline-step { padding-left: 30px; border-left: 2px solid var(--primary-color); position: relative; }
.timeline-step::before { content: ''; position: absolute; left: -9px; top: 0; width: 16px; height: 16px; background: var(--bg-light); border: 2px solid var(--primary-color); border-radius: 50%; }
.timeline-step h3 { font-size: 1.4rem; }

/* CTA Section / Form */
.cta-section { padding: 80px 0; }
.contact-form-container { background: white; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); max-width: 800px; margin: 40px auto 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 0; }
.form-group-full { grid-column: 1 / -1; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; color: var(--text-dark); }
input[type="text"], input[type="email"], input[type="tel"], textarea { width: 100%; padding: 14px; border: 1px solid var(--border-color); border-radius: var(--radius-md); font-size: 1rem; font-family: var(--font-main); transition: var(--transition); }
input:focus, textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); }
textarea { resize: vertical; min-height: 120px; }
.form-group-checkbox { display: flex; align-items: center; gap: 10px; }
.form-group-checkbox input { width: auto; }
.form-group-checkbox label { margin-bottom: 0; font-weight: 400; font-size: 0.9rem; }
.form-group-checkbox a:hover { text-decoration: underline; }

/* Contact Page */
.contact-grid { display: grid; grid-template-columns: 2fr 1.5fr; gap: 60px; }
.contact-info-container h3, .contact-form-container h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.contact-info-container p, .contact-form-container p { margin-bottom: 2rem; }
.contact-info-container .footer-contact-item { font-size: 1rem; color: var(--text-light); } 
.contact-info-container .footer-contact-item strong { display: block; color: var(--text-dark); font-weight: 600; margin-bottom: 4px; }
.map-container { width: 100%; height: 450px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin-top: 80px; }

/* Team Section */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 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-lg); }
.team-member h3 { font-size: 1.25rem; }
.team-role { font-weight: 500; color: var(--primary-color); margin-bottom: 0; }

/* Values section */
.value-card { text-align: center; padding: 24px; background-color: var(--bg-white); border-radius: var(--radius-md); box-shadow: var(--shadow-md);}
.value-card h4 { color: var(--primary-color); }

/* Partners Section */
.partners-section { padding: 60px 0; }
.partner-logos { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 50px; }
.partner-logo { height: 40px; max-width: 130px; object-fit: contain; filter: grayscale(100%); opacity: 0.6; transition: var(--transition); }
.partner-logo:hover { filter: grayscale(0); opacity: 1; }

/* FAQ Section */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 20px 0; }
.faq-item summary { font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--primary-color); transition: transform 0.2s ease-in-out; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 16px; padding-left: 10px; }

/* Legal Pages */
.legal-page .container { max-width: 800px; padding: 80px 24px; }
.legal-page h1 { margin-bottom: 30px; }
.legal-page section { margin-bottom: 40px; }
.legal-page h2 { margin-bottom: 15px; border-bottom: 2px solid var(--bg-light); padding-bottom: 5px; }

/* Thank You Page */
.thank-you-section .container { padding-top: 80px; padding-bottom: 80px; }
.thank-you-actions { margin-top: 32px; display: flex; justify-content: center; gap: 16px; }

/* Cookie Table */
.cookie-table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.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; }

/* Footer */
.footer { background: var(--text-dark); color: #a0aec0; padding: 60px 0 30px; margin-top: 80px; font-size: 0.9rem; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 1.5rem; font-weight: 700; color: white; display: block; margin-bottom: 16px; }
.footer-description { line-height: 1.6; }
.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; margin: 0; }
.footer-links li { margin-bottom: 12px; padding: 0; }
.footer-links li::before { display: none; }
.footer-links a { color: #a0aec0; }
.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: var(--transition); }
.footer-social a:hover { background: var(--primary-color); transform: translateY(-3px); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer-contact-item svg { flex-shrink: 0; width: 18px; margin-top: 4px; color: var(--primary-color); }
.footer-contact-item a { color: #a0aec0; }
.footer-contact-item a:hover { color: white; }
.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 { margin-left: 20px; }

/* 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; animation: fadeIn 0.3s ease; }
.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-right: 8px; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
button[disabled] { opacity: 0.7; cursor: not-allowed; }

/* Cookie Banner */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background-color: var(--text-dark); color: white; padding: 20px; display: none; align-items: center; justify-content: space-between; z-index: 2000; gap: 20px; }
#cookie-banner p { margin: 0; font-size: 0.9rem; }
#cookie-banner p a { color: var(--primary-color); text-decoration: underline; }
#cookie-banner div { display: flex; gap: 10px; }
#cookie-banner button { padding: 8px 16px; border-radius: var(--radius-sm); border: none; cursor: pointer; font-weight: 600; }
#accept-cookies { background-color: var(--primary-color); color: white; }
#decline-cookies { background-color: var(--secondary-color); color: white; }

/* Responsive */
@media (max-width: 992px) {
 .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
 .hero-inner, .media-object { flex-direction: column; text-align: center; }
 .media-object.reverse { flex-direction: column-reverse; }
 .hero-actions { justify-content: center; }
 .hero-visual { margin-top: 40px; }
 .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: 100vh; background-color: white; flex-direction: column; padding: 100px 40px 40px; gap: 24px; transition: right 0.4s ease-in-out; box-shadow: -5px 0px 15px rgba(0,0,0,0.1); }
 .nav-links.active { right: 0; }
 .nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
 .nav-toggle.active span:nth-child(2) { opacity: 0; }
 .nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
 .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
 #cookie-banner { flex-direction: column; text-align: center; }
}