* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

::-webkit-scrollbar {
    display: none;
}

body {
    background: #e7f2ff;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    width: 100%;
    padding: 20px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    padding: 10px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 25px;
}

.menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    transition: 0.2s;
}

.menu a.active,
.menu a:hover {
    color: #c900ff;
}

.element-3d {
    position: absolute;
    top: 0;
    right: -35%;
    scale: 50%;
    z-index: -1;
    margin-top: 100px;
}

.element2-3d {
    position: relative;
    right: 0%;
    scale: 100%;
}

/* HERO */
.hero {
    text-align: center;
    margin-top: 80px;
    position: relative;
}

.hero-text h1 {
    font-size: 70px;
    font-weight: 800;
    line-height: 1.2;
}

.highlight {
    background: #b300ff;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
}

.hero-text p {
    font-size: 22px;
    margin-top: 30px;
    color: #333;
}

/* SHAPES DECORATIVAS */
.shape {
    position: absolute;
    width: 230px;
    opacity: 0.95;
}

.shape-left {
    left: 10%;
    top: 180px;
}

.shape-right {
    right: 8%;
    top: 160px;
}

/* AMIGOS */
.amigos-section {
    margin-top: 200px;
    padding: 60px 20px;
    text-align: center;
}

.amigos-title {
    font-size: 45px;
    font-weight: 800;
    color: #120025ff;
    margin-bottom: 50px;
}

/* MISION */
.mision-section {
    padding: 60px 20px;
    text-align: center;
}

.mision-title {
    font-size: 45px;
    font-weight: 800;
    color: #120025ff;
    margin-bottom: 30px;
}

/* Contenedor de 2 columnas */
.mision-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.mision-left {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
    display: flex;
    justify-content: center;
}

/* Envolver spline para poder ocultar marca de agua */
.spline-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
}

.spline-wrapper spline-viewer {
    width: 100%;
    height: 100%;
}

/* Ocultar marca de agua de spline */
.spline-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 180px;
    height: 100px;
    background: #e7f2ff;
    z-index: 10;
}


.mision-right {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
    text-align: left;
    font-size: 18px;
    line-height: 1.6;
}

/* CONTACTO */
.contacto-section {
    padding: 60px 20px;
    text-align: center;
}

.contacto-title {
    font-size: 45px;
    font-weight: 800;
    color: #120025ff;
    margin-bottom: 30px;
}

/* GRID de tarjetas */
.contacto-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

/* Tarjeta de contacto */
.contact-card {
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(138, 43, 226, 0.3);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    width: 280px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: .3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Íconos */
.icon-wrapper {
    margin-bottom: 15px;
}

/* Labels */
.contact-label {
    font-size: 20px;
    font-weight: 600;
    color: #2c006b;
}

/* COLORES POR SERVICIO (si quieres personalizar más) */
.icon-wrapper.whatsapp svg {
    stroke: #25D366;
}

.icon-wrapper.phone svg {
    stroke: #0e6cc4;
}

.icon-wrapper.mail svg {
    stroke: #000819;
}

.icon-wrapper.youtube svg {
    fill: #af0e0e;
}

/* RESPONSIVO */
@media(max-width: 600px) {
    .contact-card {
        width: 150px;
        padding: 20px 10px;
    }

    .contact-label {
        font-size: 16px;
    }
}


/* RESPONSIVE */
@media(max-width: 700px) {
    .carousel {
        width: 95%;
    }

    .carousel-item {
        padding: 40px 20px;
    }

    .carousel-item h2 {
        font-size: 24px;
    }

    .carousel-btn {
        font-size: 30px;
    }
}


/* RESPONSIVE */
@media(max-width: 900px) {
    .hero-text h1 {
        font-size: 40px;
    }

    .shape {
        width: 150px;
    }

    .menu {
        gap: 20px;
    }
}

@media(max-width: 600px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        margin-top: 10px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .element-3d {
        right: -1%;
        scale: 60%;
        margin-top: 150px;
    }
    
    .amigos-title, 
    .mision-title,
    .contacto-title{
        font-size: 30px;
    }
    
    .amigos-section{
        margin-top: 550px;
    }
}

/* Carrusel */
.contenedor {
    margin-top: 20px;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    min-height: 70vh;
    overflow-x: hidden;
    font-family: 'Arial', sans-serif;
}

.card {
    width: 300px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    min-height: 210px;
    height: 40vh;
    overflow: hidden;
    /* Evita que la imagen se salga */
}

.card-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Ajusta al contenedor sin deformarse */
    border-radius: 10px;
}



.card-content {
    padding: 20px;
    min-height: 150px;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.card-content h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #333;
}

.card-content p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 20px 0;
    color: #666;
}

.card-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 5px;
    display: inline-block;
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
}

@keyframes dot-animation {
    from {
        background-color: #bbb;
        width: 10px;
    }

    to {
        background-color: #333;
        width: 30px;
    }
}

@keyframes dot-animation-reverse {
    from {
        background-color: #333;
        width: 30px;
    }

    to {
        background-color: #bbb;
        width: 10px;
    }
}

.active-dot {
    animation-name: dot-animation;
    animation-fill-mode: forwards;
}

.dot:not(.active-dot) {
    animation-name: dot-animation-reverse;
    animation-fill-mode: forwards;
}


.buttons {
    display: flex;
    gap: 20px;
}

.next-button {
    background-color: #272727;
    color: white;
    border: 1px solid #272727;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.next-button:hover {
    background-color: #939393;
    border: 1px solid #939393;

}

.previous-button {
    background-color: #fff;
    color: #272727;
    border: 1px solid #272727;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.previous-button:hover {
    color: white;
    border: 1px solid #939393;
    background-color: #939393;
}

.ocultar {
    display: none;
}

.principal {
    position: absolute;
    top: 0;
    left: calc(50% - 150px);
    z-index: 10;
    transition: 0.5s;
}

.siguiente {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: calc(50%);
    z-index: 8;
    transition: 0.5s;
    transform: scale(0.8) perspective(40px) rotateY(-0.5deg);
    filter: blur(3px);
}

.siguiente2 {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: calc(50% + 120px);
    z-index: 6;
    transition: 0.5s;
    transform: scale(0.6) perspective(40px) rotateY(-0.5deg);
    filter: blur(8px);
}

.anterior {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: calc(50% - 300px);
    z-index: 8;
    transition: 0.5s;
    transform: scale(0.8) perspective(40px) rotateY(0.5deg);
    filter: blur(3px);

}

.anterior2 {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: calc(50% - 420px);
    z-index: 6;
    transition: 0.5s;
    transform: scale(0.6) perspective(40px) rotateY(0.5deg);
    filter: blur(8px);
}

#div-transparent-previous {
    position: absolute;
    width: 250px;
    height: 100%;
    right: calc(50% + 150px);
    top: 0;
    z-index: 9;
    cursor: pointer;
}

#div-transparent-next {
    position: absolute;
    width: 250px;
    height: 100%;
    left: calc(50% + 150px);
    top: 0;
    z-index: 9;
    cursor: pointer;
}