/*
 * Modern theme overrides
 * Loaded after css/style.css to keep original structure and data untouched.
 */

:root {
  --theme-font-body: 'Plus Jakarta Sans', sans-serif;
  --theme-font-heading: 'Space Grotesk', sans-serif;
  --theme-bg: #060d1a;
  --theme-bg-soft: #0d172b;
  --theme-bg-panel: #121f36;
  --theme-bg-card: #15233d;
  --theme-text: #25344e;
  --theme-text-muted: #7f90ae;
  --theme-text-on-dark: #d6e2ff;
  --theme-heading-on-dark: #f4f8ff;
  --theme-accent: #00d4ff;
  --theme-accent-strong: #0099d8;
  --theme-accent-soft: rgba(0, 212, 255, 0.2);
  --theme-border: rgba(148, 163, 184, 0.28);
  --theme-shadow: 0 20px 50px rgba(2, 8, 20, 0.35);
}

body {
  font-family: var(--theme-font-body);
  color: var(--theme-text);
}

body.dark-mode {
  background:
    radial-gradient(1100px 700px at 10% -8%, rgba(0, 212, 255, 0.14), transparent 58%),
    radial-gradient(900px 550px at 90% 4%, rgba(34, 197, 255, 0.08), transparent 54%),
    var(--theme-bg);
}

h1,
h2,
h3,
h4,
h5,
h6,
.btn-main,
.btn-ghost,
.btn-text,
.site-header a {
  font-family: var(--theme-font-heading);
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6 {
  color: var(--theme-heading-on-dark);
}

.lead {
  color: var(--theme-text-muted);
}

.dark-mode p,
.lead.dark {
  color: var(--theme-text-on-dark);
}

a,
.block-title span,
.about-section .content-block h2 span,
.skill-section h2 span,
.contact-section a:hover,
.site-footer .footer-social a:hover,
.site-header .nav-item .active,
.site-header a:hover,
.site-header a:focus {
  color: var(--theme-accent);
}

a:hover {
  color: #61ecff;
}

.section-title h2 {
  letter-spacing: 0.08em;
}

.section-title h2:before,
.section-title h2:after {
  border-bottom-color: var(--theme-accent);
}

.section-title h2:before {
  border-left-color: var(--theme-accent);
}

.section-title h2:after {
  border-right-color: var(--theme-accent);
}

.btn-main {
  background: linear-gradient(135deg, var(--theme-accent), #63ecff);
  color: #001725;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 212, 255, 0.26);
}

.btn-main:hover {
  background: linear-gradient(135deg, #3fe5ff, var(--theme-accent-strong));
  color: #00111f;
}

.btn-ghost {
  border-radius: 999px;
  border-color: var(--theme-accent);
}

.btn-ghost:hover {
  background: var(--theme-accent);
  color: #001725;
}

.site-header .navbar {
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.site-header .navbar-brand h2 {
  margin: 0;
  color: #f8fbff;
  letter-spacing: 0.08em;
}

.fixed-top {
  background: rgba(6, 14, 27, 0.9);
  border-bottom: 1px solid rgba(0, 212, 255, 0.25);
  backdrop-filter: blur(14px);
}

.hero-area {
  background:
    linear-gradient(120deg, rgba(4, 10, 21, 0.83) 10%, rgba(8, 18, 36, 0.76) 52%, rgba(0, 153, 216, 0.35) 100%),
    url('../image/hero-bg-modern.svg') no-repeat center center;
  background-size: cover;
}

.hero-area:after {
  background:
    radial-gradient(circle at 15% 22%, rgba(0, 212, 255, 0.3), transparent 50%),
    radial-gradient(circle at 86% 76%, rgba(34, 197, 255, 0.22), transparent 46%);
}

.hero-area .hero-head strong,
.hero-area .hero-social a:hover {
  color: var(--theme-accent);
}

.hero-area .hero-icons li {
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  box-shadow: var(--theme-shadow);
}

.hero-area .hero-icons li:first-child {
  background: #243f6a;
}

.hero-area .hero-icons li:nth-child(2) {
  background: #154a6b;
}

.hero-area .hero-icons li:nth-child(3) {
  background: #223f70;
}

.hero-area .hero-icons li:nth-child(4) {
  background: #f4faff;
}

.intro-section {
  background: linear-gradient(180deg, rgba(8, 14, 26, 0.65), rgba(9, 16, 30, 0.92));
}

.intro-section .item-wrapper,
.dark-mode .intro-section .item-wrapper {
  background: rgba(16, 27, 47, 0.82);
  border: 1px solid var(--theme-border);
  box-shadow: var(--theme-shadow);
}

.intro-section .item-wrapper:after {
  background: linear-gradient(135deg, var(--theme-accent), #63ecff);
}

.intro-section .item-wrapper:hover {
  border-color: rgba(0, 212, 255, 0.45);
}

.intro-section .icon-box {
  color: var(--theme-accent);
}

.about-section,
.dark-mode .about-section {
  background: linear-gradient(180deg, #0b162a 0%, #0f1d35 100%);
}

.about-section .img-wrapper:before {
  border-color: var(--theme-accent);
}

.about-section .img-wrapper:after {
  background: var(--theme-accent);
}

.skill-section {
  background:
    radial-gradient(1000px 400px at 8% -5%, rgba(0, 212, 255, 0.22), transparent 60%),
    radial-gradient(800px 360px at 88% 3%, rgba(99, 236, 255, 0.1), transparent 62%),
    linear-gradient(180deg, #091528 0%, #0d1f38 100%);
  position: relative;
  z-index: 1;
}

.skill-section:after {
  background: rgba(3, 7, 14, 0.22);
}

.skill-section .content-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-right: 0;
  text-align: center;
}

.skill-section h2 {
  font-size: clamp(2rem, 3.7vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.skill-section .lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: #b6c9e8;
}

.skill-section .progress-block {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  text-align: left;
  width: 100%;
}

.skill-section .progress-wrapper {
  margin-bottom: 0;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid rgba(151, 176, 220, 0.26);
  background: linear-gradient(165deg, rgba(16, 27, 47, 0.95), rgba(10, 20, 36, 0.86));
  box-shadow: 0 16px 38px rgba(2, 8, 20, 0.3);
  backdrop-filter: blur(10px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: visible;
}

.skill-section .progress-wrapper:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 26px 50px rgba(1, 8, 20, 0.38);
}

.skill-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.skill-section .progress-wrapper h3 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  color: #f4f9ff;
}

.skill-section .progress-wrapper h3:before {
  content: '';
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--theme-accent);
  box-shadow: 0 0 0 5px rgba(0, 212, 255, 0.2);
  flex-shrink: 0;
}

.skill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #001d31;
  background: linear-gradient(135deg, #7af2ff, #00cfff);
  white-space: nowrap;
}

.skill-section .progress-wrapper hr {
  height: 1px;
  margin: 0 0 18px;
  border: 0;
  background: linear-gradient(
    90deg,
    rgba(153, 177, 218, 0.15),
    rgba(153, 177, 218, 0.65),
    rgba(153, 177, 218, 0.15)
  );
}

.skill-section .progress-bar {
  background: linear-gradient(90deg, var(--theme-accent), #63ecff);
}

.skill-section .progress-value {
  color: var(--theme-accent);
}

.skill-bubble-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
  gap: 10px;
  margin-top: 0;
  line-height: 1;
}

.skill-bubble-list:after {
  content: none;
}

.skill-bubble-list li {
  margin: 0;
  min-height: 66px;
  border-radius: 14px;
  border: 1px solid rgba(154, 183, 230, 0.22);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.skill-bubble-list li::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  transform: translate(-50%, 6px);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: rgba(8, 22, 40, 0.97) transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 5;
}

.skill-bubble-list li::after {
  content: attr(data-skill);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 11px);
  transform: translate(-50%, 8px);
  padding: 5px 9px;
  border-radius: 8px;
  border: 1px solid rgba(107, 181, 239, 0.6);
  background: rgba(8, 22, 40, 0.97);
  color: #eaf5ff;
  font-size: 0.68rem;
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  z-index: 6;
}

.skill-bubble-list li:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.52);
  background: rgba(8, 26, 46, 0.95);
}

.skill-bubble-list li:hover::before,
.skill-bubble-list li:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.skill-bubble-list li img {
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
}

.portfolio-section {
  background:
    radial-gradient(900px 360px at 8% -8%, rgba(0, 212, 255, 0.12), transparent 62%),
    radial-gradient(780px 300px at 90% 8%, rgba(99, 236, 255, 0.08), transparent 64%),
    linear-gradient(180deg, #0a1427 0%, #0d1a32 100%);
  position: relative;
}

.portfolio-section .section-title .lead {
  color: #b5c9ea;
}

.portfolio-section .filter-button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 56px;
}

.portfolio-section .filter-button-group button,
.dark-mode .filter-button-group button {
  border: 1px solid rgba(151, 176, 220, 0.32);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #cfddf6;
  background: rgba(13, 24, 43, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.portfolio-section .filter-button-group button:hover {
  border-color: var(--theme-accent);
  color: #f5fbff;
  background: rgba(18, 35, 61, 0.92);
  transform: translateY(-2px);
}

.portfolio-section .filter-button-group .active {
  background: linear-gradient(135deg, #7af2ff, var(--theme-accent));
  border-color: transparent;
  color: #001727;
  box-shadow: 0 12px 28px rgba(0, 212, 255, 0.24);
}

.portfolio-section .box {
  background-color: #132440;
  border: 1px solid rgba(148, 174, 214, 0.22);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(1, 8, 20, 0.35);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.portfolio-section .box:before,
.portfolio-section .box:after {
  content: '';
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  top: 0;
  left: 0;
  bottom: 0;
  opacity: 1;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.portfolio-section .box:before {
  z-index: 1;
  opacity: 0;
  background: linear-gradient(150deg, rgba(0, 212, 255, 0.32), rgba(99, 236, 255, 0.2));
}

.portfolio-section .box:after {
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(3, 10, 22, 0.92) 8%,
    rgba(3, 10, 22, 0.55) 44%,
    rgba(3, 10, 22, 0.02) 100%
  );
}

.portfolio-section .box:hover {
  transform: translateY(-9px);
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 28px 54px rgba(0, 5, 16, 0.45);
}

.portfolio-section .box:hover:before {
  opacity: 1;
}

.portfolio-section .box img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.5s ease;
}

.portfolio-section .box:hover img {
  transform: scale(1.08);
}

.portfolio-section .box .box-content {
  width: 100%;
  left: 0;
  bottom: 0;
  opacity: 1;
  z-index: 3;
  text-align: left;
  padding: 22px;
  pointer-events: none;
}

.portfolio-section .box .category {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #d8f7ff;
  background: rgba(0, 212, 255, 0.2);
  border: 1px solid rgba(127, 237, 255, 0.38);
}

.portfolio-section .box .title {
  margin: 0;
  color: #f5faff;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.35;
  text-transform: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.portfolio-section .box .icon-box {
  opacity: 0;
  left: auto;
  top: 14px;
  right: 14px;
  z-index: 4;
  transform: translateY(-8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.portfolio-section .box .icon-box a {
  width: 44px;
  height: 44px;
  line-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(160, 186, 225, 0.45);
  background: rgba(10, 19, 35, 0.86);
  color: #d8e6ff;
  backdrop-filter: blur(8px);
}

.portfolio-section .box .icon-box a:hover {
  background: var(--theme-accent);
  color: #001725;
  border-color: transparent;
}

.portfolio-section .box:hover .icon-box {
  opacity: 1;
  top: 14px;
  transform: translateY(0);
}

.portfolio-section .box .icon li a:hover {
  color: #001725;
  background: var(--theme-accent);
}

.portfolio-section .modal-content,
.portfolio-modal-root .modal-content {
  background: linear-gradient(170deg, rgba(10, 20, 37, 0.98), rgba(8, 17, 32, 0.95));
  border: 1px solid rgba(148, 174, 214, 0.28);
  border-radius: 18px;
  overflow-x: hidden !important;
}

.portfolio-section .modal-body,
.portfolio-modal-root .modal-body {
  padding: 34px 32px 20px;
  overflow-x: hidden !important;
  overflow-y: auto;
}

.portfolio-modal-root .modal-dialog,
.portfolio-modal-root .modal-content,
.portfolio-modal-root .modal-body {
  overflow-x: hidden !important;
}

.portfolio-section .modal-body img,
.portfolio-modal-root .modal-body img {
  width: 100%;
  max-width: 100%;
  max-height: min(68vh, 720px);
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 16px;
  border: 1px solid rgba(148, 174, 214, 0.25);
  background: rgba(8, 18, 34, 0.72);
}

.portfolio-section .modal-dialog.modal-xl,
.portfolio-modal-root .modal-dialog.modal-xl {
  max-width: min(1200px, calc(100vw - 2rem));
}

.portfolio-section .item-content,
.portfolio-modal-root .item-content {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  margin-left: 0;
  margin-right: 0;
  row-gap: 20px;
}

.portfolio-section .item-content > [class*='col-'],
.portfolio-modal-root .item-content > [class*='col-'] {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.portfolio-section .content-wrapper,
.portfolio-modal-root .content-wrapper {
  padding: 26px 0 6px;
}

.portfolio-section .content-wrapper .item-title,
.portfolio-modal-root .content-wrapper .item-title {
  color: #f5f9ff;
}

.portfolio-section .content-wrapper p,
.portfolio-modal-root .content-wrapper p {
  color: #c8d6f0;
}

.portfolio-section .content-wrapper a,
.portfolio-modal-root .content-wrapper a {
  color: var(--theme-accent);
  overflow-wrap: anywhere;
}

.portfolio-section .meta-wrapper,
.portfolio-modal-root .meta-wrapper {
  background: rgba(11, 21, 38, 0.88);
  border: 1px solid rgba(148, 174, 214, 0.28);
}

.portfolio-section .item-meta li span,
.portfolio-modal-root .item-meta li span {
  color: #f4f8ff;
}

.portfolio-inner-text li {
  color: #c6d5f4;
}

.portfolio-section .btn-close,
.portfolio-modal-root .btn-close {
  position: sticky !important;
  top: 0 !important;
  right: 0;
  margin-left: auto;
  margin-bottom: 14px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  background-image: none !important;
  background: linear-gradient(135deg, #7af2ff, var(--theme-accent)) !important;
  color: #001a2b !important;
  border: 1px solid rgba(124, 237, 255, 0.38);
  box-shadow: 0 10px 24px rgba(0, 212, 255, 0.3);
  opacity: 1;
  z-index: 6;
  float: right;
}

.portfolio-section .btn-close:hover,
.portfolio-modal-root .btn-close:hover {
  background: linear-gradient(135deg, #9bf7ff, #2de0ff);
  color: #001522;
}

.portfolio-section .btn-close i,
.portfolio-modal-root .btn-close i {
  display: none;
}

.portfolio-section .btn-close::after,
.portfolio-modal-root .btn-close::after {
  content: '\00d7';
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: #001a2b;
}

.service-section,
.dark-mode .service-section {
  background: linear-gradient(180deg, #0b1428 0%, #0f1e38 100%);
}

.service-section .content-wrapper {
  border: 1px solid var(--theme-border);
  background: rgba(16, 27, 47, 0.76);
  backdrop-filter: blur(8px);
}

.service-section .icon-box {
  color: var(--theme-accent);
  background: rgba(0, 212, 255, 0.16);
}

.service-section .content-wrapper:hover,
.dark-mode .service-section .content-wrapper:hover {
  background: linear-gradient(165deg, rgba(0, 212, 255, 0.12), rgba(16, 27, 47, 0.92));
  border-color: rgba(0, 212, 255, 0.42);
}

.service-section .content-wrapper:hover .icon-box {
  background: var(--theme-accent);
  color: #001725;
}

.service-section .content-wrapper:hover h3,
.dark-mode .service-section .content-wrapper:hover h3 {
  color: #f5f9ff;
}

.service-section .content-wrapper:hover p,
.dark-mode .service-section .content-wrapper:hover p {
  color: #d4dff5;
}

.time-frame {
  color: #f5f9ff;
}

.time-frame span {
  color: #9fb2d4;
}

.features-section {
  background: linear-gradient(180deg, #0b1325 0%, #0d182f 100%);
}

#features-section {
  background:
    radial-gradient(980px 360px at 12% -8%, rgba(0, 212, 255, 0.14), transparent 62%),
    radial-gradient(860px 320px at 88% -4%, rgba(99, 236, 255, 0.09), transparent 64%),
    linear-gradient(180deg, #071328 0%, #0a1933 100%);
  overflow: hidden;
}

#features-section .container {
  position: relative;
}

#features-section .experience-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

#features-section .experience-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--theme-accent);
  margin-bottom: 8px;
}

#features-section .experience-header .block-title {
  margin-bottom: 12px;
  color: #ecf6ff;
  line-height: 1.15;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
}

#features-section .experience-header .block-title strong {
  color: #8af5ff;
  text-shadow: 0 0 22px rgba(0, 212, 255, 0.42);
}

#features-section .experience-header p {
  max-width: 700px;
  margin: 0 auto;
  color: #b7caea;
}

#features-section .experience-cards {
  margin: 52px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  overflow: visible;
  position: relative;
  align-items: stretch;
}

#features-section .experience-cards::before {
  content: none;
}

#features-section .experience-cards::-webkit-scrollbar {
  width: 0;
  height: 0;
}

#features-section .experience-cards::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(126, 232, 255, 0.58);
}

#features-section .experience-cards::-webkit-scrollbar-track {
  background: rgba(9, 20, 41, 0.58);
  border-radius: 999px;
}

#features-section .experience-card {
  margin: 0;
  list-style: none;
  position: relative;
  padding-top: 0;
  display: flex;
  flex-direction: column;
}

#features-section .experience-card::before {
  content: none;
}

#features-section .timeline-meta {
  position: relative;
  max-width: 100%;
  padding-left: 0;
  margin-bottom: 10px;
}

#features-section .timeline-meta::before,
#features-section .timeline-meta::after {
  content: none;
}

#features-section .timeline-meta h5 {
  margin: 0;
  font-size: 0.96rem;
  color: #d8ecff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

#features-section .timeline-meta span {
  display: block;
  margin-top: 3px;
  font-size: 0.85rem;
  color: #9eb6dd;
}

#features-section .experience-card-inner {
  height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(150, 177, 221, 0.36);
  background: linear-gradient(165deg, rgba(15, 26, 47, 0.95), rgba(11, 20, 37, 0.9));
  box-shadow: 0 20px 42px rgba(2, 8, 20, 0.38);
  padding: 20px 20px 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

#features-section .experience-card-inner::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  top: 94px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(123, 240, 255, 0), rgba(123, 240, 255, 0.92), rgba(190, 118, 255, 0));
  pointer-events: none;
}

#features-section .experience-card:hover .experience-card-inner {
  transform: translateY(-7px);
  border-color: rgba(123, 240, 255, 0.6);
  box-shadow: 0 30px 54px rgba(2, 8, 20, 0.48);
}

#features-section .experience-card .icon-block {
  margin-right: 0;
}

#features-section .experience-card .circuler-image-company {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  border: 1px solid rgba(120, 238, 255, 0.38);
  background: rgba(7, 17, 33, 0.82);
  padding: 6px;
  object-fit: contain;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.26);
}

#features-section .experience-card .content-wrapper {
  padding: 14px 0 0;
  height: 100%;
}

#features-section .experience-card h4 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  color: #f4f9ff;
}

#features-section .experience-card .time-frame {
  display: block;
  margin-bottom: 12px;
  color: #d5e5ff;
  font-weight: 700;
  font-size: 0.93rem;
}

#features-section .experience-card .time-frame span {
  margin-top: 4px;
  display: block;
  color: #9fb6dd;
  font-weight: 600;
  font-size: 0.82rem;
}

#features-section .experience-card .time-frame .job-date-row {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

#features-section .experience-card .time-frame .job-date {
  margin-top: 0;
  display: inline-flex;
  color: #9fb6dd;
  font-weight: 600;
  font-size: 0.82rem;
}

#features-section .experience-card .time-frame .job-duration {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(123, 240, 255, 0.42);
  background: rgba(10, 30, 54, 0.65);
  color: #89eeff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

#features-section .experience-card p {
  margin: 0;
  color: #c3d5f1;
  font-size: 0.95rem;
  line-height: 1.55;
}

.features-section h4 span,
.education-section h4 span {
  color: #9eb1d0;
}

.features-section .icon-box {
  background: linear-gradient(135deg, var(--theme-accent), #63ecff);
  color: #001725;
  box-shadow: 0 10px 24px rgba(0, 212, 255, 0.22);
}

.testimonial-section {
  background:
    linear-gradient(120deg, rgba(3, 8, 18, 0.85), rgba(8, 16, 30, 0.7), rgba(0, 153, 216, 0.22)),
    url('../image/testimonial-bg.jpg') no-repeat center center;
  background-size: cover;
}

.testimonial-section:after {
  background: rgba(3, 7, 14, 0.25);
}

.testimonial-section .quote-icon {
  background: var(--theme-accent);
}

.blog-section .btn-close {
  background: var(--theme-accent);
  color: #001725;
}

.partner-section,
.dark-mode .partner-section {
  background: var(--theme-bg-soft);
}

.contact-section {
  background: linear-gradient(180deg, #0b1325 0%, #0d1a31 100%);
}

.contact-section .icon-box {
  background: var(--theme-accent);
  color: #001725;
}

.contact-section a,
.dark-mode .contact-section a {
  color: #c8d7f6;
}

.contact-section .map-wrapper {
  background: rgba(13, 24, 43, 0.78);
  border: 1px solid var(--theme-border);
}

.dark-mode .contact-section address {
  color: #c8d7f6;
}

.dark-mode .contact-section .form-control {
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(10, 18, 34, 0.86);
  color: #e7f0ff;
}

.dark-mode .contact-section .form-control::placeholder {
  color: #91a4c8;
}

.dark-mode .contact-section .form-control:focus {
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.14);
}

.site-footer {
  background:
    linear-gradient(120deg, rgba(3, 8, 18, 0.88), rgba(8, 18, 33, 0.86), rgba(0, 153, 216, 0.28)),
    url('../image/footer-bg-modern.svg') no-repeat center center;
  background-size: cover;
}

.site-footer:after {
  background: linear-gradient(145deg, rgba(2, 5, 13, 0.72), rgba(5, 11, 22, 0.68));
}

.site-footer input:focus {
  border-color: var(--theme-accent);
}

.site-footer .back-to-top a {
  background: linear-gradient(135deg, var(--theme-accent), #63ecff);
  color: #001725;
  box-shadow: 0 10px 24px rgba(0, 212, 255, 0.28);
}

.site-footer .footer-bottom ul a:hover {
  color: var(--theme-accent);
}

.preloader {
  background: #040b17;
}

.dots .dot {
  background: var(--theme-accent);
}

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

@media (max-width: 1199px) {
  .site-header .navbar-toggler {
    border-color: rgba(0, 212, 255, 0.45);
  }

  .site-header .navbar-toggler-icon i {
    color: #f3f8ff;
  }

  .site-header .navbar-collapse {
    background: rgba(8, 17, 33, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 12px;
    padding: 8px 18px;
    margin-top: 10px;
  }

  .site-header .nav-link {
    color: #e5efff;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  }

  .site-header .nav-link:hover,
  .site-header .nav-link.active {
    color: var(--theme-accent);
  }

  .skill-section .progress-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #features-section .experience-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  #features-section .experience-card {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .portfolio-section .filter-button-group {
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 30px;
  }

  .portfolio-section .filter-button-group button {
    font-size: 0.67rem;
    padding: 9px 12px;
  }

  .portfolio-section .box .box-content {
    padding: 16px;
  }

  .portfolio-section .box .category {
    font-size: 0.58rem;
    padding: 5px 8px;
  }

  .portfolio-section .box .title {
    font-size: 0.95rem;
  }

  .portfolio-section .modal-body,
  .portfolio-modal-root .modal-body {
    padding: 24px 20px 16px;
  }

  .portfolio-section .modal-dialog.modal-xl,
  .portfolio-modal-root .modal-dialog.modal-xl {
    max-width: calc(100vw - 1rem);
  }

  .portfolio-section .modal-body img,
  .portfolio-modal-root .modal-body img {
    max-height: 52vh;
  }

  #features-section .experience-header .block-title {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  #features-section .experience-cards {
    margin-top: 46px;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  #features-section .experience-card {
    margin-top: 0;
  }

  #features-section .timeline-meta {
    padding-left: 0;
  }

  #features-section .experience-card h4 {
    font-size: 1.22rem;
  }

  #features-section .experience-card .time-frame .job-duration {
    font-size: 0.68rem;
  }

  .skill-section .progress-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .skill-section .progress-wrapper {
    padding: 22px;
  }

  .skill-card-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .skill-count {
    font-size: 0.65rem;
  }
}

@media (hover: none) {
  .portfolio-section .box .icon-box {
    opacity: 1;
    transform: none;
    top: 14px;
  }

  .skill-bubble-list li::before,
  .skill-bubble-list li::after {
    display: none;
  }
}

@media (max-width: 576px) {
  .btn-main,
  .btn-ghost {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ================================================
   PUBLICATIONS SECTION
   ================================================ */

.publications-section {
  background:
    radial-gradient(900px 360px at 5% -5%, rgba(0, 212, 255, 0.12), transparent 60%),
    radial-gradient(780px 300px at 95% 5%, rgba(99, 236, 255, 0.08), transparent 64%),
    linear-gradient(180deg, #0b162a 0%, #0e1c34 100%);
  position: relative;
}

.publications-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.pub-card {
  display: flex;
  border-radius: 18px;
  border: 1px solid rgba(148, 174, 214, 0.22);
  background: linear-gradient(165deg, rgba(16, 27, 47, 0.95), rgba(10, 20, 36, 0.9));
  box-shadow: 0 12px 32px rgba(1, 8, 20, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pub-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 22px 48px rgba(0, 5, 16, 0.42);
}

.pub-year {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #001d31;
  background: linear-gradient(180deg, #7af2ff, var(--theme-accent));
  flex-shrink: 0;
  padding: 14px 0;
}

.pub-body {
  padding: 22px 26px;
  flex: 1;
}

.pub-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.pub-journal {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--theme-accent);
}

.pub-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.14);
  border: 1px solid rgba(127, 237, 255, 0.32);
  color: #a9e8f7;
}

.pub-citations {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(148, 174, 214, 0.14);
  border: 1px solid rgba(148, 174, 214, 0.28);
  color: #c5d5ee;
}

.pub-citations-highlight {
  background: rgba(255, 190, 50, 0.15);
  border-color: rgba(255, 210, 100, 0.4);
  color: #ffd97a;
}

.pub-title {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.45;
  font-family: var(--theme-font-heading);
}

.pub-title a {
  color: #e8f2ff !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pub-title a:hover {
  color: var(--theme-accent) !important;
}

.pub-authors {
  font-size: 0.8rem;
  color: #8fa4c8;
  margin: 0 0 14px;
}

.pub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pub-link-doi,
.pub-link-rg {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pub-link-doi {
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.38);
  color: var(--theme-accent) !important;
}

.pub-link-doi:hover {
  background: var(--theme-accent);
  color: #001725 !important;
  transform: translateY(-2px);
}

.pub-link-rg {
  background: rgba(0, 174, 139, 0.12);
  border: 1px solid rgba(0, 200, 160, 0.35);
  color: #4dd9b8 !important;
}

.pub-link-rg:hover {
  background: rgba(0, 200, 160, 0.25);
  color: #7fffd8 !important;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .pub-year { min-width: 44px; font-size: 0.65rem; }
  .pub-body { padding: 16px 18px; }
  .pub-title { font-size: 0.92rem; }
}

/* ================================================
   PUBLICATIONS EXPANDABLE
   ================================================ */

#pub-extra {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pub-extra-collapsed {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease;
  opacity: 0;
}

.pub-extra-expanded {
  max-height: 4000px;
  overflow: visible;
  opacity: 1;
  transition: max-height 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease 0.05s;
}

.pub-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.pub-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: 999px;
  background: transparent;
  border: 1.5px solid rgba(0, 212, 255, 0.4);
  color: var(--theme-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease,
              transform 0.2s ease, box-shadow 0.25s ease;
}

.pub-toggle-btn:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: var(--theme-accent);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.2);
  transform: translateY(-2px);
}

.pub-toggle-btn i {
  font-size: 1rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.pub-toggle-btn.is-open i {
  transform: rotate(180deg);
}
