/* Reset CSS */
body, h1, p, a {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    color: #000;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #fff;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header .logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-left: 2%;
}

.header .navigation a {
    margin: 0 15px;
    text-decoration: none;
    color: #000;
    font-size: 14px;
}

.header .header-icons span {
    margin-left: 15px;
    font-size: 18px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 40px;
    width: 100%;
    max-width: 1200px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 200px;
}

.hero-text {
    max-width: 50%;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    
}

.normal-text {
    font-weight: normal; /* Menghapus efek bold */
}

.hero-text p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #555;
}

.hero-text .arrow-link {
    font-size: 40px;
    text-decoration: none;
    color: #000;
    transition: color 0.3s ease, transform 0.3s ease;
}

.hero-text .arrow-link:hover {
    color: #888;
    transform: translateX(5px); /* Memberikan efek pergerakan */
}

.hero-video {
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-video video {
    width: 100%;
    max-height: 720px;
    border-radius: 0px;;
    object-fit: cover; /* Memastikan video mengisi area dengan proporsi yang benar */
}

@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-video {
        flex: 0 0 40vh; /* Kurangi tinggi video */
    }
}
/* Garis di bagian kanan */
.dynamic-line {
    position: fixed;
    right: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: #333;
    animation: lineAnimation 3s ease-in-out infinite;
}

@keyframes lineAnimation {
    0% {
        height: 0%;
    }
    50% {
        height: 33%;
    }
    100% {
        height: 100%;
    }
}
/* Efek fade-in */
.scroll-fade-in {
    opacity: 0; /* Tidak terlihat di awal */
    transform: translateY(50px); /* Posisi awal di bawah */
    transition: opacity 1s ease, transform 1s ease; /* Transisi animasi */
}

.scroll-fade-in.visible {
    opacity: 1; /* Elemen terlihat */
    transform: translateY(0); /* Kembali ke posisi semula */
}


/* Efek wave pada teks */

.typing {
    font-size: 48px;
    font-weight: bold;
    color: #000;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #000;
    animation: typing 4s steps(30) 1s forwards, blink 0.75s step-end infinite;
}


@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}
h1 span {
    margin-top: 10px; /* Memberikan jarak seragam antar kata */
}
/* Modal Style */
.modal {
  display: none;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  width: 300px;
  text-align: center;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content h2 {
  margin-top: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.modal-content ul {
  list-style: none;
  padding: 0;
}

.modal-content li {
  margin: 10px 0;
}

.modal-content a {
  text-decoration: none;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #333;
  font-weight: bold;
  background-color: #f2f2f2;
  padding: 10px 20px;
  border-radius: 5px;
  display: inline-block;
  transition: 0.3s;
}

.modal-content a:hover {
  background-color: #ddd;
}

.close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

