/* Global Styles */
:root {
    --primary-color: #003554;    /* Deep blue - 60% */
    --accent-color: #C85E2C;     /* Terracotta - 30% */
    --light-color: #F5F5F5;      /* Light gray - 10% */
    --text-color: #2d3748;
    --light-bg: #f7fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #003554;

}


h2{
    color: var(--primary-color);
    display: flex;
    justify-content: center;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.hero-section .container {
    position: relative;
    z-index: 3;
    text-align: center;
}

@keyframes gradient {
    0% {
        background-position: 0% 0%, 0% 0%;
    }
    25% {
        background-position: 0% 0%, 100% 50%;
    }
    50% {
        background-position: 0% 0%, 50% 100%;
    }
    75% {
        background-position: 0% 0%, 0% 50%;
    }
    100% {
        background-position: 0% 0%, 0% 0%;
    }
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

.hero-section h2 {
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    background: transparent;  /* Using terracotta for CTA */
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;  
    text-decoration: none;
    margin-top: 2rem;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: var(--accent-color); /* Slightly lighter terracotta */
    color: white;
    transform: translateY(-2px);
}

/* Services Section Styles */
.services-section {
    padding: 5rem 0;
    width: 100%;
    display: grid;
    place-items: center;
}

.row {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.column {
    width: 100%;
    padding: 0 1em 1em 1em;
    text-align: center;
}

.card {
    width: 100%;
    height: 100%;
    padding: 2em 1.5em;
    background: linear-gradient(#ffffff 50%, var(--primary-color) 50%);
    background-size: 100% 200%;
    background-position: 0 2.5%;
    border-radius: 5px;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: 0.5s;
    position: relative;
}

.card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-color);
    margin: 1em 0;
}

.card p {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.03em;
}

.icon-wrapper {
    background-color: var(--primary-color);
    position: relative;
    margin: auto;
    font-size: 30px;
    height: 2.5em;
    width: 2.5em;
    color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: 0.5s;
}

.card:hover {
    background-position: 0 100%;
}

.card:hover .icon-wrapper {
    background-color: #ffffff;
    color: var(--primary-color);
}

.card:hover h3 {
    color: #ffffff;
}

.card:hover p {
    color: #f0f0f0;
}

.card-content {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.expanded-text {
    display: none;
    margin-top: 1em;
    color: var(--text-color);
}

.card.expanded {
    height: auto;
}

.card.expanded .expanded-text {
    display: block;
}

.card.expanded .card-text {
    margin-bottom: 1em;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
    margin-top: 1em;
    transition: color 0.3s ease;
}

.card:hover .read-more-btn {
    color: #ffffff;
}

.card.expanded:hover .read-more-btn {
    color: #ffffff;
}

@media screen and (min-width: 768px) {
    .services-section {
        padding: 0 2em;
    }
    .column {
        flex: 0 50%;
        max-width: 50%;
    }
}

@media screen and (min-width: 992px) {
    .services-section {
        padding: 1em 3em;
    }
    .column {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Navigation Styles */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    padding: 0;  /* Remove padding from nav */
    z-index: 1000;
    transition: background-color 0.3s ease;
}

/* Add this class via JavaScript when scrolling */
.main-nav.scrolled {
    background: rgba(0, 53, 84, 0.95); /* Primary color with high opacity */
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;  /* This ensures vertical centering */
    padding: 0.5rem 0;   /* Add padding to container instead */
}

.logo {
    height: 80px;
    display: flex;      /* Add flex display */
    align-items: center; /* Center logo vertically */
}

.logo img {
    height: 70px;
    width: auto;
    padding: 5px 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.language-selector {
    background: var(--accent-color);
    border: none;
    color: var(--light-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* Add a custom dropdown arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) center;
    padding-right: 35px;  /* Make room for the arrow */
}

.language-selector option {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.language-selector:hover {
    background-color: #d66d3b; /* Slightly lighter terracotta */
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* You'll need JavaScript to create a mobile menu */
    }
}

html {
    scroll-behavior: smooth;
}

/* Submit Button */
.submit-button {
    background: var(--accent-color);
    color: var(--light-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

*::-webkit-scrollbar {
    background-color: transparent;
    width: 15px;
  }
  *::-webkit-scrollbar-track {
    background-color: transparent;
  }
  *::-webkit-scrollbar-thumb {
    border-radius: 20px;
    border: 4px solid transparent;
    background-color: rgba(0,0,0,0.2);
    background-clip: content-box;
    color: var(--accent-color);
  }


/* Update the footer styles */
footer {
    padding: 1rem 2rem;
    background-color: #f3f7f8 ;     
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-text {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}

/* About Section Styles */
.about-section {
    padding: 5rem 0;
    background-color: #f2f7f8;
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.about-image {
    flex: 0 0 300px;
    height: 400px;
    background-color: #f0f0f0; /* Placeholder color until image is added */
    border-radius: 10px;
    overflow: hidden;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-text p:first-child {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .about-image {
        width: 100%;
        height: 300px;
    }
}

/* Approach Section Styles */
.approach-section {
    padding: 5rem 0;
    background-color: white;
}   

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2em 0;
}

/* The vertical line */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #e17055;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 45%;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin: 2em 0;
}

/* Position items */
.timeline-item:nth-child(odd) {
    margin-right: 55%;
}

.timeline-item:nth-child(even) {
    margin-left: 55%;
}

/* Dots */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #e17055;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd)::after {
    right: -57px; /* Fixed position relative to the center line */
    transform: translate(50%, -50%);
}

.timeline-item:nth-child(even)::after {
    left: -56px; /* Fixed position relative to the center line */
    transform: translate(-50%, -50%);
}

/* Mobile adjustments - now with extra small screen support */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 20px; /* Moved closer to the left edge */
    }
    
    .timeline-item {
        width: calc(100% - 60px); /* Reduced margin */
        margin: 1em 0 1em 40px !important; /* Reduced left margin */
    }
    
    .timeline-item::after {
        left: -26px !important; /* Adjusted dot position */
        transform: translate(-50%, -50%) !important;
    }
}

/* Extra small screens (iPhone SE, etc.) */
@media screen and (max-width: 375px) {
    .timeline::after {
        left: 15px; /* Even closer to the left edge */
    }
    
    .timeline-item {
        width: calc(100% - 45px);
        margin: 1em 0 1em 30px !important;
        padding: 15px; /* Smaller padding for content */
    }
    
    .timeline-item::after {
        left: -21px !important;
        width: 10px; /* Slightly smaller dots */
        height: 10px;
    }
}

/* Contact Section Styles */
.contact_us_section {
    padding: 5rem 0;
    background: white;
}

.form-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 4rem;
}

.form-wrapper {
    flex: 1;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.field-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}


.field-wrapper label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #333;
}

.input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

textarea.input {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #004d77;
}

/* Contact Info Styles */
.contact-info {
    padding: 2rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item img {
    width: 24px;
    height: 24px;
}

.contact-item span {
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.social-links img:hover {
    opacity: 1;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .form-container {
        flex-direction: column;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-details {
        align-items: center;
    }
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Updated/New Mobile-First Media Queries */

/* Base mobile styles (up to 480px) */
@media screen and (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    /* Adjust services cards */
    .column {
        padding: 0 0.5em 1em 0.5em;
    }
    
    .card {
        padding: 1.5em 1em;
    }
    
    /* Adjust contact form */
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-form {
        padding: 0 1rem;
    }
}

/* Tablet styles (481px to 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    /* Navigation adjustments */
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        flex-direction: column;
        padding: 1rem 0;
        gap: 1rem;
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    /* About section adjustments */
    .about-content {
        flex-direction: column;
        align-items: center;
    }
    
    .about-image {
        width: 80%;
        max-width: 300px;
        height: auto;
        aspect-ratio: 3/4;
    }
}

/* Laptop styles (769px to 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .column {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* General responsive adjustments */
@media screen and (max-width: 1024px) {
    /* Adjust spacing */
    section {
        padding: 3rem 0;
    }
    
    /* Timeline adjustments */
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: calc(100% - 80px);
        margin: 1em 0 1em 80px !important;
    }
    
    .timeline-item::after {
        left: -45px !important;
    }
    
    /* Contact section adjustments */
    .form-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-info {
        text-align: center;
    }
}

/* Add a hamburger menu for mobile */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
}

/* Fix for iPhone notch */
@supports (padding: max(0px)) {
    .main-nav {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    
    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
}

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.privacy-checkbox input[type="checkbox"] {
    margin-top: 5px;
}

.privacy-checkbox label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.privacy-checkbox a {
    color: var(--accent-color);
    text-decoration: underline;
}

.custom-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Privacy Policy Page Styles */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.privacy-content h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.privacy-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.privacy-content p, 
.privacy-content ul {
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: center;
}

.privacy-content ul {
    list-style: none;
    padding: 0;
}

.privacy-content ul li {
    margin-bottom: 0.5rem;
}

.email-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;     
}

.email-link:hover {
    color: var(--accent-color);
   
}


.reference-logos {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.reference-image {
    height: 200px;
    object-fit: contain;
    display: none;
    max-width: 100%;
}

.reference-image.active {
    display: block;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    padding: 10px;
}

.arrow-left {
    left: 0;
    transform: translateY(-50%) translateX(-100px); /* Pas de waarde aan om de pijl verder naar links te verplaatsen */
    color: var(--primary-color);
}

.arrow-right {
    right: 0;
    transform: translateY(-50%) translateX(100px); /* Pas de waarde aan om de pijl verder naar rechts te verplaatsen */
    color: var(--primary-color);
}
