body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Avenir Next', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    position: relative;
}

.section1 {
    background-color: #560bad;
    color: white;
}

.section1 video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.section1 h1,
.section1 p {
    position: relative;
    z-index: 2;
}

.section1 h1 {
    font-size: 4em;
}

.section1 p {
    font-size: 1.5em;
    transition: transform 2s;
}

.section1 p:hover {
    transform: scale(1.2);
}

.section2 {
    background-color: #3a0ca3;
    color: white;
    flex-direction: column;
}

.section2 h2 {
    font-size: 3em;
    margin-bottom: 20px;
}

.carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: 60%;
    position: relative;
}

.carousel img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.carousel-item {
    min-width: 30%;
    margin: 0 10px;
    border-radius: 15px;
    position: relative;
    transition: opacity 1s;
    cursor: pointer;
}

.carousel-item:hover {
    opacity: 0.7;
}

.carousel-item:hover .item-info {
    opacity: 1;
}

.item-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s;
    border-radius: 15px;
}

.item-info h3 {
    font-size: 2em;
    margin: 0;
}

.item-info p {
    font-style: italic;
    margin: 0;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.carousel-item {
    animation: float 3s ease-in-out infinite;
}

.section3 {
    background-color: #480ca8;
    color: white;
    flex-direction: column;
}

.section3 h2 {
    font-size: 3em;
    margin-bottom: 20px;
}

.section3 a {
    font-size: 2em;
    color: white;
    text-decoration: none;
    transition: transform 2s;
}

.section3 a:hover {
    transform: scale(1.2);
}

.custom-cursor {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid black;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    transition: transform 0.1s ease-in-out;
}

.custom-cursor.active {
    display: block;
}

.custom-cursor.inactive {
    display: none;
}

@media (max-width: 768px) {
    .section {
        height: auto;
        padding: 20px;
        flex-direction: column;
    }

    .section1 h1 {
        font-size: 2.5em;
    }

    .section1 p {
        font-size: 1.2em;
    }

    .section2 h2,
    .section3 h2 {
        font-size: 2em;
    }

    .section3 a {
        font-size: 1.5em;
    }

    .carousel {
        flex-direction: column;
        height: auto;
    }

    .carousel-item {
        min-width: 80%;
        margin: 10px 0;
    }

    .item-info h3 {
        font-size: 1.5em;
    }

    .item-info p {
        font-size: 1em;
    }
}