﻿/* Infrastructure Page Styles */
.infrastructure-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    min-height: 100vh;
}

/* Header Section */
.infra-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.infra-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.infra-subtitle {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
}

/* Introduction Section */
.intro-section {
    background: white;
    padding: 50px;
    border-radius: 25px;
    margin: -40px auto 60px;
    max-width: 1200px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-left: 8px solid #3498db;
    transform: translateY(-20px);
    animation: floatIn 1s ease-out;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(-20px);
    }
}

.intro-section h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

/* Infrastructure Cards Container */
.infra-cards-container {
    max-width: 1300px;
    margin: 0 auto 70px;
    padding: 0 20px;
}

/* Infrastructure Card */
.infra-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.infra-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.card-header-infra {
    padding: 35px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-header-infra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
}

.card-header-infra h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.card-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Different color themes for each card */
.processing-card .card-header-infra {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.lab-card .card-header-infra {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.storage-card .card-header-infra {
    background: linear-gradient(135deg, #ffd166 0%, #ffb347 100%);
}

.logistics-card .card-header-infra {
    background: linear-gradient(135deg, #9d50bb 0%, #6e48aa 100%);
}

.tech-card .card-header-infra {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
}

/* Card Body */
.card-body-infra {
    padding: 40px;
}

/* Capabilities Grid */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.capability-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid;
    transition: all 0.3s ease;
    height: 100%;
}

.capability-item:hover {
    background: white;
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.processing-card .capability-item { border-color: #ff6b6b; }
.lab-card .capability-item { border-color: #4ecdc4; }
.storage-card .capability-item { border-color: #ffd166; }
.logistics-card .capability-item { border-color: #9d50bb; }
.tech-card .capability-item { border-color: #3498db; }

.capability-item h5 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

/* Capacity Badge */
.capacity-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.assurance-badge {
    display: inline-block;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    margin: 20px 0;
    font-size: 1.1rem;
}

/* Features List */
.features-list {
    list-style-type: none;
    padding: 0;
    margin: 25px 0;
}

.features-list li {
    padding: 12px 0;
    padding-left: 40px;
    position: relative;
    border-bottom: 1px solid #eee;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 12px;
    width: 28px;
    height: 28px;
    background: #2c3e50;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-weight: bold;
}

/* Network Grid */
.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.network-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.network-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.network-item h5 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Technology Section */
.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.tech-feature {
    text-align: center;
    padding: 30px 20px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 5px solid #3498db;
}

.tech-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #3498db;
}

/* Visit Section */
.visit-section {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 70px 40px;
    border-radius: 30px;
    text-align: center;
    margin: 60px auto;
    max-width: 1200px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.visit-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.visit-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.tour-button {
    background: white;
    color: #2c3e50;
    border: none;
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-top: 20px;
}

.tour-button:hover {
    background: #f0f0f0;
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

/* Quality Footer */
.quality-footer {
    background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
    color: white;
    padding: 50px 20px;
    text-align: center;
    border-radius: 30px 30px 0 0;
    margin-top: 80px;
}

.quality-footer h3 {
    color: #4ecdc4;
    font-size: 2rem;
    margin-bottom: 20px;
}

.quality-footer p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .infra-header h1 {
        font-size: 2.5rem;
    }
    
    .infra-subtitle {
        font-size: 1.2rem;
    }
    
    .intro-section {
        padding: 30px;
        margin: -20px auto 40px;
    }
    
    .card-body-infra {
        padding: 25px;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-section {
        padding: 40px 20px;
    }
    
    .tour-button {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
}

/* Additional Animations */
.infra-card {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s ease forwards;
}

.infra-card:nth-child(1) { animation-delay: 0.2s; }
.infra-card:nth-child(2) { animation-delay: 0.4s; }
.infra-card:nth-child(3) { animation-delay: 0.6s; }
.infra-card:nth-child(4) { animation-delay: 0.8s; }
.infra-card:nth-child(5) { animation-delay: 1s; }

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icons */
.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}
.tour-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
}

    .tour-button:hover {
        background-color: #218838;
    }
