/* ========= GLOBAL ========= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, #f9f9f9, #f1f5f9);
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========= NAVBAR ========= */
nav {
  background: rgba(15, 28, 46, 0.9);
  backdrop-filter: blur(12px);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 15px 6%; /* atur jarak kiri & kanan */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: background 0.4s ease-in-out;
}

nav:hover {
  background: rgba(15, 28, 46, 1);
}

/* ========= LOGO + BRAND TEXT ========= */
nav .brand {
  display: flex;
  align-items: center;
  font-size: 1.1rem; /* kecilkan sedikit */
  font-weight: 700;
  color: #ffb703;
  letter-spacing: 0.8px;
  text-shadow: 0 0 5px rgba(255, 183, 3, 0.6);
  transition: transform 0.3s ease;
  gap: 8px;
}

nav .brand:hover {
  transform: scale(1.05) rotate(-2deg);
}

nav .brand img.logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
  cursor: pointer;
}

nav .brand img.logo:hover {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 4px 7px rgba(255, 183, 3, 0.6));
}

/* ========= HAMBURGER BUTTON ========= */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.hamburger {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Active hamburger (X shape) */
.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  transform: translateY(-8px) rotate(-45deg);
}

/* ========= MENU ========= */
nav .nav-menu {
  display: flex;
  list-style: none;
  gap: 25px;
  margin-left: auto;
  padding: 0;
}

nav .nav-menu li {
  position: relative;
}

nav .nav-menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: 0.4s;
}

nav .nav-menu li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #ffb703;
  left: 0;
  bottom: -4px;
  transition: 0.4s;
}

nav .nav-menu li a:hover {
  color: #ffb703;
}

nav .nav-menu li a:hover::after {
  width: 100%;
}

/* ========= RESPONSIVE NAVBAR ========= */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    padding: 15px 5%;
  }

  .nav-toggle {
    display: block;
  }

  nav .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    margin-top: 15px;
    background: rgba(15, 28, 46, 0.95);
    border-radius: 10px;
    overflow: hidden;
  }

  nav .nav-menu.open {
    display: flex;
  }

  nav .nav-menu li {
    width: 100%;
  }

  nav .nav-menu li a {
    display: block;
    padding: 14px 20px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  nav .nav-menu li a::after {
    display: none;
  }

  nav .nav-menu li:last-child a {
    border-bottom: none;
  }

  nav .brand img.logo {
    height: 30px;
  }

  .who-stats {
    grid-template-columns: 1fr;
  }
  .about-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .about-text {
    padding: 25px;
  }
  .management-wrapper {
    gap: 20px;
  }
  .management-card {
    width: 100%;
    max-width: 300px;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  nav {
    padding: 12px 4%;
  }

  nav .nav-menu {
    gap: 18px;
  }

  nav .nav-menu li a {
    font-size: 0.85rem;
  }

  nav .brand {
    font-size: 1rem;
  }
}

/* ================== SERVICES HERO ================== */
.services-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #fff;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  z-index: 1;
}

.services-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero-header-text {
  position: relative;
  z-index: 3;
  padding: 0 20px;
  margin: 0;
  animation: fadeInUp 1s ease;
}

.hero-header-text h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  margin-bottom: 15px; /* Jarak kecil ke breadcrumb */
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
  color: #fff;
  line-height: 1.1;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffb703;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Animasi Masuk */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================== RESPONSIVE MOBILE ================== */
@media (max-width: 768px) {
  .services-hero {
    height: 100vh;
  }

  .breadcrumb {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }
}

/* ================== SERVICES ================== */
.services {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.service {
  background: #123456;
  padding: 20px;
  border-radius: 10px;
  transition:
    transform 0.3s,
    background 0.3s;
}
.service:hover {
  transform: translateY(-5px);
  background: #16406e;
}
.service h3 {
  margin: 0;
  color: #ffcc00;
}
.service p {
  margin: 5px 0 0;
  color: #ccc;
}
.icon {
  font-size: 1.8rem;
}

/* ================== FORM ================== */
.contact-form {
  background: #123456;
  padding: 20px;
  border-radius: 10px;
  flex: 1; /* form lebih kecil dari services */
  min-width: 280px;
}
.contact-form h3 {
  margin-bottom: 15px;
  color: #ffcc00;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: none;
  border-radius: 6px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid #ffcc00;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
  }
  .services {
    grid-template-columns: 1fr;
  }
}

/* ================== LAYOUT CONTAINER ================== */
.services-container {
  width: 100%;
  background-color: #0b1f33;
  padding: 60px 0;
  overflow: hidden;
}

.services-container > .hero-content,
.services-container > .process,
.services-container > .testimonials,
.services-container > .cta-box {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

/* ================== HERO CONTENT (Split Layout) ================== */
.hero-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: flex-start;
  margin-bottom: 80px;
}

.hero-card {
  flex: 2;
  min-width: 300px;
}

.hero-card h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 20px;
  color: #ffcc00;
  line-height: 1.2;
}

.hero-card p.lead {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #ddd;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

/* ================== SERVICES GRID ================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.service-item .icon {
  font-size: 2rem;
  min-width: 40px;
}

.service-text h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #fff;
}

.service-text p {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.5;
  margin: 0;
}

/* ================== CONTACT FORM (ASIDE) ================== */
.contact-aside {
  flex: 1;
  min-width: 300px;
}

.contact-form-box {
  background: #162b40;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid #ffcc00;
  position: sticky;
  top: 100px; /* Sticky sidebar */
}

.contact-form-box h3 {
  color: #ffcc00;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 15px;
}

.contact-form-box input,
.contact-form-box select,
.contact-form-box textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #2c4a6b;
  background: #0b1f33;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
  border-color: #ffcc00;
}

.form-actions {
  display: flex;
  gap: 10px;
}

.full-width {
  flex: 1;
}

/* ================== BUTTONS ================== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: #ffcc00;
  color: #0b1f33;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}

.btn:hover {
  background: #e6b800;
  transform: translateY(-2px);
}

.btn.alt {
  background: transparent;
  border: 2px solid #ffcc00;
  color: #ffcc00;
}

.btn.alt:hover {
  background: #ffcc00;
  color: #0b1f33;
}

.btn.large {
  padding: 15px 30px;
  font-size: 1.1rem;
}

/* ================== PROCESS SECTION ================== */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
  text-align: center;
}

.step {
  background: #162b40;
  padding: 30px 20px;
  border-radius: 15px;
  transition: 0.3s;
}

.step:hover {
  background: #1c3550;
  transform: translateY(-5px);
}

.step-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 204, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-icon i {
  font-size: 2rem;
  color: #ffcc00;
}

.step strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #fff;
}

.step span {
  color: #aaa;
  font-size: 0.9rem;
}

/* ================== TESTIMONIALS ================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.testimonial-card {
  background: #162b40;
  padding: 30px;
  border-radius: 15px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.quote-icon {
  font-size: 4rem;
  color: rgba(255, 204, 0, 0.2);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: #ddd;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffcc00;
}

.testimonial-name {
  font-size: 1.1rem;
  margin: 0;
  color: #ffcc00;
}

.testimonial-role {
  font-size: 0.85rem;
  color: #aaa;
}

/* ================== CTA BOX ================== */
.cta-box {
  background: linear-gradient(135deg, #1a3c5e, #102c44);
  padding: 40px;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-text h3 {
  font-size: 1.8rem;
  color: #ffcc00;
  margin-bottom: 10px;
}

.cta-text p {
  font-size: 1.1rem;
  color: #ddd;
  margin: 0;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
  .services-container {
    padding: 40px 5%;
  }

  .hero-content {
    flex-direction: column;
  }
  .hero-card,
  .contact-aside {
    width: 100%;
  }
  .cta-box {
    flex-direction: column;
    text-align: center;
  }

  .cta-action {
    width: 100%;
  }

  .cta-action .btn {
    width: 100%;
  }
}

/* ======================
   FOOTER SECTION
====================== */
/* ======================
   FOOTER SECTION
====================== */

.footer {
  background: linear-gradient(180deg, #0b1623, #08101a);
  color: #b0b0b0;
  padding: 60px 0 0;
  font-size: 0.95rem;
}

/* ===== CONTAINER ===== */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5% 70px;

  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ===== COLUMN ===== */
.footer-col {
  display: flex;
  flex-direction: column;
}

/* ===== BRAND ===== */
.footer-brand {
  color: #fff;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.company-desc {
  line-height: 1.7;
  margin-bottom: 30px;
  color: #d0d0d0;
}

/* ===== CONTACT ===== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.7;
  color: #ddd;
}

.contact-item i {
  color: #ffb703;
  font-size: 1.1rem;
  min-width: 22px;
  margin-top: 4px;
}

.contact-item a {
  color: #ddd;
  text-decoration: none;
  transition: 0.3s;
}

.contact-item a:hover {
  color: #ffb703;
}

/* ===== HEADING ===== */
.footer h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
}

.footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40px;
  height: 2px;
  background: #ffb703;
}

/* ===== QUICK LINKS ===== */
.footer-middle ul {
  list-style: none;
  padding: 0;
}

.footer-middle li {
  margin-bottom: 14px;
}

.footer-middle a {
  color: #b0b0b0;
  text-decoration: none;
  transition: 0.3s;
}

.footer-middle a:hover {
  color: #ffb703;
  padding-left: 6px;
}

/* ===== SOCIAL ===== */
.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 35px;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: 0.3s ease;
}

.social-links a:hover {
  background: #ffb703;
  color: #0b1623;
  transform: translateY(-4px);
}

/* ===== LEGAL ===== */
.legal-links h3 {
  margin-bottom: 18px;
}

.legal-links p {
  margin-bottom: 10px;
}

.legal-links a {
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
}

.legal-links a:hover {
  color: #ffb703;
}

/* ===== BOTTOM ===== */
.footer-bottom {
  background: #050d15;
  text-align: center;
  padding: 25px 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: #777;
}

.footer-bottom strong {
  color: #fff;
}

/* ======================
   RESPONSIVE
====================== */

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .footer-left {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 50px 0 0;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 0 25px 50px;
    text-align: center;
  }

  .footer-brand {
    font-size: 1.6rem;
  }

  .company-desc {
    font-size: 0.95rem;
  }

  .footer h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-item i {
    margin-bottom: 6px;
  }

  .social-links {
    justify-content: center;
  }

  .footer-middle a:hover {
    padding-left: 0;
  }
}
