:root {
    /* Logistic Dark Premium Theme */
    --bg-body: #050a14;
    /* Deep Navy almost Black */
    --bg-surface: #0f1522;
    /* Slightly lighter for cards */
    --bg-header: #020408;
    /* Darkest for top bar */
    --bg-glass: rgba(15, 21, 34, 0.7);

    --primary: #ff6600;
    /* Vibrant Orange from the image */
    --primary-hover: #e65c00;
    --primary-gradient: linear-gradient(135deg, #ff6600 0%, #ff9933 100%);
    --bg-gradient: linear-gradient(180deg, #050a14 0%, #0f1522 100%);

    --text-white: #ffffff;
    --text-gray: #a0aab8;
    --text-muted: #64748b;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --border-color: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}


.premium-glow {
    position: relative;
}

.premium-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}


body {
    background-color: var(--bg-body);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: #1a2235;
    border-radius: 5px;
    border: 2px solid var(--bg-body);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Top Bar */
.top-bar {
    background-color: var(--bg-header);
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-item {
    color: var(--text-gray);
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
}

.top-bar-item i {
    color: var(--primary);
    margin-right: 8px;
}

.social-links a {
    color: var(--text-gray);
    margin-left: 15px;
}

.social-links a:hover {
    color: var(--primary);
}

/* Main Navbar */
.navbar {
    background: rgba(5, 10, 20, 0.8);
    padding: 1rem 0;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: #fff !important;
    letter-spacing: -1.5px;
}


.navbar-brand span {
    color: var(--primary);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

/* Orange underline for active/hover - mimicking the image */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    /* Adjust based on padding */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 25px;
}

.btn-cta {
    background: var(--primary-gradient);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 14px 32px;
    border-radius: 50px;
    /* More modern rounded pill */
    border: none;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(255, 102, 0, 0.2);
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 102, 0, 0.4);
    color: #fff;
}


/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(5, 10, 20, 0.92) 0%, rgba(5, 10, 20, 0.6) 50%, rgba(5, 10, 20, 0.95) 100%),
        url('../img/caminhao.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 100px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 50%, rgba(255, 102, 0, 0.05), transparent 50%);
    pointer-events: none;
}

/* Quick Icons Row Improved */
.quick-icons-row {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    z-index: 10;
}

.quick-icons-row {
    margin-top: 40px;
}

.quick-icon-card {
    background: transparent;
    border: none;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
    width: 120px;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quick-icon-card:hover {
    transform: translateY(-5px);
}

.quick-icon-card i {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--primary);
    display: block;
    transition: all 0.3s ease;
}

.quick-icon-card:hover i {
    transform: scale(1.1);
}

.quick-icon-card span {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-gray);
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.quick-icon-card:hover span {
    color: var(--text-white);
}





.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.8;
}


/* Other Sections overrides for Dark Theme */
.page-header {
    background: linear-gradient(135deg, var(--bg-header) 0%, var(--bg-surface) 100%);
    padding: 120px 0 80px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1.5px;
}


.card-service {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.card-service:hover {
    transform: translateY(-12px);
    border-color: transparent;
    box-shadow: 0 20px 40px rgba(255, 102, 0, 0.15);
}

.card-service:hover h3,
.card-service:hover p,
.card-service:hover a,
.card-service:hover i {
    color: white !important;
}

.card-service:hover i {
    transform: scale(1.1) rotate(-5deg);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 102, 0, 0.1);
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.5s ease;
}


.text-muted {
    color: var(--text-gray) !important;
}

.accordion-item {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    border-radius: 15px !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(255, 102, 0, 0.3);
}

.accordion-button {
    background-color: transparent !important;
    color: white !important;
    padding: 25px;
    font-weight: 600;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(255, 102, 0, 0.05) !important;
    color: var(--primary) !important;
}

.accordion-body {
    background: transparent;
    color: var(--text-gray);
    padding: 0 25px 25px;
}


.accordion-button::after {
    filter: invert(1);
}

.form-control,
.form-select {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: white;
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: white;
    box-shadow: none;
}

footer {
    background-color: var(--bg-header);
    border-top: 1px solid var(--border-color);
}

.footer-link-modern {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-link-modern:hover {
    color: var(--primary);
}

.social-links-modern a {
    color: var(--text-gray);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links-modern a:hover {
    color: var(--primary);
    transform: translateY(-3px);
    display: inline-block;
}


/* Forms */
.form-control,
.form-select {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--text-white) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.15) !important;
    color: var(--text-white) !important;
}

.form-control::placeholder {
    color: var(--text-muted) !important;
}

.form-label {
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 8px;
}


.btn-outline-light:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* PRELOADER */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-body);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 102, 0, 0.2);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* WHATSAPP FLOATING WIDGET */
#whatsapp-widget {
    position: fixed !important;
    bottom: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
}

.whatsapp-float {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9998 !important;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 32px;
    color: white;
}

.whatsapp-chat-box {
    position: fixed !important;
    bottom: 100px !important;
    right: 30px !important;
    width: 350px;
    max-width: calc(100vw - 60px);
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 9999 !important;
    display: none !important;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.whatsapp-chat-box.active {
    display: flex !important;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whatsapp-chat-header {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    position: relative;
}

.whatsapp-chat-header strong {
    font-size: 1rem;
}

.whatsapp-chat-header small {
    font-size: 0.75rem;
    opacity: 0.9;
}

.btn-close-chat {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: opacity 0.3s;
}

.btn-close-chat:hover {
    opacity: 0.7;
}

.whatsapp-chat-body {
    padding: 20px;
    background: #ECE5DD;
    min-height: 200px;
    max-height: 300px;
    overflow-y: auto;
}

.whatsapp-message {
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    max-width: 80%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.whatsapp-message.received {
    background: white;
}

.whatsapp-message.sent {
    background: #DCF8C6;
    margin-left: auto;
}

.whatsapp-message p {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: #333;
}

.whatsapp-message small {
    font-size: 0.7rem;
    color: #999;
}

.whatsapp-chat-footer {
    padding: 10px;
    background: #F0F0F0;
    display: flex;
    gap: 10px;
}

#whatsapp-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
    font-size: 0.9rem;
}

#whatsapp-input:focus {
    border-color: #25D366;
}

.btn-send-whatsapp {
    width: 40px;
    height: 40px;
    background: #25D366;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-send-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-section {
        min-height: 70vh;
    }

    .whatsapp-chat-box {
        width: calc(100vw - 40px) !important;
        right: 20px !important;
        bottom: 90px !important;
    }

    .whatsapp-float {
        bottom: 20px !important;
        right: 20px !important;
    }
}