:root {
    --primary-color: #0a2540; /* Dark Blue */
    --secondary-color: #f7f9fc; /* Light Grey background */
    --accent-color: #bfa15c; /* Gold */
    --accent-color-hover: #a68a49;
    --text-primary: #1a1a1a;
    --text-secondary: #525f7f;
    --text-light: #ffffff;
    --border-color: #e6e6e6;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;
    --spacing-xxl: 120px;
    --border-radius: 8px;
    --shadow: 0 10px 30px -15px rgba(0,0,0,0.1);
    --transition-speed: 300ms;
}

/* --- RESET & GLOBALS --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
p { margin-bottom: var(--spacing-md); }
a { color: var(--accent-color); text-decoration: none; transition: color var(--transition-speed) ease; }
a:hover { color: var(--accent-color-hover); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- LAYOUT UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}
section {
    padding: var(--spacing-xxl) 0;
}
.text-center { text-align: center; }
.section-header {
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}
.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}
.narrow-content { max-width: 800px; margin: 0 auto; }
.narrow-content h3 { margin-top: 2rem; }
.narrow-content ul { list-style: disc; padding-left: 20px; margin-bottom: 1rem;}
.narrow-content li { margin-bottom: 0.5rem; }


/* --- HEADER --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-md) 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all var(--transition-speed) ease;
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}
.nav-links a {
    color: var(--text-secondary);
    font-weight: 600;
    padding: var(--spacing-sm) 0;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-speed) ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
.nav-links a.active {
    color: var(--primary-color);
}
.header-cta { display: block; }
.mobile-menu-toggle { display: none; }

/* --- BUTTONS --- */
.cta-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--accent-color);
    color: var(--text-light);
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all var(--transition-speed) ease;
}
.cta-button:hover {
    background-color: var(--accent-color-hover);
    border-color: var(--accent-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.cta-button-accent {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.cta-button-accent:hover {
    background-color: #000;
    border-color: #000;
}
.learn-more-link {
    font-weight: 700;
    color: var(--primary-color);
}

/* --- HERO SECTIONS --- */
.hero-home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    background: url('https://images.pexels.com/photos/4098168/pexels-photo-4098168.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940') no-repeat center center/cover;
    position: relative;
}
.hero-home::before, .hero-page::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 37, 64, 0.7);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 var(--spacing-lg);
}
.hero-content h1 {
    color: var(--text-light);
}
.hero-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}
.hero-page {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    background-size: cover;
    background-position: center;
    position: relative;
}
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    z-index: 2;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* --- FEATURES SECTION --- */
.features-section { background-color: var(--secondary-color); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}
.feature-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all var(--transition-speed) ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -15px rgba(0,0,0,0.15);
}
.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    background: var(--accent-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-icon svg {
    width: 30px;
    height: 30px;
}

/* --- SERVICES OVERVIEW SECTION --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}
.service-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition-speed) ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -15px rgba(0,0,0,0.15);
}
.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.service-card-content {
    padding: var(--spacing-lg);
}

/* --- ABOUT OVERVIEW --- */
.about-overview-section { background-color: var(--secondary-color); }
.about-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xl);
    align-items: center;
}
.about-overview-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}
.testimonial-card {
    background: var(--secondary-color);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--spacing-md);
    border: 4px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.testimonial-card p {
    font-style: italic;
    margin-bottom: var(--spacing-md);
}
.testimonial-card cite {
    font-style: normal;
    color: var(--primary-color);
}

/* --- CTA SECTION --- */
.cta-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}
.cta-section h2, .cta-section p {
    color: var(--text-light);
}
.cta-section .cta-button-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}
.cta-section .cta-button-accent:hover {
    background-color: var(--accent-color-hover);
    border-color: var(--accent-color-hover);
}

/* --- PARTNERS SECTION --- */
.partners-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--secondary-color);
}
.partners-section h3 {
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    margin-bottom: var(--spacing-lg);
}
.partners-logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
}
.partners-logo-grid img {
    max-height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition-speed) ease;
}
.partners-logo-grid img:hover {
    filter: none;
    opacity: 1;
}

/* --- FOOTER --- */
.main-footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--spacing-xl) 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-xl);
}
.footer-column h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}
.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    padding: 5px 0;
    display: block;
}
.footer-column ul li a:hover {
    color: var(--accent-color);
}
.footer-column p {
    margin-bottom: var(--spacing-sm);
}
.social-links {
    display: flex;
    gap: var(--spacing-md);
}
.social-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-speed) ease;
}
.social-links a:hover { color: var(--accent-color); }
.social-links svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg) 0;
    text-align: center;
    font-size: 0.9rem;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); }

/* --- ABOUT PAGE --- */
.history-section { background-color: var(--secondary-color); }
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}
.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;
    background-color: white;
    border: 4px solid var(--accent-color);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(odd)::after {
    right: -10px;
}
.timeline-item:nth-child(even)::after {
    left: -10px;
}
.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}
.mission-values-section .mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}
.value-item { margin-bottom: var(--spacing-lg); }
.value-item h4 { color: var(--accent-color); }
.team-section { background-color: var(--secondary-color); }
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}
.team-member-card {
    text-align: center;
}
.team-member-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow);
}
.team-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}
.stats-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}
.stat-item h3 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: var(--accent-color);
}
.stat-item p {
    font-size: 1.1rem;
    color: var(--text-light);
}


/* --- SERVICES PAGE --- */
.services-catalog-section { background-color: var(--secondary-color); }
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}
.service-detail-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}
.service-detail-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
}
.service-detail-card .cta-button { margin-top: auto; }

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}
.process-step-number {
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
}
.faq-section { background-color: var(--secondary-color); }
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: var(--spacing-md) 0;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform var(--transition-speed) ease;
}
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.faq-answer p { padding: 0 0 var(--spacing-md); }

/* --- CONTACT PAGE --- */
.contact-section { background-color: var(--secondary-color); }
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-xl);
}
.contact-form-container {
    background: #fff;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}
.form-group { margin-bottom: var(--spacing-md); }
.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--primary-color);
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(191, 161, 92, 0.2);
}
.contact-info-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}
.contact-info-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 5px;
}
.map-container {
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- THANK YOU PAGE --- */
.thank-you-section {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.thank-you-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.thank-you-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

/* --- UTILITY & ANIMATIONS --- */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-on-scroll:nth-child(2) { transition-delay: 100ms; }
.animate-on-scroll:nth-child(3) { transition-delay: 200ms; }
.animate-on-scroll:nth-child(4) { transition-delay: 300ms; }
.animate-on-scroll:nth-child(5) { transition-delay: 400ms; }
.animate-on-scroll:nth-child(6) { transition-delay: 500ms; }

/* --- COOKIE BANNER --- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 37, 64, 0.95);
    color: white;
    padding: var(--spacing-md) 0;
    z-index: 9999;
    display: none;
    align-items: center;
}
.cookie-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}
.cookie-container p { margin: 0; font-size: 0.9rem; }
.cookie-container a { color: var(--accent-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: var(--spacing-sm); }
#cookie-banner button {
    padding: 8px 16px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
}
#cookie-banner button:first-child {
    background: var(--accent-color);
    color: white;
}
#cookie-banner button:last-child {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .about-overview-grid, .mission-values-section .mission-grid {
        grid-template-columns: 1fr;
    }
    .about-overview-image { order: -1; }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        position: relative;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        gap: 0;
        padding: var(--spacing-md) 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-speed) ease;
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a {
        display: block;
        padding: var(--spacing-md) var(--spacing-lg);
    }
    .nav-links a::after { display: none; }
    .header-cta { display: none; }
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10;
    }
    .mobile-menu-toggle span {
        width: 30px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 10px;
        transition: all 0.3s linear;
        position: relative;
        transform-origin: 1px;
    }
    .mobile-menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg);
    }
    .mobile-menu-toggle.open span:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }
    .mobile-menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg);
    }

    section { padding: var(--spacing-xl) 0; }
    .timeline::after { left: 20px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item:nth-child(odd) { left: 0; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item::after { left: 10px; }
    
    .cookie-container {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
}