/* ===================
   General Styles
=================== */

body {
  scroll-behavior: smooth;
  background-color: #227B94;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

.text-primary {
  color: #134B70 !important; 
}



.navbar-nav .nav-link {
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 6px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: white !important;
  background-color: #134B70;
  text-decoration: none;
}

.navbar-brand {
  color: #134B70 !important;
}

.navbar-brand span.text-success {
  color: #198754 !important;
}

.btn-lg {
  background-color: #134B70;
  color: white;
  text-align: center;
}

.btn-lg:hover {
  background-color: #146c43;
  color: white;
}

.btn-primary {
  background-color: #134B70;
  border-radius: 50px;
  font-weight: 600;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #146c43;
  box-shadow: 0 6px 12px rgba(20, 108, 67, 0.5);
}

.deskripsiProgram {
  color: black;
  font-size: medium;
}

/* ===================
   Hero Section
=================== */

.hero {
  position: relative;
  height: 100vh;
  background: url('../assets/img/gedung.jpg') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 0 1rem;
  box-sizing: border-box;
  text-align: center;
  flex-direction: column; /* default for mobile */
  min-height: 50vh;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 2rem; /* padding kiri kanan sesuai permintaan */
  box-sizing: border-box;
  white-space: normal !important; /* biar teks bisa wrap */
  margin: 0 auto;
  text-align: center; /* agar teks tetap di tengah */
  max-width: none; /* hapus max-width */
}

.hero-content h1,
.hero-content h4 {
  width: 100%; /* supaya lebar penuh container hero-content */
  white-space: normal !important;
  margin: 0 0 1rem 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content h1 {
  font-size: 4rem !important;
  line-height: 1.2;
}

.hero-content h4 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 2rem;
}


/* ===================
   Section Alur
=================== */

#alur {
  background-color: #134B70;
  margin: 2rem auto;
  padding: 4rem 2rem;
  color: white;
}

/* ===================
   Card Styles & Titles
=================== */

.card-title {
  color: #134B70;
}

.section-alur,
.title-faq {
  border-bottom: 3px solid #ffffff;
  padding-bottom: 8px;
  margin-bottom: 30px;
  font-weight: 600;
  color: #ffffff;
}

.title-prodi
{
  border-bottom: 3px solid #134B70;
  padding-bottom: 8px;
  margin-bottom: 30px;
  font-weight: 600;
  color: #134B70;
}

.titleProdi {
  border-bottom: 3px solid #ffffff;
  padding-bottom: 8px;
  margin-bottom: 30px;
  font-weight: 600;
  color: #ffffff;
}

.kuota {
  padding: 7rem 2rem;
  text-align: center;
  margin: 0 7rem;
  border-radius: 10px;
}

#contact {
  color: white;
}

/* ===================
   Container & Footer
=================== */

.custom-container {
  max-width: 1140px;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: auto;
  margin-right: auto;
}

#programs > .custom-container {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
}

footer {
  background-color: #343a40;
  color: #ffffff;
  text-align: center;
  padding: 20px 10px;
  margin-top: 40px;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

footer a:hover {
  text-decoration: underline;
  color: #66bb6a; /* warna hijau muda saat hover */
}

/* ===================
   Timeline Styles
=================== */

.timeline {
  position: relative;
  padding-top: 30px;
  padding-bottom: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.timeline-step {
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 10px;
  flex: 1 1 0;
  max-width: 23%;
  box-sizing: border-box;
  margin: 0 0.5%;
  border-radius: 12px;
}

.timeline-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25);
  background-color: #e7f1ff;
}

.timeline-step .step-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #134B70;
  margin-bottom: 10px;
}

.timeline-step .icon svg {
  transition: transform 0.3s ease, fill 0.3s ease;
  width: 48px;
  height: 48px;
  fill: #134B70;
  margin-bottom: 10px;
}

.timeline-step h5 {
  font-weight: 600;
  margin-bottom: 5px;
  color: #134B70;
}

.timeline-step p {
  color: #333;
  font-size: 0.9rem;
}

/* Responsive wrap */
@media (max-width: 991.98px) {
  .timeline {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .timeline-step {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 0;
  }
  .timeline::before {
    display: none;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
}

/* ===================
   Hover Shadow
=================== */

.hover-shadow {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hover-shadow:hover {
  box-shadow: 0 12px 30px rgba(13, 110, 253, 0.3);
  transform: translateY(-8px);
  cursor: pointer;
}

/* ===================
   Dropdown Menu
=================== */

.dropdown-menu {
  background-color: #146c43;
  color: white !important;
}

.dropdown-menu .dropdown-item {
  color: white;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: #1e7e34;
  color: white;
}

/* ===================
   Section Title
=================== */

.section-title {
  border-bottom: 3px solid #ffffff;
  padding-bottom: 8px;
  margin-bottom: 30px;
  font-weight: 600;
  color: #134B70;
}

/* ===================
   Card Hover
=================== */

.card {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.card:hover {
  box-shadow: 0 12px 30px rgba(13, 110, 253, 0.3);
  transform: translateY(-8px);
  cursor: pointer;
}

.card .card-body i {
  min-width: 40px;
  text-align: center;
}

/* ===================
   Floating WhatsApp Styles
=================== */

.floating-whatsapp-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: Arial, sans-serif;
}

.floating-whatsapp {
  background-color: #25d366;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  font-size: 28px;
  color: white;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

.floating-whatsapp-menu {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1100;
}

.floating-whatsapp-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-whatsapp-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.floating-whatsapp-menu a:last-child {
  border-bottom: none;
}

.floating-whatsapp-menu a:hover,
.floating-whatsapp-menu a:focus {
  background-color: #f2f2f2;
}

.floating-whatsapp-menu i {
  color: #25d366;
  font-size: 18px;
}

/* ===================
   Responsive Styles
=================== */

@media (max-width: 991.98px) {
  .timeline {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .timeline-step {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 0;
  }
  .timeline::before {
    display: none;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 576px) {
  .hero {
    height: auto;
    min-height: 50vh;
    padding: 3rem 1rem;
  }

  .hero-content h1 {
    font-size: 2rem !important;
    white-space: normal !important;
  }

  .hero-content h4 {
    font-size: 1rem;
  }

  .btn-lg {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-size: 1rem;
  }
}
