/* CSS estratto da home.html */
.hero-section {
    background-color: #05070a;
    position: relative;
    min-height: calc(100vh + 50px);
    display: flex;
    align-items: center;
}

.hero-content {
    transform: translateY(-50px);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/intro.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.service-card {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #f3f4f6;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card .card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1;
}

.service-card .card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 20, 30, 0.75);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card .card-content {
    position: relative;
    padding: 2rem;
    z-index: 2;
}

.service-card .card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-card .icon-wrapper {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1289ca;
    color: white;
    font-size: 1.75rem;
    transition: background-color 0.4s ease;
}

.service-card .card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1289ca;
    transition: color 0.4s ease;
}

.service-card .card-content p,
.service-card .card-content ul {
    transition: color 0.4s ease;
}

.service-card .card-content ul {
    margin-top: 1rem;
    list-style: none;
    padding-left: 0;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 40px -10px rgba(18, 137, 202, 0.3);
}

.service-card:hover .card-image,
.service-card:hover .card-image::after {
    opacity: 1;
}

.service-card:hover .card-image {
    transform: scale(1);
}

.service-card:hover .icon-wrapper {
    background-color: #dc8518;
}

.service-card:hover .card-content h3 {
    color: #dc8518;
}

.service-card:hover .card-content p,
.service-card:hover .card-content ul {
    color: #f3f4f6;
}

.service-card:hover .card-content ul i {
    color: #f3f4f6;
}

.nav-link {
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease-out;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #dc8518;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-out;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link:hover {
    color: #dc8518;
}

.btn-primary {
    background-color: #1289ca;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0f70a1;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #dc8518;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #b86e14;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .hero-image {
        background-image: url('../img/intro_S.jpg');
        background-position: center center;
    }

    .hero-section {
        padding-top: 8rem;
    }
}



[data-aos="fade-up"] {
    transform: translateY(150px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

.footer-link {
    transition-property: color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.footer-link:hover,
footer h4 {
    color: #dc8518;
}