.stats-section {
    background: linear-gradient(to right, #b396c9, #d5a0e4, #9fcbdd, #89bde3);
    color: black;
    padding: 2rem 1rem;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 80%;
    margin: auto;
}

.stat h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1.5rem;
    font-weight: bold;
}

.info-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-left: 200px;
    background-color: white;
    color: black;
}

.info-text {
    flex: 1 1 50%;
    padding-right: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-text h2, .partner-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.info-section.visible .info-text h2, .partner-section.visible .partner-content h2 {
    opacity: 1;
    transform: none;
}

.info-text p, .partner-content p {
    font-size: 1.2rem;
    margin-top: 30px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.info-section.visible .info-text p, .partner-section.visible .partner-content p {
    opacity: 1;
    transform: none;
}

.gif-container {
    flex: 1 1 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 20px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.info-section.visible .gif-container {
    opacity: 1;
    transform: scale(1);
}

.partner-section {
    background: linear-gradient(to right, #b396c9, #d5a0e4, #9fcbdd, #89bde3);
    padding: 50px 200px;
    color: black;
}

.partner-content p {
    font-weight: 500;
}

.partner-grid {
    margin: 40px auto;
    max-width: 100%;
    opacity:0; 
    transform:translateY(14px) scale(0.9); 
    transition:opacity 1.2s ease, transform 1.2s ease; 
}

.partner-section.visible .partner-grid{
  opacity: 1;
  transform: none;
}

.column {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.last-column {
    margin-top: 30px;
}

.partner-card {
    width: 30%;
    background: #f3e6f7;
    border-radius: 20px;
    padding: 20px 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-header {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.partner-card .icon {
    width: 50px;
    height: 50px;
    background-color: #409bbb;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.partner-card h3 {
    font-size: 1.5rem;
    margin: 0;
    color: black;
    word-break: break-word;
    flex: 1;
}

.partner-card p {
    font-size: 1.2rem;
    color: black;
    min-height: 2lh;
    
}

.partner-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    opacity: 0;
    transition:opacity 1s ease; 
}

.partner-section.visible .partner-button{
  opacity: 1;
}

.partner-button button {
    background: 
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(60deg, #461750, #8c2fa0, #3795bd, #117dc8) border-box;
    color: black;
    padding: 15px 25px;
    border: 4px solid transparent;
    border-radius: 15px;
    display: inline-block;
    transition: 0.3s;
}

.partner-button button {
    font-size: 1.5rem;
}

.partner-button button:hover {
    background: 
        linear-gradient(60deg, #b898ce, #d59fe3, #acc1df, #8ec1e1) padding-box,
        linear-gradient(60deg, #461750, #8c2fa0, #3795bd, #117dc8) border-box;
    color: black;
}

.process-section {
    background-color: #ffffff;
    padding: 50px 200px;
}

.process-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #8c2fa0;
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.process-section.visible h2 {
  opacity: 1;
  transform: none;
}

.process-section .highlight {
    color: black;
}

.process-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-img {
    max-width: 80%;
    height: auto;
    margin-bottom: 60px;
    opacity: 0;
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.process-section.visible .process-img {
  opacity: 1;
  transform: none;
}

.development-cycle {
    background-color: #f5f5f5;
    padding: 50px 100px;
    border-radius: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.process-section.visible .development-cycle {
  opacity: 1;
  transform: translateY(0px);
}

.development-cycle h3 {
    font-size: 1.7rem;
    margin-bottom: 50px;
    color: black;
}

.cycle-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.step {
    max-width: 200px;
    text-align: center;
    color: black;
}

.step img {
    height: 75px;
    margin-bottom: 10px;
}

.step strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.step p {
    font-size: 1.4rem;
    color: black;
}

.step-divider { 
    width: 40px;
    height: 5px;
    background: black;
}

.logo-carousel {
    overflow: hidden;
    width: 100%;
    background: white;
    padding: 10px 0px;
    position: relative;
}

.logo-track {
    display: flex;
    will-change: transform;
}

.logo-enterprise {
    width: fit-content;
    display: flex;
    align-items: center;
    margin: 0 50px;
}

.logo-track img {
    height: 80px;
    object-fit: contain;
}

.projects-section {
    background-color: white;
    padding-top: 50px;
    padding-bottom: 50px;
}

.projects-section h2 {
    margin-left: 200px;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: black;
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.projects-section.visible h2 {
    opacity: 1;
    transform: none;
}

.projects-carousel {
    position: relative;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.projects-section.visible .projects-carousel {
    opacity: 1;
    transform: none;
}

.projects-viewport {
    width: 80%;
    margin: 0 auto;
    margin-inline: auto;
    position: relative;
    overflow: hidden;
    padding: 50px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 50px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 50px), transparent 100%);
}

.project-cards {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 30px;
    will-change: transform;
    transition: transform 420ms cubic-bezier(.2,.7,.2,1);
}

.card {
    width: 250px;
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
    flex: 0 0 auto;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    backface-visibility: hidden;
    background: white;
    display: flex;
    align-items: center;
    padding: 10px;
}

.card-front {
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 20px 2px #525151;
}

.card-front img {
    max-height: 75%;
    min-height: 60%;
    max-width: 90%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.card:hover .card-front img {
    transform: scale(1.1);
}

.card-front p {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.card:hover .card-front p {
    transform: translateX(-50%) translateY(3px);
    opacity: 1;
    cursor: pointer;
}

.card-back {
    justify-content: center;
    top: 0;
    left: 0;
    color: black;
    box-shadow: 0 0 20px 2px #8c2fa0;
    transform: rotateY(180deg);
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.card-back h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.card-back h4 {
    font-size: 1rem;
    font-size: bold;
    margin-top: -20px;
    margin-bottom: 20px;
}

.card-back p {
    font-size: 0.9rem;
}

.projects-controls{
    position: absolute;
    display: flex;
    justify-content: center;
    pointer-events: auto;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.projects-btn{
    pointer-events: auto;
    width: 44px; 
    height: 44px;
    border-radius: 999px;
    border: none;
    display: grid; 
    place-items: center;
    cursor: pointer;
    background: #9ac7d7;           
    color: #102027;
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
    transition: transform .15s ease, filter .15s ease, opacity .2s ease;
}

.projects-btn:hover{ 
    transform: translateY(-1px); 
    filter: brightness(1.05); 
}

.projects-btn:disabled{
  opacity: .35;
  cursor: default;
  transform: none;
}

.projects-btn.prev {
    margin-left: 8%;
}

.projects-btn.next {
    margin-right: 8%;
}

.projects-dots{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 14px;
}

.projects-dot{
    width: 15px; height: 15px;
    border: 0; border-radius: 999px;
    background: #585858;
    opacity: .9;
    transition: transform .15s ease, background .15s ease, opacity .15s ease;
}

.projects-dot.is-active{ 
    background: #b296c9; 
    box-shadow: 0 0 10px 2px #b296c9;
    transform: scale(1.2); 
}

@media (max-width: 1950px) {
    .info-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .projects-btn.prev {
        margin-left: 6.5%;
    }

    .projects-btn.next {
        margin-right: 6.5%;
    }
}

@media (max-width: 1300px) {
    .partner-section {
        padding: 50px 100px;
    }
}

@media (max-width: 1000px) {

    .info-section {
        padding-left: 100px;
        padding-right: 100px;
    }

    .info-text h2, .partner-content h2, .process-section h2, .projects-section h2 {
        font-size: 1.6rem;
    }

    .info-text p, .partner-content p {
        font-size: 0.8rem;
    }

    .info-image {
        margin-right: 0px;
        aspect-ratio: 1 / 1;
    }

    .info-image img {
        width: 100%;
        height: 100%;
        will-change: none;
        transform: translateX(0);
        transition: none;
    }

    .partner-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    }

    .partner-card .icon {
        width: 50px;
        height: 50px;
    }

    .partner-card h3, .step strong {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .partner-card p, .step p {
        font-size: 0.8rem;
    }

    .partner-button button {
        font-size: 1rem;
    }

    .process-section {
        padding: 50px 50px;
    }

    .process-section h2 {
        margin-left: 50px;
    }

    .process-img {
        max-width: 65%;
    }

    .development-cycle {
        padding: 50px 20px;
    }

    .development-cycle h3 {
        font-size: 1.1rem;
    }

    .cycle-steps {
        gap: 15px;
    }

    .step {
        max-width: 90px;
    }

    .step img {
        height: 50px;
    }

    .step-divider { 
        width: 30px;
    }

    .projects-section h2 {
        margin-left: 100px;
    }

    .project-cards {
        gap: 20px;
    }

    .card {
        width: 160px;
        height: 260px;
    }

    .card-front p {
        bottom: 10px;
    }

    .card-back h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .card-back h4 {
        font-size: 0.8rem;
        margin-top: -10px;
        margin-bottom: 10px;
    }

    .card-back p {
        font-size: 0.6rem;
    }

    .projects-btn.prev {
        margin-left: 5%;
    }

    .projects-btn.next {
        margin-right: 5%;
    }
}