/* DriversFlow Logistic — Modern Single Page */

:root {
    --primary: #2c5aa0;
    --primary-dark: #1e3f73;
    --primary-light: #e8f0fe;
    --bs-primary-rgb: 44, 90, 160;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    padding-top: 56px;
    color: #1a1a2e;
}

.fw-800 { font-weight: 800; }

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: #555 !important;
    transition: color 0.2s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary) !important;
}

/* Colors */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Hero */
.hero-section {
    min-height: 100vh;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #f8fbff 0%, #e8f0fe 100%);
    overflow: hidden;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), #4a90d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-graphic {
    position: relative;
    height: 400px;
}

.hero-icon {
    font-size: 14rem;
    color: var(--primary);
    opacity: 0.08;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-card {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    padding: 14px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    animation: float 6s ease-in-out infinite;
}

.hero-card i { margin-right: 8px; }

.hero-card.card-1 {
    top: 15%;
    right: 5%;
    animation-delay: 0s;
}

.hero-card.card-2 {
    top: 45%;
    left: 5%;
    animation-delay: 2s;
}

.hero-card.card-3 {
    bottom: 15%;
    right: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Sections */
.py-section {
    padding: 100px 0;
}

/* Service cards */
.service-card {
    border-radius: 16px !important;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

/* Features */
.feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Contact */
.contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Cards */
.card {
    border-radius: 16px;
}

/* Footer */
footer a:hover { color: #fff !important; }

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 80px 0 60px;
        text-align: center;
    }

    .hero-section .d-flex {
        justify-content: center;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .py-section {
        padding: 60px 0;
    }

    .display-6 {
        font-size: 1.6rem;
    }
}
