/* ====================================
   PROMAKSI V3 - ULTIMATE HYBRID
   Modern Corporate & High-End Industrial
   ====================================== */

:root {
  /* COLORS: Sharp & Industrial */
  --bg-main: #0a0a0a;
  --bg-sec: #111111;
  --bg-ter: #1a1a1a;

  --accent: #8cc63f;
  /* Brand Lime Green */
  --accent-glow: rgba(140, 198, 63, 0.4);
  --accent-dark: #6a9c2a;

  --text-white: #ffffff;
  --text-gray: #b0b0b0;

  /* GLASS & BORDERS */
  --glass-bg: rgba(20, 20, 20, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 20px;

  --border-sharp: 1px solid rgba(255, 255, 255, 0.1);
  --border-accent: 1px solid var(--accent);

  /* TYPOGRAPHY */
  --font-heading: 'Outfit', sans-serif;
  /* Modern, clean */
  --font-body: 'Inter', sans-serif;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-main);
  color: var(--text-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- BACKGROUND FX --- */
.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.03;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
  pointer-events: none;
}

.ambient-glow {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(circle, rgba(140, 198, 63, 0.08) 0%, transparent 70%);
  z-index: -2;
  pointer-events: none;
}

/* --- UTILS --- */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
}

.section-padding {
  padding: 120px 0;
}

.section-dark {
  background: var(--bg-sec);
  padding: 120px 0;
  border-top: var(--border-sharp);
  border-bottom: var(--border-sharp);
}

.text-accent {
  color: var(--accent);
}

.text-gradient {
  background: linear-gradient(135deg, #fff 0%, #aaa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.center-text {
  text-align: center;
}

.full-width {
  width: 100%;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: #fff;
  font-weight: 700;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding-left: 15px;
  position: relative;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(140, 198, 63, 0.3);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(5px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-sm {
  padding: 10px 25px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.btn-glow {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  box-shadow: 0 0 15px rgba(140, 198, 63, 0.1);
  transition: 0.3s;
}

.btn-glow:hover {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 30px rgba(140, 198, 63, 0.4);
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: 0.4s;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(15px);
  padding: 10px 0;
  border-bottom: var(--border-sharp);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO FIX */
.logo img {
  height: 50px;
  /* Metallic/White Effect: Invert colors + Correct Hue + Increase Brightness */
  filter: invert(1) hue-rotate(180deg) brightness(2) contrast(1.2);
  transition: 0.3s;
}

.logo:hover img {
  transform: scale(1.05);
  filter: invert(1) hue-rotate(180deg) brightness(2.2) contrast(1.5) drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
}

.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-link {
  color: var(--text-gray);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* --- HERO --- */
.hero {
  height: 100vh;
  min-height: 800px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.parallax-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  /* Zoom for parallax room */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0a0a0a 0%, rgba(10, 10, 10, 0.8) 50%, rgba(10, 10, 10, 0.3) 100%);
  z-index: 1;
}

#particles-js {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.6;
}

.hero-container {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  margin-bottom: 25px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-title {
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 25px;
  letter-spacing: -2px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-gray);
  margin-bottom: 40px;
  max-width: 500px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 60px;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.h-stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  display: flex;
  align-items: baseline;
}

.stat-num .num,
.stat-num span {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.h-stat small {
  color: var(--text-gray);
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-top: 5px;
  display: block;
}

.divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* Float Content */
.float-card {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  padding: 30px;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--accent);
}

.float-card .card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-weight: 700;
  color: #fff;
}

.float-card p {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.5;
}

/* --- MARQUEE --- */
.marquee-strip {
  background: var(--accent);
  color: #000;
  padding: 15px 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 2px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.marquee-content {
  display: inline-block;
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* --- ABOUT --- */
.row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.image-stack {
  position: relative;
}

.img-main {
  width: 90%;
  border-radius: 4px;
  transition: 0.4s;
}

.image-stack:hover .img-main {
  transform: scale(1.02);
}

.img-small {
  position: absolute;
  bottom: -40px;
  right: 0;
  width: 50%;
  border: 5px solid var(--bg-main);
  border-radius: 4px;
  box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.5);
}

.exp-badge {
  position: absolute;
  top: 40px;
  left: -20px;
  background: var(--accent);
  color: #000;
  padding: 20px;
  text-align: center;
  font-weight: 800;
  box-shadow: 10px 10px 30px rgba(140, 198, 63, 0.3);
}

.exp-badge .year {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
}

.exp-badge .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lead-text {
  font-size: 1.25rem;
  color: #fff;
  font-weight: 300;
  margin-bottom: 20px;
}

.feature-list li {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  align-items: flex-start;
}

.feature-list i {
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: 5px;
}

/* --- SERVICES --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-ter);
  padding: 40px;
  border: var(--border-sharp);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
}

.service-card .icon-box {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 25px;
  transition: 0.3s;
}

.service-card:hover .icon-box {
  background: var(--accent);
  color: #000;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.s-list li {
  font-size: 0.9rem;
  color: #ccc;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.s-list li:last-child {
  border: none;
}

/* --- PORTFOLIO SLIDER --- */
.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.filters .filter-btn {
  background: transparent;
  border: none;
  color: var(--text-gray);
  padding: 8px 18px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  transition: 0.3s;
  border-bottom: 2px solid transparent;
}

.filters .filter-btn.active,
.filters .filter-btn:hover {
  color: #fff;
  border-bottom-color: var(--accent);
}

/* Horizontal Slider Container */
.portfolio-grid-masonry {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px 0;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

/* Custom Scrollbar */
.portfolio-grid-masonry::-webkit-scrollbar {
  height: 8px;
}

.portfolio-grid-masonry::-webkit-scrollbar-track {
  background: var(--bg-ter);
  border-radius: 4px;
}

.portfolio-grid-masonry::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.portfolio-grid-masonry::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dark);
}

.p-item {
  flex: 0 0 280px;
  height: 280px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
  scroll-snap-align: start;
  transition: transform 0.3s, box-shadow 0.3s;
}

.p-item:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 40px rgba(140, 198, 63, 0.2);
}

.p-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.p-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
  opacity: 0;
  transition: 0.3s;
  border-radius: 12px;
}

.p-item:hover img {
  transform: scale(1.1);
}

.p-item:hover .p-overlay {
  opacity: 1;
}

.p-overlay h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 5px;
}

.p-overlay span {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 768px) {
  .p-item {
    flex: 0 0 220px;
    height: 220px;
  }
}

@media (max-width: 480px) {
  .p-item {
    flex: 0 0 180px;
    height: 180px;
  }
}

/* --- MACHINES --- */
.machine-list-wrapper {
  margin-top: 30px;
}

.m-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  transition: 0.3s;
}

.m-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.m-icon {
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0.8;
}

.m-item h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.m-item p {
  font-size: 0.9rem;
  color: #999;
  margin: 0;
}

.tech-graphic {
  position: relative;
}

.tech-graphic img {
  width: 100%;
  transition: 0.4s;
}

.tech-graphic:hover img {
  transform: scale(1.02);
}

.tech-overlay {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: #fff;
  color: #000;
  padding: 20px 40px;
  text-align: right;
}

.tech-overlay span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: #666;
}

.tech-overlay strong {
  font-size: 1.5rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

/* --- TESTIMONIALS --- */
.testimonial-slider {
  max-width: 800px;
  margin: 0 auto 60px;
  position: relative;
}

.t-card {
  background: var(--bg-ter);
  padding: 50px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.t-card::before {
  content: '"';
  font-size: 8rem;
  position: absolute;
  top: -20px;
  left: 20px;
  color: rgba(255, 255, 255, 0.05);
  font-family: serif;
}

.stars {
  color: #fece00;
  letter-spacing: 5px;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.t-card p {
  font-size: 1.3rem;
  font-style: italic;
  color: #ddd;
  margin-bottom: 30px;
  font-weight: 300;
}

.t-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.avatar {
  width: 50px;
  height: 50px;
  background: #333;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 2px solid var(--accent);
}

.t-author strong {
  display: block;
  color: #fff;
}

.t-author span {
  color: #888;
  font-size: 0.9rem;
}

/* --- CENSORED BLUR --- */
.censored-blur {
  filter: blur(20px) grayscale(100%);
  opacity: 0.5;
  transition: 0.5s;
  pointer-events: none;
  /* Prevent clicking/saving clear image */
}

/* Hover to peek (optional, or keep locked) */
.censored-blur:hover {
  filter: blur(15px) grayscale(80%);
}

/* --- FLOATING NOTICE (Bottom Left Compact) --- */
.floating-notice {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border: 1px solid rgba(140, 198, 63, 0.4);
  border-radius: 6px;
  color: #fff;
  z-index: 998;
  font-size: 0.7rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.floating-notice:hover {
  border-color: var(--accent);
}

.floating-notice i {
  color: var(--accent);
  font-size: 0.85rem;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes floatNotice {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* --- ENHANCED REFERENCES --- */
#references {
  background: var(--bg-ter);
  border-bottom: var(--border-sharp);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  /* Borders */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 40px;
}

.brand-item {
  background: var(--bg-sec);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #666;
  letter-spacing: 1px;
  transition: 0.3s;
  text-align: center;
  padding: 20px;
}

.brand-item:hover {
  background: var(--bg-main);
  color: #fff;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

/* --- CONTACT --- */
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  background: var(--bg-main);
  border: var(--border-sharp);
}

.c-info {
  padding: 60px;
  border-right: var(--border-sharp);
}

.c-details {
  list-style: none;
  margin-top: 30px;
}

.c-details li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  color: #ccc;
  align-items: center;
}

.c-details i {
  color: var(--accent);
  width: 20px;
  text-align: center;
}

.cert-box {
  margin-top: 40px;
  padding: 20px;
  background: rgba(140, 198, 63, 0.1);
  border: 1px solid rgba(140, 198, 63, 0.3);
  display: flex;
  gap: 15px;
  align-items: center;
  color: var(--accent);
  font-weight: 600;
}

.c-form {
  padding: 60px;
}

.input-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

input,
textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px;
  margin-bottom: 20px;
  color: #fff;
  font-family: var(--font-body);
  transition: 0.3s;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  outline: none;
  background: rgba(255, 255, 255, 0.05);
}

textarea {
  height: 150px;
  resize: none;
}

/* --- FOOTER --- */
footer {
  background: #050505;
  padding: 80px 0 0;
  border-top: 1px solid #111;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.f-logo {
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.f-col h4 {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #fff;
}

.f-col a {
  display: block;
  color: #888;
  margin-bottom: 15px;
  transition: 0.3s;
  font-size: 0.9rem;
}

.f-col a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.socials {
  display: flex;
  gap: 15px;
}

.socials a {
  width: 40px;
  height: 40px;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  padding: 0;
}

.footer-bottom {
  background: #000;
  padding: 20px 0;
  border-top: 1px solid #111;
  text-align: center;
  color: #555;
  font-size: 0.85rem;
}

/* --- WHATSAPP --- */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: 0.3s;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.6);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .row-grid,
  .contact-box {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .c-info {
    border-right: none;
    border-bottom: var(--border-sharp);
  }

  .services-grid,
  .portfolio-grid-masonry {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-actions,
  .hero-stats-row {
    justify-content: center;
  }

  .hero-badge {
    margin: 0 auto 25px;
  }

  .float-card {
    display: none;
  }

  /* Hide floating card on tablet/mobile */
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid-masonry {
    grid-template-columns: repeat(2, 1fr);
    max-height: 600px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .socials {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .portfolio-grid-masonry {
    grid-template-columns: 1fr;
    max-height: 500px;
  }
}

/* --- ANIMATIONS -- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: 0.8s ease-out;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: 0.8s ease-out;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* LOADER */
.preloader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  width: 80px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.loading-bar {
  width: 150px;
  height: 2px;
  background: #333;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.loading-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: var(--accent);
  animation: load 1s infinite linear;
}

@keyframes load {
  0% {
    left: -50%;
  }

  100% {
    left: 100%;
  }
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

/* --- MAINTENANCE MODE (FULL BLUR) --- */

.maintenance-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Strong blur creates the frosted glass effect over the entire site */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.6);
  /* Darkens the bg for text contrast */
  z-index: 9999;
  /* Highest priority, covers everything */
  display: flex;
  justify-content: center;
  align-items: center;
  /* Block interaction with underlying elements */
  pointer-events: auto;
}

/* The content under the overlay will be visible but blurred */
/* No visible-area exception - blending everything for a unified look */

.maintenance-card {
  position: relative;
  background: rgba(10, 10, 10, 0.95);
  /* Nearly solid dark card */
  border: 1px solid rgba(132, 204, 22, 0.3);
  /* Green border accent */
  box-shadow: 0 0 60px rgba(132, 204, 22, 0.15);
  padding: 3rem;
  text-align: center;
  max-width: 500px;
  width: 90%;
  border-radius: 20px;
  color: #fff;
}

.maintenance-card h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.maintenance-card p {
  color: #a3a3a3;
  font-size: 1.1rem;
  line-height: 1.6;
}

.maintenance-card .sub-note {
  color: #84cc16;
  /* Promaksi Green */
  font-weight: 600;
  font-size: 1.2rem;
  margin: 1.5rem 0;
  display: block;
}

.maintenance-card .icon-pulse {
  font-size: 3.5rem;
  color: #84cc16;
  margin-bottom: 1.5rem;
  /* Soft pulse animation */
  animation: wrenchPulse 2s infinite ease-in-out;
}

@keyframes wrenchPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.m-contact {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.m-contact div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #cbd5e1;
  font-size: 1rem;
}

.m-contact i {
  color: #84cc16;
  width: 20px;
}

/* Hide scrollbar when in maintenance */
body.maintenance-active {
  overflow: hidden;
}