/* assets/css/styles.css */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #0A285A;
    --red: #E53935;
    --ink: #12213d;
    --muted: #667085;
    --line: #e7ebf2;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    -webkit-font-smoothing: antialiased;
    color: var(--ink);
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: -0.015em;
}

::selection {
    background: var(--red);
    color: #fff;
}

a, button, input, select, textarea {
    transition: all 0.25s ease;
}

/* Sticky Navbar Transitions */
#navbar {
    transition: all 0.3s ease-in-out;
    border-bottom: 1px solid rgba(10, 40, 90, 0.06);
    overflow: visible;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    min-height: 4rem;
    line-height: 0;
}

.nav-logo {
    display: block;
    height: auto !important;
    max-width: min(16rem, 58vw);
    max-height: 5rem;
    object-fit: contain;
    object-position: center;
}

.scrolled-nav {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.scrolled-nav .nav-link {
    color: #4b5563 !important; /* gray-600 */
}
.scrolled-nav .nav-link:hover {
    color: #E53935 !important;
}

.scrolled-nav .logo-text {
    color: #0A285A !important;
}

.scrolled-nav .mobile-menu-icon {
    color: #0A285A !important;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Custom Overlays */
.hero-overlay {
    background: linear-gradient(90deg, rgba(5, 22, 55, 0.96) 0%, rgba(10, 40, 90, 0.72) 52%, rgba(10, 40, 90, 0.24) 100%);
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.16;
    background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, black, transparent 80%);
}

/* Keep the fixed navbar from crowding the first hero cue on small screens. */
.hero-section {
    padding-top: 10.5rem;
}

@media (min-width: 640px) {
    .hero-section {
        padding-top: 11rem;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding-top: 7rem;
    }
}

.hero-assurance {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 1.25rem;
}

.fleet-overlay {
    background: linear-gradient(to top, rgba(10, 40, 90, 0.95) 0%, rgba(10, 40, 90, 0.5) 100%);
}

/* Card Hover Effects */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(10, 40, 90, 0.18);
    box-shadow: 0 24px 48px rgba(10, 40, 90, 0.12);
}

.service-card:hover .icon-container {
    background-color: #E53935;
    color: white;
}

.icon-container {
    transition: all 0.3s ease;
}

.service-number {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    color: #d9e2f0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1;
    transition: color 0.3s ease;
}

.service-card:hover .service-number {
    color: rgba(229, 57, 53, 0.24);
}

/* Trust Bar */
.trust-bar-item {
    position: relative;
}
@media (min-width: 768px) {
    .trust-bar-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 20%;
        height: 60%;
        width: 1px;
        background-color: rgba(255,255,255,0.2);
    }
}

.process-section {
    background-image: radial-gradient(circle at 85% 15%, rgba(10, 40, 90, 0.05), transparent 28%);
}

.coverage-section {
    background-image: linear-gradient(135deg, #f5f8fc 0%, #eef3f9 100%);
}

.coverage-board {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.9rem;
    background: linear-gradient(145deg, #0b2f6d 0%, #071d45 100%);
    box-shadow: 0 24px 54px rgba(10, 40, 90, 0.18);
    color: #fff;
}

.coverage-board::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.15;
    background-image: linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 70% 30%, black, transparent 75%);
}

.coverage-board > * {
    position: relative;
    z-index: 1;
}

.coverage-board-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    color: #dbeafe;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.coverage-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #a7f3d0;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.coverage-status span {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: #34d399;
    box-shadow: 0 0 0 0.25rem rgba(52, 211, 153, 0.12);
}

.route-list {
    display: grid;
    gap: 0.8rem;
    padding: 1.5rem 0;
}

.route-item {
    display: grid;
    grid-template-columns: minmax(5.5rem, 0.9fr) minmax(2.5rem, 1fr) minmax(5.5rem, 0.9fr) auto;
    align-items: center;
    gap: 0.7rem;
    min-height: 3rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.45rem;
    background: rgba(255, 255, 255, 0.05);
}

.route-end {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #f8fafc;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.route-end-right {
    justify-content: flex-end;
}

.route-dot {
    width: 0.45rem;
    height: 0.45rem;
    flex: 0 0 auto;
    border: 2px solid #f87171;
    border-radius: 999px;
    background: #0b2f6d;
}

.route-line {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg, rgba(248, 113, 113, 0.85), rgba(255, 255, 255, 0.2), rgba(248, 113, 113, 0.85));
}

.route-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.35rem;
    height: 0.35rem;
    border-top: 1px solid #f87171;
    border-right: 1px solid #f87171;
    transform: translate(-50%, -50%) rotate(45deg);
}

.route-tag {
    min-width: 3.2rem;
    padding: 0.3rem 0.45rem;
    border-radius: 999px;
    background: rgba(248, 113, 113, 0.12);
    color: #fca5a5;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.coverage-region-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.coverage-region {
    padding: 0.7rem 0.75rem;
    border-radius: 0.4rem;
    background: rgba(255, 255, 255, 0.06);
}

.coverage-region span,
.coverage-region strong {
    display: block;
}

.coverage-region span {
    margin-bottom: 0.2rem;
    color: #fca5a5;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.coverage-region strong {
    color: #dbeafe;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.45;
}

.process-step {
    position: relative;
    padding-left: 3.75rem;
}

.process-index {
    position: absolute;
    left: 0;
    top: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(229, 57, 53, 0.35);
    border-radius: 999px;
    color: var(--red);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.quote-section {
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    width: 34rem;
    height: 34rem;
    right: -14rem;
    top: -12rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow: 0 0 0 4rem rgba(255, 255, 255, 0.025), 0 0 0 8rem rgba(255, 255, 255, 0.018);
    pointer-events: none;
}

.quote-card {
    position: relative;
    z-index: 1;
    padding: 2rem;
    border-radius: 0.75rem;
    width: 100%;
    border: 1px solid rgba(10, 40, 90, 0.08);
    background: #fff !important;
    color: var(--ink);
    box-shadow: 0 28px 70px rgba(3, 17, 45, 0.28);
}

.quote-contact-icon {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #f87171;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
    color: #344054 !important;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-field > span {
    display: block;
    color: #344054 !important;
    line-height: 1.2;
}

.form-field input,
.form-field select,
.form-field textarea {
    display: block;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 0.35rem;
    background: #fbfcfe;
    color: var(--ink);
    font-family: 'Manrope', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: normal;
    outline: none;
    padding: 0.8rem 0.9rem;
    text-transform: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #98a2b3;
    opacity: 1;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--red);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.form-field textarea {
    resize: vertical;
}

@media (max-width: 640px) {
    .quote-card {
        padding: 1.35rem;
    }

    .hero-assurance {
        font-size: 0.75rem;
    }
}
