:root {
    --color-dark-blue: #1e3a8a;
    --color-cyan: #06b6d4;
    --color-white: #ffffff;
    --color-light-gray: #f0f4f8;
    --color-medium-gray: #a0aec0;
    --color-dark-gray: #2d3748;
    --color-background: #0a192f; /* Darker blue for background */

    --font-headline: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-width: 1100px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-light-gray);
    line-height: 1.7;
    font-size: 16px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-headline);
    color: var(--color-white);
    line-height: 1.2;
}

h1 { font-size: 3.5rem; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--color-cyan); }

a {
    color: var(--color-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo-svg {
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-svg {
    transform: scale(1.05);
}

#main-header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

#main-header nav a {
    color: var(--color-light-gray);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

#main-header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-cyan);
    transition: width 0.3s ease;
}

#main-header nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background: radial-gradient(circle, rgba(29,58,138,0.3) 0%, var(--color-background) 60%);
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

.hero-image {
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.2);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--color-medium-gray);
    margin-bottom: 2rem;
    max-width: 500px;
}

.btn-neutral {
    display: inline-block;
    font-family: var(--font-headline);
    font-weight: 500;
    padding: 12px 30px;
    border: 2px solid var(--color-cyan);
    color: var(--color-cyan);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-neutral:hover {
    background-color: var(--color-cyan);
    color: var(--color-dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.2);
}

/* General Section Styling */
section {
    padding: 100px 0;
}

.section-title { text-align: left; position: relative; padding-bottom: 10px; margin-bottom: 2rem; }
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-cyan) 0%, var(--color-dark-blue) 100%);
}
.text-center.section-title::after { left: 50%; transform: translateX(-50%); }
.section-subtitle { max-width: 700px; margin: 0 auto 3rem auto; color: var(--color-medium-gray); }

/* Info Section */
.article-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.article-grid article {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.article-grid article:nth-child(even) {
    grid-template-columns: 1.2fr 1fr;
}

.article-grid article:nth-child(even) .article-image {
    order: 2;
}

.article-image img {
    border-radius: 8px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.article-content ul {
    list-style: none;
    padding-left: 0;
}

.article-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.article-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-cyan);
}

/* Use Cases Section */
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 3rem;
}

.case-study-card {
    background-color: #112240; /* Slightly lighter than bg */
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(6, 182, 212, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.case-study-card p { color: var(--color-medium-gray); }

.use-case-image-container img { border-radius: 8px; }

/* Challenges Section */
.challenges-section .container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.challenge-image-container img { border-radius: 8px; }

.challenge-content dl dt {
    font-family: var(--font-headline);
    font-weight: bold;
    color: var(--color-cyan);
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

.challenge-content dl dd {
    color: var(--color-medium-gray);
    margin-left: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
}

/* Contact Section */
.contact-section {
    background-color: #112240;
}

.contact-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-form-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    color: var(--color-medium-gray);
    font-size: 0.9rem;
}

.form-group input, .form-group textarea {
    background-color: var(--color-background);
    border: 1px solid var(--color-dark-blue);
    border-radius: 5px;
    padding: 12px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-cyan);
}

/* Map Section */
.map-section { padding: 0; }

/* Footer */
#main-footer {
    background-color: #061223;
    padding: 60px 0 20px 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: var(--font-headline);
    color: var(--color-cyan);
    margin-bottom: 15px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a, .footer-col address a {
    color: var(--color-medium-gray);
}
.footer-col ul a:hover, .footer-col address a:hover {
    color: var(--color-white);
}
.footer-about p { color: var(--color-medium-gray); margin-top: 15px; }

.footer-disclaimer {
    border-top: 1px solid rgba(6, 182, 212, 0.1);
    padding-top: 20px;
    text-align: center;
    color: var(--color-medium-gray);
    font-size: 0.8rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #112240;
    padding: 20px;
    z-index: 2000;
    border-top: 1px solid var(--color-cyan);
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie, .btn-cookie-secondary {
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
}

.btn-cookie {
    background-color: var(--color-cyan);
    color: var(--color-dark-blue);
    border: 1px solid var(--color-cyan);
}

.btn-cookie-secondary {
    background-color: transparent;
    color: var(--color-cyan);
    border: 1px solid var(--color-cyan);
}

/* Scroll Animations */
.fade-in { animation: fadeIn 1s ease-out forwards; }
.fade-in-delay { animation: fadeIn 1s 0.3s ease-out forwards; }
.fade-in-delay-2 { animation: fadeIn 1s 0.6s ease-out forwards; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }

    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content { order: 2; }
    .hero-image-container { order: 1; margin-bottom: 2rem; }
    .hero-content p { margin: 0 auto 2rem auto; }

    .article-grid article, .article-grid article:nth-child(even) {
        grid-template-columns: 1fr;
    }
    .article-grid article:nth-child(even) .article-image { order: 1; }
    .article-image { margin-bottom: 1.5rem; }

    .challenges-section .container {
        grid-template-columns: 1fr;
    }
    .challenge-image-container { margin-bottom: 2rem; }
}

@media (max-width: 768px) {
    #main-header .container { padding: 0 10px; }
    #main-header nav { display: none; /* Simple hide for demo, would need a burger menu */ }

    .case-study-grid { grid-template-columns: 1fr; }
    .contact-section .container { grid-template-columns: 1fr; }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cookie-content { flex-direction: column; gap: 15px; text-align: center; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-col { text-align: center; }
}
