* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Kumbh Sans', sans-serif;
}

.navbar {
    background: #0f0f0f;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

/* #navbar__logo {
    background-color: #ff8177;
    background-image: linear-gradient(to top, #ff0844 0%, #ffb199 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
} */

.hello {
    position: fixed;
    top: 5px;
    left: 10px;
    width: 150px;
    height: auto;   
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 80px;
}

.navbar__links {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #4d4d4d;
    color: #fff;
}

.button:hover {
    background: #4837ff;
    transition: all 0.3s ease;
}

.navbar__links:hover {
    color: #ff7706;
    transition: all 0.3s ease;
}

/* Mobile menu */
@media screen and (max-width: 960px) {
    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px; /* Initially hide the menu */
        opacity: 0;
        transition: all 0.5s ease;
        height: 50vh;
        z-index: -1;
        background: #131313;
    }
    
    /* Fix: Add the class selector for active state */
    .navbar__menu.active {
        background: #131313;
        top: 80px; /* Adjusted to below the navbar */
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 80vh;
        font-size: 1.6rem;
    }

    /* #navbar__logo {
        padding-left: 25px;
    } */

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #ffffff;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar__btn {
        padding-bottom: 2rem;
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin: 0;
    }
    
    .navbar__toggle .bar {
        display: block;
        cursor: pointer;
    }

    /* Bar animations */
    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}


/* Hero Section CSS */
.main {
    overflow-x: hidden;
    overflow-y: hidden;
    background-color: #141414;
}

.main__container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        justify-self: center;
        margin: 0 auto;
        height: 90vh;
        background-color: #141414;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0 70px;
    }


.main__content h1 {
    font-size: 2rem;
    background-color: #ff8177;
    background-image: linear-gradient(to top, #4e4e4e 0%, #afafaf 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.main__content h2 {
    font-size: 3.5rem;
    background-color: #ff8177;
    background-image: linear-gradient(to top, #b7b7b7 0%, #ffffff 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.main__content p {
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 200;
    color:#ffffff;

}

.main__btn {
    text-align: center;
    width: 200px;
    font-size: 1rem;
    background-image: linear-gradient(to top, #4a3ceb 0%, #7050e7 100%);
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    color: #fff;
    margin-top: 2rem;
    cursor: pointer;
    position: relative; /* Ensure positioning is relative to this element */
    transition: all 0.35s;
    outline: none;
    overflow: hidden; /* This ensures the :after pseudo-element doesn't overflow */
}

.main__btn a {
    position: relative;
    z-index: 2;
    color: #fff;
    text-decoration: none;
    
}

.main__btn:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #4837ff;
    transition: all 0.35s;
    border-radius: 4px;
    z-index: 1; /* Ensure it stays behind the content */
}

.main__btn:hover {
    color: #fff;
}

.main__btn:hover:after {
    width: 100%; /* The width will expand within the button's bounds */
}

.main__img--container {
    width: 600px; /* Increase the container width */
    border-radius: 15px;
    text-align: center;
    margin-left: 30px;
    border: none;
}

#main__img {
    max-width: 100%; /* Allow the image to take up more space in its container */
    max-height: 100%;
    height: auto;
    width: auto;
}


/* General styling for services section */
.services {
    position: relative;
    height: 100vh; /* Adjust based on your content */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}


/* LED Text Containers */
.led-container-left, .led-container-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px; /* Adjust this based on the text length */
    display: flex;
    align-items: center;
    overflow: hidden;
    max-height: 100%; /* Ensure the containers do not exceed card height */
    height: auto;
}

.led-container-left {
    left: 0px;
    color: #afafaf;
    font-size: 1.2rem;
}

.led-container-right {
    right: 0;
    color: #afafaf;
    font-size: 1.2rem;
}

/* LED Text */
.led-text-left, .led-text-right {
    writing-mode: vertical-rl; /* Make text vertical */
    transform: rotate(180deg); /* Flip the text for left container */
    white-space: nowrap;
    animation: scroll-vertical 30s linear infinite; /* Slower speed */
    text-transform: uppercase; /* Make text uppercase */
    font-weight: bold; /* Make text bold */
}

.led-text-right {
    writing-mode: vertical-rl;
}

/* Animation for vertical scrolling */
@keyframes scroll-vertical {
    0% {
        transform: translateY(10%);
    }
    100% {
        transform: translateY(-30%);
    }
}

/* Services Section */
.header{
    padding: 40px;
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;    /* Centers vertically */
    text-align: center;     /* Ensures text alignment for multiple lines */
    height: 30vh;          /* Takes up the full height of the viewport */
    box-sizing: border-box; /* Includes padding in height calculation */
}
.header h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;            /* Ensures it spans the full width for alignment */
}
    
body {
    margin: 0;
    padding: 0;
    background: #141414;
    color: #929292;
    align-items: center;
    height: auto;
}


.services {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    height: auto;
}

.services__container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    margin-top: 20px; /* Add space between title and cards */
}

.services__card {
    margin: 5px;
    height: 575px;
    width: 450px;
    background-image: linear-gradient(to 
    bottom, rgba(0,0,0,0) 0%, 
    rgba(17, 17, 17, 0.6) 100%), 
    url('/images/IMG_1.jpg');
    background-size: cover;
    position: relative;
    flex: 1 1 calc(50% - 20px); /* Two cards side by side, accounting for gap */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: filter 0.8s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 5; /* Ensure cards are above everything else */
}

.services__card:nth-child(2) {
    background-image: linear-gradient(to 
    bottom, rgba(0,0,0,0) 0%, 
    rgba(17, 17, 17, 0.6) 100%), 
    url('/images/IMG_2.jpg');
    padding: 30px;
}

.services__card:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    filter: grayscale(100%);
}

.services__card h2 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.services__card p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #ffffff;
}


button {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(101, 101, 101, 0.135); /* Semi-transparent overlay */
    color: transparent; /* Hide text initially */
    border: none;
    border-radius: 0; /* Align with the card */
    font-size: 4rem;
    cursor: pointer;
    opacity: 1; /* Hidden by default */
    transition: opacity 0.8s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    text-transform: uppercase;
}

button:hover {
    opacity: 0.5; /* Fully visible on hover */
    color: #fff; /* Show the text */
    filter: grayscale(100%);
}





@media screen and (max-width: 960px) {
    .services {
        height: 1000px;
    }
    .services h1 {
        font-size: 2rem;
        margin-top: 12rem;
    }
    .main__img--container {
        width: 450px;
        border-radius: 15px;
        text-align: center;
        margin-left: 90px;
        border: none;
    }
    #main__img {
        max-width: 80%;
        max-height: 80%;
        height: auto;
        width: auto;
    }
}

@media screen and (max-width: 480px) {
    .services {
        background: #141414;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px; /* Menambahkan jarak antar kartu */
        height: auto; /* Sesuaikan tinggi otomatis */
        padding: 20px 0; /* Memberikan padding atas dan bawah */
    }
    
    .services h1 {
        background-size: 100%;
        font-size: 2rem;
        margin-bottom: 2rem;
        color: #ffffff; /* Pastikan teks terlihat */
    }

    .services__card {
        width: 100%; /* Lebar kartu menyesuaikan dengan layar */
        max-width: 300px; /* Batasi lebar maksimum */
        height: 405px; /* Tinggi otomatis agar menyesuaikan konten */
        background-image: linear-gradient(to 
            bottom, rgba(0,0,0,0) 0%, 
            rgba(17, 17, 17, 0.6) 100%), 
        url('/images/IMG_1.jpg');
        background-size: cover;
        position: relative;
        color: #fff; /* Teks warna putih */
        overflow: hidden; /* Menyembunyikan overflow */
        display: flex;
        flex-direction: column; /* Elemen di dalam kartu vertikal */
        align-items: center; /* Rata tengah secara horizontal */
        padding: 100px; /* Padding untuk konten dalam kartu */
    }

    .services__card:nth-child(2) {
        background-image: linear-gradient(
            to bottom, 
            rgba(0, 0, 0, 0) 0%, 
            rgba(17, 17, 17, 0.6) 100%
        ), 
        url('/images/IMG_2.jpg');
        background-size: cover;
        background-position: center;
    }
}

    .main__img--container {
        width: 450px;
        border: none;
        border-radius: 15px;
        text-align: center;
        margin-left: 30px; /* Adjust margin for smaller screens*/
    
    }
    
    #main__img {
        max-width: 60%; /* Adjust max-width for responsiveness */
        max-height: 60%; /* Adjust max-height for responsiveness */
        height: auto;
        width: auto;
    }

    .website__right {
        position: relative;
        margin-top: 75px;
        bottom: 0;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 10px;
        background-color: transparent; /* Adjust if needed */
        font-size: 12px;
        color: #464646;
        z-index: 100; /* Keeps it above other elements if needed */
    }



.website__right {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: transparent; /* Adjust if needed */
    font-size: 12px;
    color: #464646;
    z-index: 100; /* Keeps it above other elements if needed */
}

/* Footer CSS */
.footer__container {
    background-color: #141414;
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#footer__logo {
    color: #fff;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}

.footer__links {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
}

.footeer__link--wrapper {
    display: flex;
}

.footer__link--items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 16px;
    text-align: left;
    width: 160px;
    box-sizing: border-box;
}

.footer__link--items h2 {
    margin-bottom: 16px;
}


.footer__link--items > h2{
    color: #fff;
}

.footer__link--items a {
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer__link--items a:hover {
    color: #e9e9e9;
    transition: 0.3s ease ease-out;
}

/* Social Icons */
.social__icon--link {
    color: #fff;
    font-size: 24px;
}

.social__media {
    max-width: 1000px;
    width: 100%;
}

.social__media--wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    max-width: 1000px;
    margin: 40px auto 0 auto;
}

.social__icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 240px;
}

.social__logo {
    color: #fff;
    justify-self: flex-start;
    margin-left: 20px;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .main__container {
        display: grid;
        grid-template-columns: auto;
        justify-content: center; /* Centers horizontally */
        align-content: center; /* Centers vertically */
        width: 100%;
        margin: 0 auto;
        height: 60vh;
    }

    .main__img--container {
        margin-right: 1.8rem;
        margin-bottom: 4rem;
        width: 400px;
        border: none;
        border-radius: 15px;
        text-align: center;
        height: auto; /* Adjust height automatically based on the image’s aspect ratio */
    }
    
    .main__content {
        text-align: center;
        margin-bottom: 2rem;
    }

    .main__content h1 {
        font-size: 2.5rem;
        margin-top: 1rem;
    }

    .main__content h2 {
        font-size: 3rem;
    }

    .main__content p {
        margin-top: 1rem;
        font-size: 1rem;
    }

    .main__btn {
        text-align: center;
        width: 200px;
        font-size: 1rem;
        background-image: linear-gradient(to top, #4a3ceb 0%, #7050e7 100%);
        padding: 14px 32px;
        border: none;
        border-radius: 4px;
        color: #fff;
        margin-top: 2rem;
        cursor: pointer;
        position: relative; /* Ensure positioning is relative to this element */
        transition: all 0.35s;
        outline: none;
        overflow: hidden; /* This ensures the :after pseudo-element doesn't overflow */
        margin: 2rem auto; /* Use auto margins to center horizontally */
    }
}

@media screen and (max-width: 480px) {
    .main__container {
        display: grid;
        grid-template-columns: auto;
        justify-content: center; /* Centers horizontally */
        align-content: center; /* Centers vertically */
        width: 100%;
        margin: auto;
        height: 125vh;
    }

    .main__img--container {
        margin-right: 1.8rem;
        width: 370px;
        border: none;
        border-radius: 15px;
        text-align: center;
        height: auto; /* Adjust height automatically based on the image’s aspect ratio */
    }
    

    #main__img {
        max-height: 80%; /* Max-height ensures the image doesn’t overflow */
        max-width: 80%;
    }

    .main__content {
        text-align: center;
        margin-bottom: 2rem;
    }

    .main__content h1 {
        font-size: 2rem;
        margin-top: 1rem;
    }

    .main__content h2 {
        font-size: 2.5rem;
    }

    .main__content p {
        margin-left: 4rem;
        margin-right: 4rem;
        margin-top: 1rem;
        font-size: 1rem;
    }

    .main__btn {
        text-align: center;
        width: 200px;
        font-size: 1rem;
        background-image: linear-gradient(to top, #4a3ceb 0%, #7050e7 100%);
        padding: 14px 32px;
        border: none;
        border-radius: 4px;
        color: #fff;
        margin-top: 2rem;
        cursor: pointer;
        position: relative; /* Ensure positioning is relative to this element */
        transition: all 0.35s;
        outline: none;
        overflow: hidden; /* This ensures the :after pseudo-element doesn't overflow */
        margin: 2rem auto; /* Use auto margins to center horizontally */
    }
}

