.text-stroke {
        -webkit-text-stroke: 1.5px #FFFFFF;
        color: transparent;
    }
    .text-stroke-dark {
        -webkit-text-stroke: 1.5px #0B132A;
        color: transparent;
    }
    @keyframes spin-slow {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
    .animate-spin-slow {
        animation: spin-slow 20s linear infinite;
    }
    @keyframes marquee {
        0% { transform: translateX(0%); }
        100% { transform: translateX(-50%); }
    }
    .animate-marquee {
        display: flex;
        width: max-content;
        animation: marquee 25s linear infinite;
    }
    .animate-marquee:hover {
        animation-play-state: paused;
    }
    .gotribe-no-scrollbar {
        scrollbar-width: none;
    }
    .gotribe-no-scrollbar::-webkit-scrollbar {
        display: none;
    }
    #gotribe-news-slider {
        -webkit-user-select: none;
        user-select: none;
        cursor: grab;
    }
    #gotribe-news-slider:active {
        cursor: grabbing;
    }
    #gotribe-news-slider img {
        -webkit-user-drag: none;
    }
    .gotribe-clamp3 {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* High-End Hero Text Animation */
    @keyframes heroReveal {
        0% { opacity: 0; transform: translateY(40px); }
        100% { opacity: 1; transform: translateY(0); }
    }
    .animate-hero-title {
        animation: heroReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .animate-hero-subtitle {
        animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
        opacity: 0;
    }
    .animate-hero-card {
        animation: heroReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
        opacity: 0;
    }

    /* Glass Card with Transparent Faded Edges */
    .faded-edge-glass {
        background: rgba(11, 19, 42, 0.65);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
        -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
    }

    /* Fade and Scale Transition for Testimonials */
    .testimonial-fade {
        transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    }
#truck-types {
    scroll-margin-top: 140px;
}
#quote {
    scroll-margin-top: 100px;
}
#footer {
    scroll-margin-top: 130px;
}

/* Safety rules in plain CSS: these must hold even if the Tailwind CDN is
   slow, so the mobile drawer and layout never break. */
html { overflow-x: clip; }
img { max-width: 100%; }
#mobile-drawer { transform: translateX(100%); transition: transform 0.3s ease; }
#mobile-drawer.gotribe-open { transform: translateX(0); }
#main-header.gotribe-scrolled { background-color: #0B132A; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.25); }
/* Mobile menu dropdown (plain CSS so it always works) */
.mobile-dropdown .mobile-submenu { display: none; }
.mobile-dropdown.gotribe-sub-open .mobile-submenu { display: block; }
.mobile-dropdown .mobile-submenu-toggle i { transition: transform 0.3s ease; }
.mobile-dropdown.gotribe-sub-open .mobile-submenu-toggle i { transform: rotate(180deg); }
