﻿
/* === ticker.css === */
/* Ticker Section Styles */
.ticker-section {
    padding: 40px 0;
    background-color: transparent;
    width: 100%;
    text-align: center;
}

.ticker-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#ticker-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    display: block;
    width: 100%;
    color: rgba(255, 255, 255, 0.8);
}

.ticker-container {
    max-width: 500px;
    width: 500px;
    position: relative;
    margin: 0 auto;
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.ticker-track {
    display: flex;
    animation: ticker 20s linear infinite;
    padding: 10px 0;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.ticker-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    margin-right: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 80px;
    max-width: 90px;
    min-height: 100px;
    text-align: center;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pausa dell'animazione al passaggio del mouse */
.ticker-container:hover .ticker-track {
    animation-play-state: paused;
}

/* Responsive styles */
@media screen and (max-width: 991px) {
    #ticker-title {
        font-size: 1rem !important;
        letter-spacing: 1.8px !important;
        margin-bottom: 15px !important;
    }
}

@media screen and (max-width: 767px) {
    #ticker-title {
        font-size: 1rem !important;
        letter-spacing: 1.5px !important;
        margin-bottom: 12px !important;
    }
    
    .ticker-item {
        margin: 0 1rem;
    }
    
    .tech-icon {
        font-size: 2rem;
    }
    
    .tech-name {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 480px) {
    #ticker-title {
        font-size: 0.8rem !important;
        letter-spacing: 0.5px !important;
        margin-bottom: 10px !important;
        font-weight: 400 !important;
    }
}


/* === services.css === */
/* Services Section Styles */
.services-section {
    padding: 8rem 0;
    background-color: #ffffff;
}

/* Lottie Animation Container */
.lottie-container {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background-color: transparent;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Assicuriamoci che il container dell'animazione abbia le stesse dimensioni del placeholder originale */
.service-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.services-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.small-heading {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #777;
    display: block;
    margin-bottom: 1.5rem;
}

.services-title {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 700;
    color: #222;
    margin-bottom: 3rem;
}

.services-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 400;
    color: #555;
    margin-bottom: 3rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .services-title {
        font-size: 2rem;
    }
    
    .services-subtitle {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .services-title {
        font-size: 1.75rem;
    }
    
    .small-heading {
        font-size: 0.7rem;
    }
}


/* === services-grid.css === */
/* Services Grid Layout */
.services-grid, .services-pricing-grid {
    margin-top: 4rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    padding: 0;
    box-sizing: border-box;
}

@media screen and (max-width: 700px) {
  .services-grid, .services-pricing-grid {
    gap: 1.2rem;
    padding: 0;
    max-width: 100%;
  }
}

:root {
    --card-bg-color: rgba(30, 32, 40, 0.75);
}

.service-card, .service-item, .pricing-card {
    background: var(--card-bg-color, rgba(30, 32, 40, 0.75));
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18), 0 2px 10px rgba(0,0,0,0.12);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: visible;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    height: 100%;
    box-sizing: border-box;
}

.service-card-content, .pricing-card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-right: 0;
    padding-bottom: 1.8rem;
    text-align: center;
    flex: 1;
}

.service-card-divider, .pricing-card-divider {
    width: 50%;
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 0.5rem auto 1rem;
    border-radius: 1px;
}

.service-card-price, .pricing-card-side {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-left: 0;
    text-align: center;
    margin-top: auto;
}

/* Styling for price amount */
.pricing-amount {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent-color, #814AC8);
    letter-spacing: -1.5px;
    margin-bottom: 1rem;
    text-shadow: 0px 2px 3px rgba(0,0,0,0.1);
}

.pricing-period {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.pricing-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.pricing-features li {
    line-height: 1.5;
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.9);
}

.pricing-description {
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.pricing-cta {
    display: inline-block;
    background: var(--accent-color, #814AC8);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 1.2rem;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-cta:hover {
    background: rgba(140, 85, 216, 0.8);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@media screen and (max-width: 700px) {
  .service-card, .service-item, .pricing-card {
    padding: 1.5rem 1.2rem;
    margin-bottom: 1rem;
  }
}

.service-card:hover, .service-item:hover, .pricing-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.2), 0 4px 12px rgba(0,0,0,0.15);
    border-color: rgba(255,255,255,0.2);
}

/* Stile base per service-item in versione desktop */
.service-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    width: 100%;
    margin-bottom: 1rem;
}

.service-image, .service-card .service-image {
    width: 100%;
    min-height: 180px;
    max-height: 220px;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    background: none;
}

.service-item.reverse {
    flex-direction: row-reverse;
}

/* Stile per l'immagine (placeholder o animazione) */
.service-image {
    flex: 1;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Stile per il container Lottie */
.lottie-container {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-color: transparent;
    overflow: hidden;
}

/* Stile per il contenuto testuale */
.service-content {
    flex: 1;
    padding: 1.5rem 0;
}

.service-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #777;
    margin-bottom: 0.75rem;
    display: block;
}

.service-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.service-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Stile per i tag/etichette */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.service-tags .tag {
    padding: 0.5rem 0.75rem;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #444;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Rimosso effetto hover sui tag come richiesto */

/* Responsive design */
@media screen and (max-width: 992px) {
    .service-item, 
    .service-item.reverse {
        flex-direction: column;
        gap: 1.5rem;
    }

    .service-image,
    .service-content {
        width: 100%;
        padding: 0;
    }
}

@media screen and (max-width: 767px) {
  .service-card, .services-card, .service-item, .pricing-card {
    padding: 0;
    box-sizing: border-box;
    width: 100%;
  }
  
  .services-pricing-grid {
    padding: 0;
    margin-bottom: 4rem;
    width: 100%;
  }
}

@media screen and (max-width: 576px) {
    .services-grid, .services-pricing-grid {
        padding: 0;
        width: 100%;
    }

    .service-card, .services-card, .service-item, .pricing-card {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        max-width: 100%;
    }
    
    .service-title {
        font-size: 1.5rem;
    }
    
    .service-tags {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .service-tags .tag {
        width: fit-content;
    }
}


/* === method.css === */
/* Method Section Styles */
.method-section {
    padding: 8rem 0;
    background-color: #f9f9f9;
}

.method-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 5rem;
}

/* Riutilizziamo gli stili giÃ  definiti per la sezione servizi */
.method-section .small-heading {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #777;
    display: block;
    margin-bottom: 2.5rem;
}

.method-title {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 700;
    color: #222;
    margin-bottom: 3rem;
}

.method-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 400;
    color: #555;
    margin-bottom: 2rem;
}

/* Method Grid Styles */
.method-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.method-item {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 440px;
    height: auto;
    overflow: hidden;
    justify-content: space-between;
} 

/* Rimosso l'hover animation */

.method-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #777;
    background-color: #f0f0f0;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.method-item-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 1.5rem;
}

.method-item-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 1.5rem;
    min-height: 60px; /* Altezza minima per le descrizioni */
}

.method-image {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    min-height: 160px;
    height: 200px;
    overflow: hidden;
}

.method-image img, .method-lottie {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
} 

/* Stile per le animazioni Lottie nella sezione metodo */
.method-lottie {
    width: 300px;
    height: 100%;
    background-color: transparent;
    border-radius: 0;
    overflow: visible;
    margin: 0;
    display: block;
}

.icon-placeholder {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 50%;
    transition: all 0.2s ease;
    color: #555;
}

.method-item:nth-child(1) .icon-placeholder {
    background-color: rgba(109, 154, 230, 0.15);
    color: #6d9ae6;
}

.method-item:nth-child(2) .icon-placeholder {
    background-color: rgba(240, 174, 79, 0.15);
    color: #f0ae4f;
}

.method-item:nth-child(3) .icon-placeholder {
    background-color: rgba(99, 185, 149, 0.15);
    color: #63b995;
}

.method-item:nth-child(4) .icon-placeholder {
    background-color: rgba(214, 122, 155, 0.15);
    color: #d67a9b;
}

.icon-placeholder svg {
    width: 32px;
    height: 32px;
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    .method-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Riduzione dimensione cards */
    .method-item {
        min-height: 370px;
        height: auto;
    }
    
    .method-image {
        min-height: 120px;
        height: 140px;
    }
    
    .method-lottie {
        width: 220px;
    }
} 

@media screen and (max-width: 768px) {
    .method-title {
        font-size: 2rem;
    }
    
    .method-subtitle {
        font-size: 1.1rem;
    }
    
    .method-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    /* Riduzione ulteriore dimensione cards */
    .method-item {
        height: 320px;
    }
    
    .method-image {
        height: 140px;
    }
    
    .method-lottie {
        width: 220px;
    }
}

@media screen and (max-width: 480px) {
    .method-title {
        font-size: 1.75rem;
    }
    
    .method-item {
        padding: 1.2rem;
        min-height: 290px;
        height: auto;
    }
    
    .method-item-title {
        font-size: 1.3rem;
    }
    
    .method-image {
        min-height: 90px;
        height: 110px;
    }
    
    .method-lottie {
        width: 140px;
    }
    
    .icon-placeholder {
        width: 60px;
        height: 60px;
    }
}


/* === faq.css === */
/* FAQ Section Styles */
.faq-section {
    padding: 5rem 0;
    background-color: transparent;
}

.faq-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 3rem;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

/* Accordion Styles */
.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--btn-bg);
}

.faq-arrow {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.faq-arrow::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--btn-bg);
    border-bottom: 2px solid var(--btn-bg);
    top: 0;
    left: 5px;
    transform: rotate(45deg);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow::after {
    transform: rotate(-135deg);
    top: 8px;
}

.faq-item.active .faq-question {
    color: var(--btn-bg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Valore grande per assicurarsi che contenga tutta la risposta */
    padding: 0 1.5rem 1.5rem;
}

/* Responsive adjustments */
@media screen and (max-width: 991px) {
    .faq-grid {
        max-width: 700px;
    }
}

@media screen and (max-width: 768px) {
    .faq-grid {
        padding: 0 1rem;
        max-width: 600px;
    }
    
    .faq-question {
        font-size: 0.95rem;
        padding: 1.25rem;
    }
    
    .faq-answer {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .faq-grid {
        max-width: 100%;
    }
    
    .faq-question {
        font-size: 0.9rem;
        padding: 1rem;
    }
    
    .faq-arrow {
        width: 16px;
        height: 16px;
    }
    
    .faq-arrow::after {
        width: 8px;
        height: 8px;
    }
}


/* === hero-responsive-fix.css === */
/* HERO RESPONSIVE: tablet e mobile, sempre leggibile e centrato */

@media (max-width: 991px) {
  .hero-section .container {
    flex-direction: column;
    gap: 48px;
    text-align: center;
    padding: 0 24px;
  }
  .hero-content {
    max-width: 100%;
    padding: 0 8px;
  }
  .hero-content h1 {
    font-size: 2.5rem;
    padding: 0 8px;
    word-break: break-word;
    white-space: normal;
    text-align: center;
  }
  .hero-content h2 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    text-align: center;
  }
  .hero-description {
    font-size: 1.05rem;
    margin-bottom: 20px;
    margin-top: -10px;
    text-align: center;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 10px;
  }
  #cta-button .btn, #contact-cta-btn {
    width: auto;
    min-width: 140px;
    max-width: 260px;
    font-size: 1.07rem;
    padding-left: 11px;
    padding-right: 11px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .hero-orb-container {
    margin: 0 auto 24px auto;
    max-width: 260px;
  }
  .hero-dots-1, .hero-dots-2, .hero-dots-3, .hero-dots-4, .hero-dots-5, .hero-dots-6, .hero-dots-7, .hero-dots-8, .hero-dots-9, .hero-dots-10, .hero-dots-11, .hero-dots-12 {
    left: unset !important;
    right: unset !important;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  /* Maggior padding laterale per le cards servizi su mobile */
  .service-card, .services-card, .service-item {
    padding-left: 0;
    padding-right: 32px;
    box-sizing: border-box;
  }
  /* Padding laterale alle cards principali delle altre pagine */
  .project-card, .blog-card, .contact-card, .projects-card, .blog-list-item, .contacts-content, .contact-form {
    padding-left: 0;
    padding-right: 24px;
    box-sizing: border-box;
  }
  .hero-section .container {
    flex-direction: column;
    gap: 36px;
    text-align: center;
    padding: 0 10px;
  }
  .hero-content {
    max-width: 100%;
    padding: 0 4px;
  }
  .hero-section .hero-content h1 {
    font-size: 1.4rem !important;
    padding: 0 2px;
    word-break: break-word;
    white-space: normal;
    text-align: center;
  }
  .hero-content h2 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-align: center;
  }
  .hero-description {
    font-size: 1rem;
    margin-bottom: 16px;
    margin-top: -6px;
    text-align: center;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 8px;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .hero-orb-container {
    margin: 0 auto 16px auto;
    max-width: 180px;
  }
  .hero-dots-1, .hero-dots-2, .hero-dots-3, .hero-dots-4, .hero-dots-5, .hero-dots-6, .hero-dots-7, .hero-dots-8, .hero-dots-9, .hero-dots-10, .hero-dots-11, .hero-dots-12 {
    left: unset !important;
    right: unset !important;
    margin: 0 auto;
  }
}


/* === desktop-services-fix.css === */
/* Fix per il layout desktop della sezione servizi */
@media screen and (min-width: 993px) {
    .service-item {
        display: flex;
        flex-direction: row !important;
        flex-wrap: nowrap;
        align-items: center;
        gap: 2.5rem;
    }
    
    .service-item.reverse {
        flex-direction: row-reverse !important;
    }
    
    .service-image {
        flex: 1;
        min-width: 300px;
    }
    
    .service-content {
        flex: 1;
    }
}


/* === h3-fix.css === */
/* Dimensioni dei titoli uniformate per vari breakpoint */

/* Tablet */
@media (max-width: 991px) {
    h1, .hero-title {
        font-size: 2.5rem;
    }
    
    h2, .services-title, .projects-title, .section-title {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.25rem;
    }
}

/* File svuotato: tutte le regole ora sono in section-titles.css */
@media (max-width: 767px) {
    h1, .hero-title {
        font-size: 2rem;
    }
    
    h2, .services-title, .projects-title, .section-title {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.35rem;
    }
    
    h4 {
        font-size: 1.15rem;
    }
}

/* Schermi molto piccoli */
@media (max-width: 480px) {
    h1, .hero-title {
        font-size: 1.75rem;
    }
    
    h2, .services-title, .projects-title, .section-title {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    h4 {
        font-size: 1rem;
    }
}


/* === mobile-fix.css === */
/* Fix overflow e padding su mobile per centratura perfetta */
@media (max-width: 600px) {
  html, body {
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    width: 100vw !important;
    box-sizing: border-box !important;
  }
  
  .container,
  .services-content, .projects-content, .method-content, .faq-content, .cta-content,
  .service-content, .project-card-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 100vw !important;
  }

  .section-header,
  .section-header .mini-title {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* Rimuovi padding extra da heading generici */
  
}

/* Sicurezza extra: nessun elemento deve causare overflow */
* {
  box-sizing: border-box !important;
}


/* === title-fixes.css === */
/* File svuotato: tutte le regole ora sono in section-titles.css */

/* Rimuove gli stili obsoleti e li sostituisce con il nuovo sistema */
.section-title,
.services-title,
.projects-title,
.blog-title,
.faq-title,
.cta-title,
.ticker-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--heading-color);
}

.section-subtitle,
.services-subtitle,
.projects-subtitle,
.blog-subtitle,
.faq-subtitle,
.cta-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.6;
    text-align: center;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* Media query per tablet */
@media (max-width: 991px) {
    .section-title,
    .services-title,
    .projects-title,
    .blog-title,
    .faq-title,
    .cta-title,
    .ticker-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle,
    .services-subtitle,
    .projects-subtitle,
    .blog-subtitle,
    .faq-subtitle,
    .cta-subtitle {
        font-size: 1.1rem;
        max-width: 90%;
    }
}

/* Media query per mobile */
@media (max-width: 767px) {
    .section-title,
    .services-title,
    .projects-title,
    .blog-title,
    .faq-title,
    .cta-title,
    .ticker-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle,
    .services-subtitle,
    .projects-subtitle,
    .blog-subtitle,
    .faq-subtitle,
    .cta-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }
}


