* {
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-decoration: none;
}

body {
    height: 100vh;
    width: 100%;
    background-image: url(/images/hero-image-background.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Header Navigation */
.nav {
    width: 100%;
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background-color: rgb(82, 82, 82, 0.8);
    height: 60px;
    z-index: 10;
    transform: translateZ(0);
}

/* Logo Styling */
.logo {
    color: lightgrey;
    font-size: 40px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.logo span {
    font-weight: 600;
    color: #fff;
}

.logo:hover {
    transform: scale(0.9);
}


.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s ease;
}

.bar {
    width: 40px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.4s;
}

.hamburger-menu.active {
    border: 2px solid white;
    border-radius: 50%;
}

.hamburger-menu.active .bar1 {
    transform: translateY(13px) rotate(45deg);
}

.hamburger-menu.active .bar2 {
    opacity: 0;
}

.hamburger-menu.active .bar3 {
    transform: translateY(-14px) rotate(-45deg);
}

.nav-menu {
    display: flex;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-menu ul li {
    padding: 10px 20px;
}

.nav-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #2b3371;
    transform-origin: bottom left;
    transition: transform 0.25s ease-out;
}

.nav-menu ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom right;
}

.nav-menu ul li a:hover {
    color: #fff;
}



#myBtn {
    position: fixed;
    bottom: 20px;
    right: 30px;
    border: none;
    outline: none;
    background-color: #fff;
    cursor: pointer;
    font-size: 2em;
    padding: 2px 12px;
    border-radius: 50% 50% 50% 50%;
    z-index: 9;
}

#myBtn:hover {
    background-color: rgb(50, 50, 50);
    color: #2b3371;
}

#cookieBanner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: #f0f0f0;
    text-align: center;
    border-top: 1px solid #ccc;
    z-index: 10000;
}

#cookieBanner button {
    background-color: rgb(43, 51, 113);
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
}
 
 .info-box {
     display: flex;
     justify-content: space-around;
     align-items: center;
     background: white;
     border-radius: 15px;
     padding: 20px;
     max-width: 900px;
     margin: 20px auto;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
 }

 .info-item {
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
 }

 .info-item .icon {
     display: flex;
     justify-content: center;
     align-items: center;
     width: 50px;
     height: 50px;
     background: #007bff;
     color: white;
     font-size: 24px;
     border-radius: 50%;
     margin-bottom: 10px;
 }

 .info-item p {
     margin: 5px 0;
     font-size: 1.1em;
     color: #333;
 }

 .info-item a {
     text-decoration: none;
     font-size: 1.2em;
     font-weight: bold;
     color: #000;
     border-bottom: 2px solid #000;
     transition: color 0.3s ease, border-color 0.3s ease;
 }

 .info-item a:hover {
     color: #007bff;
     border-color: #007bff;
 }

 @media (max-width: 768px) {
     .info-box {
         flex-direction: column;
         text-align: center;
         padding: 15px;
     }

     .info-item {
         margin-bottom: 15px;
     }
 }

.about {
    width: 100%;
    padding: 100px 0;
    background: linear-gradient(to bottom, rgba(43, 51, 113, 0.7), rgba(43, 51, 113, 0.95));
}

.about img {
    height: auto;
    width: 40%;
    border-radius: 1rem;
    border: 2px solid #fff;
}

.about-text {
    width: 50%;
}

.about-text a {
    text-transform: uppercase;
    color: #f1f1f1;
}

.about-content {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.about-text h2 {
    color: white;
    font-size: 3rem;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.about-text h3 {
    color: white;
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: capitalize;
}

.about-text span {
    font-weight: 700;
}

.about-text p {
    color: lightgrey;
    letter-spacing: 1px;
    line-height: 28px;
    font-size: 1.5rem;
    margin-bottom: 45px;
}


.carousel-container {
    overflow: hidden;
    width: 100%;
    background-color: white;
    margin: auto;
    padding: 10px 0;
}

.carousel {
    display: flex;
    animation: scroll 30s linear infinite;
}

.carousel img {
    width: 300px;
    height: auto;
    margin: 0 5px;
    object-fit: contain;
    border-radius: 10px;
    border: 2px solid #fff;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-200%);
    }

}

/* Video Background Styling */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /* Send the video to the background */
}

/* Ensure content is positioned correctly */
.portfolio {
    position: relative;
    background-color: rgba(0, 0, 0, 0.7);
    /* Optional overlay for better text visibility */
    padding: 5rem 1rem;
    text-align: center;
    color: white;
    z-index: 1;
}

.portfolio h2 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.portfolio p {
    width: 90%;
    margin: 0 auto;
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.portofolio-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5rem;
}

.more-projects {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.more-projects a {
    background-color: black;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    font-weight: bold;
    padding: 13px 30px;
    border-radius: 30px;
    transition: 0.4s;
}

.more-projects a:hover {
    background-color: rgb(49, 49, 49);
    border: 2px solid blue;
    color: #fff;
    cursor: pointer;
}


#faq {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-evenly;
    align-items: center;
    padding: 3rem;
    background-color: #0c102c;
}

.faq-item {
    flex: 1 1 100%;
    max-width: 40%;
    height: 1100px;
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #555;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background-color: #333;
    color: #ddd;
    text-align: left;
}

.faq-item img {
    max-width: 100%;
    border-radius: 8px;
}

.faq-item h3 {
    padding: 2rem;
    color: #fff;
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
}

.faq-item p {
    line-height: 1.6;
    padding: 1rem;
    font-size: 1.2rem;
}

.faq-item ol {
    list-style-type: decimal;
    margin: 0;
    padding: 0;
    padding-left: 2rem;
}

.faq-item li {
    margin-bottom: 15px;
}

.faq-item a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.faq-item a:hover {
    text-decoration: underline;
}

.service {
    background: #2b3371;
    padding: 3rem;
}

.title h2 {
    padding: 5rem;
    color: white;
    font-size: 3rem;
    margin-inline: auto;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
}

.box {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.card {
    width: 25rem;
    height: 30rem;
    padding: 1rem;
    background: #111849;
    border-radius: 1rem;
    margin: 1rem;
    text-align: center;
    transition: transform 1s ease;
}

.card img {
    max-width: 50%;
    padding: 2rem;
}

@keyframes imageAnimation {
    to {
        transform: scale(1.2);
    }
}

.card:hover {
    transform: scale(1.05);
}

.card:hover img {
    animation: imageAnimation 1s infinite alternate;
}

h5 {
    color: rgb(220 220, 220);
    font-size: 1.8rem;
    padding-bottom: 1rem;
}

.card-text {
    color: lightgray;
    font-size: 1rem;
    line-height: 1.5rem;
}

.card-text p {
    padding: 0.5rem;
    color: rgb(250 250, 250);

}

.contact-me {
    min-height: 100vh;
    background-color: #04071d;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.contact-me p {
    color: white;
    font-size: 2rem;
    font-weight: 300;
    padding: 2rem;
    text-align: center;
}

form {
    background-color: rgb((10, 100, 100));
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
    color: white;
    display: block;
    margin-bottom: 0.5rem;
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid lightgray;
    border-radius: 0.5rem;
    box-sizing: border-box;
}

textarea {
    height: 10rem;
}

.success {
    text-align: center;
}

.error {
    padding-top: 10%;
    min-height: fit-content;
    text-align: center;
}

.contact-banner {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #2b3371;
    padding: 40px;
    color: #101010;
}

.contact-banner-box {
    text-align: center;
}

.contact-banner-box img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.contact-banner-box p {
    color: white;
    margin: 5px 0;
}

.contact-banner-box a {
    color: white;
    text-decoration: none;
    margin: 5px 0;
    display: block;
}

.contact-banner-box a:hover {
    text-decoration: underline;
}

footer {
    background: #141942;
}

.footer-section {
    display: flex;
    justify-content: space-evenly;
    padding: 2rem;
}

.footer-box {
    display: block;
    flex-direction: row;
    justify-content: space-between;
    width: fit-content;
}

.footer-box h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: left;
}

.footer-box p {
    color: white;
    font-size: 1.1rem;
    text-align: left;
    line-height: 2rem;
}

.social {
    display: flex;
    flex-direction: column;
}

.social a {
    align-self: center;
    padding: 0.5rem;
    transition: ease .5s;
}

.social a:hover {
    transform: scale(1.3);
}

.footer-box img {
    width: 48px;
    height: 48px;
}

.copyright {
    padding: 2rem 0;
    font-size: 1rem;
    text-align: center;
    color: white;
}

footer a {
    color: white;
}







/* ///////////////////////////////////////      MEDIA         /////////////////////////////////////// */





@media screen and (max-width: 1440px) {
    .error {
        padding-top: 20%;
    }

    .logo {
        font-size: 34px;
    }

    .nav {
        padding: 10px 10px 0 10px;
        height: 55px;
    }

    .nav-menu ul li {
        padding: 10px 15px;
    }

    .nav-menu ul li a {
        font-size: 22px;
    }

    .hero-text h1 {
        font-size: 3.2rem;
    }

    .hero-text p {
        font-weight: 500;
        font-size: 1.5rem;
    }

    .about {
        padding: 30px 0;
    }

    .about-text h2 {
        font-size: 3rem;
    }

    .portfolio h2 {
        font-size: 2.5rem;
    }

    .portfolio p {
        font-size: 1.2rem;
    }

    /*     
    .portofolio-content {
        grid-template-columns: 1fr 1fr;
        width: 100%;
    } */

    .title h2 {
        padding: 3rem;
        font-size: 2.5rem;
    }

    .box {
        margin: 0 auto;
    }

    .card {
        width: 95%;
    }

    .card img {
        max-width: 40%;
    }

    #faq {
        gap: 1rem;
        padding: 2rem;
    }

    .faq-item {
        padding: 10px;
    }
}

@media screen and (max-width: 1280px) {
    .logo {
        font-size: 30px;
    }

    .nav {
        padding: 10px 10px 0 10px;
        height: 50px;
    }

    .nav-menu ul li {
        padding: 10px 15px;
    }

    .nav-menu ul li a {
        font-size: 20px;
    }

    .hero {
        display: flex;
        /* flex-direction: column-reverse; */
        width: fit-content;
    }

    .hero-text h1 {
        font-size: 2.7rem;
    }

    .hero-text p {
        font-size: 1.5rem;
    }

    .hero-image img {
        width: 100%;
    }

    /* .blow {
        left: 16%;
        width: 13rem;
    } */

    .about {
        padding: 30px 0;
    }

    .about-text h2 {
        font-size: 2.2rem;
    }

    .portfolio h2 {
        font-size: 1.8rem;
    }

    .portofolio-content {
        grid-template-columns: 1fr 1fr;
    }

    .title h2 {
        padding: 3rem;
        font-size: 2rem;
    }

    .box {
        display: grid;
        margin: 0 auto;
    }

    .card {
        width: 80%;
        height: fit-content;
        justify-content: center;
        margin-inline: auto;
    }

    .card img {
        max-width: 30%;
    }

    #faq {
        display: block;
        gap: 2rem;
        padding: 2rem;
    }

    .faq-item {
        margin-inline: auto;
        max-width: 90%;
        height: fit-content;
        text-align: left;
    }

    .footer-section {
        padding: 1rem;
    }

    .footer-box h3 {
        font-size: 1.2rem;
    }

    .footer-box p {
        font-size: 0.9rem;
        line-height: 1.8rem;
    }

    .social a {
        padding: 0.2rem;
        transition: ease .5s;
    }

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

}

@media screen and (max-width: 1024px) {
    .error {
        padding-top: 40%;
    }

    .logo {
        font-size: 22px;
    }

    .nav {
        padding: 8px 8px 0 8px;
        height: 50px;
    }

    .nav-menu ul li {
        padding: 4px 8px;
    }

    .nav-menu ul li a {
        font-size: 16px;
    }

    .hero-text {
        padding: 10rem 1rem;
    }

    .hero-text h1 {
        font-size: 2.4rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }

    .about {
        padding: 30px 0;
    }

    .portfolio {
        padding: 0.5rem 2rem;
    }

    .portfolio h2 {
        padding: 3rem 1rem;
        font-size: 2rem;
    }

    .portfolio p {
        font-size: 1.2rem;
    }

    .portofolio-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* .portofolio-content iframe {
        width: 80%;
    } */

    form {
        margin: 2rem;
    }

    .footer-section {
        padding: 1rem;
    }

    .footer-box h3 {
        font-size: 1.2rem;
    }

    .footer-box p {
        font-size: 0.8rem;
        line-height: 1.8rem;
    }

    .copyright {
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: rgba(50, 100, 100, 0.95);
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu ul {
        flex-direction: column;
    }

    .nav-menu li {
        margin: 0;
        text-align: center;
        margin: 1em;
        border-bottom: 1px solid #333;
    }

    .hamburger-menu {
        display: flex;
    }

    .logo {
        font-size: 36px;
    }

    .nav-menu ul li {
        padding: 0 20px;
    }

    .nav-menu ul li a {
        font-size: 26px;
        font-weight: 300;
    }

    .hero {
        height: 80vh;
        background: linear-gradient(to bottom, rgba(43, 51, 113, 0.1), rgba(43, 51, 113, 0.5));
        flex-direction: column-reverse;
        justify-content: space-evenly;
    }

    .hero-text {
        padding: 1rem;
        max-width: 90%;
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.2), 0 0 20px rgba(255, 255, 255, 0.4);
    }

    .hero-text h1 {
        text-align: center;
        font-size: 2.6rem;
        padding-bottom: 2rem;
    }

    .hero-text p {
        font-weight: 500;
        font-size: 1.2rem;
        padding: 1rem;
        text-align: center;
    }

    .hero-image {
        display: none;
    }

    .hero-image-mobile {
        margin-top: 3rem;
        display: block;
    }

    .hero-image-mobile img {
        height: 300px;
        margin-inline: auto;
        border-radius: 1rem;
    }

    .hero-text a {
        font-size: 2rem;
    }

    .hero-text a img {
        height: 1.5rem;
    }

    /* .hero-ac-image {
        position: relative;
        z-index: 2;
    } */

    /* .blow {
        position: absolute;
        left: 15.4%;
        width: 21rem;
        z-index: 1;
    } */

    .about {
        background: linear-gradient(to bottom, rgba(43, 51, 113, 0.7), rgba(43, 51, 113, 1));
    }

    .about-content {
        max-width: 90%;
        text-align: center;
        flex-direction: column;
    }

    .about-text {
        padding: 1rem;
        width: 100%;
    }

    .about img {
        width: 70%;
    }

    .portfolio {
        padding: 0.5rem 1rem;
    }

    .portfolio h2 {
        padding: 2rem 1rem;
        font-size: 2.2rem;
    }

    .portfolio p {
        font-size: 1.3rem;
    }

    /* .portofolio-content iframe {
        width: 95%;
    } */

    .title h2 {
        padding: 1rem;
        font-size: 1.8rem;
    }

    .contact-banner {
        padding: 20px 10px;
        font-size: 0.9rem;
    }

    .footer-section {
        padding: 0.5rem;
    }

    .footer-box h3 {
        text-align: center;
        font-size: 1.2rem;
    }

}

@media screen and (max-width: 640px) {
    .logo {
        font-size: 30px;
    }

    .hero-text {
        padding: 0.5rem;
        width: 100%;
    }

    .hero-text h1 {
        font-size: 2rem;
        padding-bottom: 2rem;
    }

    .hero-text p {
        font-weight: 500;
        font-size: 1.1rem;
        padding: 0.2rem;
        text-align: center;
    }

    .hero-image-mobile img {
        height: 240px;
    }


    .about-content {
        max-width: 100%;
    }

    .carousel {
        animation: scroll 10s linear infinite;
    }

    .portfolio {
        padding: 0.5rem;
    }

    .portfolio h2 {
        padding: 1rem 0.5rem;
        font-size: 1.8rem;
    }

    .portfolio p {
        font-size: 1.2rem;
    }

    .service {
        padding: 0.5rem;
    }

    .title h2 {
        padding: 1.5rem 0.5rem;
        font-size: 1.6rem;
    }

    .card {
        width: 90%;
    }

    .card img {
        max-width: 30%;
    }

    #faq {
        gap: 1rem;
        padding: 2rem 0.5rem;
    }

    .faq-item {
        max-width: 100%;
    }

    .faq-item h3 {
        padding: 1rem 0.5rem;
        font-size: 1.8rem;
    }

    form {
        margin: 1rem;
    }

    .contact-banner {
        display: block;
    }

    .contact-banner-box {
        padding: 1rem;
    }

    .footer-section {
        display: block;
        padding: 1rem;
    }

    .footer-box {
        margin-inline: auto;
        display: flex;
        flex-direction: column;
        padding: 1rem;
        align-items: center;
    }

    .footer-box h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .footer-box p {
        font-size: 1.1rem;
        line-height: 1.5rem;
    }

    .social {
        display: block;
    }

    .copyright {
        padding: 1rem 0;
        font-size: 0.9rem;
    }

}

@media screen and (max-width: 480px) {
    .logo {
        font-size: 28px;
    }

    .hero-text {
        padding: none;
    }

    .hero-text h1 {
        font-size: 1.4rem;
        padding-bottom: 1rem;
    }

    .hero-text p {
        font-size: 1rem;
        padding: 0.3rem 0;
        text-align: center;
    }

    .hero-text a {
        font-size: 1.8rem;
    }

    .hero-image-mobile img {
        height: 190px;
    }


    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-400%);
        }

    }

    .service {
        padding: 1rem 0.5rem;
    }

    .title h2 {
        font-size: 1.2rem;
    }

    .contact-me p {
        padding: 0.5rem;
        font-size: 1.8rem;
    }

    form {
        margin: 1rem;
    }

    .copyright {
        padding: 2rem 0;
        font-size: 1rem;
    }
}

@media screen and (max-width: 360px) {
    .logo {
        font-size: 18px;
    }

    .nav-menu ul li a {
        font-size: 20px;
    }

    .hero-text h1 {
        font-size: 1.2rem;
        padding-bottom: 1rem;
    }

    .hero-text p {
        font-size: 0.9rem;
        padding: 1rem;
    }

    .hero-text a {
        font-size: 1.2rem;
    }

    .hero-text a img {
        height: 1rem;
    }

    .hero-image-mobile img {
        height: 180px;
    }


    .about-text h2 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .card {
        width: 100%;
        padding: 0.2rem;
    }

    h5 {
        font-size: 1.3rem;
    }

    .portfolio h2 {
        font-size: 1.5rem;
    }

    .portfolio p {
        font-size: 1rem;
    }

    .faq-item h3 {
        padding: 0.5rem 0;
        font-size: 1.5rem;
    }

    .faq-item img {
        max-width: 100%;
        border-radius: 6px;
    }

    .faq-item p {
        line-height: 1.2;
        padding: 0.5rem;
        font-size: 1rem;
    }

    .faq-item ol {
        padding-left: 1rem;
    }

    .faq-item li {
        margin-bottom: 10px;
    }

    .service {
        padding: 1rem 0.5rem;
    }

    .title h2 {
        font-size: 1.2rem;
    }

    .contact-me p {
        padding: 0.5rem;
        font-size: 1.3rem;
    }

    form {
        margin: 0.5rem;
    }

    .footer-box p {
        font-size: 1rem;
        line-height: 1.5rem;
        text-align: center;
    }
}