/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Gabarito', sans-serif;
}


html, body {
    width: 100%;
    overflow-x: hidden;
    overflow-y:auto;
    scroll-behavior: smooth;
}

.about h2, .cta h2, .services h2, .contact h2, .testimonials h2{
  font-weight: bold;
  margin-bottom: 20px;
}

/* Container */
.container {
    width: 100%;
    height: 100%;
    max-width: 1300px;
    padding: 0 40px;
}

/* Navbar */
.navbar {
    display: flex;
    position: fixed;
    justify-content: space-between;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 150px;
    z-index: 1000;
    transition: all 0.3s ease;

    background: transparent;
    border-bottom: none;
    box-shadow: none;
    
}

.nav-links a {
    text-decoration: none;
    color: white;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #9ecdff;
    transition: width 0.3s ease;
}

.nav-links.scrolled a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #007BFF;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.navbar.scrolled {
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 15px 150px;   
}

.navbar.scrolled a{
    color: #333;
    text-shadow: 0px 0px 1px white;
}

.navbar.scrolled a:hover{
    color: #007BFF;
    transition: ease 0.5s;
}

.nav-links {
    list-style: none;
    gap: 25px;
    margin: 0;
}

.nav-links li {
    display: inline-block;
}

.nav-links li .btn{
    margin: 0;
}

.nav-links a:hover{
    color: #9ecdff;
    transition: ease 0.5s;
}

.btn:hover{
    transition: ease 0.5s;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    display: inline-block;
    margin-left: 25px;
}

/* Hero */
.myVideo{
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 60%;
    /* position: fixed;
    z-index: -1; */
}

.hero {
    height: 100vh;
    /* background-color: rgba(0, 0, 0, 0.5); */
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content{
    align-content: end;
    padding-bottom: 100px;
    position: absolute;
}

.hero h2 {
    font-size: 2.5rem;
}

/* Text Scrolling */
.text-scrolling {
    overflow: hidden;
    white-space: nowrap;
    background: #007BFF;
    color: white;
    padding: 10px 0;
}

.text-scrolling p {
    margin: 0;
    font-size: 30pt;
}
.text-center-scrolling{
    display: flex;
    animation: scrollText 12s linear infinite;
}

@keyframes scrollText {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-65%);
  }
}

/* About */
.about{
    padding: 100px 0;
    scroll-margin-top: 150px;
}
.about-logo{
    width: 150px;
    margin: 10px 0;
}

.carousel img {
  object-fit: cover;
  height: 400px;
  /* border-radius: 10px; */
  transition: transform 0.4s ease;
}

.carousel:hover img {
  transform: scale(1.08);
}

.about p{
    text-align: justify;
}

.about-tag{
    font-family:"Playwrite US Trad";
    font-size: 18pt;
    margin-bottom: 5px;
}
.about-by{
    font-size: 12pt;
}


/* Services */
.services{
    padding-top: 50px;
    scroll-margin-top: 70px;
}
.service-item{
    transition: 0.3s ease;
    justify-content: center;
}

.service-item img{
    transition: 0.3s ease;
    border-radius: 0 !important;

}

.service-item img:hover{
    transform: scale(1.08);
    transition: 0.3s ease;
}

.service-item h5 {
  font-weight: bold;
  margin-bottom: 10px;
}

.service-item p {
  font-size: 14px;
  color: #555;
}

.services-desc-left{
    text-align: left;
}
.services-desc-left p{
    text-align: justify;
}
.services-desc-right{
    text-align: right;
}
.services-desc-right p{
    text-align: justify;
}

/* Our Clients */
.our-clients{
    max-width: max-content;
}
.clients-wrapper {
    display: flex;
    overflow: hidden;
    width: 100%;
    justify-self: center;
}

.clients-track {
  display: flex;
  width: max-content;
  animation: scrollClients 15s linear infinite;
  margin-right: 40px;
}

.client-item {
  margin: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* max-width: 150px; */
  max-height: 80px;
  width: auto;
  transition: 0.3s ease;
}

.client-item:hover {
    transform: scale(1.08);
    transition: 0.3s ease;
}


/* Infinite scrolling animation */
@keyframes scrollClients {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-102.5%);
  }
}

/* Optional: pause on hover
.clients-wrapper:hover .clients-track {
  animation-play-state: paused;
} */


/* Testimonials */
.testimonials {
    padding: 30px 0;
    text-align: center;
    justify-self: center;
}

.testimonial-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 60px;
}

.testimonial {
    flex: 1;
    border: 1px solid #eee;
    border-radius: 10px;
    width: 500px;
}

.video-testimoni{
    width: stretch;
    max-width: 600px;
    height: 400px;
    object-fit: cover;
    padding: 20px;
    border-radius: 25px;
}

/* CTA */
.cta {
    background: #007BFF;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

/* Contact */
.contact {
    padding: 60px 0;
    text-align: center;
}

form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

form input, form textarea {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Footer */
.footer {
    background: #007BFF;
    color: #fff;
    padding-top: 40px;
}

.footer-grid {
    display: flex;
    justify-content: center;
    
    /* grid-template-columns: repeat(4, 1fr); */
    gap: 50px;
    width: 100%;
}
.footer-col{
    flex: 1 1 35%;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 15px;
}

.footer-col p,
.footer-col a {
    font-size: 14px;
    color: white;
    text-decoration: none;
    margin: 0;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}


/* Social icons */
.socials{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.socials a {
    /* margin-right: 10px; */
    font-size: 30px;
}

/* Bottom bar */
.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    font-size: 14px;
    color: white;
    background-color: #3b616f;
}

/* Responsive */
@media(max-width: 1024px) {
    .navbar, .navbar.scrolled{
        padding: 15px 60px;
    }

    .footer-grid{
        display: flex;
        flex-wrap: wrap;
        text-align: center;
        gap: 15px;
    }
    .map{
        width: stretch;
        max-width: 400px;
    }
    .socials{
        justify-content: center;
    }
}
@media(max-width: 767px) {
    
    .about h2, .cta h2, .services h2, .contact h2, .testimonials h2{
        font-size: 22pt;
        margin-bottom: 10px;
    }
    .container{
        max-width: 600px;
        padding: 0 20px;
    }
    .pt{
        padding: 30px 0;
    }

    .tc{
        text-align: center;
    }

    .col{
        flex: auto;
    }

    /* Navbar */
    .navbar, .navbar.scrolled{
        padding: 15px 40px;
    }

    .navbar.scrolled .menu-toggle{
        color: black;
    }

    .menu-toggle {
        display: block;
        color: white;
    }

    .nav-links{
        position: absolute;
        display: none;
        top: 70px;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        background-position: 10px 10px;
        opacity: 0;
        text-align: center;
        padding: 20px 0;
        transition: ease 0s;
    }

    /* .navbar.active{
        background-color: white;
        background-size: cover;
        transition: ease 0s;
    } */

    .nav-links.active {
        opacity: 100;
        transition: ease 0s;
        display: block;
    }

    .nav-links a {
        color: black;
    }

    .nav-links li {
        display: block;
        margin: 15px 0;
    }

    .navbar.scrolled nav {
        background: white;
    }

    /* Hero */
    .hero-content{
        padding-bottom: 100px;
    }

    /* Text Scrolling */
    .text-scrolling p {
        font-size: 20pt;
    }
    /* About */
    .about-logo{
        margin: 20px 0;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .carousel img{
        height: 250px;
    }

    /* Services */
    .service-grid,
    .testimonial-grid {
        flex-direction: column;
    }

    .img-fluid{
        max-height: 200px;
        padding: 30px;
    }
    /* Our Clients */
    .our-clients {
        max-width: max-content;
    }

    /* Testimonial */
    .video-testimoni{
        height: 200px;
    }

    .testimonial-grid {
        margin: 0 100px;
    }
    /* .testimonials{
        margin: 0;
    } */
    /* .testimonial-grid{
        margin: 0 10px;
    } */

    .hero h2 {
        font-size: 2rem;
    }
    /* .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
     */
}
@media(max-width: 500px) {
    .navbar, .navbar.scrolled{
        padding: 15px 40px;
    }
    /* .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .socials {
        margin-top: 10px;
    } */
}

@media (prefers-color-scheme: dark) {
    .client-item {
        filter: brightness(0) invert(1);
    }
}