:root {
 --primary-color: #2563eb;
 --primary-dark: #1d4ed8;
 --secondary-color: #f3f4f6;
 --text-dark: #1f2937;
 --text-light: #6b7280;
 --bg-light: #f9fafb;
 --bg-white: #ffffff;
 --border-color: #d1d5db;
 --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);
 --radius-md: 8px;
 --radius-lg: 16px;
 --transition: all 0.3s ease-in-out;
 --font-main: 'Inter', 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-dark);
 background: 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.5rem, 5vw, 3.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

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

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

ul {
 list-style-position: inside;
}

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

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

.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-light);
 position: relative;
 padding: 8px 0;
}
.nav-links a.active, .nav-links a:hover {
 color: var(--text-dark);
}

.nav-links a::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 height: 2px;
 background-color: var(--primary-color);
 transform: scaleX(0);
 transition: transform 0.3s ease;
}

.nav-links a.active::after, .nav-links a:hover::after {
 transform: scaleX(1);
}

.nav-cta {
 display: block;
}

.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-flex;
 align-items: center;
 justify-content: center;
 padding: 12px 24px;
 font-size: 1rem;
 font-weight: 600;
 text-align: center;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: var(--transition);
 border: 2px solid transparent;
}

.btn-primary {
 background-color: var(--primary-color);
 color: white;
 box-shadow: var(--shadow-sm);
}

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

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

.btn-secondary:hover {
 background-color: var(--primary-color);
 color: white;
 transform: translateY(-2px);
 box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
 position: relative;
 min-height: 70vh;
 display: flex;
 align-items: center;
 background-size: cover;
 background-position: center;
 color: white;
 text-align: center;
 padding: 140px 0 60px;
}

.hero::before {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(rgba(17, 24, 39, 0.7), rgba(17, 24, 39, 0.8));
}

.hero-content {
 position: relative;
 z-index: 1;
 max-width: 800px;
}

.hero-title {
 color: white;
}

.hero-subtitle {
 font-size: 1.25rem;
 color: #e5e7eb;
 margin-bottom: 2rem;
 line-height: 1.7;
}

.hero-buttons {
 display: flex;
 gap: 16px;
 justify-content: center;
}

/* Sections */
.section {
 padding: 80px 0;
}

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

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

.section-label {
 display: inline-block;
 font-size: 0.875rem;
 font-weight: 600;
 color: var(--primary-color);
 background-color: #dbeafe;
 padding: 6px 16px;
 border-radius: 999px;
 margin-bottom: 1rem;
}

.section-title {
 color: var(--text-dark);
}

.section-subtitle {
 font-size: 1.125rem;
 color: var(--text-light);
 line-height: 1.7;
}

/* Page Header */
.page-header-section {
 background-color: var(--bg-light);
 text-align: center;
 padding: 140px 0 60px;
}

.page-title { color: var(--text-dark); }
.page-subtitle { color: var(--text-light); font-size: 1.2rem; max-width: 700px; margin: 0 auto; }

/* Grid */
.grid-2 { display: grid; gap: 30px; }
.grid-3 { display: grid; gap: 30px; }

@media (min-width: 768px) {
 .grid-2 { grid-template-columns: repeat(2, 1fr); }
 .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Card */
.card {
 background: var(--bg-white);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 overflow: hidden;
 transition: var(--transition);
 display: flex;
 flex-direction: column;
}

.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;
}
.card-title {
 font-size: 1.25rem;
}
.card-text {
 color: var(--text-light);
}

/* Media Object */
.media-object {
 display: grid;
 gap: 40px;
 align-items: center;
}
@media (min-width: 768px) {
 .media-object { grid-template-columns: 1fr 1fr; }
 .media-object.reversed .media-visual { order: 2; }
}

.media-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
 width: 100%;
 height: auto;
 max-height: 400px;
 object-fit: cover;
}
.media-copy ul {
 list-style-type: '';
 padding-left: 20px;
 margin-top: 1rem;
}
.media-copy ul li {
 padding-left: 10px;
 margin-bottom: 0.5rem;
}

/* Timeline */
.timeline {
 position: relative;
 max-width: 800px;
 margin: 0 auto;
}
.timeline::after {
 content: '';
 position: absolute;
 width: 2px;
 background-color: #e5e7eb;
 top: 0;
 bottom: 0;
 left: 40px;
 margin-left: -1px;
}

.timeline-step {
 padding: 10px 40px;
 position: relative;
 padding-left: 100px;
 margin-bottom: 30px;
}
.timeline-number {
 position: absolute;
 left: 40px;
 top: 50%;
 transform: translate(-50%, -50%);
 width: 60px;
 height: 60px;
 border-radius: 50%;
 background-color: var(--primary-color);
 color: white;
 font-size: 1.5rem;
 font-weight: 700;
 display: flex;
 align-items: center;
 justify-content: center;
 border: 4px solid var(--bg-light);
 z-index: 1;
}
.timeline-content h3 {
 margin-top: 0;
}

/* Testimonial */
.testimonial-card {
 background: var(--bg-white);
 padding: 30px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 display: flex;
 flex-direction: column;
 align-items: center;
 text-align: center;
}
.testimonial-avatar {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 object-fit: cover;
 margin-bottom: 20px;
 border: 3px solid var(--primary-color);
}
.testimonial-content p {
 font-size: 1.1rem;
 color: var(--text-light);
 margin-bottom: 1rem;
}
.testimonial-content cite {
 font-style: normal;
 color: var(--text-dark);
}

/* Team Section */
.team-card {
 background: var(--bg-white);
 padding: 24px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 text-align: center;
 transition: var(--transition);
}
.team-card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-lg);
}
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 16px;
 border: 4px solid #fff;
 box-shadow: var(--shadow-md);
}
.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;
 color: var(--text-light);
}

/* CTA Section */
.cta-section {
 background: var(--primary-color);
 color: white;
 padding: 60px 0;
 text-align: center;
 border-radius: var(--radius-lg);
}
.cta-section .section-title {
 color: white;
}
.cta-section .section-subtitle {
 color: #dbeafe;
 margin-bottom: 30px;
}
.cta-section .btn-primary {
 background: white;
 color: var(--primary-color);
}
.cta-section .btn-primary:hover {
 background: var(--secondary-color);
 color: var(--primary-dark);
}

/* Contact Page */
.contact-layout {
 display: grid;
 gap: 50px;
}
@media (min-width: 992px) {
 .contact-layout {
 grid-template-columns: 2fr 1fr;
 }
}
.contact-heading {
 border-bottom: 2px solid var(--primary-color);
 padding-bottom: 10px;
 margin-bottom: 20px;
}
.contact-details-list {
 list-style: none;
 padding: 0;
}
.contact-details-list li {
 margin-bottom: 15px;
 font-size: 1.1rem;
}
.map-container {
 height: 450px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-lg);
}

/* Forms */
.form-group {
 margin-bottom: 20px;
}
.form-group label {
 display: block;
 font-weight: 500;
 margin-bottom: 8px;
}
.form-group input, .form-group textarea {
 width: 100%;
 padding: 12px;
 border-radius: var(--radius-md);
 border: 1px solid var(--border-color);
 transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.checkbox-group {
 display: flex;
 align-items: center;
 gap: 10px;
}
.checkbox-group input {
 width: auto;
}
.form-submit-btn {
 width: 100%;
 padding: 15px;
 font-size: 1.1rem;
}
.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-right: 8px;
 vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

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

.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;
 margin-bottom: 16px;
 display: block;
}

.footer-description, .footer-links a, .footer-contact-item {
 font-size: 0.9rem;
 color: #9ca3af;
}

.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:hover {
 color: white;
}

.footer-social {
 display: flex;
 gap: 12px;
 margin-top: 20px;
}
.footer-social a {
 width: 40px;
 height: 40px;
 display: flex;
 align-items: center;
 justify-content: center;
 background: rgba(255,255,255,0.1);
 color: white;
 border-radius: 50%;
}
.footer-social a:hover {
 background: var(--primary-color);
}
.footer-contact-list {
 list-style: none;
 padding: 0;
}
.footer-contact-item {
 display: flex;
 gap: 12px;
 margin-bottom: 16px;
 align-items: flex-start;
}
.footer-contact-item svg {
 flex-shrink: 0;
 width: 18px;
 margin-top: 3px;
 color: var(--primary-color);
}
.footer-contact-item a { color: #9ca3af; }
.footer-contact-item a:hover { color: white; }

.footer-bottom {
 border-top: 1px solid #374151;
 padding-top: 30px;
 text-align: center;
 font-size: 0.875rem;
 color: #9ca3af;
}

/* Legal Pages */
.legal-content h2 {
 margin-top: 2rem;
 margin-bottom: 1rem;
 border-bottom: 1px solid var(--border-color);
 padding-bottom: 0.5rem;
}
.legal-content h2:first-of-type {
 margin-top: 0;
}
.legal-content p, .legal-content ul {
 margin-bottom: 1rem;
}
.legal-content ul {
 list-style: disc;
 padding-left: 25px;
}
.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);
}

/* Cookie Banner */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: var(--text-dark);
 color: white;
 padding: 15px;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
}
.cookie-banner a {
 color: var(--primary-color);
 font-weight: 500;
}
.cookie-buttons {
 display: flex;
 gap: 10px;
}
.cookie-banner .btn-primary { 
 background-color: var(--primary-color);
}
.cookie-banner .btn-secondary {
 background: transparent;
 border-color: #6b7280;
 color: #d1d5db
}

/* Responsive */
@media (max-width: 768px) {
 .nav-cta {
 display: none;
 }
 .nav-toggle {
 display: block;
 }
 .nav-links {
 position: fixed;
 top: 0;
 right: -100%;
 height: 100vh;
 width: 280px;
 flex-direction: column;
 background: white;
 padding: 100px 30px 30px;
 box-shadow: var(--shadow-lg);
 transition: right 0.4s ease-in-out;
 gap: 20px;
 }
 .nav-links.active {
 right: 0;
 }
 .timeline::after { left: 30px; }
 .timeline-step { padding-left: 80px; }
 .timeline-number { left: 30px; width: 45px; height: 45px; font-size: 1.2rem; }
 .cookie-banner {
 flex-direction: column;
 text-align: center;
 }
}