: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: #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', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Base Tyles & 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;
 -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
 font-weight: 700;
 line-height: 1.2;
 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.75rem); }
h4 { font-size: 1.1rem; }

p {
 margin-bottom: 1rem;
}

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

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

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

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

/* 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);
 border-bottom: 1px solid var(--border-color);
 transition: var(--transition);
 animation: slide-down 0.5s ease-out;
}

@keyframes slide-down {
 from { transform: translateY(-100%); opacity: 0; }
 to { transform: translateY(0); opacity: 1; }
}

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

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

.nav-links li {
 animation: fade-in-up 0.5s ease-out forwards;
 opacity: 0;
}

.nav-links li:nth-child(2) { animation-delay: 0.1s; }
.nav-links li:nth-child(3) { animation-delay: 0.2s; }
.nav-links li:nth-child(4) { animation-delay: 0.3s; }
.nav-links li:nth-child(5) { animation-delay: 0.4s; }

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

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

/* Sections */
main {
 padding-top: 80px;
}
.section {
 padding: 80px 0;
}
.bg-light {
 background-color: var(--bg-light);
}
.section-header.centered {
 text-align: center;
 max-width: 700px;
 margin: 0 auto 50px;
}
.section-label {
 display: inline-block;
 font-size: 0.875rem;
 font-weight: 600;
 color: var(--primary-color);
 margin-bottom: 1rem;
 text-transform: uppercase;
}
.section-title { margin-top: 0; }

/* Hero */
.page-hero {
 display: flex;
 align-items: center;
 padding: 60px 0;
 background-color: var(--bg-light);
}
.hero-inner {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 48px;
 align-items: center;
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 20px;
}
.hero-copy .badge {
 display: inline-block;
 padding: 8px 16px;
 background-color: rgba(59, 130, 246, 0.1);
 color: var(--primary-color);
 font-weight: 600;
 border-radius: var(--radius-lg);
 margin-bottom: 1rem;
 animation: pulse 2s infinite;
}
.hero-copy h1 { margin-top: 0;}
.hero-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
}
.hero-actions {
 margin-top: 2rem;
 display: flex;
 gap: 1rem;
 flex-wrap: wrap;
}

.subpage-hero {
 background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
 color: var(--bg-white);
 padding: 60px 0;
 text-align: center;
}
.subpage-hero h1, .subpage-hero p {
 color: var(--bg-white);
}

/* Buttons */
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 padding: 14px 28px;
 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(--primary-color);
 color: white;
 box-shadow: var(--shadow-md);
}
.btn-primary:hover {
 background: var(--primary-dark);
 transform: translateY(-2px);
 box-shadow: var(--shadow-lg);
}
.btn-secondary {
 background: transparent;
 color: var(--primary-color);
 border-color: var(--primary-color);
}
.btn-secondary:hover {
 background: var(--primary-color);
 color: white;
}
.btn-sm{
 padding: 8px 16px;
 font-size: 0.875rem;
}

/* Cards */
.grid-2, .grid-3, .grid-4 {
 display: grid;
 gap: 30px;
}
.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: 1px solid var(--border-color);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
 display: flex;
 flex-direction: column;
}
.card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-lg);
}
.card-image-top {
 width: 100%;
 height: 200px;
 object-fit: cover;
 border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card-body {
 padding: 24px;
 display: flex;
 flex-direction: column;
 flex-grow: 1;
}
.card-title {
 font-size: 1.25rem;
 margin-top: 0;
}
.card-text {
 color: var(--text-light);
 flex-grow: 1;
}
.card-meta {
 font-size: 0.875rem;
 color: var(--text-muted);
 margin-bottom: 0.5rem;
}
.read-more {
 font-weight: 600;
 margin-top: auto;
 align-self: flex-start;
}
.read-more:hover {
 text-decoration: underline;
}

/* Media Object */
.media-object {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 48px;
 align-items: center;
}
.media-object.reversed .media-visual {
 order: 2;
}
.media-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
}
.media-copy ul {
 list-style: none;
 padding-left: 0;
 margin-top: 1.5rem;
}
.media-copy li {
 position: relative;
 padding-left: 28px;
 margin-bottom: 1rem;
}
.media-copy li::before {
 content: '';
 position: absolute;
 left: 0;
 top: 0;
 color: var(--primary-color);
 font-weight: 700;
}
.media-copy .btn {
 margin-top: 1rem;
}

/* Testimonials */
.testimonial-card {
 background: var(--bg-light);
 padding: 24px;
 border-radius: var(--radius-lg);
 border-left: 4px solid var(--primary-color);
}
.testimonial-text {
 font-style: italic;
 color: var(--text-dark);
}
.testimonial-author {
 margin-top: 1rem;
 font-weight: 600;
}

/* Newsletter */
.newsletter-section {
 background-color: var(--bg-light);
 padding: 60px 0;
}
.newsletter-form {
 display: flex;
 gap: 1rem;
 max-width: 600px;
 margin: 2rem auto 0;
 flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
 flex-grow: 1;
 padding: 14px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 font-size: 1rem;
 min-width: 250px;
}
.newsletter-form button {
 flex-shrink: 0;
}

/* Footer */
.footer {
 background: var(--text-dark);
 color: #a0aec0;
 padding: 60px 0 30px;
 margin-top: 80px;
}
.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: var(--bg-white);
 margin-bottom: 1rem;
 display: block;
}
.footer-description {
 font-size: 0.9rem;
 line-height: 1.6;
}
.footer-heading {
 font-size: 1rem;
 font-weight: 600;
 color: var(--bg-white);
 margin-bottom: 20px;
 text-transform: uppercase;
 letter-spacing: 1px;
}
.footer-links {
 list-style: none;
 padding: 0;
}
.footer-links li {
 margin-bottom: 12px;
}
.footer-links a, .footer-contact-item a {
 color: #a0aec0;
 font-size: 0.9rem;
}
.footer-links a:hover, .footer-contact-item a:hover {
 color: var(--bg-white);
}
.footer-contact-item {
 display: flex;
 align-items: flex-start;
 gap: 12px;
 margin-bottom: 16px;
 font-size: 0.9rem;
}
.footer-contact-item svg {
 width: 18px;
 height: 18px;
 flex-shrink: 0;
 margin-top: 4px;
 color: var(--primary-color);
}
.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;
}
.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;
 font-size: 0.85rem;
 color: #718096;
}
.footer-legal-links {
 display: flex;
 gap: 24px;
}
.footer-legal-links a {
 color: #718096;
}
.footer-legal-links a:hover {
 color: var(--bg-white);
}

/* Team Section */
.team-section {
 text-align: center;
}
.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%;
 margin: 0 auto 1.5rem;
 object-fit: cover;
 box-shadow: var(--shadow-lg);
 border: 4px solid white;
}
.team-member h3 {
 margin-bottom: 0.25rem;
}
.team-role {
 color: var(--primary-color);
 font-weight: 600;
 margin-bottom: 0.5rem;
}
.team-bio {
 font-size: 0.9rem;
}

/* Values */
.value-card {
 background: var(--bg-light);
 padding: 24px;
 border-radius: var(--radius-lg);
 text-align: center;
}
.value-card h4 {
 margin-bottom: 0.5rem;
 color: var(--text-dark);
}

/* FAQ */
.faq-container {
 max-width: 800px;
 margin: 0 auto;
}
.faq-item {
 border-bottom: 1px solid var(--border-color);
}
.faq-question {
 padding: 20px 0;
 font-weight: 600;
 color: var(--text-dark);
 cursor: pointer;
 list-style: none;
 display: flex;
 justify-content: space-between;
 align-items: center;
}
.faq-question::-webkit-details-marker {
 display: none;
}
.faq-question::after {
 content: '+';
 font-size: 1.5rem;
 transition: var(--transition);
}
.faq-item[open] .faq-question::after {
 transform: rotate(45deg);
}
.faq-answer {
 padding-bottom: 20px;
 animation: fade-in 0.5s;
}

/* Contact Page */
.contact-layout {
 display: grid;
 grid-template-columns: 2fr 1fr;
 gap: 48px;
}
.contact-info-item {
 margin-bottom: 1.5rem;
}
.contact-info-item h4 {
 margin-bottom: 0.5rem;
 color: var(--text-dark);
}
.contact-info-item p, .contact-info-item a {
 color: var(--text-light);
 line-height: 1.5;
}
.map-container {
 width: 100%;
 height: 450px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-md);
 margin-top: 60px;
}

/* Forms */
.form-group {
 margin-bottom: 1.5rem;
}
.form-group label {
 display: block;
 font-weight: 500;
 margin-bottom: 0.5rem;
 color: var(--text-dark);
}
.form-group input, .form-group textarea {
 width: 100%;
 padding: 12px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 font-size: 1rem;
 font-family: var(--font-main);
}
.form-group input:focus, .form-group textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.checkbox-group {
 display: flex;
 align-items: center;
 gap: 0.5rem;
}
.checkbox-group input {
 width: auto;
}
.checkbox-group label {
 margin: 0;
 font-weight: 400;
 font-size: 0.9rem;
}

/* Thank you page */
.thank-you-section {
 display: flex;
 align-items: center;
 justify-content: center;
 min-height: 60vh;
 text-align: center;
}
.thank-you-content h1 {
 font-size: 3rem;
}

/* Legal Pages */
.legal-content h3 {
 margin-top: 2.5rem;
 margin-bottom: 1rem;
 padding-bottom: 0.5rem;
 border-bottom: 1px solid var(--border-color);
}
.legal-content p {
 margin-bottom: 1rem;
}
.legal-content ul {
 margin-left: 20px;
 margin-bottom: 1rem;
}
.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);
}
.small-text {
 font-size: 0.8rem;
 color: var(--text-muted);
}

/* Animations */
.animate-on-scroll {
 opacity: 0;
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll[data-animation="fade-in"] { transform: scale(0.95); }
.animate-on-scroll[data-animation="fade-in-up"] { transform: translateY(30px); }
.animate-on-scroll[data-animation="fade-in-left"] { transform: translateX(-30px); }
.animate-on-scroll[data-animation="fade-in-right"] { transform: translateX(30px); }

.animate-on-scroll.is-visible {
 opacity: 1;
 transform: translate(0, 0) scale(1);
}

@keyframes pulse {
 0% { transform: scale(1); }
 50% { transform: scale(1.05); }
 100% { transform: scale(1); }
}

@keyframes fade-in {
 from { opacity: 0; }
 to { opacity: 1; }
}

@keyframes fade-in-up {
 from { opacity: 0; transform: translateY(20px); }
 to { opacity: 1; transform: translateY(0); }
}

/* Form Validation & Spinner */
.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: var(--bg-white);
 padding: 1rem;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 1rem;
 z-index: 2000;
 flex-wrap: wrap;
 animation: fade-in-up 0.5s ease-out;
}
.cookie-banner p {
 margin: 0;
 flex-grow: 1;
}
.cookie-banner a {
 color: var(--primary-color);
 text-decoration: underline;
}
.cookie-buttons {
 display: flex;
 gap: 1rem;
 flex-shrink: 0;
}

/* Responsive */
@media (max-width: 992px) {
 .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
 .media-object, .media-object.reversed { grid-template-columns: 1fr; }
 .media-object.reversed .media-visual { order: 0; }
 .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
 .nav-toggle { display: block; }
 .nav-links {
 position: fixed;
 top: 0;
 right: -100%;
 width: 100%;
 max-width: 320px;
 height: 100vh;
 background: var(--bg-white);
 flex-direction: column;
 padding: 100px 40px 40px;
 gap: 16px;
 box-shadow: var(--shadow-lg);
 transition: right 0.4s ease-in-out;
 align-items: flex-start;
 }
 .nav-links.active {
 right: 0;
 }
 .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
 .hero-inner { grid-template-columns: 1fr; text-align: center; }
 .hero-visual { order: -1; }
 .hero-actions { justify-content: center; }
 .footer-grid { grid-template-columns: 1fr; }
 .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
 .cookie-banner {
 flex-direction: column;
 text-align: center;
 }
}