/**
* Template Name: BizPage - v3.1.0
* Template URL: https://bootstrapmade.com/bizpage-bootstrap-business-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

body {
  
  /*font-family: "Open Sans", sans-serif;  */
  font-family: "Montserrat", sans-serif;
  background: white;
  margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Mencegah scrollbar */
}

a {
  color: #2b2e42;
  transition: 0.5s;
}

a:hover, a:active, a:focus {
  color: #18d36e;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 0px 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
}

label {
  font-weight: 700;
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 5px 0;
  background: rgba(0, 0, 0, 0.9);
}

#header.header-transparent {
  background: rgba(172, 169, 254, 0.322);
/*--  background: transparent;--*/
}

#header .logo {
  font-size: 40px;
  color: #ffd152;  
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  margin: 0;
  padding: 0;
  padding-left: 8px;
  border-left: 8px solid #ffd152;
}

#header .nama {
  font-size: 45px;
  color: #ffd152;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  
}

#header .alamat {
  font-size: 18px;
  padding-top: 2px;  
  color: #fff;
  letter-spacing: 1px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

#header .tanggal {
  font-size: 18px;
  padding-top: 2px;  
  color: #fff;
  letter-spacing: 1px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

#header .logo a {
  color: #fff;
}

#header .logo img {
  max-height: 40px;
}

@media (max-width: 992px) {
  #header .logo {
    font-size: 28px;
  }
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */

.nav-menu p {
  display: block;
  position: relative;
  color: #2b2e42;
  transition: 0.3s;
  font-size: 35px;
  font-family: "Montserrat", sans-serif;  
  font-weight: 600;
  background-color: #f7dc6f;  
  padding-right: 10px;
  padding-left: 10px;
  
}

.nav-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu > ul {
  display: flex;
}

.nav-menu > ul > li {
  position: relative;
  white-space: nowrap;
  padding: 10px 0 10px 28px;
}

.nav-menu a {
  display: block;
  position: relative;
  color: #fff;
  transition: 0.3s;
  font-size: 15px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

.nav-menu a:hover, .nav-menu .active > a, .nav-menu li:hover > a {
  color: #18d26e;
}

.nav-menu .drop-down ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.nav-menu .drop-down:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.nav-menu .drop-down li {
  min-width: 180px;
  position: relative;
}

.nav-menu .drop-down ul a {
  padding: 10px 20px;
  font-size: 13px;
  text-transform: none;
  color: #333333;
}

.nav-menu .drop-down ul a:hover, .nav-menu .drop-down ul .active > a, .nav-menu .drop-down ul li:hover > a {
  color: #18d26e;
}

.nav-menu .drop-down > a:after {
  content: "\ea99";
  font-family: IcoFont;
  padding-left: 5px;
}

.nav-menu .drop-down .drop-down ul {
  top: 0;
  left: calc(100% - 30px);
}

.nav-menu .drop-down .drop-down:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
}

.nav-menu .drop-down .drop-down > a {
  padding-right: 35px;
}

.nav-menu .drop-down .drop-down > a:after {
  content: "\eaa0";
  font-family: IcoFont;
  position: absolute;
  right: 15px;
}

@media (max-width: 1366px) {
  .nav-menu .drop-down .drop-down ul {
    left: -90%;
  }
  .nav-menu .drop-down .drop-down:hover > ul {
    left: -100%;
  }
  .nav-menu .drop-down .drop-down > a:after {
    content: "\ea9d";
  }
}


/*--------------------------------------------------------------93vh
# Intro Section
--------------------------------------------------------------*/
#intro {
  width: 100%;
  height: 100vh;  
  overflow: hidden;
  position: relative;
}

@media (max-height: 500px) {
  #intro {
    height: 150vh;
  }
}

#intro .carousel, #intro .carousel-inner, #intro .carousel-item, #intro .carousel-item::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0; 
}

#intro .carousel-item {
  background-size: cover;
  /* background-size:contain; */
  background-position: center;
  background-repeat: no-repeat;
}

#intro .carousel-item::before {
  content: '';
  background-color: rgba(0, 0, 0, 0.2); /* Pengaturan opacity */
}

#intro .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 70px;
  left: 50px;
  right: 50px;
}

#intro .container {
  text-align: center;
}

#intro h2 {
  color: #ebd303;
  margin-bottom: 30px;
  font-size: 42px;
  font-weight: 700;
}

@media (max-width: 768px) {
  #intro h2 {
    font-size: 28px;
  }
}

#intro p {
  width: 100%;
  margin: 0 auto 0 auto;
  color: #fff;
  font-size: 35px;
  font-weight: 600;
}

@media (min-width: 1024px) {
  #intro p {
    width: 100%;
  }
}

#intro .carousel-fade {
  overflow: hidden;
}

#intro .carousel-fade .carousel-inner .carousel-item {
  transition-property: opacity;
}

#intro .carousel-fade .carousel-inner .carousel-item,
#intro .carousel-fade .carousel-inner .active.carousel-item-left,
#intro .carousel-fade .carousel-inner .active.carousel-item-right {
  opacity: 0;
}

#intro .carousel-fade .carousel-inner .active,
#intro .carousel-fade .carousel-inner .carousel-item-next.carousel-item-left,
#intro .carousel-fade .carousel-inner .carousel-item-prev.carousel-item-right {
  opacity: 1;
  transition: 1s;

}

#intro .carousel-fade .carousel-inner .carousel-item-next,
#intro .carousel-fade .carousel-inner .carousel-item-prev,
#intro .carousel-fade .carousel-inner .active.carousel-item-left,
#intro .carousel-fade .carousel-inner .active.carousel-item-right {
  left: 0;
  transform: translate3d(0, 0, 0);
}

#intro .carousel-control-prev, #intro .carousel-control-next {
  width: 10%;
}

@media (min-width: 1024px) {
  #intro .carousel-control-prev, #intro .carousel-control-next {
    width: 5%;
  }
}

#intro .carousel-control-next-icon, #intro .carousel-control-prev-icon {
  background: none;
  font-size: 32px;
  line-height: 1;
}

#intro .carousel-indicators li {
  cursor: pointer;
}


/*--------------------------------------------------------------
# Clock
--------------------------------------------------------------*/
#clock {
  position: fixed; /* Tetap di bagian bawah layar */
  bottom: 0;
  left: 0;
  width: 100%;
  /*background: transparent; /* Transparan agar tidak menutupi area tengah */
  z-index: 1000; /* Pastikan berada di atas #text */
  display: flex;
  font-size: 20px;
  justify-content: space-between; /* Pisahkan kiri dan kanan */
  align-items: center;
  height: 42px; /* Pastikan cukup ruang */
  padding: 0px 0px;
  box-sizing: border-box;
  font-weight: bold;
}

#clock .left, #clock .right {
  background:rgb(247, 247, 4); /* Warna solid agar jelas */
  color: rgb(6, 6, 6);  
  height: 40px; /* Sesuaikan tinggi */
  display: flex;
  justify-content: center; 
  align-items: center; 
  text-align: center;  
  font-weight: bold;
  padding-top: 20px;
  border-radius: 5px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2); /* Efek bayangan */
}

#clock .left {
  position: absolute;
  left: 0;
  width:250px; 
  margin-left: 0px; /* Jarak dari tepi layar */
}

#clock .right {
  position: absolute;
  right: 0;
  width:300px;
  margin-right: 0px; /* Jarak dari tepi layar */
}

#clock h2, #clock h3 {
  font-size: 20px;
  font-weight: 700;
  color:rgb(0, 0, 0);
}

/*--------------------------------------------------------------
# Counter
--------------------------------------------------------------*/
#counter {
  padding-top: 0px;
  position: relative;
  background: rgb(120, 175, 159);   
}

#counter .text { 
  background: rgba(120, 175, 159, 0.9);  
  color: #fff; 
  position: absolute;  
  bottom: 100px;
  z-index: 2;  
  height: 30vh;
  width: 70%; 
  text-align: center;
  align-items: center; /* Pusatkan secara vertikal */
} 

#counter .text h2 {
  font-size: 30px;
  font-weight: 700;
}

/*--------------------------------------------------------------
# Running-Text
--------------------------------------------------------------*/
#text {
  position: absolute;
  bottom: 0px;
  width: 100%;
  display: flex;
  align-items: center;
}

#text .left-space, #text .right-space {
  width: 200px; /* Ruang kosong di kiri dan kanan */
  height: 50px;
  background: orange; /* Warna solid */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
  font-weight: bold;
}

#text .running-text {
  background:white;  /* Warna solid, tidak transparan */
  color:  black; 
  position: absolute;  
  bottom: 0px;
  z-index: 2;  
  height: 40px;
  width: calc(100% - 400px); /* Mengurangi 200px di kanan dan kiri */
  right: 200px; /* Memulai dari 200px dari kanan */
  white-space: nowrap;
  font-weight: bold;
  font-weight: 700;
  font-size: 20px;  
  overflow: hidden;
}

#text .running-text span {
  display: inline-block;
  position: relative;
  animation: runningText 10s linear infinite;
}

#text h2, #text h3 {
  font-size: 20px;
  font-weight: 700;
  color:rgb(0, 0, 0);
}

@keyframes runningText {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

/*--------------------------------------------------------------
# Prayer Section
#prayer .bg1 {
  background: rgba(120, 175, 159, 0.7);
}
--------------------------------------------------------------*/
#prayer {
  position: relative; /* Pastikan tetap di atas tanpa menutupi #text */
  width: 100%;
  bottom:80px;
  padding-bottom: 50px; /* Memberikan ruang agar tidak bertabrakan dengan #text */
  z-index: 1; /* Lebih rendah dari #text */
}

#prayer .bg1 {
  background: rgba(64, 3, 247, 0.998);
}

#prayer h3 {  
  color: #c8c8f8;
  font-weight: 700;
  font-size: 25px;  
  margin-bottom: 0px; 
  text-align: center;
}

#prayer h2 { 
  color: #c8c8f8;
  font-weight: 700;
  font-size: 25px; 
  margin-bottom: 0px;
  text-align: center;  
}

#prayer .selected {
  color: #060aff;
  background: rgb(254, 255, 255);
  padding: 0px 25px;
}

/******************************************
*
*******************************************/

/* Area Running Text */
#runningTextContainernya {
  position: fixed;
  top: 15%; /* 50% dari layar (dibagi dua karena tinggi 50%) */
  left: 0;
  width: 100%;
  height: 70vh; /* Setengah dari tinggi layar */
  background: rgba(0, 0, 0,0.8); /* Transparan */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Di atas semua objek */
  overflow: hidden;
  display: none; /* Default tidak tampil */
}

/* Running Text */
#runningTextnya {
  white-space: nowrap;
  color: white;
  font-weight: bold;
  font-size: 50vh; /* Sesuai tinggi area */
  animation: runningTextnya 40s linear infinite;
}

#StopTextnya {
  white-space: nowrap;
  color: white;
  font-weight: bold;
  font-size: 50vh; /* Sesuai tinggi area */
  align-items: center;
}

/* Animasi Teks Berjalan */
@keyframes runningTextnya {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}