/* Our Courier Services Section Styling */
.services-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23dee2e6" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

.services-section .section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.services-section .section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.services-section .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #ff6b35);
    border-radius: 2px;
}

.services-section .section-title p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #ff6b35);
    transition: left 0.3s ease;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3c72, #ff6b35);
    background-clip: padding-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon::after {
    opacity: 0.3;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #ff6b35;
}

.service-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-features li {
    padding: 8px 0;
    color: #495057;
    font-size: 0.9rem;
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1rem;
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transform: rotate(15deg);
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.service-badge.hot {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.4);
    animation: hotPulse 2s ease-in-out infinite;
}

@keyframes hotPulse {
    0%, 100% {
        transform: rotate(15deg) scale(1);
        box-shadow: 0 2px 10px rgba(255, 0, 0, 0.4);
    }
    50% {
        transform: rotate(15deg) scale(1.05);
        box-shadow: 0 4px 15px rgba(255, 0, 0, 0.6);
    }
}

.service-link {
    display: inline-block;
    color: #1e3c72;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border: 2px solid #1e3c72;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #1e3c72, #ff6b35);
    transition: left 0.3s ease;
    z-index: -1;
}

.service-link:hover::before {
    left: 0;
}

.service-link:hover {
    color: #ffffff;
    border-color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

.services-cta {
    text-align: center;
    margin-top: 50px;
}

.services-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(30, 60, 114, 0.3);
    position: relative;
    overflow: hidden;
}

.services-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    transition: left 0.3s ease;
    z-index: -1;
}

.services-cta-button:hover::before {
    left: 0;
}

.services-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.services-cta-button i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.services-cta-button:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-section .section-title h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 1.8rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .services-cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-section .section-title h2 {
        font-size: 1.8rem;
    }
    
    .service-card {
        margin: 0 10px;
        padding: 25px 15px;
    }
    
    .service-badge {
        top: 15px;
        right: 15px;
        padding: 4px 10px;
        font-size: 0.7rem;
    }
}

/* Animation for service cards on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* Accessibility improvements */
.service-card:focus-within {
    outline: 3px solid #ff6b35;
    outline-offset: 2px;
}

.service-link:focus,
.services-cta-button:focus {
    outline: 3px solid #ff6b35;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .services-section {
        background: #ffffff;
        padding: 40px 0;
    }
    
    .service-card {
        box-shadow: none;
        border: 1px solid #dee2e6;
        break-inside: avoid;
        margin-bottom: 20px;
    }
    
    .service-badge,
    .services-cta {
        display: none;
    }
}
