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

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 66px;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #64B2F4;
    display: flex;
    justify-content: center;
}
.logo-svg{
    max-width: 30%;
}

.nav-buttons, .cta-button {
    display: flex;
    gap: 20px;
}

.nav-button, .cta-button a, .language-toggle {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    font-size: 16px;
}

.nav-button {
    background-color: transparent;
    color: #333;
}

.nav-button:hover {
    background-color: #f0f0f0;
}

.cta-button a {
    background-color: #64B2F4;
    color: white;
}

.cta-button a:hover {
    background-color: #4a8ac7;
}

.language-toggle {
    background-color: transparent;
    color: #333;
    font-size: 14px;
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger-menu div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
}

/* Hero section styles */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.parallax-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.parallax-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.parallax-image.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        to left,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 2rem;
}

.hero-content {
    color: white;
    text-align: right;
}

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

.specialty-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 0.5rem;
}

.specialty-icon {
    width: 24px;
    height: 24px;
    margin-left: 0.5rem;
    filter: invert(1);
}

.specialty-text {
    font-size: 1rem;
}

.more-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #64B2F4;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.more-button:hover {
    background-color: #4a8ac7;
}

.more-button--secondary {
    background-color: rgba(100, 178, 244, 0.2);
    border: 2px solid #64B2F4;
    color: #64B2F4;
}

.more-button--secondary:hover {
    background-color: rgba(100, 178, 244, 0.3);
}

/* Scroll arrow styles */
#mouse-scroll {
    position: absolute;
    margin: auto;
    left: 50%;
    bottom: 90px;
    -webkit-transform: translateX(-50%) scale(1.6);
    transform: translateX(-50%) scale(1.5);
    z-index: 100;
    cursor: pointer;
}

#mouse-scroll span {
    display: block;
    width: 5px; 
    height: 5px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    border-right: 2px solid #fff; 
    border-bottom: 2px solid #fff;
    margin: 0 0 3px 5px;
}

#mouse-scroll .mouse {
    height: 21px;
    width: 14px;
    border-radius: 10px;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    border: 2px solid #ffffff;
    top: 170px;
    display: block;
}

#mouse-scroll .down-arrow-1 {
    margin-top: 6px;
}

#mouse-scroll .down-arrow-1, #mouse-scroll .down-arrow-2, #mouse-scroll .down-arrow-3 {
    -webkit-animation: mouse-scroll 1s infinite; 
    -moz-animation: mouse-scroll 1s infinite;
}

#mouse-scroll .down-arrow-1 {
    -webkit-animation-delay: .1s; 
    -moz-animation-delay: .1s;
    -webkit-animation-direction: alternate;
}

#mouse-scroll .down-arrow-2 {
    -webkit-animation-delay: .2s; 
    -moz-animation-delay: .2s;
    -webkit-animation-direction: alternate;
}

#mouse-scroll .down-arrow-3 {
    -webkit-animation-delay: .3s;
    -moz-animation-delay: .3s;
    -webkit-animation-direction: alternate;
}

#mouse-scroll .mouse-in {
    height: 5px;
    width: 2px;
    display: block; 
    margin: 5px auto;
    background: #ffffff;
    position: relative;
}

#mouse-scroll .mouse-in {
    -webkit-animation: animated-mouse 1.2s ease infinite;
    moz-animation: mouse-animated 1.2s ease infinite;
}

.scroll-overlay{
    position: absolute;
    bottom: -230px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    z-index: 99;
    pointer-events: none;
    background-color: black;
    border-radius: 100%;
    opacity: 50%;
}

@-webkit-keyframes animated-mouse {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(6px);
        -ms-transform: translateY(6px);
        transform: translateY(6px);
    }
}

@-webkit-keyframes mouse-scroll {
    0% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
    100% {
        opacity: 1;
    } 
}

@keyframes mouse-scroll {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Timeline styles */

.timeline-section {
    padding: 4rem 0;
    background-color: #f0f8ff;
    position: relative;
    z-index: 20;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(to bottom, rgba(100, 178, 244, 0) 0%, rgba(100, 178, 244, 1) 10%, rgba(100, 178, 244, 1) 90%, rgba(100, 178, 244, 0) 100%);
    top: 0;
    bottom: 0;
    left: 0;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 100%;
    margin-bottom: 30px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    left: -16px;
    background-color: white;
    border: 4px solid #64B2F4;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.timeline-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 6px 6px 0 0;
    position: relative;
}

.timeline-date {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 4px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: #64B2F4;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Scroll-animated section styles */
.scroll-animated-section {
    height: auto;
    min-height: 0;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    background-color: #f0f8ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated-text-container {
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.text-background {
    background-color: white;
    padding: 3rem 4rem;
    border-radius: 2rem;
    display: inline-block;
    box-shadow: 0 15px 30px rgba(100, 178, 244, 0.2);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animated-text {
    font-size: 5vw;
    color: #64B2F4;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animated-number {
    font-size: 10vw;
    color: #64B2F4;
    display: flex;
    align-items: baseline;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.years-text {
    font-size: 5vw;
    margin-left: 1rem;
}

/* Client proofs section styles */
.client-proofs {
    background-color: #f0f8ff;
    padding: 4rem 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.proof-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: white;
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 15px 30px rgba(100, 178, 244, 0.2);
}

.proof-column {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
}

.chart-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    position: relative;
}

.chart-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
    color: #64B2F4;
}

.chart-title {
    font-size: 1.5rem;
    color: #64B2F4;
    margin-bottom: 1rem;
}

.chart-description {
    font-size: 1rem;
    color: #333;
}



/*CTA section and footer*/

.cta-section {
    background-color: #e6f3ff;
    padding: 4rem 0;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.cta-image-column, .cta-button-column {
    flex: 1;
    padding: 0 2rem;
}

.cta-divider {
    width: 2px;
    background-color: #64B2F4;
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.cta-image {
    height: auto;
    width: 50%;
    transform: translate(260px, 0px);
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2rem;
    color: #64B2F4;
    margin-bottom: 1rem;
}

.cta-button--section {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    color: white;
    background-color: #F5A664;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-button--section:hover {
    background-color: #e69354;
}

.cta-certifications {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.cert-logo {
    height: 60px;
    width: auto;
}

.site-footer {
    background-color: #333;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright, .designer-signature {
    font-size: 0.9rem;
}

.designer-signature a {
    color: #64B2F4;
    text-decoration: none;
}

.designer-signature a:hover {
    text-decoration: underline;
}

.scroll-icon-container {
    display: none !important;
    filter: invert(1);
    opacity: 50%;
}

.desktop-scroll{
    display: block !important;
}
.evolucion-img{
    background-position: top !important;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
.founders-img, .evolucion-img{
    background-position: left !important;
}
    .scroll-overlay{
        display: none;
    }
    .desktop-scroll{
    display: none !important;
}

    .scroll-icon-container{
        display: block !important;
        position: absolute;
        margin: auto;
        left: 50%;
        bottom: 50px;
        -webkit-transform: translateX(-50%) scale(1.3);
        transform: translateX(20%) scale(0.5);
        /* z-index: 9999; */
        cursor: pointer;
    }
    .cta-divider, .cta-image-column{
        display: none;
    }
    .logo-svg{
        max-width: 80%;
    }
    .logo{
        max-width: 50%;
        order: 2 !important;
    }
    .burger-menu{
        order: 1 !important;
    }
    .nav-buttons {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .nav-buttons.active {
        display: flex;
    }

    .nav-button {
        width: 100%;
        text-align: center;
    }

    .burger-menu {
        display: flex;
    }

    .header-content {
        /* flex-wrap: wrap; */
    }

    .logo {
        order: -1;
        margin-bottom: 10px;
    }

    .cta-button {
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
    }

    .hero-overlay {
        width: 100%;
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0) 100%
        );
        align-items: center;
    }

    .hero-content {
        text-align: center;
    }

    .specialty-item {
        justify-content: center;
    }

    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 15px;
    }

    .animated-text {
        font-size: 8vw;
    }

    .animated-number {
        font-size: 14vw;
    }

    .years-text {
        font-size: 7vw;
    }

    .proof-container {
        flex-direction: column;
        padding: 2rem;
    }

    .proof-column {
        margin-bottom: 3rem;
    }

    .chart-container {
        width: 150px;
        height: 150px;
    }
}

.cta-and-lang {
    display: flex;
    order: 3 !important;
}

@media screen and (max-width: 768px) {
    .chart-percentage {
        transform: translate(-10%, 0%);
    }
    .proof-column{
        width: 100%;
    }
    .cta-and-lang {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .language-toggle {
        margin-left: 10px;
    }
}

@keyframes zoomIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes slideUp {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.text-background.landed {
    animation: zoomIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.text-background.landed .animated-text,
.text-background.landed .animated-number {
    animation: slideUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation-fill-mode: forwards;
}

.text-background.landed .animated-number {
    animation-delay: 0.2s;
}
.nav-button.current-page {
    color: #64B2F4; 
    font-weight: bold;
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

/* Testimonial styles */
.testimonial-container {
    height: 350px;
    position: relative;
    overflow: hidden;
}

.testimonial {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 1.5rem 1.5rem;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-color: #e6f3ff;
    border-radius: 1rem;
}

.testimonial.active {
    opacity: 1;
    z-index: 2;
}
.testimonial-control {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.quote-icon {
    font-size: 4rem;
    color: #64B2F4;
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    opacity: 0.2;
    z-index: 1;
}

.quote-text {
    flex-grow: 1;
    overflow-y: auto;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-right: 1rem;
    position: relative;
    z-index: 2;
    max-height: 200px;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.client-logo {
    max-width: 100px;
    max-height: 50px;
    width: auto;
    height: auto;
    margin-bottom: 0.5rem;
    object-fit: contain;
}

.client-name {
    font-weight: bold;
    margin: 0.25rem 0;
}

.client-role, .client-company {
    font-size: 0.8rem;
    color: #666;
    margin: 0.1rem 0;
}

/* Custom scrollbar for webkit browsers */
.quote-text::-webkit-scrollbar {
    width: 8px;
}

.quote-text::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.quote-text::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.quote-text::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* For Firefox */
.quote-text {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

/* Responsive styles for testimonials */
@media screen and (max-width: 768px) {
    .testimonial-container {
        height: 400px; /* Increased height for mobile */
    }

    .quote-text {
        font-size: 0.9rem; /* Slightly smaller font on mobile */
        max-height: 220px; /* Increased max-height for mobile */
    }

    .client-logo {
        max-width: 80px; /* Slightly smaller logo on mobile */
        max-height: 40px;
    }
}


.testimonial-container:hover .testimonial.active {
    border: 2px solid #64B2F4;
    transition: border 0.3s ease;
}



.testimonial-control {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.testimonial-container.paused .testimonial-control,
.testimonial-control.visible {
    opacity: 1;
}
