/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  width: 100%;
  height: 100%;
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  color: #af404f; 
  text-decoration: none;
}

a:hover {
  color: #d34155;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
p {
  font-family: "Poppins", sans-serif;
}

.tab-pane.active {
  animation: slide-down 1s ease-out;
}

@keyframes slide-down {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*--------------------------------------------------------------
# Back to Top Button
--------------------------------------------------------------*/
.bubble-button {
  margin: auto;
  padding: auto;
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 999;
  display: flex; /* Ensure it is always displayed */
  flex-direction: column; /* Stack the options vertically */
  opacity: 0; /* Start hidden */
  transition: opacity 0.4s ease; /* Smooth transition for opacity */
}

.toggle-button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background-color: #af404f;
  color: #fff;
  cursor: pointer;
  transition: all 0.4s;
  z-index: 999;
}

.toggle-button i {
  margin: auto;
  padding: auto;
  transition: transform 0.4s;
}

.bubble-options {
  margin: auto;
  padding: auto;
  display: none; /* Hidden initially */
  opacity: 0;
  transition: opacity 0.4s ease;
  position: absolute;
  right: 0;
  bottom: 40px;
}

.bubble-options a {
  margin: auto;
  padding: auto;
  display: block;
  margin-bottom: 10px;
}

.toggle-button:hover {
  background-color: rgba(19, 20, 27, 0.9);
  color: #fff;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.486) !important;
}

#hamburger {
  margin: auto;
  padding: auto;
  font-size: 18px; /* Mengubah ukuran ikon, sesuaikan dengan ukuran yang diinginkan */
}

.bubble-whatsapp i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background-color: #00df13;
  color: #fff;
  transition: all 0.4s;
}

.bubble-whatsapp i:hover {
  background-color: #00a00d;
  color: #fff;
}

.bubble-user i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background-color: #af404f;
  color: #fff;
  transition: all 0.4s;
}

.bubble-user i:hover {
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
}

.back-to-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background-color: #af404f;
  color: #fff;
  transition: all 0.2s;
}

.back-to-top i:hover {
  background-color: rgba(19, 20, 27, 0.9);
  color: #fff;
}

.back-to-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background-color: #af404f;
  color: #fff;
  transition: all 0.4s;
}

.back-to-top i:hover {
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
}

.show-bubble-button { /* Show bubble-button when scrolled to main section */
  display: flex;
}

/* Bubble Notification */
.bubble-whatsapp {
  position: relative; /* Set the context for positioning the notification */
}

.bubble-notification {
  background-color: #f1c40f; /* Color of the bubble */
  color: #333; /* Text color */
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: bold; /* Make the text bold */
  display: none; /* Hidden by default */
  position: absolute; /* Position it absolutely */
  right: 115%; /* Position it to the left of the WhatsApp button */
  top: 50%;
  transform: translateY(-50%); /* Center it vertically */
  margin-right: 10px; /* Space between notification and WhatsApp button */
  white-space: nowrap; /* Prevent text from wrapping to a new line */
  text-align: center; /* Center-align the text horizontally */
}

.bubble-whatsapp:hover .bubble-notification {
  display: block; /* Show notification when hovering over the WhatsApp button */
}

.bubble-notification::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 6.8rem; /* Adjust based on the position of the notification bubble */
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #f1c40f; /* Arrow pointing to the right */
}

@media (max-width: 1090px) {
  .bubble-notification {
    display: block;
  }
}

/*--------------------------------------------------------------
# Bar Progress
--------------------------------------------------------------*/
#bar {
  width: 0;
  height: 4px;
  background-color: white;
  position: fixed;
  top: 0;
  left: 0;
  transition: width 0.3s ease-in-out;
  z-index: 99999;
  border-radius: 50px;
} 

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 70px;
  transition: all 0.5s;
  z-index: 997;
  background-color: rgba(19, 20, 27, 0.9);
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 40px;
}

.featured {
  margin-top: 30px;
  margin-bottom: 190px;
}

@media (max-width: 560px) {
  #header .logo img {
    padding: 0;
    margin: 0;
    max-height: 30px;
  }
}

@media (max-width: 425px) {
  #header .logo img {
    padding: 0;
    margin: 0;
    max-height: 30px;
  }
}

@media (max-width: 375px) {
  #header .logo img {
    padding: 0;
    margin: 0;
    max-height: 30px;
  }
}

@media (max-width: 320px) {
  #header .logo img {
    padding: 0;
    margin: 0;
    max-height: 30px;
  }
}

/* -------------------------------------------------------------
# IMG avatar
--------------------------------------------------------------*/

.avatar-img {
    width: 40%;
    height: 10%;
    object-fit: cover; /* memastikan gambar tetap proporsional dan mengisi area 50x50 */
    border-radius: 100%; /* jika ingin membuatnya berbentuk lingkaran */
    overflow: hidden;
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 15px 7px 15px;
  margin-left: 5px;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  transition: 0.3s;
  border-radius: 50px;
}

.navbar a i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar .active {
  color: #fff;
  background-color: #af404f;
}

.navbar a:hover,
.navbar li:hover > a {
  color: #fff;
  background-color: #af404f;
}

/* Dropdown Styles */
.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 5px;
  top: calc(100% + 30px);
  margin: 5px 0 0 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background-color: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 15px;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  color: #14151c;
  margin: 0 5px;
  font-size: 14px;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  background-color: rgba(175, 65, 79, 0.9);
  color: white;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/* Get Started Button */
.get-started-btn {
  margin-left: 25px;
  color: #fff;
  border-radius: 50px;
  padding: 7px 20px 8px 20px; /* bottom-right-top-left*/
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  display: inline-block;  
  background-color: transparent;
  border: 2px solid #af404f;
}

.get-started-btn:hover {
  background-color: rgba(175, 65, 79, 0.9);
  color: #fff;
}

@media (max-width: 768px) {
  .get-started-btn {
    margin: 0 48px 0 0;
    padding: 6px 20px 7px 20px;
  }
}

@media (max-width: 580px) {
  .get-started-btn {
    margin-top: 8px;
  }
}

@media (max-width: 425px) {
  .get-started-btn {
    margin-top: -5px;
  }
}

/* Mobile Navigation */
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 1230px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(20, 21, 28, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 10px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a {
  padding: 10px 20px;
  margin: 5px;
  font-size: 15px;
  color: #2a2c39;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: #fff;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background-color: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
  color: #fff;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 100px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f3f5fa;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-family: "Jost", sans-serif; 
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 30px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #af404f;
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #af404f;
  bottom: 0;
  left: calc(50% - 20px);
}

.section-title p {
  margin-bottom: 0;
  font-size: 18px;
}

@media (max-width: 1024px) {
  .section-title h2 {
    font-size: 28px;
  }

  .section-title p {
    margin-bottom: 0;
    font-size: 16px;
  }
}

@media (max-width: 990px) {
  .section-title h2 {
    font-size: 26px;
  }

  .section-title p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 24px;
  }

  .section-title p {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 22px;
  }
}

@media (max-width: 425px) {
  .section-title h2 {
    margin-top: 100px;
  }
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team {
  padding-bottom: 20px;
}

.team .member {
  position: relative;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: auto;
  border-radius: 5px;
  background: #fff;
  transition: 0.5s;
}

.team .member .avatar-img {
  overflow: hidden;
  width: 180px;
  border-radius: 50%;
}

.team .member .pic img {
  width: 90%;
  overflow: hidden;
  border-radius: 50%;
  transition: ease-in-out 0.3s;
}

.team .member:hover {
  transform: translateY(-10px);
}

.team .member .member-info {
  padding-left: 30px;
  font-family: "Poppins", sans-serif;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
  color: #37517e;
}

.team .member h5 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: #37517e;
}

.team .member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

.team .member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: #cbd6e9;
  bottom: 0;
  left: 0;
}

.team .member p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.team .member .member-info {
  width: 450px;
  margin-left: -15px;
}

.team .member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.team .member .social a {
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 32px;
  height: 32px;
  background: #eff2f8;
}

.team .member .social a i {
  color: #37517e;
  font-size: 16px;
  margin: 0 2px;
}

.team .member .social a:hover {
  background: #d34155;
}

.team .member .social a:hover i {
  color: #fff;
}

.team .member .social a + a {
  margin-left: 8px;
}

@media (max-width: 990px) {
  .team .member span {
    font-size: 14px;
  }

  .dosen {
    padding-top: 0;
  }
  
  .tendik {
    padding-top: 0;
  }

  .tata-usaha {
    padding-top: 0;
    padding-bottom: 50px;
  }
}

@media (max-width: 425px) {
  .team .member span {
    font-size: 12px;
  }

  .team {
    padding: 10px;
  }
  
  .team .member h4 {
    font-size: 16px;
  }
  
  .team .member h5 {
    font-size: 14px;
  }

  .team .member p {
    font-size: 12px;
  }

  .tata-usaha {
    padding-bottom: 40px;
  }
}

/* Modal */
.modal-dialog {
  max-width: 800px;
  margin: 30px auto;
}

.modal-body {
  position: relative;
  padding: 0px;
}

.close {
  position: absolute;
  right: -30px;
  top: 0;
  z-index: 999;
  font-size: 2rem;
  font-weight: normal;
  color: #fff;
  opacity: 1;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  position: relative;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}

#footer .footer-top {  
  padding: 50px 0 0px 0;
  background: #000000;
}

#footer .footer-top a img {
  width: 75%; 
  padding: 0 0 20px 0;
}

#footer .footer-top p {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;  
  color: white;
}

#footer .footer-top h4 {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #af404f;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links h4 {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #af404f;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #af404f;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: white;
  transition: 0.3s;
  display: inline-block;
  line-height: 1.5;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #af404f;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #af404f;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: white;
  color: #af404f;
  text-decoration: none;
}

#footer .footer-bottom {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 15px;
  background: #af404f;
  color: #fff;
}

#footer .copyright {
  text-align: center;
  padding-top: 8px;
  padding-bottom: 8px;
  color: white;
  float: center;
}

@media (max-width: 1080px) {
  #footer .footer-top {
    display: none;
  }
  #footer .footer-top .footer-links {
    display: none;
  }
  #footer .copyright {
    text-align: center;
    float: center;
  }
}

/* Scrollbar Width */
::-webkit-scrollbar {
  width: 10px;
}

/* Scrollbar Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Scrollbar Handle */
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 50px;
}

/* Scrollbar Handle on Hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}