/* ============================================
   GLOBAL RESET
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #fff;
}

/* ============================================
   FIXED NAVBAR (semi-transparent + blur)
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background-color: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(8px);
    padding: 0.8rem 0;
    transition: all 0.2s;
}

.navbar-brand {
    font-weight: 600;
    color: white !important;
}
.navbar-brand img {
    margin-right: 10px;
}
.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    margin: 0 0.25rem;
}
.navbar-nav .nav-link:hover {
    color: #fff !important;
    transform: translateY(-1px);
}
.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

/* ============================================
   MAIN – NO EXTRA MARGIN
   ============================================ */
main {
    margin-top: 0;
    padding-top: 0;
}

/* ============================================
   HERO SECTION – FULL VIEWPORT WITH VIDEO
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #000;
    overflow: hidden;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Hero search form */
.hero-search-form {
    max-width: 600px;
    margin: 1.5rem auto 0;
}
.hero-search-form .input-group {
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.hero-search-form .form-control {
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
}
.hero-search-form .btn {
    padding: 15px 35px;
    border-radius: 0 60px 60px 0;
    background-color: #0d6efd;
    border: none;
}

/* ============================================
   CARDS & COMMON STYLES
   ============================================ */
.card-img-top {
    object-fit: cover;
    height: 200px;
}
.card {
    border-radius: 15px;
    overflow: hidden;
}
.card-header {
    border-radius: 15px 15px 0 0 !important;
}
.btn {
    border-radius: 30px;
}
.input-group-text {
    border-radius: 30px 0 0 30px;
}
.form-control,
.form-select {
    border-radius: 0 30px 30px 0;
}
.alert {
    border-radius: 15px;
}
footer a {
    text-decoration: none;
}
.section-title {
    position: relative;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #0d6efd;
    margin: 10px auto 0;
}

/* ============================================
   CLIENT LOGOS CAROUSEL
   ============================================ */
.client-logos {
    background: #f8f9fa;
    padding: 40px 0;
    overflow: hidden;
    white-space: nowrap;
}
.logos-slide {
    display: inline-block;
    animation: slide 30s linear infinite;
}
.client-logos img {
    height: 40px;
    margin: 0 30px;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.client-logos img:hover {
    opacity: 1;
}
@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   INDUSTRY, COMPANY, NEWS CARDS
   ============================================ */
.industry-card,
.company-card,
.news-card {
    transition: all 0.3s ease;
    border-radius: 20px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}
.industry-card:hover,
.company-card:hover,
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* ============================================
   COUNTRY STATS GRID
   ============================================ */
.country-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.country-card-stats {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.country-name {
    font-weight: 700;
    font-size: 1.1rem;
}
.shipment-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d6efd;
}

/* ============================================
   NEWS GRID
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.news-card-large {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.news-card-large .card-body {
    padding: 20px;
}

/* ============================================
   FEATURE ICONS
   ============================================ */
.feature-icon {
    font-size: 2.5rem;
    color: #0d6efd;
    margin-bottom: 15px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }
}
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .hero-search-form .btn {
        padding: 12px 20px;
    }
    .country-stats-grid {
        gap: 12px;
    }
    .news-grid {
        gap: 20px;
    }
    .client-logos img {
        height: 30px;
        margin: 0 15px;
    }
}
@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }
    .hero-search-form .input-group {
        flex-direction: column;
        border-radius: 30px;
    }
    .hero-search-form .form-control {
        border-radius: 30px;
    }
    .hero-search-form .btn {
        border-radius: 30px;
        margin-top: 10px;
    }
    .country-stats-grid {
        grid-template-columns: 1fr;
    }
}