/* Post Shipment Services Page Styles */

/* Hero Section */
.transportation-hero-section {
    background: linear-gradient(135deg, rgba(0, 47, 75, 0.95), rgba(130, 207, 43, 0.85)), url('../../../../images/Post-Shipment-Services.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.transportation-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.transportation-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.transportation-hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.transportation-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    opacity: 0.95;
    font-weight: 300;
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-feature i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Overview Section */
.overview-section {
    padding: 5rem 0;
    background: var(--bg-section-1);
}

.overview-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.overview-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.overview-highlight {
    background: var(--bg-section-2);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: var(--bg-section-2);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-section-1);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(130, 207, 43, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 15px rgba(130, 207, 43, 0.3);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--bg-section-1);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-section-2);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Override track shipment button to use green scheme */
.track-shipment-btn {
    background-color: transparent !important;
    border: 1.5px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.track-shipment-btn:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(130, 207, 43, 0.3) !important;
}

.track-shipment-btn::after {
    background-color: rgba(130, 207, 43, 0.1) !important;
}

/* Green scheme for post-shipment related elements */
.track-shipment-green,
.post-shipment-green {
    background-color: #82CF2B !important;
    border-color: #82CF2B !important;
    color: white !important;
}

.track-shipment-green:hover,
.post-shipment-green:hover {
    background-color: #69a823 !important;
    border-color: #69a823 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(130, 207, 43, 0.3);
}

/* Green scheme for buttons in post-shipment context */
.btn-track-green {
    background: linear-gradient(135deg, #82CF2B, #69a823);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-track-green:hover {
    background: linear-gradient(135deg, #69a823, #5a8b1e);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(130, 207, 43, 0.4);
    text-decoration: none;
}

/* Green scheme for service cards in post-shipment context */
.service-card.post-shipment-green .service-icon {
    background: linear-gradient(135deg, #82CF2B, #69a823);
}

.service-card.post-shipment-green:hover {
    border-color: #82CF2B;
}

.service-card.post-shipment-green::before {
    background: linear-gradient(90deg, #82CF2B, #69a823);
}

/* Responsive Design */
@media (max-width: 768px) {
    .transportation-hero-title {
        font-size: 2.5rem;
    }
    
    .transportation-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        gap: 1rem;
    }
    
    .hero-feature {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .transportation-hero-content {
        padding: 3rem 1rem;
    }
    
    .transportation-hero-title {
        font-size: 2rem;
    }
    
    .transportation-hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
}
