/* --- SFONDO DELLA PAGINA --- */
#science-background {
    background-image: url('../img/background-science.png');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed; /* Mantiene l'immagine ferma durante lo scroll */
    min-height: 100vh;
    padding: 60px 20px 100px 20px;
    color: #ffffff;
}

.science-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --- TITOLI --- */
.page-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 10px;
    margin-top: -30px;
    /*text-transform: uppercase;*/
    letter-spacing: 2px;
    color: #0595a8; /* TITOLO NERO PURO */
    text-shadow: none; /* Rimosso il bagliore per un look più pulito */
}

.page-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 60px;
    color: #1a1a1a; /* Grigio molto scuro per il sottotitolo */
    font-weight: bold;
}

/* --- GRIGLIA DELLE CARD --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* --- STILE DELLE CARD (Vetro Chiaro / Light Glass) --- */
.glass-card {
    /* Sfumatura bianco/grigio chiarissimo semi-trasparente */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(240, 240, 240, 0.9) 100%);
    
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    
    border: 1px solid rgba(255, 255, 255, 0.6); /* Bordino bianco più marcato */
    border-top: 3px solid #0595a8; /* Taglio azzurro invariato */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Ombra molto più delicata */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    /* Al passaggio del mouse diventa un bianco quasi puro e brillante */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
    box-shadow: 0 12px 40px 0 #0595a8; /* Bagliore azzurro mantenuto */
}

.card-content {
    padding: 30px 25px;
}

.card-content h3 {
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #000000; /* TESTO NERO */
}

.card-content p {
    color: #333333; /* Grigio scuro per massima leggibilità */
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* --- BOTTONE --- */
.btn-read {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: #0595a8;
    border: 1px solid #0595a8;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.btn-read:hover {
    background-color: #0595a8;
    color: #000000;
    box-shadow: 0 0 15px rgba(0, 206, 209, 0.5); /* Effetto neon sul bottone */
}