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

:root {
    --e-global-color-primary: #cc0000;
    --e-global-color-secondary: #317DC3;
    --e-global-color-text: #212121;
    --e-global-color-accent: #cc0000;
    --e-global-color-6f7f93f: #000000;
    --e-global-color-58ae872: #212121;
    --e-global-color-46479ce: #434343;
    --e-global-color-2e3d726: #434343;
    --e-global-color-0d745d2: #999999;
    --e-global-color-524b382: #B7B7B7;
    --e-global-color-a74e69f: #CCCCCC;
    --e-global-color-118ba1c: #D9D9D9;
    --e-global-color-09f6d97: #EFEFEF;
    --e-global-color-7bcd423: #F3F3F3;
    --e-global-color-818b0ad: #FFFFFF;
    --e-global-typography-primary-font-family: "Titillium Web";
    --e-global-typography-secondary-font-family: "Titillium Web";
    --e-global-typography-text-font-family: "Roboto Condensed";
    --e-global-typography-accent-font-family: "Roboto Condensed";
    --gracie-red: var(--e-global-color-primary);
    --gracie-blue: #317DC3;
}

body {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 16px;
    font-weight: normal;
    color: var(--e-global-color-text);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    margin: 0;
    padding: 0
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: 900;
}

.back-arrow-button {
    display: inline-block;
    width: 30px;
    color: #fff;
    background: none;
    border: none;
    outline: none;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    touch-action: manipulation;
    -webkit-user-select: none; /* Add this line for Safari compatibility */
    user-select: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    pointer-events: auto;
    transition: transform 0.3s ease;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1000;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
}

.back-arrow-button:hover {
    transform: translateX(-5px);
}

.back-arrow-button .inline-svg {
    display: block;
    position: relative;
    padding-top: 80.95%;
}

.back-arrow-button svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
        filter: blur(10px);
    }
    to {
        transform: scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes letterSpacing {
    from {
        letter-spacing: -5px;
        opacity: 0;
    }
    to {
        letter-spacing: normal;
        opacity: 1;
    }
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%
}

.hero-section-2 {
    height: 50vh;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.hero-section-3 {
    height: 50vh;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    max-width: 100%
}


.video-wrapper.video-active {
    z-index: 3;
}

.video-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
    transition: opacity 0.3s ease;
}

.video-wrapper.sound-enabled::before {
    opacity: 0;
}

.video-wrapper video {
    width: 177.77777778vh;
    height: 100vh;
    min-width: 100vw;
    min-height: 56.25vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    object-fit: cover;
    z-index: 1;
}

/* Ensure video container has background image for letterboxing */
.video-wrapper.video-active {
    background-image: url('videos/index/FondoVideoMovil.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .video-wrapper.video-active {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #00234cdc; /* Dark blue background with opacity */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9999;
    }
    
    .video-wrapper.video-active video {
        object-fit: contain !important;
        width: 100% !important;
        height: 100% !important;
        min-width: unset;
        min-height: unset;
        position: relative;
        top: 0;
        left: 0;
        -webkit-transform: none;
        transform: none;
        z-index: 2; /* Ensure video is above the dark overlay */
    }
    
    /* Fix for Vimeo iframe on mobile */
    .video-wrapper.video-active iframe {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 16/9;
        min-height: unset;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        object-fit: contain;
        z-index: 2; /* Ensure iframe is above the dark overlay */
    }
    
    .hero-section,
    .hero-section-2,
    .hero-section-3 {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
    }
}

.video-wrapper iframe {
    width: 177.77777778vh;
    height: 100vh;
    min-width: 100vw;
    min-height: 56.25vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.5);
    object-fit: cover;
    border: none;
    pointer-events: none;
}

.video-wrapper-2 iframe {
    position: absolute;
    top: 7%;
    left: 50%;
    height: 50vh;
    width: 100vw;
    height: 56.25vw; /* maintain 16:9 aspect ratio */
    min-height: 100%;
    min-width: 177.77vh; /* 100 * 16/9 */
    transform: translate(-50%, -50%);
}

@media (max-width: 1024px) {
    .video-wrapper-2 iframe {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 70vh;
        min-width: auto;
        transform: none;
    }
}

@media (max-width: 768px) {
    .video-wrapper-2 iframe {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 50vh;
        min-width: auto;
        transform: none;
    }
}

.video-wrapper-3 iframe {
    position: absolute;
    top: 40%;
    left: 50%;
    height: 50vh;
    width: 100vw;
    height: 56.25vw; /* maintain 16:9 aspect ratio */
    min-height: 100%;
    min-width: 177.77vh; /* 100 * 16/9 */
    transform: translate(-50%, -50%);
}

.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    color: white;
    text-align: center;
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    max-width: 100vw;
}


.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-wrapper iframe {
    width: 177.77777778vh;
    height: 100vh;
    min-width: 100vw;
    min-height: 56.25vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    object-fit: cover;
    border: none;
    pointer-events: none;
}

.video-branding {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    z-index: 5;
    top: 20px;
    left: 20px;
    width: auto;
    height: auto;
    pointer-events: none;
}


/* Logo positioned on the left */
.video-logo {
    position: relative;
    height: 80px;
    width: auto;
    z-index: 6;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
    margin-right: 15px;
}

/* Text positioned next to the logo without background */
.video-brand-text-container {
    position: absolute;
    top: 10px;
    left: 60px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 1024px) {
    .video-brand-text-container {
        position: fixed;
        top: 5vh;
        left: 1px;
        z-index: 10;
    }
}

@media (max-width: 768px) {
    .video-brand-text-container {
        position: fixed;
        top: 7vh;
        left: 1px;
        z-index: 10;
    }
}

.video-brand-text-container-2 {
    position: absolute;
    top: 10px;
    left: 60px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 1024px) {
    .video-brand-text-container-2 {

        top: 4vh;
        left: 1px;
        z-index: 10;
    }
}

@media (max-width: 768px) {
    .video-brand-text-container-2 {
        bottom: 82vh;
        left: 1px;
        z-index: 10;
    }
}

.video-brand-text {
    position: relative;
    color: white;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    padding: 4px 15px;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
    line-height: 1.2;
}

.video-brand-location {
    position: relative;
    color: white;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    padding: 0 15px;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
}

.video-brand-text:hover {
    transform: translateY(-2px);
}

/* Fix for ultrawide screens (21:9 aspect ratio) */
@media (min-aspect-ratio: 21/9) {
    .video-wrapper iframe {
        width: 100vw;
        height: calc(100vw * (9/21));
        transform: translate(-50%, -50%) scale(1.5);
    }
}

.jiu-jitsu-title {
    font-size: 80px;
    margin-bottom: 5px;
    animation: letterSpacing 1.2s forwards;
    color: var(--e-global-color-primary);
}

.jiu-jitsu-title-2 {
    font-size: 4rem;
    font-weight: 900;
    margin-top: 00px;
    margin-bottom: 0x;
    letter-spacing: 2px;
    animation: letterSpacing 1.2s forwards;
    color: var(--e-global-color-primary);
}

/* Estilo para el título PARA TODOS */
.para-todos {
    font-size: 96px;
    margin-bottom: 15px;
    animation: fadeInUp 1s forwards 0.3s;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.para-todos-2 {
    font-size: 96px;
    margin-bottom: 0px;
    margin-top: 1px;
    animation: fadeInUp 1s forwards 0.3s;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 40px;
    margin-bottom: 30px;
    animation: fadeInUp 1s forwards 0.6s;
}

.subtitle-2 {
    font-size: 40px;
    margin-bottom: 0px;
    animation: fadeInUp 1s forwards 0.6s;
}


/* Media queries for responsive typography */
@media (max-width: 992px) {
    .jiu-jitsu-title {
        font-size: 60px;
    }
    
    .para-todos {
        font-size: 72px;
    }
    
    .subtitle {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .jiu-jitsu-title {
        font-size: 48px;
    }
    
    .para-todos {
        font-size: 56px;
    }
    
    .subtitle {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .jiu-jitsu-title {
        font-size: 36px;
    }
    
    .para-todos {
        font-size: 42px;
    }
    
    .subtitle {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

/* Media queries for responsive typography 2 */
@media (max-width: 992px) {
    .jiu-jitsu-title-2 {
        font-size: 60px;
    }
    
    .para-todos-2 {
        font-size: 72px;
    }
    
    .subtitle-2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .jiu-jitsu-title-2 {
        font-size: 48px;
    }
    
    .para-todos-2 {
        font-size: 56px;
    }
    
    .subtitle-2 {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .jiu-jitsu-title-2 {
        font-size: 3rem;
        font-weight: 900;
        margin-top: 60px;
        letter-spacing: 2px;
    }
    
    .para-todos-2 {
        font-size: 3rem;
        font-weight: 900;
        margin-top: -20px;
        letter-spacing: 2px;
    }
    
    .subtitle-2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, #2d8cff, #1a6ed4);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    animation: scaleIn 1s forwards 0.9s;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 5px 15px rgba(45, 140, 255, 0.3);
}

.cta-button:hover {
    background: linear-gradient(45deg, #1a6ed4, #2d8cff);
    transform: scale(1.05);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 0px;
}

/* Removing .section-title class that was applied to h2 elements */
/* .section-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    opacity: 0;
    animation: letterSpacing 1.2s forwards;
} */

.section-subtitle {
    font-size: 1.8rem;
    color: #FF0000;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
    font-weight: 600;
}

/* Programs Section */
.programas-section {
    background-color: var(--e-global-color-818b0ad);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Benefits Section */
.benefits-section {
    background-color: var(--e-global-color-09f6d97);
    color: var(--e-global-color-text);
}

.benefit-item {
    background: var(--e-global-color-818b0ad);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* What Makes Different Section */
.what-makes-different {
    background-color: var(--e-global-color-7bcd423);
}

/* Contact Section */
.contact-section {
    background-color: var(--e-global-color-818b0ad);
}

/* Programs Section */
.programas-section {
    padding: 80px 0;
    background-color: var(--gracie-white);
}

.programas-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.programa-card {
    perspective: 1500px;
    height: 450px;
    border-radius: 15px;
    overflow: visible;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.programa-card:hover {
    transform: translateY(-15px);
}

.programa-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 15px;
    overflow: hidden;
}

.programa-card:hover .programa-card-inner {
    transform: rotateY(180deg);
}

.programa-card-front, .programa-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
}

.programa-card-front {
    background-color: white;
    z-index: 2;
}

.programa-card-back {
    background: linear-gradient(135deg, var(--gracie-red), #990000);
    color: white;
    transform: rotateY(0deg) rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    z-index: 1;
}



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

.programa-card:hover .programa-image img {
    transform: scale(1.1);
}

.programa-card-content {
    padding: 20px;
    position: relative;
    height: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.programa-card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--gracie-red);
}


.programa-card:hover .programa-icon {
    transform: scale(1.2);
}

.programa-card-back h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.programa-card-back p {
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 1rem;
}

.programa-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: white;
    color: var(--gracie-red);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid white;
    margin-top: 10px;
}

.programa-btn:hover {
    background-color: transparent;
    color: white;
    transform: scale(1.05);

    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 3;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.programa-segment:hover .programa-overlay {
    opacity: 1;
}

.programa-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 800;
    letter-spacing: 1.5px;
}

.programa-overlay p {
    font-size: 1.4rem;
    line-height: 1.7;
    margin: 0 auto 25px;
    max-width: 90%;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    font-weight: 500;
}

.programa-segment:hover .programa-title {
    opacity: 0;
}

.programa-segment:hover .programa-overlay {
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.programa-segment img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.programa-segment:hover img {
    transform: scale(1.1);
}

.saber-mas {
    display: inline-block;
    padding: 15px 40px;
    background-color: #FF0000;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    position: relative;
    z-index: 4;
    opacity: 1;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.saber-mas:hover {
    background-color: #cc0000;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.5);
}

/* Instructores Section */
.instructores-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.instructores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.instructor-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.instructor-card:hover .instructor-details {
    opacity: 1;
    transform: rotateY(0);
    pointer-events: auto;
}

.instructor-card:hover .instructor-image img {
    transform: scale(1.1) rotateY(180deg);
    opacity: 0.3;
}

.instructor-details h4 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
}

.instructor-details p {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.achievements {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.achievements p {
    font-weight: bold;
    color: var(--e-global-color-secondary);
}



.instructor-image {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
}

.instructor-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instructor-card:hover .instructor-image img {
    transform: scale(1.1);
}

.instructor-info {
    padding: 20px;
    text-align: center;
}

.instructor-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.instructor-card:hover .instructor-details {
    opacity: 1;
    transform: rotateY(0);
    pointer-events: auto;
}

.instructor-card:hover .instructor-image img {
    transform: scale(1.1) rotateY(180deg);
    opacity: 0.3;
}

.instructor-details h4 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
}

.instructor-details p {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.achievements {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.achievements p {
    font-weight: bold;
    color: var(--e-global-color-secondary);
}
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    width: 30px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 15px;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
    100% { transform: translateX(-50%) scale(1); }
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 4px;
    height: 8px;
    background-color: #fff;
    border-radius: 2px;
    transform: translateX(-50%);
    opacity: 1;
    animation: scroll-wheel 2s infinite;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    bottom: 7px;
    left: 50%;
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translateX(-50%);
}

@keyframes scroll-wheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.5; }
    100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}
.chevron {
    width: 28px;
    height: 8px;
    opacity: 0;
    transform: scale(0.3);
    animation: scroll-chevron 3s ease-out infinite;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg);
}

.chevron:nth-child(1) {
    animation-delay: 0s;
}

.chevron:nth-child(2) {
    animation-delay: 0.1s;
}

.chevron:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes scroll-chevron {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}
