/* NAVBAR GRADIENT */
.navbar-custom {
   background: linear-gradient(126deg, #1a386d, #5472c8, #d75c9c);
  /* background: url(/assets/images/background/bg-scaled-01.jpg) center/cover no-repeat; */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* TEXT */
.navbar-custom .nav-link,
.navbar-custom .navbar-brand {
    color: #fff;
    font-weight: 500;
}

.navbar-custom .nav-link:hover {
    color: #ffd1ec;
}

/* STICKY */
.sticky-top {
    z-index: 999;
}

/* HOVER DROPDOWN */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}
.dropdown-toggle::after {
    display: none !important;
}
/* ICON MENU */
.nav-link i {
    margin-right: 6px;
}


/* MEGA MENU STYLE */
.mega-menu {
    width: 80%;
    left: 0;
    right: 0;
    padding: 15px;
    border: none;
}
.mega-menu a {
    color: #333;
    text-decoration: none;
}

.mega-menu a:hover {
    color: #f472b6;
}
/* DROPDOWN HOVER */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* BIAR HALUS */
.dropdown-menu {
    transition: 0.2s;
}

/* ITEM */
.dropdown-item i {
    width: 20px;
}
/* PAKSA DROPDOWN KE KIRI */
.navbar .dropdown-menu {
    left: 0 !important;
    right: auto !important;
}
/* HERO */
.hero {
    background: url(/assets/images/background/bg-scaled-01.jpg) center/cover no-repeat;
    color: white;
    padding: 120px 0;
    text-align: center;
}
/* ITEM PROFESI */
.profesi-item {
    display: block;
    padding: 6px 0;
    color: #333;
    transition: 0.2s;
}

.profesi-item:hover {
    color: #f472b6;
    transform: translateX(5px);
}

/* MOBILE */
@media (max-width: 768px) {
    .mega-menu {
        width: 100%;
    }
}

/* WHATSAPP BUTTON */
#waButton {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25D366;
    color: #fff;
    padding: 12px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 999;
    transition: all 0.3s ease;
}

/* ICON */
#waButton svg {
    width: 20px;
    height: 20px;
}

/* BACK TO TOP */
#backToTop {
    position: fixed;
    bottom: 10px;
    right: 20px;
    z-index: 999;

    width: 50px;
    height: 50px;
    line-height: 50px;

    background: linear-gradient(135deg, #007bff, #0056d2);
    color: #fff;

    border: none;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    cursor: pointer;

    display: none;
    transition: all 0.3s ease;

    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.4);
}

/* HOVER EFFECT */
#backToTop:hover {
    background: linear-gradient(135deg, #0056d2, #003f9e);
    transform: translateY(-5px) scale(1.05);
}


/* HOVER */
#waButton:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
}

/* ANIMASI PULSE */
#waButton::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* MOBILE */
@media(max-width: 768px){
    #waButton span {
        display: none;
    }
    #waButton {
        padding: 14px;
        border-radius: 50%;
    }
}

/* <!-- Hero Slider --> */

.hero-slider {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: all 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.3),  /* sebelumnya 0.6 → turunin */
    rgba(0,0,0,0.1)
  );
}

.content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 500px;
}

.subtitle {
  font-size: 18px;
  letter-spacing: 3px;
  color: #ffcc00;
  animation: fadeDown 1s;
}

.title {
  font-size: 60px;
  font-weight: 700;
  margin: 10px 0;
  animation: fadeUp 1s;
}

.desc {
  font-size: 16px;
  margin-bottom: 20px;
  animation: fadeUp 1.2s;
}

.btn-slider {
  display: inline-block;
  padding: 12px 30px;
  background: #ff4d4d;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-slider:hover {
  background: #ff1a1a;
}

/* Navigation */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}
