
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --bg-white: #ffffff;
    --bg-black: #04060b;

    --bg-gray: #f9fafb;
    --bg-header: #080d18ba;
    --bg-hero: #080d18;

    --tx-nav: #afb2bf;
    --tx-bianco:#fff;

    --border-color: #e5e7eb;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    --tx-nav-hover: #e0e0e0;

    --primary-color: #de04c1;
    --primary-color: #1ab967;
    --primary-dark: #de1a00;

    --cta:#de1a00;
    --cta-hover:#0a783f;
    --stat-number: #a6f900;

    --primary-bg: #000;

}
.tx-evidenza{color:var(--primary-color);}

a {text-decoration: none;}
a:link {color: #2f6bff;}
a:visited {color: #4a4a4a;}
a:hover {text-decoration: none;}
a:focus {outline: 3px solid rgba(47,107,255,.4);}
a:active {color: #143cb8;}

body {
    font-family: "Roboto Slab", serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: sticky;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: var(--bg-header);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.tx-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}
.img-logo{
    height: 25px; 
}
.nav-menu {

    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    color: var(--tx-nav);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 200;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--text-primary);
    color: var(--primary-dark);

}

.btn-nav {
    padding: 8px 20px;
    background: var(--cta);
    color: white !important;
    border-radius: 6px;
    transition: background 0.2s;
}

.btn-nav:hover {
    background: var(--cta-hover);
}


.cta-box{
   display: flex;
   justify-content: center;
   align-items: center;
   margin: 10px;
}

.btn-cta{
    padding: 8px 20px;
    background: var(--cta);
    color: white !important;
    border-radius: 6px;
    transition: background 0.2s;
}
.btn-cta:hover {
    background: var(--cta-hover);
}


.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* Hero */
.hero {
    top:0px;
    min-height: 100vh;
    padding-top: 200px;
    background: var(--bg-hero);

}

.hero-content {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
    color: var(--tx-bianco);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 100px;
}

.stat {
    text-align: center;
}

/* NUMERI GRANDI E BLU CON ANIMAZIONE */
.stat-number {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--stat-number);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-full {
    width: 100%;
}

/* Sections */
section {
    padding: 80px 0;
}

.services {
    background: var(--bg-gray);
}

.about {
    background: var(--bg-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.experience {
    background: var(--bg-gray);
}

.process {
    background: var(--bg-white);
}

.contact {
    background: var(--bg-gray);
    min-height: 80vh;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
}
.cards-grid hr{
    border:0.5px solid grey;
    margin-top: 10px; margin-bottom:20px;
}

.card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px;
    transition: all 0.2s;
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.card-header {
    margin-bottom: 24px;
}



.card-header h3 {
    min-height: 70px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.duration {
    display: inline-block;
    color: var(--primary-dark);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card-section h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.card-section ul {
    list-style: none;
}

.card-section li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.card-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.ico-ambiti{
    height: 60px;
    margin-bottom: 15px;
    border: 0px solid red;
}
.card-simple p{
    text-align: center;
    align-items: center;
    justify-content: center;
}
.card-simple h3 {
    min-height: 70px;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-align: center;
}

.card-simple ul {
    list-style: none;
}

.card-simple li {
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.card-simple li:last-child {
    border-bottom: none;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    min-height: 60vh;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    border:15px solid #f4f4f4;
}

.about-text h2 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.about-text .lead {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

/* Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.process-step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    color: var(--primary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 4.0rem;
    font-weight: bolder;
    margin-bottom: 16px;
    transition: 1.6s ease-in-out ;
}
.step-number:hover {
    background: var(--bg-white);
    color: var(--primary-dark);
    transition: 0.6s ease-in-out ;
}

.process-step h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact */
.contact {
    position: relative;
    background: #0a1628;
    padding: 100px 0;
    overflow: hidden;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background: var(--bg-hero);
}

.geometric-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: 
        linear-gradient(30deg, var(--primary-color) 12%, transparent 12.5%, transparent 87%, var(--primary-color) 87.5%, var(--primary-color)),
        linear-gradient(150deg, var(--primary-color) 12%, transparent 12.5%, transparent 87%, var(--primary-color) 87.5%, var(--primary-color)),
        linear-gradient(30deg, var(--primary-color) 12%, transparent 12.5%, transparent 87%, var(--primary-color) 87.5%, var(--primary-color)),
        linear-gradient(150deg, var(--primary-color) 12%, transparent 12.5%, transparent 87%, var(--primary-color) 87.5%, var(--primary-color)),
        linear-gradient(60deg, rgba(26, 185, 103, 0.5) 25%, transparent 25.5%, transparent 75%, rgba(26, 185, 103, 0.5) 75%, rgba(26, 185, 103, 0.5)),
        linear-gradient(60deg, rgba(26, 185, 103, 0.5) 25%, transparent 25.5%, transparent 75%, rgba(26, 185, 103, 0.5) 75%, rgba(26, 185, 103, 0.5));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
    animation: geometricMove 20s linear infinite;
}


@keyframes geometricMove {
    0% {
        background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
    }
    100% {
        background-position: 810px 140px, 80px 140px, 120px 210px, 120px 210px, 80px 140px, 120px 210px;
    }
}

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

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--tx-bianco);
    margin-bottom: 16px;
}

.tx-evidenza-white {
    color: var(--primary-color);
}

.contact-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 0px solid rgba(26, 185, 103, 0.2);
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 185, 103, 0.3);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: trasparent;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.contact-card:hover .contact-icon {
    XX_transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(26, 185, 103, 0.4);
}

.contact-icon svg {
    color: white;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--tx-bianco);
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.contact-info {
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 600;
}

.contact-footer {
    text-align: center;
    padding-top: 40px;
    border-top: 0px solid rgba(255, 255, 255, 0.1);
}

.contact-footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--bg-white);
    background: var(--bg-black);
    border-top: 0px solid var(--border-color);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--tx-bianco);
}

.footer-left p,
.footer-right p {
    color: var(--text-secondary);
    font-size: 0.7rem;
}


/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 68px;
        left: -100%;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 32px;
        border-top: 1px solid var(--border-color);
        transition: left 0.3s;
        align-items: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .stat-number {
        font-size: 3.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 30px;

    }


    .cards-grid,
    .cards-grid-4 {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }
    .card-simple li {
        text-align: center;
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-card {
        padding: 32px 20px;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}
