/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #fff;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: #002b5c;
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.social-icons img {
    width: 20px;
    margin-left: 10px;
    filter: brightness(0) invert(1);
}

/* ===== NAVIGATION ===== */
nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}
.logo img {
    height: 50px;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: #002b5c;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: #d32f2f;
}
.login-btn {
    background: #d32f2f;
    color: white !important;
    padding: 8px 20px;
    border-radius: 4px;
}
.login-btn:hover {
    background: #b71c1c;
}
.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(rgba(0,43,92,0.7), rgba(0,43,92,0.7)),
                url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    text-align: center;
    color: white;
}
.hero h1 {
    font-size: 3rem;
    letter-spacing: 2px;
}
.hero h2 {
    font-size: 2.5rem;
    margin: 15px 0 30px;
    color: #ffcc00;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    padding: 14px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s;
}
.btn-primary {
    background: #d32f2f;
    color: white;
}
.btn-primary:hover {
    background: #b71c1c;
}
.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}
.btn-secondary:hover {
    background: white;
    color: #002b5c;
}

/* ===== SERVICES GRID ===== */
.services-section {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}
.services-section h2 {
    font-size: 2.2rem;
    color: #002b5c;
    margin-bottom: 40px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.service-card {
    background: white;
    padding: 30px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.service-card h3 {
    font-size: 1rem;
    color: #002b5c;
}

/* ===== ABOUT + SLIDER ===== */
.about-section {
    padding: 80px 0;
    background: white;
}
.about-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}
.about-text {
    flex: 1;
}
.about-text h2 {
    font-size: 2rem;
    color: #002b5c;
    margin-bottom: 20px;
}
.about-text p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}
.about-slider {
    flex: 1;
    min-width: 0; /* for swiper */
}
.swiper {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.swiper-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}
.swiper-button-next, .swiper-button-prev {
    color: #d32f2f;
}
.swiper-pagination-bullet-active {
    background: #d32f2f;
}

/* ===== VIDEO SECTION ===== */
.video-section {
    padding: 60px 0;
    background: #f0f4fa;
    text-align: center;
}
.video-section h2 {
    font-size: 2rem;
    color: #002b5c;
    margin-bottom: 30px;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== TRACKING ===== */
.tracking-section {
    padding: 60px 0;
    background: white;
    text-align: center;
}
.tracking-section h2 {
    color: #002b5c;
    font-size: 2rem;
    margin-bottom: 20px;
}
.track-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    max-width: 550px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.search-bar {
    display: flex;
}
.search-bar input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}
.search-bar button {
    padding: 12px 25px;
    background: #d32f2f;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    font-weight: bold;
    cursor: pointer;
}
#trackingResult {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    text-align: left;
}
.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: bold;
    color: #002b5c;
}
.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
}
.status-badge.transit { background: #e3f2fd; color: #0d47a1; }
.status-badge.customs { background: #fff3e0; color: #e65100; }
.status-badge.delivered { background: #e8f5e9; color: #1b5e20; }
.status-details {
    background: #f1f4f9;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #002b5c;
}
.status-details p { margin-bottom: 8px; }
.spinner {
    display: none;
    width: 30px;
    height: 30px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #d32f2f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto 0;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== QUOTE FORM ===== */
.quote-section {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}
.quote-section h2 {
    font-size: 2rem;
    color: #002b5c;
    margin-bottom: 10px;
}
.quote-section p {
    color: #555;
    margin-bottom: 30px;
}
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}
.form-group {
    flex: 1;
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}
.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
#quoteEstimate {
    background: #e3edf7;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.2rem;
}
#priceDisplay {
    font-weight: 700;
    font-size: 1.6rem;
    color: #002b5c;
}
.btn-send {
    width: 100%;
    padding: 15px;
    background: #002b5c;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}
.btn-send:hover {
    background: #001f44;
}

/* ===== FOOTER ===== */
footer {
    background: #002b5c;
    color: white;
    padding: 40px 0 20px;
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}
.footer-grid h3 {
    margin-bottom: 15px;
}
.footer-grid p {
    margin-bottom: 8px;
    line-height: 1.6;
}
.footer-grid a {
    color: #ffcc00;
    text-decoration: none;
}
.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .about-grid {
        flex-direction: column;
    }
    .about-slider {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: block;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero h2 {
        font-size: 1.8rem;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
