* {

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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: #ececec;
    font-family: Arial, Helvetica, sans-serif;
}



/* First full-screen section */
.top-section,
.image-section {
    width: 100%;
    height: 100vh;
    flex-shrink: 0;
    overflow: visible;
    scroll-snap-align: start;
    scroll-snap-stop: always;

    display: flex;
    justify-content: center;
    align-items: center;
}

.image-section {
    position: relative;
    overflow: hidden;
}

/* Snowfall layer */
.snow-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.wrapper img {
    display: block;
    width: 100%;
    height: auto;
}
/* Individual snowflakes */
.snowflake {
    position: absolute;
    top: -40px;

    color: #b8e5ff;
    opacity: 0;

    user-select: none;
    pointer-events: none;

    /* Dark outline and icy glow */
    text-shadow:
        1px 1px 2px rgba(30, 70, 100, 0.9),
        -1px -1px 2px rgba(30, 70, 100, 0.6),
        0 0 5px #65b9e8,
        0 0 12px rgba(70, 170, 230, 0.8);

    -webkit-text-stroke: 0.5px #6b9fbd;

    animation: snowfall linear forwards;
}

@keyframes snowfall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: var(--snow-opacity);
    }

    70% {
        opacity: var(--snow-opacity);
    }

    100% {
        transform: translateY(var(--fall-distance))
                   rotate(var(--rotation));
        opacity: 0;
    }
}

/* Keep image above snowfall */
.zoom-image {
    z-index: 1;
}
/* Image */
.zoom-image {
    position: relative;
    z-index: 1;

    max-width: 80%;
    max-height: 60%;
    filter: drop-shadow(0 40px 40px rgba(0, 0, 0, 0.7));
    backdrop-filter: blur(8px);
    cursor: zoom-in;
    transition: transform 0.5s ease;
}

.zoom-image.zoomed {
    transform: scale(2);
    z-index: 1000;
    cursor: zoom-out;
}


.card {
    position: relative;
    overflow: hidden;

    width: fit-content;
    min-width: 75vh;
    padding: 30px;
    margin: 40px;

    background: #2E6F40;
    color: #EBA937;

    border-radius: 20px;

    box-shadow: 0 30px 120px rgba(0, 0, 0, 0.8);

    transition:
        box-shadow 1.4s ease,

}


/*.card:hover {
            box-shadow:
                0 0 120px rgba(0, 0, 0, 0.8),
                0 0 120px rgba(0, 0, 0, 0.8);

            
        }*/

.card-content {
    position: relative;
    z-index: 2;
}

.card-pattern {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.2;
}

.card-pattern svg {
    width: 250%;
    height: 250%;
    transform: translate(-10%, -10%);
}

.company {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 25px;
}

.name {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 5px;
}

.title {
    font-size: 24px;
    opacity: .9;
    margin-bottom: 25px;
}

.contact {
    line-height: 1.8;
    font-size: 18px;
}

a {
    color: #EBA937;
}

a:hover {
    color: white;
}

.fade-in-image {
    animation: fadeIn 2s;
}


@media (max-width: 767px) {
    .card {
        min-width: unset;
        width: calc(100vw - 40px);
        margin: 20px;
        padding: 20px;
    }
}

@media (min-width: 768px) {
    .card {
        min-width: 75vh;
    }
}

@keyframes fadeIn {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}