:root {
    --primary: #0A1F44;
    --primary-soft: #123269;
    --accent: #FF6B00;
    --accent-dark: #d95700;
    --ink: #14213d;
    --muted: #6c757d;
    --surface: #ffffff;
    --surface-tint: #f4f7fb;
    --border: rgba(10, 31, 68, 0.12);
    --radius: 8px;
    --shadow: 0 16px 40px rgba(7, 20, 44, 0.14);
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
    scroll-padding-top: 92px;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background: var(--primary);
    color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

img,
svg,
iframe {
    max-width: 100%;
}

img,
svg {
    height: auto;
}

img {
    display: block;
}

a {
    color: inherit;
}

main {
    overflow: hidden;
}

.row > * {
    min-width: 0;
}

.container {
    width: min(100% - 1.5rem, 1140px);
}

.site-main {
    padding-top: 0;
}

.btn {
    border-radius: var(--radius);
    font-weight: 700;
    white-space: normal;
}

.btn-primary,
.custbtn {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
.custbtn:hover,
.custbtn:focus {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #ffffff;
}

.custtxtclr,
.service-link {
    color: var(--accent);
}

.section-title,
.page-title {
    margin-bottom: 0.75rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0;
}

.section-subtitle,
.page-subtitle {
    max-width: 720px;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 2vw, 1.2rem);
}

/* Navbar */
.custom-navbar {
    background-color: rgba(10, 31, 68, 0.98);
    backdrop-filter: blur(12px);
}

.navbar {
    padding: 0.7rem 0;
}

.navbar .container {
    gap: 1rem;
    flex-wrap: nowrap;
}

.navbar-brand {
    flex: 1 1 auto;
    min-width: 0;
    color: #ffffff !important;
}

.brand-logo {
    flex: 0 0 auto;
}

.brand-mark {
    width: clamp(78px, 11vw, 132px);
    height: auto;
    border-radius: 999px;
    display: block;
}

.brand-name {
    display: block;
    color: #ffffff;
    font-size: clamp(1rem, 2.1vw, 1.35rem);
    font-weight: 800;
    line-height: 1;
    overflow-wrap: anywhere;
}

.brand-subtitle {
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(0.65rem, 1.6vw, 0.75rem);
    letter-spacing: 0;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.35);
    padding: 0.45rem 0.6rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 0, 0.24);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
    margin-right: 0.25rem;
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
}

.quote-btn {
    width: 100%;
    min-height: 44px;
}

/* Shared sections */
.hero-section,
.services-hero-section,
.contact-hero-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(420px, 74vh, 720px);
    padding: clamp(4rem, 10vw, 7rem) 0;
    background:
        linear-gradient(90deg, rgba(10, 31, 68, 0.92), rgba(10, 31, 68, 0.58)),
        url('/img/RoadTransport.jpg') center / cover no-repeat;
}

.services-hero-section,
.contact-hero-section {
    min-height: 280px;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 107, 0, 0.18), transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-title {
    font-size: clamp(2.4rem, 7vw, 5.75rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.hero-subtitle {
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-size: clamp(1.35rem, 3.5vw, 2.35rem);
    font-weight: 800;
}

.hero-description {
    max-width: 680px;
    margin: 0 auto 1.5rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.hero-buttons .btn {
    margin: 0 !important;
}

.statistics-section,
.services-section,
.testimonials-section,
.contact-info-section,
.faq-section,
.content-section {
    background: var(--surface-tint);
    color: var(--ink);
}

.services-section .section-subtitle,
.testimonials-section .section-subtitle,
.faq-section .section-subtitle {
    color: var(--muted);
}

.about-section,
.why-choose-section,
.contact-form-section,
.service-detail-section {
    background: var(--primary);
    color: #ffffff;
}

.stat-card,
.service-card,
.reason-card,
.testimonial-card,
.contact-info-card,
.director-card,
.form-container,
.additional-info,
.accordion-item {
    height: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.stat-card,
.service-card,
.reason-card,
.testimonial-card,
.contact-info-card {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.stat-icon,
.service-icon,
.reason-icon,
.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.12);
    color: var(--accent);
    font-size: 1.55rem;
}

.stat-number,
.stat-label {
    font-weight: 800;
}

.service-title,
.reason-card h4 {
    font-size: 1.35rem;
    font-weight: 800;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    font-weight: 800;
    text-decoration: none;
}

.service-card,
.reason-card,
.testimonial-card {
    display: flex;
    flex-direction: column;
}

.about-text,
.service-detail-description,
.description,
.cta-subtitle {
    color: rgba(255, 255, 255, 0.78);
}

.about-features,
.service-features,
.info-list {
    display: grid;
    gap: 0.8rem;
    padding-left: 0;
    list-style: none;
}

.feature-item,
.service-features li,
.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.feature-item i,
.service-features i {
    color: var(--accent);
    margin-top: 0.2rem;
}

.about-image,
.service-detail-image,
.map-container {
    overflow: hidden;
    border-radius: var(--radius);
}

.about-image {
    min-height: clamp(240px, 34vw, 380px);
    background: url('/img/nextdrivelogistics.png') center / min(78%, 380px) auto no-repeat, var(--surface);
}

.image-placeholder {
    width: 100%;
}

.service-photo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cta-section {
    background: linear-gradient(135deg, var(--accent), #ff8a2c);
    color: #ffffff;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}

.contact-info-card a,
.contact-info-card p,
.director-card a {
    overflow-wrap: anywhere;
}

.director-avatar {
    width: 76px;
    height: 76px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.12);
    color: var(--accent);
    font-size: 1.9rem;
}

.form-container {
    background-color: var(--primary) !important;
    color: #ffffff;
}

.form-control,
.form-select {
    min-height: 46px;
}

.map-container iframe {
    display: block;
    min-height: 340px;
}

.additional-info {
    padding: 1.25rem;
    color: var(--ink);
}

.accordion-button {
    font-weight: 800;
}

footer {
    background: #07152f !important;
}

footer .container {
    gap: 1rem;
}

footer a {
    text-decoration: none;
}

footer small {
    opacity: 0.85;
}

@media (min-width: 992px) {
    .quote-btn {
        width: auto;
    }

    .navbar-collapse {
        justify-content: flex-end;
    }
}

@media (max-width: 991.98px) {
    html {
        scroll-padding-top: 82px;
    }

    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: var(--radius);
        background: rgba(4, 14, 34, 0.78);
    }

    .navbar-nav {
        align-items: stretch !important;
    }

    .navbar-nav .nav-link {
        margin-right: 0;
    }

    .service-detail-section .row {
        gap: 2rem;
    }

    .service-detail-image {
        max-width: 680px;
        margin-inline: auto;
    }
}

@media (max-width: 767.98px) {
    .container {
        width: min(100% - 1rem, 1140px);
    }

    .navbar {
        padding: 0.55rem 0;
    }

    .navbar .container {
        gap: 0.6rem;
    }

    .navbar-brand .ms-2 {
        margin-left: 0.45rem !important;
    }

    .brand-subtitle {
        display: none !important;
    }

    .hero-section {
        min-height: 560px;
        text-align: center;
    }

    .hero-buttons .btn,
    .cta-section .btn {
        width: 100%;
    }

    .statistics-section,
    .services-section,
    .why-choose-section,
    .testimonials-section,
    .contact-info-section,
    .contact-form-section,
    .service-detail-section,
    .faq-section,
    .cta-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .about-image {
        min-height: 220px;
        background-size: min(86%, 300px) auto;
    }

    .service-photo {
        width: 100%;
        max-height: none;
    }

    .director-card .row {
        text-align: center;
        gap: 1rem;
    }

    .map-container iframe {
        height: 360px;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .brand-mark {
        width: 58px;
    }

    .brand-name {
        font-size: 0.86rem;
    }

    .navbar-toggler {
        padding: 0.35rem 0.5rem;
        flex: 0 0 auto;
    }

    .stat-card,
    .service-card,
    .reason-card,
    .testimonial-card,
    .contact-info-card,
    .form-container {
        padding: 1rem !important;
    }
}
