select {
    font-size: 14px !important;
}

body {
    background: linear-gradient(145deg, #f0f4ff 0%, #e3f9f3 100%);
}

.bg-light {
    background-color: #f4f7f9 !important;
}

/* Sezione principale con sfondo gradiente */
section.py-5.bg-light {
    background: linear-gradient(145deg, #f0f4ff 0%, #e3f9f3 100%);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Sezione "Why Choose Us" con sfondo sfumato */
.why-choose-us:last-of-type {
    background: radial-gradient(circle at top left, #ffffff 0%, #d4f4ec 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 3rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

h3,
h4 {
    font-weight: 700;
}

p,
li {
    font-weight: 400;
}

.bi-trash-fill {
    color: #007c9e;
    font-size: 22px;
}

/* Spaziature e margini moderni */
.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.mb-4,
.mb-5 {
    margin-bottom: 1.5rem !important;
}

/* Media Queries per migliorare la responsività */
@media (max-width: 768px) {
    .grid-item {
        flex-direction: column;
        text-align: center;
    }

    .icon-box {
        margin: 0 0 1rem 0;
    }
}

/* Grid items con effetto vetro */
.grid-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    padding: 1rem;
}

.grid-item:hover {
    transform: translateY(-6px);
}

/* Titoli con gradiente nel testo */
h2.fw-bold.text-success {
    background: linear-gradient(90deg, #198754, #0d6efd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Icone circolari */
.icon-box {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(to right, #a8edea, #fed6e3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d6efd;
    margin-right: 1rem;
}

/* Immagini decorative */
img.img-fluid {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    min-height: 295px;
}

.icon-box {
    margin: 0 auto 1rem auto;
    /* Spazio sotto l'icona */
}

.close-button {
    cursor: pointer;
}

.text-justify {
    text-align: justify;
}

.header {
    background: url(https://exportreadiness.com/wp-content/uploads/2020/07/cropped-andy-li-CpsTAUPoScw-unsplash-min-scaled-2.jpg);
    background-position: center;
    padding: 50px 0 0 0;
    background-size: cover;
    background-repeat: no-repeat;
    color: white !important;
    position: relative;
}

.question-block {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background: #f9f9f9;
}

.answer-label {
    display: block;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    background: #fff;
}

.answer-option input[type="radio"] {
    display: none;
}

.answer-option input[type="radio"]:checked+.answer-label {
    background: #7ACE4C !important;
    color: #fff;
    border-color: #7ACE4C !important;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: #7ACE4C !important;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.course-content {
    width: 100%;
}

.progress-bar {
    background-color: #7ACE4C !important;
}

#loadingOverlay {

    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    width: 50px;
    height: 50px;
}

.navigation-buttons {
    text-align: center;
}

div#contentContainer>h1,
div#contentContainer>p {
    padding: 0;
}

html,
body {
    height: 100%;
    /* Assicura che la pagina occupi tutta l'altezza */
    margin: 0;
    /* Rimuove margini predefiniti */
}

body {
    display: flex;
    flex-direction: column;
    /* Imposta layout verticale */
}

.container-fluid {
    flex: 1;
    /* Fa espandere il contenuto per occupare lo spazio disponibile */
}

footer {
    background-color: #f8f9fa;
    /* Colore di sfondo del footer */
    text-align: center;
    /* Centrare il testo nel footer */
    padding: 10px 0;
    /* Spaziatura interna */
    position: relative;
    bottom: 0;
    width: 100%;
}

a {
    text-decoration: none !important;
}

ul {
    padding-right: calc(var(--bs-gutter-x)* .5) !important;
    padding-left: calc(var(--bs-gutter-x)* .5) !important;
}

li.list-group-item.list-group-item-action:hover {
    color: white;
    background: #007c9e;
}

.logo-box {
    margin-top: 150px;
}

.form-login {
    background: #d4e1f0;
    border-radius: 10px;
    padding: 15px;
}

#overlay {
    display: none;
}

button.fc-multiMonthYear-button.fc-button.fc-button-primary {
    text-transform: capitalize !important;
}

.alert {
    display: none;
}

.nav-logo {
    width: 200px;
}

.navflex {
    flex-wrap: wrap;
}

#overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000000ba;
    overflow: hidden !important;
    z-index: 999;
    display: none;
    align-content: center;
    align-items: center;
}

.navigation-buttons {
    text-align: center;
}

.main-header.header-background.text-center {
    padding-bottom: 20px;
}

.menu-selected {
    color: #007c9e !important;
    border: 1px solid #007c9e !important;
    background-color: white;
    text-decoration: none;
}

a.menu-button {
    font-size: 15px;
    text-transform: uppercase;
    padding: 5px 15px;
    margin: 3px;
    border: 1px solid #ffffff00;
    font-weight: 500;
}

.era-button:hover {
    color: #91c643 !important;
    transition: color 0.5s;
    border: 1px solid #91c643 !important;
    background-color: white;
    text-decoration: none;
}

a.menu-button:hover {
    color: #007c9e;
    transition: color 0.5s;
    border: 1px solid #007c9e;
    background-color: white;
    text-decoration: none;
}

.copyright-line {
    color: white;
    border-color: white;
    opacity: 1;
    width: 50px;
}

.buttons-menu>a {
    color: white;
}

.btn-primary {
    background-color: #007c9e !important;
    border-color: #007c9e !important;
}

img.testimonial-photo {
    width: 40%;
    margin: 25px;
}

.testimonial-text {
    text-align: justify;
}

.input-group-addon {
    background: #ededed;
    border-radius: 10px;
    padding: 5px;
}

svg.svg-inline--fa.fa-eye-slash.fa-w-20 {
    margin-top: 6px;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #007c9e8c;
    /* Bianco trasparente */
    z-index: 1;
}

img.site-logo {
    width: 250px;
}

.footer {
    background-color: #007c9e;
    color: white !important;
    padding-top: 25px;
}

.made-by {
    padding: 30px;
}

.above-title {
    gap: 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.color-title {
    color: #007c9e !important;
}

.header>* {
    position: relative;
    z-index: 2;
}

* {
    font-family: "Poppins";
}

.navbar {
    display: none !important;
}

@media all and (min-width: 737px) and (max-width: 1279px) {
    #filters {
        width: 16%;
        padding: 5%;
        margin-top: 0;
    }

    div.main-header {
        flex-direction: column;
    }

    nav.navbar {
        display: block !important;
    }

    .container-fluid {
        justify-content: center !important;
    }

    .navbar {
        background-color: #ffffff !important;
    }

    button.navbar-toggler.collapsed {
        border: 0;
    }

    .p-4 {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-column-gap: 35px !important;
        grid-row-gap: 5px !important;
        width: 100%;
    }

    .main-navbar {
        display: none;
    }

    .container {
        width: 100%;
        max-width: unset;
    }

    .main {
        display: flex;
        height: auto;
        flex-direction: column-reverse;
    }

    div#calendar {
        width: 90%;
        padding-bottom: 20px;
        height: 740px;
    }

    div#filters {
        width: auto;
    }

    .col-9 {
        width: 100% !important;
    }

    div#modal-content {
        width: 80% !important;
        margin-top: 5%;
        margin-bottom: 10%;
    }

    .mobile-command-buttons {
        display: flex;
        justify-content: center;
    }
}

/* Tablets on vertical mode */
@media all and (min-width: 481px) and (max-width: 736px) {
    #filters {
        width: 16%;
        padding: 5%;
        margin-top: 0;
    }

    div.main-header {
        flex-direction: column;
    }

    nav.navbar {
        display: block !important;
    }

    .container-fluid {
        justify-content: center !important;
    }

    .navbar {
        background-color: #ffffff !important;
    }

    button.navbar-toggler.collapsed {
        border: 0;
    }

    .p-4 {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-column-gap: 35px !important;
        grid-row-gap: 5px !important;
        width: 100%;
    }

    .main-navbar {
        display: none;
    }

    .container {
        width: 100%;
        max-width: unset;
    }

    .main {
        display: flex;
        height: auto;
        flex-direction: column-reverse;
    }

    div#calendar {
        width: 90%;
        padding-bottom: 20px;
        height: 740px;
    }

    div#filters {
        width: auto;
    }

    .col-9 {
        width: 100% !important;
    }

    div#modal-content {
        width: 80% !important;
        margin-top: 5%;
        margin-bottom: 10%;
    }

    .mobile-command-buttons {
        display: flex;
        justify-content: center;
    }
}

/* Mobiles or small Tablets */
@media all and (max-width: 480px) {
    #filters {
        width: 16%;
        padding: 5%;
        margin-top: 0;
    }

    div.main-header {
        flex-direction: column;
    }

    nav.navbar {
        display: block !important;
    }

    .container-fluid {
        justify-content: center !important;
    }

    .navbar {
        background-color: #ffffff !important;
    }

    button.navbar-toggler.collapsed {
        border: 0;
    }

    .p-4 {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-column-gap: 15px !important;
        grid-row-gap: 5px !important;
        width: 100%;
        padding: 10px !important;
    }

    .main-navbar {
        display: none;
    }

    .container {
        width: 100%;
        max-width: unset;
    }

    .main {
        display: flex;
        height: auto;
        flex-direction: column-reverse;
    }

    div#calendar {
        width: 98%;
        padding-bottom: 20px;
        height: 700px;
    }

    div#filters {
        width: auto;
    }

    .col-9 {
        width: 100% !important;
    }

    div#modal-content {
        width: 80% !important;
        margin-top: 5%;
        margin-bottom: 10%;
    }

    h2#fc-dom-1 {
        font-size: 12px !important;
        margin: 0 !important;
    }

    div#modal-content {
        width: 90% !important;
    }

    h2 {
        font-size: 23px;
        margin-bottom: 0;
    }

    #filters {
        padding: 3%;
    }

    .mobile-command-buttons {
        display: flex;
        justify-content: center;
    }
}