:root {
    --background-gradient: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgba(0, 21, 36, 0.979) 100%);
    --text-color-titles: #007cdc;
    --text-color: #ffffff;
    --border-color: #1e3a5f;
    --post-background: rgba(4, 27, 58, 0.5);
    --search-text: #a0a0a0;
    --icon-color: #ffffff;
    --background: #000000;
    --foreground: #ffffff;
    --primary: #3b82f6;
    --primary-foreground: #ffffff;
    --muted: #6b7280;
    --muted-foreground: #9ca3af;
    --border: #1f2937;
    --clr-bg: #222;
    --clr-primary: #f5f5f5;
    --clr-secondary: #075985;
    --clr-cta: rgb(175, 208, 84);
}

@font-face {
    font-family: 'Century Gothic';
    src: local('Century Gothic');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Century Gothic', system-ui, sans-serif;
}

body {
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(135deg, #041b3a 0%, #000000 100%);
    background-blend-mode: overlay;
}

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

.responsive-video {
    width: 100%;
    max-width: 600px;
    height: auto;
}

.hero-portfolio {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-image: url("PImageProject/project-5.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    opacity: 0;
    animation: fadeIn 2s 1s forwards;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% -50%, black 60%, transparent 100%);
    mask-image: radial-gradient(ellipse 100% 90% at 50% 8%, black 88%, transparent 100%);
}

.hero-portfolio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(2, 20, 34, 0.95) 70%, rgba(2, 20, 34, 1) 100%);
    z-index: 1;
}

/* Blueprint grid overlay */
.blueprint-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
}

.hero-content-portfolio {
    position: relative;
    max-width: 1200px;
    width: 100%;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 2rem;
}

/* Decorative elements */
.hero-decorative-line {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform-origin: left;
    animation: expandLine 1.5s ease-out forwards;
}

.hero-side-text {
    position: absolute;
    left: -3rem;
    top: 50%;
    transform: rotate(-90deg) translateX(-50%);
    transform-origin: left;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
}

/* Main content styles */
.hero-main-content {
    text-align: left;
    max-width: 800px;
}

.spaceport-portfolio {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.line-before,
.line-after {
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    flex: 1;
    transform: scaleX(0);
    animation: expandLine 1.5s ease-out forwards;
}

.main-title-portfolio {
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 3rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.8s ease-out forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line:nth-child(3) {
    animation-delay: 0.4s;
}

/* Stats section */
.hero-stats {
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-color);
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
}

.stat-separator {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

/* Scroll container styles */
.scroll-container {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mouse-icon {
    width: 25px;
    height: 42px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.mouse-wheel {
    width: 6px;
    height: 10px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

.arrow-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    opacity: 0.7;
    animation: arrow-move 1.5s infinite;
}

/* Animations */
@keyframes expandLine {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    50% {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes arrow-move {
    0% {
        opacity: 0;
        transform: translateY(-5px) rotate(45deg);
    }

    50% {
        opacity: 1;
        transform: translateY(0) rotate(45deg);
    }

    100% {
        opacity: 0;
        transform: translateY(5px) rotate(45deg);
    }
}

@media (max-width: 480px) {
    .main-title-portfolio {
        font-size: 2rem;
    }
}

/**************************************/
/* Estilos para el scrolling Parallax */
/**************************************/
.parallax-section {
    position: relative;
    overflow: hidden;
}

.hero-section {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.projects-section {
    position: relative;
    background-color: transparent;
    transform: translateY(100vh);
    transition: transform 0.5s ease-out;
}

/**************************************/
/* Estilos para el scrolling Parallax */
/**************************************/

/*******************************************/
/* Estilos para el responsive de la página */
/*******************************************/

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-position: center center;
    transition: all 0.5s ease;
    /* Transición suave para todo el contenedor */
}

/* Transición suave de zoom (cuando el mouse entra y sale) */
.content-wrapper {
    transform: scale(1);
    /* Estado normal */
    transition: transform 0.5s ease;
    /* Transición suave solo para el zoom */
}

/* Hover: aumentar el zoom */
.content-wrapper:hover {
    transform: scale(1.05);
    /* Aumento sutil de la escala */
}

.text-content {
    position: relative;
    z-index: 1;
}

.phase-label {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    animation: fadeIn 1.2s ease-in-out;
}

/* Media Queries Mejorados */
@media screen and (max-width: 1400px) {
    .hero-content-portfolio {
        width: 90%;
        max-width: 1100px;
    }
}

@media screen and (max-width: 1200px) {
    .hero-content-portfolio {
        width: 85%;
        padding: 0 2rem;
    }

    .hero-stats {
        gap: 3rem;
    }

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

    .content-wrapper {
        padding: 3rem;
        margin: 2rem 0;
    }

    .phase-label {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 992px) {
    .hero-content-portfolio {
        width: 90%;
        padding: 0 1.5rem;
    }

    .hero-stats {
        flex-direction: row;
        /* Mantener en fila hasta 768px */
        gap: 2.5rem;
        margin: 2rem 0;
    }

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

    .stat-label {
        font-size: 0.85rem;
    }

    .content-wrapper {
        padding: 2.5rem;
        margin: 1.5rem 0;
    }

    .phase-label {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 768px) {
    .hero-content-portfolio {
        width: 70%;
        padding: 0 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

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

    .spaceport-portfolio {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .content-wrapper {
        padding: 2rem;
        margin: 1rem 0;
    }

    .phase-label {
        font-size: 1.1rem;
    }

    .hero-decorative-line {
        width: 80px;
    }

    .scroll-container {
        bottom: 1.5rem;
    }

    .mouse-icon {
        width: 22px;
        height: 38px;
    }
}

@media screen and (max-width: 576px) {
    .hero-content-portfolio {
        padding: 0 1rem;
    }

    .spaceport-portfolio {
        font-size: 0.7rem;
        margin-bottom: 1.2rem;
    }

    .hero-decorative-line {
        width: 60px;
    }

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

    .content-wrapper {
        padding: 1.5rem;
        margin: 0.8rem 0;
    }

    .phase-label {
        font-size: 0.9rem;
    }

    .mouse-icon {
        width: 20px;
        height: 35px;
    }

    .arrow {
        width: 8px;
        height: 8px;
    }
}

@media screen and (max-width: 480px) {
    .main-title-portfolio {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .spaceport-portfolio {
        font-size: 0.6rem;
        margin-bottom: 1rem;
    }

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

    .stat-label {
        font-size: 0.7rem;
    }

    .content-wrapper {
        padding: 1rem;
        margin: 0.5rem 0;
    }

    .phase-label {
        font-size: 0.8rem;
    }

    /* Mantener elementos decorativos pero ajustados */
    .hero-decorative-line {
        width: 50px;
    }

    .scroll-container {
        transform: scale(0.9);
        bottom: 1rem;
    }
}

/* Ajustes adicionales para pantallas muy pequeñas */
@media screen and (max-width: 360px) {

    .scroll-container {
        left: 70%;
    }

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

/* Ajustes para la altura */
@media screen and (max-width: 700px) {
    .hero-content-portfolio {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }
}

/*******************************************/
/* Estilos para el responsive del banner   */
/*******************************************/

/***************************/
/* Estilos del contenido   */
/***************************/

/* Estilización del scrollbar - start */
::-webkit-scrollbar {
    width: 10px;
    /* Ancho del scrollbar */
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    /* Fondo del track */
    border-radius: 5px;
    /* Bordes redondeados */
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #6e57e0, #8f84ff);
    /* Color del thumb */
    border-radius: 5px;
    /* Bordes redondeados */
    border: 2px solid transparent;
    /* Borde del thumb */
    background-clip: content-box;
    /* Para que el borde no se superponga */
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #5a44c9, #7b71ff);
    /* Color del thumb al pasar el mouse */
}

/* Estilización del scrollbar - end */

.background-gradients {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.gradient-1 {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgba(0, 21, 36, 0.84) 100%);
}

.gradient-2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(59, 131, 246, 0.18) 0%, rgba(59, 130, 246, 0) 70%);
}

.gradient-3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(138, 92, 246, 0.12) 0%, rgba(139, 92, 246, 0) 70%);
}

#cursor-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

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

h1,
h2,
p {
    transition: color 0.3s ease-out;
}

h1:hover,
h2:hover {
    color: var(--muted);
}

p:hover {
    color: var(--text-color);
}

/* Loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgba(0, 21, 36, 0.84) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
}

.loading-image {
    position: relative;
    width: 111px;
    height: auto;
    z-index: 0;
    transform: none;
}

.loading::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 5px solid #fff;
    border-top: 5px solid #2D3748;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*******************************/
/* Estilos del contenido info  */
/*******************************/

/* Sección 1 - banner start */
.banner-container-about-us {
    padding: 3rem 1rem;
    text-align: center;
}

.main-heading-about-us {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.highlight-about-us {
    color: var(--text-color-titles);
}

.subtitle-about-us {
    color: var(--text-color);
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .main-heading-about-us {
        font-size: 3rem;
    }

    .subtitle-about-us {
        font-size: 1.125rem;
    }
}

/* Sección 1 - banner end */


/* Sección 2 start */
.savings-section-about-us {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.background-split-about-us {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
}

.background-left-about-us {
    width: 50%;
    background-image: url(PImageNosotros/Section-1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.background-left-about-us.other {
    width: 50%;
    background-image: url(PImageNosotros/Section-2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.background-right-about-us {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.content-about-us {
    text-align: center;
    padding: 2rem;
    max-width: 600px;
}

.heading-about-us {
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-align: center;
}

.benefits-list-about-us {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0 0 2rem 0;
    text-align: left;
}

.benefit-item-about-us {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    padding-left: 0.5rem;
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .savings-section-about-us {
        min-height: auto;
        padding: 3rem 0;
    }

    .background-split-about-us {
        position: relative;
        flex-direction: column;
        height: auto;
    }

    .background-left-about-us,
    .background-right-about-us {
        width: 100%;
        min-height: 300px;
    }

    .content-about-us {
        padding: 2rem;
        text-align: center;
    }

    .heading-about-us {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .benefits-list-about-us {
        max-width: 80%;
        margin: 0 auto 2rem auto;
    }

    .benefit-item-about-us {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
}

/* Sección 2 end */


/* Sección 3 start */
.security-section-about-us {
    position: relative;
    min-height: 100vh;
    display: flex;
    background-color: white;
}

.image-side-about-us {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background-image: url('https://hebbkx1anhila5yf.public.blob.vercel-storage.com/image-kgYJxOmGoe0waQ70HfzPUR1WJKDbh6.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.content-side-about-us {
    width: 50%;
    margin-left: 50%;
    padding: 4rem;
    display: flex;
    align-items: center;
}

.content-about-us {
    max-width: 600px;
    margin: 0 auto;
}

.heading-about-us {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.security-list-about-us {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.security-item-about-us {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    color: #1A2138;
    font-size: 1rem;
    line-height: 1.5;
}

.security-item-about-us::before {
    content: "•";
    color: #1A2138;
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.security-link-about-us {
    color: #1A2138;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .security-section-about-us {
        flex-direction: column;
    }

    .image-side-about-us {
        position: relative;
        width: 100%;
        height: 400px;
    }

    .content-side-about-us {
        width: 100%;
        margin-left: 0;
        padding: 2rem;
    }

    .heading-about-us {
        font-size: 2rem;
    }
}

/* Sección 3 end */

/********************************/
/* Estilos Avatares - Sección 4 */
/********************************/
@import url(https://fonts.bunny.net/css?family=roboto:300);

.profiles {
    --size: 200px;
    --img-clip: "M 0 -50 L 200 -50 L 200 150 C 100 150 0 250 0 150 Z";
    /* unfortunatly it isn't possible (as far as I know) to use custom properties in clip paths */
    --img-shadow: drop-shadow(5px 5px 2px rgba(0 0 0 / 0.5));
    --name-txt-clr: #EEE;
    --bg-clr: black;
    /* --bg-clr: steelblue; */
    /* only displayed if no background image defined */
    --bg-blur: 0;
    /* background image default blur */
    --bg-blur-hover: 20px;
    /* background image blur on hover */
    display: grid;
    grid-template-columns: repeat(var(--grid-cols, 1), var(--size));
    gap: 2rem;
    margin: 20vh auto;
    width: fit-content;
}

@media (min-width: 500px) {
    .profiles {
        --grid-cols: 2;
    }
}

@media (min-width: 860px) {
    .profiles {
        --grid-cols: 4;
    }
}

.avatar {
    position: relative;
    width: var(--size);
    height: var(--size);
    /* for older browsers */
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.avatar-img {
    clip-path: path(var(--img-clip));
}

.avatar-img::before {
    content: '';
    position: absolute;
    display: blocl;
    inset: 50% 0 0 0;
    z-index: -1;
    border-radius: 20px;
    background-color: var(--bg-clr);
    /* fallback if image not defined as custom property */
    background-image: var(--bg-img);
    background-size: cover;
    background-position: center;
    filter: blur(var(--bg-blur));
    transition: filter 300ms ease-in-out;
}

.avatar-img>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale 300ms, filter 300ms;
    transform-origin: bottom;
    scale: var(--img-scale, .9);
    filter: var(--img-shadow);
}

.avatar>p {
    font-size: .9rem;
    color: var(--name-txt-clr);
    position: absolute;
    bottom: .5rem;
    right: 0;
    translate: 0 var(--name-y, -50px);
    opacity: var(--name-opacity, 0);
    z-index: -1;
    transition-name: translate, opacity;
    transition-delay: 150ms;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.47, 1.64, 0.41, 0.8), ease-in-out;
}

/* all hover effects as custom properties */
.avatar:hover {
    --img-scale: 1.1;
    --img-shadow: drop-shadow(10px 15px 4px rgba(0 0 0 / 0.5));
    --name-y: 0;
    --name-opacity: 1;
    --bg-blur: var(--bg-blur-hover);
    transform: translateY(-5px);
}

h1 {
    font-size: clamp(1rem, 2.5vw + 0.25rem, 1.2rem);
    font-weight: 500;
    line-height: 1.6;
}

code,
pre {
    display: inline-block;
    color: #38bdf8;
    border: 1px solid hsl(from var(--clr-primary) h s 50% / 0.5);
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

pre {
    white-space: pre-wrap;
}

em {
    font-size: 0.8rem;
}

.note {
    font-size: 0.8rem;
    font-style: italic;
}

/********************************/
/* Estilos Avatares - Sección 4 */
/********************************/


/* Sección 5 start */
.steps-section-about-us {
    padding: 6rem 1.5rem;
}

.container-about-us {
    max-width: 1200px;
    margin: 0 auto;
}

.header-about-us {
    text-align: center;
    margin-bottom: 4rem;
}

.title-about-us {
    color: #1A2138;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.subtitle-about-us {
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
}

.steps-grid-about-us {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card-about-us {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.step-image-about-us {
    background-color: #1A2138;
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-image-about-us img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-content-about-us {
    padding: 1.5rem;
}

.step-title-about-us {
    color: #1A2138;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.step-number-about-us {
    font-weight: 600;
}

@media (min-width: 768px) {
    .title-about-us {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .steps-section-about-us {
        padding: 4rem 1rem;
    }

    .steps-grid-about-us {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Sección 5 end */


/* Sección 6 start */
.cards-section-about-us {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.container-aa-about-us {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    /* Cambiado de center a flex-end */
    justify-content: flex-start;
    /* Añadido para alinear a la izquierda */
    padding-bottom: 5%;
    /* Añadido para dar espacio en la parte inferior */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.fullscreen-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.floating-content {
    position: relative;
    z-index: 3;
    max-width: 400px;
    /* Reducido de 500px */
    margin-left: 5%;
    /* Reducido de 10% */
    margin-bottom: 5%;
    /* Añadido para moverlo hacia abajo */
    padding: 1.5rem;
    /* Reducido de 2rem */
    background: rgba(0, 0, 0, 0.4);
    /* Más transparente */
    backdrop-filter: blur(8px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    align-self: flex-end;
    /* Añadido para alinear hacia abajo */
}

.content-about-us {
    color: white;
}

.subtitle-about-us {
    font-size: 0.9rem;
    /* Reducido de 1.1rem */
    margin-bottom: 0.75rem;
    /* Reducido de 1rem */
    color: var(--text-color);
}

.title-about-us {
    font-size: 2rem;
    /* Reducido de 2.5rem */
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    /* Reducido de 1rem */
    color: white;
}

.description-about-us {
    font-size: 0.9rem;
    /* Reducido de 1.1rem */
    line-height: 1.4;
    margin-bottom: 1.5rem;
    /* Reducido de 2rem */
    color: rgba(255, 255, 255, 0.9);
}

.cta-button-about-us {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--text-color-titles);
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    /* Reducido de 1rem 2rem */
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    /* Añadido para hacer el botón más pequeño */
}

.cta-button-about-us:hover {
    transform: translateY(-2px);
    background-color: var(--text-color-titles);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .floating-content {
        width: 70%;
        margin: 0;
        padding: 1.25rem;
    }

    .content-about-us>.title-about-us {
        font-size: 1.5rem;
    }

    .title-about-us {
        font-size: 1.75rem;
    }

    .description-about-us {
        font-size: 0.85rem;
    }

    .fullscreen-video {
        padding: 4rem 1rem;
    }
}

/* Sección 6 end */


/* Sección 7 start */
.philosophy-section-about-us {
    padding: 6rem 1.5rem;
    min-height: 100vh;
}

.container-pp-about-us {
    max-width: 1200px;
    margin: 0 auto;
}

.title-about-us {
    color: var(--text-color);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
}

.philosophy-grid-about-us {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.philosophy-card-about-us {
    position: relative;
    padding: 2.5rem;
    border-radius: 1rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-number-about-us {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2rem;
    height: 2rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

.card-title-about-us {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.card-description-about-us {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Estilos específicos para cada tarjeta */
.card-1-about-us {
    background-color: #1A2138;
    color: var(--text-color);
}

.card-2-about-us {
    background-color: white;
    color: #1A2138;
}

.card-3-about-us {
    background-color: var(--text-color-titles);
    color: #1A2138;
}

.card-4-about-us {
    background-color: #FF8176;
    color: #1A2138;
}

@media (max-width: 768px) {
    .philosophy-grid-about-us {
        grid-template-columns: 1fr;
    }

    .title-about-us {
        font-size: 2.5rem;
    }

    .philosophy-section-about-us {
        padding: 4rem 1rem;
    }

    .philosophy-card-about-us {
        min-height: 180px;
    }
}

/* Sección 7 end */

/* Animaciones globales para todos los elementos principales */

/* Títulos */

.main-heading-about-us,
h1.heading-about-us,
.title-about-us {
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(0, 124, 220, 0.5),
                 0 0 20px rgba(0, 124, 220, 0.3),
                 0 0 30px rgba(0, 124, 220, 0.1);
}

/* Títulos */

.banner-container-about-us,
.savings-section-about-us,
.security-section-about-us,
.profiles,
.steps-section-about-us,
.cards-section-about-us,
.philosophy-section-about-us {
    opacity: 0;
    animation: fadeIn 2s 1s forwards;
}

/* Efectos hover para títulos */
.main-heading-about-us,
.heading-about-us,
.title-about-us {
    transition: transform 0.3s ease, color 0.3s ease;
}

.main-heading-about-us:hover,
.heading-about-us:hover,
.title-about-us:hover {
    transform: scale(1.02);
    color: var(--text-color-titles);
}

/* Efectos para subtítulos */
.subtitle-about-us {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.subtitle-about-us:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

/* Efectos para las tarjetas de filosofía */
.philosophy-card-about-us {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.philosophy-card-about-us:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Efectos para las imágenes */
.background-left-about-us,
.image-side-about-us {
    transition: filter 0.3s ease, transform 0.3s ease;
}

.background-left-about-us:hover,
.image-side-about-us:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* Efectos para los elementos de la lista */
.benefits-list-about-us li,
.security-list-about-us li {
    transition: transform 0.3s ease, padding-left 0.3s ease;
}

.benefits-list-about-us li:hover,
.security-list-about-us li:hover {
    transform: translateX(10px);
    padding-left: 1rem;
    color: var(--text-color-titles);
}

/* Efectos para las tarjetas de pasos */
.step-card-about-us {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card-about-us:hover {
    transform: translateY(-5px) rotateZ(1deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Efectos para los números de las tarjetas */
.card-number-about-us {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.philosophy-card-about-us:hover .card-number-about-us {
    transform: rotate(360deg);
    opacity: 1;
}

/* Efectos para los botones del carrusel */
.carousel-button {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-button:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.3);
}

/* Efectos para los avatares */
.avatar:hover .avatar-img {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Efectos para el contenido flotante */
.floating-content {
    transition: transform 0.3s ease, backdrop-filter 0.3s ease;
}

.floating-content:hover {
    transform: translateY(-5px);
    backdrop-filter: blur(12px);
}

/* Efectos para el video de fondo */
.fullscreen-video {
    transition: filter 0.3s ease;
}

.fullscreen-video:hover {
    filter: brightness(1.2) contrast(1.1);
}

/* Animación de gradiente para fondos */
.gradient-2,
.gradient-3 {
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 20px);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* Efecto para el scrollbar */
::-webkit-scrollbar-thumb {
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #4a3bc9, #6258ff);
}

/* Efectos para los modales */
.modal-content {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-content:hover {
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

/* Remover efectos neón anteriores */
.main-heading-about-us:hover,
.heading-about-us:hover,
.title-about-us:hover,
.benefits-list-about-us li:hover,
.security-list-about-us li:hover,
h1:hover,
h2:hover,
.subtitle-about-us:hover,
.philosophy-card-about-us:hover .card-title-about-us,
.step-card-about-us:hover .step-title-about-us {
    text-shadow: none;
    color: inherit;
}

/* Efectos de aparición en scroll */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Efectos sutiles para títulos */
.main-heading-about-us,
.heading-about-us,
.title-about-us {
    transition: transform 0.3s ease;
}

.main-heading-about-us:hover,
.heading-about-us:hover,
.title-about-us:hover {
    transform: translateY(-3px);
}

/* Efectos refinados para cards */
.philosophy-card-about-us {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.philosophy-card-about-us:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

/* Efecto suave para imágenes */
.background-left-about-us,
.image-side-about-us {
    transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.background-left-about-us:hover,
.image-side-about-us:hover {
    transform: scale(1.02);
}

/* Efectos para elementos de lista */
.benefits-list-about-us li,
.security-list-about-us li {
    transition: transform 0.3s ease, padding-left 0.3s ease;
    position: relative;
}

.benefits-list-about-us li:hover,
.security-list-about-us li:hover {
    transform: translateX(8px);
    padding-left: 0.5rem;
}

.benefits-list-about-us li::before,
.security-list-about-us li::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 0;
    height: 2px;
    background-color: var(--text-color-titles);
    transition: width 0.3s ease;
}

.benefits-list-about-us li:hover::before,
.security-list-about-us li:hover::before {
    width: 15px;
}

/* Efecto de revelación para secciones */
.section-reveal {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.section-reveal.reveal {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* Efecto para buttons */
.cta-button-about-us {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-button-about-us:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button-about-us:hover:before {
    width: 300px;
    height: 300px;
}

/* Efecto para floating-content */
.floating-content {
    transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1),
        box-shadow 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.floating-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Animación suave para avatares */
.avatar {
    transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.avatar:hover {
    transform: translateY(-8px) scale(1.02);
}

/* ScrollTrigger para elementos */
[data-scroll] {
    opacity: 0;
    transition: all 1s;
}

[data-scroll="in"] {
    opacity: 1;
    transform: translateY(0);
}

[data-scroll="out"] {
    opacity: 0;
    transform: translateY(100px);
}

/*************************************************/
/* Estilos para la sección de equipo  y su modal */
/*************************************************/

.modal-content {
    background: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgba(0, 21, 36, 0.979) 100%);
    position: fixed;
    /* Cambiar de margin a position:fixed */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centrado perfecto */
    max-width: 800px;
    max-height: 400px;
    width: 90%;
    /* Responsive */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 1001;
    /* Asegurar que está por encima del overlay */
}

.modal {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex; /* Ya no es 'none' para evitar problemas */
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}


.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: 10px 15px;
    cursor: pointer;
}

.close-modal:hover {
    color: #ffffff;
}

.modal-body {
    display: flex;
    height: 400px;
}

/* Estilos adaptados para el perfil */
.modal-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    object-fit: cover;
    filter: hue-rotate(-10deg) saturate(1.5) contrast(1.1);
}

.modal-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: multiply;
}

.modal-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.profile-bio {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    max-width: 90%;
}

.profile-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.tag {
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.designer-tag {
    background-color: #ff5a5f;
    color: white;
}

.follow-tag {
    background-color: #00b8d9;
    color: white;
    border: none;
    cursor: pointer;
}

.profile-links {
    display: flex;
    gap: 15px;
}

.profile-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
}

.pink {
    background-color: #ff9eb0;
}

.yellow {
    background-color: #ffa726;
}

.blue {
    background-color: #4dabf7;
}

/* Responsive design */
@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
        height: auto;
    }

    .modal-image {
        height: 300px;
    }

    .modal-info {
        padding: 20px;
    }
}

.ver-mas-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: gray;
    padding: 5px 10px;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 25px;
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.ver-mas-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, z transparent,
            rgba(59, 130, 246, 0.1),
            transparent);
    transition: left 0.7s ease;
}

.ver-mas-btn:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.1);
}

.ver-mas-btn:hover::before {
    left: 100%;
}

.ver-mas-btn:active {
    transform: translateY(0);
}


/************************************************/
/* Estilos para la sección de equipo y su modal */
/************************************************/

/* Estilos base para elementos que aparecerán con scroll */
.fade-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

/* Clase que se aplicará cuando el elemento sea visible */
.fade-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Variaciones de animaciones */
.fade-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-down {
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Clase activa para todas las variaciones */
.fade-left.is-visible,
.fade-right.is-visible,
.fade-up.is-visible,
.fade-down.is-visible,
.fade-scale.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Delays personalizados */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }