@font-face {
    font-family: 'larken'; /* Name you'll use to reference the font */
    src: url('/fonts/LarkenDEMO-Regular.otf') format('opentype');
}

* {
    margin: 0;
    padding: 0;
}

.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    top: -60px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    padding: 2rem;
    display: flex;
    align-items: center;
}

.slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.slide.active {
    opacity: 1;
}

.content {
    max-width: 800px;
    color: white;
    position: relative;
}

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    z-index: 10;
    
}

.logo img {
    width: 100%;
}

nav {
    position: absolute;
    top: 40px;
    right: 20px;
    display: flex;
    gap: 35px;
    z-index: 10;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}


.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 30px;
    right: 20px;
    z-index: 100;
  }
  
  .menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
  }
  
  @media (max-width: 768px) {
    .menu-toggle {
      display: flex;
    }
  
    nav {
      position: fixed;
      top: 0;
      right: -100%;
      height: 100vh;
      width: 250px;
      background: rgba(0, 0, 0, 0.9);
      flex-direction: column;
      padding: 80px 20px;
      transition: right 0.3s ease;
    }
  
    nav.active {
      right: 0;
    }
  
    nav a {
      padding: 15px 0;
      font-size: 18px;
    }
  
    .menu-toggle.active span:nth-child(1) {
      transform: rotate(45deg) translate(8px, 6px);
    }
  
    .menu-toggle.active span:nth-child(2) {
      opacity: 0;
    }
  
    .menu-toggle.active span:nth-child(3) {
      transform: rotate(-45deg) translate(8px, -6px);
    }
} 

.slide h1 {
    font-size: 84px;
    margin-bottom: 1rem;
    font-family: 'larken', fallback-font;
    line-height: 84px;
    margin-top: 200px;
}

h1 span {
    color: #48d1ff;
}

.slide p {
    font-size: 18px;
    margin-bottom: 2rem;
    line-height: 26px;
    max-width: 600px;
}

.btn {
    display: inline-block;
    padding: 20px 25px;
    background: white;
    color: #0B50C1;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-weight: 400;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 30px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.slider-dot.active {
    background: #48d1ff;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    p {
        font-size: 1rem;
    }
    .slide h1 {
        font-size: 2.5rem !important;
        line-height: 48px;
    }
    .slide p {
        width: 100%;
    }
    .content {
        width: 100% !important;
    }
    .slider {
        top: -79px;
    }
}