:root {
    /*--bs-secondary-color: #456c07;*/
    --bs-blu-color: rgb(4, 22, 110);
    --bs-violet-color: rgb(55, 4, 110);
    --bs-car-nav-color: rgb(0, 0, 0);
    --bs-body-background: rgb(0, 0, 0);
    --bs-body-gradient: linear-gradient(180deg, #000000, #4a4a4a);
    --bs-font-sans-serif: "Open Sans Custom", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bs-gray-color: #b7b4b4;
    --bs-font-color: #d8d8d8;
    --bs-font-color-title: #b6adad;
}

body {
    background: var(--bs-body-background);
    font-family: var(--bs-font-sans-serif)!important;
    background: #080000;
    background: -webkit-linear-gradient(90deg, rgba(8, 0, 0, 1) 0%, rgb(1, 15, 32) 50%, rgba(0, 0, 0, 1) 100%);
    background: -moz-linear-gradient(90deg, rgba(8, 0, 0, 1) 0%, rgb(1, 15, 32) 50%, rgba(0, 0, 0, 1) 100%);
    background: linear-gradient(90deg, rgba(8, 0, 0, 1) 0%, rgb(1, 15, 32) 50%, rgba(0, 0, 0, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#080000", endColorstr="#000000", GradientType=1);
}

section {
    background: transparent;
    color: white;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--bs-font-color-title) !important;
}

.card {
    border: none; /* Rimuove i bordi */
    border-radius: 15px; /* Bordo arrotondato */
    box-shadow: 0 4px 8px rgba(112, 112, 112, 0.1); /* Ombreggiatura leggera */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animazione */
}

.card:hover {
    transform: scale(1.05); /* Effetto zoom */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Ombreggiatura più forte */
}

.card-img-top {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px; /* Arrotonda solo la parte superiore */
}

.card-title {
    font-size: 1.5rem; /* Titolo più grande */
    font-weight: bold;
    color: #e8e6e6; /* Colore moderno */
}

.card-text {
    font-size: 1rem;
    color: #9b9999; /* Colore per il corpo */
}

.cards-section {
    padding: 50px 0;
    background-color: transparent; /* Sfondo chiaro */
}

.card {
    background: #111111;
}

/* Sezione Generale */
.expandable-cards-section {
    padding: 60px 20px;
    border-radius: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #f3f3f3;
}

/* Card Stile Moderno */
.expandable-card {
    border-radius: 10px;
    box-shadow: 0px 1px 10px rgb(249 249 249 / 41%);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.expandable-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 1px 10px rgb(249 249 249 / 41%);
}

.expandable-card.active .card-body {
    max-height: 200px; /* Altezza massima visibile quando aperto */
    padding: 15px 20px;
}

.expandable-card .card-header {
    display: flex;
    align-items: center;
    padding: 20px;
    font-weight: bold;
    color: #333;
    transition: background-color 0.3s ease;
}

.expandable-card .card-header i {
    font-size: 2rem;
    margin-right: 15px;
}

.expandable-card .card-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.icon-primary {
    color: #007bff;
}

.icon-success {
    color: #28a745;
}

.icon-warning {
    color: #ffc107;
}

.icon-info {
    color: #17a2b8;
}

.steps-section {
    padding: 50px 30px;
    /* border-radius: 15px; */
    position: relative;

}

.steps-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.steps-section p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #6c757d;
}

/* Card */
.step-card {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: flex-end; /* Contenuto in basso */
    justify-content: center;
    padding: 20px;
    color: #fff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.step-number {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #007bff;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.step-content {
    text-align: center;
    background: rgba(0, 0, 0, 0.85);
    padding: 15px;
    border-radius: 10px;
    width: 100%;
}

.step-content h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Linea di connessione */
.step-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -30px;
    width: 50px;
    height: 2px;
    background-color: #007bff;
    transform: translateY(-50%);
}

/* Freccia */
.step-card::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    border: 6px solid transparent;
    border-left-color: #007bff;
    transform: translateY(-50%);
}

/* Rimuovi la linea per l'ultimo step */
.step-card:last-child::after,
.step-card:last-child::before {
    display: none;
}

.scrolling-section {
    padding: 50px 0;
    text-align: center;
}

.scrolling-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.scroll-container {
    display: flex;
    align-items: center; /* Centra verticalmente (per desktop) */
    justify-content: center; /* Centra orizzontalmente (per desktop) */
    overflow-x: hidden; /* Nasconde la barra di scorrimento */
    gap: 15px;
    padding: 10px 0;
    flex-wrap: nowrap; /* Evita il wrapping sugli schermi più grandi */
}

/* Stile per le immagini */
.scroll-container img {
    width: 50px; /* Dimensione delle immagini */
    height: auto;
    flex-shrink: 0; /* Impedisce il ridimensionamento */
    border-radius: 10px; /* Bordo arrotondato */
    display: block; /* Garantisce che le immagini siano elementi block */
    animation: scale-up 3s ease-in-out infinite;
}

/* Layout Griglia sui dispositivi mobili */
@media (max-width: 768px) {
    .scroll-container {
        display: grid; /* Passa al layout griglia */
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr)); /* Colonne responsivamente */
        gap: 15px; /* Spaziatura tra gli elementi */
    }

    .scroll-container img {
        margin: auto; /* Centra le immagini nella griglia */
    }
}

@keyframes scale-up {
    0%, 100% {
        transform: scale(1); /* Dimensione normale */
    }
    50% {
        transform: scale(1.1); /* Ingrandimento */
    }
}

.contact-section {
    padding: 40px;
    box-shadow: 1px 0px 13px 3px rgba(0, 0, 0, 0.5); /* Ombreggiatura leggera */
    background: rgba(245, 245, 245, 0.06);
}

.contact-section h2 {
    font-size: 2.5rem;
    color: #f3f3f3; /* Colore del titolo */
}

.contact-section p {
    color: #f5f5f5; /* Colore del testo secondario */
}

.btn-primary {
    padding: 10px 30px;
    font-size: 1.2rem;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: #0056b3; /* Colore hover del pulsante */
}

.form-label {
    color: white;
}

/* Ombreggiatura per gli input e i textarea */
.form-control {
    border: 1px solid #ced4da; /* Bordo leggero */
    border-radius: 5px; /* Bordo arrotondato */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombreggiatura leggera */
    transition: box-shadow 0.3s ease, border-color 0.3s ease; /* Transizioni fluide */
}

/* Effetto hover sugli input */
.form-control:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Ombreggiatura più evidente */
}

/* Effetto focus sugli input */
.form-control:focus {
    box-shadow: 0 6px 12px rgba(253, 253, 253, 0.3); /* Ombreggiatura blu */
    border-color: #007bff; /* Bordo blu */
    outline: none; /* Rimuove l'outline predefinito */
}

.gradient-section {
    /* height: 20vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #020c23, #13061f);
    color: #ffffff;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    box-shadow: 0px -1px 13px 2px rgba(0, 0, 0, 0.5);
}

.call-to-action {
    background: #000810;
    color: white;
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
}


.features-section {
    padding: 60px 20px;
}

.features-section .feature-box {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(232, 232, 232, 0.1);
    transition: transform 0.3s ease;
}

.features-section .feature-box:hover {
    transform: translateY(-10px);
}

.team-section {
    padding: 60px 20px;
}

.team-section .team-member {
    text-align: center;
}

.team-section .team-member img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
}


.mission-vision-section {
    border-radius: 10px;
    padding: 60px 20px;

}

.mission-box,
.vision-box {
    border-radius: 15px;
    padding: 30px;
    position: relative;
    text-align: left;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px -2px 12px rgb(253 253 253 / 20%) !important;
}

.mission-box:hover,
.vision-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.mission-box h2,
.vision-box h2 {
    font-size: 1.8rem;
    font-weight: bold;
}

.mission-box p,
.vision-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 15px 0;
    color: #6c757d;
}

.mission-box i,
.vision-box i {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 3rem;
    opacity: 0.2;
}

.text-section {
    border-radius: 10px;
    padding: 50px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Ombreggiatura leggera */

}

.section-title {
    font-size: 2rem; /* Dimensione del titolo */
    font-weight: bold;
    color: #333; /* Testo scuro */
}

.section-text {
    font-size: 1.2rem; /* Dimensione del testo */
    line-height: 1.8; /* Spaziatura tra le righe */
    color: #7c7b7b; /* Colore del testo */
    max-width: 1000px; /* Larghezza massima del testo */
    margin: 0 auto; /* Centra il testo */
    text-align: left;
    text-justify: newspaper;
}

p {
    color: var(--bs-font-color);
}

.form-control {
    background: transparent;
    color: white;
    border-radius: 40px;
    padding: 20px
}

/* Cambia il colore del placeholder */
input::placeholder {
    color: #fdfdfd; /* Grigio chiaro */
}

/* Cambia il colore del bordo quando l'input è in hover */
input:hover {
    border-color: #007bff; /* Azzurro */
    background-color: #181818; /* Azzurro chiaro */
}

