* {
    font-family: 'Roboto', sans-serif;
}

a {
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

#home {
    padding-top: 10vh !important;
}

.pageSection {
    height: 100vh;
    width: 100vw;
}

/* Style for the carousel container */
.hero-carousel {
    height: 100%;
    background-color: gainsboro;
    width: 100%;
    overflow: hidden;
}

/* Style for individual slides */
.carousel-slide {
    position: absolute;
    width: 100%;
    height: 90vh;
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 15vh 30vw 15vh 7vw;
    flex-direction: column;
    justify-content: space-between;
}

/* Style for slide content */
.carousel-slide .carousel-content {
    color: #fff;
}

.carousel-slide .carousel-content h1 {
    font-size: 3.5vw;
    font-weight: bolder;
}

#optimize {
    font-size: 8vw;
}

.carousel-slide .carousel-content p {
    font-size: 2vw;
    line-height: 1.5;
}

.discoverMore{
    background-color: #FFFFFF;
    color: #FF6600;
    border-radius: 0.5vw;
    cursor: pointer;
    font-weight: bolder;
    font-size: 1.5vw;
    padding: 0.7vw;
    width: fit-content;
    height: fit-content;
}

#discoverMore1 {
    color: #000066;
}


#discoverMore2 {
    background-color: #2A5FAC;
    color: #FFFFFF;
}

.discoverMore:hover{
    font-size: 1.6vw;
    transition: font-size 0.3s ease;
}

#consultancy1 {
    font-size: 3vw;
}

.slide1{
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url(../img/hero1.jpg);
}

.slide2{
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url(../img/hero2.jpg);
}

.slide3{
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url(../img/hero3.jpg);
    padding-right: 10vw;
}

.slide4{
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url(../img/hero4.jpg);
}

/* Style for navigation buttons */
.prev-button,
.next-button {
    position: absolute;
    top: 63%;
    transform: translateY(-50%);
    color: #fff;
    border: 0.1vw solid orange;
    cursor: pointer;
    border-radius: 50%;
    background: none;
    font-size: 3vw;
    width: 7vw;
    height: 7vw;
}

/* Hover effect to change text color to orange */
.prev-button:hover,
.next-button:hover {
    color: orange; /* Change text color to orange on hover */
    border: 0.1vw solid white;
    transition: color 0.5s ease-in-out;
}

.prev-button {
    top: 80%;
}

.next-button, .prev-button {
    right: 20px;
}


@media (max-width: 767px) {
    #home {
        padding-top: 9vh !important;
        height: 100vh;
    }

    .pageSection {
        height: fit-content;
    }

    .prev-button, .next-button {
        top: 74%;
        font-size: 9vw;
        width: 15vw;
        height: 15vw;
    }

    .prev-button {
        top: 83%;
    }

    .carousel-slide {
        padding-right: 20vw;
        height: 91vh;
    }

    .carousel-slide .carousel-content h1 {
        font-size: 9vw;
    }

    
    .carousel-slide .carousel-content p {
        font-size: 5vw;
        line-height: 1.5;
    }

    #optimize {
        font-size: 11vw;
    }

    #consultancy1 {
        font-size: 7vw;
    }

    .discoverMore{
        border-radius: 6vw;
        font-size: 5vw;
        padding: 2vw 2.5vw;
    }
}