@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
 --primary-color: #1a365d; /* Midnight Navy */
 --accent-color: #d69e2e; /* Gold Accent */
 --secondary-color: #a0aec0; /* Silver */
 --text-dark: #1a202c;
 --text-light: #4a5568;
 --text-muted: #718096;
 --bg-light: #f7fafc;
 --bg-white: #ffffff;
 --border-color: #e2e8f0;
 --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
 --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
 --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
 --radius-sm: 4px;
 --radius-md: 8px;
 --radius-lg: 16px;
 --transition: all 0.3s ease-in-out;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}

html {
 scroll-behavior: smooth;
 font-size: 16px;
}

body {
 font-family: var(--font-main);
 line-height: 1.6;
 color: var(--text-light);
 background: var(--bg-white);
 -webkit-font-smoothing: antialiased;
 padding-top: 80px;
}

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

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

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

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

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

/* Header & Nav */
.header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 background: rgba(255, 255, 255, 0.85);
 backdrop-filter: blur(10px);
 height: 80px;
 transition: var(--transition);
 box-shadow: none;
}
.header.scrolled {
 box-shadow: var(--shadow-md);
 background: rgba(255, 255, 255, 0.98);
}
.nav {
 height: 100%;
 display: flex;
 align-items: center;
 justify-content: space-between;
}
.nav-logo {
 font-size: 1.75rem;
 font-weight: 700;
 color: var(--primary-color);
 letter-spacing: -1px;
}
.nav-logo:hover { color: var(--text-dark); }
.nav-links {
 display: flex;
 gap: 32px;
 list-style: none;
}
.nav-links a {
 font-weight: 600;
 color: var(--text-dark);
 padding: 8px 0;
 position: relative;
 font-size: 1rem;
}
.nav-links a::after {
 content: '';
 position: absolute;
 bottom: 0px;
 left: 50%;
 transform: translateX(-50%);
 width: 0;
 height: 2px;
 background: var(--accent-color);
 transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
 width: 100%;
}
.nav-toggle { display: none; }

/* Buttons */
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 padding: 12px 28px;
 font-size: 1rem;
 font-weight: 600;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: var(--transition);
 border: 2px solid transparent;
 text-decoration: none;
}
.btn-primary {
 background: var(--primary-color);
 color: white;
}
.btn-primary:hover {
 background: var(--accent-color);
 transform: translateY(-2px);
 box-shadow: var(--shadow-md);
}
.btn-secondary {
 background: transparent;
 color: var(--primary-color);
 border-color: var(--primary-color);
}
.btn-secondary:hover {
 background: var(--primary-color);
 color: white;
 transform: translateY(-2px);
}
.btn.btn-large {
 padding: 16px 36px;
 font-size: 1.1rem;
}
.btn-block {
 width: 100%;
}

/* 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(--accent-color);
 color: var(--text-dark);
 padding: 6px 16px;
 border-radius: 20px;
 font-size: 0.9rem;
 font-weight: 600;
 margin-bottom: 1rem;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}
.section-title {
 margin-bottom: 1rem;
}
.section-subtitle {
 font-size: 1.1rem;
 line-height: 1.7;
 color: var(--text-light);
}

/* Hero Section */
.hero-section {
 padding: 80px 0;
 background: var(--bg-white);
}
.hero-container {
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 gap: 60px;
}
.hero-tagline {
 display: block;
 font-size: 1.1rem;
 font-weight: 600;
 color: var(--accent-color);
 margin-bottom: 1rem;
}
.hero-title {
 font-size: clamp(2.5rem, 5vw, 3.8rem);
 color: var(--primary-color);
}
.hero-description {
 font-size: 1.2rem;
 margin: 1.5rem 0 2.5rem;
 max-width: 550px;
}
.hero-actions {
 display: flex;
 gap: 16px;
}
.hero-image-container {
 perspective: 1000px;
}
.hero-image {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
 transform: rotateY(-10deg) rotateX(2deg);
 transition: 0.5s ease-out;
}
.hero-image-container:hover .hero-image {
 transform: rotateY(0) rotateX(0);
}

/* Stats Section */
.stats-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 30px;
 text-align: center;
 margin-top: 60px;
}
.stat-item {
 padding: 20px;
}
.stat-number {
 font-size: 3.5rem;
 font-weight: 700;
 color: var(--primary-color);
 line-height: 1;
}
.stat-caption {
 font-size: 1rem;
 color: var(--text-light);
 margin-top: 8px;
}

/* Media Object */
.media-object {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 60px;
 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);
 width: 100%;
 object-fit: cover;
 max-height: 450px;
}
.media-copy h3 {
 font-size: 1.75rem;
 color: var(--primary-color);
}
.media-copy p {
 margin-bottom: 1rem;
}
.media-copy ul {
 list-style: none;
 margin-top: 1.5rem;
 padding-left: 0;
}
.media-copy ul li {
 position: relative;
 padding-left: 28px;
 margin-bottom: 12px;
}
.media-copy ul li::before {
 content: '';
 position: absolute;
 left: 0;
 top: 2px;
 color: var(--accent-color);
 font-weight: 700;
}

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

.card {
 background: var(--bg-white);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
 overflow: hidden;
 display: flex;
 flex-direction: column;
 padding: 32px;
 border: 1px solid var(--border-color);
}
.card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-lg);
}
.card-icon {
 color: var(--accent-color);
 margin-bottom: 1.5rem;
}
.card-icon svg { width: 40px; height: 40px; }
.card h3 {
 font-size: 1.3rem;
 margin-bottom: 1rem;
}
.card p {
 flex-grow: 1;
 margin-bottom: 1.5rem;
}
.card-link {
 font-weight: 600;
 color: var(--primary-color);
 display: inline-block;
}
.card-link:hover {
 color: var(--accent-color);
}
.card-image-top {
 height: 200px;
 width: 100%;
 object-fit: cover;
}
.card-body {
 padding: 24px;
 display: flex;
 flex-direction: column;
 flex-grow: 1;
}
.card-meta {
 font-size: 0.9rem;
 color: var(--text-muted);
 margin-top: auto;
 padding-top: 1rem;
}

/* Timeline */
.timeline-section {
 position: relative;
}
.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;
 background: inherit;
 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: white;
 border: 4px solid var(--accent-color);
 top: 25px;
 border-radius: 50%;
 z-index: 1;
}
.timeline-item:nth-child(even)::after {
 left: -10px;
}
.timeline-content {
 padding: 20px 30px;
 background: var(--bg-white);
 position: relative;
 border-radius: var(--radius-md);
 box-shadow: var(--shadow-sm);
}
.timeline-year {
 font-weight: 700;
 color: var(--accent-color);
 margin-bottom: 8px;
 display: inline-block;
}

/* CTA Section */
.cta-section {
 background: var(--primary-color);
 color: var(--bg-light);
 text-align: center;
 padding: 80px 0;
}
.cta-title { color: white; }
.cta-text {
 font-size: 1.2rem;
 max-width: 600px;
 margin: 1rem auto 2rem;
}
.cta-section .btn-primary {
 background: var(--accent-color);
 color: var(--text-dark);
}
.cta-section .btn-primary:hover {
 background: white;
}

/* Page Hero */
.page-hero {
 text-align: center;
 padding: 80px 0;
 background: var(--bg-light);
}
.page-title {
 color: var(--primary-color);
}
.page-subtitle {
 max-width: 800px;
 margin: 1.5rem auto 0;
}

/* Team Section */
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 30px;
}
.team-member {
 text-align: center;
 background: white;
 padding: 30px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
}
.team-member:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-lg);
}
.team-photo {
 width: 140px;
 height: 140px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 20px;
 border: 4px solid var(--border-color);
}
.team-name {
 color: var(--primary-color);
 font-size: 1.25rem;
 margin-bottom: 4px;
}
.team-title {
 font-weight: 600;
 color: var(--accent-color);
 margin-bottom: 12px;
}
.team-bio {
 font-size: 0.9rem;
}

/* Testimonials */
.testimonial-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
 gap: 30px;
}
.testimonial {
 background: white;
 padding: 30px;
 border-radius: var(--radius-md);
 border-left: 5px solid var(--accent-color);
 box-shadow: var(--shadow-md);
}
.testimonial-text {
 font-style: italic;
 font-size: 1.1rem;
 margin-bottom: 20px;
 color: var(--text-dark);
}
.testimonial-author {
 display: flex;
 align-items: center;
 gap: 15px;
}
.author-photo {
 width: 60px;
 height: 60px;
 border-radius: 50%;
 object-fit: cover;
}
.author-name {
 margin: 0;
 font-size: 1.1rem;
}
.author-title {
 font-size: 0.9rem;
 color: var(--text-muted);
}

/* FAQ */
.faq-container {
 max-width: 800px;
 margin: 0 auto;
}
.faq-item {
 border-bottom: 1px solid var(--border-color);
}
.faq-question {
 padding: 20px;
 cursor: pointer;
 font-weight: 600;
 font-size: 1.1rem;
 position: relative;
 list-style: none; /* remove default marker */
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
 content: '+';
 position: absolute;
 right: 20px;
 font-size: 1.5rem;
 transition: transform 0.2s;
}
.faq-item[open] .faq-question::after {
 transform: rotate(45deg);
}
.faq-answer {
 padding: 0 20px 20px;
}

/* Footer */
.footer {
 background: var(--primary-color);
 color: #a0aec0;
 padding: 80px 0 30px;
 margin-top: 80px;
}
.footer-grid {
 display: grid;
 grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
 gap: 40px;
 margin-bottom: 40px;
}
.footer-logo {
 font-size: 1.75rem;
 font-weight: 700;
 color: white;
 margin-bottom: 16px;
 display: block;
}
.footer-description {
 font-size: 0.9rem;
 line-height: 1.6;
 margin-bottom: 20px;
}
.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 a {
 color: #a0aec0;
 text-decoration: none;
 font-size: 0.95rem;
}
.footer-links a:hover { color: white; }
.footer-contact-item {
 display: flex;
 align-items: flex-start;
 gap: 12px;
 margin-bottom: 16px;
 font-size: 0.95rem;
 color: #a0aec0;
}
.footer-contact-item svg {
 width: 20px;
 height: 20px;
 flex-shrink: 0;
 margin-top: 3px;
 color: var(--accent-color);
}
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.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(--accent-color);
 transform: translateY(-3px);
 color: var(--text-dark);
}
.footer-disclaimer {
 margin: 40px 0;
 font-size: 0.8rem;
 color: var(--text-muted);
}
.footer-disclaimer strong {
 color: #a0aec0;
}
.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.9rem; color: #718096; }
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a { font-size: 0.9rem; color: #718096; }
.footer-legal-links a:hover { color: white; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; margin-bottom: 8px; 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-light);
 font-family: var(--font-main);
}
.form-control:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.2);
 background: var(--bg-white);
}
textarea.form-control { resize: vertical; min-height: 150px; }

/* Contact Page */
.contact-page-grid {
 display: grid;
 grid-template-columns: 1.2fr 1fr;
 gap: 60px;
 align-items: flex-start;
}
.contact-form-container h3, .contact-info-container h3 {
 font-size: 1.75rem;
 color: var(--primary-color);
}
.contact-details-list {
 list-style: none;
 margin-top: 2rem;
}
.contact-detail-item {
 display: flex;
 gap: 16px;
 margin-bottom: 24px;
 align-items: flex-start;
}
.contact-detail-item .contact-icon {
 flex-shrink: 0;
 width: 32px;
 height: 32px;
 background: var(--bg-light);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
}
.contact-detail-item .contact-icon svg {
 width: 20px;
 height: 20px;
 color: var(--primary-color);
}
.contact-detail-item strong {
 display: block;
 font-weight: 600;
 color: var(--text-dark);
}
.map-section { padding-top: 0; }
.map-container {
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-lg);
}

/* Legal Pages */
.legal-page main { padding-top: 0; }
.legal-content {
 max-width: 800px;
}
.legal-content h2 { margin-top: 2rem; font-size: 1.5rem; color: var(--primary-color); }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content ul, .legal-content ol { padding-left: 20px; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.5rem; }
.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: var(--bg-light);
 font-weight: 600;
}

/* Cookie Banner */
.cookie-banner {
 position: fixed;
 bottom: 20px;
 left: 20px;
 right: 20px;
 max-width: 600px;
 background: var(--text-dark);
 color: white;
 padding: 20px;
 border-radius: var(--radius-md);
 box-shadow: var(--shadow-lg);
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
}
.cookie-banner a { color: var(--accent-color); font-weight: 600; }
.cookie-buttons { display: flex; gap: 10px; }
.cookie-buttons .btn-primary { background: var(--accent-color); color: var(--text-dark); border:none; }
.cookie-buttons .btn-secondary { color: white; border-color: white; }

/* Animations */
.reveal {
 opacity: 0;
 transform: translateY(30px);
 transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
 opacity: 1;
 transform: translateY(0);
}
.hero-content.reveal { transition-delay: 0.2s; }
.hero-image-container.reveal { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
 .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
 .hero-container, .media-object, .media-object.reverse { grid-template-columns: 1fr; }
 .hero-content { text-align: center; }
 .hero-description { margin-left: auto; margin-right: auto; }
 .hero-actions { justify-content: center; }
 .media-object.reverse .media-visual { order: 1; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .contact-page-grid { grid-template-columns: 1fr; }
 .timeline::after { left: 31px; }
 .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
 .timeline-item:nth-child(even) { left: 0%; }
 .timeline-item::after { left: 21px; }
}

@media (max-width: 768px) {
 body { padding-top: 70px; }
 .header { height: 70px; }
 .nav-toggle {
 display: flex;
 flex-direction: column;
 gap: 5px;
 cursor: pointer;
 background: none;
 border: none;
 }
 .nav-toggle span {
 display: block;
 width: 25px;
 height: 3px;
 background: var(--text-dark);
 border-radius: 3px;
 transition: var(--transition);
 }
 .nav-menu {
 position: fixed;
 top: 70px;
 left: 0;
 right: 0;
 background: var(--bg-white);
 flex-direction: column;
 padding: 24px;
 box-shadow: var(--shadow-md);
 transform: translateY(-120%);
 transition: transform 0.4s ease;
 height: calc(100vh - 70px);
 }
 .nav-menu.active {
 transform: translateY(0);
 }
 .nav-links {
 flex-direction: column;
 align-items: center;
 gap: 24px;
 }
 .section { padding: 60px 0; }
 h1 { font-size: 2.2rem; }
 h2 { font-size: 1.8rem; }
 .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: 1fr; text-align: center; }
 .footer-social, .footer-legal-links { justify-content: center; }
 .footer-bottom { flex-direction: column; gap: 20px; }
 .cookie-banner { flex-direction: column; text-align: center; }
}