* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    height: 100%;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    margin-top: 30px;
    flex-direction: column;

}

section {
    scroll-snap-align: start;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar ul li a {
    text-decoration: none;
    font-size: 16px;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
}

.navbar ul li a:hover {
    background-color: orange;
}

/* Display section */
.hero-section {
    background: url('aset/gym.jpg') no-repeat center center/cover;
    position: relative;
    color: #fff;
    opacity: 95%;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    background-color: #000;
}

.hero-content h3 {
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: #f4f4f4;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.hero-content .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: orange;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hero-content .btn:hover {
    background-color: #fff;
    color: orange;
    transform: scale(1.05);
}

/* Description Section */
.description-section {
    background-color: orange;
    color: black;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    text-align: justify;
}

.description-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.description-text {
    flex: 1;
    text-align: left;
    padding-right: 20px; /* Spacing between text and image */
    text-align: justify;
}

.description-image {
    flex: 1;
    text-align: right;
}

.description-image img {
    width: 100%;
    max-width: 500px; /* Set max-width to make sure the image isn't too large */
    height: auto;
    border-radius: 10px;
}

.description-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #000;
}

.description-content p {
    font-size: 18px;
    line-height: 1.6;
}

/* Benefit Section */
.benefit-section {
    background-color: #000;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.benefit-card {
    background-color: #333;
    border-radius: 10px;
    margin: 20px;
    width: 250px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: scale(1.05);
}

.benefit-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.benefit-card h3 {
    font-size: 24px;
    margin-top: 10px;
}

.benefit-card p {
    font-size: 16px;
    margin-top: 10px;
}

/* Footer */
.footer {
    background: white;
    color: black;
    padding: 60px;
    font-size: 20px;
    text-align: center;
}

/*DISPLAY BENEFIT*/

/*display */
 .display-section {
    background-color: #000;
    position: relative;
    color: #fff;
    opacity: 95%;
    
}

.display-overlay {
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.display-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    background-color: #000;
}


.display-content h1 {
    font-size: 48px;
    line-height: 1.3;
    margin-bottom: 20px;
    background-color: orange;
    padding: 15px;
}

.display-content h1 span {
    color: #f4f4f4;
}

.display-content img {
    size: 50%;
    width: 400px;
}
.display-content p {
    font-size: 18px;
    margin-bottom: 20px;
    padding: 2%;
}

.display-content .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: orange;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.display-content .btn:hover {
    background-color: #fff;
    color: orange;
    transform: scale(1.05);
}

/* Member Section */
.member-section {
    background-color: orange;
    padding: 50px;
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: stretch; /* Ensure cards stretch to equal height */
    flex-wrap: wrap;
    flex-direction: row;
}

.section-header {
    width: 100%;
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #333;
    padding: 10px;
    background-color: white;
    background-size: 20px;
    border-radius: 30px;
}

.member-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 15px;
    width: 300px;
    text-align: left;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column; /* Ensure items are stacked vertically */
}


.member-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.member-card img {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
}

.member-card h3 {
    font-size: 24px;
    margin: 15px 0;
    color: #333;
}

.member-card p {
    font-size: 18px;
    margin-bottom: 15px;
    color: #555;
}

.member-card ul {
    font-size: 16px;
    color: #555;
    padding-left: 20px;
    margin-top: 10px;
    list-style-type: none;
}

.member-card ul li {
    margin-bottom: 8px;
}

/*SIGN SECTION*/
.sign-section {
    background-color: #000;
    position: relative;
    color: #fff;
}

.sign-overlay {
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sign-content {
    position: relative;
    z-index: 2;
    text-align: center;
    background-color: #000;
    padding: 10px;
}


.sign-content h1 {
    font-size: 48px;
    line-height: 1.3;
    margin-bottom: 20px;
    background-color: orange;
    border-radius: 10px;
}

.sign-content h1 span {
    color: #f4f4f4;
}

.sign-content img {
    size: 50%;
    width: 400px;
}
.sign-content p {
    font-size: 18px;
    margin-bottom: 20px;
    padding: 2%;
}

.sign-content .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: orange;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.sign-content .btn:hover {
    background-color: #fff;
    color: orange;
    transform: scale(1.05);
}
/* Form Table */
.form-table table {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-collapse: collapse;
}

.form-table td {
    padding: 10px;
    vertical-align: middle;
    text-align: left;
    color: #fff;
}

.form-table label {
    font-size: 16px;
    font-weight: bold;
}

.form-table input,
.form-table select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-table input[type="date"] {
    color: #666;
}

.form-table .btn {
    display: block;
    margin: 20px auto 0;
    width: 100%;
    padding: 12px;
    background-color: orange;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-table .btn:hover {
    background-color: #fff;
    color: orange;
    transform: scale(1.05);
}





/*sign in*/
/* CSS untuk link "Sudah punya akun?" */
form a {
    color: white; /* Warna putih untuk teks */
    text-decoration: none; /* Menghilangkan garis bawah pada link */
    font-size: 14px; /* Ukuran font */
}

form a:hover {
    color: #ccc; /* Warna saat hover (abu-abu terang) */
    text-decoration: underline; /* Garis bawah saat hover */
}
/* Gaya untuk pop-up */
.popup2 {
    display: none;
    color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: orange;
    padding: 20px;
    width: 200px;
    height: 200px;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    text-align: center;
    z-index: 1000;
}
.popup2.active {
    display: block;
}
.popup2 p {
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0;
}
/* Overlay untuk pop-up */
.overlay2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}
.overlay2.active {
    display: block;
}

/* Background Styling */
.qr-body {
    background: linear-gradient(135deg, #1e3c72, #2a5298); /* Gradien biru */
    color: #fff; /* Warna teks */
    min-height: 100vh; /* Tinggi minimum 100% layar */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Styling untuk Konten */
.payment-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.1); /* Transparan putih */
    padding: 20px;
    border-radius: 10px; /* Membuat sudut melengkung */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Bayangan */
    backdrop-filter: blur(10px); /* Efek kaca buram */
}

/* Styling untuk QR Code */
.qr-code {
    width: 350px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid #fff; /* Border putih */
    border-radius: 5px;
}

/* Tombol Styling */
.btn-submit {
    background-color: #FFA500; /* Warna oranye */
    color: white; /* Warna teks */
    border: none;
    border-radius: 5px; /* Membuat sudut melengkung */
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer; /* Ubah kursor menjadi pointer */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Menambahkan bayangan */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background-color: #e69500; /* Warna lebih gelap saat di-hover */
    transform: scale(1.05); /* Efek zoom */
}

.btn-submit:active {
    background-color: #cc8400; /* Warna saat tombol ditekan */
    transform: scale(0.98); /* Efek klik */
}
  
  /* Pop-Up */
  .popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .popup-content table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
  }
  
  .popup-content table td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
  }
  
  .popup-content .close-popup {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
    color: #333;
  }
  
  .popup-content .close-popup:hover {
    color: white;
  }
  
  /* Footer */
  .footer {
    background-color: white;
    color: black;
    text-align: center;
    padding: 10px;
  }

  /*suksess*/
  .success-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black; 
    text-align: center;
    padding: 20px;
}

.success-content {
    background-color: #fff; 
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

.success-content h1 {
    font-size: 32px;
    color:orange; 
    margin-bottom: 20px;
}

.success-content p {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
}
.success-content .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #FFA500; 
    color: #fff; 
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #FFA500; 
    transition: all 0.3s ease;
    margin: 10px;
}
.success-content .btn:hover {
    background-color: #FFA500; 
    color: #fff; 
    border-color: #FFA500; 
    transform: scale(1.05); 
}
.success-content .btn-secondary {
    background-color: #FFA500; 
    color: #fff;
}
.success-content .btn-secondary:hover {
    background-color: #FFA500; 
    color: #fff; 
    border-color: #FFA500;
}



  