/* =========================================
   MODERN LOGISTICS THEME - HOME.CSS
   primary: #00204a (Navy)
   accent:  #ff6b35 (Orange)
   ========================================= */

:root {
    --primary: #00204a;
    --primary-light: #003366;
    --accent: #ff6b35;
    --accent-hover: #e85d2a;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
    --radius-md: 8px;
    --radius-lg: 16px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

::selection {
    background: var(--accent);
    color: var(--white);
}

/* =========================================
   GLOBAL UTILITIES
   ========================================= */
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.text-accent {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.btn-link:hover {
    gap: 12px;
    color: var(--accent);
}

/* Common Header */
.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 18px;
}

/* =========================================
   1. HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    padding: 160px 0 120px;
    background: linear-gradient(105deg, #00204a 0%, #001530 100%);
    overflow: hidden;
    color: var(--white);
}

/* Background Image styling via ::before if needed or img tag */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.15;
    /* subtle texture */
    mix-blend-mode: overlay;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2;
    fill: var(--white);
}

.hero-container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content h1 {
    font-size: 64px;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Hero Quote Form */
.hero-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-form h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 24px;
}

.hero-form .form-group {
    margin-bottom: 16px;
}

.hero-form label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 6px;
    font-weight: 500;
}

.hero-form input,
.hero-form select,
.hero-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 14px;
    font-family: var(--font-body);
    transition: all 0.3s;
}

.hero-form input:focus {
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
}

box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
}

/* =========================================
   1.5 PAGE HERO (Generic)
   ========================================= */
.page-hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(105deg, #00204a 0%, #001530 100%);
    color: var(--white);
    text-align: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/services-bg.jpg') center/cover no-repeat;
    opacity: 0.2;
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: 56px;
    color: var(--white);
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px;
        min-height: 40vh;
    }

    .page-hero h1 {
        font-size: 36px;
    }
}

/* =========================================
   2. TRUSTED BY / STATS STRIP
   ========================================= */
.trust-strip {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.trust-logo-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.6;
    filter: grayscale(100%);
}

/* =========================================
   3. COMPANY INTRO
   ========================================= */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
    transition: transform 0.5s ease;
}

.about-img-box:hover .about-img {
    transform: scale(1.08);
}

.exp-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    min-width: 180px;
}

.exp-badge .years {
    display: block;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.exp-badge span {
    font-size: 14px;
    font-weight: 600;
}

/* =========================================
   4. SERVICES SECTION
   ========================================= */
.services-section {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color);
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(0, 32, 74, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.service-card:hover .icon-box {
    background: var(--primary);
}

.icon-box svg {
    width: 32px;
    height: 32px;
    fill: var(--primary);
    transition: all 0.3s;
}

.service-card:hover .icon-box svg {
    fill: var(--white);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-gray);
    font-size: 15px;
    margin-bottom: 24px;
}

/* =========================================
   5. WHY CHOOSE US
   ========================================= */
.why-us-section {
    background: var(--primary);
    color: var(--white);
    padding: 100px 0;
    overflow: hidden;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-list {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--accent);
}

.feature-text h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.why-img {
    position: relative;
}

.why-img img {
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* =========================================
   6. STATS METRICS
   ========================================= */
.stats-section {
    padding: 80px 0;
    background: var(--white);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item h2 {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 800;
}

.stat-item p {
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

/* =========================================
   7. CALL TO ACTION
   ========================================= */
.cta-section {
    background: url('../images/cta-bg.jpg') center/cover no-repeat fixed;
    position: relative;
    padding: 100px 0;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 32, 74, 0.9);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.cta-content h2 {
    color: var(--white);
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   8. GALLERY SECTION
   ========================================= */
.gallery {
    padding: var(--section-padding);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s;
    font-weight: 500;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .section-header h2 {
        font-size: 36px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-form {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .exp-badge {
        right: 0;
        bottom: -10px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-section {
        padding: 120px 0 80px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}