:root {
 --primary-color: #3a8fb7;
 --primary-dark: #2c6e8e;
 --secondary-color: #f0f0f0;
 --text-dark: #1a1a1a;
 --text-light: #555;
 --bg-light: #f7f9fa;
 --bg-white: #ffffff;
 --border-color: #e0e0e0;
 --gradient: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);

 --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
 --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
 --radius: 8px;
 --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.7;
 color: var(--text-light);
 background-color: var(--bg-white);
 -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
 color: var(--text-dark);
 font-weight: 700;
 line-height: 1.3;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; }

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

p { margin-bottom: 1rem; }

.section {
 padding: 80px 0;
}
.section.bg-light { background-color: var(--bg-light); }
.section-header { margin-bottom: 60px; }
.section-tag {
 display: inline-block;
 color: var(--primary-color);
 font-weight: 700;
 margin-bottom: 1rem;
 text-transform: uppercase;
 letter-spacing: 1px;
}
.section-title {
 margin-bottom: 1rem;
}
.section-subtitle {
 font-size: 1.1rem;
 max-width: 700px;
 margin: 0 auto;
}
.text-center { text-align: center; }

/* Buttons */
.btn {
 display: inline-block;
 padding: 12px 28px;
 border-radius: var(--radius);
 font-weight: 700;
 text-align: center;
 border: 2px solid transparent;
 transition: var(--transition);
 cursor: pointer;
}
.btn-primary {
 background-color: var(--primary-color);
 color: var(--bg-white);
 box-shadow: 0 4px 15px rgba(58, 143, 183, 0.2);
}
.btn-primary:hover {
 background-color: var(--primary-dark);
 transform: translateY(-2px);
 box-shadow: 0 6px 20px rgba(58, 143, 183, 0.3);
}
.btn-primary-outline {
 border-color: var(--primary-color);
 color: var(--primary-color);
}
.btn-primary-outline:hover {
 background-color: var(--primary-color);
 color: white;
}
.btn-secondary {
 border-color: var(--bg-white);
 color: var(--bg-white);
}
.btn-secondary:hover {
 background-color: var(--bg-white);
 color: var(--text-dark);
}
.btn-white {
 background-color: var(--bg-white);
 color: var(--primary-color);
}
.btn-white:hover {
 background-color: var(--secondary-color);
}
.btn-link {
 font-weight: 700;
 color: var(--primary-color);
 position: relative;
}
.btn-link::after {
 content: ' →';
}

/* Header */
.header {
 background: var(--bg-white);
 box-shadow: var(--shadow-sm);
 position: sticky;
 top: 0;
 width: 100%;
 z-index: 1000;
 transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.nav-container {
 max-width: 1400px; margin: 0 auto; padding: 0 20px;
}
.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: 3rem;
}
.nav-links a {
 color: var(--text-dark);
 font-weight: 500;
 position: relative;
 padding: 5px 0;
}
.nav-links a::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 0;
 height: 2px;
 background: var(--primary-color);
 transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after {
 width: 100%;
}
.nav-cta { display: block; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 25px; height: 2px; background: var(--text-dark); margin: 5px 0; transition: var(--transition); }

/* Hero */
.hero {
 position: relative;
 min-height: 80vh;
 display: flex;
 align-items: center;
 justify-content: center;
 background-size: cover;
 background-position: center;
 text-align: center;
 color: var(--bg-white);
}
.hero::before {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}
.hero-content {
 position: relative;
 max-width: 800px;
 padding: 0 20px;
}
.hero-title {
 font-size: clamp(2.5rem, 5vw, 4rem);
 color: var(--bg-white);
 margin-bottom: 1rem;
}
.hero-subtitle {
 font-size: 1.25rem;
 opacity: 0.9;
 margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; }

.hero-small {
 min-height: 40vh;
 position: relative;
 display: flex;
 align-items: center;
 justify-content: center;
 background-size: cover;
 background-position: center;
 text-align: center;
 color: var(--bg-white);
}
.hero-small::before {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

/* Grids */
.grid-3 {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 30px;
}
.grid-4 {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 30px;
}
.feature-card {
 padding: 30px;
 background: var(--bg-white);
 box-shadow: var(--shadow-sm);
 border-radius: var(--radius);
 text-align: center;
 transition: var(--transition);
}
.feature-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-md);
}
.feature-icon {
 width: 60px;
 height: 60px;
 border-radius: 50%;
 background: var(--secondary-color);
 display: flex;
 align-items: center;
 justify-content: center;
 margin: 0 auto 20px;
 color: var(--primary-color);
}
.feature-icon svg { width: 30px; height: 30px; }
.feature-title { margin-bottom: 1rem; }

/* Alternating features */
.alternating-features { display: flex; flex-direction: column; gap: 80px; }
.feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.feature-block:nth-child(even) .feature-block-image { order: -1; }
.feature-block-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.feature-block-text h3 { margin-bottom: 1rem; }
.feature-block-text p { margin-bottom: 1.5rem; }

/* Cards */
.card {
 background: var(--bg-white);
 border-radius: var(--radius);
 box-shadow: var(--shadow-sm);
 overflow: hidden;
 transition: var(--transition);
 display: flex;
 flex-direction: column;
}
.card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-md);
}
.card-image {
 width: 100%;
 height: 220px;
 object-fit: cover;
}
.card-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.card-title { margin-bottom: 0.5rem; }
.card-meta { font-size: 0.8rem; color: #888; margin-bottom: 1rem; }
.card-text { margin-bottom: 1.5rem; flex-grow: 1; }

/* CTA section */
.cta-section { padding: 80px 0; }
.bg-gradient { background: var(--gradient); color: var(--bg-white); }
.cta-title { color: var(--bg-white); margin-bottom: 1rem;}
.cta-text { opacity: 0.9; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto;}

/* Team */
.team-card {
 text-align: center;
 background: white;
 padding: 2rem;
 border-radius: var(--radius);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 1.5rem;
 border: 4px solid var(--bg-white);
 box-shadow: var(--shadow-md);
}
.team-name { margin-bottom: 0.5rem; }
.team-title { color: var(--primary-color); font-weight: 500; margin-bottom: 1rem; }

/* Contact page */
.contact-layout {
 display: grid;
 grid-template-columns: 2fr 1.5fr;
 gap: 50px;
 align-items: flex-start;
}
.contact-form-container h3, .contact-info-container h3 { margin-bottom: 1rem; }
.contact-info-container p { margin-bottom: 2rem; }
.contact-details { list-style: none; }
.contact-details li {
 display: flex;
 align-items: flex-start;
 gap: 15px;
 margin-bottom: 1.5rem;
}
.contact-details svg {
 width: 24px;
 height: 24px;
 color: var(--primary-color);
 flex-shrink: 0;
 margin-top: 5px;
}
.map-container {
 margin-top: 50px;
 border-radius: var(--radius);
 overflow: hidden;
 box-shadow: var(--shadow-md);
 height: 450px;
}
.map-container iframe { border: 0; width: 100%; height: 100%; }

/* Form */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
 display: block;
 font-weight: 500;
 margin-bottom: 0.5rem;
 color: var(--text-dark);
}
.checkbox-group label { display: flex; align-items: center; gap: 10px; font-weight: normal; }
.checkbox-group input { width: auto; }

.form input[type="text"], .form input[type="email"], .form textarea {
 width: 100%;
 padding: 12px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius);
 transition: var(--transition);
 font-family: inherit;
 font-size: 1rem;
}
.form input:focus, .form textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(58, 143, 183, 0.2);
}
.form textarea { min-height: 150px; resize: vertical; }

/* Form validation */
.input-error {
 border-color: #dc2626 !important;
 box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}
button[disabled] { opacity: 0.7; cursor: not-allowed; }
.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: #a0a0b0;
 padding: 60px 0 20px;
 margin-top: 80px;
}
.footer-grid {
 display: grid;
 grid-template-columns: 2fr repeat(3, 1fr);
 gap: 40px;
 margin-bottom: 40px;
}
.footer-heading {
 color: var(--bg-white);
 font-size: 1.1rem;
 margin-bottom: 1.5rem;
}
.footer-about { line-height: 1.8; }
.footer-links, .footer-contact { list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 1rem; }
.footer-links a, .footer-contact a { color: #a0a0b0; }
.footer-links a:hover, .footer-contact a:hover { color: var(--bg-white); }
.footer-bottom {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding-top: 20px;
 border-top: 1px solid #333;
 font-size: 0.9rem;
}
.footer-legal { list-style: none; display: flex; gap: 20px; }
.footer-legal a { color: #a0a0b0; }

/* Timeline */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::after {
 content: ''; position: absolute; width: 3px; background: #e0e0e0; top: 0; bottom: 0; left: 50%; margin-left: -1.5px;
}
.timeline-item { padding: 10px 40px; position: relative; width: 50%; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }
.timeline-dot {
 position: absolute; width: 20px; height: 20px;
 background: var(--secondary-color); border: 4px solid var(--primary-color);
 top: 24px; border-radius: 50%; z-index: 1;
}
.timeline-item:nth-child(odd) .timeline-dot { right: -10px; }
.timeline-item:nth-child(even) .timeline-dot { left: -10px; }
.timeline-content {
 padding: 20px 30px; background: white;
 border-radius: var(--radius); box-shadow: var(--shadow-sm);
}

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 40px; }
.pagination a { padding: 8px 14px; border: 1px solid var(--border-color); border-radius: var(--radius); }
.pagination a.active { background: var(--primary-color); color: white; border-color: var(--primary-color); }

/* Legal Page */
.legal-page { padding: 60px 0; }
.legal-page .container { max-width: 800px; }
.legal-page h1 { margin-bottom: 1rem; }
.legal-page h2, .legal-page h3 { margin-top: 2.5rem; margin-bottom: 1rem; }
.legal-page p, .legal-page li { margin-bottom: 1rem; }
.legal-page ul { padding-left: 20px; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.legal-page th, .legal-page td { border: 1px solid var(--border-color); padding: 12px; text-align: left;}
.legal-page th { background-color: var(--bg-light); }

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

/* Animations */
.animated-item {
 opacity: 0;
 transform: translateY(20px);
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animated-item.is-visible {
 opacity: 1;
 transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
 .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .feature-block { grid-template-columns: 1fr; }
 .feature-block:nth-child(even) .feature-block-image { order: 1; }
 .contact-layout { grid-template-columns: 1fr; }
 .nav-links { gap: 1.5rem; }
}

@media (max-width: 768px) {
 h1 { font-size: 2.5rem; }
 h2 { font-size: 2rem; }
 .nav-links, .nav-cta { display: none; }
 .nav-toggle { display: block; z-index: 1001; }
 .nav-links.active {
 display: flex;
 flex-direction: column;
 position: fixed;
 top: 0;
 right: 0;
 width: 80%;
 height: 100%;
 background: var(--bg-white);
 padding: 100px 40px;
 box-shadow: -5px 0 15px rgba(0,0,0,0.1);
 align-items: flex-start;
 gap: 2rem;
 }
 .grid-3, .grid-4 { grid-template-columns: 1fr; }
 .hero-actions { flex-direction: column; }
 .footer-grid { grid-template-columns: 1fr; }
 .footer-bottom { flex-direction: column; gap: 15px; }
 .timeline::after { left: 30px; }
 .timeline-item { width: 100%; padding-left: 70px; padding-right: 10px; }
 .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { left: 0; text-align: left;}
 .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot { left: 20px; }
 #cookie-banner { flex-direction: column; text-align: center; }
}