:root {
  /*---------- Color ----------*/
  --primary: #fe5900;
  --secondary: #171796;
  --background: #ffffff;
  --text: #000000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

/*---------- Back To Top Button Start ----------*/
#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  border-radius: 10px;
  width: 50px;
  padding: 15px;
  background-color: var(--secondary);
  color: var(--background);
}
/*---------- Back To Top Button End ----------*/

/*---------- Navbar Start ----------*/
.navbar{
  background-color: var(--background);
}
.navbar .navbar-brand img{
  width: 200px;
  height: auto;
}
/*---------- Dropdown Start ----------*/
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}
.navbar-nav .nav-link:hover,
.dropdown-menu .dropdown-item:hover {
  background-color: transparent !important;
  color: var(--primary) !important;
}
.dropdown-item:focus,
.dropdown-item:active {
    background-color: transparent !important;
    color: inherit !important;
    outline: none !important;
    box-shadow: none !important;
}
/*---------- Navbar, Dropdown End ----------*/

/*---------- Button Start ----------*/
.btn {
    padding: 0;
    border: none;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.3s ease;
}

.btn:hover {
  color: var(--primary);
}

.btn i {
    opacity: 0;
    transform: translateX(-5px);
    margin-left: 8px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn:hover i {
    opacity: 1;
    transform: translateX(0);
}
/*---------- Button End ----------*/

/*---------- Card Start ----------*/
.card-carousel svg {
  max-width: 70px;
  height: auto; 
}

.card-carousel {
  transition: all 0.3s ease;
}

.card-carousel:hover {
  transform: translateY(-5px);
}

.card-body .display-4 {
  transition: all 0.3s ease;
}

.card:hover .card-body .display-4 {
  transform: scale(1.1);
}
/*---------- Card End ----------*/

/*---------- Card Swiper Start ----------*/
.swiper-slide {
  min-width: 350px;
}
/*---------- Card Swiper End ---------- */

/*---------- Sejarah Start ----------*/
.timeline:before {
  content: "";
  background: var(--primary);
  width: 5px;
  height: 95%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.timeline-item:nth-child(even) .timeline-content {
  float: right;
  padding: 40px 30px 10px 30px;
}
.timeline-item:nth-child(even) .timeline-content .date {
  right: auto;
  left: 0;
}
.timeline-item:nth-child(even) .timeline-content::after {
  content: "";
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  left: -15px;
  border-width: 10px 15px 10px 0;
  border-color: transparent var(--bs-light) transparent transparent;
}
.timeline-item::after {
  content: "";
  display: block;
  clear: both;
}
.timeline-content {
  position: relative;
  width: 45%;
  padding: 10px 30px;
  border-radius: 4px;
  background: var(--bs-light);
}
.timeline-content::after {
  content: "";
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  right: -15px;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent var(--bs-light);
}
.timeline-img {
  width: 30px;
  height: 30px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  margin-top: 25px;
  margin-left: -15px;
}
/*---------- Sejarah End ----------*/

/*---------- Footer Start ----------*/
.quick-links {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}
.footer-icon a {
  color: var(--text);
  text-decoration: none;
}
.footer-icon a:hover {
  color: var(--primary);
}
.quick-links a {
  color: var(--text);
  text-decoration: none;
}
.quick-links a:hover {
  color: var(--primary);
}
/*---------- Footer End ----------*/