/* 
    ELITE CARGO - CUSTOM STYLES (100% MATCH)
    Colors: Navy (#1A2238), Crimson Red (#BF2026), Dark Navy (#0D121F)
*/

:root {
    --primary: #1A2238;
    --accent: #BF2026;
    --dark-navy: #0D121F;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F7F7F7;
    --white: #FFFFFF;
    --black: #000000;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container-width: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Roboto', sans-serif; font-weight: 700; text-transform: uppercase; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 25px; }

/* Global Helpers */
.centered { text-align: center; }
.white-text { color: var(--white); }
.text-red { color: var(--accent); }
.bg-primary { background: var(--primary); }
.bg-red { background: var(--accent); }
.bg-light { background: var(--bg-light); }
.pt-100 { padding-top: 100px; }
.pb-100 { padding-bottom: 100px; }
.pt-80 { padding-top: 80px; }
.pb-80 { padding-bottom: 80px; }
.mt-30 { margin-top: 30px; }
.mt-60 { margin-top: 60px; }
.pl-60 { padding-left: 60px; }
.img-responsive { width: 100%; height: auto; display: block; }

.section-title { font-size: 2.2rem; color: var(--primary); letter-spacing: 1px; }
.title-line { width: 60px; height: 3px; background: var(--accent); margin-top: 10px; }
.section-headerCentered .title-line { margin: 10px auto 0; }

/* Header */
header { background: var(--white); padding: 5px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-bar { display: flex; justify-content: space-between; align-items: center; }
.main-logo { height: 75px; width: auto; transition: var(--transition-smooth); }

.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--primary); font-weight: 700; font-size: 0.9rem; transition: var(--transition-smooth); }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

/* Buttons */
.btn { display: inline-block; padding: 14px 30px; border-radius: 4px; text-decoration: none; font-weight: 800; font-size: 0.85rem; letter-spacing: 1px; transition: var(--transition-smooth); cursor: pointer; border: none; }
.btn-red { background: var(--accent); color: var(--white); }
.btn-red:hover { background: var(--primary); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(191,32,38,0.2); }
.btn-outline-white { border: 2px solid var(--white); color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--primary); transform: translateY(-3px); }
.btn-white { background: var(--white); color: var(--accent); }
.btn-white:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }

/* Hero */
.hero { height: 100vh; background: url('im/hero-bg.png') no-repeat center center/cover; display: flex; align-items: center; position: relative; color: var(--white); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(13, 18, 31, 0.6); }
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 20px; font-weight: 900; }
.hero p { font-size: 1.6rem; margin-bottom: 40px; font-weight: 500; letter-spacing: 1px; }
.hero-btns { display: flex; gap: 20px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.service-card { background: var(--white); padding: 45px 35px; border-radius: 8px; text-align: center; transition: var(--transition-smooth); box-shadow: 0 5px 15px rgba(0,0,0,0.03); border-bottom: 3px solid transparent; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); border-bottom-color: var(--accent); }
.service-card i { font-size: 2.8rem; color: var(--accent); margin-bottom: 25px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 15px; color: var(--primary); }

/* Stats */
.stats-flex { display: flex; justify-content: space-around; text-align: center; }
.stat-box { flex: 1; }
.stat-num { display: block; font-size: 3rem; font-weight: 900; margin-bottom: 5px; }
.stat-label { font-size: 1rem; text-transform: uppercase; font-weight: 600; opacity: 0.8; }

/* Tariff Section */
.tariff-box { background: var(--white); padding: 60px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.tariff-seal { height: 180px; width: auto; transition: var(--transition-smooth); }
.tariff-seal:hover { transform: scale(1.1) rotate(5deg); }

/* Banner Flex */
.banner-flex { display: flex; justify-content: space-between; align-items: center; }

/* Footer */
#footer { background: var(--dark-navy); color: rgba(255,255,255,0.7); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
.footer-logo-img { height: 80px; margin-bottom: 20px; }
.footer-col h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 30px; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }
.footer-col a:hover { color: var(--accent); padding-left: 8px; }

.social-links a { display: inline-flex; width: 40px; height: 40px; background: rgba(255,255,255,0.05); border-radius: 5px; align-items: center; justify-content: center; color: var(--white); text-decoration: none; transition: var(--transition-smooth); margin-right: 10px; }
.social-links a:hover { background: var(--accent); transform: translateY(-3px); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); margin-top: 60px; padding-top: 30px; font-size: 0.85rem; }

/* Split Layout */
.split-layout { display: flex; gap: 60px; }
.flex-1 { flex: 1; }
.flex-2 { flex: 2; }
.align-center { align-items: center; }

/* Mobile */
@media (max-width: 992px) {
    .split-layout, .banner-flex, .stats-flex { flex-direction: column; gap: 40px; text-align: center; }
    .pl-60 { padding-left: 0; }
    .hero h1 { font-size: 2.8rem; }
    .nav-links { display: none; }
    .main-logo { height: 60px; }
}

/* Why Choose Section */
.why-choose { padding: 100px 0; }
.split-layout { display: flex; align-items: center; gap: 60px; }
.why-left { flex: 1; }
.why-right { flex: 1; }

.check-list { list-style: none; margin-top: 30px; }
.check-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; font-weight: 600; font-size: 1.1rem; }
.check-list i { color: var(--accent); font-size: 1.3rem; }

.image-placeholder {
    width: 100%;
    height: 400px;
    background: #ddd;
    border-radius: 10px;
    background: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?q=80&w=2070&auto=format&fit=crop') center/cover;
}

/* Contact Banner */
.contact-banner {
    background: var(--accent);
    padding: 60px 0;
    color: var(--white);
}

.banner-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Contact Section */
.contact { padding: 100px 0; }
.contact-wrapper {
    display: flex;
    gap: 60px;
}

.contact-info { flex: 1; }
.info-item { display: flex; gap: 20px; margin-bottom: 40px; }
.info-item i {
    width: 50px; height: 50px; background: rgba(191,32,38,0.1);
    color: var(--accent); border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; flex-shrink: 0;
}

.contact-form-container { flex: 2; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

input, textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    margin-bottom: 20px;
    outline: none;
    transition: var(--transition);
}

input:focus, textarea:focus { border-color: var(--accent); }

/* Footer */
#footer { background: var(--primary); color: var(--white); padding: 80px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
.footer-col h3 { margin-bottom: 25px; font-size: 1.3rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-col a:hover { color: var(--white); padding-left: 5px; }

.footer-logo { font-size: 2rem; font-weight: 800; margin-bottom: 20px; color: var(--white); }
.social-links { display: flex; gap: 15px; margin-top: 25px; }
.social-links a {
    width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.social-links a:hover { background: var(--accent); border-color: var(--accent); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 60px; padding-top: 20px; font-size: 0.9rem; opacity: 0.6; }

/* Animations */
.animate-up { opacity: 0; transform: translateY(30px); transition: 1s ease-out; }
.animate-up.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Inner Pages Global Styles */
.page-header {
    background: var(--primary);
    padding: 120px 0 60px;
    color: var(--white);
    text-align: center;
}

.page-header h1 { font-size: 3.5rem; margin-bottom: 10px; }
.breadcrumb { font-size: 0.9rem; opacity: 0.7; }

.pt-100 { padding-top: 100px; }
.pb-100 { padding-bottom: 100px; }
.pt-80 { padding-top: 80px; }
.pb-80 { padding-bottom: 80px; }
.pt-60 { padding-top: 60px; }
.pb-60 { padding-bottom: 60px; }
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.font-700 { font-weight: 700; }
.text-accent { color: var(--accent); }
.bg-white { background: var(--white); }
.box-shadow { box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.border-radius-10 { border-radius: 10px; }
.p-40 { padding: 40px; }
.p-30 { padding: 30px; }
.flex-1 { flex: 1; }
.flex-0 { flex: 0; }
.flex-0-4 { flex: 0.4; }
.align-center { align-items: center; }
.d-inline-block { display: inline-block; }

/* Stats & Cards */
.stats-grid { display: flex; gap: 40px; }
.stat-item { text-align: left; }
.stat-num { display: block; font-size: 2.5rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.9rem; color: var(--text-light); }

.card-inner { background: var(--white); padding: 40px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.card-inner i { font-size: 2.5rem; color: var(--accent); margin-bottom: 20px; }

/* Check List V2 */
.check-list-v2 { list-style: none; }
.check-list-v2 li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 15px; }
.check-list-v2 i { color: var(--accent); margin-top: 5px; }

/* Sidebar */
.sidebar-box h4 { font-size: 1.4rem; color: var(--primary); }

/* Navigation Active Support */
.mobile-toggle { display: none; cursor: pointer; font-size: 1.5rem; }

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.back-to-top.show {
    display: flex; /* Show via JS */
}

@media (max-width: 992px) {
    .page-header h1 { font-size: 2.5rem; }
    .stats-grid, .stats-flex, .split-layout, .banner-flex { flex-direction: column; gap: 40px; text-align: center; }
    .pl-60 { padding-left: 0; }
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    .main-logo { height: 60px; }
    .stat-box { margin-bottom: 20px; }
}
