/**
* Template Name: iPortfolio
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Updated: Jun 29 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font:
    "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #272829; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #050d18; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #149ddd; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #a8a9b4; /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #040b14; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #040b14; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #a8a9b4; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffffff; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f4fafd;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #040b14;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #151f2b;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 0 15px;
  width: 300px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 997;
  border-right: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.header .profile-img img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.header .logo {
  line-height: 1;
  margin-bottom: 15px;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .social-links {
  margin: 0 0 20px 0;
}

.header .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  margin: 0 2px;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

.header .social-links a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

/* assets/css/main.css */

@media (min-width: 1200px) {
  .header ~ main,
  .header ~ #footer {
    margin-left: 300px;
  }
}

section {
  padding: 60px 0;
  overflow: hidden;
}

.container {
  padding-left: 30px;
  padding-right: 30px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1199px) {
  .header {
    left: -100%;
  }
}

.header.header-show {
  left: 0;
}

.header .header-toggle {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
  transition: background-color 0.3s;
}

.header .header-toggle:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.mobile-nav-toggle {
  display: none;
}

.navmenu {
  padding: 0;
  z-index: 9997;
}

.navmenu ul {
  list-style: none;
  padding: 0 0 20px 0;
  margin: 0;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  padding: 15px 10px;
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: 0.3s;
  width: 100%;
}

.navmenu a .navicon,
.navmenu a:focus .navicon {
  font-size: 20px;
  margin-right: 10px;
}

.navmenu a .toggle-dropdown,
.navmenu a:focus .toggle-dropdown {
  font-size: 12px;
  line-height: 0;
  margin-left: auto;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  flex-shrink: 0;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.navmenu a .toggle-dropdown:hover,
.navmenu a:focus .toggle-dropdown:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: var(--nav-hover-color);
}

.navmenu a:hover .navicon,
.navmenu .active .navicon,
.navmenu .active:focus .navicon {
  color: var(--accent-color);
}

.navmenu .active .toggle-dropdown,
.navmenu .active:focus .toggle-dropdown {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(180deg);
  transition: transform 0.3s ease-in-out;
}

.navmenu .dropdown {
  display: block;
}

.navmenu .dropdown a,
.navmenu .dropdown a:focus {
  color: --nav-dropdown-color;
}

.navmenu .dropdown a:hover,
.navmenu .dropdown .active,
.navmenu .dropdown .active:focus {
  color: var(--nav-dropdown-hover-color);
}

.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 5px 10px;
  margin: 5px 10px;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: none;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

.navmenu .dropdown ul ul {
  background-color: rgba(33, 37, 41, 0.1);
}

.navmenu .dropdown ul.dropdown-active {
  display: block;
  opacity: 1;
  max-height: 500px;
  animation: dropdown-animate 0.3s ease-in-out;
  background-color: rgba(33, 37, 41, 0.03);
}

/* Dropdown animation */
@keyframes dropdown-animate {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 4px;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

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

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

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li + li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 70%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
}

.hero p {
  margin: 5px 0 0 0;
  font-size: 26px;
}

.hero p span {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-color);
}

.hero .social-links {
  margin-top: 25px;
}

.hero .social-links a {
  font-size: 24px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
}

.hero .social-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

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

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

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

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item i {
  color: var(--accent-color);
  display: block;
  font-size: 44px;
  float: left;
  line-height: 0;
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  margin-left: 60px;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: var(--heading-font);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  color: var(--heading-color);
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume {
  background-color: var(--background-color);
  color: var(--default-color);
}

.resume .section-title h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.resume .section-title p {
  font-size: 15px;
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 20px;
}

.resume-section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--heading-color);
  position: relative;
  padding-bottom: 15px;
}

.resume-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    rgba(20, 157, 221, 0.3)
  );
  border-radius: 2px;
}

.resume-card {
  background: var(--surface-color);
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.resume-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(20, 157, 221, 0.15) !important;
}

.resume-card .card-body {
  padding: 30px;
  position: relative;
}

.resume-logo {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px !important;
  height: 50px !important;
  max-width: 50px !important;
  max-height: 50px !important;
  object-fit: contain;
  opacity: 0.85;
  background: rgba(255, 255, 255, 0.3);
  padding: 5px;
  border-radius: 6px;
  display: block;
}

@media (max-width: 768px) {
  .resume-logo {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
  }
}

.resume-card .card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.resume-card .card-title em {
  font-style: italic;
  font-weight: 600;
}

.resume-card .badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 6px !important;
}

.bg-primary-light {
  background-color: rgba(20, 157, 221, 0.1) !important;
}

.text-primary {
  color: var(--accent-color) !important;
}

.bg-success-light {
  background-color: rgba(40, 167, 69, 0.1) !important;
}

.text-success {
  color: #28a745 !important;
}

.bg-info-light {
  background-color: rgba(23, 162, 184, 0.1) !important;
}

.text-info {
  color: #17a2b8 !important;
}

.bg-warning-light {
  background-color: rgba(255, 193, 7, 0.1) !important;
}

.text-warning {
  color: #ffc107 !important;
}

.company-name,
.school-name,
.organization-name {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-weight: 600;
}

.company-name i,
.school-name i,
.organization-name i {
  color: var(--accent-color);
  font-size: 16px;
}

.job-duties,
.education-desc,
.organization-desc {
  font-size: 14px;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.job-duties li {
  margin-bottom: 10px;
  padding-left: 8px;
}

.job-duties li::before {
  content: "▸";
  color: var(--accent-color);
  margin-right: 8px;
  font-weight: bold;
}

.image-placeholder {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(20, 157, 221, 0.2);
}

.image-placeholder:hover {
  border-color: var(--accent-color);
  box-shadow: 0 5px 15px rgba(20, 157, 221, 0.15);
  transform: scale(1.02);
}

.image-placeholder img {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-placeholder:hover img {
  transform: scale(1.1);
}

/* Image Gallery Collapse for Mobile */
.gallery-row {
  display: flex;
  flex-wrap: wrap;
}

.collapse-col {
  width: 100%;
  flex-basis: 100%;
  padding: 0.75rem;
}

@media (min-width: 768px) {
  .collapse-col {
    width: 33.333333%;
    flex-basis: 33.333333%;
    padding: 0.75rem;
    display: flex !important;
  }

  .collapse-col.collapse:not(.show) {
    display: flex !important;
  }
}

.collapse {
  visibility: visible;
}

.collapse:not(.show) {
  display: none;
}

.collapse.show {
  display: block;
}

@media (min-width: 768px) {
  .collapse.show,
  .collapse:not(.show) {
    display: flex !important;
  }
}

/* "Lihat Selengkapnya" Button Styling */
.btn-outline-primary {
  color: var(--accent-color);
  border-color: var(--accent-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(20, 157, 221, 0.25);
}

.btn-outline-primary i {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-primary:hover i {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
  .resume-section-title {
    font-size: 24px;
  }

  .resume-card .card-body {
    padding: 20px;
  }

  .col-lg-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  .resume-section-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .resume-card .card-title {
    font-size: 16px;
  }

  .company-name,
  .school-name,
  .organization-name {
    font-size: 13px;
  }

  .job-duties,
  .education-desc,
  .organization-desc {
    font-size: 13px;
  }

  .image-placeholder {
    height: 120px !important;
  }

  .d-flex {
    flex-wrap: wrap;
  }

  .badge {
    margin-top: 10px;
  }
}

/*--------------------------------------------------------------
# Portfolio Section - Modern Tabbed Interface
--------------------------------------------------------------*/

/* Portfolio Tabs (Pill Style) */
.portfolio-tabs {
  justify-content: center;
  margin-bottom: 40px;
  border-bottom: none !important;
  gap: 15px;
  flex-wrap: wrap;
}

.portfolio-tabs .nav-link {
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  padding: 10px 25px;
  color: var(--default-color);
  font-weight: 600;
  background: #fff;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.portfolio-tabs .nav-link:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.portfolio-tabs .nav-link.active {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
  box-shadow: 0 4px 15px rgba(20, 157, 221, 0.3);
  transform: translateY(-2px);
}

/* ==========================================
   PORTFOLIO SECTION - BOOTSTRAP TAB STRUCTURE
   ========================================== */

/* Portfolio Tabs Wrapper */
.portfolio-tabs-wrapper {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

/* Bootstrap Nav Pills Customization */
.portfolio-nav-pills {
  background: white;
  padding: 12px 25px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  gap: 8px;
}

.portfolio-nav-pills .nav-link {
  background: transparent;
  border: none;
  padding: 10px 20px;
  border-radius: 35px;
  font-size: 15px;
  font-weight: 600;
  color: var(--default-color);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.portfolio-nav-pills .nav-link:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

.portfolio-nav-pills .nav-link.active {
  background: var(--accent-color);
  color: white;
  box-shadow: 0 4px 12px rgba(20, 157, 221, 0.35);
}

.portfolio-nav-pills .nav-link i {
  font-size: 16px;
}

/* Tab Content Container */
.portfolio-tab-content {
  animation: fadeInTab 0.4s ease-out;
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tab Pane Base Styles */
.tab-pane {
  animation: fadeInTabPane 0.4s ease-out;
}

@keyframes fadeInTabPane {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Mobile Filter Bar */
/* ========== PORTFOLIO SECTION ========== */

.portfolio-section {
  padding-bottom: 2rem;
  border-bottom: 1px solid #f0f0f0;
}

.portfolio-section:last-child {
  border-bottom: none;
}

.portfolio-section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 2rem;
  text-align: center;
}

/* Category Filters Container */
.portfolio-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.categories-desktop {
  width: 100%;
}

.categories-mobile {
  width: 100%;
}

/* Category Button Styles */
.category-btn {
  background: white;
  border: 2px solid #e0e0e0;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--default-color);
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.category-btn:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: #f8fafb;
  transform: translateY(-2px);
}

.category-btn-active {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
  box-shadow: 0 4px 15px rgba(20, 157, 221, 0.3);
}

.category-btn-active:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

.category-btn .badge {
  background: rgba(255, 255, 255, 0.2);
  color: currentColor;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 4px;
}

.category-btn-active .badge {
  background: rgba(255, 255, 255, 0.3);
}

/* Mobile Category Toggle Button */
.categories-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.categories-toggle i {
  transition: transform 0.3s ease;
}

.categories-toggle.active i {
  transform: rotate(180deg);
}

.categories-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  margin-top: -10px;
}

/* Portfolio Items Grid */
.portfolio-item {
  transition: all 0.3s ease;
  opacity: 1;
  visibility: visible;
}

.portfolio-item.hidden {
  display: none !important;
  opacity: 0;
  visibility: hidden;
}

.portfolio-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.portfolio-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  height: 250px;
  background: #f0f0f0;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.05);
}

.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  color: #ccc;
  font-size: 48px;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 157, 221, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-image:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: white;
  color: var(--accent-color);
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.portfolio-overlay a:hover {
  background: var(--accent-color);
  color: white;
  transform: scale(1.1);
}

.portfolio-content {
  padding: 16px;
}

.portfolio-content h5 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.3;
}

.portfolio-content p {
  margin: 0;
  font-size: 13px;
  color: var(--default-color);
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
  .portfolio-section-title {
    font-size: 20px;
  }

  .categories-desktop {
    display: none !important;
  }

  .categories-mobile {
    display: block !important;
  }

  .categories-list {
    flex-direction: column;
  }

  .category-btn {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px;
  }

  .portfolio-image {
    height: 200px;
  }
}

@keyframes fadeInPortfolioItem {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Portfolio Items Grid */
.isotope-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  animation: fadeInGrid 0.6s ease-out;
}

@keyframes fadeInGrid {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Portfolio Item */
.portfolio-item {
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.portfolio-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background: white;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* Portfolio Image Section */
.portfolio-image {
  position: relative;
  overflow: hidden;
  height: 240px;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.08);
}

/* Image Placeholder */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
  font-size: 50px;
  color: #b3d9ff;
}

/* Portfolio Overlay */
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 13, 24, 0.9);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

/* Portfolio Actions */
.portfolio-actions {
  display: flex;
  gap: 15px;
  animation: slideUp 0.4s ease forwards;
  opacity: 0;
}

.portfolio-card:hover .portfolio-actions {
  animation: slideUp 0.4s ease forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 20px;
  border: none;
  cursor: pointer;
}

.action-btn:hover {
  background: white;
  color: var(--accent-color);
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(20, 157, 221, 0.4);
}

/* Portfolio Content */
.portfolio-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--default-color);
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.portfolio-category {
  font-size: 13px;
  color: var(--accent-color);
  font-weight: 600;
  text-transform: capitalize;
  margin: 0;
}

/* Responsive Isotope Grid */
@media (max-width: 991px) {
  .isotope-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
  }

  .portfolio-image {
    height: 220px;
  }

  .portfolio-tabs {
    gap: 10px;
    padding: 10px 20px;
  }

  .portfolio-tab-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .isotope-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .portfolio-image {
    height: 200px;
  }

  .portfolio-card {
    border-radius: 10px;
  }

  .portfolio-content {
    padding: 16px;
  }

  .portfolio-title {
    font-size: 15px;
  }

  .portfolio-tabs {
    gap: 8px;
    padding: 8px 15px;
  }

  .portfolio-tab-btn {
    padding: 6px 14px;
    font-size: 13px;
  }

  .portfolio-tab-btn i {
    display: none;
  }

  .action-btn {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .isotope-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .portfolio-tabs-wrapper {
    margin-bottom: 30px;
  }

  .portfolio-tabs {
    flex-direction: column;
    width: 100%;
    gap: 6px;
  }

  .portfolio-tab-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    font-size: 12px;
  }

  .portfolio-image {
    height: 220px;
  }

  .portfolio-card:hover {
    transform: translateY(-8px);
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  position: relative;
}

.services .service-item .icon {
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid var(--accent-color);
  margin-right: 20px;
  margin-bottom: 20px; /* Add space below the icon */
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 24px;
  line-height: 0;
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
}

.services .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .service-item .title a {
  color: var(--heading-color);
}

.services .service-item .title a:hover {
  color: var(--accent-color);
}

.services .service-item .description {
  line-height: 24px;
  font-size: 14px;
}

/* Mobile Services Section Spacing */
@media (max-width: 768px) {
  .services {
    padding-top: 80px;
  }

  .services .service-item {
    margin-top: 20px;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 15px 15px;
  padding: 20px;
  background-color: var(--surface-color);
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid var(--surface-color);
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 40px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type="text"]:focus,
.contact .php-email-form input[type="email"]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type="text"]::placeholder,
.contact .php-email-form input[type="email"]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type="submit"] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid
    color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/* =======================================================
   1. HERO SECTION FIX (FULL SCREEN)
   ======================================================= */
#hero {
  width: 100%;
  height: 100vh; /* Paksa tinggi layar penuh */
  min-height: 100vh;
  position: relative;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  background: #000; /* Fallback color */
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Kunci agar gambar tidak gepeng */
  z-index: 1;
}

#hero .container {
  position: relative;
  z-index: 3; /* Teks di atas gambar */
}

/* Overlay gelap agar teks terbaca */
#hero:before {
  content: "";
  background: rgba(0, 0, 0, 0.3); /* Gelapkan background 30% */
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

/* =======================================================
   2. RESUME ITEM FIX (Agar Logo tidak tabrak Teks)
   ======================================================= */
.resume-item {
  padding-right: 80px !important; /* Memberi jarak aman untuk logo di kanan */
  position: relative;
}

/* =======================================================
   3. CUSTOM SIDEBAR & NAVIGATION
   ======================================================= */
/* Sembunyikan Scrollbar Sidebar */
.header {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.header::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Compact Navigation Link */
.navmenu a {
  font-size: 0.95rem;
  padding: 8px 12px;
}

/* Language Switcher Styling */
.lang-switch-container {
  padding: 15px;
  text-align: center;
}
.lang-switch {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 4px;
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.lang-btn {
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}
.lang-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}
.lang-btn.active {
  background: #00a6eb;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 166, 235, 0.3);
}

/* =======================================================
   4. SKILLS SECTION (GRID LAYOUT)
   ======================================================= */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 Kolom */
  gap: 40px;
}

@media (max-width: 992px) {
  .skills-grid {
    grid-template-columns: 1fr; /* 1 Kolom di HP/Tablet */
  }
}

.progress-bar-wrap {
  background: #e9ecef; /* Warna track abu-abu */
}

.progress-bar {
  background: #00a6eb; /* Warna biru utama */
  height: 10px;
}

/* ============================================================
   COMPREHENSIVE STYLING - LANGUAGE SWITCH, SIDEBAR, SKILLS
   ============================================================ */

.lang-switch-container {
  padding: 15px;
  text-align: center;
  margin: 10px 0;
}

.lang-switch {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 4px;
  display: inline-flex;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
}

.lang-btn {
  border: none !important;
  border-radius: 20px !important;
  padding: 10px 20px !important;
  transition: all 0.3s ease !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 80px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: white !important;
  transform: translateY(-1px);
}

.lang-btn.active {
  background: linear-gradient(135deg, #00a6eb, #0088cc) !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(0, 166, 235, 0.3);
  transform: translateY(-1px);
}

.flag-icon {
  font-size: 1.2em;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.lang-btn.active .flag-icon {
  filter: brightness(0) invert(1);
}

.lang-text {
  font-weight: 600;
  font-size: 0.9em;
  letter-spacing: 0.5px;
}

/* ============================================================
   1. SIDEBAR RESPONSIF & TANPA SCROLLBAR JELEK
   ============================================================ */

/* Hide scrollbar semua browser */
.header {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.header::-webkit-scrollbar {
  display: none;
}

/* Mobile Navigation Fix - Solid Off-Canvas Drawer */
@media (max-width: 1199px) {
  /* Force Sidebar to be a Solid Drawer */
  .header {
    position: fixed;
    top: 0;
    left: -300px; /* Hidden by default */
    bottom: 0;
    width: 300px; /* FIXED WIDTH is crucial */
    transition: 0.3s;
    z-index: 9999;
    background-color: #040b14; /* Solid Dark Color - No Transparency */
    padding: 20px 15px;
    overflow-y: auto;
    border-right: 1px solid #1e293b;
  }

  /* Slide in when active */
  .header.mobile-nav-active {
    left: 0;
  }

  /* Fix Profile Image size in mobile */
  .header .profile-img img {
    max-width: 80px;
    margin: 10px auto;
  }

  .header-toggle {
    position: fixed;
    right: 15px;
    top: 15px;
    z-index: 9998;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    background: #00a6eb;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .header-toggle:hover {
    background: #0088cc;
  }

  .header .logo {
    margin-top: 10px;
    margin-bottom: 15px;
  }

  .header .social-links {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .header .social-links a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navmenu {
    margin: 20px 0;
    padding: 0;
  }

  .navmenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .navmenu a {
    display: flex;
    align-items: center;
    padding: 12px 10px;
    font-size: 15px;
    color: var(--nav-color);
  }

  .lang-switch-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .lang-switch {
    display: flex;
    gap: 10px;
    justify-content: center;
  }

  .lang-btn {
    padding: 8px 12px !important;
    min-width: 60px;
    font-size: 12px;
  }
}

/* Mobile overlay dengan backdrop blur */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9996;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.mobile-nav-active .mobile-nav-overlay {
  display: block;
}

/* Profile image mobile friendly */
@media (max-width: 1199px) {
  .header .profile-img {
    margin: 20px auto;
    width: 120px !important;
    height: 120px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
  }

  .header .profile-img img {
    width: 120px !important;
    height: 120px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: 6px solid rgba(0, 166, 235, 0.3);
    flex-shrink: 0 !important;
    max-width: none !important;
  }
}

/* ============================================================
   2. SKILLS SECTION YANG RAPI
   ============================================================ */

/* Grid layout CSS Grid untuk 2 kolom simetris */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: start;
}

.skills-column {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Progress bar lebar penuh dengan animasi smooth */
.progress {
  height: auto;
  background: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.progress .skill {
  font-size: 0.95em;
  font-weight: 600;
  color: #2c3e50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.progress .val {
  font-style: normal;
  color: #00a6eb;
  font-weight: 700;
  font-size: 0.9em;
}

.progress-bar-wrap {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  height: 8px;
  width: 100%;
}

.progress-bar {
  height: 100%;
  border-radius: 10px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background: linear-gradient(90deg, #00a6eb, #0088cc) !important;
}

/* Responsive design menjadi 1 kolom di tablet & mobile */
@media (max-width: 992px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .skills-column {
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .skills-column {
    gap: 20px;
  }

  .progress .skill {
    font-size: 0.9em;
    margin-bottom: 6px;
  }

  .progress-bar-wrap {
    height: 6px;
  }
}

/* ============================================================
   3. IMPROVEMENT LAIN
   ============================================================ */

/* COMPACT SIDEBAR STYLING */

/* Logo & Branding */
.header .logo h1 {
  font-size: 20px !important;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Navigation Menu - Compact */
.navmenu {
  margin: 15px 0 !important;
  padding: 0 !important;
}

.navmenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navmenu ul li {
  margin: 2px 0 !important;
  padding: 0 !important;
}

.navmenu a,
.navmenu a:focus {
  font-size: 1rem !important;
  font-weight: 500;
  padding: 8px 12px !important;
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
}

.navmenu a:hover {
  color: white;
  background: rgba(0, 166, 235, 0.1);
}

.navmenu .navicon {
  font-size: 1em;
  margin-right: 0;
}

/* Social links spacing lebih baik */
.header .social-links {
  margin: 15px 0 !important;
  padding: 12px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  gap: 12px;
}

.header .social-links a {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1;
}

.header .social-links a:hover {
  background: rgba(0, 166, 235, 0.3);
  color: #00a6eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 166, 235, 0.2);
}

.header .social-links a.linkedin:hover {
  color: #0a66c2;
}
.header .social-links a.instagram:hover {
  color: #e4405f;
}
.header .social-links a.email:hover {
  color: #ea4335;
}
.header .social-links a.github:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}
.header .social-links a.discord:hover {
  color: #7289da;
}

/* Profile Image */
.header .profile-img {
  margin: 15px auto !important;
  padding: 0;
  width: 100px !important;
  height: 100px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
}

.header .profile-img img {
  width: 100px !important;
  height: 100px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  border: 5px solid rgba(0, 166, 235, 0.2) !important;
  transition: all 0.3s ease;
  flex-shrink: 0 !important;
  max-width: none !important;
}

.header .profile-img img:hover {
  border-color: rgba(0, 166, 235, 0.5);
  box-shadow: 0 0 15px rgba(0, 166, 235, 0.2);
}

/* Language Switch - Compact */
.lang-switch-container {
  padding: 10px 0 !important;
  margin: 12px 0 !important;
}

.lang-switch {
  padding: 3px !important;
  gap: 1px !important;
}

.lang-btn {
  font-size: 0.75rem !important;
  padding: 6px 12px !important;
  min-width: 60px !important;
}

.flag-icon {
  font-size: 1em !important;
}

.lang-text {
  font-size: 0.75rem !important;
}

/* Z-index diatur dengan benar untuk overlay */
.header {
  z-index: 9997;
}

.header-toggle {
  z-index: 9998;
}

.mobile-nav-overlay {
  z-index: 9996;
}

/* Transition effects untuk semua elemen */
.header,
.header-toggle,
.progress-bar,
.lang-btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile overlay */
.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .header {
  left: 0;
}

.mobile-nav-active .header-toggle {
  color: #fff;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .header .logo h1 {
    font-size: 18px !important;
  }

  .navmenu a,
  .navmenu a:focus {
    font-size: 0.8rem !important;
    padding: 7px 10px !important;
  }

  .header .social-links {
    gap: 10px;
  }

  .header .social-links a {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .lang-btn {
    font-size: 0.7rem !important;
    padding: 5px 10px !important;
    min-width: 55px !important;
  }
}
.job-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 10px;
}

.job-duties {
  padding-left: 0;
  margin-left: 0;
  list-style: none;
}
.job-duties li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
  font-size: 14px;
  font-weight: bold;
}

.job-duties li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--default-color);
}

.skills-wrapper {
  margin-bottom: 20px;
}

.skills-section {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  padding: 6px 6px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 10px;
  background-color: #f1f5f9;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

/* ============================================================
   SKILLS SECTION - ICONS & CERTIFICATIONS
   ============================================================ */

/* Skill Icon Styling */
.skill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-right: 12px;
  font-size: 1.3rem;
  color: #00a6eb;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress .skill:hover .skill-icon {
  transform: scale(1.15) rotate(-5deg);
  color: #0088cc;
}

/* Updated Progress Bar Layout with Icons */
.progress .skill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.progress .skill span:not(.skill-icon):not(.val) {
  flex: 1;
  min-width: 150px;
}

/* Certification Card Styling */
.cert-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  border: 1px solid rgba(0, 166, 235, 0.1) !important;
  overflow: hidden;
}

.cert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 166, 235, 0.2) !important;
  border-color: rgba(0, 166, 235, 0.3) !important;
}

/* Certificate Image Wrapper */
.cert-image-wrapper {
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}

.cert-link {
  display: block;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}

.cert-image {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.cert-link:hover .cert-image {
  transform: scale(1.08);
}

/* Overlay for Certificate Images */
.cert-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 166, 235, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
  pointer-events: none;
}

.cert-image-wrapper:hover .cert-overlay {
  opacity: 1;
}

.cert-link:hover .cert-overlay {
  opacity: 1;
}

.cert-card .card-body {
  padding: 1.25rem !important;
}

.cert-card .card-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #050d18;
  margin-bottom: 8px;
}

.cert-card .card-text {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

/* Resume Section Title in Certifications */
.resume-section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #050d18;
}

.resume-section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #00a6eb, #0088cc);
  border-radius: 2px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .skill-icon {
    width: 28px;
    height: 28px;
    font-size: 1.1rem;
    margin-right: 8px;
  }

  .progress .skill {
    font-size: 0.9rem;
  }

  .progress .skill span:not(.skill-icon):not(.val) {
    min-width: 100px;
  }

  .cert-card {
    min-height: 260px !important;
  }

  .cert-responsive-img {
    height: 280px !important;
  }

  .cert-icon {
    width: 50px;
    height: 50px;
  }

  .cert-card .card-title {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .cert-responsive-img {
    height: 240px !important;
  }

  .cert-card {
    min-height: 240px !important;
  }

  .cert-card .card-body {
    padding: 1rem !important;
  }

  .cert-card .card-title {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }

  .cert-card .card-text {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .cert-responsive-img {
    height: 210px !important;
  }

  .cert-card {
    min-height: 210px !important;
  }

  .cert-card .card-body {
    padding: 0.75rem !important;
  }

  .cert-card .card-title {
    font-size: 0.9rem;
    margin-bottom: 5px;
  }

  .cert-card .card-text {
    font-size: 0.8rem;
  }
}

/* ======================================
   Premium CV Card with Spoiler Effect
   ====================================== */

.cv-card-premium {
  position: relative;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(20, 157, 221, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s ease;
}

/* Blurred Background Image - Spoiler Effect */
.cv-card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(12px);
  transition:
    filter 0.6s ease,
    transform 0.6s ease;
  z-index: 1;
}

/* Dark Overlay to Make Text Pop */
.cv-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 13, 24, 0.75);
  z-index: 2;
  transition: background 0.6s ease;
}

/* Center Content */
.cv-card-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px;
}

.cv-card-icon {
  font-size: 64px;
  color: #149ddd;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

.cv-card-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.5px;
}

.cv-card-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-weight: 300;
}

.cv-download-btn {
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 8px;
  background-color: #ffffff;
  color: #050d18;
  border: 2px solid #ffffff;
  transition: all 0.4s ease;
  margin-top: 10px;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
  font-size: 1.1rem;
}

.cv-download-btn:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Hover Effect - Peek at the Image */
.cv-card-premium:hover .cv-card-background {
  filter: blur(6px);
  transform: scale(1.05);
}

.cv-card-premium:hover .cv-card-overlay {
  background: rgba(5, 13, 24, 0.6);
}

/* --- Hero Buttons Styling --- */
/* 1. Primary Button (Gradient & Pulse) */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #0575e6, #021b79);
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(5, 117, 230, 0.4);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(5, 117, 230, 0.6);
  color: #fff;
}

/* 2. Secondary Button (Outline & Slide) */
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid #0575e6;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: #0575e6;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(5, 117, 230, 0.3);
}

/* Mobile Responsiveness: Stack buttons on small screens */
@media (max-width: 576px) {
  .d-flex.gap-3 {
    flex-direction: column;
    align-items: center;
    gap: 15px !important;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 80%;
    text-align: center;
  }
}

/* Language Button Active State */
.lang-btn.active {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: #00a6eb !important;
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .cv-card-premium {
    height: 350px;
  }

  .cv-card-content {
    padding: 30px 20px;
    gap: 15px;
  }

  .cv-card-icon {
    font-size: 48px;
  }

  .cv-card-title {
    font-size: 1.5rem;
  }

  .cv-card-subtitle {
    font-size: 0.9rem;
  }

  .cv-download-btn {
    padding: 10px 24px;
    font-size: 1rem;
  }
}

/* ===== PORTFOLIO FILTER STYLES ===== */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.portfolio-filters li {
  padding: 8px 16px;
  border: 2px solid #e0e4eb;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: transparent;
  color: #444;
  font-weight: 500;
}

.portfolio-filters li:hover {
  border-color: #2487ce;
  color: #2487ce;
}

.portfolio-filters li.filter-active {
  background-color: #2487ce;
  border-color: #2487ce;
  color: white;
}

.portfolio-filters li .badge {
  background-color: rgba(255, 255, 255, 0.3);
  margin-left: 6px;
  font-size: 0.75rem;
}

.portfolio-filters li.filter-active .badge {
  background-color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   PORTFOLIO SECTION - ENHANCED STYLES (Cards, Images, Mobile)
   ============================================================ */

/* Portfolio Grid Container */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
}

/* Portfolio Card - Consistent Sizing & Styling */
.portfolio-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  box-shadow: 0 12px 28px rgba(20, 157, 221, 0.15);
  transform: translateY(-8px);
}

/* Portfolio Image Container - FIXED HEIGHT */
.portfolio-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 200px; /* FIXED HEIGHT for all images */
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
  flex-shrink: 0; /* Prevent image shrinking */
}

/* Image Styling - Consistent Object Fit */
.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crops to fit container perfectly */
  object-position: center; /* Centers the crop */
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image Placeholder Icon */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
  color: #cbd5e1;
  font-size: 56px;
}

/* Hover Zoom Effect on Image */
.portfolio-card:hover .portfolio-image img {
  transform: scale(1.08);
}

/* Portfolio Overlay (Icons on Hover) */
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 13, 24, 0.88);
  backdrop-filter: blur(1px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.portfolio-image:hover .portfolio-overlay {
  opacity: 1;
}

/* Overlay Action Buttons */
.portfolio-overlay a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--accent-color);
}

.portfolio-overlay a:hover {
  background: white;
  color: var(--accent-color);
  transform: scale(1.12);
  box-shadow: 0 6px 18px rgba(20, 157, 221, 0.35);
}

/* Portfolio Info Section - Title Only, Centered */
.portfolio-info {
  padding: 16px 14px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portfolio-info h5 {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.4;
  letter-spacing: -0.3px;
  font-family: var(--heading-font);
  transition: color 0.3s ease;
}

.portfolio-card:hover .portfolio-info h5 {
  color: var(--accent-color);
}

/* REMOVED: Category description (p tag) */
.portfolio-info p {
  display: none; /* Hide category completely */
}

/* ============================================================
   RESPONSIVE DESIGN - MOBILE FIRST APPROACH
   ============================================================ */

/* Tablet Screens (768px - 1024px) */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .portfolio-image {
    height: 190px;
  }

  .portfolio-info {
    padding: 14px 12px;
  }

  .portfolio-info h5 {
    font-size: 13px;
  }
}

/* Mobile Screens (576px - 767px) */
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .portfolio-card {
    border-radius: 10px;
  }

  .portfolio-image {
    height: 160px;
  }

  .portfolio-info {
    padding: 12px 10px;
  }

  .portfolio-info h5 {
    font-size: 12px;
    line-height: 1.3;
  }

  .portfolio-overlay a {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  /* Tab buttons should stack better on mobile */
  .nav-pills {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .nav-link {
    padding: 8px 16px !important;
    font-size: 13px !important;
  }
}

/* Small Mobile Screens (< 576px) */
@media (max-width: 576px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .portfolio-card {
    border-radius: 8px;
  }

  .portfolio-image {
    height: 170px; /* Smaller on single column */
  }

  .portfolio-info {
    padding: 12px 10px;
  }

  .portfolio-info h5 {
    font-size: 12px;
    line-height: 1.3;
  }

  .portfolio-overlay {
    gap: 12px;
  }

  .portfolio-overlay a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* Full-width buttons on mobile */
  .d-grid.gap-2 {
    margin-bottom: 20px !important;
  }

  .d-grid.gap-2 .btn {
    padding: 12px 16px !important;
    font-size: 14px !important;
  }

  /* Center aligned tabs */
  .nav-pills {
    flex-direction: column !important;
    width: 100% !important;
  }

  .nav-link {
    justify-content: center !important;
    width: 100% !important;
    padding: 10px 12px !important;
    font-size: 12px !important;
  }

  .nav-link .bi {
    margin-right: 4px !important;
  }
}

/* Extra Small Screens (< 360px) */
@media (max-width: 360px) {
  .portfolio-image {
    height: 150px;
  }

  .portfolio-info h5 {
    font-size: 11px;
  }

  .portfolio-overlay a {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

/* ============================================================
   ANIMATION & TRANSITIONS
   ============================================================ */

/* Tab content fade-in animation */
.tab-pane {
  animation: fadeInTab 0.4s ease-out;
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Portfolio card entrance animation */
.portfolio-card {
  animation: slideUpCard 0.5s ease-out;
}

@keyframes slideUpCard {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   BUTTON STYLING - "LIHAT SELENGKAPNYA"
   ============================================================ */

.btn-primary.btn-lg {
  background: linear-gradient(135deg, var(--accent-color), #0088cc);
  border: none;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(20, 157, 221, 0.3);
}

.btn-primary.btn-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(20, 157, 221, 0.4);
  background: linear-gradient(135deg, #0088cc, #0066aa);
}

.btn-primary.btn-lg:active {
  transform: translateY(-1px);
}

/* ============================================================
   TAB STYLING - PILLS WITH ICONS
   ============================================================ */

.nav-pills {
  background: transparent;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  border: none;
  background: white;
  color: var(--default-color);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border: 2px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.nav-link:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 157, 221, 0.15);
}

.nav-link.active {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
  box-shadow: 0 6px 18px rgba(20, 157, 221, 0.35);
}

.nav-link i {
  font-size: 16px;
}

/* ============================================================
   PORTFOLIO LIST PAGES - PROJECTS & ACTIVITIES
   ============================================================ */

.projects-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  box-shadow: 0 12px 28px rgba(20, 157, 221, 0.15);
  transform: translateY(-8px);
}

.project-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
  flex-shrink: 0;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 13, 24, 0.88);
  backdrop-filter: blur(1px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.project-image:hover .project-overlay {
  opacity: 1;
}

.project-overlay a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--accent-color);
}

.project-overlay a:hover {
  background: white;
  color: var(--accent-color);
  transform: scale(1.12);
  box-shadow: 0 6px 18px rgba(20, 157, 221, 0.35);
}

.project-info {
  padding: 16px 14px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-info h5 {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.4;
  letter-spacing: -0.3px;
}

.project-category {
  font-size: 12px;
  color: var(--accent-color);
  font-weight: 600;
  text-transform: capitalize;
  margin-top: 8px;
}

/* Filter Container Styles */
.filter-container {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8eef5;
}

.search-section {
  margin-bottom: 25px;
}

.search-section label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-box input {
  width: 100%;
  border-radius: 10px;
  border: 2px solid #e8eef5;
  padding: 14px 18px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: white;
}

.search-box input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(20, 157, 221, 0.1);
  outline: none;
}

.search-box input::placeholder {
  color: #a0aec0;
}

/* Category Filter Dropdown */
.categories-section {
  margin-bottom: 0;
}

.categories-section label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==============================================
   CATEGORY FILTER - DESKTOP/MOBILE SWITCHING
   Desktop: Show buttons, hide dropdown
   Mobile: Hide buttons, show dropdown
   ============================================== */

/* Desktop View - Category Buttons (default) */
.category-buttons.desktop-only {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Desktop View - Hide Dropdown (default) */
.category-dropdown-wrapper.mobile-only {
  display: none;
}

/* Mobile View - Switch display */
@media screen and (max-width: 768px) {
  /* Hide category buttons on mobile */
  .category-buttons.desktop-only {
    display: none !important;
  }

  /* Show dropdown on mobile */
  .category-dropdown-wrapper.mobile-only {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
}

/* Category Dropdown Wrapper */
.category-dropdown-wrapper {
  flex-direction: column;
  align-items: flex-start;
}

/* Category Select Dropdown */
.category-select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 320px;
}

.category-select {
  width: 100%;
  padding: 12px 40px 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--default-color);
  background: white;
  border: 2px solid #e8eef5;
  border-radius: 10px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all 0.3s ease;
}

.category-select:hover {
  border-color: var(--accent-color);
}

.category-select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(20, 157, 221, 0.1);
}

.category-select-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-color);
  pointer-events: none;
  font-size: 14px;
  transition: transform 0.2s ease;
}

.category-select-wrapper:hover .category-select-icon {
  transform: translateY(-50%) scale(1.1);
}

.clear-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #dc3545;
  background: #fff5f5;
  border: 1px solid #ffcdd2;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.clear-filter-btn:hover {
  background: #ffebee;
  color: #c62828;
  text-decoration: none;
}

.clear-filter-btn i {
  font-size: 14px;
}

/* Project Info Link Styles */
.project-info-link {
  text-decoration: none;
  display: block;
}

.project-info-link .project-info {
  position: relative;
  transition: all 0.3s ease;
}

.project-info-link:hover .project-info {
  background: linear-gradient(135deg, #f8fafc 0%, #e8f4fd 100%);
}

.project-info-link:hover h5 {
  color: var(--accent-color);
}

.view-details-hint {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-color);
  margin-top: 8px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.project-info-link:hover .view-details-hint {
  opacity: 1;
  transform: translateX(0);
}

.view-details-hint i {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.project-info-link:hover .view-details-hint i {
  transform: translateX(3px);
}

/* Category Buttons Styling */
.category-buttons.desktop-only {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-btn {
  background: white;
  border: 2px solid #e8eef5;
  padding: 10px 18px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--default-color);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.category-btn:hover {
  border-color: var(--accent-color);
  background: #f0f8ff;
  color: var(--accent-color);
  transform: translateY(-2px);
}

.category-btn.active {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
  box-shadow: 0 6px 20px rgba(20, 157, 221, 0.3);
}

.category-count {
  background: rgba(0, 0, 0, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
}

.category-btn.active .category-count {
  background: rgba(255, 255, 255, 0.3);
}

/* Pagination Styles */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  margin-bottom: 30px;
}

.pagination-container a,
.pagination-container span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  border: 2px solid #e8eef5;
  color: var(--default-color);
}

.pagination-container a:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

.pagination-container .active {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

.pagination-container .disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* No Results Message */
.no-results {
  text-align: center;
  padding: 60px 30px;
  color: var(--default-color);
}

.no-results i {
  font-size: 48px;
  color: var(--accent-color);
  opacity: 0.5;
  margin-bottom: 15px;
}

.no-results p {
  font-size: 18px;
  margin-top: 15px;
}

.reset-link {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.reset-link:hover {
  background: #00a6eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(20, 157, 221, 0.3);
  color: white;
  text-decoration: none;
}

/* Responsive Grid */
@media (max-width: 1024px) {
  .projects-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .project-image {
    height: 190px;
  }
}

@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .project-image {
    height: 160px;
  }

  .project-info {
    padding: 12px 10px;
  }

  .project-info h5 {
    font-size: 12px;
  }

  .filter-container {
    padding: 20px;
  }

  .category-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .projects-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-image {
    height: 170px;
  }

  .project-info {
    padding: 12px 10px;
  }

  .project-info h5 {
    font-size: 12px;
  }

  .filter-container {
    padding: 16px;
  }

  /* Category dropdown mobile adjustments */
  .category-select-wrapper {
    max-width: 100%;
  }

  .category-select {
    font-size: 14px;
    padding: 14px 44px 14px 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e8eef5;
    border-radius: 12px;
    font-weight: 600;
    color: var(--heading-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .category-select-wrapper {
    max-width: 100%;
  }

  .category-select-icon {
    right: 16px;
    font-size: 12px;
    width: 28px;
    height: 28px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .clear-filter-btn {
    font-size: 12px;
    padding: 8px 14px;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.15);
  }

  /* Mobile project info link */
  .view-details-hint {
    opacity: 1;
    transform: translateX(0);
    font-size: 10px;
    margin-top: 6px;
  }
}

/* Very small screens adjustments */
@media (max-width: 400px) {
  .filter-container {
    padding: 12px;
  }

  .search-box input {
    padding: 12px 14px;
    font-size: 14px;
  }

  .category-btn {
    padding: 6px 10px;
    font-size: 10px;
  }

  .category-count {
    padding: 1px 6px;
    font-size: 9px;
  }
}

/* ============================================================
   DETAIL PAGES - PROJECT & ACTIVITY CARDS
   ============================================================ */

.project-detail-card,
.activity-detail-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  margin-bottom: 40px;
}

.card-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* Image Section - Shared */
.image-section {
  position: relative;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  overflow: hidden;
}

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.image-container img {
  width: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-container:hover img {
  transform: scale(1.05);
}

/* Image Counter */
.image-counter {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.65);
  color: white;
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  z-index: 10;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  gap: 6px;
}

.image-counter i {
  font-size: 14px;
}

/* Auto-slide Indicator */
.slide-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent-color);
  width: 0%;
  animation: slideProgress 5s linear infinite;
  z-index: 5;
}

@keyframes slideProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* Content Section - Shared */
.content-section {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-title,
.activity-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

/* Meta Information - Shared */
.project-meta,
.activity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f4f8;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.meta-icon {
  width: 36px;
  height: 36px;
  background: #f0f4f8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 16px;
  flex-shrink: 0;
}

.meta-text {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--default-color);
  font-weight: 600;
}

.meta-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-color);
  margin-top: 2px;
}

.category-badge {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
  width: fit-content;
}

/* Description - Shared */
.project-description,
.activity-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--default-color);
  text-align: justify;
  margin-bottom: 30px;
}

/* Action Buttons - Shared */
.action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary-action {
  background: var(--accent-color);
  color: white;
}

.btn-primary-action:hover {
  background: #00a6eb;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(20, 157, 221, 0.3);
  color: white;
  text-decoration: none;
}

.btn-secondary-action {
  background: white;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn-secondary-action:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(20, 157, 221, 0.3);
  text-decoration: none;
}

/* Thumbnail Gallery - Shared */
.thumbnail-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #f0f4f8;
}

.thumbnail-section h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--heading-color);
  margin-bottom: 12px;
}

.thumbnail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 10px;
}

.thumbnail {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background: #f5f7fa;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumbnail:hover {
  border-color: var(--accent-color);
  box-shadow: 0 6px 16px rgba(20, 157, 221, 0.2);
}

.thumbnail:hover img {
  transform: scale(1.1);
}

.thumbnail.active {
  border-color: var(--accent-color);
  box-shadow: 0 6px 20px rgba(20, 157, 221, 0.3);
}

/* Back Button */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  padding: 12px 24px;
  background: white;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-button:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(20, 157, 221, 0.3);
}

/* No Images Message */
.no-images {
  background: #f5f7fa;
  padding: 60px 40px;
  border-radius: 16px;
  text-align: center;
  color: var(--default-color);
}

.no-images i {
  font-size: 48px;
  color: var(--accent-color);
  opacity: 0.5;
  margin-bottom: 15px;
  display: block;
}

.no-images h4 {
  color: var(--heading-color);
  margin-top: 15px;
  margin-bottom: 10px;
}

/* Detail Pages Responsive Design */
@media (max-width: 1024px) {
  .card-content {
    grid-template-columns: 1fr;
  }

  .image-section {
    min-height: 350px;
  }

  .content-section {
    padding: 30px;
  }

  .project-title,
  .activity-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .card-content {
    grid-template-columns: 1fr;
  }

  .image-section {
    min-height: 300px;
  }

  .content-section {
    padding: 20px;
  }

  .project-title,
  .activity-title {
    font-size: 20px;
  }

  .project-meta,
  .activity-meta {
    gap: 15px;
    flex-direction: column;
  }

  .action-buttons {
    flex-direction: column;
  }

  .btn-action {
    width: 100%;
    justify-content: center;
  }

  .thumbnail-gallery {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 8px;
  }
}

@media (max-width: 576px) {
  .image-section {
    min-height: 250px;
  }

  .content-section {
    padding: 16px;
  }

  .project-title,
  .activity-title {
    font-size: 18px;
  }

  .meta-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .meta-label {
    font-size: 10px;
  }

  .meta-value {
    font-size: 14px;
  }

  .image-counter {
    top: 15px;
    right: 15px;
    padding: 8px 14px;
    font-size: 12px;
  }

  .back-button {
    width: 100%;
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Portfolio Navigation Tabs
--------------------------------------------------------------*/
.portfolio-nav-container {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  padding: 0 15px;
}

.portfolio-nav {
  display: inline-flex;
  background: var(--surface-color);
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.portfolio-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 500;
  color: var(--default-color);
  background: transparent;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.portfolio-nav-btn i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.portfolio-nav-btn span {
  position: relative;
  z-index: 1;
}

.portfolio-nav-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: linear-gradient(135deg, var(--accent-color), #0d7bb5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.5s ease,
    height 0.5s ease;
  z-index: 0;
}

.portfolio-nav-btn:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.portfolio-nav-btn:hover i {
  transform: scale(1.2) rotate(-5deg);
}

.portfolio-nav-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-color), #0d7bb5);
  box-shadow: 0 8px 25px rgba(20, 157, 221, 0.4);
  transform: translateY(-2px);
}

.portfolio-nav-btn.active::before {
  width: 300%;
  height: 300%;
}

.portfolio-nav-btn.active i {
  animation: iconBounce 0.6s ease;
}

.portfolio-nav-btn:active {
  transform: translateY(0) scale(0.98);
}

/* Icon bounce animation */
@keyframes iconBounce {
  0%,
  100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.3);
  }
  50% {
    transform: scale(0.9);
  }
  75% {
    transform: scale(1.1);
  }
}

/* Hover glow effect */
.portfolio-nav-btn:not(.active):hover {
  box-shadow: 0 5px 20px rgba(20, 157, 221, 0.2);
}

/* Responsive styles for portfolio nav */
@media (max-width: 768px) {
  .portfolio-nav {
    padding: 6px;
    gap: 6px;
    border-radius: 20px;
  }

  .portfolio-nav-btn {
    padding: 12px 18px;
    font-size: 13px;
    gap: 8px;
    border-radius: 30px;
  }

  .portfolio-nav-btn i {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .portfolio-nav-container {
    margin-bottom: 30px;
  }

  .portfolio-nav {
    flex-direction: column;
    width: 100%;
    border-radius: 16px;
    padding: 8px;
  }

  .portfolio-nav-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 12px;
  }
}
