html {
    scroll-behavior: smooth;
}

.color-blue-title {
    color: #106FB7;
    font-size: 52px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    font-family: Lato;
    margin-bottom: 0;
}

.first-paragraph {
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 34px;
    font-family: Lato;
    margin-bottom: 20px;
    margin-top: 0;
    padding-top: 35px;
}

.first-paragraph b {
    font-weight: 700;
}

.second-paragraph {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
    font-family: Lato;
    margin-bottom: 0;
}

.second-paragraph b {
    font-weight: 700;
}

.border-blue {
    padding-top: 0;
    padding-bottom: 50px;
    border-bottom: 1px solid #106FB7;
    margin-top: 0;
}

.border-blue .col-md-8 {
    padding-right: 40px;
}

.border-blue .col-md-4 {
    display: flex;
    align-items: flex-start;
    padding-left: 0;
}

.border-blue img {
    border-radius: 8px;
    width: 100%;
    height: auto;
}

/* Question Box */
.question-box {
    margin-bottom: 40px;
    position: relative;
}

.question-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.question-number {
    background-color: #F2420B;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 32px;
    font-size: 24px;
    flex-shrink: 0;
    font-family: Lato, sans-serif;
}

.question-text {
    margin: -2px;
    font-size: 30px;
    line-height: 38px;
    font-family: Lato, sans-serif;
    font-weight: 400;
    color: #1e1e1e;
}

/* Answer Boxes */
.answer-box {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    min-height: 200px;
    position: relative;
}

.answer-yes h3,
.answer-no h3 {
    color: #106FB7;
    font-size: 44px;
    font-weight: 700;
    line-height: 38px;
    margin-bottom: 15px;
    font-family: Lato, sans-serif;
}

.answer-no {
    border-left: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 0;
    padding-left: 42px;
}

.answer-yes .description {
    margin-bottom: 0;
}

.description {
    color: #444;
    font-family: Lato;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
}

.description-studente {
    color: #444;
    font-family: Lato;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-transform: uppercase;
}

.answer-box p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 14px;
    font-family: Lato, sans-serif;
}

.small-text {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.icon-link {
    background-color: white;
    font-size: 28px;
    position: absolute;
    text-decoration: none !important;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    padding: 0;
}

.icon-link i {
    color: #106FB7;
}

.icon-link:hover i {
    color: #0D5A94;
}

.link-blue {
    color: #106FB7;
    font-family: Lato;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0.4px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.link-blue:hover {
    text-decoration: underline;
}

.link-blue-studente {
    color: #106FB7;
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.link-blue i {
    font-size: 12px;
}

/* Service Tags */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0;
    row-gap: 12px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(16, 111, 183, 0.5);
}

.tag-service {
    background-color: white;
    color: #106FB7;
    padding-right: 23px;
    padding-left: 23px;
    border-right: 1px solid rgba(16, 111, 183, 0.5);
    font-size: 18px;
    font-weight: 700;
    line-height: 38px;
    font-family: Lato, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag-service:last-child {
    border-right: none;
    padding-right: 0;
}

.tag-service:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

/* Filter con icona */
.filter-item {
    display: flex;
    gap: 10px;
    padding-top: 36px;
    padding-bottom: 42px;
    scroll-margin-top: 100px;
}

.filter-icon {
    color: #106FB7;
    font-size: 24px;
}

.filter-label {
    font-size: 16px;
    font-weight: 600;
    font-family: Lato, sans-serif;
    color: #333;
    text-align: center;
}

.services-section {
    padding-top: 104px;
}

/* Service Cards */
.service-card {
    background-color: #FFFFFF;
    margin-bottom: 42px;
}

.service-title {
    color: #F2420B;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 30px;
    font-family: Lato, sans-serif;
}

.service-card-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(16, 111, 183, 0.5);
}

/* Responsive: button sotto la descrizione */
@media (max-width: 768px) {
    .service-card-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-service {
        width: 100%;
    }

    .answer-no {
        border-left: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.3);
        border-radius: 0;
        padding-left: 42px;
    }

    .services-section {
        padding-top: 20px;
    }
}

.service-description {
    font-size: 16px;
    line-height: 24px;
    padding-bottom: 10px;
    margin-bottom: 0;
    color: #1e1e1e;
    font-family: Lato, sans-serif;
    flex: 1;
}

/* Service Options con icone */
.service-options {
    display: flex;
    gap: 30px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid rgba(16, 111, 183, 0.5);
    padding-bottom: 15px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.option-item span {
    color: #000;
    font-family: Lato;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
}

.option-icon {
    color: #106FB7;
    font-size: 12px;
}

/* Service Actions */
.btn-service {
    background-color: #106FB7;
    color: white;
    border-radius: 30px;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    cursor: pointer;
    font-family: Lato;
    text-decoration: none !important;
}

.btn-service i {
    font-size: 14px;
}

.btn-service:hover {
    background-color: #0D5A94;
}

.link-more {
    color: #106FB7;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.link-more span {
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.link-more i {
    font-size: 16px;
}

.link-more:hover span {
    text-decoration: underline;
}

/* Service Footer */
.service-footer {
    padding-top: 15px;
}

.info-text {
    font-size: 12px;
    color: #106FB7;
    font-weight: 400;
    line-height: 18px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-family: Lato, sans-serif;
}

.contact-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.separator {
    color: #106FB7;
    font-weight: bold;
}

/* Pulsante Torna Su Fisso */
.back-to-top-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    background-color: white;
    color: #106FB7;
    border: none;
    border-radius: 4px;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background-color: #f0f0f0;
}

.back-to-top-btn i {
    font-size: 24px;
}

.back-to-top-btn span {
    font-size: 12px;
    font-weight: 600;
}

.info-box {
    border-radius: 4px;
    margin-bottom: 39px;
    border-top: 1px solid rgba(16, 111, 183, 0.5);
    border-radius: 0;
}

.info-box-studente {
    border-radius: 4px;
    margin-bottom: 39px;
    border-top: 1px solid rgba(16, 111, 183, 0.5);
    border-bottom: 1px solid rgba(16, 111, 183, 0.5);
    border-radius: 0;
}

.info-box-studente .link-blue-studente {
    padding-bottom: 20px;
}

.info-box-title {
    color: #106FB7;
    font-size: 30px;
    font-weight: 700;
    line-height: 30px;
    font-family: Lato, sans-serif;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 0;
}

.info-box-text {
    color: #1e1e1e;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    font-family: Lato, sans-serif;
    margin-bottom: 0;
    margin-right: 350px;
}

.info-box-text b {
    font-weight: 700;
}