@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
    --cfms-navy: #1a1f24;
    --cfms-blue: #2563eb;
    --cfms-cyan: #60a5fa;
    --cfms-accent: #2563eb;
    --cfms-soft: #f4f8fc;
    --cfms-ink: #1a1f24;
    --cfms-muted: #6e757c;
    --cfms-border: #dbe6f3;
    --bs-primary: #2563eb;
    --bs-primary-rgb: 37, 99, 235;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    color: var(--cfms-ink);
    background: var(--bs-body-bg);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .navbar-brand { font-family: "Manrope", sans-serif; letter-spacing: -.025em; }
a { text-decoration: none; }
.section-padding { padding: 7rem 0; }
.bg-soft { background: var(--cfms-soft); }
[data-bs-theme="dark"] {
    --cfms-soft: #0c2433;
    --cfms-ink: #f1f7fa;
    --cfms-muted: #9cb0bd;
    --cfms-border: #294352;
}
[data-bs-theme="dark"] .bg-soft { background: #0c2433; }
[data-bs-theme="dark"] .service-card,
[data-bs-theme="dark"] .industry-card,
[data-bs-theme="dark"] .quote-panel,
[data-bs-theme="dark"] .contact-form,
[data-bs-theme="dark"] .auth-card,
[data-bs-theme="dark"] .insight-card { background: #102c3d; }

.top-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 1040; color: rgba(255,255,255,.65); background: #0a1628; }
.top-bar a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s ease; }
.top-bar a:hover { color: var(--cfms-accent); }
.top-bar i { color: var(--cfms-cyan); margin-right: .35rem; }
.navbar-glass {
    top: 0;
    background: rgba(255,255,255,.9);
    border-bottom: 1px solid rgba(223,232,238,.8);
    backdrop-filter: blur(18px);
    transition: .3s ease;
}
.navbar-glass.has-top-bar { top: 38px; }
.hero { padding-top: 122px; }
[data-bs-theme="dark"] .navbar-glass { background: rgba(26,31,36,.9); border-color: rgba(60,60,60,.8); }
.navbar-brand { color: var(--cfms-navy); }
[data-bs-theme="dark"] .navbar-brand { color: #fff; }
.navbar-brand small { display: block; color: var(--cfms-cyan); font-family: "DM Sans", sans-serif; font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; }
.brand-mark { display: inline-grid; width: 42px; height: 42px; place-items: center; color: #fff; background: linear-gradient(135deg,var(--cfms-accent),#60a5fa); border-radius: 12px; box-shadow: 0 10px 26px rgba(37,99,235,.22); }
.brand-mark-lg { width: 58px; height: 58px; font-size: 1.45rem; }
.nav-link { color: var(--cfms-ink); font-weight: 600; padding-inline: .8rem !important; }
.nav-link:hover { color: var(--cfms-accent); }
.btn { border-radius: 10px; font-weight: 700; }
.btn-primary { background: linear-gradient(135deg, var(--cfms-accent), #60a5fa); color: #fff; border: 0; box-shadow: 0 10px 24px rgba(37,99,235,.2); }
.btn-accent { color: #fff; background: var(--cfms-accent); border: 0; }
.btn-icon { width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0; border-radius: 50%; }
.form-control, .form-select { min-height: 48px; border-color: var(--cfms-border); border-radius: 10px; }
.form-control:focus, .form-select:focus { border-color: var(--cfms-accent); box-shadow: 0 0 0 .2rem rgba(37,99,235,.15); }

.hero { padding-top: 84px; background: linear-gradient(145deg,#faf8f4 0%,#f5f2ec 55%,#efebe4 100%); }
.hero > .container { position: relative; z-index: 1; }
[data-bs-theme="dark"] .hero { background: linear-gradient(145deg,#14171a,#1c2126); }
.hero-grid { position: absolute; inset: 0; opacity: .22; pointer-events: none; background-image: linear-gradient(rgba(37,99,235,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(37,99,235,.06) 1px,transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom,black,transparent 85%); }
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(28px); opacity: .16; }
.hero-orb-one { width: 360px; height: 360px; right: -100px; top: 90px; background: var(--cfms-cyan); }
.hero-orb-two { width: 220px; height: 220px; left: -80px; bottom: 60px; background: var(--cfms-cyan); }
.hero h1 { color: var(--cfms-navy); line-height: .98; letter-spacing: -.065em; }
[data-bs-theme="dark"] .hero h1 { color: #fff; }
.text-gradient { background: linear-gradient(90deg,var(--cfms-accent),#60a5fa); background-clip: text; -webkit-background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--cfms-blue); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-light { color: #60a5fa; }
.hero-trust span { color: var(--cfms-muted); font-size: .9rem; font-weight: 600; }
.hero-trust i { color: var(--cfms-accent); margin-right: .3rem; }
.hero-card { padding: 1.7rem; border: 1px solid rgba(255,255,255,.9); border-radius: 24px; background: rgba(255,255,255,.85); box-shadow: 0 24px 55px rgba(26,31,36,.1); backdrop-filter: blur(16px); transform: rotate(1deg); }
[data-bs-theme="dark"] .hero-card { background: rgba(15,46,64,.88); border-color: rgba(255,255,255,.08); }
.status-live { display: inline-flex; gap: .4rem; align-items: center; padding: .35rem .7rem; color: #084298; background: #e7f1ff; border-radius: 20px; font-size: .75rem; font-weight: 800; }
.status-live span { width: 7px; height: 7px; background: var(--cfms-accent); border-radius: 50%; animation: pulse 1.6s infinite; }
.route-map { display: flex; justify-content: space-between; position: relative; margin: 1.5rem .25rem 0; }
.route-line { position: absolute; height: 3px; background: #dbe7ed; top: 17px; left: 8%; right: 8%; }
.route-progress { display: block; width: 67%; height: 100%; background: linear-gradient(90deg,var(--cfms-accent),#60a5fa); }
.route-point { position: relative; z-index: 1; display: grid; gap: .35rem; justify-items: center; color: #8194a1; font-size: .7rem; }
.route-point i { width: 36px; height: 36px; display: grid; place-items: center; border: 3px solid #dbe7ed; border-radius: 50%; background: #fff; }
.route-point.active i { color: var(--cfms-accent); border-color: var(--cfms-accent); }
.route-point.current i { color: #fff; border-color: var(--cfms-accent); background: var(--cfms-accent); box-shadow: 0 0 0 7px rgba(37,99,235,.12); }
.shipment-image { position: relative; min-height: 180px; overflow: hidden; border-radius: 16px; background: linear-gradient(135deg,rgba(6,43,69,.15),rgba(6,43,69,.65)), url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=900&q=80') center/cover; }
.image-overlay { position: absolute; right: 14px; bottom: 14px; display: flex; flex-direction: column; padding: .7rem .9rem; color: #fff; background: rgba(6,43,69,.82); border-radius: 10px; backdrop-filter: blur(8px); }
.image-overlay span, .metric-mini small { color: var(--cfms-muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.metric-mini { display: grid; gap: .2rem; padding: .8rem; border: 1px solid var(--cfms-border); border-radius: 10px; }
.metric-mini strong { font-size: .82rem; }
.partner-strip { border-block: 1px solid var(--cfms-border); }
.partner-strip strong { color: #81909a; letter-spacing: .08em; }

/* Stats Bar */
.stats-bar { background: linear-gradient(135deg, var(--cfms-navy), #2c3238); padding: 2.5rem 0; }
.stat-item { text-align: center; padding: 1rem 0.5rem; border-right: 1px solid rgba(255,255,255,.08); }
.stat-item:last-child { border-right: 0; }
.stat-item strong { display: block; color: #fff; font: 800 2.5rem "Manrope"; line-height: 1; }
.stat-item strong + span { color: #60a5fa; font-size: 0.9rem; font-weight: 700; }
.stat-item > span:last-child { display: block; color: rgba(255,255,255,.5); font-size: .82rem; margin-top: .3rem; }
[data-bs-theme="dark"] .stats-bar { background: linear-gradient(135deg, #0a0e12, #141a20); }

/* Why Choose Us */
.why-visual { position: relative; min-height: 480px; }
.why-image-main { position: absolute; inset: 0 8% 0 0; border-radius: 24px; background: linear-gradient(180deg,transparent,rgba(6,43,69,.3)),url('https://images.unsplash.com/photo-1494412651409-8963ce7935a7?auto=format&fit=crop&w=1000&q=85') center/cover; }
[data-bs-theme="dark"] .why-image-main { filter: brightness(.8); }
.why-badge { position: absolute; display: flex; align-items: center; gap: .7rem; padding: 1rem 1.25rem; border-radius: 14px; background: #fff; box-shadow: 0 18px 45px rgba(6,43,69,.15); }
[data-bs-theme="dark"] .why-badge { background: #102c3d; }
.why-badge i { font-size: 1.6rem; color: var(--cfms-accent); }
.why-badge strong { display: block; font-size: .9rem; color: var(--cfms-ink); }
.why-badge small { display: block; color: var(--cfms-muted); font-size: .75rem; }
.why-badge-1 { right: 0; top: 15%; }
.why-badge-2 { left: 4%; bottom: 10%; }
.why-features { display: grid; gap: 1.5rem; }
.why-feature { display: flex; gap: 1rem; align-items: flex-start; }
.why-feature-icon { display: grid; width: 48px; height: 48px; flex-shrink: 0; place-items: center; color: var(--cfms-accent); background: rgba(37,99,235,.10); border-radius: 12px; font-size: 1.2rem; }
.why-feature h5 { margin-bottom: .25rem; }
.why-feature p { font-size: .9rem; }

/* Testimonials Mini */
.testimonial-mini { height: 100%; padding: 2rem; border: 1px solid var(--cfms-border); border-radius: 18px; background: #fff; transition: .3s ease; }
[data-bs-theme="dark"] .testimonial-mini { background: #102c3d; }
.testimonial-mini:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(6,43,69,.08); }
.testimonial-stars { color: #f59e0b; margin-bottom: 1rem; }
.testimonial-stars i { margin-right: .15rem; }
.testimonial-mini p { color: var(--cfms-ink); font-size: .95rem; line-height: 1.6; }
[data-bs-theme="dark"] .testimonial-mini p { color: #c8d6e0; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--cfms-border); }
.testimonial-avatar { display: grid; width: 42px; height: 42px; flex-shrink: 0; place-items: center; color: #fff; background: linear-gradient(135deg,var(--cfms-accent),#60a5fa); border-radius: 50%; font-size: .8rem; font-weight: 700; }
.testimonial-author strong { display: block; font-size: .88rem; }
.testimonial-author small { display: block; color: var(--cfms-muted); font-size: .78rem; }

.service-card { padding: 2rem; border: 1px solid var(--cfms-border); border-radius: 18px; background: #fff; transition: .3s ease; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(37,99,235,.35); box-shadow: 0 20px 40px rgba(26,31,36,.08); }
.service-icon { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 1.5rem; color: var(--cfms-accent); background: rgba(37,99,235,.10); border-radius: 14px; font-size: 1.35rem; }
.service-card a, .link-arrow { color: var(--cfms-blue); font-weight: 700; }
.service-card a:hover { color: var(--cfms-accent); }
.service-card a i { transition: .2s ease; }
.service-card:hover a i { margin-left: .35rem; }
.tracking-panel { padding: 4rem; border-radius: 28px; background: linear-gradient(135deg,#1a1f24,#2c3238); box-shadow: 0 24px 55px rgba(26,31,36,.15); }
.tracking-input { display: flex; align-items: center; gap: .7rem; padding: .55rem; padding-left: 1.1rem; background: #fff; border-radius: 14px; }
.tracking-input > i { color: var(--cfms-accent); }
.tracking-input input { flex: 1; min-width: 0; border: 0; outline: 0; }
.tracking-result { padding: 1rem; color: #e9f8fb; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.08); }
.about-visual { position: relative; min-height: 520px; }
.about-main { position: absolute; inset: 0 12% 0 0; border-radius: 24px; background: linear-gradient(180deg,transparent,rgba(6,43,69,.25)),url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1000&q=85') center/cover; }
.experience-card, .iso-card { position: absolute; padding: 1.25rem; border-radius: 16px; background: #fff; box-shadow: 0 22px 50px rgba(6,43,69,.18); }
.experience-card { right: 0; top: 12%; display: grid; }
.experience-card strong { color: var(--cfms-blue); font: 800 2.5rem "Manrope"; }
.iso-card { left: 6%; bottom: -20px; display: flex; align-items: center; gap: .7rem; font-weight: 700; }
.iso-card i { color: #0ba66b; font-size: 1.5rem; }
.stat { display: grid; }
.stat strong { color: var(--cfms-navy); font: 800 2rem "Manrope"; }
[data-bs-theme="dark"] .stat strong { color: #fff; }
.stat span { color: var(--cfms-muted); }
.section-heading { max-width: 720px; }
.industry-card { display: flex; align-items: center; gap: 1rem; padding: 1.3rem; border: 1px solid var(--cfms-border); border-radius: 14px; background: #fff; font-weight: 700; transition: .2s ease; }
.industry-card:hover { color: var(--cfms-accent); border-color: var(--cfms-accent); }
.industry-card i { font-size: 1.4rem; }
.testimonial-section { overflow: hidden; }
.testimonial-card { position: relative; margin: 0; padding: 3.2rem; border-radius: 24px; background: var(--cfms-navy); box-shadow: 0 28px 60px rgba(6,43,69,.22); }
.testimonial-card p { color: #fff; font: 600 1.4rem/1.6 "Manrope"; }
.testimonial-card footer { display: grid; color: #fff; }
.testimonial-card footer span { color: rgba(255,255,255,.55); font-size: .9rem; }
.quote-mark { position: absolute; top: 0; right: 2rem; color: rgba(21,184,213,.28); font: 800 8rem/1 serif; }
.insight-card { overflow: hidden; border: 1px solid var(--cfms-border); border-radius: 18px; background: #fff; transition: .3s ease; }
.insight-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(6,43,69,.1); }
.insight-image { min-height: 190px; background-position: center; background-size: cover; }
.featured .insight-image { min-height: 280px; }
.insight-port { background-image: url('https://images.unsplash.com/photo-1494412651409-8963ce7935a7?auto=format&fit=crop&w=1000&q=80'); }
.insight-road { background-image: url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=700&q=80'); }
.insight-warehouse { background-image: url('https://images.unsplash.com/photo-1566576912321-d58ddd7a6088?auto=format&fit=crop&w=700&q=80'); }
.quote-panel { padding: 4rem; border: 1px solid var(--cfms-border); border-radius: 28px; background: #fff; box-shadow: 0 28px 70px rgba(6,43,69,.08); }
.quote-benefits { display: grid; gap: .8rem; margin-top: 2rem; padding: 0; list-style: none; }
.quote-benefits i { color: var(--cfms-accent); margin-right: .5rem; }
.contact-form { padding: 2rem; border: 1px solid var(--cfms-border); border-radius: 18px; background: #fff; }
.contact-list { display: grid; gap: 1.2rem; }
.contact-list > div { display: flex; align-items: center; gap: 1rem; }
.contact-list i { display: grid; width: 45px; height: 45px; place-items: center; color: var(--cfms-accent); background: rgba(37,99,235,.10); border-radius: 12px; }
.contact-list span { display: grid; color: var(--cfms-muted); }
.contact-list strong { color: var(--cfms-ink); }
.map-placeholder { min-height: 300px; display: grid; place-items: center; text-align: center; border-radius: 22px; background: linear-gradient(135deg,#e7f1ff,#f4f8fc); }
.map-placeholder > div { display: grid; gap: .5rem; }
.map-placeholder i { color: var(--cfms-accent); font-size: 2rem; }
.footer { background: #0a1628; }
.footer-links li { margin: .55rem 0; }
.footer-links a { color: rgba(255,255,255,.55); }
.footer-links a:hover { color: #fff; }
.social-link { display: grid; width: 38px; height: 38px; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.whatsapp-float { position: fixed; z-index: 1000; right: 24px; bottom: 24px; display: grid; width: 56px; height: 56px; place-items: center; color: #fff; background: #25d366; border-radius: 50%; box-shadow: 0 12px 28px rgba(0,0,0,.2); font-size: 1.55rem; }
.auth-page { min-height: 100vh; display: flex; align-items: center; padding-top: 90px; background: radial-gradient(circle at 10% 10%,rgba(37,99,235,.08),transparent 26%),var(--cfms-soft); }
.auth-card { width: 100%; max-width: 480px; padding: 2.5rem; border: 1px solid var(--cfms-border); border-radius: 22px; background: #fff; box-shadow: 0 30px 75px rgba(6,43,69,.12); }
.auth-card-wide { max-width: 720px; }
.reveal { opacity: 0; transform: translateY(18px); animation: reveal .75s ease forwards; }
.reveal:nth-child(2) { animation-delay: .1s; }
.reveal:nth-child(3) { animation-delay: .2s; }
.reveal:nth-child(4) { animation-delay: .3s; }
.reveal:nth-child(5) { animation-delay: .4s; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(18,168,102,0); } }

@media (max-width: 991.98px) {
    .navbar-collapse { margin-top: 1rem; padding: 1rem; border: 1px solid var(--cfms-border); border-radius: 14px; background: var(--bs-body-bg); }
    .hero { padding-top: 130px; }
    .hero h1 { font-size: clamp(3.3rem,12vw,5.2rem); }
    .section-padding { padding: 5rem 0; }
    .tracking-panel, .quote-panel { padding: 2.4rem; }
    .stat-item strong { font-size: 2rem; }
    .why-visual { min-height: 380px; }
    .why-badge { padding: .75rem 1rem; }
    .why-badge i { font-size: 1.3rem; }
}
@media (max-width: 575.98px) {
    .tracking-input { align-items: stretch; flex-wrap: wrap; }
    .tracking-input input { min-height: 42px; }
    .tracking-input .btn { width: 100%; }
    .about-visual { min-height: 420px; }
    .experience-card { right: 0; }
    .testimonial-card { padding: 2rem; }
    .testimonial-card p { font-size: 1.1rem; }
    .quote-panel, .tracking-panel, .auth-card { padding: 1.5rem; }
    .stat-item { padding: .75rem 0.25rem; }
    .stat-item strong { font-size: 1.6rem; }
    .stat-item:nth-child(2) { border-right: 0; }
    .why-visual { min-height: 300px; }
    .why-badge-1 { right: 0; top: 5%; }
    .why-badge-2 { left: 0; bottom: 5%; }
    .testimonial-mini { padding: 1.5rem; }
}

@media print {
    .navbar, .footer, .whatsapp-float, .btn, .sidebar { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
    .content-shell { margin: 0 !important; }
}
