html {
  scroll-behavior: smooth !important;
}

.Logo-renaldi {
  height: 50px;
  width: 50px;
  border-radius: 10px;
}

/*skills bar*/

.skill-saya-tampilan {
  align-items: center;
  margin-top: 25px;
  position: relative;
}

::selection {
  color: #fff;
  background: #6665ee;
}

.skill-bars {
  padding: 25px 30px;
  width: 100%px;
  background: #fff;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  position: relative;

}

.skill-bars .bar {
  margin: 20px 0;
}

.skill-bars .bar:first-child {
  margin-top: 0px;
}

.skill-bars .bar .info {
  margin-bottom: 5px;
}

.skill-bars .bar .info span {
  font-weight: 500;
  font-size: 17px;
  opacity: 0;
  animation: showText 0.5s 1s linear forwards;
}

@keyframes showText {
  100% {
    opacity: 1;
  }
}

.skill-bars .bar .progress-line {
  height: 10px;
  width: 100%;
  background: #f0f0f0;
  position: relative;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 10px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05),
    0 1px rgba(255, 255, 255, 0.8);
  animation: animate 1s cubic-bezier(1, 0, 0.5, 1) forwards;
}

@keyframes animate {
  100% {
    transform: scaleX(1);
  }
}

.bar .progress-line span {
  height: 100%;
  position: absolute;
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: left;
  background: #6665ee;
  animation: animate 1s 1s cubic-bezier(1, 0, 0.5, 1) forwards;
}

.bar .progress-line.html span {
  width: 100%;
}

.bar .progress-line.css span {
  width: 67%;
}

.bar .progress-line.PHP span {
  width: 33%;
}

.bar .progress-line.MySQL span {
  width: 48%;
}

.bar .progress-line.JavaScript span {
  width: 100%;
}

.progress-line span::before {
  position: absolute;
  content: "";
  top: -10px;
  right: 0;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-bottom-width: 0px;
  border-right-width: 0px;
  border-top-color: #000;
  opacity: 0;
  animation: showText2 0.5s 1.5s linear forwards;
}

.progress-line span::after {
  position: absolute;
  top: -28px;
  right: 0;
  font-weight: 500;
  background: #000;
  color: #fff;
  padding: 1px 8px;
  font-size: 12px;
  border-radius: 3px;
  opacity: 0;
  animation: showText2 0.5s 1.5s linear forwards;
}

@keyframes showText2 {
  100% {
    opacity: 1;
  }
}

.progress-line.html span::after {
  content: "100%";
}

.progress-line.css span::after {
  content: "67%";
}

.progress-line.PHP span::after {
  content: "33%";
}

.progress-line.MySQL span::after {
  content: "48%";
}

.progress-line.JavaScript span::after {
  content: "100%";
}


/* .teks-berubah disatukan di section Hero enhancement bawah */


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

/*-----------------
Social Youtube
----------------*/

.social-icon-link-yt {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-large);
  font-size: var(--copyright-font-size);
  color: black;
  display: inline-block;
  vertical-align: top;
  margin: 2px 2px 5px 2px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
}

.social-icon-link-yt:hover {
  background: black;
  border-color: transparent;
  color: white;
}

/*------------------
Social Wa
------------------*/
.social-icon-link-wa {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-large);
  font-size: var(--copyright-font-size);
  color: #075e54;
  display: inline-block;
  vertical-align: top;
  margin: 2px 2px 5px 2px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
}

.social-icon-link-wa:hover {
  background: #075e54;
  border-color: transparent;
  color: white;
}

/*------------------
Social Email
------------------*/
.social-icon-link-mail {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-large);
  font-size: var(--copyright-font-size);
  color: #ea4335;
  display: inline-block;
  vertical-align: top;
  margin: 2px 2px 5px 2px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
}

.social-icon-link-mail:hover {
  background: var(--secondary-color);
  border-color: transparent;
  color: #ffff;
}

/*------------------
Social Discord
------------------*/
.social-icon-link-dc {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-large);
  font-size: var(--copyright-font-size);
  color: #c32aa3;
  display: inline-block;
  vertical-align: top;
  margin: 2px 2px 5px 2px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
}

.social-icon-link-dc:hover {
  background: #7289da;
  border-color: transparent;
  color: #ffff;
}

/*---------------------------------------
  MODERN PROJECT CARDS (SESUAI TEMA WEB)
-----------------------------------------*/
.project-card-modern {
  background: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-top: 0;
  margin-bottom: 0;
}

.project-card-modern:hover {
  transform: translateY(-6px);
  border-color: var(--secondary-color);
  box-shadow: 0 12px 28px rgba(20, 183, 137, 0.18);
}

.project-card-img-wrapper {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 180px;
  overflow: hidden;
  background: var(--section-bg-color);
  cursor: pointer;
}

.project-card-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transition: transform 0.5s ease;
}

.project-card-img-wrapper img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.project-card-modern:hover .project-card-img {
  transform: scale(1.06);
}

.project-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: var(--white-color);
}

.project-card-title {
  color: var(--dark-color) !important;
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
  margin-bottom: 12px;
  min-height: 3.1rem;
  display: flex;
  align-items: flex-start;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  min-height: 58px;
  align-content: flex-start;
  align-items: flex-start;
}

.project-tech-badge {
  background: #f1f5f9;
  color: var(--p-color);
  font-size: 0.75rem;
  font-weight: var(--font-weight-medium);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.project-card-modern:hover .project-tech-badge {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  background: rgba(20, 183, 137, 0.08);
}

.project-preview-link {
  color: var(--secondary-color) !important;
  font-size: 0.95rem;
  font-weight: var(--font-weight-bold);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap 0.2s ease, color 0.2s ease;
}

/*---------------------------------------
  SERVICES CLEANUP & EQUAL HEIGHTS
-----------------------------------------*/
.services-thumb {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  padding: 32px !important;
  position: relative !important;
  bottom: 0 !important;
  margin-bottom: 0 !important;
}

.services-thumb-up {
  position: relative !important;
  bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.services-thumb .custom-btn {
  margin-top: auto !important;
  align-self: flex-start;
  z-index: 2;
}

/*---------------------------------------
  STUNNING HERO UI ENHANCEMENT (CLEAR & LEGIBLE BADGES)
-----------------------------------------*/
.hero-title-wrap {
  background: rgba(255, 255, 255, 0.98);
  padding: 10px 24px 10px 14px;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  border: 2px solid rgba(20, 183, 137, 0.3);
  backdrop-filter: blur(10px);
  margin-bottom: 0 !important;
  min-height: 56px;
  width: 100%;
  max-width: 510px;
  white-space: nowrap;
}

.hero-title {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #1f2937 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 12px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.3px !important;
  margin-left: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;
}

.teks-berubah {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  padding: 10px 26px !important;
  border-radius: 50px !important;
  border: 2px solid rgba(20, 183, 137, 0.3) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  color: #14B789 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.6px !important;
  word-spacing: 2px !important;
  min-height: 50px;
  width: 100%;
  max-width: 450px;
  white-space: nowrap;
  overflow: hidden;
}


/*---------------------------------------
  STUNNING HERO UI ENHANCEMENT (HERO LAYOUT & Z-INDEX FIX)
-----------------------------------------*/
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #133a2f 50%, #0d4d3a 100%) !important;
  position: relative !important;
  overflow: hidden !important;
  padding-top: 140px !important;
  padding-bottom: 180px !important;
}

.hero .container {
  position: relative !important;
  z-index: 10 !important;
}

.hero svg {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 120px !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.hero-avatar-card {
  position: relative;
  border-radius: 30px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-avatar-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(20, 183, 137, 0.3);
}

.hero-avatar-card img {
  border-radius: 22px;
  max-height: 320px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-btn-primary {
  background: linear-gradient(135deg, #14B789 0%, #0d946e 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 12px 30px !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 20px rgba(20, 183, 137, 0.35) !important;
  transition: all 0.3s ease !important;
}

.hero-btn-primary:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 12px 25px rgba(20, 183, 137, 0.5) !important;
  color: #ffffff !important;
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #1f2937 !important;
  border: 2px solid #14B789 !important;
  border-radius: 50px !important;
  padding: 10px 28px !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(8px);
}

.hero-btn-secondary:hover {
  background: #14B789 !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 10px 25px rgba(20, 183, 137, 0.4) !important;
}

/* Smooth text fade transition (Hanya teks di dalam kotak bulet) */
.fade-text {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease !important;
  will-change: opacity, transform;
  white-space: nowrap;
}

.fade-text-out {
  opacity: 0 !important;
  transform: translateY(-6px) !important;
}

@media (max-width: 576px) {
  .hero-title-wrap {
    padding: 8px 16px 8px 10px !important;
    border-radius: 30px !important;
    min-height: 48px !important;
    max-width: 100% !important;
  }
  .hero-title {
    font-size: 0.95rem !important;
    padding: 0 6px !important;
  }
  .teks-berubah {
    font-size: 0.85rem !important;
    padding: 8px 18px !important;
    border-radius: 30px !important;
    min-height: 44px !important;
    max-width: 100% !important;
  }
}

/*---------------------------------------
  MASTER WEBSITE UI/UX ENHANCEMENT
-----------------------------------------*/

/* 1. NAVBAR GLASSMORPHISM */
.navbar {
  background: rgba(15, 23, 42, 0.92) !important;
  backdrop-filter: blur(15px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: all 0.3s ease !important;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500 !important;
  padding: 8px 16px !important;
  transition: all 0.3s ease !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #14B789 !important;
}

/* 2. ABOUT SECTION ELEGANCE */
.about-image {
  border-radius: 28px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
  border: 4px solid #ffffff !important;
  transition: transform 0.3s ease !important;
}

.about-image:hover {
  transform: translateY(-5px);
}

.about-thumb {
  background: #ffffff !important;
  padding: 40px !important;
  border-radius: 28px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(20, 183, 137, 0.15) !important;
}

/* 3. SKILL BARS GLOW */
.skill-bars {
  background: #ffffff !important;
  padding: 30px !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.skill-bars .bar .progress-line span {
  background: linear-gradient(90deg, #14B789, #20e3a7) !important;
  box-shadow: 0 2px 10px rgba(20, 183, 137, 0.4) !important;
}

/* 4. KOMPETENSI / SERVICES CARDS */
.services-thumb {
  background: #ffffff !important;
  border-radius: 24px !important;
  border: 1px solid rgba(20, 183, 137, 0.18) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.3s ease !important;
}

.services-thumb:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(20, 183, 137, 0.2) !important;
  border-color: #14B789 !important;
}

.services-icon-wrap {
  background: linear-gradient(135deg, rgba(20, 183, 137, 0.15), rgba(20, 183, 137, 0.05)) !important;
  border-radius: 50% !important;
  width: 70px !important;
  height: 70px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 20px rgba(20, 183, 137, 0.15) !important;
  margin-bottom: 20px !important;
}

.services-icon-wrap i {
  color: #14B789 !important;
  font-size: 32px !important;
}

/* 5. PROJECT & CERTIFICATE CARDS */
.project-card-modern,
.projects-thumb {
  background: #ffffff !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  transition: all 0.3s ease !important;
  height: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.project-card-modern:hover,
.projects-thumb:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(20, 183, 137, 0.2) !important;
}

/* 6. CONTACT SECTION & FORM */
.contact-form {
  background: #ffffff !important;
  padding: 40px !important;
  border-radius: 28px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(20, 183, 137, 0.15) !important;
}

.form-control {
  border-radius: 14px !important;
  border: 1.5px solid #e5e7eb !important;
  padding: 12px 18px !important;
  transition: all 0.3s ease !important;
}

.form-control:focus {
  border-color: #14B789 !important;
  box-shadow: 0 0 0 4px rgba(20, 183, 137, 0.15) !important;
}

/*---------------------------------------
  TRANSPARENT GLASSMORPHIC NATIVE HEADER
-----------------------------------------*/
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: rgba(15, 23, 42, 0.90) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25) !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.navbar .container {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 15px !important;
}

.navbar-nav .nav-link,
.is-sticky .navbar-nav .nav-link {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
  padding: 8px 16px !important;
  transition: color 0.3s ease !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.is-sticky .navbar-nav .nav-link:hover,
.is-sticky .navbar-nav .nav-link.active {
  color: #14B789 !important;
}

/*---------------------------------------
  PRO SILICON VALLEY UI/UX DESIGN SYSTEM
-----------------------------------------*/

/* Sleek Solid Emerald Section Title Pills */
.section-title-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #14B789 0%, #0d946e 100%) !important;
  border-radius: 50px !important;
  padding: 10px 30px 10px 20px !important;
  box-shadow: 0 10px 25px rgba(20, 183, 137, 0.3) !important;
  margin: 0 auto 35px auto !important;
  width: auto !important;
  max-width: max-content !important;
}

.section-title-wrap h2 {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.5px !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.section-title-wrap .avatar-image {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  border: 2px solid #ffffff !important;
  object-fit: cover !important;
  margin-right: 12px !important;
  margin-left: 0 !important;
}

/* About & Contact Cards (Full Width & Spacious Padding) */
.about-thumb,
.contact-info,
.contact-form {
  background: #ffffff !important;
  border-radius: 24px !important;
  padding: 48px 40px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05) !important;
  border: 1.5px solid #e2e8f0 !important;
  width: 100% !important;
}

.about-thumb h3 {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-bottom: 16px !important;
}

.about-thumb p {
  color: #475569 !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
}

/* About Image */
.about-image {
  border-radius: 24px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
  border: 3px solid #ffffff !important;
  transition: transform 0.3s ease !important;
}

.about-image:hover {
  transform: translateY(-5px) !important;
}

/* Skill Bars */
.skill-bars {
  background: #ffffff !important;
  padding: 32px !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid #e2e8f0 !important;
}

.skill-bars .bar .info span {
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #0f172a !important;
  letter-spacing: 0.5px !important;
}

.skill-bars .bar .progress-line {
  height: 10px !important;
  border-radius: 10px !important;
  background: #f1f5f9 !important;
}

.skill-bars .bar .progress-line span {
  background: linear-gradient(90deg, #14B789, #10b981) !important;
  box-shadow: 0 2px 8px rgba(20, 183, 137, 0.35) !important;
}

/* Services / Kompetensi Cards */
.services-thumb {
  background: #ffffff !important;
  border-radius: 24px !important;
  padding: 36px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.services-thumb:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 40px rgba(20, 183, 137, 0.15) !important;
  border-color: #14B789 !important;
}

.services-thumb h3 {
  font-weight: 700 !important;
  color: #0f172a !important;
}

.services-thumb p {
  color: #475569 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

/* Contact Info Items */
.contact-info .site-footer-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: #14B789 !important;
}

.contact-info p,
.contact-info a {
  color: #0f172a !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

.social-icon-link-dc,
.social-icon-link-wa {
  width: 42px !important;
  height: 42px !important;
  line-height: 42px !important;
  border-radius: 50% !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  transition: all 0.3s ease !important;
}

.social-icon-link-dc:hover,
.social-icon-link-wa:hover {
  background: #14B789 !important;
  color: #ffffff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(20, 183, 137, 0.3) !important;
}

/* Reduce excessive 120px section padding to compact 50px */
.section-padding {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}

/* Vertical Spacious Skill Cards (No More Gepeng!) */
.skill-card-item {
  padding: 32px 24px !important;
  border-radius: 20px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: #ffffff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  min-height: 180px !important;
}

.skill-card-item:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(20, 183, 137, 0.2) !important;
  border-color: #14B789 !important;
}

.skill-card-icon-box {
  width: 64px !important;
  height: 64px !important;
  border-radius: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 30px !important;
  margin-bottom: 16px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Contact Card Modern Enhancements */
.contact-card-modern {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 32px 28px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.contact-card-modern:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 40px rgba(20, 183, 137, 0.12) !important;
  border-color: rgba(20, 183, 137, 0.4) !important;
}

.contact-info-tile {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 14px 18px !important;
  transition: all 0.25s ease !important;
}

.contact-info-tile:hover {
  background: #ffffff !important;
  border-color: #14B789 !important;
  box-shadow: 0 4px 12px rgba(20, 183, 137, 0.1) !important;
}

.btn-whatsapp-cta {
  background: linear-gradient(135deg, #14B789 0%, #0d946e 100%) !important;
  border: none !important;
  color: #ffffff !important;
  padding: 14px 28px !important;
  font-size: 16px !important;
  border-radius: 50px !important;
  box-shadow: 0 8px 24px rgba(20, 183, 137, 0.35) !important;
  transition: all 0.3s ease !important;
}

.btn-whatsapp-cta:hover {
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 12px 30px rgba(20, 183, 137, 0.5) !important;
  color: #ffffff !important;
}

/* Floating Back to Top Button */
.btn-back-to-top {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #14B789 0%, #0d946e 100%) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 32px !important;
  box-shadow: 0 10px 25px rgba(20, 183, 137, 0.45) !important;
  z-index: 9999 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(20px) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

.btn-back-to-top.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.btn-back-to-top:hover {
  background: linear-gradient(135deg, #0d946e 0%, #086b4f 100%) !important;
  color: #ffffff !important;
  transform: translateY(-5px) scale(1.08) !important;
  box-shadow: 0 15px 35px rgba(20, 183, 137, 0.65) !important;
}

/*---------------------------------------
  RESPONSIVE MOBILE FIX (IPHONE SE & PHONES)
-----------------------------------------*/
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

@media (max-width: 768px) {
  .about-thumb,
  .contact-info,
  .contact-form,
  .contact-card-modern {
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }

  .section-title-wrap {
    max-width: 92% !important;
    padding: 8px 18px !important;
    margin-bottom: 24px !important;
  }

  .section-title-wrap h2 {
    font-size: 17px !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .section-title-wrap .avatar-image {
    width: 32px !important;
    height: 32px !important;
    margin-right: 8px !important;
  }

  .hero {
    padding-top: 100px !important;
    padding-bottom: 110px !important;
  }

  .hero-text h1 {
    font-size: 26px !important;
  }

  .skill-card-item {
    padding: 20px 14px !important;
    min-height: 140px !important;
  }

  .skill-card-icon-box {
    width: 48px !important;
    height: 48px !important;
    font-size: 24px !important;
    border-radius: 14px !important;
  }

  .btn-back-to-top {
    bottom: 20px !important;
    right: 20px !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 26px !important;
  }

  /* Site Footer Mobile Viewport Fix */
  .site-footer {
    padding-top: 35px !important;
    padding-bottom: 120px !important; /* Spasi bawah ekstra agar teks footer terlihat utuh di atas bilah navigasi HP */
  }

  .copyright-text {
    border-right: none !important;
    padding-right: 0 !important;
    margin-right: 0 !important;
    display: block !important;
    margin-bottom: 6px !important;
  }
}

.site-footer {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  padding-top: 40px !important;
  padding-bottom: 90px !important;
  position: relative !important;
  z-index: 10 !important;
}

/*---------------------------------------
  STRICT COMPACT MODAL SIZE FIX (MAX 520PX)
-----------------------------------------*/
.mfp-image-holder .mfp-content,
.mfp-content {
  max-width: 520px !important;
  width: 90% !important;
  margin: 0 auto !important;
  position: relative !important;
}

.mfp-figure,
.mfp-figure figure {
  max-width: 520px !important;
  margin: 0 auto !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6) !important;
  padding: 0 !important;
}

.mfp-figure::after {
  display: none !important;
}

img.mfp-img,
.mfp-img,
.mfp-image-holder img.mfp-img {
  max-width: 520px !important;
  max-height: 60vh !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
  display: block !important;
  object-fit: contain !important;
  border-radius: 16px !important;
  padding: 0 !important;
}

/* FALLBACK ICON FOR MYSQL DATABASE */
.bi-database-fill::before {
  content: "" !important;
  display: inline-block !important;
  width: 1em !important;
  height: 1em !important;
  vertical-align: -0.125em !important;
  background-color: currentColor !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M3.904 4.582C4.48 4.887 5.344 5.105 6.4 5.23 7.457 5.355 8.543 5.355 9.6 5.23c1.056-.124 1.92-.343 2.496-.648C12.766 4.228 13 3.864 13 3.5c0-.364-.234-.728-.904-1.082C11.52 2.113 10.656 1.895 9.6 1.77 8.543 1.645 7.457 1.645 6.4 1.77c-1.056.124-1.92.343-2.496.648C3.234 2.772 3 3.136 3 3.5c0 .364.234.728.904 1.082Z'/%3E%3Cpath d='M3.904 9.582C4.48 9.887 5.344 10.105 6.4 10.23c1.057.125 2.143.125 3.2 0 1.056-.124 1.92-.343 2.496-.648.67-.354.904-.718.904-1.082V6.269c-.39.26-.948.472-1.64.622C10.377 7.086 9.2 7.15 8 7.15s-2.377-.064-3.36-.259c-.692-.15-1.25-.362-1.64-.622V8.5c0 .364.234.728.904 1.082Z'/%3E%3Cpath d='M3.904 14.582C4.48 14.887 5.344 15.105 6.4 15.23c1.057.125 2.143.125 3.2 0 1.056-.124 1.92-.343 2.496-.648.67-.354.904-.718.904-1.082v-2.231c-.39.26-.948.472-1.64.622-.983.195-2.16.259-3.36.259s-2.377-.064-3.36-.259c-.692-.15-1.25-.362-1.64-.622V13.5c0 .364.234.728.904 1.082Z'/%3E%3C/svg%3E") no-repeat center / contain !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M3.904 4.582C4.48 4.887 5.344 5.105 6.4 5.23 7.457 5.355 8.543 5.355 9.6 5.23c1.056-.124 1.92-.343 2.496-.648C12.766 4.228 13 3.864 13 3.5c0-.364-.234-.728-.904-1.082C11.52 2.113 10.656 1.895 9.6 1.77 8.543 1.645 7.457 1.645 6.4 1.77c-1.056.124-1.92.343-2.496.648C3.234 2.772 3 3.136 3 3.5c0 .364.234.728.904 1.082Z'/%3E%3Cpath d='M3.904 9.582C4.48 9.887 5.344 10.105 6.4 10.23c1.057.125 2.143.125 3.2 0 1.056-.124 1.92-.343 2.496-.648.67-.354.904-.718.904-1.082V6.269c-.39.26-.948.472-1.64.622C10.377 7.086 9.2 7.15 8 7.15s-2.377-.064-3.36-.259c-.692-.15-1.25-.362-1.64-.622V8.5c0 .364.234.728.904 1.082Z'/%3E%3Cpath d='M3.904 14.582C4.48 14.887 5.344 15.105 6.4 15.23c1.057.125 2.143.125 3.2 0 1.056-.124 1.92-.343 2.496-.648.67-.354.904-.718.904-1.082v-2.231c-.39.26-.948.472-1.64.622-.983.195-2.16.259-3.36.259s-2.377-.064-3.36-.259c-.692-.15-1.25-.362-1.64-.622V13.5c0 .364.234.728.904 1.082Z'/%3E%3C/svg%3E") no-repeat center / contain !important;
}
