/* =====================================================
   DC Global Logistics - Main Stylesheet
   Premium vault & security company theme
   ===================================================== */

:root {
    --primary: #b98a2f;
    --primary-dark: #966f20;
    --dark: #0d1b2a;
    --darker: #080f18;
    --dark-alt: #131f30;
    --accent: #f5c542;
    --body-bg: #ffffff;
    --body-color: #5a6270;
    --heading-color: #0d1b2a;
    --border-color: #e9edf2;
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f5c542 50%, #b98a2f 100%);
    --transition: all .3s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--body-color);
    background: var(--body-bg);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.25;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; }

.section-padding { padding: 70px 0; }
.pt-90 { padding-top: 90px; }
.pb-90 { padding-bottom: 90px; }

/* ---------- Top Bar ---------- */
.topbar {
    background: var(--dark);
    color: rgba(255,255,255,.85);
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 2px solid var(--primary);
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--accent); }
.topbar .topbar-right { text-align: right; }
.topbar i { color: var(--accent); margin-right: 6px; }
.topbar .separator { margin: 0 10px; opacity: .4; }

/* ---------- Main Nav ---------- */
.main-header { background: #ffffff; box-shadow: 0 2px 15px rgba(0,0,0,.07); position: sticky; top: 0; z-index: 1030; }
.navbar-brand img { height: 46px; width: auto; }
.navbar-brand .brand-text { font-weight: 800; color: var(--dark); font-size: 1.25rem; letter-spacing: .5px; }
.navbar-brand .brand-text span { color: var(--primary); }
.navbar .nav-link {
    color: var(--dark);
    font-weight: 600;
    font-size: .9rem;
    padding: 1.05rem .62rem !important;
    letter-spacing: .2px;
    white-space: nowrap;
}
.navbar .nav-link .nav-chev { font-size: .6rem; margin-left: 5px; opacity: .65; }
.navbar .dropdown-menu {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    padding: .45rem;
    min-width: 225px;
    margin-top: .6rem;
}
.navbar .dropdown-item {
    font-weight: 600;
    font-size: .86rem;
    color: var(--dark);
    border-radius: 9px;
    padding: .6rem .85rem;
}
.navbar .dropdown-item:hover { background: #f5f1e8; color: var(--primary); }
.nav-cta .btn { margin-left: .25rem; }
.nav-cta .btn-sm { padding: .55rem 1.15rem !important; font-size: .8rem; }
.nav-cta .btn-track { margin: 0; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--primary); }
.btn-track {
    background: var(--gradient-gold);
    color: #fff !important;
    border-radius: 30px !important;
    padding: .55rem 1.4rem !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: .85rem;
    letter-spacing: .5px;
    box-shadow: 0 4px 14px rgba(185,138,47,.35);
}
.btn-track:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(185,138,47,.45); }

/* ---------- Hero Slider ---------- */
.hero-slider {
    position: relative;
    background: var(--dark);
    overflow: hidden;
}
.hero-slider .carousel-item { min-height: 78vh; }
.hero-slider .carousel-item .bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(.55) saturate(1.1);
    transform: scale(1.06);
}
.hero-slider .hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0;
    max-width: 820px;
}
.hero-slider .eyebrow {
    display: inline-block;
    background: rgba(245,197,66,.12);
    border: 1px solid rgba(245,197,66,.4);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 22px;
}
.hero-slider h1 {
    color: #fff;
    font-size: 3.4rem;
    font-weight: 800;
    margin-bottom: 18px;
    text-shadow: 0 3px 20px rgba(0,0,0,.3);
}
.hero-slider h1 .gold { 
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-slider p.lead { color: rgba(255,255,255,.9); font-size: 1.15rem; max-width: 600px; margin-bottom: 32px; }
.btn-gold, .btn-outline-light {
    padding: 14px 36px;
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 40px;
    transition: var(--transition);
}
.btn-gold {
    background: var(--gradient-gold);
    color: #fff;
    box-shadow: 0 8px 24px rgba(185,138,47,.4);
}
.btn-gold:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(185,138,47,.5); }
.btn-outline-light { border: 2px solid rgba(255,255,255,.65); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--dark); }
.hero-slider .carousel-indicators { bottom: 40px; }
.hero-slider .carousel-indicators [data-bs-target] { width: 34px; height: 4px; border-radius: 4px; background-color: var(--accent); border: 0; opacity: .4; }
.hero-slider .carousel-indicators .active { opacity: 1; }

/* ---------- Feature strip (below hero) ---------- */
.feature-strip { background: var(--dark); color: #fff; padding: 30px 0; margin-top: -1px; }
.feature-strip .feature-item { display: flex; align-items: center; gap: 15px; }
.feature-strip .feature-item i { font-size: 2rem; color: var(--accent); }
.feature-strip .feature-item h6 { color: #fff; margin-bottom: 2px; font-size: 1rem; }
.feature-strip .feature-item p { color: rgba(255,255,255,.7); font-size: .87rem; margin: 0; }

/* ---------- Section headings ---------- */
.section-head { margin-bottom: 55px; }
.section-head .pre-title {
    color: var(--primary);
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    display: block;
}
.section-head h2 { font-size: 2.4rem; font-weight: 800; margin-bottom: 14px; }
.section-head p { max-width: 640px; margin: 0 auto; }
.section-head.center { text-align: center; }
.section-head .underline { width: 70px; height: 3px; background: var(--gradient-gold); border-radius: 3px; margin-top: 14px; }
.section-head.center .underline { margin-left: auto; margin-right: auto; }

/* ---------- About ---------- */
.about-block .about-img-wrap { position: relative; }
.about-block .about-img-wrap img.rounded-4 { box-shadow: 0 20px 60px rgba(13,27,42,.2); }
.about-block .experience-badge {
    position: absolute;
    bottom: -28px;
    right: 30px;
    background: var(--gradient-gold);
    color: #fff;
    border-radius: 16px;
    padding: 22px 30px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(185,138,47,.4);
}
.about-block .experience-badge .num { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.about-block .experience-badge .lbl { font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; }
.about-block h2 { font-size: 2.3rem; font-weight: 800; margin-bottom: 20px; }
.about-block .about-list { margin-top: 24px; }
.about-block .about-list li { margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.about-block .about-list i { color: var(--primary); }

/* ---------- Services cards ---------- */
.service-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 34px 28px;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(13,27,42,.12); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon-box {
    width: 70px; height: 70px;
    border-radius: 16px;
    background: rgba(185,138,47,.1);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 22px;
    transition: var(--transition);
}
.service-card:hover .icon-box { background: var(--gradient-gold); color: #fff; }
.service-card h5 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.service-card p { font-size: .93rem; margin-bottom: 16px; }
.service-card .link { font-weight: 700; font-size: .88rem; }

/* ---------- Why choose us ---------- */
.why-section { background: var(--dark); color: #fff; }
.why-section .section-head h2, .why-section .section-head .pre-title { color: #fff; }
.why-section .section-head .pre-title { color: var(--accent); }
.why-section .section-head p { color: rgba(255,255,255,.7); }
.why-item {
    background: var(--dark-alt);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;
    padding: 28px 24px;
    height: 100%;
    transition: var(--transition);
}
.why-item:hover { border-color: rgba(245,197,66,.4); transform: translateY(-5px); }
.why-item i { font-size: 1.6rem; color: var(--accent); margin-bottom: 14px; }
.why-item h6 { color: #fff; font-weight: 700; margin-bottom: 8px; }
.why-item p { color: rgba(255,255,255,.7); font-size: .9rem; margin: 0; }

/* ---------- Stats counters ---------- */
.stats-section { background: var(--gradient-gold); position: relative; overflow: hidden; }
.stats-section::before, .stats-section::after {
    content: '';
    position: absolute;
    border: 2px solid rgba(255,255,255,.18);
    border-radius: 50%;
}
.stats-section::before { width: 320px; height: 320px; top: -120px; left: -100px; }
.stats-section::after { width: 420px; height: 420px; bottom: -180px; right: -140px; }
.stat-box { text-align: center; color: #fff; position: relative; z-index: 2; padding: 20px 10px; }
.stat-box .num { font-size: 3rem; font-weight: 800; line-height: 1.1; }
.stat-box .lbl { font-size: .9rem; text-transform: uppercase; letter-spacing: 2px; opacity: .9; }

/* ---------- Service tabs / categorized ---------- */
.service-tab-card { display: flex; gap: 26px; align-items: center; padding: 26px; border: 1px solid var(--border-color); border-radius: 18px; margin-bottom: 24px; transition: var(--transition); background: #fff; }
.service-tab-card:hover { box-shadow: 0 14px 34px rgba(13,27,42,.1); transform: translateY(-4px); }
.service-tab-card .num-badge {
    flex: 0 0 64px;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.2rem;
}
.service-tab-card h5 { font-weight: 700; }
.service-tab-card img.thumb { height: 90px; width: 130px; object-fit: cover; border-radius: 10px; }

/* ---------- Consignment check (track your consignment) ---------- */
.consignment-check {
    background: linear-gradient(rgba(8,15,24,.9), rgba(8,15,24,.9)), url('../images/vault-gate.jpg') center/cover fixed;
    color: #fff;
}
.consignment-check .section-head h2 { color: #fff; }
.consignment-check .section-head p { color: rgba(255,255,255,.7); }

/* ---------- Escrow banner ---------- */
.escrow-banner {
    background: linear-gradient(135deg, #1f3a5f, #0d1b2a);
    color: #fff;
}
.escrow-banner .section-head .pre-title.text-gold { color: var(--accent); }
.escrow-banner .section-head h2 { color: #fff; }
.escrow-point { color: rgba(255,255,255,.92); font-weight: 600; font-size: .95rem; }
.escrow-point i { color: var(--accent); margin-right: 8px; }
.escrow-banner .track-form-card { margin-left: 0; }
.track-form-card {
    background: #fff; border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0,0,0,.35);
    max-width: 620px;
}
.track-form-card .form-control {
    border: 2px solid var(--border-color);
    border-radius: 40px;
    padding: 14px 22px;
    font-size: 1rem;
}
.track-form-card .form-control:focus { border-color: var(--primary); box-shadow: none; }
.track-form-card label { font-weight: 700; color: var(--dark); font-size: .9rem; margin-bottom: 8px; display: block; }

/* ---------- Pricing ---------- */
.pricing-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    height: 100%;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(13,27,42,.14); }
.pricing-card.featured { border: 2px solid var(--primary); box-shadow: 0 20px 50px rgba(185,138,47,.25); }
.pricing-card.featured .pricing-header { background: var(--gradient-gold); color: #fff; }
.pricing-card .pricing-header { padding: 30px; background: var(--dark); color: #fff; text-align: center; }
.pricing-card .pricing-header h4 { color: #fff; font-weight: 800; }
.pricing-card .pricing-header .price { font-size: 2.8rem; font-weight: 800; color: var(--accent); }
.pricing-card.featured .pricing-header .price { color: #fff; }
.pricing-card .pricing-header .period { opacity: .8; font-size: .9rem; }
.pricing-card .pricing-body { padding: 30px; }
.pricing-card .pricing-body ul { list-style: none; padding: 0; margin: 0 0 24px; }
.pricing-card .pricing-body li { padding: 9px 0; border-bottom: 1px dashed var(--border-color); font-size: .93rem; display: flex; align-items: center; gap: 8px; }
.pricing-card .pricing-body li:last-child { border-bottom: 0; }
.pricing-card .pricing-body li i { color: var(--primary); }
.pricing-card .btn-block { width: 100%; }
.ribbon {
    position: absolute; top: 22px; right: -42px;
    background: var(--primary); color: #fff;
    padding: 7px 44px; font-size: .75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    transform: rotate(45deg);
}

/* ---------- CTA banner ---------- */
.cta-banner {
    background: linear-gradient(120deg, var(--dark) 0%, #1b2a3d 60%, var(--primary-dark) 100%);
    color: #fff; padding: 70px 0;
    position: relative; overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute; right: -60px; top: -60px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(245,197,66,.25) 0%, transparent 70%);
}
.cta-banner h2 { color: #fff; font-size: 2rem; font-weight: 800; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,.8); margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 34px;
    height: 100%;
    transition: var(--transition);
}
.testimonial-card:hover { box-shadow: 0 16px 40px rgba(13,27,42,.1); }
.testimonial-card .stars { color: var(--accent); margin-bottom: 16px; }
.testimonial-card blockquote { font-size: .98rem; color: var(--body-color); font-style: italic; margin-bottom: 20px; }
.testimonial-card .person { display: flex; align-items: center; gap: 14px; }
.testimonial-card .person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial-card .person .name { font-weight: 700; color: var(--dark); }
.testimonial-card .person .role { font-size: .82rem; color: var(--primary); }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
    background: linear-gradient(rgba(8,15,24,.78), rgba(8,15,24,.78)), url('../images/vault-gate.jpg') center/cover;
    padding: 38px 0 36px;
    text-align: center;
    color: #fff;
}
.page-banner h1 { color: #fff; font-size: 1.85rem; font-weight: 800; }
.page-banner .breadcrumb { justify-content: center; background: transparent; margin: 0; font-size: .85rem; }
.page-banner .breadcrumb a { color: rgba(255,255,255,.7); }
.page-banner .breadcrumb-item.active { color: var(--accent); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }
.page-banner + .section-padding { padding-top: 45px; }

/* ---------- FAQ ---------- */
.accordion-item { border: 1px solid var(--border-color) !important; border-radius: 12px !important; margin-bottom: 14px; overflow: hidden; }
.accordion-button { font-weight: 700; color: var(--dark); font-size: 1rem; padding: 20px 24px; }
.accordion-button:not(.collapsed) { background: var(--dark); color: #fff; box-shadow: none; }
.accordion-button:focus { box-shadow: none; }
.accordion-body { padding: 22px 26px; }

/* ---------- Contact ---------- */
.contact-info-card {
    background: var(--dark);
    color: #fff;
    border-radius: 18px;
    padding: 34px;
    margin-bottom: 24px;
}
.contact-info-card h5 { color: #fff; font-weight: 700; margin-bottom: 14px; }
.contact-info-card i { color: var(--accent); margin-right: 10px; }
.contact-info-card p { color: rgba(255,255,255,.8); margin-bottom: 10px; }
.contact-form-card { background: #fff; border: 1px solid var(--border-color); border-radius: 18px; padding: 40px; }
.contact-form-card .form-control { border: 1px solid var(--border-color); border-radius: 10px; padding: 13px 16px; }
.contact-form-card .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(185,138,47,.12); }

/* ---------- Tracking results ---------- */
.tracking-result { background: #fff; border: 1px solid var(--border-color); border-radius: 18px; padding: 34px; }
.tracking-progress { display: flex; justify-content: space-between; position: relative; margin: 36px 0; }
.tracking-progress::before {
    content: ''; position: absolute; top: 16px; left: 10%; right: 10%;
    height: 3px; background: var(--border-color);
}
.tracking-step { position: relative; z-index: 2; text-align: center; flex: 1; }
.tracking-step .dot {
    width: 34px; height: 34px; border-radius: 50%;
    background: #fff; border: 3px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 10px; color: var(--border-color);
}
.tracking-step.active .dot { border-color: var(--primary); color: var(--primary); background: rgba(185,138,47,.08); }
.tracking-step.done .dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.tracking-step .label { font-size: .78rem; font-weight: 600; color: var(--body-color); }
.tracking-step.active .label, .tracking-step.done .label { color: var(--dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--darker); color: rgba(255,255,255,.72); padding-top: 80px; }
.site-footer h5 { color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 24px; position: relative; padding-bottom: 12px; }
.site-footer h5::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--gradient-gold); border-radius: 3px; }
.site-footer ul.list-unstyled li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--accent); padding-left: 4px; }
.site-footer .footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.site-footer .footer-contact i { color: var(--accent); margin-top: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 60px; padding: 22px 0; font-size: .88rem; }
.footer-bottom a { color: var(--accent); }
.social-links { margin-top: 20px; }
.social-links a {
    display: inline-flex; width: 38px; height: 38px;
    border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
    align-items: center; justify-content: center;
    color: #fff; margin-right: 8px; font-size: .85rem;
}
.social-links a:hover { background: var(--gradient-gold); border-color: transparent; }

/* ---------- Auth pages ---------- */
.auth-section { background: linear-gradient(rgba(8,15,24,.82), rgba(8,15,24,.82)), url('../images/vault-gate.jpg') center/cover; min-height: 100vh; display: flex; align-items: center; }
.auth-card { background: #fff; border-radius: 20px; padding: 44px; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.auth-card .form-control { border: 1px solid var(--border-color); border-radius: 10px; padding: 13px 16px; }
.auth-card .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(185,138,47,.12); }

/* ---------- Alerts / flashes ---------- */
.flash-container { max-width: 900px; margin: 0 auto; }
.alert { border-radius: 12px; }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 48px; height: 48px;
    background: var(--gradient-gold); color: #fff;
    border-radius: 12px; border: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; box-shadow: 0 8px 24px rgba(185,138,47,.4);
    z-index: 1050; opacity: 0; visibility: hidden; transition: var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .navbar .nav-link { padding: .6rem .95rem !important; }
    .navbar-collapse .nav-link.dropdown-toggle { display: inline-block; }
    .navbar-collapse .dropdown-menu { position: static; box-shadow: none; border: none; margin: 0 0 .4rem .5rem; padding-left: .5rem; background: transparent; }
    .navbar-collapse .dropdown-item { padding: .5rem .75rem; }
    .navbar-collapse .dropdown-item:hover { background: transparent; }
}

@media (max-width: 991.98px) {
    .hero-slider h1 { font-size: 2.4rem; }
    .section-padding { padding: 55px 0; }
    .topbar .topbar-right { text-align: left; }
    .btn-track { margin: 10px 0; }
    .track-form-card { padding: 26px; }
    .hero-slider .carousel-item { min-height: 60vh; }
    .service-tab-card { flex-wrap: wrap; }
}

@media (max-width: 575.98px) {
    .hero-slider h1 { font-size: 2rem; }
    .section-head h2 { font-size: 1.8rem; }
    .hero-slider .hero-content { padding: 80px 0; }
    .stat-box .num { font-size: 2.2rem; }
    .page-banner h1 { font-size: 1.6rem; }
    .btn-gold, .btn-outline-light { padding: 12px 26px; font-size: .82rem; }
}