@font-face {
    font-family: 'Mona Sans';
    src: 
        url('../fonts/Mona-Sans.woff2') format('woff2 supports variations'),
        url('../fonts/Mona-Sans.woff2') format('woff2-variations');
    font-weight: 200 900;
    font-stretch: 75% 125%;
}
@font-face {
    font-family: 'Hubot Sans';
    src: 
        url('../fonts/Hubot-Sans.woff2') format('woff2 supports variations'),
        url('../fonts/Hubot-Sans.woff2') format('woff2-variations');
    font-weight: 200 900;
    font-stretch: 75% 125%;
}
/* Variabili */
:root {
    --dark-bg: #121212;
    --primary-blue: #2D68FF;
    --text-light: #FFFFFF;
    --text-gray: #888888;
    --text-gray-light: #ADADAD;
}

/* Base Styles */
body.dark-theme {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    background-color: transparent;
}

/* Brand */
.navbar-brand {
    font-family: 'Mona Sans', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--text-gray-light);
}

.navbar-brand:hover {
    color: var(--text-gray-light);
}

/* Navigation Links */
.navbar .navbar-nav .nav-link {
    position: relative;
    font-family: 'Mona Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-gray);
    padding-bottom: 5px;
    margin-left: 2rem;
    transition: color 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover {
    color: var(--text-light);
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--text-light);
    transition: width 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 8rem 0 6rem;
}

.hero-section h1.display-4 {
    font-family: 'Hubot Sans';
    font-size: 64px;
    font-weight: 400;
    line-height: 1.2;
}

.profile-image {
    display: inline-block;
    width: 90px;  /* Dimensione desktop */
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 1.5rem;
    vertical-align: middle;
    flex-shrink: 0;  /* Impedisce al flex di comprimere l'immagine */
    position: relative;  /* Aiuta con il posizionamento */
}


.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}


/* Button Styles */
.btn-primary {
    background-color: var(--primary-blue);
    border: 3px solid transparent;  /* Bordo trasparente iniziale */
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-family: 'Hubot Sans';
    font-size: 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    border-color: var(--text-light);  /* Bordo bianco al hover */
    background-color: var(--primary-blue);
}

@media (max-width: 768px) {
    /* Hero section ridimensionata */
    .hero-section {
        padding: 4rem 0;  
    }

    .hero-section h1.display-4 {
        font-size: 1.5rem;  
        line-height: 1.3;
    }

    /* CTA button più compatto */
    .btn-primary {
        padding: 0.75rem 1.5rem;  
        font-size: 1rem;  
    }
}

@media (max-width: 576px) {
    .hero-section h1.display-4 {
        font-size: 1.25rem;  
        line-height: 1.2;   
        padding: 0 1rem;   
    }
}

/* Featured Work Section */
.featured-work {
    padding: 6rem 0;
}

.section-title {
    font-family: 'Hubot Sans';
    font-size: 48px;
    font-weight: 500;
    color: var(--text-light);
}

.project-info {
    position: relative; /* Per il posizionamento della freccia */
    padding-right: 40px; /* Spazio per la freccia */
}

.project-card {
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
 }

.project-image {
    border-radius: 12px;
    overflow: hidden;
    background-color: #1A1A1A;
}

.project-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.03);
}

.project-title {
    font-family: 'Hubot Sans';
    font-size: 32px;
    font-weight: 500;
    margin-top: 1rem;
    color: var(--text-light);
    color: var(--text-light);
    margin-top: 1rem;
}

.project-description {
    font-family: 'Mona Sans';
    font-size: 18px;
    font-weight: 400;
    color: var(--text-gray);
    margin: 0.5rem 0;
}

.project-link {
    position: absolute;
    right: 0;
    top: 50%; /* Centro verticale */
    transform: translateY(-50%);
    color: var(--text-light);
    text-decoration: none;
}

.project-link:hover {
    color: var(--text-light); /* Mantiene il colore bianco */
}

.arrow-icon {
    width: 32px; /* Freccia più grande */
    height: 32px;
    stroke: var(--text-light);
    stroke-width: 2;
    transform: rotate(-45deg); /* Rotazione a 45° */
    transition: transform 0.3s ease;
}

.project-link:hover .arrow-icon {
    transform: rotate(-45deg) translateX(5px) translateY(-5px);
}
.project-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #1A1A1A;
    aspect-ratio: 16/9;  /* Mantiene le proporzioni */
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Mantiene le proporzioni dell'immagine */
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.1), transparent);
}

/* Hover effect */
.project-card:hover .project-image img {
    transform: scale(1.03);
}

/* Skills Section */

.results-section {
    padding: 6rem 0 2rem;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
}

.carousel {
    display: flex;
    animation: carousel-scroll 20s linear infinite; /* Animazione desktop */
    transition: height 0.5s ease; /* Transizione per l'altezza */
}

.carousel-item {
    flex: 0 0 300px;
    margin: 0 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    height: 100%;
}

.carousel-content {
    background-color: #111;
    color: #fff;
    padding: 25px 20px;
    border-radius: 8px;
    border: 1px solid #222;
    text-align: center;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 150px;
}

.percentage {
    font-family: 'Mona Sans', sans-serif;
    font-weight: 400;
    font-size: 48px;
    margin-bottom: 5px;
    line-height: 1;
}

.description {
    font-family: 'Mona Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.3;
    color: #aaa;
}

@keyframes carousel-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% + 0px)); }
}

/* Media query per schermi più piccoli */
@media (max-width: 768px) {
    .carousel-container {
        overflow-x: hidden; 
    }
    .carousel {
        flex-direction: row; 
        animation: carousel-scroll-mobile 40s linear infinite; /* Animazione mobile */
        height: auto;
        width: max-content !important;
    }

    .carousel-item {
        flex: 0 0 300px; 
        margin: 0 20px; /* Margini per centrare */
    }

    @keyframes carousel-scroll-mobile {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-100% + 90vw)); } 
    }

    .results-section .section-title {
        font-size: 36px;
    }
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    margin: 8rem 0 4rem;
}

.cta-title {
    font-family: 'Hubot Sans';
    font-size: 80px;
    font-weight: 500;
    line-height: 1.2;
}

/* CTA Button */
.cta-section .btn-primary {
    font-family: 'Hubot Sans';
    font-size: 24px;
    font-weight: 600;
    padding: 1.2rem 3rem;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 4rem 0;  
        margin: 4rem 0 2rem;  
    }

    .cta-title {
        font-size: 1.75rem;  
        line-height: 1.3;
    }

    .cta-section .btn-primary {
        font-size: 1rem;  
        padding: 0.75rem 1.5rem;  
    }
}

/* FAQ Section */

/* Titolo FAQ section */
.faq-section .section-title {
    font-family: 'Hubot Sans';
    font-size: 48px;
    font-weight: 500;
}
.faq-section {
    padding: 4rem 0;
}

.accordion-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.accordion-button {
    font-family: 'Mona Sans';
    font-size: 24px;
    font-weight: 400;
    background-color: transparent;
    color: var(--text-light);
    padding: 1.5rem 0;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--text-light);
    box-shadow: none;
}

.accordion-button::after {
    content: '+';
    font-size: 2rem;
    background-image: none !important;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    margin-right: 0.5rem;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(255,255,255,0.1);
}

.accordion-body {
    font-family: 'Mona Sans';
    font-size: 18px;
    font-weight: 400;
    color: var(--text-gray);
    padding: 1rem 0;
}

/* Override Bootstrap's default styles */
.accordion-button:not(.collapsed)::after {
    content: '−';  /* Simbolo meno quando è aperto */
    transform: none;
    background-image: none !important;
}

/* Footer */
.footer {
    padding: 6rem 0;
    background-color: var(--dark-bg);
    margin-top: 2rem;
}

/* Footer Layout */
.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8rem;
}
 
/* Footer Logo */
.footer-logo a {
    font-family: 'Hubot Sans';
    font-size: 40px;
    font-weight: 400;
    color: var(--text-gray-light);
    text-decoration: none;
}
 
/* Navigation Section */
.footer-nav-wrapper {
    display: flex;
    gap: 8rem;
    align-items: flex-start;
}
 
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
 
.footer-nav ul li {
    margin-bottom: 1rem;
}
 
/* Navigation Links hover effect */
.footer-nav ul li a {
    position: relative;
    font-family: 'Hubot Sans';
    font-size: 24px;
    font-weight: 400;
    color: var(--text-gray);
    text-decoration: none;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}
 
.footer-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--text-light);
    transition: width 0.3s ease;
}
 
.footer-nav ul li a:hover {
    color: var(--text-light);
}
 
.footer-nav ul li a:hover::after {
    width: 100%;
}
 
/* LinkedIn Link */
.linkedin-link {
    position: relative;
    font-family: 'Hubot Sans';
    font-size: 24px;
    font-weight: 400;
    color: var(--text-gray);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}
 
.linkedin-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--text-light);
    transition: width 0.3s ease;
}
 
.linkedin-link:hover {
    color: var(--text-light);
}
 
.linkedin-link:hover::after {
    width: 100%;
}
 
.linkedin-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}
 
.linkedin-link:hover svg {
    transform: translateX(4px);
}
 
/* Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-gray);
}
 
.footer-bottom .copyright {
    font-family: 'Mona Sans';
    font-size: 18px;
    font-weight: 400;
}
 
.footer-bottom .privacy-link {
    position: relative;
    font-family: 'Mona Sans';
    font-size: 18px;
    font-weight: 400;
    color: var(--text-gray);
    text-decoration: none;
    padding-bottom: 3px;
    transition: color 0.3s ease;
}
 
.footer-bottom .privacy-link::after {
    display: none;
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--text-light);
    transition: width 0.3s ease;
}
 
.footer-bottom .privacy-link:hover {
    color: var(--text-light);
}
 
.footer-bottom .privacy-link:hover::after {
    display: none;
    width: 100%;
}

/* Hamburger Menu */
.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    /* Global Container Padding */
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    /* Section Paddings */
    .hero-section {
        padding: 6rem 0;
    }
    .profile-image {
        width: 70px;  /* Dimensione più piccola per mobile */
        height: 70px;
        margin-left: 1rem;  /* Margine ridotto */
    }

    .featured-work {
        padding: 4rem 0;
    }
    
    .results-section .section-title {
        font-size: 36px;
    }

    .cta-section {
        padding: 6rem 0;
    }

    /* Mobile Navigation */
    .navbar-collapse {
        padding: 2rem 0;
    }
    
    .navbar-collapse::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav {
        text-align: center;
    }

    .navbar .navbar-nav .nav-link {
        margin: 0.8rem 0;
        margin-left: 0;
        font-size: 20px;
        padding: 0.5rem 0;
    }

    .navbar .navbar-nav .nav-link::after {
        width: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .navbar .navbar-nav .nav-link:hover::after {
        width: 30%;
    }

    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 18px;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 3rem 0 4rem;  
    }

    .hero-section h1.display-4 {
        font-size: 38px;  
        line-height: 1.2;
    }

    /* Featured Work Mobile */
    .featured-work .section-title {
        font-size: 36px;  
    }

    .project-title {
        font-size: 24px;  
    }

    .project-description {
        font-size: 16px;  
    }

    /* CTA Section Mobile */
    .cta-title {
        font-size: 38px;  
    }

    /* FAQ Section Mobile */
    .faq-section .section-title {
        font-size: 36px;  
    }

    .accordion-button {
        font-size: 20px;  
    }

    .accordion-body {
        font-size: 16px;  
    }

    /* Footer Mobile */
    .footer {
        padding: 6rem 0;
        margin-top: 4rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 5rem;
    }

    .footer-logo {
        text-align: center;
    }

    .footer-nav-wrapper {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .footer-nav ul {
        gap: 2rem;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .footer-bottom .copyright,
    .footer-bottom .privacy-link {
        display: block;
        text-align: left;
        margin: 0;
        padding: 0;
    }

    .footer-logo a {
        font-size: 32px;  
    }

    .footer-nav ul li a,
    .linkedin-link {
        font-size: 20px;  
    }

    .footer-bottom .copyright,
    .footer-bottom .privacy-link {
        font-size: 16px;  
    }
}

@media (max-width: 576px) {
    .profile-image {
        width: 50px;  /* Ancora più piccola per schermi molto piccoli */
        height: 50px;
        margin-left: 0.75rem;
    }
}

/* CONTATTI */


.contact-section {
    margin-top: 6rem;
    padding: 8rem 0 !important;
}

.contact-section label {
    font-family: 'Mona Sans';
    font-size: 14px;
    color: var(--text-gray-light);
    margin-bottom: 0.5rem;
}

.contact-section .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    color: var(--text-light);
    border-radius: 8px;
}

.contact-section .form-control:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.contact-section .form-control::placeholder {
    color: var(--text-gray);
}

.contact-section .display-4 {
    font-family: 'Hubot Sans';
    font-size: 64px;
    font-weight: 500;
 }
 
 .contact-section p {
    font-family: 'Mona Sans';
    font-size: 18px;
    font-weight: 400;
 }
 
 .contact-section label,
 .contact-section .form-control {
    font-family: 'Mona Sans';
    font-size: 18px;
 }
 
 @media (max-width: 991.98px) {

    .contact-section {
        padding: 6rem 0  !important;
    }    
    .contact-section .display-4 {
        font-size: 44px;
    }
 
    .contact-section p,
    .contact-section label,
    .contact-section .form-control {
        font-size: 16px;
    }
 }

.contact-info h3 {
    font-family: 'Mona Sans';
    font-size: 14px;
    color: var(--text-gray-light);
}

.contact-link {
    display: block;
    font-family: 'Mona Sans';
    font-size: 18px;
    color: var(--text-light);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-blue);
}

@media (max-width: 991.98px) {
    .contact-section {
        padding: 6rem 0;
    }
    
    .contact-section .display-4 {
        font-size: 44px;
    }
}



/* ABOUT (CV) */

/* About Section Styles */
.about-section {
    padding-top: 8rem;
}

.profile-image-large {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .profile-image-large {
        width: 300px;
        height: 300px;
    }
    
    .about-content {
        text-align: center;
    }
}

.about-header h1 {
    font-family: 'Hubot Sans';
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-header .lead {
    font-family: 'Mona Sans';
    font-size: 1.25rem;
    color: var(--text-gray-light);
    max-width: 800px;
    margin: 0 auto;
}

.section-title-about{
    font-family: 'Hubot Sans';
    font-size: 2.5rem;
    font-weight: 500;
}

.experience-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

.position-title {
    font-family: 'Hubot Sans';
    font-size: 1.5rem;
    color: var(--text-light);
}

.date {
    font-family: 'Mona Sans';
    color: var(--text-gray);
}

.experience-description {
    font-family: 'Mona Sans';
    color: var(--text-gray-light);
}

.light-section {
    background-color: #FFFFFF;
    padding: 12rem 0;

}

.light-section .section-title {
    color: #121212;
}

.light-section .position-title {
    color: #121212;
}

.light-section .date {
    color: #666666;
}

.light-section .experience-description {
    color: #454545;
}

.light-section .certificate-item {
    background: #F5F5F5;
    padding: 1.5rem;
    border-radius: 8px;
    height: 100%;
    transition: transform 0.3s ease;
}

.light-section .certificate-title {
    color: #121212;
}

.light-section .certificate-source {
    color: #666666;
}

.certificate-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-5px);
}

.certificate-title {
    font-family: 'Hubot Sans';
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.certificate-source {
    font-family: 'Mona Sans';
    color: var(--text-gray);
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .about-section {
        padding-top: 6rem;
    }

    .profile-image-large {
        width: 300px;
        height: 300px;
    }

    .about-header h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .position-title {
        font-size: 1.25rem;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
    }
}

/*PROGETTI*/

/* Work Hero */

.work-hero {
    padding: 8rem 0 6rem;  
    background-color: var(--dark-bg);
}

.work-hero-title {
    font-family: 'Hubot Sans';
    font-size: 64px;
    font-weight: 500;
    max-width: 800px;
}


/* Mission text spacing */
.work-white-section p:first-of-type {
    margin-bottom: 2rem;  
 }

.work-image-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto -8rem;  /* Margin bottom negativo per sovrapporre */
    z-index: 2;
}

.work-hero-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
    aspect-ratio: 16/9;
}

/* Work White Section */
.work-white-section {
    background-color: #fff;
    padding: 12rem 0;
    position: relative;
    z-index: 1;
}

.work-white-section h2 {
    font-family: 'Hubot Sans';
    font-size: 32px;
    font-weight: 500;
    color: #121212;
    margin-bottom: 1.5rem;
}

.work-white-section p {
    font-family: 'Mona Sans';
    font-size: 18px;
    color: #454545;
    line-height: 1.6;
}
.work-white-section h2.process-title {
    font-size: 24px;
}
.work-details {
    border-left: 1px solid #e5e5e5;
    padding-left: 2rem;
 }

.work-details h3 {
    font-family: 'Hubot Sans';
    font-size: 24px;
    color: #121212;
}

.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    font-family: 'Mona Sans';
    font-size: 18px;
    color: #454545;
    margin-bottom: 0.5rem;
}

.process-divider {
    margin: 6rem 0;
}

.process-divider hr {
    border-color: rgba(0, 0, 0, 0.1);
    margin: 3rem 0;
}

.process-divider h2.section-title {
    text-align: left;
}

.step-number {
    font-family: 'Mona Sans';
    font-size: 14px;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 1rem;
}

.process-image {
    margin-top: auto;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 6rem;
}

.process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-cta-description {
    font-family: 'Mona Sans';
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}
.project-cta {
    background: var(--dark-bg);
    border-radius: 24px;
    padding: 4rem 2rem;
    margin: 4rem 0 2rem;
}
.row.mb-5 {
    display: flex;
}

.row.mb-5 .col-lg-6 {
    display: flex;
    flex-direction: column;
}

.process-image {
    margin-top: auto;
    margin-bottom: 6rem;
}

.project-navigation {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 1.5rem 0;
 }

.nav-btn {
    font-family: 'Mona Sans';
    font-size: 16px;
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.nav-btn:hover {
    color: var(--primary-blue);
}

.nav-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .work-hero {
        padding: 6rem 0 8rem;
    }

    .work-hero-title {
        font-size: 44px;
    }

    .work-white-section {
        padding: 10rem 0 8rem;
        margin-top: -4rem;
    }

  .work-details {
       border-left: none;
       border-top: 1px solid #e5e5e5;
       padding-left: 0;
       padding-top: 2rem;
       margin-top: 2rem;
   }
   .process-divider {
    margin: 4rem 0;
}   
   .step-number {
    font-size: 12px;
}

.project-cta {
    padding: 3rem 1.5rem;
    margin: 3rem 0 1.5rem;
}
.project-cta-description {
    font-size: 16px;
}
.row.mb-5 .col-lg-6:last-child {
    margin-top: 4rem;
}
.process-image {
    margin-bottom: 4rem;
}
}

@media (max-width: 768px) {
    .nav-btn {
        font-size: 16px;
        padding: 0.75rem;
    }
    
    .navigation-wrapper {
        width: 100%;
        text-align: center;
    }
    
}

/*Img modale*/

.process-image img {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.process-image img:hover {
    opacity: 0.8;
}

#modalImage {
    width: 100%;
    height: auto;
}

.modal-dialog {
    max-width: 90%;
}




/*CSS per il Banner Cookie */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(18, 18, 18, 0.95);
    padding: 1.5rem;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-content p {
    font-family: 'Mona Sans', sans-serif;
    font-size: 16px;
    color: #ADADAD;
    margin: 0;
    padding-right: 2rem;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cookie-buttons .btn-primary {
    padding: 0.75rem 2rem;
    font-size: 16px;
    border-radius: 100px;
}

.cookie-link {
    font-family: 'Mona Sans', sans-serif;
    font-size: 16px;
    color: #888888;
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: #FFFFFF;
}

.cookie-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #FFFFFF;
    transition: width 0.3s ease;
}

.cookie-link:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-content p {
        margin-bottom: 1rem;
        padding-right: 0;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cookie-buttons .btn-primary {
        width: 100%;
    }
}