/*
==========================================
LSP PPPOLRI
Header CSS
==========================================
*/

:root {
  --primary: #72000e;
  --secondary: #d6dde3;
  --accent: #b4c0ca;
  --bg: #f1f3f5;

  --white: #ffffff;
  --black: #222222;
}

/*=====================================
RESET
======================================*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
}

/*=====================================
TOP HEADER
======================================*/

.top-header {
  background: #ffffff;

  padding: 18px 0;

  border-bottom: 1px solid #ececec;
}

/*====================
LOGO
=====================*/

.logo-wrapper {
  display: flex;

  align-items: center;

  gap: 15px;

  text-decoration: none;
}

.logo-img {
  width: 65px;

  height: 65px;

  object-fit: contain;
}

.logo-text h4 {
  color: var(--primary);

  font-weight: 700;

  margin-bottom: 3px;
}

.logo-text p {
  color: #777;

  font-size: 14px;

  margin: 0;
}

/*====================
AUTH MENU
=====================*/

.auth-menu {
  display: flex;

  justify-content: flex-end;

  align-items: center;

  gap: 12px;
}

.auth-menu a {
  text-decoration: none;

  color: var(--primary);

  font-weight: 600;

  transition: 0.3s;
}

.auth-menu a:hover {
  color: #000;
}

.auth-menu i {
  margin-right: 5px;
}

.divider {
  color: #bbb;
}

/*=====================================
NAVBAR
======================================*/

/*=====================================
FIXED NAVBAR
======================================*/

.navbar-custom {
  background: #72000e;

  position: sticky;

  top: 0;

  z-index: 1040;

  transition: 0.35s ease;
}

.navbar-custom.scrolled {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Beri jarak agar konten tidak tertutup navbar */

.hero {
  margin-top: 72px;
}
/*====================
NAV ITEM
=====================*/

.navbar-nav {
  gap: 5px;
}

.nav-link {
  color: #fff !important;

  font-weight: 500;

  padding: 18px 20px !important;

  transition: 0.3s;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-link.active {
  background: rgba(255, 255, 255, 0.18);
}

/*====================
DROPDOWN
=====================*/

.dropdown-menu {
  border: none;

  border-radius: 10px;

  margin-top: 8px;

  padding: 10px 0;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.dropdown-item {
  padding: 12px 22px;

  transition: 0.3s;
}

.dropdown-item:hover {
  background: var(--primary);

  color: white;
}

/*====================
TOGGLER
=====================*/

.navbar-toggler {
  border: none;

  color: white;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler i {
  color: white;

  font-size: 28px;
}

/*=====================================
STICKY
======================================*/

/* .sticky-top {
  z-index: 999;
} */

/* Efek saat scroll */

.navbar-custom.scrolled {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/*=====================================
MOBILE
======================================*/

@media (max-width: 991px) {
  .top-header {
    text-align: center;
  }

  .logo-wrapper {
    justify-content: center;

    margin-bottom: 15px;
  }

  .auth-menu {
    justify-content: center;

    margin-top: 10px;
  }

  .navbar-collapse {
    background: var(--primary);

    padding: 15px;

    border-radius: 0 0 10px 10px;
  }

  .nav-link {
    padding: 12px 10px !important;
  }

  .dropdown-menu {
    background: #ffffff;

    margin-top: 0;
  }
}

/*=====================================
TABLET
======================================*/

@media (max-width: 768px) {
  .logo-img {
    width: 55px;
  }

  .logo-text h4 {
    font-size: 20px;
  }

  .logo-text p {
    font-size: 13px;
  }
}

/*=====================================
MOBILE KECIL
======================================*/

@media (max-width: 576px) {
  .auth-menu {
    font-size: 14px;

    gap: 8px;
  }

  .logo-text h4 {
    font-size: 18px;
  }

  .logo-text p {
    display: none;
  }
}

/*
=========================================
Navbar Scroll Effect
=========================================
*/

.navbar-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/*
=========================================
Hover Underline
=========================================
*/

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";

  position: absolute;

  left: 15px;

  bottom: 8px;

  width: 0;

  height: 2px;

  background: #ffffff;

  transition: 0.3s;
}

.nav-link:hover::after {
  width: 60%;
}

.nav-link.active::after {
  width: 60%;
}

/*==================================
FOOTER
===================================*/

.footer {
  position: relative;

  overflow: hidden;

  background: linear-gradient(135deg, #72000e, #4b0008);

  color: white;

  margin-top: 80px;
}

.footer-overlay {
  position: absolute;

  inset: 0;

  background: url("../img/background/pattern.png");

  opacity: 0.05;
}

.footer .container {
  position: relative;

  z-index: 2;

  padding: 70px 0;
}

/*=========================
BRAND
=========================*/

.footer-brand img {
  width: 80px;

  margin-bottom: 20px;
}

.footer-brand h3 {
  font-weight: 700;

  margin-bottom: 15px;
}

.footer-brand p {
  color: #d6dde3;

  line-height: 1.9;

  text-align: justify;
}

/*=========================
SOCIAL
=========================*/

.social-media {
  margin-top: 30px;
}

.social-media a {
  width: 45px;

  height: 45px;

  display: inline-flex;

  justify-content: center;

  align-items: center;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);

  color: white;

  margin-right: 10px;

  transition: 0.3s;

  text-decoration: none;
}

.social-media a:hover {
  background: white;

  color: #72000e;
}

/*=========================
CONTACT
=========================*/

.contact-info h4 {
  margin-bottom: 25px;

  font-weight: 700;
}

.contact-info ul {
  list-style: none;

  padding: 0;
}

.contact-info li {
  margin-bottom: 18px;

  display: flex;

  gap: 15px;

  line-height: 1.8;

  color: #d6dde3;
}

.contact-info i {
  color: white;

  font-size: 20px;
}

/*=========================
BOTTOM
=========================*/

.footer-bottom {
  text-align: center;

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  padding: 20px;

  color: #d6dde3;
}

.fixed-navbar {
  position: fixed !important;

  top: 0;

  left: 0;

  width: 100%;

  z-index: 99999;

  animation: slideDown 0.35s ease;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);

    opacity: 0;
  }

  to {
    transform: translateY(0);

    opacity: 1;
  }
}

#navbar-space {
  height: 64px;
}
