/* Brandkleuren Dimaros */
:root {
    --dimaros-blue: #367ac7;
    --dimaros-green: #99bf57;
    --dimaros-orange: #ee8d29;
    --hackbank-dark: #0c1515;
    --hackbank-accent: #66be69;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.wave-divider {
    position: relative;
    height: 150px;
    background: linear-gradient(to bottom, #f9fafb 0%, var(--hackbank-dark) 100%);
    overflow: hidden;
}

.wave-divider::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 100%;
    top: 0;
    left: -50%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff' opacity='0.3'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 1;
}

.matrix-bg {
    position: relative;
    overflow: hidden;
}

.matrix-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(12, 21, 21, 0.85), rgba(12, 21, 21, 0.9));
    z-index: 0;
}

.matrix-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.matrix-column {
    position: absolute;
    top: -100%;
    font-family: monospace;
    color: rgba(102, 190, 105, 0.3);
    font-size: 1.2rem;
    text-align: center;
    animation: fall linear infinite;
    text-shadow: 0 0 5px rgba(102, 190, 105, 0.5);
}

.matrix-highlight {
    color: rgba(102, 190, 105, 0.9);
    text-shadow: 0 0 10px rgba(102, 190, 105, 0.8);
}

@keyframes fall {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100vh);
    }
}

.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(102, 190, 105, 0.5);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.sticky-nav {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
}

.glitch {
    position: relative;
    animation: glitch 1s linear infinite alternate;
}

@keyframes glitch {
    0% {
        text-shadow: 1px 0 0 rgba(102, 190, 105, 0.7), -1px 0 0 rgba(255, 0, 0, 0.3);
    }
    20% {
        text-shadow: 1px 0 0 rgba(102, 190, 105, 0.7), -1px 0 0 rgba(255, 0, 0, 0.3);
    }
    21% {
        text-shadow: -1px 0 0 rgba(102, 190, 105, 0.7), 1px 0 0 rgba(255, 0, 0, 0.3);
    }
    40% {
        text-shadow: -1px 0 0 rgba(102, 190, 105, 0.7), 1px 0 0 rgba(255, 0, 0, 0.3);
    }
    41% {
        text-shadow: 1px 0 0 rgba(102, 190, 105, 0.7), -1px 0 0 rgba(255, 0, 0, 0.3);
    }
    60% {
        text-shadow: 1px 0 0 rgba(102, 190, 105, 0.7), -1px 0 0 rgba(255, 0, 0, 0.3);
    }
    61% {
        text-shadow: -1px 0 0 rgba(102, 190, 105, 0.7), 1px 0 0 rgba(255, 0, 0, 0.3);
    }
    80% {
        text-shadow: -1px 0 0 rgba(102, 190, 105, 0.7), 1px 0 0 rgba(255, 0, 0, 0.3);
    }
    81% {
        text-shadow: 1px 0 0 rgba(102, 190, 105, 0.7), -1px 0 0 rgba(255, 0, 0, 0.3);
    }
    100% {
        text-shadow: 1px 0 0 rgba(102, 190, 105, 0.7), -1px 0 0 rgba(255, 0, 0, 0.3);
    }
}

.terminal-border {
    border: 1px solid rgba(102, 190, 105, 0.5);
    box-shadow: 0 0 15px rgba(102, 190, 105, 0.3);
    background: rgba(12, 21, 21, 0.7);
}

.terminal-header {
    background: rgba(102, 190, 105, 0.2);
    border-bottom: 1px solid rgba(102, 190, 105, 0.5);
}

.terminal-text {
    font-family: monospace;
}

.terminal-cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background-color: rgba(102, 190, 105, 0.7);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.binary-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: -2;
    overflow: hidden;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='10' y='20' font-family='monospace' font-size='10' fill='%2366be69'%3E01011%3C/text%3E%3Ctext x='50' y='40' font-family='monospace' font-size='10' fill='%2366be69'%3E10101%3C/text%3E%3Ctext x='20' y='60' font-family='monospace' font-size='10' fill='%2366be69'%3E01010%3C/text%3E%3Ctext x='70' y='80' font-family='monospace' font-size='10' fill='%2366be69'%3E10110%3C/text%3E%3C/svg%3E");
}

.hero-gradient {
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
}

.hero-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23367ac7' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.blob-shape {
    position: absolute;
    z-index: -1;
    opacity: 0.7;
}

.blob-1 {
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(54, 122, 199, 0.1) 0%, rgba(54, 122, 199, 0) 70%);
    border-radius: 50%;
}

.blob-2 {
    bottom: -20%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(153, 191, 87, 0.1) 0%, rgba(153, 191, 87, 0) 70%);
    border-radius: 50%;
}

@media (max-height: 1536px) {
    #home {
        min-height: 100vh;
    }
}

@media (min-height: 1536px) and (max-height: 2048px) {
    #home {
        min-height: 60vh;
    }
}


@media (min-height: 2048px) {
    #home {
        min-height: 40vh;
    }
}