:root{
    --primary: #2563eb;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
}

body{
    font-family: 'Poppins', sans-serif;
    background: #f1f5f9;
    color: #1e293b;
}

a{
    text-decoration: none;
}

.section-title{
    font-size: 38px;
    font-weight: 700;
    color: var(--dark);
}

.section-subtitle{
    color: var(--gray);
    font-size: 17px;
}
.navbar{
    transition: all .3s ease;
}

.navbar-brand{
    letter-spacing: .5px;
}

.nav-link{
    position: relative;
    color: #334155 !important;
}

.nav-link:hover{
    color: #2563eb !important;
}

.nav-link::after{
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: 0;
    background: #2563eb;
    transition: .3s;
}

.nav-link:hover::after{
    width: 100%;
}
.hover-card{
transition: all .3s ease;
}

.hover-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.12)!important;
}
.navbar .nav-link.active{
    color: #0d6efd !important;
}

.navbar .nav-link.active::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: #0d6efd;
    border-radius: 20px;
}
.hover-fasilitas {
    transition: 0.2s ease;
    cursor: default;
}

.hover-fasilitas:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: #0d6efd;
}

.custom-pagination {
    gap: 6px;
}

.custom-pagination .page-link {
    border: none;
    padding: 10px 16px;
    color: #555;
    background: #f8f9fa;
    transition: all 0.2s ease;
    border-radius: 999px;
    font-weight: 500;
}

.custom-pagination .page-item.active .page-link {
    background: #0d6efd;
    color: #fff;
    box-shadow: 0 6px 18px rgba(13,110,253,.25);
    transform: translateY(-1px);
}

.custom-pagination .page-link:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.custom-pagination .page-item.disabled .page-link {
    opacity: 0.5;
}
@media (max-width: 768px) {
  /* Hero */
  .min-vh-75 {
    min-height: auto !important;
  }

  /* Badge atas disembunyikan */
  .hero-badge {
    display: none;
  }

  /* Judul */
  .hero-title {
    font-size: 2rem !important;
    line-height: 1.15;
    margin-bottom: 1rem !important;
  }

  /* Deskripsi */
  .section-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem !important;
  }

  /* Tombol */
  .hero-action {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .hero-action .btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  /* Statistik */
  .hero-stat {
    margin-top: 2rem !important;
  }

  .hero-stat h3 {
    font-size: 1.5rem;
    white-space: nowrap;
  }

  .hero-stat small {
    font-size: 0.8rem;
    display: block;
  }

  /* Carousel */
  #heroCarousel {
    margin-top: 2rem;
  }

  #heroCarousel img {
    height: 250px !important;
  }
}

.hover-card:hover {
  transform: translateY(-3px);
}

.hover-card {
  min-height: 340px;
}

.kost-img-wrapper {
  height: 100%;
}

.kost-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

/* MOBILE */
@media (max-width: 768px) {
  /* gambar full atas */
  .hover-card .col-md-4 {
    width: 100%;
  }

  .hover-card .col-md-8 {
    width: 100%;
  }

  .kost-img {
    height: 220px;
  }

  /* nama + harga jadi vertikal */
  .hover-card .d-flex.justify-content-between.align-items-start {
    flex-direction: column;
    gap: 12px;
  }

  .hover-card .text-end {
    text-align: left !important;
    width: 100%;
  }

  .hover-card h5 {
    font-size: 1.2rem;
  }

  /* badge fasilitas */
  .hover-card .badge {
    white-space: normal;
  }

  /* kamar tersedia */
  .hover-card .d-flex.flex-wrap.gap-2 {
    gap: 0.5rem !important;
  }

  /* tombol */
  .hover-card .mt-auto.d-flex {
    flex-direction: column;
  }

  .hover-card .mt-auto.d-flex .btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .kost-header {
    flex-direction: column;
    align-items: start !important;
  }

  .kost-header .text-end {
    text-align: left !important;
    margin-top: 10px;
  }
}
.step-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 1.5rem;
}

.step-number {
  width: 70px;
  height: 70px;
}

.step-icon {
  padding: 1.5rem;
}

.step-icon i {
  font-size: 2rem;
}

@media (max-width: 768px) {
.step-card {
  height: auto !important;
  min-height: auto !important;
  padding: 1rem !important;
}


  .step-header {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
  }

  .step-number h4 {
    font-size: 1rem;
  }

  .step-icon {
    padding: 0.75rem;
  }

  .step-icon i {
    font-size: 1.4rem;
  }

  .step-card h4 {
    font-size: 1.1rem;
  }

  .step-card p {
    font-size: 0.9rem;
  }
}

.upload-box{
    border:2px dashed #d0d7de;
    border-radius:16px;
    padding:35px;
    text-align:center;
    cursor:pointer;
    transition:.3s;
    background:#fafbfc;
}

.upload-box:hover{
    border-color:#0d6efd;
    background:#f8fbff;
}

.upload-content{
    pointer-events:none;
}

.upload-box.dragover{
    border-color:#0d6efd;
    background:#eef5ff;
}
