* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    overflow-y: auto; /* ALLOW vertical scrolling */
}

body {
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    position: relative;
    overflow-y: auto; /* ALLOW vertical scrolling */
}

/* CHANGED: Remove fixed heights, we'll set them dynamically */
.slides-container {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    /* Height will be set dynamically via JS */
}

/* CHANGED: Remove fixed vh height */
.slide {
    width: 100vw;
    position: relative;
    max-width: 100vw;
    overflow: hidden;
    /* Height will be set dynamically via JS */
}

/* IMPROVED: Better mobile handling without breaking scrolling */
@media screen and (max-width: 1024px) {
    /* Allow touch scrolling but control overscroll */
    html, body {
        overscroll-behavior-y: none; /* Disable pull-to-refresh only */
        -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS */
    }
    
    /* Prevent horizontal scroll on mobile */
    body {
        overflow-x: hidden;
        position: relative;
        width: 100%;
        height: auto;
    }
}

/* Enhanced scroll snap for desktop */
@media screen and (min-width: 1025px) {
    .slides-container {
        scroll-snap-type: y mandatory;
        scroll-behavior: smooth;
    }
    
    .slide {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

/* Slide 1 - New Grid Layout */
#slide-1 {
    background: #0b0a0a;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    width: 100vw;
    max-width: 100vw;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('background-s.jpg') center/cover no-repeat;
    transform: scale(1.08) translate3d(0,0,0);
    will-change: transform;
    transition: transform .2s ease;
    z-index: 1;
    width: 100vw;
    max-width: 100vw;
}

/* Slide 1 Grid Layout */
.slide-1-grid {
    display: grid;
    grid-template-columns: 10% 80% 10%;
    grid-template-rows: 25% 25% 5% 15% 30%;
    width: 100vw;
    max-width: 100vw;
    height: 100%;
    position: relative;
    z-index: 2;
}

.slide-1-grid .grid-cell {
    display: flex;
    justify-content: center;
    max-width: 100%;
}

/* Headline in row 2, col 2 - Align to bottom */
.slide-1-grid .s1-2-2 {
    grid-area: 2 / 2 / 3 / 3;
    align-items: flex-end;
}

/* Headline body in row 4, col 2 - Align to top */
.slide-1-grid .s1-4-2 {
    grid-area: 4 / 2 / 5 / 3;
    align-items: flex-start;
}

/* UPDATED: Text styles with responsive sizing */
.headline {
    font-size: clamp(32px, 6vw, 60px); /* Min 32px, preferred 6% of viewport width, max 60px */
    margin: 0;
    color: #eae7df;
    font-family: ui-serif, Georgia, serif;
    text-align: center;
    width: 100%;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    line-height: 1.1; /* Better for headlines */
    word-wrap: break-word; /* Prevent overflow */
}

.headline-body {
    font-size: clamp(14px, 2vw, 24px); /* Min 14px, preferred 2% of viewport width, max 24px */
    color: #eae7df;
    font-family: Arial, sans-serif;
    font-weight: 400;
    margin: 0;
    opacity: 0.9;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    line-height: 1.4; /* Better readability for body text */
}

/* Desktop breakpoint for slide 1 - UPDATED with clamp values */
@media screen and (min-width: 1025px) {
    #slide-1 .headline {
        font-size: clamp(36px, 5vw, 60px); /* Slightly adjusted for desktop */
        padding: 0 20px;
    }
    
    #slide-1 .headline-body {
        font-size: clamp(16px, 1.8vw, 24px);
        padding: 0 20px;
    }
}

/* Tablet breakpoint - UPDATED with clamp values */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    #slide-1 .headline {
        font-size: clamp(36px, 7vw, 65px); /* Adjusted for tablet */
        padding: 0 15px;
    }
    
    #slide-1 .headline-body {
        font-size: clamp(16px, 2.2vw, 22px);
        padding: 0 15px;
    }
    
    /* Adjust grid for tablet */
    .slide-1-grid {
        grid-template-columns: 5% 90% 5%;
    }
}

/* Mobile breakpoint - UPDATED with optimized clamp values */
@media screen and (max-width: 768px) {
    #slide-1 .headline {
        font-size: clamp(28px, 8vw, 42px); /* Optimized for mobile readability */
        padding: 0 10px;
        line-height: 1.2;
    }
    
    #slide-1 .headline-body {
        font-size: clamp(14px, 3.5vw, 18px);
        padding: 0 10px;
        line-height: 1.5;
    }
    
    /* Adjust grid for mobile - KEEPING THIS AS IT WAS */
    .slide-1-grid {
        grid-template-columns: 3% 94% 3%;
    }
}

/* REST OF CSS BELOW - UNCHANGED */
#slide-2 {
    background-color: #0A0A0A;
    width: 100vw;
    max-width: 100vw;
}

#slide-3 {
    background-color: #F3F3F3;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 5% 20% 5% 60% 5% 5%;
    gap: 1px;
    transition: background-color 0.5s ease;
    width: 100vw;
    max-width: 100vw;
}

.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #333;
    font-size: 14px;
    z-index: 100;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.grid-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
    max-width: 100%;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    max-width: 100%;
}

.carousel-card {
    position: relative;
    width: 95%;
    height: 95%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: transparent;
    max-width: 100%;
}

.carousel-card.flip-right {
    transform: rotateY(180deg);
}

.carousel-card.flip-left {
    transform: rotateY(-180deg);
}

.carousel-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    max-width: 100%;
}

.carousel-face.front {
    transform: rotateY(0deg);
}

.carousel-face.back {
    transform: rotateY(180deg);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.carousel-arrow {
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease, opacity 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.icon-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    height: 100%;
    padding: 10px;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.icon-buttons.hidden {
    opacity: 0;
    visibility: hidden;
}

.icon-button {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.icon-button:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.cta {
    background: none;
    border: none;
    color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
    text-decoration: none;
    max-width: 100%;
    white-space: nowrap;
}

.cta:hover {
    transform: translateY(-2px);
    color: #333333;
}

.s3-4-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.s3-4-2 .typewriter-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    padding: 0;
    box-sizing: border-box;
    width: min(90vw, 1000px);
    max-width: 100%;
    height: auto;
    min-height: 0;
}

.s3-2-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    max-width: 100%;
}

.typewriter-line {
    font-size: 18px;
    line-height: 1.6;
    font-family: 'Nautilus', cursive;
    color: #111;
    font-weight: 500;
    text-align: left;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    height: 38.4px;
    display: block;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
    overflow: visible;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.typewriter-line.visible {
    opacity: 1;
    transform: translateY(0);
}

.typewriter-cursor::after {
    content: '';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.typewriter-container.fade-out {
    animation: fadeOut 1.5s ease forwards;
}

#slide-3.typewriter-active {
    background-color: #F3F3F3 !important;
}

.carousel-arrow:focus,
.cta:focus,
button:focus {
    outline: none;
    border: none;
}

.carousel-arrow:focus-visible,
.cta:focus-visible,
button:focus-visible {
    outline: none;
    border: none;
}

.cta:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.small-arrow {
    border-radius: 0 !important;
    background: transparent !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.small-arrow:hover {
    background: transparent !important;
    border-radius: 0 !important;
}

.ss-arrow-left,
.ss-arrow-right {
    border-radius: 0 !important;
    background: transparent !important;
}

@media screen and (min-width: 1025px) {
    .big-screen-layout {
        display: grid;
        grid-template-columns: 5% 30% 5% 55% 5%;
        grid-template-rows: 15% 25% 25% 20% 15%;
        gap: 1px;
        width: 100%;
        height: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .small-screen-layout {
        display: none !important;
    }
    
    .bs-1-1 { grid-area: 1 / 1 / 2 / 2; }
    .bs-1-2 { grid-area: 1 / 2 / 2 / 3; }
    .bs-1-3 { grid-area: 1 / 3 / 2 / 4; }
    .bs-1-4 { grid-area: 1 / 4 / 2 / 5; }
    .bs-1-5 { grid-area: 1 / 5 / 2 / 6; }
    
    .bs-2-1 { grid-area: 2 / 1 / 3 / 2; }
    .bs-2-2 { grid-area: 2 / 2 / 3 / 3; }
    .bs-2-3 { grid-area: 2 / 3 / 3 / 4; }
    .bs-2-4 { grid-area: 2 / 4 / 3 / 5; }
    .bs-2-5 { grid-area: 2 / 5 / 3 / 6; }
    
    .bs-3-1 { grid-area: 3 / 1 / 4 / 2; }
    .bs-3-2 { grid-area: 3 / 2 / 4 / 3; }
    .bs-3-3 { grid-area: 3 / 3 / 4 / 4; }
    .bs-3-4 { grid-area: 3 / 4 / 4 / 5; }
    .bs-3-5 { grid-area: 3 / 5 / 4 / 6; }
    
    .bs-4-1 { grid-area: 4 / 1 / 5 / 2; }
    .bs-4-2 { grid-area: 4 / 2 / 5 / 3; }
    .bs-4-3 { grid-area: 4 / 3 / 5 / 4; }
    .bs-4-4 { grid-area: 4 / 4 / 5 / 5; }
    .bs-4-5 { grid-area: 4 / 5 / 5 / 6; }
    
    .bs-5-1 { grid-area: 5 / 1 / 6 / 2; }
    .bs-5-2 { grid-area: 5 / 2 / 6 / 3; }
    .bs-5-3 { grid-area: 5 / 3 / 6 / 4; }
    .bs-5-4 { grid-area: 5 / 4 / 6 / 5; }
    .bs-5-5 { grid-area: 5 / 5 / 6 / 6; }
    
    .bs-carousel-combined {
        grid-area: 2 / 4 / 5 / 5;
        background: transparent !important;
        max-width: 100%;
    }
    
    .bs-icons-container {
        grid-area: 4 / 2 / 5 / 3;
        background: transparent !important;
        max-width: 100%;
    }
    
    .big-arrows {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        display: flex;
        justify-content: space-between;
        padding: 0 20px;
        z-index: 10;
        pointer-events: none;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .big-arrows .carousel-arrow {
        pointer-events: auto;
        background: none;
        font-size: 32px;
        padding: 10px;
        z-index: 20;
    }
    
    /* Big screen icons left align */
    .icon-buttons {
        justify-content: flex-start;
        padding-left: 20px;
    }
    
    /* Responsive icon scaling for big screen */
    .bs-icons-container .icon-button {
        max-width: min(120px, 15vw);
        max-height: min(120px, 15vh);
        width: auto;
        height: auto;
        object-fit: contain;
        transition: all 0.3s ease;
    }

    .typewriter-line {
        font-size: 25px;
        height: 40px;
    }

    #slide-3 {
        grid-template-columns: 10% 80% 10%;
        grid-template-rows: 20% 10% 0% 40% 30% 0%;
        width: 100vw;
        max-width: 100vw;
    }
    
    .s3-1-1 { grid-area: 1 / 1 / 2 / 2; }
    .s3-2-2 { grid-area: 2 / 2 / 3 / 3; }
    .s3-3-1 { grid-area: 3 / 1 / 4 / 2; }
    .s3-4-2 { grid-area: 4 / 2 / 5 / 3; }
    .s3-5-1 { grid-area: 5 / 1 / 6 / 2; }
    .s3-6-1 { grid-area: 6 / 1 / 7 / 2; }
    .s3-1-3 { grid-area: 1 / 3 / 2 / 4; }
    .s3-3-3 { grid-area: 3 / 3 / 4 / 4; }
    .s3-5-3 { grid-area: 5 / 3 / 6 / 4; }
    .s3-6-3 { grid-area: 6 / 3 / 7 / 4; }

    .s3-4-2 .typewriter-container {
        width: 100%;
        max-width: 1000px;
        padding: 0;
    }
}

/* Additional responsive scaling for smaller big screens */
@media screen and (min-width: 1025px) and (max-width: 1400px) {
    .bs-icons-container .icon-button {
        max-width: min(100px, 12vw);
        max-height: min(100px, 12vh);
    }
}

@media screen and (min-width: 1025px) and (max-width: 1200px) {
    .bs-icons-container .icon-button {
        max-width: min(80px, 10vw);
        max-height: min(80px, 10vh);
    }
}

@media screen and (max-width: 1024px) {
    .big-screen-layout {
        display: none !important;
    }
    
    .small-screen-layout {
        display: grid;
        grid-template-columns: 5% 5% 80% 5% 5%;
        grid-template-rows: 5% 50% 5% 10% 20% 5% 5%;
        gap: 1px;
        width: 100vw;
        max-width: 100vw;
        height: 100%;
        box-sizing: border-box;
    }
    
    .ss-1-1 { grid-area: 1 / 1 / 2 / 2; }
    .ss-1-2 { grid-area: 1 / 2 / 2 / 3; }
    .ss-1-3 { grid-area: 1 / 3 / 2 / 4; }
    .ss-1-4 { grid-area: 1 / 4 / 2 / 5; }
    .ss-1-5 { grid-area: 1 / 5 / 2 / 6; }
    
    .ss-2-1 { grid-area: 2 / 1 / 3 / 2; }
    .ss-2-2 { grid-area: 2 / 2 / 3 / 3; }
    .ss-2-3 { grid-area: 2 / 3 / 3 / 4; }
    .ss-2-4 { grid-area: 2 / 4 / 3 / 5; }
    .ss-2-5 { grid-area: 2 / 5 / 3 / 6; }
    
    .ss-3-1 { grid-area: 3 / 1 / 4 / 2; }
    .ss-3-2 { grid-area: 3 / 2 / 4 / 3; }
    .ss-3-3 { grid-area: 3 / 3 / 4 / 4; }
    .ss-3-4 { grid-area: 3 / 4 / 4 / 5; }
    .ss-3-5 { grid-area: 3 / 5 / 4 / 6; }
    
    .ss-4-1 { grid-area: 4 / 1 / 5 / 2; }
    .ss-4-2 { grid-area: 4 / 2 / 5 / 3; }
    .ss-4-3 { grid-area: 4 / 3 / 5 / 4; }
    .ss-4-4 { grid-area: 4 / 4 / 5 / 5; }
    .ss-4-5 { grid-area: 4 / 5 / 5 / 6; }
    
    .ss-5-1 { grid-area: 5 / 1 / 6 / 2; }
    .ss-5-2 { grid-area: 5 / 2 / 6 / 3; }
    .ss-5-3 { grid-area: 5 / 3 / 6 / 4; }
    .ss-5-4 { grid-area: 5 / 4 / 6 / 5; }
    .ss-5-5 { grid-area: 5 / 5 / 6 / 6; }
    
    .ss-6-1 { grid-area: 6 / 1 / 7 / 2; }
    .ss-6-2 { grid-area: 6 / 2 / 7 / 3; }
    .ss-6-3 { grid-area: 6 / 3 / 7 / 4; }
    .ss-6-4 { grid-area: 6 / 4 / 7 / 5; }
    .ss-6-5 { grid-area: 6 / 5 / 7 / 6; }
    
    .ss-7-1 { grid-area: 7 / 1 / 8 / 2; }
    .ss-7-2 { grid-area: 7 / 2 / 8 / 3; }
    .ss-7-3 { grid-area: 7 / 3 / 8 / 4; }
    .ss-7-4 { grid-area: 7 / 4 / 8 / 5; }
    .ss-7-5 { grid-area: 7 / 5 / 8 / 6; }
    
    .ss-carousel {
        grid-area: 2 / 3 / 3 / 4;
        background: transparent !important;
        max-width: 100%;
    }
    
    .ss-icons-container {
        grid-area: 6 / 3 / 7 / 4;
        background: transparent !important;
        max-width: 100%;
    }
    
    .ss-arrow-left {
        grid-area: 5 / 2 / 6 / 3;
        background: transparent !important;
        padding: 0;
        max-width: 100%;
    }
    
    .ss-arrow-right {
        grid-area: 5 / 4 / 6 / 5;
        background: transparent !important;
        padding: 0;
        max-width: 100%;
    }
    
    .small-arrow {
        width: 100%;
        height: 100%;
        font-size: 28px;
        border-radius: 0 !important;
        background: transparent !important;
    }
    
    .small-arrow:hover {
        background: transparent !important;
        border-radius: 0 !important;
    }
    
    .ss-icons-container .icon-button {
        max-width: 100px;
        max-height: 100px;
    }

    .typewriter-line {
        font-size: 18px;
        height: 28.8px;
    }

    #slide-3 {
        grid-template-columns: 10% 80% 10%;
        grid-template-rows: 20% 5% 0% 60% 15% 0%;
        width: 100vw;
        max-width: 100vw;
    }
    
    .s3-1-1 { grid-area: 1 / 1 / 2 / 2; }
    .s3-2-2 { grid-area: 2 / 2 / 3 / 3; }
    .s3-3-1 { grid-area: 3 / 1 / 4 / 2; }
    .s3-4-2 { grid-area: 4 / 2 / 5 / 3; }
    .s3-5-1 { grid-area: 5 / 1 / 6 / 2; }
    .s3-6-1 { grid-area: 6 / 1 / 7 / 2; }
    .s3-1-3 { grid-area: 1 / 3 / 2 / 4; }
    .s3-3-3 { grid-area: 3 / 3 / 4 / 4; }
    .s3-5-3 { grid-area: 5 / 3 / 6 / 4; }
    .s3-6-3 { grid-area: 6 / 3 / 7 / 4; }

    .s3-4-2 .typewriter-container {
        width: 100%;
        max-width: 1000px;
        padding: 0;
    }
}

.carousel-headline {
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.carousel-body {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    line-height: 1.4;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

@media screen and (min-width: 1025px) {
    .carousel-headline {
        font-size: 28px;
        padding: 0 20px;
    }
    .carousel-body {
        font-size: 18px;
        padding: 0 20px;
    }
}

@media screen and (max-width: 1024px) {
    .carousel-headline {
        font-size: 20px;
        padding: 0 15px;
    }
    .carousel-body {
        font-size: 14px;
        padding: 0 15px;
    }
}

@font-face {
    font-family: 'Nautilus';
    src: url('Nautilus.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@media screen and (max-width: 440px) {
    .carousel-headline {
        font-size: 20px;
        padding: 0 10px;
    }
    .carousel-body {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .typewriter-line {
        font-size: 18px;
        height: 28.8px;
    }
    .cta {
        font-size: 22px;
    }
    
    .ss-icons-container .icon-button {
        max-width: 60px;
        max-height: 60px;
    }
}

@media screen and (min-width: 1025px) {
    .bs-2-2 {
        display: flex;
        align-items: flex-end;
        justify-content: flex-start;
        padding-left: 10px;
        padding-bottom: 10px;
    }

    .bs-3-2 {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        padding-left: 10px;
        padding-top: 10px;
    }

    .carousel-headline, .carousel-body {
        text-align: left;
        width: 100%;
    }
}

.cta {
    background: none;
    border: none;
    color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 21px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
    text-decoration: none;
}

.cta:hover {
    transform: translateY(-2px);
    color: #333333;
}

.contact-btn {
    font-family: Arial, sans-serif;
    font-size: 20px;
    outline: none;
    border: none;
}

.contact-btn:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.contact-container {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 40px;
  cursor: pointer;
}

.contact-btn, .email-reveal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: inherit;
  font-family: Arial, sans-serif;
  font-size: 20px;
  color: black;
  cursor: pointer;
}

.email-reveal {
  opacity: 0;
  font-size: 16px;
  transform: scaleX(0);
  pointer-events: none;
}

.contact-container.show-email .contact-btn {
  opacity: 0;
  transform: scaleX(0);
  pointer-events: none;
}

.contact-container.show-email .email-reveal {
  opacity: 1;
  transform: scaleX(1);
  pointer-events: auto;
}

.cta.shimmer {
    position: relative;
    overflow: hidden;
}

.cta.shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

:root {
    --shadow-blue: rgba(100, 150, 255, 0.15);
    --shadow-green: rgba(100, 220, 150, 0.15);
    --shadow-red: rgba(255, 100, 120, 0.15);
    --text-blue: #64a0ff;
    --text-green: #64dc96;
    --text-red: #ff6478;
}

.highlight-blue { color: var(--text-blue); }
.highlight-green { color: var(--text-green); }
.highlight-red { color: var(--text-red); }

.carousel-headline {
    font-size: 32px;
    margin: 0 0 25px 0;
    font-weight: normal;
    letter-spacing: 1px;
    line-height: 1.2;
    color: #eae7df;
    text-transform: uppercase;
}

.carousel-body {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
    max-width: 100%;
    color: rgba(255, 255, 255, 0.8);
}

.text-content {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.text-content.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

@media screen and (min-width: 1025px) {
    .bs-2-2, .bs-3-2 {
        position: relative;
        overflow: hidden;
        background: transparent !important;
    }
    
    .bs-2-2 .text-content {
        top: 0;
        height: 100%;
        align-items: flex-end;
        justify-content: flex-end;
        padding-bottom: 10px;
        padding-left: 10px;
    }
    
    .bs-3-2 .text-content {
        top: 0;
        height: 100%;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 10px;
        padding-left: 10px;
        padding-right: 15px;
    }
}

@media screen and (max-width: 1024px) {
    .ss-4-3, .ss-5-3 {
        position: relative;
        overflow: hidden;
        background: transparent !important;
    }
    
    .ss-4-3 .text-content,
    .ss-5-3 .text-content {
        top: 0;
        height: 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 2800px) {
    .carousel-headline {
        font-size: 42px;
    }
    .carousel-body {
        font-size: 24px;
    }
}

@media (max-width: 1024px) {
    .carousel-headline {
        font-size: 34px;
    }
    .carousel-body {
        font-size: 20px;
    }
}

@media (max-width: 450px) {
    .carousel-headline {
        font-size: 24px;
    }
    .carousel-body {
        font-size: 15px;
    }
}

.carousel-face[data-index="0"] {
    box-shadow: 0 25px 60px var(--shadow-blue);
}

.carousel-face[data-index="1"] {
    box-shadow: 0 25px 60px var(--shadow-green);
}

.carousel-face[data-index="2"] {
    box-shadow: 0 25px 60px var(--shadow-red);
}

.carousel-image {
    transform: translate3d(0,0,0.1px);
    -webkit-transform: translate3d(0,0,0.1px);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.carousel-face {
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

@font-face {
    font-family: 'Manrope';
    src: url('Manrope-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

.carousel-body {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
}

@font-face {
    font-family: 'Oswald';
    src: url('the-free-font.regular.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

.contact-btn  {
    font-family: 'Oswald', sans-serif;
    font-weight: 100;
}
 
.email-reveal {
    font-family: 'Manrope', sans-serif;
    font-weight: 100;
}

@font-face {
    font-family: 'BebasNeue';
    src: url('BebasNeue-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.carousel-headline {
    font-family: 'BebasNeue', sans-serif;
    font-weight: normal;
}

.cta {
    font-family: 'BebasNeue', sans-serif;
    font-weight: normal;
}

@media screen and (max-width: 1024px) {
    .carousel-headline {
        margin-bottom: 0;
    }
}