:root {
 --primary-color: #0d1b2a; /* Dark Navy Blue */
 --primary-dark: #000000;
 --secondary-color: #415a77; /* Shadow Blue */
 --accent-color: #778da9; /* Light Steel Blue */
 --text-dark: #1b263b;
 --text-light: #415a77;
 --text-muted: #778da9;
 --bg-light: #f1f3f5;
 --bg-white: #ffffff;
 --border-color: #e0e7ff;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
 --radius-md: 8px;
 --radius-lg: 16px;
 --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
 --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.08);
 --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
 --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-color: var(--bg-white);
 -webkit-font-smoothing: antialiased;
}

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

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

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

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

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

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); color: var(--text-dark); }

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

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

.nav-logo {
 font-size: 1.25rem;
 font-weight: 700;
 color: var(--primary-color);
}

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

.nav-links a {
 font-weight: 500;
 color: var(--text-light);
 padding: 8px 0;
 position: relative;
 font-size: 0.95rem;
}

.nav-links a::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 0;
 height: 2px;
 background: var(--primary-color);
 transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
 color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
 width: 100%;
}

.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 padding: 8px;
}

.nav-toggle span {
 display: block;
 width: 24px;
 height: 2px;
 background: var(--primary-color);
 margin: 5px 0;
 transition: var(--transition);
}

/* Hero Section */
.hero {
 position: relative;
 min-height: 70vh;
 background-size: cover;
 background-position: center;
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 80px 24px;
 text-align: center;
}

.hero::before {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(rgba(13, 27, 42, 0.7), rgba(13, 27, 42, 0.5));
}

.hero-content {
 position: relative;
 color: var(--bg-white);
 max-width: 800px;
}

.hero-title {
 color: var(--bg-white);
 font-size: clamp(2.5rem, 6vw, 4rem);
 margin-bottom: 1rem;
}

.hero-subtitle {
 font-size: clamp(1.1rem, 3vw, 1.25rem);
 line-height: 1.6;
 opacity: 0.9;
}

/* 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.85rem;
 font-weight: 600;
 color: var(--accent-color);
 text-transform: uppercase;
 letter-spacing: 1px;
 margin-bottom: 12px;
}

.section-title {
 margin-bottom: 16px;
}

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

/* Page Headers */
.page-header-section {
 background-color: var(--primary-color);
 padding: 60px 0;
 text-align: center;
 color: white;
}
.page-header-section .page-title {
 color: white;
}
.page-header-section .page-subtitle {
 color: rgba(255,255,255,0.8);
 max-width: 700px;
 margin: 0 auto;
}
.page-title {
 margin-bottom: 1rem;
}
.page-subtitle {
 font-size: 1.1rem;
}

/* Content Body */
.content-body {
 max-width: 800px;
 margin: 0 auto;
}

.content-body h2, .content-body h3 {
 margin-top: 2.5rem;
 margin-bottom: 1.2rem;
}
.content-body p, .content-body ul, .content-body ol {
 margin-bottom: 1.5rem;
}
.content-body ul, .content-body ol {
 padding-left: 20px;
}
.content-body .content-image {
 border-radius: var(--radius-lg);
 margin: 40px auto;
 box-shadow: var(--shadow-lg);
 max-height: 400px;
 object-fit: cover;
 width: 100%;
}

/* Cards */
.grid-3 {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 30px;
}

.card {
 background: var(--bg-white);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
 border: 1px solid var(--border-color);
 display: flex;
 flex-direction: column;
}

.card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-lg);
}

.card-body {
 padding: 32px;
 flex-grow: 1;
}

.card-title {
 font-size: 1.2rem;
}

.card-text {
 color: var(--text-light);
}

/* 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: 2;
}
.media-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 object-fit: cover;
 width: 100%;
 height: 100%;
 max-height: 450px;
}

/* Buttons */
.btn {
 display: inline-flex;
 padding: 12px 24px;
 font-size: 0.95rem;
 font-weight: 600;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: var(--transition);
 border: 2px solid transparent;
 text-align: center;
}

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

.btn-secondary {
 background-color: transparent;
 color: var(--secondary-color);
 border-color: var(--secondary-color);
}
.btn-secondary:hover {
 background-color: var(--secondary-color);
 color: white;
}

/* Team Section */
.team-card {
 text-align: center;
}
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 margin: 0 auto 20px;
 object-fit: cover;
 box-shadow: 0 0 0 5px var(--bg-white), 0 0 0 6px var(--border-color);
}
.team-name {
 font-size: 1.2rem;
 margin-bottom: 4px;
}
.team-title {
 font-size: 0.9rem;
 color: var(--accent-color);
 font-weight: 500;
 margin-bottom: 12px;
}
.team-bio {
 font-size: 0.95rem;
 color: var(--text-light);
}

/* Contact Page */
.contact-grid {
 display: grid;
 grid-template-columns: 1.2fr 1fr;
 gap: 48px;
}
.contact-info-item {
 margin-bottom: 24px;
}
.contact-info-item strong {
 display: block;
 margin-bottom: 8px;
 color: var(--primary-color);
}
.contact-info-item p {
 color: var(--text-light);
 line-height: 1.6;
}
.map-container {
 margin-top: 32px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-sm);
}

/* Forms */
.form-group {
 margin-bottom: 20px;
}
.form-label {
 display: block;
 font-weight: 600;
 margin-bottom: 8px;
 font-size: 0.9rem;
 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);
 font-family: var(--font-main);
}
.form-control:focus {
 outline: none;
 border-color: var(--secondary-color);
 box-shadow: 0 0 0 3px rgba(119, 141, 169, 0.2);
}
textarea.form-control {
 resize: vertical;
 min-height: 120px;
}
.form-group-consent {
 display: flex;
 align-items: flex-start;
 gap: 12px;
 margin-bottom: 24px;
}
.form-group-consent input {
 margin-top: 5px;
}
.form-group-consent label {
 font-size: 0.85rem;
 color: var(--text-light);
}
.thank-you-section {
 min-height: 50vh;
 display: flex;
 align-items: center;
 justify-content: center;
}
.text-center {
 text-align: center;
}

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

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

.footer-grid {
 display: grid;
 grid-template-columns: 2fr 1fr 1fr 1.5fr;
 gap: 40px;
 margin-bottom: 40px;
}

.footer-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: white;
 margin-bottom: 16px;
 display: block;
}

.footer-description {
 font-size: 0.9rem;
 line-height: 1.6;
 color: var(--text-muted);
}

.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: var(--text-muted);
 font-size: 0.9rem;
}

.footer-links a:hover {
 color: white;
}

.footer-contact-item {
 font-size: 0.9rem;
 color: var(--text-muted);
 margin-bottom: 16px;
 line-height: 1.6;
}
.footer-contact-item a {
 color: var(--text-muted);
}
.footer-contact-item a:hover {
 color: white;
}

.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;
 flex-wrap: wrap;
 gap: 16px;
}

.footer-copyright {
 font-size: 0.85rem;
 color: var(--text-muted);
}

.footer-legal-links {
 display: flex;
 gap: 24px;
}

.footer-legal-links a {
 font-size: 0.85rem;
 color: var(--text-muted);
}

.footer-legal-links a:hover {
 color: white;
}

/* Cookie Banner */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background-color: var(--primary-color);
 color: white;
 padding: 20px;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
 box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}
.cookie-banner p {
 margin: 0;
 font-size: 0.9rem;
}
.cookie-banner a {
 color: var(--bg-white);
 text-decoration: underline;
}
.cookie-buttons {
 display: flex;
 gap: 10px;
 flex-shrink: 0;
}
.cookie-buttons button {
 padding: 8px 16px;
 border: 1px solid white;
 background: transparent;
 color: white;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: var(--transition);
}
.cookie-buttons button:first-child {
 background: white;
 color: var(--primary-color);
}
.cookie-buttons button:hover {
 opacity: 0.8;
}

/* Cookie Table */
.cookie-table {
 width: 100%;
 border-collapse: collapse;
 margin: 30px 0;
 font-size: 0.9rem;
}
.cookie-table th, .cookie-table td {
 border: 1px solid var(--border-color);
 padding: 12px 15px;
 text-align: left;
}
.cookie-table th {
 background-color: var(--bg-light);
 font-weight: 600;
}
.cookie-table tbody tr:nth-of-type(even) {
 background-color: var(--bg-light);
}

/* Responsive */
@media (max-width: 992px) {
 .grid-3, .media-object, .media-object.reverse, .contact-grid, .footer-grid {
 grid-template-columns: 1fr;
 }
 .media-object.reverse .media-visual {
 order: 0;
 }
 .media-visual img {
 max-height: 350px;
 }
}

@media (max-width: 768px) {
 .nav-toggle {
 display: block;
 z-index: 1001;
 }
 .nav-links {
 position: fixed;
 top: 0;
 right: -100%;
 width: 80%;
 height: 100vh;
 background: var(--bg-white);
 flex-direction: column;
 padding: 100px 40px;
 gap: 24px;
 box-shadow: var(--shadow-lg);
 transition: right 0.4s ease-in-out;
 align-items: flex-start;
 }
 .nav-links.active {
 right: 0;
 }
 .cookie-banner {
 flex-direction: column;
 text-align: center;
 }
}