:root {
    /* color */
    --primary: #2DB0FE;
    --secondary: #e6f4fc;
    --tertiary: #086EAA;
  
    /* font */
    --mainFont: 'Poppins', sans-serif;
  }
  
  .body{
    font-family: var(--mainFont);
  }
  .heading{
    font-family: var(--mainFont);
    font-size: 24px;
  }
  .subheading{
    font-weight: 300;
  }
  .navbar {
    padding: 1rem 0;
    transition: background-color 0.3s ease;
    
  }
  
  
  .navbar-brand{
    font-family: var(--mainFont);
    margin: 0 auto; 
  }
  .nav-link{
    font-family: var(--mainFont);
    color: white !important;
  }
  .nav-link {
    font-family: var(--mainFont);
    color: white !important;
    transition: color 0.3s ease;
  }
  .nav-link:hover {
    color:var(--primary) !important; 
    background-color: var(--secondary); 
    border-radius: 10px;
  }
  html {
    scroll-padding-top: 80px; /* Sesuaikan dengan tinggi navbar */
  }
  
  
  .login{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
  /* position: absolute; */
  width: 120px;
  height: 40px;
  left: 1160px;
  top: 25px;
  background: var(--secondary);
  border-radius: 31px;
  
  }
  .login a {
    color: var(--primary);
    outline: none; /* Remove the border when the button is clicked */
  }
  
  .login a:focus {
    box-shadow: 1 0 15px 5px var(--primary); /* Adjust the shadow width */
    border-radius: 31px; /* Ensure the glow follows the button's rounded corners */
  }
  
  .home {
    position: relative;
    background-image: url('../Images/Home.jpg'); /* Ensure the path is correct */
    background-repeat: no-repeat; 
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    z-index: 1; /* Ensure the home section is above the waves */
    }
  
  .home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    opacity: 0.5; /* Adjust the opacity as needed */
    z-index: 0; /* Ensure the blue background is below the waves */
  }
  
  .home h1, .home p {
    position: relative;
    z-index: 3; /* Ensure the text is above the waves */
  }
  .home p {
    display: inline-block;
    font-size: 48px;
    color: var(--primary);
    font-weight: bold;
    background-color: white;
  }
  
  .home h1 {
    color: white;
    font-size: 48px;
    font-weight: bold; /* Make the text bold */
  }
  /* End Home */
  /* Union */
  
  .waveWrapper {
    overflow: hidden;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
  }
  
  /* .waveWrapperInner {
    position: absolute;
    width: 100%;
    overflow: hidden;
    height: 100%;
    bottom: -1px;
    background-image: linear-gradient(to top, var(--primary) 20%, var(--secondary) 80%);
    z-index: 2; /* Ensure the waves are above the blue background */
  /* } */
  
  .bgTop {
    z-index: 15;
    opacity: 0.5;
    background-color: rgba(45, 176, 254, 0.64); /* Primary color with 36% opacity reduction */
  }
  
  .bgMiddle {
    z-index: 10;
    opacity: 0.75;
    background-color: var(--secondary); /* Adjust the color for the middle wave */
  }
  
  .bgBottom {
    z-index: 5;
    background-color: var(--primary); /* Adjust the color for the bottom wave */
  }
  
  .wave {
    position: absolute;
    left: 0;
    width: 200%;
    height: 100%;
    background-repeat: repeat no-repeat;
    background-position: 0 bottom;
    transform-origin: center bottom;
  }
  
  .waveTop {
    background-size: 50% 100px;
  }
  
  .waveAnimation .waveTop {
    animation: move_wave 3s;
    -webkit-animation: move_wave 3s;
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
  }
  
  .waveMiddle {
    background-size: 50% 120px;
  }
  
  .waveAnimation .waveMiddle {
    animation: move_wave 10s linear infinite;
  }
  
  .waveBottom {
    background-size: 50% 100px;
  }
  
  .waveAnimation .waveBottom {
    animation: move_wave 15s linear infinite;
  }
  
  .highlight {
    color: var(--primary); /* Change the color as needed */
    font-weight: bold;
  }
  
  
  .navbar.scrolling-active{
    background-color: var(--primary);
    padding: 15px 0;
    transition: background-color 0.3s ease;
  }
  
  .navbar-scrolled {
    background-color: var(--primary);
    transition: background-color 0.3s ease;
  }
  
  .card {
    height: 100%; 
    transition: all 0.3s ease;
    border-radius: 10px; 
    box-shadow: 0 4px 8px (--primary);
    margin-bottom: 20px; 
  
  }
  
  .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px; 
    text-align: center; /* Ensure text is centered */
  }
  
  .manfaat .card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align items to the top */
    align-items: center;
    text-align: center; /* Ensure text is centered */
  }
  
  .manfaat .card-body i {
    margin-bottom: 10px; /* Add margin below the icon */
  }
  
  .manfaat .card-body h5 {
    margin-bottom: 15px; /* Add margin below the h5 */
  }
  
  .manfaat .card-body ul {
    padding-left: 0; /* Remove default padding */
    list-style: none; /* Remove default list style */
  }
  
  .manfaat .card-body ul li {
    position: relative;
    padding-left: 25px; /* Add padding to make space for the icon */
    margin-bottom: 10px; /* Add some space between list items */
  }
  
  .manfaat .card-body ul li::before {
    content: "\f00c"; /* FontAwesome check icon */
    font-family: "Font Awesome 5 Free"; /* Ensure the correct font is used */
    font-weight: 900; /* Ensure the correct font weight is used */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--tertiary); /* Use primary color for the icon */
  }
  
  .card:hover {
    background-color: var(--primary); 
    transform: scale(1.05); 
    transition: transform 0.3s ease;
  }
  
  .fitur{
    background-color: var(--secondary);
    width: 100%;
    padding: 50px 0; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .fitur h1 {
    font-size: 32px; 
    color: var(--tertiary);
  }
  
  @keyframes move_gradient {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: 100% 0;
    }
  }
  
  /* Animasi goyang (shake) vertikal */
  @keyframes shake {
    0% {
      transform: translateY(0); /* Posisi awal */
    }
    25% {
      transform: translateY(-10px); /* Goyang ke atas */
    }
    50% {
      transform: translateY(10px); /* Goyang ke bawah */
    }
    75% {
      transform: translateY(-10px); /* Goyang ke atas lagi */
    }
    100% {
      transform: translateY(0); /* Kembali ke posisi semula */
    }
  }
  
  #visual .img-fluid {
    animation: shake 6s ease-in-out infinite; /* Goyang vertikal */
  }
  
  /* Optional: Style to make the image responsive within the section */
  #visual .position-relative {
    max-width: 100%;
    display: flex;
    justify-content: center;
  }
  
  
  
  /* Alur Sistem Section */
  #alur {
    padding: 50px 0;
  }
  
  .bordered {
    position: relative;
    border: 2px dashed var(--primary);  /* Menambahkan garis putus-putus */
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    height: 100%; /* Ensure consistent height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  #alur .col-12 {
    margin-bottom: 30px;
  }
  
  #alur h3 {
    font-size: 24px;
    color: var(--tertiary);
    margin-bottom: 15px;
    justify-content: center;
    align-items: center;
  }
  
  #alur p {
    font-size: 16px;
    color: #333;
  }
  
  /* Menambahkan panah di sisi kanan card */
  .bordered::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid var(--primary); /* Warna panah */
    transform: translateY(-50%);
  }
  
  /* Menghilangkan panah pada card terakhir */
  #alur .row .col-12:last-child .bordered::after {
    content: none;
  }
  
  #alur i {
    color: var(--primary);
    margin-bottom: 15px;
  }
  
  #alur .bordered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .image-text-container img {
    max-width: 100%;
    height: auto;
    padding: 20px;
  }
  
  .kontak{
    background-color: var(--primary);
    color: white;
    padding: 30px 0;
    text-align: left;

    
  }
  
  .kontak p {
    margin: 10px 0; 
    font-size: 20px; /* Ensure all paragraphs have the same font size */
    padding-top: 10px
  }
  
  .kontak a {
    color: white;
    margin: 0 10px;
  }
  
  .kontak a:hover {
    color: var(--secondary);
    margin-bottom: 20px;
  }
  
  .kontak-heading {
    font-size: 24px; /* Ensure the font size is 24px */
    font-weight: bold;
    margin-bottom: 15px;
  }
 .kontak .row{
  margin-bottom : 30px;
 }
  
  
  @media (max-width: 768px) {
    .home{
        width: 100%;
        height: 100vh;
        z-index: 1; /* Ensure the home section is above the waves */
    
    }
    .home h1 {
      font-size: 36px; 
    }
  
    .home p {
      font-size: 24px; /* Adjust font size for smaller screens */
      padding: 0 5px; /* Adjust padding for smaller screens */
    }
    
  
    .login {
      position: static;
      width: 200px;
      height: auto;
      margin-top: 10px;
      margin-left: 20px;
    }
    .login a {
      padding: 10px 20px;
    }
    .navbar{
      background-color: var(--primary);
    }
    .navbar-brand {
      margin: 0 auto; /* Ensure the brand/logo is centered on smaller screens */
    }
    .fitur .row {
      flex-direction: column; /* Stack cards vertically on smaller screens */
    }
  
    #alur .col-12 {
      margin-bottom: 20px;
    }
  
    #alur h3 {
      font-size: 20px;
    }
  
    #alur p {
      font-size: 14px;
    }
  
    #alur i {
      font-size: 1.5rem;
    }
  
    .kontak {
      font-size: 14px;
      padding: 50px 0;
      text-align: center;
    }
    .kontak .col-md-4 {
      margin-bottom: 20px;
      padding: 20px;
    }
    .nav-link:hover {
      color:var(--primary) !important; 
      background-color: var(--secondary); 
      border-radius: 10px; 
    }
    #home, #about, #fitur, #manfaat, #alur {
      padding-top: 120px; /* Menambah padding untuk layar lebih kecil (mobile) */
  }
  
    
  }
  
  
  @keyframes move_wave {
    0% {
      transform: translateX(0) translateZ(0) scaleY(1);
    }
    50% {
      transform: translateX(-25%) translateZ(0) scaleY(0.55);
    }
    100% {
      transform: translateX(-50%) translateZ(0) scaleY(1);
    }
  }
  
  