:root {
    --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --primary-color: #4A69A5; /* Warna biru yang lebih lembut */
    --primary-hover: #3E5A8E;
    --secondary-color: #f8f9fa;
    --text-color: #343a40;
    --light-gray: #e9ecef;
    --accent-color: rgb(8 60 132 / 1);
    --accent-color2: #F5D042;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Offset for fixed navbar */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    overflow-x: hidden; /* Mencegah horizontal scroll */
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

.navbar-brand {
    font-weight: 700;
    color: var(--text-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-nav-masuk {
    color: black;
    border-color: var(--primary-color);
    background-color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 8px;
}
.btn-nav-masuk:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.btn-nav-daftar {
    background-color: var(--accent-color);
    border: 1px solid var(--primary-color);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 8px;
}
.btn-nav-daftar:hover {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #fff;
}


/* Hero Section */
.hero-section {
    background: linear-gradient(to bottom, #FFFFFF, #96b0e1);
    padding: 100px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

/*.hero-section h1 {*/
/*    font-weight: 700;*/
/*    font-size: 2.0rem; !* Ukuran judul dikecilkan *!*/
/*    color: var(--text-color);*/
/*    line-height: 1.2;*/
/*}*/

.hero-section p {
    font-size: 1.1rem;
    color: #545b60;
    max-width: 500px;
    margin-bottom: 30px;
}

.hero-buttons .btn {
    padding: 12px 24px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Mencegah tombol menyusut */
}

.hero-buttons .btn .bi {
    margin-right: 8px;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 105, 165, 0.2);
}

.btn-primary {
    background-color: var(--accent-color2);
    border-color: var(--accent-color2);
    border: 1px solid var(--accent-color2);
    color: var(--accent-color);
}

.btn-primary:hover {
    background-color: #fff;
    border-color: var(--light-gray);
    color: black;
}

.btn-ajukan {
    background-color: var(--accent-color);
    border: 1px solid var(--primary-color);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 8px;
}
.btn-ajukan:hover {
    background-color: #fff;
    border-color: var(--light-gray);
    color: black;
}

.btn-outline-primary {
    color: var(--text-color);
    border-color: var(--light-gray);
    background-color: #fff;
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.hero-image {
    max-width: 100%;
    height: auto;
}

/* Responsive Typography & Buttons */
@media (max-width: 992px) {
    .hero-section .text-lg-start {
        text-align: center !important;
    }
}
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section {
        padding: 80px 0;
    }
}
@media (max-width: 576px) {
    .hero-buttons .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}


/* Main Content Area */
.main-content {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.content-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.layanan-utama-item .icon-box {
    font-size: 2rem;
    color: var(--primary-color);
    background-color: #e7f0ff;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
}

.layanan-persuratan-card {
    background-color: #fff;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    padding: 1.25rem;
    text-align: center;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.layanan-persuratan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 105, 165, 0.1);
}
.layanan-persuratan-card .fs-2 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}
.layanan-persuratan-card h6 {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Sidebar Card */
.card-custom {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    background-color: #fff;
}

.card-header-custom {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 0.8rem 1.25rem;
    font-size: 0.95rem;
}

.pengumuman-item, .sidebar-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}
.pengumuman-item:first-child, .sidebar-item:first-child {
    padding-top: 0;
}
.pengumuman-item:last-child, .sidebar-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}
.pengumuman-item img, .sidebar-item img {
    width: 70px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
}
.pengumuman-meta {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}
.pengumuman-title {
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}
.pengumuman-title:hover {
    color: var(--primary-color);
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}
.sidebar-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0.75rem;
}
.sidebar-item img {
    width: 70px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}
.sidebar-item-details {
    flex-grow: 1;
}
.sidebar-item-details h6 {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.9rem;
}
.sidebar-item-details .badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25em 0.5em;
    background-color: #e7f0ff !important;
    color: var(--primary-color) !important;
}
.sidebar-item-details small {
    font-size: 0.8rem;
}

.btn-lihat-semua {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.btn-lihat-semua:hover {
    background-color: #fff;
    border-color: var(--light-gray);
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(74, 105, 165, 0.3);
}

/* Alur Proses Section */
.alur-proses-section {
    padding: 4rem 0;
    background: radial-gradient(ellipse at center, #E0E8F5 0%, #FFFFFF 70%);
}
.step-card {
    text-align: center;
    padding: 2rem;
}
.step-icon {
    width: 80px;
    height: 80px;
    background-color: #fff;
    color: var(--primary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.step-card h5 {
    font-weight: 600;
    color: var(--text-color);
}
.step-card p {
    font-size: 0.9rem;
    color: #6c757d;
}

/* FAQ Section */
.faq-section .accordion-button {
    font-weight: 600;
    color: var(--text-color);
}
.faq-section .accordion-button:not(.collapsed) {
    background-color: #e7f0ff;
    color: var(--primary-color);
    box-shadow: none;
}
.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(74, 105, 165, 0.25);
}
.faq-section .accordion-item {
    border-radius: 15px !important;
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

/* Kontak Section */
#kontak .map-container {
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
}
#kontak .contact-details {
    background-color: var(--primary-color);
    color: #fff;
    padding: 2rem;
    border-radius: 15px;
}
#kontak .contact-details h5 {
    font-weight: 600;
}
#kontak .contact-details p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 60px 0 20px 0;
}
.footer h5{
    color: #fff !important;
}
.footer-title {
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    transition: color 0.3s;
    font-size: 0.95rem;
}
.footer-links a:hover {
    color: white;
}
.footer-links .bi {
    margin-right: 8px;
    font-size: 0.8rem;
}
.footer-social a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: transform 0.3s;
    display: inline-block;
}
.footer-social a:hover {
    transform: scale(1.1);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    margin-top: 40px;
}

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@700&display=swap');
.logo {
    text-decoration: none;
    color: inherit;
    gap: 10px; /* jarak antara gambar dan teks */
    align-items: center;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
}

.logo-img {
    height: 40px; /* sesuaikan ukuran logo */
    width: auto;
    object-fit: contain;
}

.sitename {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
    transition: transform 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
}

.logo:hover .sitename {
    color: var(--accent-color);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    transform: scale(1.05);
}

/* Carousel */
.hero-carousel-container .carousel-inner {
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}
.hero-carousel-container .carousel-item img {
    border-radius: 20px;
    height: 400px;
    object-fit: cover;
}
.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.hero-carousel-container:hover .carousel-control-prev,
.hero-carousel-container:hover .carousel-control-next {
    opacity: 1;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    border-radius: 50%;
    padding: 1.2rem;
}

.room-card {
    border-radius: 1rem; border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.2) !important;
}
/* UPDATED: Menambahkan sudut tumpul dan bayangan pada gambar */
.room-card .card-img-top {
    height: 180px;
    object-fit: cover;
    border-radius: 1rem 1rem 0 0; /* Membuat sudut atas gambar tumpul */
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); /* Bayangan halus di bawah gambar */
}
.room-card .card-body {
    display: flex;
    flex-direction: column;
}
.room-card .card-title {
    font-weight: 600; color: #343a40; font-size: 1rem;
}
.room-card .card-text {
    color: #6c757d;
    font-size: 0.8rem;
    flex-grow: 1;
}

.facility-section {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0.5rem 0;
    margin: 0.8rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    scrollbar-width: none;
}
.facility-section::-webkit-scrollbar { display: none; }

.facility-item {
    display: inline-block;
    text-align: center;
    margin-right: 1.25rem;
    flex-shrink: 0;
}
.facility-item:last-child { margin-right: 0; }

.facility-item i {
    font-size: 1.2rem;
    margin-bottom: 0.1rem;
}
.facility-item p {
    font-size: 0.65rem;
    margin-bottom: 0;
    color: #495057;
}
.room-card .btn {
    border-radius: 50px; font-weight: 500; padding: 0.4rem 0; font-size: 0.8rem;
    transition: all 0.2s ease-in-out;
}

.ruangan-section {
    background: linear-gradient(to bottom, #FFFFFF, #96b0e1);
    min-height: 100vh;
    display: flex;
}

.bg-label{
    background-color: var(--accent-color);
}

h5{
    line-height: 1.75rem;
    font-size: 1.125rem;
}



