/* Font */

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* General Styles */
body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
}

.bg-white {
  background-color: #ededed;
}
.p-relative {
  position: relative !important;
}
/* Navbar normal */
.navbar {
  background-color: #ffffff1e !important;
  padding: 15px 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Animasi transisi */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Navbar ketika di-scroll */
.navbar.scrolled {
  /* background-color: #f8f9fa !important; */
  background-color: #ebf5fb !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: #093f78 !important;
}
.navbar .logo-img {
  width: 50px;
  height: 50px;
}
.navbar-nav .nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
  color: #fff !important;
}
.navbar.scrolled .navbar-nav .nav-link {
  color: #093f78 !important;
  font-weight: 500;
}
/* .navbar.scrolled .navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    color: #093f78 !important;
    font-weight: 400;
  } */

.navbar-nav .nav-link:hover,
.navbar.scrolled .navbar-nav .nav-link:hover {
  color: #ff0000 !important; /* Warna merah */
}

.navbar-button {
  appearance: none;
  background-color: transparent;
  border: 2px solid #ced4da;
  border-radius: 8px;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  min-width: 0;
  padding: 10px 24px;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  text-decoration: none;
}

.navbar.scrolled .navbar-button,
.navbar-button:hover {
  color: #ffffff;
  background-color: #007bff;
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  border-color: #007bff;
}

.hero-section {
  position: relative;
  background-image: url("/assets/img/Background/bg-1.jpg"); /* Ganti dengan URL gambar yang diinginkan */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 150px 0 100px 0;
  /* box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3); */
  transition: box-shadow 0.3s ease; /* Tambahkan transisi untuk box-shadow */
  z-index: 1;
}
/* Overlay untuk efek lebih gelap agar teks lebih terbaca */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Overlay transparan */
  z-index: 1;
}
/* .hero-section.scrolled {
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.3);
  } */
/* Mengatur konten di dalam hero section */
.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section .logo-img {
  width: 120px;
  height: 120px;
}
.hero-section h1 {
  font-size: 2.3rem;
  font-weight: 700;
  animation: fadeIn 2s ease-in-out;
  padding: 0 80px;
}

.hero-section p {
  font-size: 1.3rem;
  font-weight: 400;
  animation: fadeIn 3s ease-in-out;
}

.btn-hero {
  background-color: #ff0000; /* Warna merah */
  color: #fff;
  padding: 8px 40px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.btn-hero:hover {
  background-color: #fff;
  color: #007bff; /* Warna biru */
  transform: translateY(-5px);
}

/* Sections */
.section {
  padding: 120px 0 50px 0;
  position: relative;
}

.section h2 {
  font-weight: 700;
  color: #093f78; /* Warna biru */
  font-size: 28px;
}
.section.text-left {
}

#beranda {
  position: relative;
  background: url("/assets/img/Background/bg-latarbelakang2.png"), #ffffff96 !important;
  background-size: cover;
  background-position: center;
  /* background-attachment: fixed; */
  background-repeat: no-repeat;
  background-blend-mode: multiply; /* Mode blending */
  padding: 100px 200px;
}

#beranda .box-profile {
  /* background: #ffffff9a;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  position: relative;
  text-align: left;
}

#beranda .box-profile .latar-belakang-img {
  height: 200px;
  width: 200px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#beranda .box-profile h3 {
  position: relative;
  color: #026bdc;
}

#beranda .box-profile h3:before {
  position: absolute;
  content: "";
  height: 2px;
  width: 80%;
  background: #7e7e7e;
  z-index: 1;
  left: 0;
  bottom: -10px;
}

#beranda .box-profile h3:after {
  position: absolute;
  content: "";
  height: 10px;
  width: 20px;
  background: #026bdcc2;
  z-index: 1;
  right: 0;
  bottom: -10px;
}

#pengurus {
  padding-top: 0px;
}
#survey {
  /* background: #f7f7fc !important; */
  padding: 120px 50px !important;
  position: relative;
}

#survey .box-survey {
  height: 300px !important;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  box-shadow: 3px 2px 3px 0px rgba(0, 0, 0, 0.3);
}

#survey .box-survey.rounded {
  height: 300px !important;
  width: 300px !important;
}
#survey .btn-survey .btn-gradient {
  width: 20%;
  position: relative;
  display: inline-block;
  left: -20px;
  background: rgba(0, 0, 0, 0.15);
  padding: 8px 24px 8px 16px;
  /* box-shadow: 2px 0px 0px 0px rgba(78, 72, 72, 0.4); */
  border-radius: 8px 0px 0 8px;
}

#survey .btn-survey {
  position: absolute;
  bottom: 30px;
  right: 30px;
  transform: translate(-50%, -50%);
  font-size: 16px;
  padding: 0px 20px;
  color: #fff;
  background-color: #007bff;
  border: none;
  justify-content: center;
  align-items: center;
  display: flex;
  width: 180px;
  border-radius: 8px;
  text-decoration: none;
  z-index: 1;
}
#survey .btn-survey .btn-text {
  width: 80%;
}

#survey .btn-survey .btn-gradient i {
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#relasi {
  padding-bottom: 80px;
}

#relasi .owl-item .item {
  width: 100px;
  height: auto;
  margin: auto;
  margin-bottom: 50px;
}

#relasi .owl-dots {
  margin-top: 50px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
}

#agenda {
  position: relative;
  background: url("/assets/img/Background/hospital-pattern.png"), #e1ecf796;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-blend-mode: multiply; /* Mode blending */
}

/* Cards */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.contact-form {
  background: #c9e7fa #ff0000;
  padding: 100px 30px 50px 30px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.contact-form .icon-pesawat {
  position: absolute;
  left: 50%;
  top: 50px;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 30px;
  width: 60px;
  height: 60px;
  background: #093f7833;
  border-radius: 100%;
  text-align: center;
  line-height: 60px;
}
.contact-form input,
.contact-form textarea {
  border-radius: 5px;
  border: 1px solid #ced4da;
  padding: 20px 10px;
  width: 100%;
}
.contact-form button {
  background: #007bff;
  border: none;
  padding: 10px 15px;
  color: white;
  border-radius: 5px;
  transition: 0.3s;
}
.contact-form button:hover {
  background: #0056b3;
}

/* Footer */
.footer {
  background-color: #000;
  color: white;
  padding: 40px 0;
}

.footer a {
  color: #007bff; /* Warna biru */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #ff0000; /* Warna merah */
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .hero-section {
    height: 80vh;
    padding: 70px 0 0px 0;
  }
  .hero-section h1 {
    font-size: 1.6rem;
    padding: 0 0px;
  }
  .hero-section p {
    font-size: 0.9rem;
  }
  .btn-hero {
    padding: 4px 40px;
    font-size: 0.9rem;
  }

  #beranda {
    padding: 20px 0;
  }

  #beranda .box-profile {
    text-align: center;
  }

  #beranda .box-profile .latar-belakang-img {
    height: 120px;
    width: 120px;
    position: relative;
    left: 0%;
    top: 0;
    transform: none;
    margin: 20px 0 40px 0;
  }

  #survey {
    padding: 80px 0px !important;
    position: relative;
  }

  #survey .box-survey.rounded {
    height: max-content !important;
    width: 100% !important;
    margin-top: 20px;
  }
  #survey .btn-survey {
    position: relative;
    transform: translatex(-50%);
    left: 50%;
    font-size: 15px;
    padding: 0px 20px;
    bottom: 0;
    right: unset;
    margin-top: 30px;
  }

  #relasi {
    padding: 30px 0 50px 0;
  }

  #relasi .owl-item .item {
    width: 70px;
    margin-bottom: 0px;
  }
  #relasi .owl-dots {
    margin-top: 30px;
    position: relative;
  }
  #relasi a {
    font-size: 15px;
    display: block;
    width: 100%;
    text-align: center !important;
  }
}
