/* Contenitore generale centrato e con larghezza limitata per leggibilità */
.page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center; /* Centra tutto il testo ereditato */
}

/* Testi */
.bio-text, .cert-quote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #9baac2;
    margin-bottom: 1.5rem;
}

.bio-lead {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.section-tag {
    color: rgba(100, 200, 255, 0.7);
    font-family: monospace;
    display: block;
    margin-bottom: 8px;
}

.hero-brand-title, .section-heading {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

/* Griglia delle card (centrata con max-width e auto margins) */
.skills-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px auto;
    text-align: left; /* Mantiene il testo dentro le card leggibile a sinistra */
}

.skill-card {
    background: rgba(100, 200, 255, 0.1);
    border: 1px solid rgba(100, 210, 255, 0.2);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.skill-card:hover {
    border-color: rgba(100, 200, 255, 0.5);
    transform: translateY(-2px);
    background: rgba(90, 150, 180, 0.4);
}

.skill-title {
    display: block;
    color: #ffffff;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 8px;
}

.skill-desc {
    color: #a0aec0;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Sezione Certificazione */
.cert-section {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Centrare il blocco immagine usando margin: 0 auto */
.cert-image-wrapper {
    max-width: 550px;
    margin: 30px auto 0 auto;
}

.cert-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.cert-img:hover {
    transform: scale(1.02);
}

/* Responsive per schermi più piccoli */
@media (max-width: 800px) {
    .skills-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .skills-cards-grid {
        grid-template-columns: 1fr;
    }
}