@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&display=swap');

:root {
    --primary-color: #0F172A;
    --accent-color: #F59E0B;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #1E293B;
    overflow-x: hidden !important;
}

body.loading {
    overflow: hidden;
}


h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Montserrat', sans-serif;
}

/*  Navbar */
.navbar {
    background-color: transparent;
    transition: all 0.4s ease;
    padding: 20px 0;
}

.navbar.scrolled {
    background-color: rgba(15, 23, 42, 0.80);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-link ,
footer h4{
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    overflow: hidden; 
}

.nav-link::before ,
footer h4::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1); 
    transform: scaleX(1); 
}

.nav-link::after ,
footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px; 
    height: 2px; 
    background: linear-gradient( 90deg,  transparent,  var(--accent-color),  var(--accent-color),  transparent );
    box-shadow: 0 0 10px var(--accent-color); 
    opacity: 0;
}

footer h4{
    width: max-content;
    color: white;
    font-size: 17px;
    letter-spacing: 0;
}

footer h4 span{
    color: var(--accent-color);
}

footer h4::after{
    opacity: 1;
    animation: trackingScan 3s ease-in-out infinite;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    text-shadow: 0 0 8px rgba(0,0,0,0.8);
}

.nav-link:hover::after,
.nav-link.active::after {
    opacity: 1;
    animation: trackingScan 2s ease-in-out infinite;
}

@keyframes trackingScan {
    0%,100% {
        left: -15%;
    }
    50% {
        left: 80%;
    }
}


.navbar.drop-btn::after{
    background-color: white !important;
}

/* Mobile Menu  */
.hamburger {
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    right: 10px;
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    margin-bottom: 5px;
    position: relative;
    z-index: 1001;
    transition: 0.3s;
}

.hamburger.active .bar:nth-child(1) {
    top: 20px;
    transform: rotate(-45deg) translate(-5px, 6px);
    background-color: var(--primary-color);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    top: 20px;
    transform: rotate(45deg) translate(-5px, -6px);
    background-color: var(--primary-color);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0 !important;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--accent-color);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu-overlay.show {
    transform: translateY(0);
}

.menu-content a {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    margin: 20px 0;
    transition: 0.3s;
}

.menu-content a:hover {
    letter-spacing: 2px;
    color: white;
}

/*  Hero Section  */
.hero-section {
    height: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 200px;
    padding-bottom: 200px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    animation: zoomEffect 15s infinite alternate;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.info-banner {
    top: -20px;
    border: 1px solid white;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6));
}

.text-stroke {
    -webkit-text-stroke: 1px var(--accent-color);
    color: transparent;
}

.section-padding {
    padding: 80px 0;
}

.ls-2 {
    letter-spacing: 2px;
}

.hover-lift {
    transition: transform 0.3s;
}

.hover-lift:hover {
    transform: translateY(-5px);
}


/* Hero Gif  */
.truck-anim-scene {
    position: relative;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
}

.truck-body {
    position: relative;
    font-size: 8rem;
    color: #fff;
    z-index: 2;
    text-shadow: 5px 5px 0px #0F172A;
    animation: truckBounce 0.6s infinite alternate ease-in-out;
}

.truck-body i {
    position: relative;
    z-index: 2;
    background: -webkit-linear-gradient(#fff, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.5));
}

.road-line {
    position: absolute;
    bottom: 80px;
    width: 1000%;
    height: 4px;
    background: repeating-linear-gradient(90deg, transparent, transparent 20px,#F59E0B 20px,  #F59E0B 60px);
    animation: roadMove 10s linear infinite;
    z-index: 1;
}

.speed-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.speed-lines::before,
.speed-lines::after {
    content: '';
    position: absolute;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: windFly 0.8s linear infinite;
}

.speed-lines::before {
    top: 30%;
    width: 50px;
    left: 100%;
    animation-delay: 0s;
}

.speed-lines::after {
    top: 60%;
    width: 80px;
    left: 100%;
    animation-delay: 0.4s;
}

@keyframes truckBounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-3px);
    }
}

@keyframes roadMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes windFly {
    0% {
        left: 100%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        left: -50%;
        opacity: 0;
    }
}


/*  About  */

.image-stack {
    position: relative;
}

.image-stack img{
    height: 600px
}

@media (max-width: 767px) {
    .image-stack img{
        height: 400px;
        width: 100%;
    }
}

.experience-badge {
    position: absolute;
    bottom: -40px;
    width: 200px;
    left: -10px;
}


/*  Services Cards  */

.service-card {
    border: 1px solid #7c7c7c85;
    border-bottom: 4px solid transparent;
    transition: all .4s ease;
}

.service-card:hover {
    border-bottom: 4px solid var(--accent-color);
    box-shadow: 0 20px 20px rgba(255, 162, 0, 0.536) !important;
    transform: translateY(-10px);
}

.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.service-card:hover .icon-box {
    transform: rotateY(180deg);
}


/*  Gallery  */

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}


/* Contact */

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus{
    border: 1px solid #FFC61B !important;
    box-shadow: none;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea{
    border: 1px solid #ccc !important;
}

.contact-form-wrapper .drop-btn{
    border-color: #E08E00 !important;
    color: #E08E00;
    background-color: #ffefd3;
}

.contact-form-wrapper .drop-btn:hover{
    color: rgb(255, 255, 255);
}

.contact-form-wrapper .drop-btn::after{
    background-color: #E08E00 !important;
}


/* Footer */

.footer-link {
    text-decoration: none;
    color: rgb(255, 255, 255); 
    margin-bottom: 12px;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    margin-left: 20px;
    width: max-content;
}

.footer-link::before {
    content: '\f105'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: -20px;
    opacity: 1;
    color: var(--accent-color);
}

footer li{
    list-style: none;
    margin-bottom: 17px
}

footer li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    margin-bottom: 12px;
    transition: color 0.3s ease;
    position: relative;
}

footer li a::after,
.footer-link::after{
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #E08E00;
    box-shadow: 0 0 10px var(--accent-color);
    transform: scaleX(0);          
    transform-origin: right;       
    transition: transform 0.3s ease-in-out;
}

footer li a:hover::after,
.footer-link:hover::after{
    transform: scaleX(1);          
    transform-origin: left;        
}

footer i {
    color: var(--accent-color);
    margin-right: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    text-align: center;
    padding-top: 10px;
    position: relative;
    z-index: 1;
}

footer i::after{
    position: absolute;
    content: '';
    inset: 0;
    height: 100%;
    width: 100%;
    transform: scale(1.15);
    z-index: -1;
    background: transparent;
    border: 1px dashed rgb(255, 238, 0);
    border-radius: 50%;
    animation: rot 5s linear infinite;
}

@keyframes rot {
    from{
        transform: rotate(0deg) scale(1.15);
    }
    to{
        transform: rotate(360deg) scale(1.15);
    }
}

footer .copyright-text {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.877);
    letter-spacing: 1px;
}

/* Map */
.map-wrapper{
    padding: 10px 10px 5px 10px;
    background-color: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.342);
    height: auto;
    width: auto;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin-top: 30px;
}

.map-wrapper iframe{
    border-radius: 15px;
}


/* Whatsapp-Float  */

.whatsapp-float{
    height: 55px;
    width: 55px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    text-decoration: none;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    transition: .7s ease;
    z-index: 10;
}

.whatsapp-float:hover{
    transform: scale(1.05);
    box-shadow: 0 0 5px #25D366;
    background-color: #1a9e4b;
}


/* All Btns  */

/* Main Btn  */

.main-btn {
    background-color: #F59E0B;
    color: #0F172A;
    font-weight: 800;
    text-transform: uppercase;
    border: 2px solid #F59E0B;
    position: relative;
    padding: 15px;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.main-btn::after {
    content: "\f0d1";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    transform: skewX(-10deg);
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #0F172A;
    transition: all .4s cubic-bezier(0.7, 0, 0.3, 1);
}

.main-btn:hover {
    color: transparent;
    background-color: #e08e00;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5);
}

.main-btn:hover::after {
    left: 0;
    transform: skewX(0deg);
    animation: go .8s cubic-bezier(0.7, 0, 0.3, 1);
}

@keyframes go {
    0% {
        left: -100%;
    }

    50% {
        left: 10%;
        transform: skewX(-10deg);
    }

    100% {
        left: 0;
        transform: skewX(0deg);
    }
}


.drop-btn {
    background-color: transparent;
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    border: 2px solid #ffffff;
    position: relative;  
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 15px 40px; 
}

.drop-btn:hover {
    color: #0F172A; 
    transition-delay: 0.3s; 
}

.drop-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: -30px; 
    height: 15px;
    width: 15px;
    background-color: #ffffff;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
}

.drop-btn:hover::after {
    opacity: 1;
    animation: dropAndMorph 0.5s forwards ease-in-out;
}

@keyframes dropAndMorph {
    0% {
        top: -30px;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        opacity: 1;
    }
    
    40% {
        top: 50%;
        width: 15px;
        height: 15px;
        border-radius: 50%; 
    }
    
    100% {
        top: 50%;
        width: 100%; 
        height: 100%; 
        border-radius: 50rem; 
    }
}



.btn-dark.drop-btn::after {
    background-color: #0F172A; 
}

.btn-dark.drop-btn:hover {
    color: #ffffff !important; 
    border-color: #0F172A; 
}

.btn-dark.drop-btn {
    color: #0F172A;
    border-color: #0F172A;
}


/*Top Btn */

#progress-container {
    position: fixed;
    bottom: 80px;
    right: 23px;
    z-index: 1000;
    width: 50px;
    height: 150px;
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: all .5s;
    visibility: hidden;
    text-decoration: none;
    overflow: hidden;
    border-radius: 8px;
    transform: translateY(30px)
}

#progress-container:hover .trailer,
#progress-container:hover .cab{
    box-shadow: 7px 0px 10px rgba(0, 0, 0, .5);
}

#progress-container .road-lin {
    width: 4px;
    height: 100%;
    background-image: linear-gradient(to bottom, #000000 50%, transparent 50%);
    background-size: 4px 20px;
    background-repeat: repeat-y;
    opacity: 0.8;
    animation: run-road 0.5s linear infinite;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

@keyframes run-road {
    
    0% {
        background-position-y: 20px;
    }
    
    100% {
        background-position-y: 0px;
    }
}


#truck-top-view {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(var(--scroll-percent, 0) * 80%);
    z-index: 1;
    transition: top 0.1s linear;
    width: 21px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trailer {
    width: 21px;
    height: 35px;
    background-color: #a7a7a7;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: 5px 0px 10px rgba(0, 0, 0, .4);
    transition: all 0.5s;
}

.hitch {
    width: 6px;
    height: 4px;
    background-color: #333;
}

.cab {
    width: 17px;
    height: 15px;
    background-color: #d32f2f;
    border-radius: 2px 2px 4px 4px;
    position: relative;
    box-shadow: 5px 0px 10px rgba(0, 0, 0, .4);
    transition: all 0.5s;
}

.cab::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 2px;
    right: 2px;
    height: 5px;
    background-color: #81d4fa;
    border-radius: 1px;
}

.box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #212529;
    z-index: 2;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    font-size: 8px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 3px solid #000;
}

#progress-container.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}



/*Loader*/

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f1015;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all .7s ease;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
}

.loader-wrapper.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-wrapper.show {
    opacity: 1;
    visibility: visible;
}

.scene {
    position: relative;
    width: 100%;
    height: 300px;
    perspective: 150px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.road {
    position: absolute;
    bottom: 0;
    width: 400px;
    height: 100%;
    background: #1a1c23;
    transform-origin: bottom;
    transform: rotateX(60deg);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.road::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, #ffffff 50%);
    background-size: 100% 40px;
    animation: drive 0.4s linear infinite;
}

.road::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-left: 10px solid rgba(255, 255, 255, 0.3);
    border-right: 10px solid rgba(255, 255, 255, 0.3);
    box-sizing: border-box;
}

.headlights {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 300px;
    z-index: 2;
    pointer-events: none;
}

.beam {
    position: absolute;
    bottom: 0;
    width: 100px;
    height: 400px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.4), transparent);
    filter: blur(20px);
    border-radius: 50% 50% 0 0;
    transform-origin: bottom center;
}

.beam-left {
    left: 30%;
    transform: rotate(35deg) rotateX(50deg);
}

.beam-right {
    right: 30%;
    transform: rotate(-35deg) rotateX(50deg);
}

.dashboard {
    position: absolute;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.speed-label {
    font-family: 'Orbitron', sans-serif;
    color: #7f8c8d;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.speed-counter {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.speed-counter::after {
    content: ' KM/H';
    font-size: 1rem;
    color: #f1c40f;
}

.loading-bar-container {
    width: 200px;
    height: 2px;
    background: #333;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.loading-bar {
    width: 100%;
    height: 100%;
    background: #f1c40f;
    position: absolute;
    left: -100%;
    animation: loadProgress 2s ease-in-out forwards;
}

@keyframes drive {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 40px;
    }
}

@keyframes loadProgress {
    0% {
        left: -100%;
    }

    50% {
        left: -50%;
    }

    100% {
        left: 0%;
    }
}

