:root {
  --primary-glow: #0ff;
  --secondary-glow: #b0f;
  --bg-color: #0b0c10;
  --surface-color: #1f2833;
  --text-main: #c5c6c7;
  --accent: #66fcf1;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Offset for fixed navbar */
  overflow-x: hidden; /* Prevent horizontal scroll on all browsers */
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  transition: opacity 0.4s ease-in-out;
  opacity: 1;
}

/* --- Smooth Page Transitions --- */
body.page-transitioning {
  opacity: 0;
}

.bg-surface {
  background-color: var(--surface-color) !important;
}

/* Glassmorphism Navbar */
.glass-nav {
  background: rgba(11, 12, 16, 0.8) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(102, 252, 241, 0.15);
  z-index: 1050;
  transition:
    transform 0.4s ease-in-out,
    background 0.3s ease;
}

.navbar-hidden {
  transform: translateY(-100%);
}

@media (max-width: 1199px) {
  .navbar-collapse {
    background: rgba(11, 12, 16, 0.98);
    border: 1px solid rgba(102, 252, 241, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
}

.navbar-brand {
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.brand-text {
  transition: all 0.3s ease;
  white-space: nowrap !important;
}

/* Tweak specifically for smaller desktop screens (1200px to 1399px) to prevent overlap */
@media (min-width: 1200px) and (max-width: 1399px) {
  .brand-text {
    font-size: 0.85rem;
    line-height: 1.2;
    display: inline-block;
  }
  .navbar-brand {
    max-width: none;
  }
  .nav-link {
    font-size: 0.75rem !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    letter-spacing: -0.2px;
  }
}

.nav-link {
  color: var(--text-main) !important;
  font-weight: 500;
  font-size: 0.8rem; /* Reduced to fit full labels */
  transition: all 0.3s ease;
  position: relative;
  margin: 0 1px;
  padding-left: 0.4rem !important;
  padding-right: 0.4rem !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
  text-shadow: 0 0 8px rgba(102, 252, 241, 0.6);
}

/* Dropdown styling */
.dropdown-menu {
  background: rgba(31, 40, 51, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(102, 252, 241, 0.2);
  margin-top: 0;
  min-width: 220px;
  padding: 0.5rem 0;
}

.dropdown-item {
  color: var(--text-main);
  transition: all 0.2s;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  line-height: 1.4;
  /* Default Desktop: Jangan wrap agar tetap satu baris */
  white-space: nowrap;
}

.dropdown-item:hover {
  background: rgba(102, 252, 241, 0.1);
  color: var(--accent);
}

/* Enable hover dropdown for desktop (xl breakpoint) */
@media all and (min-width: 1200px) {
  .navbar .dropdown-menu {
    display: none;
    animation: fadeDropdown 0.3s ease-in-out forwards;
    margin-top: 0;
  }

  /* Invisible bridge to prevent hover loss when moving mouse from link to menu */
  .navbar .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
  }

  .navbar .nav-item:hover .dropdown-menu {
    display: block;
  }

  /* Fix dropdown cutoff: force right alignment when shown via CSS hover */
  .navbar .dropdown-menu-end {
    right: 0 !important;
    left: auto !important;
  }
}

@keyframes fadeDropdown {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Language Dropdown Enhancements */
.lang-selector-btn {
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.lang-selector-btn:hover {
  background: rgba(102, 252, 241, 0.1);
  border-color: rgba(102, 252, 241, 0.3);
}
.lang-dropdown {
  min-width: 200px;
}
.lang-dropdown .dropdown-item {
  border-radius: 8px;
  margin: 4px 8px;
  width: calc(100% - 16px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.lang-dropdown .dropdown-item:hover {
  background: rgba(102, 252, 241, 0.15) !important;
  color: var(--accent) !important;
  transform: translateX(6px);
  box-shadow: -4px 0 0 var(--accent);
}
.lang-dropdown .dropdown-item.active {
  background: linear-gradient(
    90deg,
    rgba(102, 252, 241, 0.2) 0%,
    transparent 100%
  ) !important;
  color: var(--accent) !important;
  border-left: 3px solid var(--accent);
  border-radius: 4px 8px 8px 4px;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;
  height: 70vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(
    circle,
    rgba(102, 252, 241, 0.08) 0%,
    rgba(11, 12, 16, 0) 60%
  );
  z-index: -1;
  pointer-events: none;
}

/* Typography */
.glow-text {
  color: #fff;
  text-shadow:
    0 0 10px rgba(0, 255, 255, 0.5),
    0 0 20px rgba(176, 0, 255, 0.3);
  font-weight: 800;
  letter-spacing: -1px;
}

/* Typewriter Cursor */
.typewriter-text {
  border-right: none;
  display: inline;
  white-space: normal; /* Allow wrapping on small screens */
  word-break: break-word;
}
.cursor {
  display: inline-block;
  width: 5px;
  height: 1.1em;
  background-color: var(--accent);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
  box-shadow: 0 0 8px var(--accent);
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Hero Floating Glass Cards */
.floating-card {
  position: absolute;
  width: 150px;
  height: 150px;
  background: rgba(31, 40, 51, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5),
    inset 0 0 15px rgba(255, 255, 255, 0.05);
  animation: floatCard 8s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}
.floating-card.card-1 {
  top: 15%;
  left: -15%;
  transform: rotate(-10deg);
  border-color: rgba(102, 252, 241, 0.2);
}
.floating-card.card-2 {
  bottom: -5%;
  right: -10%;
  animation-delay: 4s;
  transform: rotate(10deg);
  border-color: rgba(176, 0, 255, 0.2);
}

@keyframes floatCard {
  0% {
    transform: translateY(0) rotate(var(--rot, 0deg));
  }
  50% {
    transform: translateY(-30px) rotate(var(--rot, 0deg));
  }
  100% {
    transform: translateY(0) rotate(var(--rot, 0deg));
  }
}
.card-1 {
  --rot: -10deg;
}
.card-2 {
  --rot: 10deg;
}

.section-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* Cards */
.tech-card {
  background: rgba(31, 40, 51, 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(102, 252, 241, 0.03),
    transparent
  );
  transform: translateX(-100%);
  transition: 0.6s;
}

.tech-card:hover::before {
  transform: translateX(100%);
}

.tech-card:hover {
  transform: translateY(-10px);
  border-color: rgba(102, 252, 241, 0.4);
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(102, 252, 241, 0.1);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: inline-block;
  text-shadow: 0 0 15px rgba(102, 252, 241, 0.4);
}

/* Buttons */
.btn-neon {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow:
    0 0 10px rgba(102, 252, 241, 0.2) inset,
    0 0 10px rgba(102, 252, 241, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-neon:hover {
  background: var(--accent);
  color: #0b0c10;
  box-shadow:
    0 0 20px var(--accent) inset,
    0 0 20px var(--accent);
}

.btn-neon-filled {
  background: var(--accent);
  color: #0b0c10;
  border: 1px solid var(--accent);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(102, 252, 241, 0.5);
  transition: all 0.3s ease;
}

.btn-neon-filled:hover {
  background: transparent;
  color: var(--accent);
  box-shadow:
    0 0 10px rgba(102, 252, 241, 0.5) inset,
    0 0 20px rgba(102, 252, 241, 0.5);
}

/* Footer */
.footer-tech {
  background: rgba(11, 12, 16, 0.95);
  border-top: 1px solid rgba(102, 252, 241, 0.1);
  padding: 3rem 0;
  margin-top: 5rem;
}

/* Inner Page Headers (Cyber-Grid Hologram) */
.page-header {
  position: relative;
  padding: 160px 0 100px;
  background-image: url("https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=2070&auto=format&fit=crop"); /* Circuit board abstract */
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(102, 252, 241, 0.2);
  margin-bottom: 4rem;
  overflow: hidden;
  z-index: 1;
}

@media (max-width: 767px) {
  .page-header {
    background-image: url("https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=800&auto=format&fit=crop"); /* Smaller image for mobile */
  }
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 12, 16, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: -2;
}

.page-header::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(102, 252, 241, 0.15) 0%,
    rgba(11, 12, 16, 0) 70%
  );
  z-index: -1;
  pointer-events: none;
}

.terminal-breadcrumb {
  display: inline-block;
  background: rgba(31, 40, 51, 0.6);
  border: 1px solid rgba(102, 252, 241, 0.3);
  color: var(--accent);
  padding: 0.4rem 1.2rem;
  border-radius: 5px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 10px rgba(102, 252, 241, 0.1);
}

/* Gallery Hover */
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 12, 16, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: var(--accent);
  font-size: 2rem;
  text-shadow: 0 0 10px var(--accent);
}

/* Form Controls */
.form-control,
.form-select {
  background: rgba(31, 40, 51, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus {
  background: rgba(31, 40, 51, 0.8);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0.25rem rgba(102, 252, 241, 0.25);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Infinite Client Slider */
.client-slider {
  background: rgba(11, 12, 16, 0.95);
  padding: 3rem 0;
  border-top: 1px solid rgba(102, 252, 241, 0.1);
  border-bottom: 1px solid rgba(102, 252, 241, 0.1);
  position: relative;
  width: 100%;
  max-width: 100vw;
}

.client-slider-container {
  overflow-x: auto;
  position: relative;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.client-slider-container::-webkit-scrollbar {
  display: none;
}

.client-slider::before,
.client-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.client-slider::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(11, 12, 16, 1) 0%,
    rgba(11, 12, 16, 0) 100%
  );
}

.client-slider::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(11, 12, 16, 1) 0%,
    rgba(11, 12, 16, 0) 100%
  );
}

.client-slide-track {
  display: flex;
  width: max-content;
}

.client-slide {
  width: 200px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  filter: grayscale(100%) opacity(0.5);
  transition: all 0.3s ease;
}

.client-slide:hover {
  filter: grayscale(0%) opacity(1)
    drop-shadow(0 0 10px rgba(102, 252, 241, 0.5));
  transform: scale(1.1);
  cursor: pointer;
}

.client-slide img {
  max-width: 150px;
  max-height: 50px;
  object-fit: contain;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Services Card Slider */
.services-slider {
  position: relative;
  width: 100%;
  max-width: 100vw;
  padding: 20px 0;
}

.services-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}
.services-scroll::-webkit-scrollbar {
  display: none;
}

.services-slider::before,
.services-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.services-slider::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(11, 12, 16, 1) 0%,
    rgba(11, 12, 16, 0) 100%
  );
}

.services-slider::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(11, 12, 16, 1) 0%,
    rgba(11, 12, 16, 0) 100%
  );
}

.services-slide-track {
  display: flex;
  width: max-content;
  gap: 20px;
  align-items: stretch;
}

.service-card-slide {
  width: 330px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.service-card-slide .tech-card {
  height: 100%;
  width: 100%;
}

/* Mobile Responsiveness Fixes */
@media (max-width: 1199px) {
  /* Di Mobile: Izinkan teks turun ke bawah agar tidak terpotong */
  .dropdown-item {
    white-space: normal !important;
    word-wrap: break-word;
    text-align: center;
  }
}

@media (max-width: 991px) {
  /* Pastikan section tidak meluber ke kanan di tablet */
  section {
    overflow-x: hidden;
  }

  /* Hero h1 lebih kecil di tablet agar typewriter tidak overflow */
  .hero-section .display-3 {
    font-size: 2rem;
    line-height: 1.3;
  }
  .typewriter-text {
    font-size: 0.85em;
  }
}

@media (max-width: 1199px) {
  .navbar-brand {
    max-width: calc(100% - 60px);
    font-size: clamp(0.7rem, 3.5vw, 1.1rem) !important;
  }
  .brand-text {
    white-space: nowrap !important; /* Force single line */
  }
}

@media (max-width: 767px) {
  .navbar-brand {
    font-size: clamp(0.65rem, 3.8vw, 0.9rem) !important;
  }
  .brand-text {
    white-space: nowrap !important;
  }
  .hero-section {
    padding-top: 100px;
    text-align: center;
  }
  .display-3 {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  .display-4,
  .display-5 {
    font-size: 2rem;
  }
  .display-6 {
    font-size: 1.75rem;
  }
  .tech-card {
    padding: 1.5rem;
  }
  .footer-tech {
    text-align: center;
  }
  .footer-tech .d-flex.align-items-start,
  .footer-tech .d-flex.align-items-center {
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }
  .footer-tech .d-flex i {
    margin-right: 0 !important;
    margin-bottom: 0.5rem;
  }
  .footer-tech h4.d-flex {
    justify-content: center;
  }
  .footer-tech .d-flex.gap-3 {
    justify-content: center;
  }

  .service-card-slide {
    width: 260px;
  }
  .news-card-slide {
    width: 260px;
  }
  .services-slide-track {
    width: max-content;
  }

  /* Perbaikan dropdown mobile agar tidak terpotong */
  .dropdown-menu {
    text-align: center;
    max-width: 100%;
  }

  /* Pastikan container tidak overflow */
  .container,
  .container-fluid {
    overflow-x: hidden;
  }

  /* Gambar section tidak boleh keluar layar */
  img {
    max-width: 100%;
    height: auto;
  }
}

/* News Card Slider */
.news-slider {
  position: relative;
  width: 100%;
  max-width: 100vw;
  padding: 20px 0;
}

.news-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}
.news-scroll::-webkit-scrollbar {
  display: none;
}

.news-slider::before,
.news-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.news-slider::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(11, 12, 16, 1) 0%,
    rgba(11, 12, 16, 0) 100%
  );
}

.news-slider::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(11, 12, 16, 1) 0%,
    rgba(11, 12, 16, 0) 100%
  );
}

.news-slide-track {
  display: flex;
  width: max-content;
  gap: 20px;
  align-items: stretch;
}

.news-card-slide {
  width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.news-card-slide .tech-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card-slide img {
  height: 200px;
  object-fit: cover;
  width: 100%;
  margin-bottom: 2rem;
}

@keyframes scrollNewsCards {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 10px));
  }
}

@media (max-width: 767px) {
  .news-card-slide {
    width: 280px;
  }
  .news-slide-track {
    width: max-content;
  }
}

/* =============================================
   News Detail Page
   ============================================= */
.article-body {
  line-height: 1.9;
  font-size: 1.05rem;
  color: #c5c6c7;
}

/* OVERRIDE SUMMERNOTE INLINE STYLES */
.article-body * {
  color: inherit !important;
  background-color: transparent !important;
  line-height: inherit !important;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6,
.article-body strong,
.article-body b {
  color: #fff !important;
}

.article-body h2,
.article-body h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body blockquote {
  border-left: 4px solid #66fcf1;
  padding: 1rem 1.5rem;
  background: rgba(102, 252, 241, 0.05) !important;
  border-radius: 0 12px 12px 0;
  margin: 2rem 0;
  font-style: italic;
  color: #fff !important;
}

.article-body ul li,
.article-body ol li {
  margin-bottom: 0.6rem;
}

.news-tag {
  display: inline-block;
  background: rgba(102, 252, 241, 0.1);
  border: 1px solid rgba(102, 252, 241, 0.3);
  color: #66fcf1;
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.sidebar-card {
  background: rgba(31, 40, 51, 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-card h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(102, 252, 241, 0.2);
}

.related-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
  transition: all 0.3s ease;
}

.related-card:last-child {
  border-bottom: none;
}

.related-card:hover .related-title {
  color: #66fcf1;
}

.related-card img {
  width: 70px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.related-title {
  color: #c5c6c7;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.3s;
}

.related-date {
  font-size: 0.75rem;
  color: #66fcf1;
  margin-top: 0.3rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid;
}

.share-btn.twitter {
  color: #1da1f2;
  border-color: rgba(29, 161, 242, 0.4);
  background: rgba(29, 161, 242, 0.08);
}
.share-btn.twitter:hover {
  background: rgba(29, 161, 242, 0.2);
}
.share-btn.linkedin {
  color: #0a66c2;
  border-color: rgba(10, 102, 194, 0.4);
  background: rgba(10, 102, 194, 0.08);
}
.share-btn.linkedin:hover {
  background: rgba(10, 102, 194, 0.2);
}
.share-btn.whatsapp {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.08);
}
.share-btn.whatsapp:hover {
  background: rgba(37, 211, 102, 0.2);
}
.share-btn.facebook {
  color: #1877f2;
  border-color: rgba(24, 119, 242, 0.4);
  background: rgba(24, 119, 242, 0.08);
}
.share-btn.facebook:hover {
  background: rgba(24, 119, 242, 0.2);
}
.share-btn.copy {
  color: #66fcf1;
  border-color: rgba(102, 252, 241, 0.4);
  background: rgba(102, 252, 241, 0.08);
}
.share-btn.copy:hover {
  background: rgba(102, 252, 241, 0.2);
}

.progress-bar-reading {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #66fcf1, #b000ff);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(102, 252, 241, 0.7);
}

.hero-article-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(102, 252, 241, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
  .hero-article-img {
    height: 220px;
  }
}

/* Responsive Map */
.map-responsive-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
}

.map-responsive-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Generated Inline Styles --- */
.sheds-style-1 {
  height: 64px;
  border-radius: 4px;
}

/* --- Responsive Logo in Navbar --- */
@media (max-width: 575px) {
  .sheds-style-1 {
    height: 36px;
  }
  .navbar-brand span {
    font-size: 0.8rem;
  }
}

/* --- Global Responsive Fixes --- */
img {
  max-width: 100%;
}

/* Page header responsive */
@media (max-width: 767px) {
  .page-header {
    padding: 140px 1rem 3rem;
  }
  .page-header .display-4 {
    font-size: 2rem;
  }
  .page-header .display-5 {
    font-size: 1.75rem;
  }
}

/* Sidebar stacks below content on mobile */
@media (max-width: 991px) {
  .sidebar-card {
    margin-top: 1rem;
  }
  .col-lg-8,
  .col-lg-7,
  .col-lg-5 {
    width: 100%;
  }
}

/* Timeline responsive */
@media (max-width: 575px) {
  .display-6 {
    font-size: 1.5rem;
  }
  .glow-text {
    font-size: 2rem;
  }
  .terminal-breadcrumb {
    font-size: 0.7rem;
  }

  /* Hero h1 khusus mobile kecil */
  .hero-section .display-3 {
    font-size: 1.5rem;
    line-height: 1.4;
  }
  .typewriter-text {
    font-size: 0.8em;
  }
}

/* news / project card image fix on mobile */
@media (max-width: 575px) {
  [style*="height: 240px"],
  [style*="height: 220px"] {
    height: 180px !important;
  }
}

/* Back to top button repositioned on mobile */
@media (max-width: 575px) {
  #backToTopBtn {
    bottom: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
}

/* Pagination responsive */
@media (max-width: 575px) {
  .pagination {
    gap: 0.25rem !important;
  }
  .pagination .page-link {
    font-size: 0.8rem;
    padding: 0.35rem 0.55rem;
  }
}

.sheds-style-2 {
  z-index: 2;
}
.sheds-style-3 {
  max-width: 600px;
}
.sheds-style-4 {
  max-width: 750px;
  font-size: 1.05rem;
  line-height: 1.8;
}
.sheds-style-5 {
  border-color: #b0f !important;
}
.sheds-style-6 {
  color: #b0f;
}
.sheds-style-7 {
  text-shadow: 0 0 10px rgba(176, 0, 255, 0.5);
}
.sheds-style-8 {
  border-radius: 0 16px 16px 0;
}
.sheds-style-9 {
  height: 2px;
  bottom: -5px !important;
}
.sheds-style-10 {
  width: 300px;
  height: 300px;
  object-fit: cover;
  cursor: pointer;
}
.sheds-style-11 {
  z-index: 1055;
}
.sheds-style-12 {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 1rem;
  margin: 10px;
}
.sheds-style-13 {
  max-height: 90vh;
}
.sheds-style-14 {
  z-index: 0;
}
.sheds-style-15 {
  z-index: 1;
  pointer-events: none;
}
.sheds-style-16 {
  font-size: 0.75rem;
}
.sheds-style-17 {
  background: rgba(102, 252, 241, 0.1);
  border: 1px solid rgba(102, 252, 241, 0.3);
  pointer-events: auto;
}
.sheds-style-18 {
  font-size: 0.85rem;
}
.sheds-style-19 {
  pointer-events: auto;
}
.sheds-style-20 {
  max-width: 800px;
  width: 100%;
  pointer-events: auto;
}
.sheds-style-21 {
  z-index: 2;
  pointer-events: auto;
}
.sheds-style-22 {
  background: rgba(176, 0, 255, 0.1);
  border: 1px solid rgba(176, 0, 255, 0.3);
}
.sheds-style-23 {
  color: #b0f;
  font-size: 0.85rem;
}
.sheds-style-24 {
  max-width: 700px;
  width: 100%;
}
.sheds-style-25 {
  transform-style: preserve-3d;
}
.sheds-style-26 {
  transform: translateZ(30px);
}
.sheds-style-27 {
  transform: translateZ(20px);
}
.sheds-style-28 {
  transform: translateZ(10px);
}
.sheds-style-29 {
  transform: translateZ(15px);
}

/* Neutralize 3D transforms on mobile to prevent overflow */
@media (max-width: 991px) {
  .sheds-style-25 {
    transform-style: flat;
  }
  .sheds-style-26,
  .sheds-style-27,
  .sheds-style-28,
  .sheds-style-29 {
    transform: none;
  }
}
.sheds-style-30 {
  background-color: #b0f;
  color: #fff;
}
.sheds-style-31 {
  letter-spacing: 3px;
}
.sheds-style-32 {
  font-size: 0.875rem;
}
.sheds-style-33 {
  width: 36px;
  height: 36px;
}
.sheds-style-34 {
  font-style: italic;
}
.sheds-style-35 {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}
.sheds-style-36 {
  border: 0;
  padding: 0;
}
.sheds-style-37 {
  transition: color 0.3s;
}
.sheds-style-38 {
  background: linear-gradient(
    135deg,
    rgba(102, 252, 241, 0.08),
    rgba(176, 0, 255, 0.05)
  );
  border-color: rgba(102, 252, 241, 0.2);
}
.sheds-style-39 {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sheds-style-40 {
  opacity: 0.4;
}
.sheds-style-41 {
  border-color: rgba(102, 252, 241, 0.4);
  box-shadow: 0 0 30px rgba(102, 252, 241, 0.1);
}
.sheds-style-42 {
  border-color: rgba(102, 252, 241, 0.3);
}
.sheds-style-43 {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(102, 252, 241, 0.3);
}
.sheds-style-44 {
  color: #66fcf1;
}
.sheds-style-45 {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.sheds-style-46 {
  border-bottom: none;
}
.sheds-style-47 {
  font-size: 0.7rem;
  letter-spacing: 1px;
}
.sheds-style-48 {
  background: linear-gradient(
    135deg,
    rgba(102, 252, 241, 0.08),
    rgba(176, 0, 255, 0.05)
  );
  border-color: rgba(102, 252, 241, 0.25);
}
.sheds-style-49 {
  border-width: 3px !important;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

/* --- Dynamic Services Background Elements --- */
.services-section {
  position: relative;
}

.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -50px;
  background-image:
    linear-gradient(rgba(102, 252, 241, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 252, 241, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: center top;
  z-index: 1;
  animation: gridMoveDown 15s linear infinite;
  opacity: 0.6;
}

.services-section::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;
  height: 70vw;
  background: radial-gradient(
    circle,
    rgba(102, 252, 241, 0.12) 0%,
    rgba(11, 12, 16, 0) 70%
  );
  z-index: 1;
  pointer-events: none;
}

.content-above-bg {
  position: relative;
  z-index: 3;
}

@keyframes gridMoveDown {
  0% {
    transform: translateY(-30px);
  }
  100% {
    transform: translateY(0);
  }
}

/* --- Testimonials & Rating System --- */
.testimonial-card {
  background: rgba(31, 40, 51, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(102, 252, 241, 0.3);
}

.google-stars {
  color: #fbbc04; /* Google star yellow */
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* Interactive Star Rating for Forms (Flex-Reverse Trick) */
.rating-input-group {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 0.5rem;
}

.rating-input-group input {
  display: none;
}

.rating-input-group label {
  cursor: pointer;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.1);
  transition:
    color 0.2s ease,
    transform 0.1s ease;
}

/* Fill stars on hover and before */
.rating-input-group label:hover,
.rating-input-group label:hover ~ label {
  color: #fbbc04;
  transform: scale(1.1);
}

/* Keep stars filled when radio is checked */
.rating-input-group input:checked ~ label {
  color: #fbbc04;
}

/* --- Why Choose Us Enhancements --- */
.why-us-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(
    circle,
    rgba(176, 0, 255, 0.1) 0%,
    rgba(11, 12, 16, 0) 60%
  );
  z-index: 0;
  pointer-events: none;
}

.why-us-content {
  position: relative;
  z-index: 1;
}

.icon-bg-standard {
  background: linear-gradient(
    135deg,
    rgba(31, 40, 51, 0.8) 0%,
    rgba(11, 12, 16, 1) 100%
  ) !important;
}

.icon-bg-highlight {
  background: linear-gradient(
    135deg,
    rgba(102, 252, 241, 0.15) 0%,
    rgba(11, 12, 16, 1) 100%
  ) !important;
}

.card-highlight {
  box-shadow: 0 0 30px rgba(102, 252, 241, 0.1) !important;
  border-color: rgba(102, 252, 241, 0.5) !important;
  position: relative;
}

.card-highlight::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(102, 252, 241, 0.3),
    transparent
  );
  z-index: -1;
  border-radius: 18px;
}

/* --- News Card Grid Fixed Size Enhancements --- */
.news-img-hover {
  transition: transform 0.5s ease;
}

.sheds-news-card:hover .news-img-hover {
  transform: scale(1.1);
}

.sheds-news-card {
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.sheds-news-card:hover {
  transform: translateY(-8px);
  border-color: rgba(102, 252, 241, 0.3);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* --- Smart Auto-Hide Navbar --- */
/* (Sudah didefinisikan di atas) */

/* --- Floating Back To Top with Breathing Glow --- */
#backToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(11, 12, 16, 0.8);
  border: 1px solid rgba(102, 252, 241, 0.3);
  color: #66fcf1;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
  animation: breathingGlow 2.5s infinite alternate;
}

#backToTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#backToTopBtn:hover {
  transform: scale(1.1);
  background: rgba(102, 252, 241, 0.2);
}

@keyframes breathingGlow {
  0% {
    box-shadow: 0 0 10px rgba(102, 252, 241, 0.2);
  }
  100% {
    box-shadow: 0 0 30px rgba(102, 252, 241, 0.6);
  }
}

/* --- WhatsApp Floating Widget --- */
#waWidget {
  position: fixed;
  bottom: 92px; /* sit above backToTopBtn */
  left: 28px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    transform 0.4s ease;
}

#waBubble {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  animation: waPulse 2s infinite;
  transition: transform 0.2s ease;
  border: none;
  text-decoration: none;
}

#waBubble:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.7);
}

#waBubble svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* Tooltip label */
#waLabel {
  background: rgba(11, 12, 16, 0.9);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  pointer-events: none;
  backdrop-filter: blur(8px);
  position: absolute;
  left: 64px;
  bottom: 12px;
}

#waWidget:hover #waLabel {
  opacity: 1;
  transform: translateX(0);
}

/* Chat popup panel */
#waPanel {
  width: 290px;
  background: rgba(18, 24, 32, 0.97);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  display: none;
  flex-direction: column;
  backdrop-filter: blur(12px);
  position: absolute;
  bottom: 68px;
  left: 0;
}

#waPanel.wa-open {
  display: flex;
  animation: waSlideIn 0.3s ease;
}

@keyframes waSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wa-panel-header {
  background: #25d366;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-panel-header img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.wa-panel-header .wa-info strong {
  color: #fff;
  font-size: 0.9rem;
  display: block;
}

.wa-panel-header .wa-info span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
}

.wa-panel-header .wa-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  margin-left: auto;
  box-shadow: 0 0 6px #fff;
}

.wa-panel-body {
  padding: 16px;
  font-size: 0.82rem;
  color: #c5c6c7;
  background: rgba(11, 12, 16, 0.5);
  border-bottom: 1px solid rgba(37, 211, 102, 0.1);
}

.wa-bubble-msg {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 12px 12px 12px 0;
  padding: 10px 12px;
  color: #e0e0e0;
  line-height: 1.5;
}

.wa-panel-footer {
  padding: 12px 16px;
}

.wa-send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  border-radius: 12px;
  padding: 11px;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.wa-send-btn:hover {
  background: #1ebe5d;
  transform: scale(1.02);
  color: #fff;
  text-decoration: none;
}

@keyframes waPulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow:
      0 4px 30px rgba(37, 211, 102, 0.9),
      0 0 0 8px rgba(37, 211, 102, 0.12);
  }
}

/* Mobile adjustment */
@media (max-width: 575px) {
  #waWidget {
    bottom: 74px;
    left: 14px;
  }
  #waBubble {
    width: 46px;
    height: 46px;
  }
  #waPanel {
    width: 260px;
  }
}

/* Testimonials Auto Slider (Semua Mode) */
.testimonial-slider-container {
  position: relative;
}
.testimonial-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}
.testimonial-scroll::-webkit-scrollbar {
  display: none;
}
.testimonial-slider-container::before,
.testimonial-slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.testimonial-slider-container::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(11, 12, 16, 1) 0%,
    rgba(11, 12, 16, 0) 100%
  );
}
.testimonial-slider-container::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(11, 12, 16, 1) 0%,
    rgba(11, 12, 16, 0) 100%
  );
}

.testimonial-slide-track {
  display: flex;
  gap: 1.5rem;
  flex-wrap: nowrap;
  width: max-content;
  justify-content: flex-start;
  align-items: stretch;
}

.testimonial-slide-item {
  width: 360px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.testimonial-slide-item .testimonial-card {
  height: 100%;
  width: 100%;
}

.dup-slide {
  display: block !important;
}

@media (max-width: 991px) {
  .testimonial-slider-container::before,
  .testimonial-slider-container::after {
    width: 80px;
  }
  .testimonial-slide-item {
    width: 320px;
  }
}

@media (max-width: 767px) {
  .testimonial-slider-container::before,
  .testimonial-slider-container::after {
    width: 60px;
  }
  .testimonial-slide-item {
    width: 280px;
  }
}

@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 12px));
  }
}

/* =========================================
   INLINE STYLES REFACTORING UTILITIES
   ========================================= */
.z-index-1 {
  z-index: 1;
}
.object-fit-cover {
  object-fit: cover !important;
}

.modal-glassmorphism {
  background: rgba(31, 40, 51, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(102, 252, 241, 0.2);
}

.team-avatar-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.border-dashed {
  border-style: dashed !important;
  border-width: 1px !important;
}

.cursor-pointer {
  cursor: pointer;
}
.fs-3rem {
  font-size: 3rem;
}

.card-img-wrapper-200 {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.card-img-wrapper-220 {
  height: 220px;
  overflow: hidden;
}

.card-img-wrapper-240 {
  height: 240px;
  overflow: hidden;
}

.timeline-wrapper {
  border-left: 2px solid rgba(102, 252, 241, 0.2);
}

.timeline-node {
  left: -1.4rem;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #66fcf1;
  border: 2px solid #0b0c10;
}

.timeline-node-active {
  left: -1.4rem;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #66fcf1;
  box-shadow: 0 0 12px rgba(102, 252, 241, 0.7);
}

.text-purple-highlight {
  color: #a78bfa;
}
.bg-purple-highlight {
  background-color: #6f42c1;
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  border: none;
}
.btn-whatsapp:hover {
  background-color: #20b858;
  color: #fff;
}

.btn-facebook {
  background-color: #1877f2;
  color: #ffffff;
  border: none;
}
.btn-facebook:hover {
  background-color: #166fe5;
  color: #fff;
}

/* =========================================
   PROJECT GALLERY SLIDER
   ========================================= */
.project-gallery-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  padding-bottom: 10px;
}

.project-gallery-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 15px;
}

.project-gallery-item {
  /* Perbaikan: Paksa ukuran 300x300 */
  width: 300px;
  height: 300px;
  flex: 0 0 300px; /* Mencegah item flex menciut dari 300px */
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(102, 252, 241, 0.2);
}

.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Menjaga rasio gambar dalam kotak 300x300 */
  transition: transform 0.4s ease;
}

.project-gallery-item:hover img {
  transform: scale(1.1);
}

.project-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 12, 16, 0.8);
  color: #0ff;
  border: 1px solid rgba(102, 252, 241, 0.4);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.project-gallery-btn:hover {
  background: #0ff;
  color: #0b0c10;
  box-shadow: 0 0 15px rgba(102, 252, 241, 0.8);
}

.project-gallery-btn.prev {
  left: 10px;
}

.project-gallery-btn.next {
  right: 10px;
}

/* Media Queries disesuaikan agar tetap proporsional jika layar lebih kecil dari 300px */
@media (max-width: 767px) {
  .project-gallery-item {
    /* Opsional: Pada layar sangat kecil, buat mengikuti lebar layar agar tetap persegi */
    width: 100%;
    flex: 0 0 100%;
    height: auto;
  }
}

#galleryModal #modalContent img {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto;
}
