﻿/* Main Theme Styles - Premium Logistics UI */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");

:root {
	--rqf-navy: #0F2040;
	--rqf-orange: #FF6B00;
	--rqf-light-grey: #F8FAFC;
	--rqf-border: #E2E8F0;
	--rqf-dark-grey: #334155;
	--rqf-text: #475569;
	--rqf-white: #FFFFFF;
	--rqf-font-main: "Inter", system-ui, -apple-system, sans-serif;
	--rqf-shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
	--rqf-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
	--rqf-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
	--rqf-radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--rqf-font-main); color: var(--rqf-text); background: var(--rqf-white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { color: var(--rqf-navy); font-weight: 800; line-height: 1.2; margin-top: 0; }
a { color: var(--rqf-orange); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--rqf-navy); }
p { margin-bottom: 1.5rem; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--rqf-light-grey); }
.bg-navy { background-color: var(--rqf-navy); color: var(--rqf-white); }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* Header & Nav */
.site-header { background: var(--rqf-navy); color: var(--rqf-white); padding: 0; position: sticky; top: 0; z-index: 1000; box-shadow: var(--rqf-shadow-md); }
.header-top { background: #0a1526; padding: 8px 0; font-size: 0.85rem; color: #cbd5e1; }
.header-top .container { display: flex; justify-content: space-between; }
.header-top a { color: #cbd5e1; margin-left: 15px; }
.header-top a:hover { color: var(--rqf-orange); }

.header-main { padding: 15px 0; }
.header-main .container { display: flex; justify-content: space-between; align-items: center; }
.site-title { margin: 0; font-size: 1.8rem; font-weight: 800; }
.site-title a { color: var(--rqf-white); }
.site-title a span { color: var(--rqf-orange); }

.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.main-navigation > ul > li > a { color: var(--rqf-white); font-weight: 600; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; padding: 10px 0; display: block; }
.main-navigation > ul > li > a:hover { color: var(--rqf-orange); }

/* Mega Menu Fix */
.has-mega-menu { position: relative; }
.mega-menu { 
	position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); 
	background: var(--rqf-white); width: max-content; min-width: 250px; 
	box-shadow: var(--rqf-shadow-lg); border-radius: var(--rqf-radius); padding: 15px 0; 
	opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 100;
	border-top: 3px solid var(--rqf-orange);
}
.has-mega-menu:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-menu-list { display: flex; flex-direction: column; gap: 0 !important; }
.mega-menu-list li a { 
	color: var(--rqf-navy) !important; padding: 10px 25px !important; display: block; 
	font-weight: 500 !important; text-transform: none !important; font-size: 1rem !important; border-bottom: 1px solid var(--rqf-border);
}
.mega-menu-list li:last-child a { border-bottom: none; }
.mega-menu-list li a:hover { background: var(--rqf-light-grey); color: var(--rqf-orange) !important; padding-left: 30px !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: var(--rqf-radius); font-weight: 700; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.5px; border: 2px solid transparent; }
.btn-primary { background: var(--rqf-orange); color: var(--rqf-white); }
.btn-primary:hover { background: #E66000; color: var(--rqf-white); transform: translateY(-2px); box-shadow: var(--rqf-shadow-md); }
.btn-outline { background: transparent; border-color: var(--rqf-orange); color: var(--rqf-orange); }
.btn-outline:hover { background: var(--rqf-orange); color: var(--rqf-white); }

/* Hero */
.rqf-hero { position: relative; background-color: var(--rqf-navy); background-size: cover; background-position: center; padding: 150px 0; color: var(--rqf-white); text-align: center; }
.rqf-hero::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 32, 64, 0.85); }
.rqf-hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.rqf-hero-title { font-size: 4rem; font-weight: 800; color: var(--rqf-white); margin-bottom: 20px; text-transform: uppercase; letter-spacing: -1px; }
.rqf-hero-subtitle { font-size: 1.25rem; color: #cbd5e1; margin-bottom: 40px; font-weight: 400; }

/* Trust Bar */
.trust-bar { background: var(--rqf-orange); padding: 40px 0; color: var(--rqf-white); }
.trust-stat { display: flex; flex-direction: column; align-items: center; }
.trust-number { font-size: 3.5rem; font-weight: 900; line-height: 1; margin-bottom: 10px; }
.trust-label { font-size: 1.1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* Grid */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Feature Box */
.feature-box { background: var(--rqf-white); padding: 40px 30px; border-radius: var(--rqf-radius); box-shadow: var(--rqf-shadow-md); transition: transform 0.3s; border-bottom: 4px solid transparent; }
.feature-box:hover { transform: translateY(-5px); border-bottom-color: var(--rqf-orange); }
.feature-icon { font-size: 2.5rem; color: var(--rqf-orange); margin-bottom: 20px; }
.feature-title { font-size: 1.25rem; margin-bottom: 15px; }

/* Cards */
.card { background: var(--rqf-white); border: 1px solid var(--rqf-border); border-radius: var(--rqf-radius); overflow: hidden; transition: all 0.3s; display: flex; flex-direction: column; height: 100%; box-shadow: var(--rqf-shadow-sm); }
.card:hover { transform: translateY(-5px); box-shadow: var(--rqf-shadow-lg); }
.card-image { position: relative; height: 200px; background: #e2e8f0; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-image img { transform: scale(1.05); }
.card-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.4rem; margin-bottom: 15px; }
.card-title a { color: var(--rqf-navy); }
.card-title a:hover { color: var(--rqf-orange); }
.card-link { margin-top: auto; display: inline-flex; align-items: center; font-weight: 700; color: var(--rqf-orange); text-transform: uppercase; font-size: 0.9rem; }
.card-link i { margin-left: 5px; transition: margin-left 0.3s; }
.card-link:hover i { margin-left: 10px; }

/* Header Fixes */
.site-header .container { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 15px 24px;
    flex-wrap: wrap;
}
.site-branding { flex-shrink: 0; }
.main-navigation { flex-grow: 1; display: flex; justify-content: center; }
.header-actions { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }

/* Hide hamburger on desktop */
.menu-toggle { display: none; background: transparent; border: 1px solid var(--rqf-white); color: var(--rqf-white); padding: 5px 10px; border-radius: 4px; font-size: 1.5rem; cursor: pointer; }

/* Mobile styling */
@media (max-width: 991px) {
    .menu-toggle { display: block; }
    .main-navigation { 
        display: none; 
        width: 100%; 
        order: 4; 
        margin-top: 20px; 
    }
    .main-navigation.toggled { display: block; }
    .main-navigation > ul { flex-direction: column; gap: 10px; width: 100%; }
    .header-actions { margin-left: auto; margin-right: 15px; }
}

/* Footer Fixes */
.footer-widgets { padding: 40px 0; }
.footer-bottom { 
    border-top: 1px solid rgba(255,255,255,0.1); 
    padding: 20px 0; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap;
}
.site-footer { background: #0a1526; color: #cbd5e1; font-size: 0.95rem; }
.footer-title { color: var(--rqf-white); font-size: 1.2rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--rqf-orange); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: var(--rqf-orange); }
