:root {
    /* Primary Palette - #501e70 */
    --color-primary-50: #f6f1fa;
    --color-primary-100: #e8e0f2;
    --color-primary-200: #d4c1e5;
    --color-primary-300: #b99dd5;
    --color-primary-400: #9a6fc2;
    --color-primary-500: #501e70;
    /* Base */
    --color-primary-600: #461b64;
    --color-primary-700: #3a1755;
    --color-primary-800: #2f1346;
    --color-primary-900: #260f38;

    /* Accent Palette - #9d0a6d */
    --color-accent-50: #fdf5fa;
    --color-accent-100: #f9e5f3;
    --color-accent-200: #f3cbe8;
    --color-accent-300: #eca1d7;
    --color-accent-400: #e36bc1;
    --color-accent-500: #9d0a6d;
    /* Base */
    --color-accent-600: #8d0962;
    --color-accent-700: #750852;
    --color-accent-800: #5d0641;
    --color-accent-900: #4a0533;

    /* Neutral Palette (Ottimizzato per contrasto) */
    --color-neutral-50: #fafafa;
    --color-neutral-100: #f5f5f5;
    --color-neutral-200: #e5e5e5;
    --color-neutral-300: #d4d4d4;
    --color-neutral-400: #a3a3a3;
    --color-neutral-500: #737373;
    --color-neutral-600: #525252;
    --color-neutral-700: #404040;
    --color-neutral-800: #262626;
    --color-neutral-900: #171717;

    /* Functional Colors (Conformi WCAG) */
    --color-success-500: #22c55e;
    /* AA su neutrale 50 */
    --color-warning-500: #f59e0b;
    /* AA su neutrale 800+ */
    --color-error-500: #ef4444;
    /* AA su neutrale 50 */
    --color-info-500: #3b82f6;
    /* AA su neutrale 900 */

    /* Custom Palette */
    --primary-color: #1e3a8a;
    --secondary-color: #1d4ed8;
    --accent-color: #2563eb;
    --text-color: #374151;
    --background-color: #f9f9f9;
}

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Cookie&display=swap');



* {
    font-family: "Nunito Sans", sans-serif !important;
    font-optical-sizing: auto;
    font-weight: 200;
    /* Peso medio per una leggibilità ottimale */
    font-variant-numeric: tabular-nums;
    /* Numeri tabulari per una migliore leggibilità */
    font-variant-east-asian: full-width;
    /* Caratteri est-asiatici a larghezza piena */
    font-kerning: normal;
    /* Abilita il kerning per una spaziatura ottimale tra i caratteri */
    font-feature-settings: "kern", "liga", "clig", "calt";
    /* Abilita le funzionalità tipografiche avanzate */
    font-smooth: antialiased;
    /* Migliora la resa del testo */
    font-style: normal;
}

.script{
    font-family: 'Cookie', cursive!important;
}

/* Custom Button Styles for Bulma */
.button.is-primary {
    background-color: var(--color-primary-500);
    color: var(--color-neutral-50);
    border: none;
}

.button.is-primary:hover {
    background-color: var(--color-primary-600);
}

.button.is-secondary, .learn-more {
    background-color: var(--color-accent-500);
    color: var(--color-neutral-50);
    border: none;
}

.button.is-secondary:hover, .learn-more:hover {
    background-color: var(--color-accent-600);
}


.logo {
    width: 90%;
    max-width: 512px;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero-section {
    background-color: var(--color-primary-500);
    /* Utilizzo del colore primario */
    color: var(--color-neutral-50);
    /* Testo chiaro */
    padding: 3rem 1rem;
}

.hero-logo {
    height: 4rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.intro-section {
    background-color: var(--color-primary-200);
    /* Sfondo neutrale chiaro */
    color: var(--color-primary-700);
    /* Colore primario scuro per il testo */
    padding: 2rem 1rem;
    text-align: center;
}

.quote-section {
    background-color: var(--color-accent-200);
    /* Sfondo neutrale chiaro */
    color: var(--color-primary-700);
    /* Colore primario scuro per il testo */
    padding: 2rem 1rem;
    text-align: center;
}

/* Section Titles */
.section-title {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--color-primary-700);
    /* Colore primario scuro */
}

.section-text {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
    color: var(--color-primary-500);
    /* Testo neutrale */
}

.claim-section {
background: var(--color-accent-500);    /* Sfondo neutrale chiaro */
    color: var(--color-primary-200);
    /* Colore primario scuro per il testo */
    padding: 2rem 1rem;
    text-align: center;
}

/* CTA Section */
.cta-section {
    position: relative;
    text-align: center;
    background: var(--color-accent-500);
    color: var(--color-neutral-50);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
}

.bg-waves{
    background-color: #F7E1FF;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='30' viewBox='0 0 1000 120'%3E%3Cg fill='none' stroke='%23F8EBF9' stroke-width='16.3' %3E%3Cpath d='M-500 75c0 0 125-30 250-30S0 75 0 75s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 45c0 0 125-30 250-30S0 45 0 45s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 105c0 0 125-30 250-30S0 105 0 105s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 15c0 0 125-30 250-30S0 15 0 15s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500-15c0 0 125-30 250-30S0-15 0-15s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 135c0 0 125-30 250-30S0 135 0 135s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3C/g%3E%3C/svg%3E");
}

.waves-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15vh;
    min-height: 100px;
    max-height: 150px;
}

.parallax-bottom>use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax-bottom>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax-bottom>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax-bottom>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax-bottom>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

.cta-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    padding: 2rem 1rem;
    background-color: var(--color-neutral-50);
    /* Sfondo neutrale chiaro */
}

.service-card {
    background: rgba(255, 255, 255, 0.8);
    /* Sfondo bianco con trasparenza */
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    text-align: center;
    max-width: 978px;
    /* Limite massimo per le card */
}

.service-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--color-primary-700);
    /* Colore primario scuro */
}

.service-text {
    color: var(--color-neutral-700);
    /* Testo neutrale */
}

.benefit-card {
    background: rgba(157, 10, 109, 0.7);
    color: var(--color-neutral-50);
  padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    text-align: center;
    max-width: 978px;
    /* Limite massimo per le card */
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--color-primary-200);
    /* Colore primario scuro */
}

/* Contact Section */
.contact-section {
    padding: 2rem 1rem;
    background-color: #fff;
      box-shadow: #fff 0px 20px 50px 50px;
    /* Sfondo neutrale chiaro */
}

.contact-form {
    max-width: 400px;
    margin: 0 auto;
}

/* Footer */
.footer-section {
    background-color: var(--color-primary-700);
    /* Colore primario scuro */
    color: var(--color-neutral-50);
    /* Testo chiaro */
    text-align: center;
    padding: 1.5rem;
}

/* Pattern Shield */
.pattern-shield-1 {
    background-image: url('pattern-shield-1.webp');
    /* Assicurati che il file PNG sia nella stessa directory */
    background-repeat: repeat;
    background-size: 360px 360px;
    animation: move 18s linear infinite;
}

@keyframes move {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 0% -360px;
    }

}

/* Center all h1 and h2 titles */
h1, h2, h3 {
    text-align: center;
}


.thalessa-header {
    background-color: #3A1755;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1500'%3E%3Cstyle%3E%23s%7Banimation%3Arotate%2030s%20linear%20infinite%7D%40keyframes%20rotate%7B%200%25%7Btransform%3A%20rotate(0deg)%7D%20100%25%7Btransform%3A%20rotate(360deg)%7D%7D%3C/style%3E%3Cdefs%3E%3CradialGradient id='a' gradientUnits='objectBoundingBox'%3E%3Cstop offset='0' stop-color='%238D0962'/%3E%3Cstop offset='1' stop-color='%233A1755'/%3E%3C/radialGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='0' y1='750' x2='1550' y2='750'%3E%3Cstop offset='0' stop-color='%2364105c'/%3E%3Cstop offset='1' stop-color='%233A1755'/%3E%3C/linearGradient%3E%3Cpath id='s' fill='url(%23b)' d='M1549.2 51.6c-5.4 99.1-20.2 197.6-44.2 293.6c-24.1 96-57.4 189.4-99.3 278.6c-41.9 89.2-92.4 174.1-150.3 253.3c-58 79.2-123.4 152.6-195.1 219c-71.7 66.4-149.6 125.8-232.2 177.2c-82.7 51.4-170.1 94.7-260.7 129.1c-90.6 34.4-184.4 60-279.5 76.3C192.6 1495 96.1 1502 0 1500c96.1-2.1 191.8-13.3 285.4-33.6c93.6-20.2 185-49.5 272.5-87.2c87.6-37.7 171.3-83.8 249.6-137.3c78.4-53.5 151.5-114.5 217.9-181.7c66.5-67.2 126.4-140.7 178.6-218.9c52.3-78.3 96.9-161.4 133-247.9c36.1-86.5 63.8-176.2 82.6-267.6c18.8-91.4 28.6-184.4 29.6-277.4c0.3-27.6 23.2-48.7 50.8-48.4s49.5 21.8 49.2 49.5c0 0.7 0 1.3-0.1 2L1549.2 51.6z'/%3E%3Cg id='g'%3E%3Cuse href='%23s' transform='scale(0.12) rotate(60)'/%3E%3Cuse href='%23s' transform='scale(0.2) rotate(10)'/%3E%3Cuse href='%23s' transform='scale(0.25) rotate(40)'/%3E%3Cuse href='%23s' transform='scale(0.3) rotate(-20)'/%3E%3Cuse href='%23s' transform='scale(0.4) rotate(-30)'/%3E%3Cuse href='%23s' transform='scale(0.5) rotate(20)'/%3E%3Cuse href='%23s' transform='scale(0.6) rotate(60)'/%3E%3Cuse href='%23s' transform='scale(0.7) rotate(10)'/%3E%3Cuse href='%23s' transform='scale(0.835) rotate(-40)'/%3E%3Cuse href='%23s' transform='scale(0.9) rotate(40)'/%3E%3Cuse href='%23s' transform='scale(1.05) rotate(25)'/%3E%3Cuse href='%23s' transform='scale(1.2) rotate(8)'/%3E%3Cuse href='%23s' transform='scale(1.333) rotate(-60)'/%3E%3Cuse href='%23s' transform='scale(1.45) rotate(-30)'/%3E%3Cuse href='%23s' transform='scale(1.6) rotate(10)'/%3E%3C/g%3E%3C/defs%3E%3Cg transform='translate(920 0)'%3E%3Cg %3E%3Ccircle fill='url(%23a)' r='3000'/%3E%3Cg opacity='0.5'%3E%3Ccircle fill='url(%23a)' r='2000'/%3E%3Ccircle fill='url(%23a)' r='1800'/%3E%3Ccircle fill='url(%23a)' r='1700'/%3E%3Ccircle fill='url(%23a)' r='1651'/%3E%3Ccircle fill='url(%23a)' r='1450'/%3E%3Ccircle fill='url(%23a)' r='1250'/%3E%3Ccircle fill='url(%23a)' r='1175'/%3E%3Ccircle fill='url(%23a)' r='900'/%3E%3Ccircle fill='url(%23a)' r='750'/%3E%3Ccircle fill='url(%23a)' r='500'/%3E%3Ccircle fill='url(%23a)' r='380'/%3E%3Ccircle fill='url(%23a)' r='250'/%3E%3C/g%3E%3Cg transform='rotate(-309.6 0 0)'%3E%3Cuse href='%23g' transform='rotate(10)'/%3E%3Cuse href='%23g' transform='rotate(120)'/%3E%3Cuse href='%23g' transform='rotate(240)'/%3E%3C/g%3E%3Ccircle fill-opacity='0.1' fill='url(%23a)' r='3000'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;

}


.stats-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    min-width: 180px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-300);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-primary-500);
    font-weight: 500;
}



.contact-section {
    min-height: 50vh;
    margin-bottom: 50vh;
    background-color: #fff;
}

.contact-form {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid var(--color-primary-300);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

input,
textarea,
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--color-primary-300) !important;
    border-radius: 5px;
    font-size: 16px;
    font-family: "Nunito Sans", sans-serif;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    background-color: var(--color-primary-200) !important;
    color: var(--color-primary-400) !important;
    field-sizing: content;
}

input,
textarea,
select::placeholder {
    color: var(--color-primary-300) !important;
}

/* Footer */
.footer-section {
    background-color: var(--color-primary-500);
    /* Colore primario */
    color: var(--color-neutral-50);
    /* Testo chiaro */
    text-align: center;
    padding: 1.5rem;
}

.fixed-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50vh;
    background-image: url('bg-footer.jpg');
    background-size: cover;
    background-position: center;

    z-index: -1;
}

.footer-text {
    color: var(--color-neutral-50);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-align: center !important;
    margin-top: 1.5rem !important;
}

.show-footer {
    display: block;
}