/**
* Template Name: Personal - v4.10.0
* Template URL: https://bootstrapmade.com/personal-free-resume-bootstrap-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html, body {
  height: 100%;
}

body {
  background-color: #040404; /* warna dasar kalau bg belum kebaca */
  position: relative;
  z-index: 1;
}

.logo-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.logo {
    position: absolute;
    top: 0;
    right: 0;
    animation: slideLeft 10s linear infinite; /* Ubah nilai durasi sesuai kebutuhan */
}

@keyframes slideLeft {
    0% {
        right: 100%; /* Mulai dari kanan */
    }
    100% {
        right: -100%; /* Geser ke kiri hingga keluar dari layar */
    }
}


body {
  font-family: "Open Sans", sans-serif;
  background-color: #040404;
  color: #fff;
  position: relative;
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../img/background.webp") center center / cover no-repeat;
  z-index: -1;
  pointer-events: none;
}

a {
  color: #18d26e;
  text-decoration: none;
}

a:hover {
  color: #35e888;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: ease-in-out 0.3s;
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  z-index: 997;
  overflow-y: auto;
}

#header * {
  transition: ease-in-out 0.3s;
}

#header h1 {
  font-size: 48px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
}

#header h1 a,
#header h1 a:hover {
  color: #fff;
  line-height: 1;
  display: inline-block;
}

#header h2 {
  font-size: 24px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.8);
}

#header h2 span {
  color: #fff;
  border-bottom: 2px solid #18d26e;
  padding-bottom: 6px;
}

#header img {
  padding: 0;
  margin: 0;
}

#header .social-links {
  margin-top: 40px;
  display: flex;
}

#header .social-links a {
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  line-height: 1;
  margin-right: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

#header .social-links a:hover {
  background: #18d26e;
}

@media (max-width: 992px) {
  #header h1 {
    font-size: 36px;
  }

  #header h2 {
    font-size: 20px;
    line-height: 30px;
  }

  #header .social-links {
    margin-top: 15px;
  }

  #header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Header Top */
#header.header-top {
  height: 80px;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
}

#header.header-top .social-links,
#header.header-top h2 {
  display: none;
}

#header.header-top h1 {
  margin-right: auto;
  font-size: 36px;
}

#header.header-top .container {
  display: flex;
  align-items: center;
}

#header.header-top .navbar {
  margin: 0;
}

@media (max-width: 768px) {
  #header.header-top {
    height: 60px;
  }

  #header.header-top h1 {
    font-size: 26px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
  margin-top: 35px;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar li+li {
  margin-left: 30px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #18d26e;
  visibility: hidden;
  width: 0px;
  transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before,
.navbar li:hover>a:before,
.navbar .active:before {
  visibility: visible;
  width: 25px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #fff;
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
  position: fixed;
  right: 15px;
  top: 15px;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  transition: 0.3s;
  z-index: 999;
  margin-top: 0;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 45px;
  left: 15px;
  padding: 10px 0;
  overflow-y: auto;
  transition: 0.3s;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.navbar-mobile li {
  padding: 12px 20px;
}

.navbar-mobile li+li {
  margin: 0;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  font-size: 16px;
  position: relative;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  overflow: hidden;
  position: absolute;
  width: 100%;
  top: 140px;
  bottom: 100%;
  opacity: 0;
  transition: ease-in-out 0.4s;
  z-index: 2;
}

section.section-show {
  top: 100px;
  bottom: auto;
  opacity: 1;
  padding-bottom: 45px;
}

section .container {
  background: rgba(0, 0, 0, 0.9);
  padding: 30px;
}

@media (max-width: 768px) {
  section {
    top: 120px;
  }

  section.section-show {
    top: 80px;
  }
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 20px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaaaaa;
  font-family: "Poppins", sans-serif;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: #4ceb95;
  margin: 4px 10px;
}

.section-title p {
  margin: 0;
  margin: -15px 0 15px 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #fff;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about-me .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: #18d26e;
}

.about-me .content ul {
  list-style: none;
  padding: 0;
}

.about-me .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about-me .content ul strong {
  margin-right: 10px;
}

.about-me .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: #18d26e;
  line-height: 0;
}

.about-me .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: #444444;
  padding: 20px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
}

.contact .info-box i.bx {
  font-size: 24px;
  color: #18d26e;
  border-radius: 50%;
  padding: 14px;
  float: left;
  background: rgba(255, 255, 255, 0.1);
}

.contact .info-box h3 {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  margin: 10px 0 8px 68px;
}

.contact .info-box p {
  padding: 0;
  color: #fff;
  line-height: 24px;
  font-size: 14px;
  margin: 0 0 0 68px;
}

.contact .info-box .social-links {
  margin: 5px 0 0 68px;
  display: flex;
}

.contact .info-box .social-links a {
  font-size: 18px;
  display: inline-block;
  color: #fff;
  line-height: 1;
  margin-right: 12px;
  transition: 0.3s;
}

.contact .info-box .social-links a:hover {
  color: #18d26e;
}

.contact .php-email-form {
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
}

.contact .php-email-form .error-message {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  transition: 0.3s;
  color: #fff;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  background-color: rgba(255, 255, 255, 0.11);
}

.contact .php-email-form input::-moz-placeholder,
.contact .php-email-form textarea::-moz-placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #18d26e;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #15bb62;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Credits
--------------------------------------------------------------*/
.credits {
  position: fixed;
  right: 0;
  left: 0;
  bottom: 0;
  padding: 15px;
  text-align: right;
  font-size: 13px;
  color: #fff;
  z-index: 999999;
}

@media (max-width: 992px) {
  .credits {
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
  }
}

.credits a {
  color: #18d26e;
  transition: 0.3s;
}

.credits a:hover {
  color: #fff;
}

#header {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}
.site-bg{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.cert-img{
  width: 100%;
  border-radius: 10px;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Mobile */
@media (max-width: 991px) {
  .cert-img{
    height: 220px;
    object-fit: cover;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .cert-img{
    height: auto;
    object-fit: contain;
  }
}
.bg-image {
  pointer-events: none;
  user-select: none;
}
/* =========================
   Contact Form - Elegant UI
   ========================= */

/* wrapper form kamu: .info-box sudah ada dari template,
   jadi kita poles sedikit biar nyatu */
.contact .info-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
}

/* Judul form */
.contact .info-box h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.92);
}

/* spacing form */
.contact .contact-form {
  margin-top: 10px;
}

/* input + textarea */
.contact .contact-form .form-control {
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  padding: 12px 14px;
  transition: 0.2s ease;
  box-shadow: none;
}

.contact .contact-form textarea.form-control {
  height: auto;
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}

/* placeholder */
.contact .contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

/* focus effect */
.contact .contact-form .form-control:focus {
  border-color: rgba(24, 210, 110, 0.65);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 0 0 4px rgba(24, 210, 110, 0.15);
  outline: none;
}

/* tombol */
.contact .contact-form .btn {
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 1px solid rgba(24, 210, 110, 0.45);
  background: linear-gradient(135deg, rgba(24, 210, 110, 0.95), rgba(24, 210, 110, 0.65));
  box-shadow: 0 12px 30px rgba(24, 210, 110, 0.12);
  transition: 0.2s ease;
}

.contact .contact-form .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(24, 210, 110, 0.18);
  filter: saturate(1.05);
}

.contact .contact-form .btn:active {
  transform: translateY(0px);
}

/* rapihin jarak antar field */
.contact .contact-form .mb-3 {
  margin-bottom: 14px !important;
}

/* RESPONSIVE: biar gak “kepanjangan” di desktop */
@media (min-width: 992px) {
  .contact .contact-form {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* RESPONSIVE: mobile lebih padat + nyaman */
@media (max-width: 575.98px) {
  .contact .info-box {
    padding: 18px !important;
    border-radius: 12px;
  }

  .contact .info-box h3 {
    font-size: 20px;
  }

  .contact .contact-form .form-control {
    height: 46px;
    border-radius: 11px;
  }

  .contact .contact-form textarea.form-control {
    min-height: 130px;
  }
}
/* Judul khusus form */
.form-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 25px;
  color: #fff;
  position: relative;
}

.form-title::after {
  content: '';
  width: 60px;
  height: 3px;
  background: #18d26e;
  display: block;
  margin: 12px auto 0;
  border-radius: 5px;
}
/* FIX footer credits nimpuk konten */
.credits{
  position: static !important;
  width: 100%;
  text-align: center;
  padding: 18px 12px;
  margin-top: 18px;
  background: transparent;
}
/* Biar contact ga kepotong sama footer */
#contact{
  padding-bottom: 90px; /* ruang aman */
}


/* biar konten bawah gak ketutup footer */
body{
  padding-bottom: 48px;
}
.credits{
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;

  z-index: 99999 !important;

  margin: 0 !important;
  padding: 10px 12px !important;
  text-align: center !important;

  background: rgba(0,0,0,.75) !important;
  backdrop-filter: blur(6px);
}

/* biar konten bawah gak ketutup footer */
body{
  padding-bottom: 60px !important;
}
/* ===== Dropdown Certificate ===== */

.navbar .dropdown-menu-custom {
  display: none;
}

.navbar .dropdown-menu-custom.show-dropdown {
  display: block;
}

.navbar-mobile .dropdown-menu-custom {
  position: static !important;
  display: none;
  border: none !important;
  padding: 10px 0 0 20px !important;
  margin: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}

.navbar-mobile .dropdown-menu-custom.show-dropdown {
  display: block !important;
}

.navbar-mobile .dropdown-menu-custom li {
  padding: 8px 0 !important;
}

.navbar-mobile .dropdown > a {
  cursor: pointer;
}

.dropdown-menu-custom a {
  color: #aaa !important;
  font-size: 16px;
  text-decoration: none;
}

.dropdown-menu-custom a:hover {
  color: #fff !important;
}
/* ===== Dropdown Certificate Final ===== */

.navbar .dropdown-menu-custom {
  display: none !important;
  list-style: none;
}

.navbar .dropdown-menu-custom.show-dropdown {
  display: block !important;
}

/* Desktop */
@media (min-width: 992px) {
  .navbar .dropdown {
    position: relative;
  }

  .navbar .dropdown-menu-custom {
    position: absolute !important;
    top: 32px;
    left: 0;
    min-width: 180px;
    padding: 10px 0 !important;
    margin: 0 !important;
    background: rgba(0, 0, 0, 0.85) !important;
    border-radius: 10px;
    z-index: 99999;
  }

  .navbar .dropdown-menu-custom li {
    padding: 6px 14px !important;
    margin: 0 !important;
  }
}

/* Mobile */
@media (max-width: 991px) {
  .navbar-mobile .dropdown-menu-custom {
    position: static !important;
    padding: 10px 0 0 20px !important;
    margin: 0 !important;
    border: none !important;
    overflow: visible !important;
    background: transparent !important;
  }

  .navbar-mobile .dropdown-menu-custom li {
    padding: 8px 0 !important;
  }
}

.dropdown-menu-custom a {
  color: #aaa !important;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu-custom a:hover {
  color: #fff !important;
}
/* Fix dropdown kepotong header */
#header,
#header.header-top {
  overflow: visible !important;
}

.navbar,
.navbar .dropdown,
.navbar .dropdown-menu-custom {
  z-index: 999999 !important;
}