/* ================================================
   ENHANCED DRAYAGE SERVICES SECTIONS - Modern & SEO Optimized
   ================================================ */

/* Equipment & Fleet Specifications Section */
.drayage-equipment {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.drayage-equipment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(26, 26, 26, 0.1) 50%, transparent 100%);
}

.drayage-equipment-header {
    margin-bottom: 60px;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.equipment-item {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(26, 26, 26, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.equipment-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #1A1A1A 0%, #0066cc 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.equipment-item:hover::before {
    transform: scaleX(1);
}

.equipment-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.equipment-icon svg {
    width: 48px;
    height: 48px;
}

.equipment-title {
    font-size: 22px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 12px;
    line-height: 1.2;
}

.equipment-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.equipment-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.equipment-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 15px;
    color: #555;
    line-height: 1.4;
}

.equipment-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #0066cc;
    font-weight: 600;
}

/* Railyard Coverage Section */
.railyard-coverage {
    padding: 80px 0;
}

.railyard-section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.railyard-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 20px;
    line-height: 1.2;
}

.railyard-section-description {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.6;
}

.railyard-section-description p {
    margin: 0;
}

.railyard-coverage .service_information {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.railyard-coverage .service_inform,
.railyard-coverage .service_image {
    align-self: flex-start;
}

.railyard-coverage .service_inform {
    flex: 1;
    max-width: 50%;
}

.railyard-coverage .service_image {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    margin-left: 0;
}

.railyard-coverage .railyard-list {
    margin-top: 0;
}

.railyard-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 32px;
    padding: 24px;
    background: rgba(248, 249, 250, 0.6);
    border-radius: 12px;
    border-left: 4px solid #0066cc;
    transition: all 0.3s ease;
}

.railyard-item:hover {
    background: rgba(248, 249, 250, 0.9);
    transform: translateX(4px);
}

.railyard-icon {
    margin-right: 20px;
    flex-shrink: 0;
}

.railyard-icon svg {
    width: 32px;
    height: 32px;
}

.railyard-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 8px;
    line-height: 1.2;
}

.railyard-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Coverage Stats */
.railyard-coverage .service_image {
    width: 100% !important;
    flex-direction: column !important;
    margin-left: 60px;
}

.coverage-stats {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.stat-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(26, 26, 26, 0.06);
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #0066cc;
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.stat-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Intermodal Process Section */
.intermodal-process {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.timeline-item {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(26, 26, 26, 0.06);
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.timeline-item:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.timeline-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1A1A1A 0%, #0066cc 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.timeline-content {
    margin-top: 20px;
    margin-bottom: 24px;
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 12px;
    line-height: 1.2;
}

.timeline-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.timeline-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.timeline-icon svg {
    width: 40px;
    height: 40px;
}

/* Supply Chain Advantages Section */
.supply-advantages {
    padding: 80px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.advantage-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(26, 26, 26, 0.06);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #1A1A1A 0%, #0066cc 100%);
    border-radius: 16px 16px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.advantage-icon svg {
    width: 48px;
    height: 48px;
}

.advantage-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 16px;
    line-height: 1.2;
}

.advantage-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .equipment-grid,
    .process-timeline,
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }
    
    .stat-card {
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .drayage-equipment,
    .railyard-coverage,
    .intermodal-process,
    .supply-advantages {
        padding: 60px 0;
    }
    
    .equipment-grid,
    .process-timeline,
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .equipment-item,
    .advantage-card,
    .timeline-item {
        padding: 24px;
    }
    
    .coverage-stats {
        flex-direction: column;
    }
    
    .railyard-coverage .service_image {
        width: 100% !important;
        flex-direction: column !important;
    }
    
    .railyard-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .railyard-icon {
        margin: 0 auto 16px;
    }
    
    .stat-number {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .equipment-item,
    .advantage-card,
    .timeline-item {
        padding: 20px;
    }
    
    .equipment-title,
    .advantage-card h3 {
        font-size: 20px;
    }
    
    .timeline-content h3 {
        font-size: 18px;
    }
    
    .stat-number {
        font-size: 24px;
    }
}