/********** Template CSS **********/
:root {
    --primary: #FDA12B;
    --secondary: #8D9297;
    --light: #F8F9FA;
    --dark: #182333;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-left: 15px;
    padding: 25px 0;
    color: var(--secondary);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

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

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid #1e06fc;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    background: rgba(0, 0, 0, .65);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--dark);
    border: 15px solid var(--dark);
    border-radius: 50px;
}

.carousel-caption .breadcrumb-item+.breadcrumb-item::before {
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 3rem;
        height: 3rem;
        border-width: 12px;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/kks.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
.facts-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, .65);
}

.facts-overlay h1 {
    font-size: 120px;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
}

.facts-overlay a:hover {
    color: var(--primary) !important;
}


/*** Service ***/
.service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: var(--primary);
    opacity: 0;
    transition: .5s;
}

.service-item:hover .service-text::before {
    height: 100%;
    opacity: 1;
}

.service-text * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-text * {
    color: #FFFFFF !important;
}


/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}
.saham {
    background: url(../img/saham.jpg) center center no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    
}

.sikap {
    background: url(../img/sikap.jpg) center center no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.sibuhar {
    background: url(../img/sibuhar.jpg) center center no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.sisuka {
    background: url(../img/sisuka.jpg) center center no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.sibudi {
    background: url(../img/sibudi.jpg) center center no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.sipeka {
    background: url(../img/sipeka.jpg) center center no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.sipintar {
    background: url(../img/sipintar.jpg) center center no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.siharta {
    background: url(../img/siharta.jpg) center center no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.simapan {
    background: url(../img/simapan.jpg) center center no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.superstar {
    background: url(../img/superstar.jpg) center center no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.sitaman {
    background: url(../img/sitaman.jpg) center center no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.siraya {
    background: url(../img/siraya.jpg) center center no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.pu {
    background: url(../img/pu2.jpg) center center no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

/*** Team ***/
.team-text {
    position: absolute;
    width: 75%;
    bottom: 30px;
    left: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    width: 100%;
}

.team-text * {
    transition: .5s;
}

.team-item:hover .team-text * {
    letter-spacing: 2px;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    color: #999999;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

/* Mengatur ruang antar gambar dalam slider */
.carousel-item {
    padding: 15px; /* Memberikan celah antar gambar */
  }
  
  /* Mengatur tampilan overlay untuk setiap gambar */
  .facts-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
  }
  
  .facts-overlay h1 {
    font-size: 4rem;
  }
  
  .facts-overlay h4 {
    font-size: 1.5rem;
  }
  
  .facts-overlay p {
    font-size: 1rem;
    margin-bottom: 15px;
  }
  
  /* tambah baru */
  /* Membuat tombol 'READ MORE' lebih menarik */
  a.text-white.small {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid white;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
  }
  
  a.text-white.small:hover {
    background-color: white;
    color: #007bff;
    border-color: #007bff;
    transform: scale(1.1);
  }
  
  /* Tombol kontrol slider (prev, next) */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: #007bff;
    border-radius: 50%;
  }
  
  /* Menambahkan efek animasi pada gambar */
  .carousel-item img {
    transition: transform 0.5s ease;
  }
  
  .carousel-item:hover img {
    transform: scale(1.1); /* Efek memperbesar gambar saat hover */
  }

  /* Kartu Carousel */
.card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    height: 300px; /* Menyesuaikan tinggi gambar sesuai keinginan */
}

/* Warna latar belakang untuk setiap kartu */
.bg-sibuhar {
    background-color: #50C878; /* Ganti dengan gambar atau warna latar belakang yang sesuai */
}

.bg-simanis {
    background-color: #50C878;
}

.bg-sidandik {
    background-color: #3498db;
}

.bg-sisuka {
    background-color: #1abc9c;
}

.bg-sikasi {
    background-color: #e74c3c;
}

/* Info text di dalam kartu */
.info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-radius: 5px;
}

.title-cs {
    font-size: 24px;
    font-weight: bold;
}

.small-ct {
    font-size: 14px;
    font-weight: lighter;
}

/* Tombol 'Selengkapnya' */
.btn-danger {
    background-color: #0025f7;
    border-color: #b3ff00;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.btn-danger:hover {
    background-color: #c0392b;
}

/* Owl Carousel Configurations */
.owl-carousel .item {
    padding: 10px;
}

/* Adjustments for responsive */
@media (max-width: 768px) {
    .owl-carousel .item {
        padding: 5px;
    }
}

/* Kartu dengan gambar latar belakang */
.card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 400px; /* Atur sesuai dengan tinggi kartu */
    background-size: cover;
    background-position: center;
}

/* Informasi teks di atas kartu */
.info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: white;
    background: #0000FF; /* Overlay hitam transparan */
    padding: 15px;
    border-radius: 5px;
}

/* Judul dan teks */
.title-cs {
    font-size: 24px;
    font-weight: bold;
}

.small-ct {
    font-size: 14px;
    font-weight: lighter;
}

.description {
    margin-top: 10px;
}

/* Tombol 'Selengkapnya' */
.btn-danger {
    background-color: #32CD32;
    border-color: #e74c3c;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.btn-danger:hover {
    background-color: #c0392b;
}

/* Owl Carousel Configurations */
.owl-carousel .item {
    padding: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .owl-carousel .item {
        padding: 5px;
    }
}

/* baru */
/* Menyesuaikan ukuran font hanya pada menu navigasi */
#navbarCollapse {
    font-size: 70%;
}

/* Pastikan dropdown tetap terlihat jelas */
#navbarCollapse .dropdown-menu {
    font-size: 100%;
}

/* Responsif: Kembalikan ukuran font ke normal di layar kecil */
@media (max-width: 768px) {
    #navbarCollapse {
        font-size: 90%;
    }
}

/* fotter */
  /* Footer Styling */

.footer {
    background-color: #222; /* Warna gelap untuk footer */
    color: #ccc; /* Warna teks */
    font-size: 14px;
}

.footer h4 {
    color: #fff; /* Warna teks judul */
    font-size: 18px;
}

.footer p {
    color: #ddd;
    font-size: 11px;
    line-height: 1.6;
}

/* Sosial Media Buttons */
.footer .btn-square {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 4px;
    color: #ccc;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
}

.footer .btn-square:hover {
    background-color: #007bff;
    color: white;
}

/* Links */
.footer .btn-link {
    display: block;
    padding: 5px 0;
    color: #bbb;
    font-size: 11px;
    transition: all 0.3s ease;
}

.footer .btn-link:hover {
    color: #007bff;
    text-decoration: underline;
}

/* Copyright Section */
.copyright {
    background: #222;
    color: #bbb;
    padding: 20px 0;
    font-size: 10px;
}

.copyright a {
    color: #ddd;
    text-decoration: none;
}

.copyright a:hover {
    color: #007bff;
    text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

    .footer .btn-link {
        display: inline-block;
        margin: 5px;
    }
}

/* baru 2 */
.dashboard-container {
    transform: scale(0.8);
    transform-origin: left top;
    width: 125%;
    /* Untuk mengimbangi skala yang mengecil */
}