:root {
 --primary-color: #0d6efd;
 --primary-dark: #0b5ed7;
 --secondary-color: #6c757d;
 --text-dark: #212529;
 --text-light: #f8f9fa;
 --text-muted: #6c757d;
 --bg-light: #f8f9fa;
 --bg-white: #ffffff;
 --border-color: #dee2e6;
 --radius-md: 8px;
 --radius-lg: 16px;
 --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
 --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
 --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
 --transition: all 0.3s ease-in-out;
}

*, *::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-dark);
 background: var(--bg-white);
 -webkit-font-smoothing: antialiased;
 overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
 font-weight: 700;
 line-height: 1.3;
 color: var(--text-dark);
 margin-bottom: 1rem;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
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); }

p { margin-bottom: 1rem; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Progress Bar */
#progress-bar {
 position: fixed;
 top: 0;
 left: 0;
 height: 4px;
 background: var(--primary-color);
 width: 0%;
 z-index: 2000;
 transition: width 0.1s linear;
}

/* Header */
.header {
 position: fixed;
 top: 0; left: 0; right: 0;
 z-index: 1000;
 background: transparent;
 transition: background 0.3s ease, box-shadow 0.3s ease;
}
.header.scrolled {
 background: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(10px);
 box-shadow: var(--shadow-sm);
}
.nav {
 height: 80px;
 display: flex;
 align-items: center;
 justify-content: space-between;
}
.nav-logo {
 font-size: 1.6rem;
 font-weight: 700;
 color: var(--text-dark);
}
.header.scrolled .nav-logo { color: var(--text-dark); }
.header:not(.scrolled) .nav-logo { color: var(--text-light); }

.nav-links {
 display: flex;
 gap: 32px;
}
.nav-links a {
 font-weight: 500;
 padding: 8px 0;
 position: relative;
 color: var(--text-light);
 transition: color 0.3s ease;
}
.header.scrolled .nav-links a { color: var(--text-dark); }

.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: 25px; height: 3px; margin: 5px 0;
 background: var(--text-light);
 transition: all 0.3s ease;
}
.header.scrolled .nav-toggle span { background: var(--text-dark); }

/* Parallax Sections */
.hero, .fixed-bg-section, .testimonial-section {
 position: relative;
 overflow: hidden;
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--text-light);
 text-align: center;
}
.hero { min-height: 100vh; }
.parallax-bg {
 position: absolute;
 top: 0; left: 0; width: 100%; height: 100%;
 background-size: cover;
 background-position: center;
 z-index: 1;
}
.parallax-bg-overlay {
 position: absolute;
 inset: 0;
 background: rgba(10, 20, 40, 0.7);
 z-index: 2;
}
.hero-content {
 position: relative; z-index: 3;
 max-width: 800px;
}
.hero-title {
 font-size: clamp(2.5rem, 6vw, 4.5rem);
 text-shadow: 0 2px 10px rgba(0,0,0,0.5);
 margin-bottom: 1rem;
}
.hero-subtitle {
 font-size: 1.25rem;
 max-width: 600px;
 margin: 0 auto 2rem;
 opacity: 0.9;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; }

/* Buttons */
.btn {
 display: inline-flex; align-items: center; justify-content: center;
 padding: 12px 28px; font-size: 1rem; font-weight: 600;
 border-radius: var(--radius-md); cursor: pointer;
 transition: var(--transition); border: none; text-decoration: none;
}
.btn-primary {
 background: var(--primary-color); color: white;
 box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}
.btn-primary:hover {
 background: var(--primary-dark); transform: translateY(-3px);
 box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}
.btn-secondary {
 background: transparent; color: var(--text-light);
 border: 2px solid var(--text-light);
}
.header.scrolled .btn-secondary {
 color: var(--primary-color);
 border-color: var(--primary-color);
}
.btn-secondary:hover { background: var(--text-light); color: var(--text-dark); }
.header.scrolled .btn-secondary:hover { background: var(--primary-color); color: var(--text-light); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* General Sections */
.section { padding: 100px 0; }
.bg-light { background: var(--bg-light); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-label {
 display: inline-block; background: var(--primary-color); color: white;
 padding: 6px 16px; border-radius: 20px; font-size: 0.9rem;
 font-weight: 600; margin-bottom: 1rem;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: var(--text-muted); line-height: 1.6; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.story-section img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.story-content ul { list-style: inside; padding-left: 1rem; }
.story-content li { margin-bottom: 0.5rem; }

.fixed-bg-section {
 min-height: 50vh;
 background-attachment: fixed;
 background-size: cover;
 background-position: center;
 position: relative;
}
.fixed-bg-section h2 { color: white; text-shadow: 0 2px 10px rgba(0,0,0,0.6);}
.fixed-bg-section p { color: white; opacity: 0.9; }
.fixed-bg-section::before {
 content: '';
 position: absolute; inset: 0;
 background: rgba(10, 20, 40, 0.6);
}
.fixed-bg-section .container { position: relative; z-index: 2; }

/* Features Section */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card {
 background: var(--bg-white);
 padding: 40px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm);
 text-align: center;
 transition: transform 0.4s, box-shadow 0.4s;
 transform-style: preserve-3d;
}
.feature-card:hover {
 transform: translateY(-10px) rotateX(10deg);
 box-shadow: var(--shadow-lg);
}
.card-icon {
 width: 60px; height: 60px;
 margin: 0 auto 20px;
 background: var(--primary-color);
 color: white;
 border-radius: 50%;
 display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 30px; height: 30px; }
.card-title { font-size: 1.3rem; }
.card-text { color: var(--text-muted); }

/* Journey Section (Horizontal Scroll) */
.journey-section { padding: 100px 0; overflow: hidden; }
.journey-wrapper { height: 400px; position: relative; } /* Height matters */
.journey-track {
 display: flex;
 position: absolute;
 top: 50%; transform: translateY(-50%);
 gap: 100px;
 padding: 0 50vw; /* To have start/end margins */
}
.journey-step {
 flex-shrink: 0; width: 300px;
 background: var(--bg-white);
 padding: 30px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 border-top: 4px solid var(--primary-color);
}
.journey-step h3 { color: var(--primary-color); }

/* Testimonial Section */
.testimonial-section { min-height: 70vh; }
.testimonial-content { position: relative; z-index: 3; max-width: 700px; }
.testimonial-avatar {
 width: 100px; height: 100px;
 border-radius: 50%;
 border: 4px solid white;
 box-shadow: var(--shadow-lg);
 margin-bottom: 2rem;
}
.testimonial-content blockquote p {
 font-size: 1.5rem; font-style: italic; line-height: 1.6;
 margin-bottom: 2rem;
}
.testimonial-content footer cite { font-weight: 700; display: block; font-style: normal; }
.testimonial-content footer span { opacity: 0.8; }

/* CTA Section */
.cta-section .btn { margin-top: 2rem; }

/* Footer */
.footer {
 position: relative;
 padding: 80px 0 30px;
 color: var(--text-light);
 overflow: hidden;
}
.footer-bg {
 position: absolute; top: 0; left: 0; right: 0; bottom: 0;
 background-size: cover; background-position: center;
 transform: scale(1.1); z-index: -2;
}
.footer-overlay {
 position: absolute; inset: 0;
 background: linear-gradient(135deg, rgba(16, 22, 46, 0.95) 0%, rgba(22, 33, 62, 0.98) 100%);
 z-index: -1;
}
.footer-content { position: relative; z-index: 1; }
.footer-grid {
 display: grid;
 grid-template-columns: 2fr 1fr 1.5fr 1fr;
 gap: 40px; margin-bottom: 50px;
}
.footer-logo { font-size: 1.8rem; font-weight: 700; color: white; margin-bottom: 1rem; display: block; }
.footer-description { color: #a9b3c4; margin-bottom: 1rem; }
.footer-social { display: flex; gap: 12px; }
.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-heading {
 font-size: 1.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 li, .footer-links a, .footer-contact-item {
 color: #a9b3c4; font-size: 0.95rem;
}
.footer-links a:hover { color: white; padding-left: 5px; }
.footer-bottom {
 padding-top: 30px; margin-top: 30px;
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 display: flex; justify-content: space-between; align-items: center;
}
.footer-disclaimer, .footer-copyright { font-size: 0.85rem; color: #8a96aa; }

/* Sub Pages Styling */
.page-header-section {
 min-height: 50vh;
 position: relative;
 display: flex; align-items: center; justify-content: center;
 background-size: cover; background-position: center;
 text-align: center;
 color: white;
}
.page-header-overlay {
 position: absolute; inset: 0;
 background: rgba(10, 20, 40, 0.75);
}
.page-header-section .container { position: relative; z-index: 1; }
.page-title { font-size: 3rem; margin-bottom: 0.5rem; text-shadow: 0 1px 5px rgba(0,0,0,0.4); }
.page-subtitle { font-size: 1.2rem; opacity: 0.9; }

.service-card {
 background: white; padding: 30px; border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm); transition: var(--transition);
 border-left: 4px solid var(--primary-color);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.media-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.media-image, .story-image {
 perspective: 1000px;
}
.media-image img, .story-image img {
 transition: transform 0.5s;
}
.media-image:hover img, .story-image:hover img {
 transform: translateZ(20px);
}
.grid-2.reverse > div:first-child { order: 2; }
.grid-2.reverse > div:last-child { order: 1; }

.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::after {
 content: ''; position: absolute; width: 3px; background: var(--border-color);
 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; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item::after {
 content: ''; position: absolute; width: 20px; height: 20px;
 right: -10px; background-color: var(--primary-color);
 top: 15px; border-radius: 50%; z-index: 1; border: 3px solid white;
}
.timeline-item:nth-child(even)::after { left: -10px; }
.timeline-content { padding: 20px 30px; background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.timeline-content h3 { font-size: 1.2rem; color: var(--primary-color); }

/* Contact Page */
.contact-grid { display: grid; grid-template-columns: 2fr 1.5fr; gap: 50px; }
.contact-form-wrapper { background: white; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 500; margin-bottom: 8px; }
.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: white;
}
.form-control:focus {
 outline: none; border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 25px; }
.contact-info-icon {
 flex-shrink: 0; width: 45px; height: 45px;
 background: var(--primary-color); color: white;
 border-radius: 50%; display: grid; place-items: center;
}
.contact-info-icon svg { width: 22px; height: 22px; }
.contact-info-item h4 { margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { color: var(--text-muted); margin-bottom: 0; }
.contact-info-item a:hover { color: var(--primary-color); }
.map-section { padding: 0; margin-top: -50px; z-index: -1; position: relative;}
.map-section iframe { display: block; }

/* Legal Pages */
.legal-page { padding: 120px 0; }
.legal-page .container { max-width: 800px; }
.legal-title { font-size: 2.5rem; margin-bottom: 2rem; border-bottom: 2px solid var(--primary-color); padding-bottom: 1rem; }
.legal-page section { margin-bottom: 2.5rem; }
.legal-page h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.legal-page ul { list-style: disc; padding-left: 20px; }
.legal-page li { margin-bottom: 0.5rem; }
.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: var(--bg-light); }

/* Cookie Banner */
#cookie-banner {
 position: fixed;
 bottom: 20px;
 left: 20px;
 right: 20px;
 max-width: 500px;
 background: var(--text-dark);
 color: var(--text-light);
 padding: 20px;
 border-radius: var(--radius-md);
 box-shadow: var(--shadow-lg);
 z-index: 2000;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
}
#cookie-banner p { margin: 0; font-size: 0.9rem; }
#cookie-banner a { color: var(--primary-color); text-decoration: underline; }
#cookie-banner div { display: flex; gap: 10px; flex-shrink: 0; }

/* Responsive */
@media (max-width: 992px) {
 .grid-2, .grid-3, .features-grid, .contact-grid { grid-template-columns: 1fr; }
 .grid-2.reverse > div:first-child { order: 1; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .hero-content { padding: 0 20px; }
}

@media (max-width: 768px) {
 .section { padding: 60px 0; }
 h1 { font-size: 2rem; } h2 { font-size: 1.7rem; }
 .nav-toggle { display: block; }
 .nav-links {
 position: fixed; top: 0; right: -100%;
 width: 100%; height: 100vh;
 background: var(--bg-white);
 flex-direction: column;
 justify-content: center;
 align-items: center;
 gap: 2rem;
 transition: right 0.4s ease-in-out;
 }
 .nav-links.active { right: 0; }
 .nav-links a, .header.scrolled .nav-links a {
 color: var(--text-dark);
 font-size: 1.5rem;
 }
 .footer-grid { grid-template-columns: 1fr; }
 .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
 #cookie-banner { flex-direction: column; text-align: center; left: 10px; right: 10px; bottom: 10px; }

 .timeline::after { left: 30px; }
 .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
 .timeline-item:nth-child(even) { left: 0; }
 .timeline-item::after { left: 20px; }
}