:root {
 --primary-color: #4f46e5;
 --primary-dark: #4338ca;
 --secondary-color: #818cf8;
 --text-dark: #1f2937;
 --text-light: #4b5563;
 --text-muted: #6b7280;
 --bg-light: #f3f4f6;
 --bg-white: #ffffff;
 --bg-dark: #111827;
 --border-color: #d1d5db;
 --radius-md: 8px;
 --radius-lg: 16px;
 --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
 --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
 --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
 --transition: all 0.3s ease-in-out;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-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.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(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

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

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

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

/* Header & Nav */
.header {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 z-index: 1000;
 background: rgba(255,255,255,0.8);
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
 border-bottom: 1px solid transparent;
 transition: var(--transition);
}

.header.scrolled {
 background: rgba(255,255,255,0.98);
 border-bottom-color: #ededed;
 box-shadow: var(--shadow-md);
}

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

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

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

.nav-links a {
 font-weight: 600;
 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: width 0.3s ease;
}

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

/* Main Content */
main {
 padding-top: 80px;
}

/* Buttons */
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 padding: 12px 24px;
 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);
 border-color: var(--primary-color);
}
.btn-primary:hover {
 background: var(--primary-dark);
 border-color: 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: var(--bg-white);
}

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

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

.section-label {
 display: inline-block;
 background: var(--secondary-color);
 color: var(--primary-dark);
 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); }

/* Hero Section */
.hero {
 position: relative;
 min-height: calc(85vh - 80px);
 background-size: cover;
 background-position: center;
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--bg-white);
 text-align: center;
 padding: 60px 0;
}
.hero::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: rgba(17, 24, 39, 0.6);
}
.hero-content {
 position: relative;
 z-index: 2;
 max-width: 800px;
}
.hero-title {
 color: var(--bg-white);
 margin-bottom: 1rem;
}
.hero-subtitle {
 font-size: 1.25rem;
 margin-bottom: 2rem;
 color: rgba(255, 255, 255, 0.9);
}
.hero-actions { display: flex; gap: 16px; justify-content: center; }
.hero .btn-secondary { color: var(--bg-white); border-color: var(--bg-white); }
.hero .btn-secondary:hover { background: var(--bg-white); color: var(--text-dark); }

/* Grid layout */
.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); }

/* Cards */
.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;
 display: flex;
 flex-direction: column;
 flex-grow: 1;
}
.card-title {
 font-size: 1.25rem;
 margin-bottom: 12px;
}
.card-text {
 color: var(--text-muted);
 flex-grow: 1;
 margin-bottom: 20px;
}
.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;
 text-align: center;
 align-self: flex-start;
}
.card-button:hover { background: var(--primary-color); color: var(--bg-white); }

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

/* Timeline */
.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-lg);
 border-left: 4px solid var(--primary-color);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
}
.timeline-step:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-md);
}
.timeline-step h3 {
 font-size: 1.3rem;
 margin-bottom: 12px;
 color: var(--text-dark);
}

/* Feature Card */
.feature-card {
 background: var(--bg-white);
 padding: 24px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 text-align: center;
}
.feature-card h3 { margin-bottom: 12px; }

/* CTA Section */
.cta-section {
 background: var(--bg-light);
 border-radius: var(--radius-lg);
 padding: 60px 40px;
 text-align: center;
}
.cta-section .section-title {
 font-size: 2rem;
}

/* Footer */
.footer {
 background: var(--bg-dark);
 color: #d1d5db;
 padding: 60px 0 30px;
 margin-top: 80px;
}

.footer-grid {
 display: grid;
 grid-template-columns: 2fr 1fr 1fr 1.5fr;
 gap: 40px;
 margin-bottom: 40px;
}
.footer-brand .footer-logo {
 color: var(--bg-white);
 font-size: 1.5rem;
 margin-bottom: 16px;
}
.footer-description {
 font-size: 0.9rem;
 line-height: 1.6;
 color: #9ca3af;
 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; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #9ca3af; font-size: 0.9rem; }
.footer-links a:hover { color: var(--bg-white); }
.footer-contact-item {
 display: flex;
 align-items: flex-start;
 gap: 12px;
 margin-bottom: 16px;
 font-size: 0.9rem;
 color: #9ca3af;
}
.footer-contact-item a { color: #9ca3af; }
.footer-contact-item a:hover { color: var(--bg-white); }
.footer-contact-item svg {
 width: 18px;
 height: 18px;
 flex-shrink: 0;
 margin-top: 3px;
 color: var(--secondary-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;
 transition: var(--transition);
}
.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: #6b7280;
}
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a { color: #6b7280; }
.footer-legal-links a:hover { color: var(--bg-white); }

/* About Page */
.page-header-section {
 padding: 60px 0;
 text-align: center;
 background: var(--bg-light);
}
.page-title { margin-bottom: 16px; }

.team-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.team-card {
 text-align: center;
 background: var(--bg-white);
 padding: 30px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
}
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 margin: 0 auto 20px;
 object-fit: cover;
 box-shadow: 0 0 0 4px var(--bg-white), 0 0 0 6px var(--primary-color);
}
.team-name { font-size: 1.25rem; margin-bottom: 4px; }
.team-role { color: var(--primary-color); font-weight: 600; margin-bottom: 8px; }
.team-bio { font-size: 0.9rem; }

/* Contact page */
.contact-layout {
 display: grid;
 grid-template-columns: 1.5fr 1fr;
 gap: 50px;
}
.form-group { margin-bottom: 20px; }
.form-label {
 display: block;
 font-weight: 600;
 margin-bottom: 8px;
 color: var(--text-dark);
}
.form-control {
 width: 100%;
 padding: 14px 18px;
 font-size: 1rem;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 transition: var(--transition);
 background: var(--bg-white);
}
.form-control:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}
textarea.form-control { resize: vertical; min-height: 140px; }
.contact-info-wrapper h3 { margin-bottom: 20px; }
.contact-info-wrapper p { margin-bottom: 30px; }
.contact-details .contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-item svg { width: 24px; height: 24px; color: var(--primary-color); flex-shrink: 0; margin-top: 3px;}
.contact-item h4 { font-size: 1rem; margin-bottom: 4px; font-weight: 600; }
.contact-item p { margin: 0; font-size: 0.95rem; }
.map-wrapper { width: 100%; height: 450px; }
iframe { border-radius: var(--radius-lg); }

/* Legal Pages */
.legal-page main { background: var(--bg-white); }
.legal-content { max-width: 800px; }
.legal-content h2 { margin-top: 40px; margin-bottom: 20px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p, .legal-content ul { margin-bottom: 20px; }
.legal-content ul { list-style: disc; padding-left: 30px; }
.legal-content li { margin-bottom: 10px; }
.cookie-table {
 width: 100%;
 border-collapse: collapse;
 margin: 30px 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); }

/* Cookie Banner */
#cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: var(--bg-dark);
 color: var(--bg-light);
 padding: 20px;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
 box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
#cookie-banner p { margin: 0; }
#cookie-banner a { color: var(--secondary-color); text-decoration: underline; }
#cookie-banner div { display: flex; gap: 10px; }
#cookie-banner button {
 padding: 8px 16px;
 border-radius: var(--radius-md);
 border: none;
 cursor: pointer;
 background: var(--primary-color);
 color: var(--bg-white);
 transition: var(--transition);
}
#cookie-banner button:last-child {
 background: var(--bg-light);
 color: var(--text-dark);
}
#cookie-banner button:hover { opacity: 0.8; }

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

@media (max-width: 768px) {
 .nav-toggle { display: block; }
 .nav-links {
 position: fixed;
 top: 0;
 right: 0;
 height: 100%;
 width: 80%;
 max-width: 300px;
 background: var(--bg-white);
 flex-direction: column;
 padding: 120px 40px 40px;
 gap: 24px;
 transform: translateX(100%);
 transition: transform 0.3s ease-in-out;
 box-shadow: -5px 0 15px rgba(0,0,0,0.1);
 }
 .nav-links.active {
 transform: translateX(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); }
 .hero-title { font-size: 2.2rem; }
 .hero-subtitle { font-size: 1.1rem; }
 .grid-2, .grid-3 { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: 1fr; }
 .footer-bottom { flex-direction: column; text-align: center; gap: 16px; }
 #cookie-banner { flex-direction: column; text-align: center; }
}