/* =================================== */
/* 1. GLOBAL STYLES & VARIABLES
/* =================================== */

:root {
  --neon-green: #39ff14;
  --dark-bg: #100f14;
  --card-bg: #1a1a22;
  --border-color: rgba(255, 255, 255, 0.1);
  --purple-glow: rgba(128, 0, 128, 0.2);
  --green-glow: rgba(57, 255, 20, 0.25);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--dark-bg);
  color: #fff;
  background-image: 
    radial-gradient(circle at 100% 0%, var(--green-glow), transparent 30%),
    radial-gradient(circle at 0% 100%, var(--purple-glow), transparent 40%);
  overflow-x: hidden;
}

/* =================================== */
/* 2. UTILITY & TYPOGRAPHY
/* =================================== */

.text-neon {
  color: var(--neon-green);
}

/* Styling untuk Judul Utama (Headline) agar lebih tebal & rapat */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500; /* Membuat semua judul tebal secara default */
}

h1.display-2 {
  letter-spacing: -0.02em; /* Mengurangi jarak huruf HANYA untuk headline utama */
}


/* =================================== */
/* 3. NAVIGATION (NAVBAR)
/* =================================== */

.navbar-brand, .nav-link {
    transition: color 0.3s ease;
}

.navbar-brand:hover, .nav-link:hover {
    color: var(--neon-green);
}

.navbar.sticky-top {
    background-color: var(--dark-bg) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* =================================== */
/* 4. FOOTER
/* =================================== */

.creative-footer {
    background-color: transparent;
    border-top: 1px solid var(--border-color);
}

.social-icons-footer .social-icon {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    margin: 0 10px;
    color: var(--bs-secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons-footer .social-icon:hover {
    background-color: var(--neon-green);
    border-color: var(--neon-green);
    color: var(--dark-bg);
    transform: translateY(-5px);
}

/* =================================== */
/* 5. REUSABLE COMPONENTS (BUTTONS, CARDS)
/* =================================== */

.btn-neon {
    background-color: transparent;
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-neon:hover {
    background-color: var(--neon-green);
    color: var(--dark-bg);
    box-shadow: 0 0 20px var(--neon-green);
}

.btn-neon-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-neon-outline.active,
.btn-neon-outline:hover {
    background-color: var(--neon-green);
    color: var(--dark-bg);
    border-color: var(--neon-green);
    font-weight: bold;
}

.portfolio-card {
    background-color: rgba(26, 26, 34, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.2);
}

.portfolio-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* =================================== */
/* 6. PAGE-SPECIFIC STYLES
/* =================================== */

/* 6.1 --- Homepage --- */
.hero-image-container {
  position: relative;
  width: 350px;
  height: 350px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashed-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px dashed var(--neon-green);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.hero-image {
  width: 85%;
  height: 85%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.client-logos .client-logo-item img {
    max-height: 35px;
    filter: grayscale(100%) brightness(2);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logos .client-logo-item:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* 6.2 --- About Page --- */
.about-tabs .nav-pills .nav-link {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: #fff;
  margin-bottom: 10px;
  text-align: left;
}

.about-tabs .nav-pills .nav-link.active, 
.about-tabs .nav-pills .show > .nav-link {
  background-color: var(--neon-green);
  color: var(--dark-bg);
  font-weight: bold;
  border-color: var(--neon-green);
}

/* 6.3 --- Portfolio Page --- */
.portfolio-item {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.portfolio-item.hide {
    transform: scale(0.8);
    opacity: 0;
    width: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

a.portfolio-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* 6.4 --- FAQ Page --- */
.accordion-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 0.5rem;
}

.accordion-button {
    background-color: transparent;
    color: #fff;
    font-weight: bold;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--neon-green);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--neon-green);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708 .708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2339ff14'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708 .708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* =================================== */
/* 7. ANIMATIONS
/* =================================== */

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* Styling untuk Kartu Layanan Unggulan (Featured) */
.featured-card {
    background-color: #004d40; /* Warna hijau tua seperti di contoh */
    border-color: var(--neon-green);
}

.featured-card h4 {
    color: #fff;
}

.featured-card .btn-light {
    font-weight: bold;
}
/* =================================== */
/* 8. FLOATING BUTTONS
/* =================================== */

/* Tombol WhatsApp Mengambang */
.floating-wa-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Warna khas WhatsApp */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.floating-wa-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Tombol Scroll to Top */
.scroll-to-top-btn {
    position: fixed;
    bottom: 90px; /* Posisinya di atas tombol WA */
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--card-bg);
    color: var(--neon-green);
    border: 2px solid var(--neon-green);
    border-radius: 50%;
    display: none; /* Sembunyi secara default */
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.scroll-to-top-btn:hover {
    background-color: var(--neon-green);
    color: var(--dark-bg);
}