@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

html {
    scroll-behavior: smooth;
}

:root {
    --marine: #0077b6;
    --sand: #caf0f8;
    --dark: #1b262c;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: var(--sand);
    color: #0077b6;
}


.free-shipping {
    background-color: var(--sand); /* sfondo chiaro */
    overflow: hidden;
    white-space: nowrap;

}

.scrolling-text p {
    display: inline-block;
    padding-left: 100%; /* parte fuori dallo schermo a destra */
    animation: scroll-left 15s linear infinite;
    font-weight: bold;
    font-size: 1rem;
    color: #0077b6; /* colore testo */
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Responsive */
@media (max-width: 600px) {
    .scrolling-text p {
        font-size: 0.9rem;
    }
}


/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background-color: #0077b6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 2px;
    width: 100%;
    background: #90e0ef;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: #90e0ef;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Toggle hamburger */
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
    z-index: 1001;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 40%;
        background: #0077b6;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 4rem 2rem;
        gap: 1.5rem;
        transition: right 0.4s ease-in-out;
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 0.8rem;
    }

    .menu-toggle {
        display: block;
    }
}

/* Hero */
.hero {

    padding-top: 80px; /* o quanto è alta la navbar */
    position: relative;
    height: 100vh; /* occupa tutta l’altezza dello schermo */
    background-color: #000; /* sfondo nero */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-bottom: 100px; /* Spazio per non sovrapporre il bottone */
    overflow: hidden;
}
.hero-image {
    width: 90%; /* non tocca i bordi su desktop */
    height: auto;
    max-width: 1200px;
    object-fit: contain;
    display: block;
}


@keyframes zoomSlow {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Qua c'era hero overlay */



.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Pulsante hero */
.btn {
    background: #0077b6;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(106, 27, 27, 0.4);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(106, 27, 27, 0.6);
}


/* Sezione immagine sotto la hero */
.hero-image-section {
    background-color: #000; /* sfondo nero continuo */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

/* Immagine PNG */
.hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* Onda sotto l'immagine */
.hero-wave {
    position: relative; /* NON assoluta, così non si sovrappone */
    width: 100%;
    line-height: 0;
    background-color: #000; /* continuità con lo sfondo nero sopra */
    overflow: hidden;
    z-index: 1;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 120px;
    fill: var(--sand);
}

.hero-wave path {
    fill: var(--sand);
}

/* Responsività */
@media (max-width: 768px) {
    .hero-image {
        width: 100%;
        height: auto;
    }

    .hero-wave svg {
        height: 160px; /* onda più grande su mobile */
    }
}
/* About */
#about {
    padding: 4rem 1rem;
    text-align: center;
    background: var(--sand);
}

#about h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--marine);
}

#about p {
    max-width: 800px;
    margin: 1rem auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 1rem auto;
    text-align: left;
}

.about-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.about-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--marine);
    font-size: 1rem;
}

.about-benefits {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    text-align: center;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    flex: 1 1 250px;
}

.benefit-item img {
    width: 60px;
    height: 60px;
}

.benefit-item h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #0077b6;
}

.benefit-item p {
    margin: 0.3rem 0 0;
    color: #2c3e50;
    font-size: 0.95rem;
}

.benefit-item svg {
    width: 48px;
    height: 48px;
    flex-shrink: 0; /* evita che l'icona si schiacci dentro il flex */
}

/* Responsive */
@media (max-width: 768px) {
    .about-benefits {
        flex-direction: column;
        gap: 1.5rem;
    }
}


/* 🔹 Sezione Soluzioni */
.soluzioni-section {
    margin: 0;
    padding: 0;
    max-width: 100%;
}

/* Ogni soluzione = immagine fullwidth */
.soluzione {
    position: relative;
    width: 100%;
    height: 70vh; /* altezza proporzionata */
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Immagine */
.soluzione-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.soluzione-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s ease;
}

/* Overlay (patina scura sempre attiva) */
.soluzione::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
    transition: background 0.6s ease;
}

/* Contenuto (titolo + testo) */
.soluzione-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    text-align: center;
    padding: 20px;
    color: #fff;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    transition: all 0.6s ease;
}

/* Titolo sempre visibile */
.soluzione-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 1;
}

/* Testo nascosto (desktop + mobile) */
.soluzione-content p {
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #f0f0f0;

    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

/* Effetti Hover (desktop + mobile) */
.soluzione:hover img {
    transform: scale(1.1);
}

.soluzione:hover::before {
    background: rgba(0, 0, 0, 0.65);
}

.soluzione:hover .soluzione-content p {
    opacity: 1;
    transform: translateY(0);
}

/* Titolo sezione */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin: 40px auto;
    color: #0077b6;
}

/* 📱 Responsive */
@media (max-width: 768px) {
    .soluzione {
        height: 60vh;
    }
    .soluzione-content h3 {
        font-size: 1.8rem;
    }
    .soluzione-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .soluzione {
        height: 55vh;
    }
    .soluzione-content h3 {
        font-size: 1.4rem;
    }
    .soluzione-content p {
        font-size: 0.9rem;
    }
}

/*   BUONO

.soluzioni-section {
    padding: 80px 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #0077b6;
    position: relative;
}

.section-title::after {
    content: "";
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0077b6, #00b4d8);
    display: block;
    margin: 12px auto 0;
    border-radius: 2px;
}


.soluzione {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.soluzione.invertita {
    flex-direction: row-reverse;
}


.soluzione-content {
    flex: 1;
    min-width: 300px;
}

.soluzione-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #0096c7;
}

.soluzione-content p {
    font-size: 1.05rem;
    color: #023e8a;
}


.soluzione-image {
    flex: 1;
    min-width: 300px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.soluzione-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}


.soluzione-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.soluzione-image:hover img {
    transform: scale(1.05);
}


@media (max-width: 1024px) {
    .soluzione {
        gap: 30px;
    }
    .section-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .soluzione {
        flex-direction: column !important;
        text-align: center;
    }
    .soluzione-content h3 {
        font-size: 1.6rem;
    }
    .soluzione-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    .soluzione-content h3 {
        font-size: 1.4rem;
    }
    .soluzione-content p {
        font-size: 0.95rem;
    }
}
*/
.gallery-section {
    padding: 4rem 2rem;
    background: var(--sand);
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #005f73;
}

.slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden; /* nasconde le slide fuori dal container */
}

.slides-wrapper {
    display: flex;
    transition: transform 0.5s ease; /* scorrimento fluido */
}

.slide {
    min-width: 100%; /* ogni slide occupa tutta la larghezza */
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
    position: relative;
}

/* Contenitore testo */
.slide-text {
    margin-top: 1rem;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: left;
}

/* Pulsanti frecce */
.slider-btn {
    position: absolute;
    top: 35%; /* sempre centrati sull’immagine */
    transform: translateY(-50%);
    background: #005f73;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.slider-btn.prev { left: 15px; }
.slider-btn.next { right: 15px; }

.slider-btn:hover { background: #0a9396; }

/* Tablet */
@media (max-width: 992px) {
    .slide img { max-height: 350px; }
    .slider-btn {
        width: 34px;
        height: 34px;
        font-size: 1.2rem;
    }
    .slider-btn.prev { left: 10px; }
    .slider-btn.next { right: 10px; }
}

/* Mobile */
@media (max-width: 600px) {
    .slide img { max-height: 260px; }
    .slider-btn {
        top: 28%; /* ancora più in alto su mobile */
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    .slider-btn.prev { left: 6px; }
    .slider-btn.next { right: 6px; }
    .slide-text { font-size: 0.9rem; }
}

/* Reviews Section */
.reviews-section {
    background-color: var(--sand); /* bianco latte */
    padding: 4rem 1.5rem;
    text-align: center;
}

.reviews-section h2 {
    font-size: 2rem;
    color: #0077b6; /* oro rosato */
    margin-bottom: 2.5rem;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.review-card {
    background-color: #0077b6; /* rosa cipria */
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.review-text {
    font-size: 1rem;
    color: #ffffff; /* grigio tortora */
    margin-bottom: 1rem;
    font-style: italic;
}

.review-stars {
    color: #d59b13; /* oro rosato */
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.review-author {
    font-weight: bold;
    color: #f8f9fa;
    font-size: 0.9rem;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .reviews-section h2 {
        font-size: 1.6rem;
    }

    .review-card {
        padding: 1.2rem;
    }
}


/* FAQ */
.faq-section {
    padding: 60px 20px;
    background: var(--sand);
    text-align: center;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}
.faq-answer {
    display: none;
    padding: 0 15px 15px;
    font-size: 0.95rem;
    color: #1b262c;
}

/* Counter */
.counter-section {
    padding: 60px 20px;
    text-align: center;
    background: var(--sand);
}
.counter-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}
.counter-box {
    font-size: 1.2rem;
    font-weight: 600;
}
.counter-box .counter {
    font-size: 2.5rem;
    color: #0077b6;
    display: block;
}

/* Sezione Eventi */
.eventi-section {
    padding: 60px 0;
    text-align: center;
}
.eventi-intro {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #2c3e50;
}


#form-eventi {
    scroll-margin-top: 100px; /* adatta al tuo header */
}





.caption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--marine); /* o colore che preferisci */
    text-align: center;
    font-weight: 500;
}

.cta {
    padding: 3rem 1rem;
    background-color: var(--sand);
    color: #0077b6; /* colore testo - blu mare */
    font-family: 'Montserrat', sans-serif;
}

.cta h2 {
    text-align: center;
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 2rem;
}

#contact h2 {
    color: white;
    text-align: center;
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-container {
    display: flex;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-form {
    flex: 1 1 350px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem 1rem;
    border: 2px solid #0077b6;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: none;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0077b6;
    outline: none;
}

.contact-form button {
    background-color: #0077b6;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #005f8a;
}

.map-wrapper {
    flex: 1 1 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    min-height: 300px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
    display: block;
    border-radius: 12px;
}

/* Responsive */

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-form,
    .map-wrapper {
        flex: 1 1 100%;
    }
}

.social-section {
    padding: 3rem 1rem;
    background-color: var(--sand); /* un blu scuro coerente con tema mare */
    color: #005fa3;
    text-align: center;
}

.social-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap; /* consente di andare a capo su mobile */
}

.social-icons a img {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
}

.social-icons a:hover img {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.8));
}

/* Responsive */
@media (max-width: 600px) {
    .social-icons {
        gap: 1.5rem; /* meno spazio tra le icone */
    }
    .social-icons a img {
        width: 40px;
        height: 40px;
    }
}


.whatsapp {
    position: fixed;
    bottom: 20px;  /* distanza dal fondo */
    left: 20px;    /* distanza dal bordo sinistro */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366; /* verde WhatsApp */
    border-radius: 50%;        /* rotondo */
    width: 60px;               /* larghezza bottone */
    height: 60px;              /* altezza bottone */
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 10000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp img {
    width: 35px;  /* dimensione logo */
    height: 35px;
}

.whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* Adattamento per schermi piccoli */
@media (max-width: 480px) {
    .whatsapp {
        width: 50px;
        height: 50px;
    }

    .whatsapp img {
        width: 28px;
        height: 28px;
    }
}



/* Footer */
footer {
    background: var(--sand);
    color: #0077b6  ;
    text-align: center;
    padding: 2rem 1rem;
}

footer a {
    color: #0077b6;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background-color: #fff;
    color: #00303f;
    padding: 1rem 2rem;
    font-size: 1rem;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 480px;
    width: calc(100% - 40px);
    opacity: 0;
    gap: 1rem;
    z-index: 9999;
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: auto;
}

#cookie-banner p {
    margin: 0;
    font-weight: 500;
    flex: 1;
    color: #00303f;
}

#cookie-banner a {
    color: #0077cc;
    text-decoration: underline;
}

#cookie-banner button {
    background-color: #0077cc;
    border: none;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

#cookie-banner button:hover {
    background-color: #005fa3;
}

/* Classe per far comparire il banner con fade-in + slide-up */
#cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.privacy-consent {
    display: block;
    font-size: 0.9rem;
    margin: 1rem 0;
    color: #00303f;
}

.privacy-consent input[type="checkbox"] {
    margin-right: 0.5rem;
    vertical-align: middle;
}

.privacy-consent a {
    color: white;
    text-decoration: underline;
}








/* ================= HERO ================= */
.hero-tech {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(270deg, #0a9396, #005f73, #94d2bd, #e9d8a6);
    background-size: 800% 800%;
    animation: gradientFlow 20s ease infinite;
    color: white;
    padding: 0 2rem;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-tech h1 {
    font-size: 3rem;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.1);
    padding: 1rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.hero-tech p {
    margin-top: 1rem;
    font-size: 1.3rem;
    color: #fefefe;
}

/* ================= TECH WOW ================= */
.tech-wow {
    padding: 6rem 5%;
    background: #f9f9f9;
    text-align: center;
}

.tech-wow h2 {
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: #005f73;
    position: relative;
}

.tech-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2rem;
}

.tech-carousel::-webkit-scrollbar {
    height: 8px;
}

.tech-carousel::-webkit-scrollbar-thumb {
    background: #0a9396;
    border-radius: 4px;
}

.tech-slide {
    flex: 0 0 30%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    scroll-snap-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tech-slide:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.tech-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.tech-info {
    padding: 1.5rem;
}

.tech-info h3 {
    font-size: 1.5rem;
    color: #0a9396;
    margin-bottom: 1rem;
}

.tech-info p {
    font-size: 1rem;
    color: #333;
}

/* ================= TIMELINE ================= */
.timeline {
    position: relative;
    padding: 6rem 5%;
    max-width: 1200px;
    margin: auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    background: #0a9396;
    height: 100%;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem 3rem;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -12px;
    width: 20px;
    height: 20px;
    background: #94d2bd;
    border: 3px solid #005f73;
    border-radius: 50%;
}

.timeline-item:nth-child(even)::after {
    left: -12px;
    right: auto;
}

.timeline-item h4 {
    margin-bottom: 0.5rem;
    color: #005f73;
}

.timeline-item p {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .tech-slide { flex: 0 0 45%; }
    .timeline-item { width: 100%; padding-left: 3rem; text-align: left !important; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item::after { left: 0; right: auto; }
}

@media (max-width: 768px) {
    .tech-slide { flex: 0 0 70%; }
}

@media (max-width: 480px) {
    .hero-tech h1 { font-size: 2rem; }
    .hero-tech p { font-size: 1rem; }
    .tech-wow h2 { font-size: 2rem; margin-bottom: 2rem; }
    .tech-info h3 { font-size: 1.2rem; }
}