:root {
 --primary-color: #0284c7;
 --primary-dark: #0369a1;
 --accent-color: #7dd3fc;
 --accent-dark: #38bdf8;
 --text-dark: #1f2937;
 --text-light: #6b7280;
 --bg-white: #ffffff;
 --bg-light: #f0f9ff;
 --border-color: #e5e7eb;
 --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
 --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
 --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
 --radius-md: 8px;
 --radius-lg: 16px;
 --transition: all 0.3s ease;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 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;
}

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

h1, h2, h3, h4, h5, h6 {
 color: var(--text-dark);
 font-weight: 700;
 line-height: 1.3;
}
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.5rem); }

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

/* Header */
.header {
 position: fixed;
 top: 0; left: 0; right: 0;
 z-index: 1000;
 background: rgba(255, 255, 255, 0.8);
 backdrop-filter: blur(10px);
 border-bottom: 1px solid var(--border-color);
 transition: var(--transition);
}
.header.scrolled {
 background: rgba(255, 255, 255, 0.95);
 box-shadow: var(--shadow-md);
}

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

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

.nav-links {
 display: flex;
 gap: 32px;
 list-style: none;
}
.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-color: var(--primary-color);
 transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
 width: 100%;
}
.nav-links a.active {
 color: var(--primary-color);
}

.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 z-index: 1001;
}
.nav-toggle span {
 display: block;
 width: 25px;
 height: 2px;
 margin: 6px 0;
 background-color: var(--text-dark);
 transition: var(--transition);
}

/* Buttons */
.btn {
 display: inline-block;
 padding: 12px 28px;
 font-weight: 600;
 border-radius: var(--radius-md);
 cursor: pointer;
 text-align: center;
 border: 2px solid transparent;
 transition: var(--transition);
}
.btn-primary {
 background-color: var(--primary-color);
 color: var(--bg-white);
}
.btn-primary:hover {
 background-color: var(--primary-dark);
 color: var(--bg-white);
 transform: translateY(-2px);
 box-shadow: var(--shadow-md);
}
.btn-secondary {
 background-color: transparent;
 color: var(--primary-color);
 border-color: var(--primary-color);
}
.btn-secondary:hover {
 background-color: var(--primary-color);
 color: var(--bg-white);
}
.btn-primary-alt {
 background-color: var(--accent-color);
 color: var(--text-dark);
}
.btn-primary-alt:hover {
 background-color: var(--accent-dark);
 color: var(--text-dark);
 transform: translateY(-2px);
 box-shadow: var(--shadow-md);
}
.btn-text {
 font-weight: 600;
 color: var(--primary-color);
}
.btn-text:hover {
 color: var(--primary-dark);
 text-decoration: underline;
}

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

.section-header {
 text-align: center;
 max-width: 700px;
 margin: 0 auto 50px;
}
.section-label {
 display: inline-block;
 color: var(--primary-color);
 font-weight: 600;
 margin-bottom: 12px;
 text-transform: uppercase;
 letter-spacing: 1px;
}
.section-title {
 margin-bottom: 16px;
 font-size: clamp(1.8rem, 4vw, 2.75rem);
}
.section-subtitle {
 font-size: 1.125rem;
 max-width: 600px;
 margin: 0 auto;
}

/* Hero Section */
.hero {
 display: flex;
 align-items: center;
 justify-content: center;
 min-height: calc(100vh - 70px);
 padding-top: 70px;
 text-align: center;
 background: linear-gradient(to bottom, #e0f2fe, var(--bg-white));
}
.hero-content {
 max-width: 800px;
}
.hero-title {
 margin-bottom: 24px;
}
.hero-subtitle {
 font-size: 1.25rem;
 max-width: 700px;
 margin: 0 auto 32px;
}
.hero-actions {
 display: flex;
 justify-content: center;
 gap: 16px;
}

/* Stats Section */
.stats-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 30px;
 text-align: center;
}
.stat-item {
 padding: 24px;
 background: var(--bg-white);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 transition: var(--transition);
}
.stat-item:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.stat-icon {
 width: 50px;
 height: 50px;
 margin: 0 auto 20px;
 color: var(--primary-color);
}
.stat-item h3 {
 margin-bottom: 10px;
}

/* Cards */
.grid-3 {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 30px;
}
.card {
 background: var(--bg-white);
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-md);
 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;
 display: flex;
 flex-direction: column;
}
.card-title {
 margin-bottom: 12px;
}
.card-text {
 margin-bottom: 16px;
 flex-grow: 1;
}

/* Media Object */
.media-object {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 48px;
 align-items: center;
}
.media-object.reverse {
 grid-template-columns: 1fr 1fr; /* For visual order change */
}
.media-object.reverse .media-copy { order: 2; }
.media-object.reverse .media-visual { order: 1; }
.media-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
}
.media-copy .section-label, .media-copy .section-title { text-align: left; }
.media-copy h2 { margin-bottom: 20px; }
.media-copy ul {
 list-style: none;
 margin: 20px 0;
}
.media-copy ul li {
 display: flex;
 align-items: center;
 gap: 10px;
 margin-bottom: 10px;
}
.media-copy ul svg {
 width: 20px;
 height: 20px;
 color: var(--primary-color);
 flex-shrink: 0;
}

/* Logos Grid */
.logos-grid {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 align-items: center;
 gap: 40px;
}
.logo-item img {
 height: 35px;
 width: auto;
 max-width: 130px;
 object-fit: contain;
 filter: grayscale(100%);
 opacity: 0.6;
 transition: var(--transition);
}
.logo-item img:hover {
 filter: none;
 opacity: 1;
}

/* CTA Section */
.cta-section {
 background-color: var(--primary-color);
 color: var(--bg-white);
 padding: 60px 0;
 text-align: center;
}
.cta-section .section-title, .cta-section .section-subtitle { color: var(--bg-white); }
.cta-section .btn {
 margin-top: 24px;
}

/* Footer */
.footer {
 background-color: var(--text-dark);
 color: #a0aec0;
 padding: 60px 0 30px;
 margin-top: 80px;
}
.footer-grid {
 display: grid;
 grid-template-columns: 2fr repeat(3, 1fr);
 gap: 40px;
 margin-bottom: 40px;
}
.footer-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--bg-white);
 margin-bottom: 16px;
 display: block;
}
.footer-text { margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
 color: #a0aec0;
 width: 40px; height: 40px;
 display: flex; justify-content: center; align-items: center;
 border: 1px solid #4a5568;
 border-radius: 50%;
}
.footer-social a:hover {
 color: var(--bg-white);
 background-color: var(--primary-color);
 border-color: var(--primary-color);
}
.footer-heading {
 font-size: 1rem;
 font-weight: 600;
 color: var(--bg-white);
 margin-bottom: 20px;
 text-transform: uppercase;
}
.footer-links, .footer-contact { list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 12px; }
.footer-links a, .footer-contact a { color: #a0aec0; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent-color); text-decoration: underline; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--accent-color); }
.footer-hours { margin-top: 20px; font-size: 0.9rem; line-height: 1.7; }
.footer-hours strong { color: #e2e8f0; }

.footer-bottom {
 border-top: 1px solid #4a5568;
 padding-top: 30px;
 text-align: center;
 font-size: 0.9rem;
}

/* Page Header & Legal Pages */
.page-header-section {
 padding-top: 120px;
 padding-bottom: 60px;
 background-color: var(--bg-light);
 text-align: center;
}
.legal-page { padding-top: 120px; }
.legal-page .container { max-width: 800px; }
.legal-page h1 { margin-bottom: 24px; }
.legal-page h3 { margin-top: 40px; margin-bottom: 16px; }
.legal-page p { margin-bottom: 16px; }
.legal-page ul { margin-left: 20px; margin-bottom: 16px; }
.legal-page table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.legal-page th, .legal-page td { padding: 12px; border: 1px solid var(--border-color); text-align: left; }
.legal-page thead { background-color: var(--bg-light); }

/* Contact Page */
.contact-layout {
 display: grid;
 grid-template-columns: 2fr 1.5fr;
 gap: 48px;
 align-items: flex-start;
}
.contact-info-title { margin-bottom: 20px; }
.contact-info-wrapper .footer-contact { margin-top: 20px; }
.contact-hours { border-top: 1px solid var(--border-color); padding-top: 20px; margin-top: 20px; }

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 500; margin-bottom: 8px; color: var(--text-dark); }
.form-control {
 width: 100%;
 padding: 14px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 background-color: var(--bg-white);
 transition: var(--transition);
}
.form-control:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}
textarea.form-control { min-height: 120px; resize: vertical; }
.map-container {
 margin-top: 80px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-lg);
}

/* Team Section */
.team-section { text-align: center; }
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 30px;
 margin-top: 50px;
}
.team-member {
 transition: var(--transition);
}
.team-member:hover { transform: translateY(-5px); }
.team-photo {
 width: 150px;
 height: 150px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 20px;
 border: 4px solid var(--bg-white);
 box-shadow: var(--shadow-lg);
}
.team-name { margin-bottom: 5px; font-size: 1.2rem; }
.team-role { color: var(--primary-color); font-weight: 500; }

/* Cookie Banner */
#cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: var(--text-dark);
 color: var(--bg-white);
 padding: 20px;
 display: none;
 justify-content: space-between;
 align-items: center;
 z-index: 2000;
 gap: 20px;
}
#cookie-banner p { margin: 0; }
#cookie-banner a { color: var(--accent-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-buttons .btn-secondary { color: var(--bg-white); border-color: var(--bg-white); }
.cookie-buttons .btn-secondary:hover { background: var(--bg-white); color: var(--text-dark); }

/* Animation */
.animate-on-scroll {
 opacity: 0;
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in {
 transform: translateY(20px);
}
.fade-in-up {
 transform: translateY(30px);
}
.animate-on-scroll.is-visible {
 opacity: 1;
 transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
 .media-object, .media-object.reverse { grid-template-columns: 1fr; }
 .media-object.reverse .media-copy { order: 1; }
 .media-object.reverse .media-visual { order: 2; }
 .media-copy { text-align: center; }
 .media-copy .section-label, .media-copy .section-title { text-align: center; }
 .media-copy ul li { justify-content: center; }
 .contact-layout { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
 .nav-toggle { display: block; }
 .nav-links {
 position: fixed;
 top: 0;
 right: -100%;
 width: 70%;
 max-width: 300px;
 height: 100vh;
 background-color: var(--bg-white);
 flex-direction: column;
 padding: 100px 30px 30px;
 gap: 24px;
 box-shadow: var(--shadow-lg);
 transition: right 0.4s ease-in-out;
 }
 .nav-links.active {
 right: 0;
 }
 .footer-grid { grid-template-columns: 1fr; }
 .footer-col { text-align: center; }
 .footer-social { justify-content: center; }
 #cookie-banner { flex-direction: column; text-align: center; }
}