* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Header */
.top-bar {
    background-color: #131842; /* Accent Color */
    color: white;
    padding: 12px 0;
    font-size: 14px;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin-right: 30px;
}

.top-bar a:hover {
    text-decoration: underline;
}

header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    color: #131644; /* Primary Color */
    text-decoration: none;
}

.logo img {
    height: 50px;
    margin-right: 15px;
    width: auto;
}

.logo span {
    color: #257bcd; /* Accent Color */
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: #131644; /* Primary Color */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #257bcd; /* Accent Color */
}

.cta-button {
    background-color: #257bcd; /* Accent Color */
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #1a5ea8; /* Darker Accent */
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(19, 22, 68, 0.8), rgba(19, 22, 68, 0.8)), 
                url('../images/IMG_5107.jpeg') center/cover;
    color: white;
    padding: 120px 20px;
    text-align: left;
}

/* Page Title Section */
.page-title-section {
    background-color: #131644; /* Fallback */
    background-position: center;
    background-size: cover;
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 40px;
}

/* Default Background (e.g. for About, Contact) */
.page-title-section {
    background-image: linear-gradient(rgba(19, 22, 68, 0.9), rgba(19, 22, 68, 0.9)), 
                      url('../images/IMG_5107.jpeg');
}

/* Specific Page Backgrounds */
.page-title-ftl {
    background-image: linear-gradient(rgba(19, 22, 68, 0.9), rgba(19, 22, 68, 0.9)), 
                      url('../images/IMG_5107.jpeg');
}

.page-title-ltl {
    background-image: linear-gradient(rgba(19, 22, 68, 0.9), rgba(19, 22, 68, 0.9)), 
                      url('../images/IMG_5123.jpeg');
}

.page-title-drayage {
    background-image: linear-gradient(rgba(19, 22, 68, 0.9), rgba(19, 22, 68, 0.9)), 
                      url('../images/IMG_5183.jpeg');
}

.page-title-courier {
    background-image: linear-gradient(rgba(19, 22, 68, 0.9), rgba(19, 22, 68, 0.9)), 
                      url('../images/IMG_5302.jpeg');
}

.page-title-flatbed {
    background-image: linear-gradient(rgba(19, 22, 68, 0.9), rgba(19, 22, 68, 0.9)), 
                      url('../images/IMG_5433.png');
}

.page-title-section h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-title-section p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Service Detail Images */
.service-image {
    text-align: center;
    margin-bottom: 30px;
}

.service-image img {
    max-width: 100%;
    width: 800px;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #257bcd; /* Accent Color */
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-buttons a {
    padding: 15px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #257bcd; /* Accent Color */
    color: white;
}

.btn-primary:hover {
    background-color: #1a5ea8; /* Darker Accent */
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #131644; /* Primary Color */
}

/* Services Section */
.services {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

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

.section-title {
    color: #257bcd; /* Accent Color */
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 20px;
}

.service-card h3 {
    color: #131644; /* Primary Color */
    margin-bottom: 12px;
    font-size: 20px;
}

.service-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.service-card a {
    display: inline-block;
    background-color: #257bcd; /* Accent Color */
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.service-card a:hover {
    background-color: #1a5ea8; /* Darker Accent */
}

/* About Section */
.about {
    padding: 80px 20px;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    color: #131644; /* Primary Color */
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-features {
    margin-top: 30px;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.feature {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-icon {
    background-color: #e6f0fa;
    color: #257bcd;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* Quote Form */
.quote-section {
    background: linear-gradient(rgba(19, 22, 68, 0.9), rgba(19, 22, 68, 0.9)), 
                url('../images/IMG_5558.jpeg') center/cover;
    color: white;
    padding: 80px 20px;
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    color: #333;
}

.quote-container h2 {
    text-align: center;
    color: #131644;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background-color: #257bcd;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #1a5ea8;
}

/* Footer */
footer {
    background-color: #131644;
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #257bcd;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: #aaa;
    font-size: 14px;
}

.footer-bottom a {
    color: #aaa;
    text-decoration: none;
}

/* Mobile Menu Button - Hidden by default on desktop */
.mobile-menu-btn {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        position: relative;
    }

    /* Mobile Menu Button - Show only on mobile */
    .mobile-menu-btn {
        display: block !important;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: #131644;
        padding: 10px;
        z-index: 1001;
    }

    nav {
        display: none;
        width: 100%;
        order: 3;
    }

    nav.mobile-open {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 0;
    }

    nav ul li a {
        display: block;
        padding: 10px 20px;
    }

    .cta-button {
        order: 4;
        margin-top: 10px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .top-bar {
        display: none;
    }
}

/* Service Detail Pages */
.service-content {
    padding: 60px 20px;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-text h2 {
    color: #131644;
    margin-bottom: 20px;
}

.service-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.features-section,
.process-section {
    margin-top: 60px;
}

.features-section h3,
.process-section h3 {
    text-align: center;
    color: #131644;
    margin-bottom: 30px;
}

.features-grid,
.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-item,
.step {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    border-radius: 8px;
}

.feature-item {
    background: #f9f9f9;
}

.step {
    text-align: center;
    border: 1px solid #eee;
}

.feature-item h4,
.step h4 {
    color: #257bcd;
    margin-bottom: 10px;
}

.step-icon {
    font-size: 30px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
}
