/* style.css */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Poppins', sans-serif;
}

/* HEADER */
.header{
  width:100%;
  position:absolute;
  top:0;
  left:0;
  padding:25px 70px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  z-index:9999;
}

.burger{
  position:relative;
  z-index:10000;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo-box{
  font-size:60px;
  font-weight:700;
  color:#0d3c73;
  line-height:1;
}

.logo-text h2{
  font-size:28px;
  color:#0d3c73;
  line-height:1;
}

.logo-text span{
  color:#ff4d2d;
  font-weight:700;
  font-size:24px;
}

.navbar{
  display:flex;
  gap:45px;
}

.navbar a{
  text-decoration:none;
  color:white;
  font-size:18px;
  font-weight:200px;
  transition:0.3s;
}

.navbar a:hover{
  color:#ff4d2d;
}

/* DROPDOWN */
.dropdown{
  position:relative;
}

.dropbtn{
  background:none;
  border:none;
  color:white;
  font-size:18px;
  font-family:'Poppins', sans-serif;
  cursor:pointer;
  transition:0.3s;
}

.dropbtn:hover{
  color:#ff4d2d;
}

.dropdown-content{
  position:absolute;
  top:40px;
  left:0;
  min-width:220px;
  background:white;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 10px 20px rgba(0,0,0,0.15);

  opacity:0;
  visibility:hidden;
  transform:translateY(10px);

  transition:0.3s;
}

.dropdown-content a{
  display:block;
  padding:14px 18px;
  color:#222;
  text-decoration:none;
  font-size:15px;
}

.dropdown-content a:hover{
  background:#f5f5f5;
  color:#ff4d2d;
}

.dropdown:hover .dropdown-content{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

/* HERO */
.hero{
  width:100%;
  height:100vh;
  background-image:url('https://images.unsplash.com/photo-1511818966892-d7d671e672a2?q=80&w=1974&auto=format&fit=crop');
  background-size:cover;
  background-position:center;
  position:relative;
  overflow:hidden;
}

.overlay{
  position:absolute;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.25);
}

/* CONTENT */
.hero-content{
  position:absolute;
  top:50%;
  left:70px;
  transform:translateY(-50%);
  color:white;
  z-index:2;
}

.hero-content h1{
  font-size:78px;
  line-height:1.1;
  font-weight:700;
  max-width:900px;
  margin-bottom:20px;
}

.hero-content p{
  font-size:34px;
  font-weight:300;
  margin-bottom:40px;
}

/* BUTTONS */
.hero-buttons{
  display:flex;
  gap:20px;
}

.btn-primary,
.btn-secondary{
  padding:15px 35px;
  border-radius:50px;
  text-decoration:none;
  font-size:16px;
  transition:0.3s;
}

.btn-primary{
  background:#ff4d2d;
  color:white;
}

.btn-primary:hover{
  background:#ff2f08;
}

.btn-secondary{
  border:2px solid white;
  color:white;
}

.btn-secondary:hover{
  background:white;
  color:#111;
}

/* ARROW */
.arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:3;
  background:rgba(255,255,255,0.2);
  border:none;
  color:white;
  font-size:50px;
  width:60px;
  height:60px;
  border-radius:50%;
  cursor:pointer;
  transition:0.3s;
}

.arrow:hover{
  background:rgba(255,255,255,0.5);
}

.left{
  left:20px;
}

.right{
  right:20px;
}

/* WHATSAPP */
.whatsapp{
  position:absolute;
  right:25px;
  bottom:25px;
  display:flex;
  align-items:center;
  gap:10px;
  z-index:5;
}

.chat-box{
  background:white;
  padding:12px 16px;
  border-radius:10px;
  font-size:15px;
  line-height:1.4;
  box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

.whatsapp img{
  width:65px;
  height:65px;
}

/* RESPONSIVE */
@media(max-width:992px){

  .header{
    padding:20px;
    flex-direction:column;
    gap:20px;
  }

  .navbar{
    gap:20px;
    flex-wrap:wrap;
    justify-content:center;
  }

  .hero-content{
    left:25px;
    right:25px;
  }

  .hero-content h1{
    font-size:48px;
  }

  .hero-content p{
    font-size:24px;
  }

}


/* BURGER */
.burger{
  display:none;
  flex-direction:column;
  gap:6px;
  cursor:pointer;
  z-index:100;
}

.burger span{
  width:28px;
  height:3px;
  background:white;
  border-radius:5px;
  transition:0.3s;
}

/* MOBILE */
@media(max-width:992px){

  .header{
    padding:20px;
  }

  .burger{
    display:flex;
  }

  .navbar{
    position:absolute;
    top:100%;
    right:20px;
    width:280px;

    background:rgba(12,12,12,0.95);
    backdrop-filter:blur(10px);

    flex-direction:column;
    align-items:flex-start;
    padding:25px;
    border-radius:15px;

    opacity:0;
    visibility:hidden;
    transform:translateY(-10px);

    transition:0.3s;
  }

  .navbar.active{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }

  .navbar a{
    width:100%;
    padding:10px 0;
  }

  .dropdown{
    width:100%;
  }

  .dropbtn{
    width:100%;
    text-align:left;
    padding:10px 0;
  }

  .dropdown-content{
    position:static;
    opacity:1;
    visibility:visible;
    transform:none;

    display:none;

    width:100%;
    background:#1b1b1b;
    margin-top:10px;
    box-shadow:none;
    border-radius:10px;
  }

  .dropdown-content a{
    color:rgb(0, 0, 0);
    padding:12px 15px;
  }

  .dropdown.active .dropdown-content{
    display:block;
  }

}

/* MOBILE HERO */
@media(max-width:768px){

  .hero-content{
    left:25px;
    right:25px;
  }

  .hero-content h1{
    font-size:42px;
  }

  .hero-content p{
    font-size:20px;
  }

  .hero-buttons{
    flex-direction:column;
    width:220px;
  }

}

@media(max-width:576px){

  .hero-content h1{
    font-size:34px;
  }

  .hero-content p{
    font-size:16px;
  }

  .logo-text h2{
    font-size:20px;
  }

  .logo-text span{
    font-size:18px;
  }

  .logo-box{
    font-size:45px;
  }

  .arrow{
    width:45px;
    height:45px;
    font-size:30px;
  }

}
.overlay{
  position:absolute;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.25);

  pointer-events:none;
}

/* ... (kode atas Anda sudah oke) ... */

/* PERBAIKAN STATS SECTION */
.stats-section {
  padding: 80px 70px;
  background: #f9f9f9;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
}

.stats-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.stat-card {
  background: white;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.stat-card:hover {
  transform: translateY(-10px);
}

.stat-card img {
  width: 60px; /* Ukuran ikon yang lebih masuk akal */
  margin-bottom: 20px;
}

.stat-card h2 {
  font-size: 40px;
  color: #0d3c73;
  margin-bottom: 10px;
}

/* PERBAIKAN RESPONSIVE MOBILE */
@media(max-width: 992px) {
  .header {
    padding: 20px;
    flex-direction: row; /* Tetap sejajar horizontal */
    justify-content: space-between;
  }

  .navbar {
    /* Navbar sekarang melayang di bawah header */
    top: 80px; 
    right: 20px;
    width: calc(100% - 40px);
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .stats-section {
    padding: 50px 20px;
  }
}

.stats-title h2 {
  font-size: 32px;
  color: #0d3c73; /* Navy profesional */
  line-height: 1.2;
  margin-bottom: 25px;
  font-weight: 700;
  max-width: 800px;
}

.stats-title p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  max-width: 900px;
  margin-bottom: 30px; /* Jarak ke tombol */
}

.stats-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ff4d2d; /* Warna branding merah oranye */
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.stats-btn span {
  transition: transform 0.3s ease;
}

.stats-btn:hover {
  background: #e63e1f;
  box-shadow: 0 5px 15px rgba(255, 77, 45, 0.3);
}

.stats-btn:hover span {
  transform: translateX(5px); /* Efek panah bergeser saat hover */
}

/* PROJECTS SECTION */
.projects-section {
  padding: 60px 70px;
  background: #fff;
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.projects-header h2 {
  font-size: 32px;
  color: #0d3c73;
  font-weight: 700;
}

.view-all {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  transition: 0.3s;
}

.view-all:hover {
  color: #ff4d2d;
}

/* SLIDER LAYOUT */
.projects-slider {
  position: relative;
  display: flex;
  align-items: center;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Kolom */
  gap: 20px;
  width: 100%;
}

.project-card {
  aspect-ratio: 4/3; /* Membuat kotak seragam */
  overflow: hidden;
  border-radius: 4px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  cursor: pointer;
}

.project-card:hover img {
  transform: scale(1.1);
}

/* ARROWS */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 10;
  font-size: 18px;
}

.prev { left: -20px; }
.next { right: -20px; }

/* DOTS */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: #333;
  transform: scale(1.2);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .projects-section { padding: 40px 20px; }
  .projects-container {
    grid-template-columns: repeat(2, 1fr); /* 2 Kolom di Tablet */
  }
}

@media (max-width: 576px) {
  .projects-container {
    grid-template-columns: 1fr; /* 1 Kolom di HP */
  }
  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* SERVICES SECTION */
.services-section {
  padding: 80px 70px;
  background-color: #fff;
}

.services-header {
  margin-bottom: 50px;
}

.services-header h2 {
  font-size: 32px;
  color: #0d3c73;
  font-weight: 700;
  margin-bottom: 15px;
}

.services-header p {
  font-size: 16px;
  color: #555;
  max-width: 800px;
  line-height: 1.6;
}

/* CONTAINER GRID */
.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD STYLE */
.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-img {
  height: 220px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTENT INSIDE CARD */
.service-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: 20px;
  color: #0d3c73;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.arrow-red {
  color: #980000; /* Merah gelap sesuai gambar */
  font-size: 14px;
}

.service-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.service-content ul li {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

/* Bullet Point Custom */
.service-content ul li::before {
  content: "•";
  color: #0d3c73;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* BUTTON DETAIL */
.btn-detail {
  background-color: #980000; /* Dark Red */
  color: white;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  transition: background 0.3s ease;
}

.btn-detail:hover {
  background-color: #7d0000;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .services-section { padding: 50px 20px; }
  .services-container {
    grid-template-columns: repeat(2, 1fr); /* 2 Kolom di Tablet */
  }
}

@media (max-width: 768px) {
  .services-container {
    grid-template-columns: 1fr; /* 1 Kolom di HP */
  }
}

.about-banner-html {
  position: relative;
  width: 100%;
  height: 500px; /* Tentukan tinggi banner */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Memposisikan konten ke kanan */
}

/* Membuat gambar memenuhi seluruh area kontainer */
.bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Penting agar gambar tidak gepeng */
  z-index: -2; /* Letakkan di paling belakang */
}

/* Membuat lapisan gelap (Overlay) */
.banner-overlay-html {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Kegelapan 40% */
  z-index: -1; /* Di depan gambar, di belakang teks */
}

.banner-content-html {
  position: relative;
  padding-right: 70px; /* Jarak dari sisi kanan layar */
  color: white;
  text-align: right;
  max-width: 800px;
}

.banner-content-html h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.1;
}

.banner-content-html p {
  font-size: 28px;
  font-weight: 300;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .about-banner-html {
    height: 400px;
    justify-content: center; /* Teks ke tengah pada layar kecil */
  }
  
  .banner-content-html {
    padding-right: 20px;
    padding-left: 20px;
    text-align: center;
  }

  .banner-content-html h2 {
    font-size: 34px;
  }
}

/* CLIENTS SECTION */
.clients-section {
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

.clients-header h2 {
  font-size: 32px;
  color: #0d3c73; /* Warna navy sesuai branding */
  margin-bottom: 60px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

/* Garis dekoratif di bawah judul (opsional) */
.clients-header h2::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #980000; /* Warna merah branding */
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

/* LOGO GRID */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px 80px; /* Jarak vertikal dan horizontal antar logo */
  max-width: 1100px;
  margin: 0 auto;
}

.client-logo {
  flex: 0 1 180px; /* Lebar maksimal tiap logo */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
}

.client-logo img {
  max-width: 100%;
  height: auto;
  max-height: 80px; /* Memastikan semua logo punya tinggi seragam */
  filter: grayscale(100%); /* Membuat logo jadi hitam putih agar rapi */
  opacity: 0.6;
  transition: all 0.4s ease;
}

/* EFEK HOVER: Logo kembali berwarna dan jelas */
.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1); /* Sedikit membesar saat disentuh */
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .clients-grid {
    gap: 40px;
  }
  
  .client-logo {
    flex: 0 1 130px; /* Logo lebih kecil di HP */
  }

  .clients-header h2 {
    font-size: 26px;
  }
}

/* FINAL CTA */
.final-cta {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.cta-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Overlay biru keabu-abuan transparan sesuai gambar */
  background: linear-gradient(90deg, rgba(13, 60, 115, 0.6) 0%, rgba(13, 60, 115, 0.3) 100%);
  z-index: -1;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 70px;
}

.cta-content h2 {
  font-size: 42px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta-content p {
  font-size: 48px;
  color: #fff;
  font-weight: 300;
  margin-bottom: 35px;
}

/* TOMBOL CONTACT US (WA) */
.cta-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #980000; /* Merah Marun sesuai gambar */
  color: white;
  text-decoration: none;
  padding: 15px 35px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.cta-wa-btn:hover {
  background-color: #7d0000;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .cta-container { padding: 0 30px; }
  .cta-content h2 { font-size: 32px; }
  .cta-content p { font-size: 36px; }
}

@media (max-width: 576px) {
  .final-cta { height: 400px; }
  .cta-content { text-align: center; }
  .cta-content h2 { font-size: 24px; }
  .cta-content p { font-size: 28px; }
  .cta-wa-btn { width: 100%; justify-content: center; }
}

/* FOOTER STYLES */
.main-footer {
  background-color: #051d3b; /* Navy Blue gelap sesuai gambar */
  color: #ffffff;
  padding: 60px 0 40px 0;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr; /* Pembagian kolom */
  gap: 40px;
  padding: 0 70px;
}

.footer-col h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
}

.footer-logo img {
  max-width: 200px;
  margin-bottom: 20px;
}

.footer-slogan {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  max-width: 250px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #bdc3c7; /* Warna teks abu-abu terang agar tidak terlalu kontras */
  text-decoration: none;
  transition: 0.3s;
  font-size: 15px;
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 5px;
}

/* CONTACT INFO */
.contact-info p {
  font-size: 14px;
  color: #bdc3c7;
  margin-bottom: 15px;
  display: flex;
  gap: 10px;
  line-height: 1.6;
}

.contact-info i {
  color: #e74c3c; /* Warna merah untuk icon */
  margin-top: 4px;
}

/* SOCIAL MEDIA */
.social-links {
  margin-top: 25px;
  display: flex;
  gap: 15px;
}

.social-links a {
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  text-decoration: none;
}

.social-links a:hover {
  background: white;
  color: #051d3b;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr; /* 2 Kolom di tablet */
    padding: 0 30px;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr; /* 1 Kolom di HP */
    text-align: center;
  }
  
  .footer-col h3 {
    margin-top: 20px;
  }
  
  .contact-info p {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }
}
/* Gaya Dasar Navigasi */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  background: #051d3b; /* Navy Blue sesuai footer */
  padding: 15px 50px;
}

.nav-menu li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}

/* Konfigurasi Dropdown */
.dropdown {
  position: relative; /* Penting agar isi dropdown tidak lari */
}

.dropdown-content {
  display: none; /* Sembunyikan secara default */
  position: absolute;
  background-color: #ffffff;
  min-width: 250px; /* Lebar menu dropdown */
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 100;
  top: 100%; /* Muncul tepat di bawah menu utama */
  left: 0;
  list-style: none;
  padding: 10px 0;
  border-top: 3px solid #980000; /* Aksen merah BEK */
}

/* Gaya Link di dalam Dropdown */
.dropdown-content li a {
  color: #333 !important;
  padding: 12px 20px;
  display: block;
  font-size: 14px;
  transition: 0.3s;
}

.dropdown-content li a:hover {
  background-color: #f1f1f1;
  color: #980000 !important;
  padding-left: 25px;
}

/* LOGIKA HOVER: Munculkan saat mouse di atas menu */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Panah kecil samping teks */
.dropbtn i {
  font-size: 12px;
  margin-left: 5px;
}