/* Larger screens (desktops) */
@media (min-width: 900px) {
  .form_container {
    padding: 30px;
    max-width: 100%; /* Set a max width for large screens */
    margin: 0 auto;
  }
}

/* Import Google font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}
a {
  text-decoration: none;
}
.header {  
  position: fixed;
  height: 80px;
  width: 100%;
  z-index: 100;
  padding: 0 30px;  
  transition: top 0.03s ease; /* Transisi halus ketika menyembunyikan header */
}

.header.hidden {
    top: -100px; /* Sembunyikan header di luar layar */
}

/* Scroll Back to Top*/
.scrollToTop{ background-color: rgba(77, 250, 2, 0.5); width:60px; height:60px; text-align:center;  position:fixed; bottom:20px; right:20px; display:none; z-index: 99; border-radius:100%; -webkit-border-radius:100%; -moz-border-radius:100%;}
.scrollToTop:hover{ text-decoration:none; opacity:0.8;}
.scrollToTop .scrollarrow {width: 0; height: 0; border-style: solid; border-width: 0 10px 15px 10px; border-color: transparent transparent #303030; display: block; margin:20px auto 0;}


.nav {
    	max-width: 1100px; /* Maksimal lebar navbar */	
    	width: 100%; /* Lebar penuh */
    	margin: 0 auto; /* Pusatkan navbar */   
    	padding: 10px 20px; /* Padding untuk navbar */
    	position: flex; /* Tetap di atas saat scroll */
    	top: 0; /* Di atas halaman */
    	z-index: 1000; /* Agar navbar berada di atas elemen lain */
    	display: flex; /* Flexbox untuk susunan */
    	justify-content: space-between; /* Ruang antara elemen */
    	align-items: center; /* Pusatkan secara vertikal */
}

.nav_logo {
            font-size: 25px; 
            color: #fff; 
            transition: opacity 0.3s ease; /* Tambahkan efek transisi */
          }

.hidden {
            opacity: 0; 
            pointer-events: none; 
        }

.nav_item {
	
    	display: flex; /* Gunakan flexbox untuk menu */
    	justify-content: space-between;
    	column-gap: 25px; /* Jarak antar item */

          }

.nav_link {
	background: rgba(255, 255, 255, 0.1);
    	color: #000000;
	padding: 7px 10px; /* Adds padding around the link */
    	text-decoration: none; /* Hilangkan garis bawah */
    	border-radius: 7px;
	
	backdrop-filter: blur(2px) saturate(150%);
   	 -webkit-backdrop-filter: blur(2px) saturate(150%);
	transition: background 0.3s ease, color 0.3s ease; /* Smooth transition for hover */
          }

.nav_link:hover {
	background: rgba(255, 255, 255, 0.45); /* Increases background opacity on hover */
   	 color: #FFFBFB; /* Changes text color on hover */
    	backdrop-filter: blur(4px) saturate(180%);
    	-webkit-backdrop-filter: blur(4px) saturate(180%);
    	transition: background 0.3s ease, color 0.3s ease; /* Smooth transition for background and color */
                }

.nav_link.disabled {
    	pointer-events: none; /* Mencegah klik pada tautan */
    	cursor: not-allowed; /* Mengubah kursor menjadi simbol larangan */
    	color: #ced4da; /* Mengubah warna teks menjadi abu-abu */
    	
		   }


/* Hamburger Menu untuk layar kecil */
.hamburger {
    display: none; /* Sembunyikan hamburger di layar besar */
    font-size: 25px; /* Ukuran font untuk hamburger */
    color: #fff; /* Warna hamburger */
}


.button {
  padding: 6px 24px;
  border: 2px solid #fff;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;

}
.button:active {
  transform: scale(0.98);

}
.button:hover {
  transform: scale(0.98);
color: #1dfc00;
}

/* BEGIN LOGIN SECTION*/
.home {
  position: relative;
  display: flex;  
  height: 100vh;
  width: 100%;
  background-image: url("images/bg.jpeg");
  background-size: cover;
  background-position: center;
  overflow: hidden; /* Prevent scrolling */

}
.home::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(192, 192, 192, 0.6);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease-out;
}
.home.show::before {
  opacity: 0.2;
  pointer-events: auto;
}
/* Form */
.form_container {
  display: none;  /* Initially hidden */
  position: fixed;
  max-width: 320px;
  width: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.2);
  z-index: 101;
  background: rgba(255, 255, 255, 0.05); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Blur for frosted glass effect */
  -webkit-backdrop-filter: blur(1px); /* Support for Safari */
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3); /* Light border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 2); /* Subtle shadow */
  padding: 25px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease-out;
}
.home.show .form_container {
  display: block; /* Visible when .home has .show class */
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.signup_form {
  display: none;
}
.form_container.active .signup_form {
  display: block;
}
.form_container.active .login_form {
  display: block;
}

.form_close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #000;
  font-size: 25px;
  opacity: 1;
  cursor: pointer;
  z-index: 9999; /* Ensure it's above other elements */
}
.form_container h2 {
  font-size: 25px;
  color: #0b0217;
  text-align: center;
}
.r-edit-field {
  position: relative;
  margin-top: 30px;
  width: 100%;
  height: 40px;
}
.r-edit-field input {
  height: 100%;
  width: 100%;
  outline: none; /* Remove default outline */
  padding: 0 30px;
  background-color: rgba(255, 255, 255, 0.5); /* Transparent background for input */
  color: #333;
  transition: all 0.2s ease;
  border-radius: 5px; /* Optional: Add slight rounding to edges */
  backdrop-filter: blur(5px); /* Slight blur inside the input fields */
  border: none; /* Remove border */
}
.r-edit-field input:focus {
  border-color: transparent; /* Ensure no border appears on focus */
}
.r-edit-field i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #707070;
}
.r-edit-field i.email,
.r-edit-field i.password {
  left: 5px;
}
.r-edit-field input:focus ~ i.email,
.r-edit-field input:focus ~ i.password {
  color: #2a6de87d;
}
.r-edit-field i.pw_hide {
  right: 0;
  font-size: 18px;
  cursor: pointer;
}
.option_field {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.form_container a {
  color: #fff;
  font-size: 12px;
}
.form_container a:hover {
  text-decoration: underline;
}
.checkbox {
  display: flex;
  column-gap: 8px;
  white-space: nowrap;
}
.checkbox input {
  accent-color: #2a88e8;
}
.checkbox label {
  font-size: 12px;
  cursor: pointer;
  user-select: none;
  color: #fff;
}
.form_container .button {
  background: #2a88e8;
  margin-top: 30px;
  width: 100%;
  padding: 10px 0;
  border-radius: 10px;
}
.login_signup {
  font-size: 12px;
  text-align: center;
  margin-top: 15px;
}
/* END LOGIN SECTION*/

/* BEGIN FOOTER SECTION*/
.footer {
  
  color: #000000; /* White text */
  text-align: center;
  position: fixed; /* Fixed to the bottom of the viewport */
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100; /* Ensures it appears above other content */
 font-size: 12px; /* Adjust font size */
}

.email-link {
    color: inherit; /* Matches the surrounding text color */
    text-decoration: none; /* Removes underline */
}
/* END FOOTER SECTION*/

/* BEGIN MAP Section */

.map-container {
	    
            position: relative;
            
  		height: 70vh;
  		width: 100%;
	    margin: 1px;
            padding: 0;
	    font-family: Arial, sans-serif;
        }
        .map {
            width: 100%;
            height: 100%;
        }


        
/* END MAP Section */

/* BEGIN Video Background SECTION*/
        .video-background {
            position: fixed;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            z-index: -1; /* Places the video behind content */
            transform: translate(-50%, -50%); /* Center the video */
        }

        /* Overlay Text */
        .overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            text-align: center;
            font-family: Arial, sans-serif;
            font-size: 2rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Adds a shadow for better readability */
        }

/* END VIDEO Section */

/* BEGIN CAROUSEL Section */

.carousel {
            width: 100%; /* Width of the carousel */
            max-width: 600px; /* Maximum width */            
            height: 10px; /* Height of the carousel */
            overflow: hidden; /* Hide overflow text */
            
        }

        .carousel-text {
            position: absolute; /* Allows for sliding effect */
	    bottom: 30%; /* Text starts at the bottom */
            width: 47%; /* Full width */
            text-align: center; /* Center the text */
            transform: translateY(100%); /* Start off-screen at the bottom */
            transition: transform 0s ease-in-out; /* Transition for sliding */          
	    font-size: 2rem; /* Font size */
	    color: #05e340;
        }

        .visible {
            transform: translateY(0); /* Move into view */
        }

        .hidden {
            transform: translateY(4000%); /* Slide out of view */
        }

.hero-carousel {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    transition: background-image 1s ease-in-out;
}

.hero-content h1 {
    font-size: 4rem;
    color: white;
    z-index: 2;
}

.hero-content p {
    font-size: 1.5rem;
    color: white;
    z-index: 2;
}
 /* END CAROUSEL Section */

                
  /* BEGIN Welcome Section */

.welcome-section {
    padding: 50px 20px; /* Add padding for spacing */
    background-color: rgba(192, 192, 192, 0.5); /* Black background with 50% transparency */
    margin: 1px;
    border-radius: 5px; /* Optional: Add slight rounding to edges */
    text-align: center; /* Center text */
    opacity: 0; /* Start invisible for fade-in effect */
    animation: fadeIn 1s forwards; /* Fade-in animation */
   

}

.card:hover {
    background-color: rgba(192, 192, 192, 0.7); /* Darker background on hover */
    transform: scale(1.05) skew(-5deg); /* Slight zoom effect on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Optional: Add shadow on hover */
}


/* Keyframes for Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Headings */
.welcome-section h2 {

    font-size: 2.5rem;
    margin-bottom: 30px; /* Space below the heading */
    color: #333; /* Dark text color */
}

/* Cards */
.cards {
    display: flex; /* Use flexbox for card layout */
    justify-content: center; /* Center the cards horizontally */
    gap: 20px; /* Space between cards */
    flex-wrap: wrap; /* Allow cards to wrap to next line */
}
/* Keyframes for Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0); /* Normal position */
    }
    20% {
        transform: translateY(-10px); /* Move up */
    }
    30% {
        transform: translateY(-5px); /* Move up slightly */
    }
}

/* Individual Card */
.card {

    justify-content: flex-start; /* Align items at the top */
    align-items: flex-start; /* Align items to the left */
    background: white; /* White background for cards */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 20px; /* Padding inside cards */
    width: 100%; /* Make cards responsive */
    max-width: 400px; /* Max width of 400px on larger screens */
    
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    opacity: 0; /* Start invisible for slide-in effect */
    animation: slideIn 0.5s forwards; /* Slide-in animation */
}

/* Keyframes for Slide-in Animation */
@keyframes slideIn {
    from {
        transform: translateY(30px); /* Start slightly below */
        opacity: 0; /* Start invisible */
    }
    to {
        transform: translateY(0); /* Move to original position */
        opacity: 1; /* Fully visible */
    }
}

/* Hover Effect */
.card:hover {
    transform: scale(1.1) rotate(2deg); /* Slightly enlarge on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */

}

/* Icon Styles */
.icon img {
    width: 80px; /* Adjust icon size */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Center icon image */
    margin: 0 15px; /* Center and add space below */
}

/* Heading Styles */
.card h3 {
    font-size: 1.5rem; /* Font size for headings */
    margin-bottom: 10px; /* Space below headings */
    color: #555; /* Gray text color */
    text-align: left; /* Ensure text is aligned to the left */
}

/* Paragraph Styles */
.card p {
    color: #666; /* Lighter gray for paragraph text */
    line-height: 1.5; /* Increase line spacing for readability */
    text-align: justify; /* Left-align text inside cards */
}

/* Remove default link styles */
.card-link {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color to keep the card styling */
    display: inline-block; /* Ensure the card takes up the correct space */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add hover transition */
}

/* Add hover effect for the link */
.card-link:hover .card {
    transform: scale(1.05); /* Enlarge card on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}
.icon img {
    max-width: 20%;             /* Scale image */
    height: auto;                /* Maintain aspect ratio */
    margin-bottom: 15px;         /* Space below the image */
}

/* END Welcome Section */

/* BEGIN Disclaimer part */
.bodyc {
            background-color: rgba(192, 192, 192, 0.5); /* Black background with 50% transparency */
	    border-radius: 5px; /* Optional: Add slight rounding to edges */
            font-family: Arial, sans-serif;
            margin: 1px;
            padding: 0;

        }
.container {
            padding: 100px;

        }
        .logo {
            margin-top: -50px;
	    margin-bottom: 50px;
            text-align: left;
        }
        .logo img {
            width: 200px;
	    height: 80px;
        }
        .disclaimer-title {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 20px;
            text-align: left;
        }
        .disclaimer-text {
	    
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 40px;
            text-align: justify;
        }
        .contact-info {
            font-size: 14px;
            margin-bottom: -120px;
            text-align: justify;
            line-height: 1.6;
        }
        .contact-info i {
            margin-right: 10px;
        }
        .social-icons {
            margin-top: 10px;
            text-align: right;
	    width: auto;
        }
        .social-icons a {
            color: #4dfa02;
            margin: 1 20px;
            font-size: 25px;
            text-decoration: none;
        }
        .address {
            display: flex;
            justify-content: space-between;
            align-items: left;
	
        }
        

/* END Disclaimer part */

/* BEGIN Partner Section */
.bodypartner {
    max-width: 100%; /* Pastikan kontainer tidak melebihi lebar layar */
    overflow: hidden; /* Menyembunyikan konten yang melewati batas kontainer */
    margin: 0 0; /* Agar kontainer selalu terpusat */
    font-family: Arial, sans-serif;
    background-color: rgba(192, 192, 192, 0.5); /* Black background with 50% transparency */
    padding: 0 auto;
    text-align: center;   
    border-radius: 5px; /* Optional: Add slight rounding to edges */
}

.partner {
    padding: 20px 0;
    margin: 35px 35px; /* Atur margin elemen dalam carousel */
  
}

h2 {
    color: #1a1a1a;
    font-size: 24px;
    margin-bottom: 30px;
}

.logo-carousel {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 350px;
        }

.logo-carousel img {
    
    justify-content: center;
    margin: 35px;
    width: 100px;
    height: 100px;
    object-fit: contain;
    background-color: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add smooth transition */
}


.logo-carousel img:hover {
    transform: scale(1.1); /* Enlarge slightly on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}


/* ENDPartner Section */



@media (max-width: 600px) {
  .hamburger {
   display: block;
   font-size: 30px;
   cursor: pointer;
   color: white;
            }
  .nav_item {
    display: none; /* Hide the menu initially */
    flex-direction: column; /* Stack items vertically */
    width: auto; /* Full width */
    position: absolute; /* Positioned below the navbar */
    top: 60px; /* Distance from the top */
    left: 0; /* Distance from the left */
    padding: 0 0; /* Padding for the menu */
    background-color: rgba(77, 250, 2, 0.5); /* Hijau lemon dengan 70% transparansi */
    z-index: 100; /* Ensure the menu is on top of other elements */
  }

  .nav_item.active {
    display: flex; /* Show the menu when active */
  }
.nav_item a {
                color: #333;
                padding: 10px;
                border-bottom: 1px solid #ddd;
            }

  .nav_logo {
            display: none;
          }

  .carousel {
    display: none; /* Hide carousel on tablets */
  }

  .logo-carousel {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .logo-carousel img {
    width: 80px; /* Smaller logos for medium screens */
    height: 80px;
    margin: 30px; /* Adjust margin for tablets */
  }

  .bodyc {
    background-color: rgba(192, 192, 192, 0.5); /* Gray background with 50% transparency */
    border-radius: 5px; /* Slight rounding of edges */
    font-family: Arial, sans-serif;
    margin: 1px;
    padding: 0;
  }

  .container {
    padding: 150px 40px; /* Padding around container */
  }

  .disclaimer-title {
    font-size: 20px;
    font-weight: bold;
    margin-top: -100px;
    text-align: left;
  }

  .disclaimer-text {
    padding: 0;
    font-size: 14px; /* Smaller font size for tablets */
    margin-bottom: 20px;
  }

  .social-icons {
    margin-top: 10px;
    text-align: center;
    width: auto;
  }
.form_container {
  display: none;  /* Initially hidden */
  position: fixed;
  max-width: 320px;
  width: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.2);
  z-index: 101;
  background: rgba(0, 0, 0, 0.3); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Blur for frosted glass effect */
  -webkit-backdrop-filter: blur(1px); /* Support for Safari */
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3); /* Light border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 2); /* Subtle shadow */
  padding: 25px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease-out;
}
.r-edit-field input {
  height: 100%;
  width: 100%;
  outline: none; /* Remove default outline */
  padding: 0 30px;
  background-color: rgba(255, 255, 255, 0.5); /* Transparent background for input */
  color: #333;
  transition: all 0.2s ease;
  border-radius: 5px; /* Optional: Add slight rounding to edges */
  backdrop-filter: blur(5px); /* Slight blur inside the input fields */
  border: none; /* Remove border */
}
.form_close {
  position: absolute;
  top: 5px;
  right: 10px;
  color: #000;
  font-size: 20px;
  opacity: 1;
  cursor: pointer;
  z-index: 9999;
}
.form_container h2 {
  font-size: 25px;
  color: white;
  text-align: center;
}
.r-edit-field input:focus {
  border-color: transparent; /* Ensure no border appears on focus */
}
.r-edit-field i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #000;
}
.r-edit-field i.email,
.r-edit-field i.password {
  left: 5px;
}
.r-edit-field input:focus ~ i.email,
.r-edit-field input:focus ~ i.password {
  color: #000;
}
.r-edit-field i.pw_hide {
  right: 0;
  font-size: 18px;
  cursor: pointer;
}
.option_field {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.form_container a {
  color: white;
  font-size: 12px;
}
.bodypartner {
    max-width: 100%; /* Pastikan kontainer tidak melebihi lebar layar */
    overflow: hidden; /* Menyembunyikan konten yang melewati batas kontainer */
    margin: 0 0; /* Agar kontainer selalu terpusat */
    font-family: Arial, sans-serif;
    background-color: rgba(192, 192, 192, 0.5); /* Black background with 50% transparency */
    padding: auto auto;
    text-align: center;   
    border-radius: 5px; /* Optional: Add slight rounding to edges */
}
.partner {
    padding: 20px 0;
    margin: 30px 30px; /* Atur margin elemen dalam carousel */
  
}
}