.rise {
    opacity: 0;
    animation: riseIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  
  .rise-1 { animation-delay: 0.1s; }
  .rise-2 { animation-delay: 0.25s; }
  .rise-3 { animation-delay: 0.4s; }
  
  @keyframes riseIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes arrowClick {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(6px) scale(0.95); }
    100% { transform: translateY(0) scale(1); }
  }
  
  .scroll-arrow.animate {
    animation: arrowClick 0.35s ease-out;
  }
  

.prev, .next {
    padding: 0;
}

  .arrow {
    width: 2vw;
  }
  .appliedRise {
    opacity: 1;
    transform: translateY(0);
    animation: riseAway 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  @keyframes riseAway {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 0;
      transform: translateY(-120px);
    }
  }
  
  





.gradient-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #4C3ABF 10%, #17304D 90%);
    z-index: -3;
}
body {
    background: #17304D;
    margin: 0;
    padding: 0vh;
    scroll-behavior: smooth;
    height: 100%;
}

html {
    margin: 0;
    padding: 0vh;
    scroll-behavior: smooth;
    height: 100%;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotDreamer';
    src: url('fonts/Robot Dreamer.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


.heading-2 {
    font-family: Montserrat;
    color: white;
    pointer-events: auto;
    font-weight: bold;
    font-size: 5vh;
    margin: 6px;
    text-align: center;
}

.heading {
    color: white;
    pointer-events: auto;
    font-family: robotDreamer;
    font-weight: bold;
    font-size: 7vh;
    margin: 6px;
    text-align: center;
}

.hero-percy {
    width: 40vh;
    height: auto;
    object-fit: contain;
    margin-bottom: 0.8vh;
    pointer-events: none;
}

.layout {
    width: 100%;
    height: 100vh;
    pointer-events: none;
    align-items: center;
    display: flex;
    align-self: center;
    flex-direction: column;
    justify-content: center;
    top: 0vh;
    z-index: 4;
}
.original-buttons {
    font-family: Montserrat;
    width: 15vh;
    height: 4vh;
    border-radius: 6px;
    background-color: #9BADFF;
    border: none;
    color: white;
    font-weight: bold;
    pointer-events: auto;
    cursor: pointer;
}

.button-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 2vh;
    gap: 5em;
}

.percy-login {
    width: 12vh;
    height: auto;
    object-fit: contain;
    pointer-events: none;
}

.lines {
    z-index: -1;
    position: absolute;
    top: 0;
    object-fit: cover;
    left: 0;
    width: 100%;
    height: 100vh;
}

.section-1 .layout {
    transition: transform 3s ease, opacity 3s ease;
}
  
.section-1 .layout {
    opacity: 1;
}

.section-2 .layout {
    transition: transform 3s ease, opacity 3s ease;
}
  
.section-2 .layout {
    transform: translateY(-50px);
    opacity: 1;
}





.gradient-bg-2 {
    position: absolute;
    z-index: -2;
    background: linear-gradient(180deg, #17304D, #185CAD);
    width: 100%;
    height: 100vh;
}


.section-2 {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: center;
    padding: 0vh;
    margin: 0;
    position: relative;
}

.footer-space {
    width: 100%;
    box-sizing: border-box;
    min-height: 20vh;
    background: #17304D;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.8rem;
    padding: 2vh 3vw;
}

.footer-main {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.footer-logo {
    height: 10vh;
    width: auto;
    object-fit: contain;
}

.footer-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: flex-end;
    text-align: right;
    max-width: 42vw;
}

.footer-title {
    font-family: robotDreamer;
    color: white;
    font-size: 3vh;
    letter-spacing: 0.02em;
}

.footer-link,
.footer-text {
    margin: 0;
    font-family: Montserrat;
    color: white;
    font-size: 1.8vh;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-rights {
    font-weight: 700;
}

.footer-link:hover {
    text-decoration: underline;
}

.vertical-layout {
    width: 48%;
    padding-left: 1.5vh;
}

.section-title {
    font-family: robotDreamer;
    color: white;
    font-size: 5vh;
}

.info {
    font-family: Montserrat;
    width: 95%;
    color: white;
    font-size: 2vh;
    font-weight: bold;
}

.horizontal-full-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.image-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    margin-top: 2em;
}
  
.carousel-image {
    width: 80vh;
    height: 60vh;
    object-fit: cover;
    border-radius: 10px;
    transition: opacity 0.5s ease;
}
  
.image-carousel button {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
}

@media (max-width: 1400px)  {
    .heading {
        font-size: 7vh;
    }

    .heading-2 {
        font-size: 5vh;
    }
}


@media (max-width: 1300px)  { 
    .heading {
        font-size: 6vh;
    }

    .heading-2 {
        font-size: 4vh;
    }
}

@media (max-width: 1200px)  { 
    .heading {
        font-size: 5vh;
    }

    .heading-2 {
        font-size: 3vh;
    }
}


@media (max-width: 1000px)  { 
    .heading {
        font-size: 4vh;
    }

    .heading-2 {
        font-size: 2vh;
    }

    .footer-space {
        justify-content: flex-start;
        gap: 1rem;
    }

    .footer-main {
        flex-wrap: wrap;
    }

    .footer-info {
        max-width: 100%;
        align-items: flex-start;
        text-align: left;
    }
}
