/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Blue & Green Tints */
    --primary-blue: #2c5f7c;
    --secondary-blue: #4a9ba8;
    --light-blue: #7fb3c1;
    --lighter-blue: #b8d4dd;
    --lightest-blue: #e8f4f8;
    
    --primary-green: #5a8a7a;
    --secondary-green: #6ba68a;
    --light-green: #8fc4a8;
    --lighter-green: #b8dcc8;
    --lightest-green: #e8f5ed;
    
    --text-dark: #1a2e3a;
    --text-medium: #4a5f6b;
    --text-light: #6b7d88;
    --white: #ffffff;
    
    --shadow-sm: 0 2px 8px rgba(44, 95, 124, 0.1);
    --shadow-md: 0 4px 16px rgba(44, 95, 124, 0.15);
    --shadow-lg: 0 8px 32px rgba(44, 95, 124, 0.2);
    
    --transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    --nav-height: 92px;
}

html {
    scroll-behavior: smooth;
    color-scheme: only light;
    scroll-padding-top: var(--nav-height);
    background-color: #ffffff !important;
    overflow-x: hidden;
}

body {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: #ffffff !important;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    font-family: "Raleway", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

img {
    max-width: 100%;
    height: auto;
}

svg {
    max-width: 100%;
    overflow: hidden;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

@supports (backdrop-filter: blur(10px)) {
    @media (min-width: 969px) {
        .navbar {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
    }
}

.navbar.navbar--hidden {
    transform: translateY(-100%);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 2rem;
}

.nav-brand {
    width: auto;
    max-width: 220px;
    min-width: 0;
    flex-shrink: 0;
}

.nav-brand-link {
    display: block;
    text-decoration: none;
    color: inherit;
    line-height: 0;
}

.nav-brand-link:hover {
    opacity: 0.92;
}

.nav-brand-link:focus-visible {
    outline: 2px solid var(--secondary-blue);
    outline-offset: 4px;
    border-radius: 4px;
}

.nav-brand img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    font-family: "Raleway", -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    justify-content: center;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: inherit;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-blue);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--secondary-blue);
}

.nav-menu .linkedin-link {
    display: flex;
    align-items: center;
    padding: 0.25rem;
}

.nav-menu .linkedin-link svg {
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
    transition: var(--transition);
}

.nav-menu .linkedin-link:hover svg {
    color: var(--secondary-blue);
    transform: translateY(-2px);
}

.nav-menu .linkedin-link::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 95, 124, 0.4) 0%, rgba(90, 138, 122, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    position: relative;
}

.hero-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--white);
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: "Raleway", -apple-system, BlinkMacSystemFont, sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Section Styles */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    color: var(--primary-blue);
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--secondary-green));
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(44, 95, 124, 0.2);
    transition: var(--transition);
    max-height: 500px;
    align-self: end;
}

.about-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(44, 95, 124, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    object-fit: cover;
    object-position: center bottom;
    border-radius: 16px;
}

.image-placeholder {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 1s ease-out;
}

/* Services Section */
.services {
    background: linear-gradient(180deg, var(--white) 0%, var(--lightest-blue) 100%);
}

.services-carousel {
    position: relative;
    width: 100%;
}

.services-carousel-inner {
    position: relative;
}

.services-carousel-viewport {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    outline: none;
}

.services-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.services-carousel-viewport:focus-visible {
    box-shadow: 0 0 0 3px rgba(44, 95, 124, 0.35);
    border-radius: 16px;
}

.services-carousel .service-card {
    flex: 0 0 100%;
    min-width: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
}

.services-carousel-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
}

.services-carousel-arrow svg {
    width: 24px;
    height: 24px;
}

.services-carousel-arrow:hover:not(:disabled) {
    color: var(--secondary-blue);
    box-shadow: var(--shadow-lg);
}

.services-carousel-arrow:focus-visible {
    outline: 2px solid var(--secondary-blue);
    outline-offset: 2px;
}

.services-carousel-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: var(--shadow-sm);
}

.services-carousel-arrow--prev {
    left: 0;
}

.services-carousel-arrow--next {
    right: 0;
}

@media (min-width: 969px) {
    .services-carousel-inner {
        padding: 0 3.5rem;
    }

    .services-carousel-arrow {
        display: flex;
    }

    .services-carousel-viewport {
        gap: 2rem;
    }

    .services-carousel .service-card {
        flex: 0 0 calc((100% - 4rem) / 3);
        min-height: 480px;
        display: flex;
        flex-direction: column;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

}

.services-carousel-viewport.carousel-instant-scroll,
.portfolio-carousel-viewport.carousel-instant-scroll {
    scroll-behavior: auto !important;
}

.services-carousel-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(44, 95, 124, 0.08);
    border-radius: 999px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.services-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(44, 95, 124, 0.28);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease, border-radius 0.25s ease;
}

.services-carousel-dot:hover {
    background: rgba(44, 95, 124, 0.45);
}

.services-carousel-dot:focus-visible {
    outline: 2px solid var(--secondary-blue);
    outline-offset: 2px;
}

.services-carousel-dot.is-active {
    width: 22px;
    border-radius: 4px;
    background: var(--secondary-blue);
}

@media (prefers-reduced-motion: reduce) {
    .services-carousel-viewport,
    .portfolio-carousel-viewport {
        scroll-behavior: auto;
    }

    .services-carousel-dot,
    .portfolio-carousel-dot {
        transition: none;
    }
}

/* Portfolio carousel (zelfde patroon als diensten-carrousel) */
.portfolio-carousel {
    position: relative;
    width: 100%;
}

.portfolio-carousel-inner {
    position: relative;
}

.portfolio-carousel-viewport {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    outline: none;
}

.portfolio-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.portfolio-carousel-viewport:focus-visible {
    box-shadow: 0 0 0 3px rgba(44, 95, 124, 0.35);
    border-radius: 16px;
}

.portfolio-carousel .portfolio-card {
    flex: 0 0 100%;
    min-width: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
}

.portfolio-carousel-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-carousel-arrow svg {
    width: 24px;
    height: 24px;
}

.portfolio-carousel-arrow:hover:not(:disabled) {
    color: var(--secondary-blue);
    box-shadow: var(--shadow-lg);
}

.portfolio-carousel-arrow:focus-visible {
    outline: 2px solid var(--secondary-blue);
    outline-offset: 2px;
}

.portfolio-carousel-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: var(--shadow-sm);
}

.portfolio-carousel-arrow--prev {
    left: 0;
}

.portfolio-carousel-arrow--next {
    right: 0;
}

@media (min-width: 969px) {
    .portfolio-carousel-inner {
        padding: 0 3.5rem;
    }

    .portfolio-carousel-arrow {
        display: flex;
    }

    .portfolio-carousel-viewport {
        gap: 2rem;
    }

    .portfolio-carousel .portfolio-card {
        flex: 0 0 calc((100% - 4rem) / 3);
        display: flex;
        flex-direction: column;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .portfolio-carousel .portfolio-card .portfolio-content {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
    }
}

.portfolio-carousel-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(44, 95, 124, 0.08);
    border-radius: 999px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(44, 95, 124, 0.28);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease, border-radius 0.25s ease;
}

.portfolio-carousel-dot:hover {
    background: rgba(44, 95, 124, 0.45);
}

.portfolio-carousel-dot:focus-visible {
    outline: 2px solid var(--secondary-blue);
    outline-offset: 2px;
}

.portfolio-carousel-dot.is-active {
    width: 22px;
    border-radius: 4px;
    background: var(--secondary-blue);
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--secondary-green));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--lightest-blue), var(--lightest-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* Portfolio Section */
.portfolio {
    background: var(--white);
}

.portfolio-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.portfolio-image svg {
    width: 100%;
    height: 100%;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--lightest-green);
    color: var(--primary-green);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.portfolio-content h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: clamp(1.05rem, 2.4vw, 1.3rem);
    line-height: 1.35;
    font-weight: 600;
}

.portfolio-type {
    color: var(--secondary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.portfolio-content p {
    color: var(--text-medium);
    line-height: 1.7;
}

.portfolio-description {
    position: relative;
}

.portfolio-description .description-full {
    display: none;
}

.portfolio-description .description-dots {
    display: inline;
}

.portfolio-description.expanded .description-full {
    display: inline;
}

.portfolio-description.expanded .description-dots {
    display: none;
}

.read-more-link {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 0.25rem;
}

.read-more-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}


/* Contact Section */
.contact {
    background: linear-gradient(180deg, var(--lightest-blue) 0%, var(--white) 100%);
}

.contact-content {
    width: 60%;
}

.contact-info h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 2rem;
    color: var(--text-medium);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-medium);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--secondary-blue);
    flex-shrink: 0;
}

.contact-item a {
    color: var(--text-medium);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--secondary-blue);
    text-decoration: underline;
}


/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    color: var(--white);
    margin: 0;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--secondary-green) 100%);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.scroll-to-top:focus {
    outline: 2px solid var(--secondary-blue);
    outline-offset: 2px;
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: slideUp 0.6s ease-out both;
}

.fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
    }
    to {
        transform: translateY(0);
    }
}

/* Scroll Animations */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Portfolio Card Animations */
.portfolio-card.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.portfolio-card.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-card.fade-in-on-scroll:nth-child(1) {
    transition-delay: 0s;
}

.portfolio-card.fade-in-on-scroll:nth-child(2) {
    transition-delay: 0.15s;
}

.portfolio-card.fade-in-on-scroll:nth-child(3) {
    transition-delay: 0.3s;
}

.portfolio-card.fade-in-on-scroll:nth-child(4) {
    transition-delay: 0.45s;
}

.portfolio-card.fade-in-on-scroll:nth-child(5) {
    transition-delay: 0.6s;
}

.portfolio-card.fade-in-on-scroll:nth-child(6) {
    transition-delay: 0.75s;
}

/* Responsive Design */
@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        width: 100%;
    }

    .nav-brand {
        max-width: 170px;
    }

    .nav-brand img {
        max-height: 44px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .hero {
        min-height: 90vh;
        padding-top: 100px;
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--primary-green) 100%);
    }

    .hero-video-container {
        display: none;
    }


    .service-card,
    .portfolio-card {
        padding: 1.5rem;
    }

    .contact-content {
        width: 100%;
    }

    .nav-brand {
        max-width: 140px;
    }

    .nav-brand img {
        max-height: 36px;
    }
    .hero-video-overlay,
    .services-carousel-viewport {
        transform: translateZ(0);
        backface-visibility: hidden;
        will-change: transform;
    }

    .hero {
        isolation: isolate;
    }
}