/* PCCS Logistics Custom Styles */

/* Portfolio Page Styles */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-media {
    position: relative;
    overflow: hidden;
}

.portfolio-media img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-media img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.9), rgba(0, 86, 179, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.portfolio-content h4 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
}

.portfolio-content h4 a {
    color: white;
    text-decoration: none;
}

.portfolio-content p {
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.9;
}

/* Service Icon Box Enhancements */
.service-icon-box-two {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    padding: 30px 20px;
    height: 100%;
}

.service-icon-box-two:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Technology Page Specific Styles */
.tech-feature-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease;
}

.tech-feature-box:hover {
    transform: translateY(-5px);
}

/* Fleet Page Styles */
.fleet-category {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.fleet-category:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Privacy Policy and Terms Page Styles */
.privacy-content, .terms-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-section, .terms-section {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.privacy-section:last-child, .terms-section:last-child {
    border-bottom: none;
}

.privacy-section h3, .terms-section h3 {
    color: #007bff;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 600;
}

.privacy-section ul, .terms-section ul {
    padding-left: 20px;
}

.privacy-section li, .terms-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Medical Logistics Page Styles */
.medical-service-highlight {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 40px;
    border-radius: 15px;
    margin: 30px 0;
    border-left: 5px solid #007bff;
}

/* Urgent Delivery Page Styles */
.urgent-feature {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.urgent-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Enhanced Button Styles */
.site-button-2 {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.site-button-2:hover {
    background: white;
    color: #007bff;
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .portfolio-content h4 {
        font-size: 18px;
    }
    
    .portfolio-content p {
        font-size: 13px;
    }
    
    .service-icon-box-two {
        margin-bottom: 30px;
    }
    
    .tech-feature-box,
    .fleet-category,
    .urgent-feature {
        margin-bottom: 20px;
    }
    
    .privacy-content,
    .terms-content {
        padding: 0 15px;
    }
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Print Styles */
@media print {
    .portfolio-overlay,
    .site-button,
    .site-button-2 {
        display: none !important;
    }
    
    .privacy-content,
    .terms-content {
        font-size: 12px;
        line-height: 1.4;
    }
}
