/* CSS specifico per index.html */

/* Service Cards */
.service-card {
    background: white;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    padding: 2rem;
    height: 100%;
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* Service Icons Colors - First Set */
.icon-server {
    color: var(--primary-color);
}

.icon-helpdesk {
    color: var(--primary-color);
}

.icon-security {
    color: var(--primary-color);
}

.icon-monitoring {
    color: var(--primary-color);
}

.icon-hardware {
    color: var(--primary-color);
}

.icon-consulting {
    color: var(--primary-color);
}

/* Service Icons Colors - Specific Colors */
.icon-server {
    color: #4e73df;
}

.icon-helpdesk {
    color: #2cc76a;
}

.icon-security {
    color: #e74a3b;
}

.icon-monitoring {
    color: #f6c23e;
}

.icon-hardware {
    color: #36b9cc;
}

.icon-consulting {
    color: #6f42c1;
}

.service-card h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem;
    z-index: 1000;
    display: none;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0088ff 0%, #004a8c 100%);
    min-height: 80vh;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.5s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-cta {
    animation: fadeInUp 1s ease-out 1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    background: white;
    color: #0088ff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
    color: #0066cc;
}

.hero-features {
    margin-top: 4rem;
    animation: fadeInUp 1s ease-out 1.5s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.feature-item {
    display: inline-flex;
    align-items: center;
    margin: 0 1.5rem;
    font-size: 1.1rem;
}

.feature-icon {
    margin-right: 0.5rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.feature-item:nth-child(1) .feature-icon {
    color: #00ff88;
}

.feature-item:nth-child(2) .feature-icon {
    color: #ff9900;
}

.feature-item:nth-child(3) .feature-icon {
    color: #00ccff;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .feature-item {
        margin: 0.5rem;
        font-size: 1rem;
    }
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.services-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Enhanced Service Cards */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    height: 100%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
}

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

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.service-icon {
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1);
}

.icon-server-wrapper {
    background: rgba(78, 115, 223, 0.1);
}

.icon-helpdesk-wrapper {
    background: rgba(44, 199, 106, 0.1);
}

.icon-security-wrapper {
    background: rgba(231, 74, 59, 0.1);
}

.icon-monitoring-wrapper {
    background: rgba(246, 194, 62, 0.1);
}

.icon-hardware-wrapper {
    background: rgba(54, 185, 204, 0.1);
}

.icon-consulting-wrapper {
    background: rgba(111, 66, 193, 0.1);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.service-card:hover .service-badge {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .services-section {
        padding: 4rem 0;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

.animate-delay-4 {
    animation-delay: 0.8s;
}

.animate-delay-5 {
    animation-delay: 1s;
}

.animate-delay-6 {
    animation-delay: 1.2s;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 1;
}

.contact-container {
    position: relative;
    z-index: 2;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.contact-info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: rgba(0, 136, 255, 0.05);
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-text {
    flex: 1;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-form-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.form-floating {
    margin-bottom: 1.5rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem;
    height: auto;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 136, 255, 0.1);
}

.form-floating>label {
    padding: 1rem;
}

.contact-submit-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background: var(--primary-color);
    border: none;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 255, 0.2);
    background: #0066cc;
}

.privacy-check {
    margin-bottom: 1.5rem;
}

.privacy-check .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.5rem;
    cursor: pointer;
}

.privacy-check .form-check-label {
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
}

.contact-social {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: #0066cc;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 0 3rem 0;
    }
    
    .contact-form-card,
    .contact-info-card {
        padding: 1.5rem;
    }
}

/* Slide Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-left {
    animation: slideInLeft 0.6s ease forwards;
}

.animate-right {
    animation: slideInRight 0.6s ease forwards;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 45%, rgba(0, 136, 255, 0.05) 45%, rgba(0, 136, 255, 0.05) 55%, transparent 55%);
    background-size: 20px 20px;
}

.about-container {
    position: relative;
    z-index: 2;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 500;
}

.about-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), #66b3ff);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    background: rgba(0, 136, 255, 0.03);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}