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

/* Prevent horizontal scroll on all major elements */
img,
video,
iframe,
table,
embed,
object {
    max-width: 100%;
    height: auto;
}

:root {
    --navy: #0a1f3d;
    --gold: #d4a574;
    --light-gold: #e8d5c4;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --text-dark: #333333;
    --text-light: #666666;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0;
}

nav.scrolled .logo-container {
    height: 70px;
    width: 140px;
}

nav.scrolled .logo {
    height: 150px;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.logo-container {
    height: 100px;
    width: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.logo {
    height: 140px;
    width: auto;
    object-fit: contain;
    object-position: center;
    transition: all 0.3s ease;
    transform: scale(1.15);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
    color: var(--white);
    padding: 150px 2rem 100px;
    text-align: center;
    margin-top: 130px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--light-gold);
    animation: fadeInUp 1s ease 0.2s both;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
    background: var(--light-gold);
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 165, 116, 0.3);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    width: 100%;
    box-sizing: border-box;
}

.section {
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    width: 100%;
    overflow: visible;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background: var(--gold);
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1.2rem;
    margin-top: 0.5rem;
}

/* Project Leadership Section */
.project-leadership {
    background: linear-gradient(180deg, #ffffff 0%, var(--light-gray) 50%, #ffffff 100%);
    padding: 4rem 2rem;
    position: relative;
}

.project-leadership::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--navy) 50%, var(--gold) 100%);
}

.project-content {
    max-width: 1000px;
    margin: 0 auto;
}

.project-intro {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.highlight-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin: 1.5rem 0;
}

.service-list {
    list-style: none;
    margin: 1rem 0;
}

.service-list li {
    padding: 0.6rem 0 0.6rem 2rem;
    position: relative;
}

.service-list li::before {
    content: '•';
    color: var(--gold);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.profile-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}


.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 1.5rem 0;
    justify-content: flex-start;
}

.value-tag {
    background: var(--light-gold);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    text-align: center;
    font-weight: 600;
    color: var(--navy);
}

/* Services Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: var(--navy);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-gradient-1 {
    background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 100%);
}

.icon-gradient-2 {
    background: linear-gradient(135deg, var(--navy) 0%, #2a4a6c 100%);
}

.icon-gradient-3 {
    background: linear-gradient(135deg, var(--gold) 0%, var(--navy) 100%);
}

.price {
    background: var(--gold);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
}

/* Training Cards */
.training-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin: 1.2rem 0;
    border-left: 5px solid var(--gold);
}

.training-card h4 {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.training-details {
    background: var(--light-gray);
    padding: 1.2rem;
    border-radius: 10px;
    margin: 0.8rem 0;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
}

.step-number {
    background: var(--gold);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Clients & Certifications */
.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    align-items: center;
}

.logo-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(135deg, var(--gold), var(--navy));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-item:hover::before {
    opacity: 1;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.logo-item .logo-title {
    font-weight: 700;
    color: var(--navy);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.logo-item .logo-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.3;
}

.logo-item.with-initial::after {
    content: attr(data-initial);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    font-weight: 700;
    color: var(--light-gold);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.logo-item .logo-title,
.logo-item .logo-subtitle {
    position: relative;
    z-index: 1;
}

.logo-item img,
.cert-logo {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

/* Contact Form */
.contact-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--light-gray) 30%, var(--light-gray) 70%, #ffffff 100%);
    padding: 4rem 2rem;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 50%, var(--navy) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background: var(--navy);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
}

.contact-info h3 {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.contact-item {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px; /* Prevents zoom on iOS */
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--gold);
    color: var(--white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(10, 31, 61, 0.3);
}

/* Footer */
footer {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.scroll-to-top:hover {
    background: var(--navy);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.scroll-to-top.visible {
    display: flex;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 3rem 1rem;
    }

    .hero {
        padding: 120px 1rem 80px;
        margin-top: 100px;
    }

    .project-leadership {
        padding: 3rem 1rem;
    }

    .contact-section {
        padding: 3rem 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--white);
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 1.8rem;
        padding: 0 0.5rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.6rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .section-subtitle {
        font-size: 1.2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .training-card {
        padding: 1.5rem;
        margin: 0.8rem 0;
    }

    .highlight-box {
        padding: 1.5rem;
        margin: 0.8rem 0;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

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

    .contact-form {
        padding: 1.5rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .logo-container {
        height: 70px;
        width: 130px;
    }

    .logo {
        height: 120px;
        transform: scale(1.1);
    }


    /* Prevent horizontal scroll */
    .section {
        max-width: 100%;
        opacity: 1 !important;
        transform: translateY(0) !important;
        margin-bottom: 1.5rem;
    }

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

    /* Ensure services section is visible */
    #diensten {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
    }

    /* Fix form input zoom on mobile */
    .form-group input,
    .form-group textarea {
        font-size: 16px !important;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    /* Prevent overflow on all sections */
    .hero,
    .project-leadership,
    .container,
    .contact-section {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Fix service cards overflow */
    .service-card,
    .training-card,
    .highlight-box {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}
