.hero-section {
    background-size: cover;
    background-position: center;
    height: 77vh;
    position: relative;
    color: white;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    top: 40%;
    transform: translateY(-50%);
}

.vertical-icons {
    position: absolute;
    top: 40%;
    right: 150px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* pastikan item selalu “menempel” di kanan */
    gap: 15px;
    z-index: 3;
}

.icon-item {
    display: flex;
    align-items: center;
    height: 50px;
    width: 50px;
    /* lingkaran awal */
    background: rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    /* setengah tinggi = lingkaran */
    overflow: hidden;
    white-space: nowrap;
    transition: width 0.3s ease, background 0.3s ease;
    transform-origin: right center;
    /* expand ke kiri */
}

/* styling ikon */
.icon-item svg {
    flex-shrink: 0;
    font-size: 1.2rem;
    color: white;
    margin: 0 15px;
    /* sedikit ruang antara ikon & label */
}

/* label hidden awalnya */
.icon-label {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* === Hover State === */
.icon-item:hover {
    width: 100%;
    /* lebar final: lingkaran + ruang label */
    background: rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    border: 1px solid white;
    padding-right: 20px;
}

.icon-item:hover .icon-label {
    opacity: 1;
    color: white !important;
}

.logo-pattern {
    width: 300px;
}

.tagline {
    font-size: 18px;
}

.fancy-frame {
    position: relative;
    padding: 40px 60px;
    border-radius: 15px;
    background: transparent;
    text-align: center;
    width: 100%;
}

/* Crown-like decorative top */
.fancy-frame::before {
    content: "♕";
    position: absolute;
    top: -27px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    background: transparent;
    color: var(--before-color);
}

.color-code-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.card-list-fasilitas {
    display: flex;
    gap: 1.2rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.card-item-fasilitas {
    flex: 0 0 auto;
    width: 230px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: width 0.4s ease;
    /* animate width */
}

.card-img-fasilitas {
    height: 330px;
    background-size: cover;
    background-position: center;
    width: 100%;
    transition: inherit;
    /* ikut transisi dari parent */
}

.card-item-fasilitas:hover,
.card-item-fasilitas.active {
    width: 330px;
    /* akan melebar saat hover atau aktif */
}

/* Optional: overlay teks */
.card-content-fasilitas {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    color: white;
    background: rgba(117, 115, 115, 0.7);
}

/***********************************************************************SLICK**********************************************/

.slick-prev-brand,
.slick-next-brand {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: var(--primary);
    /* Default background color */
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: white;
    /* Icon color */
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    /* Ensure the button is on top */
    transition: background-color 0.3s ease;
    /* Smooth transition */
}

.slick-prev-brand:hover,
.slick-next-brand:hover {
    background-color: var(--primary);
    /* Ensure no transparency on hover */
    color: white;
    /* Icon color */
}

.slick-prev-brand {
    left: 47%;
    top: 110%;
    transform: translateY(-50%);
}

.slick-next-brand {
    right: 47%;
    top: 110%;
    transform: translateY(-50%);
}

.slick-prev-brand:before,
.slick-next-brand:before {
    content: '';
    /* Clear any default content */
    font-family: "bootstrap-icons";
    line-height: 1;
    /* Prevent line height issues */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    /* Adjust as needed */
}

.daftar-kos-brand .slick-slide {
    width: 300px;
    /* atau sesuaikan dengan desain kamu */
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1;
    transform: scale(0.8);
}

.daftar-kos-brand .slick-slide.slick-center {
    transform: scale(1.0);
    opacity: 1;
    z-index: 2;
}

.item-kos {
    width: 300px;
    /* Lebar default semua slide */
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.6;
    z-index: 1;
}

.divider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    /* sesuai gambar */
}

.divider-container .diamonds {
    display: flex;
    gap: 12px;
}

.divider-container .diamonds span {
    width: 25px;
    height: 25px;
    background: var(--primary);
    /* warna coklat tua */
    transform: rotate(45deg);
}

.divider-container .line {
    flex-grow: 1;
    height: 2px;
    background: #e0e0e0;
    margin: 0 10px;
}

.brand-iframe-container {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 15px;
    position: relative;
    background-color: #f8f8f8;
}

.brand-iframe-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
    display: block;
}

.frame-container {
    text-align: center;
}

/* Line + diamonds */
.bottom-line {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 40px;
}

.bottom-line::before {
    content: "";
    flex: 1;
    height: 2px;
    background-color: #cecece;
    margin: 40px 0;
    margin-right: 30px;
}

.bottom-line::after {
    content: "";
    flex: 1;
    height: 2px;
    background-color: #cecece;
    margin: 40px 0;
    margin-left: 30px;
}

.diamonds {
    display: flex;
    gap: 6px;
    z-index: 1;
}

.diamonds span {
    width: 30px;
    height: 30px;
    background-color: #71301a;
    transform: rotate(45deg);
    display: inline-block;
}

.quotes-brand {
    padding: 0 100px;
}

@media (max-width: 768px) {

    .quotes-brand {
        padding: 0 20px;
    }

    .vertical-icons {
        display: none;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-content {
        top: 30%;
    }

    .logo-pattern {
        max-width: 120px;
        margin: 0 auto;
        display: block;
    }

    .tagline {
        font-size: 12px;
        text-align: center;
        max-width: 200px;
        margin: 0 auto;
        display: block;
    }

    .container-below {
        position: relative;
        margin-top: 200px;
    }

    .title-20 {
        font-size: 20px !important;
    }

    .title-12 {
        font-size: 12px !important;
    }

    .bottom-line img {
        height: 35px;
    }

    .slick-prev-brand {
        left: 40%;
    }

    .slick-next-brand {
        right: 40%;
    }
}