.tech-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.tech-intro {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.tech-intro h1 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tech-intro p {
    font-size: 1.3em;
    opacity: 0.95;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

.tech-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tech-section h2 {
    color: #0a2647;
    font-size: 2.2em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tech-section h2 i {
    color: #667eea;
}

.tech-section .subtitle {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 30px;
    font-style: italic;
}

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

.tech-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    padding: 25px;
    border-left: 5px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.tech-card h3 {
    color: #0a2647;
    font-size: 1.5em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-card h3 i {
    color: #667eea;
    font-size: 1.2em;
}

.tech-card p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tech-specs {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.tech-specs li {
    padding: 8px 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-specs li i {
    color: #667eea;
    width: 20px;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin: 5px 5px 5px 0;
}

.badge-docker {
    background: #2496ed;
    color: white;
}

.badge-python {
    background: #3776ab;
    color: white;
}

.badge-raspberry {
    background: #c51a4a;
    color: white;
}

.badge-ai {
    background: #9b59b6;
    color: white;
}

.badge-web {
    background: #e67e22;
    color: white;
}

.badge-database {
    background: #27ae60;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.stat-box .number {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-box .label {
    font-size: 1.1em;
    opacity: 0.9;
}

.location-badge {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    margin: 5px 0 10px 0;
}

.location-papb {
    background: #3498db;
    color: white;
}

.location-pasn {
    background: #e74c3c;
    color: white;
}

.location-stg {
    background: #2ecc71;
    color: white;
}

.location-server {
    background: #95a5a6;
    color: white;
}

@media (max-width: 768px) {
    .tech-intro h1 {
        font-size: 2em;
    }

    .tech-intro p {
        font-size: 1.1em;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
