* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: black;
    font-family: "Montserrat", sans-serif;
}

h1,
h2,
h3 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}

span {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
}

button {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
}

p {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    /* Lighter weight for paragraphs */
    font-optical-sizing: auto;
    font-style: normal;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

.container {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}

.section {
    height: 100vh;
    scroll-snap-align: start;
    /* display: flex; */
    font-size: 2em;
    color: white;
    position: relative;
    overflow: hidden;
}

.section1 {
    background-image: url(img/bg.jpg);
    background-size: cover;
}

.container::-webkit-scrollbar {
    width: 12px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    transition: background 0.3s;
}

.container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.8);
}

.container {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.5) rgba(0, 0, 0, 0.1);
}

.floating-items {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}


/* .item {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.item1 {
    width: 15%;
}

.item2 {
    width: 15%;
}

.item3 {
    width: 15%;
} */

.navbar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    border-radius: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.logo-container {
    width: fit-content;
    height: 40px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding-right: 0%;
    font-size: 1.3rem;
    font-family: 'Montserrat';
    color: black;
}

.nav-links li {
    cursor: pointer;
    transition: color 0.3s;
}

.nav-links li:hover {
    color: #3498db;
}

.digiads-navbar {
    font-size: 1.4rem;
    color: black;
}

.centered-image-placeholder {
    text-align: center;
    top: 19%;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem;
    position: absolute;
    border-radius: 8px;
    color: white;
}

.centered-image-placeholder img {
    display: block;
    margin: 0 auto 0.5rem;
    width: 200px;
    height: auto;
    border-radius: 4px;
}

.order-now {
    position: absolute;
    bottom: 230px;
    font-size: 2rem;
    margin: 0 4rem;
    padding: 0 1rem;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 40px;
    color: black;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    overflow: hidden;
    transition: 0.3s ease-out;
    z-index: 1;
}

.order-now-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.order-now::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-color: #222;
    transition: 0.3s ease-out;
    transform: translateX(-100%);
}

.order-now:hover {
    background-color: transparent;
}

.order-now:hover .order-now-button {
    color: #ffffff;
    /* Update color on hover */
}

.order-now:hover::before {
    transform: translateX(0);
}

.order-now-button svg {
    transition: stroke 0.3s ease;
    fill: none;
    stroke: black;
}

.order-now:hover .order-now-button svg {
    stroke: #fff;
}

.img-car-cont-sec1 {
    display: flex;
    position: absolute;
    flex-direction: row;
    bottom: 10px;
    width: 100%;
    padding: 1rem;
}

.carousel-container {
    width: 51.5%;
    padding: 0 2rem;
    position: relative;
    align-items: center;
    justify-content: center;
    justify-items: center;
    align-content: center;
}

.image-carousel-sec1 {
    width: 100%;
    height: 180px;
    background-color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    border-radius: 40px;
    overflow: hidden;
}

.carousel {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    /* Center the images horizontally */
}

.carousel img {
    height: 150px;
    width: auto;
    object-fit: contain;
    margin: 0 16px;
    border-radius: 30px;
}

.tagline {
    width: 38%;
    height: fit-content;
    padding: 2rem 2rem;
    border-radius: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    color: black;
    h1 {
        font-size: 2.5rem;
    }
}

.scroll-down-button {
    position: fixed;
    bottom: 0px;
    right: 0px;
    margin: 3rem 4.5rem;
    width: 120px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    border-radius: 70px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.scroll-prompt {
    z-index: 998;
    margin-left: -80px;
    width: 160px;
    height: 160px;
    .scroll-prompt-arrow-container {
        position: absolute;
        top: 0;
        left: 50%;
        margin-left: -18px;
        animation-name: bounce;
        animation-duration: 1.5s;
        animation-iteration-count: infinite;
    }
    .scroll-prompt-arrow {
        animation-name: opacity;
        animation-duration: 1.5s;
        animation-iteration-count: infinite;
    }
    .scroll-prompt-arrow:last-child {
        animation-direction: reverse;
        margin-top: -6px;
    }
    .scroll-prompt-arrow>div {
        width: 36px;
        height: 36px;
        border-right: 8px solid black;
        border-bottom: 8px solid black;
        transform: rotate(45deg) translateZ(1px);
    }
}

.section2 {
    background-color: #1e1e1e;
    padding: 5rem 0;
    display: flex;
    justify-content: center;
    /* align-items: center; */
}

.portfolio-wrapper {
    text-align: center;
    width: 100%;
    h1 {
        margin: 1rem;
    }
    p {
        font-size: 24px;
    }
}

.portfolio-text {
    width: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.portfolio {
    position: absolute;
    /* display: flex; */
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
    gap: 20px;
    height: 400px;
    top: 280px;
    margin: 1rem;
    width: 1099px;
    padding: 1rem;
    background-color: #2ecc71;
    flex-wrap: wrap;
    border-radius: 50px;
    /* flex-direction: column; */
}

.portfolio-img {
    padding: 0;
}

.portfolio img {
    width: 330px;
    height: 270px;
    object-fit: cover;
    border-radius: 40px;
    margin: 0 10px;
}

.porto-button {
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    bottom: 0;
}

.portoo-button {
    background-color: #1e1e1e;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    margin: 20px 0;
}

.portfolio-button:hover {
    background-color: #5C8F36;
}

.section3 {
    background-color: #1e1e1e;
    padding: 4rem 0;
}


/* styles.css */

.layanan-kami {
    margin-bottom: 20px;
    background-color: #2ecc71;
    width: fit-content;
    padding: 10px 35px;
    left: 50%;
    border-radius: 40px;
    transform: translateX(-50%);
    position: relative;
}

.card-container {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    justify-content: center;
}

.card-services {
    background-color: #E4E4E4;
    width: 330px;
    height: 500px;
    padding: 20px;
    border-radius: 32px;
    text-align: center;
    color: #000000;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card-services img {
    width: 100%;
    height: 42%;
    object-fit: cover;
    border-radius: 24px;
    border: solid 1px black;
    margin-bottom: 20px;
}

.card-text {
    height: 35%;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-services h3 {
    font-size: 22px;
    margin: 14px 0 10px 0;
    font-weight: bold;
}

.card-services p {
    font-size: 18px;
    margin: 0 0 20px;
    color: #000000c1;
}

.card-button {
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    bottom: 0;
}

.order-button {
    background-color: #38bc6f;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 10px;
}

.price {
    font-size: 14px;
    color: #555555;
}

.section4 {
    background-color: #9b59b6;
}

@keyframes opacity {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    20% {
        opacity: 0.2;
    }
    30% {
        opacity: 0.3;
    }
    40% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.5;
    }
    60% {
        opacity: 0.6;
    }
    70% {
        opacity: 0.7;
    }
    80% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.9;
    }
    100% {
        opacity: 1;
    }
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    10% {
        transform: translateY(3px);
    }
    20% {
        transform: translateY(6px);
    }
    30% {
        transform: translateY(9px);
    }
    40% {
        transform: translateY(12px);
    }
    50% {
        transform: translateY(15px);
    }
    60% {
        transform: translateY(18px);
    }
    70% {
        transform: translateY(21px);
    }
    80% {
        transform: translateY(24px);
    }
    90% {
        transform: translateY(27px);
    }
    100% {
        transform: translateY(30px);
    }
}