/* ===== FONT & BASE ===== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f8f9fc;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background: #011c37;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  transition: background-color 0.3s ease; /* biar smooth */
}

header.transparent {
  background: rgba(0, 0, 0, 0); /* bener-bener transparan */
  backdrop-filter: none; /* pastikan gak ada blur */
  box-shadow: none; /* hilangin bayangan kalau ada */
}

header h1 {
  font-weight: 600;
  font-size: 1.5rem;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 10px; /* jarak antara logo dan teks */
}

.logo-title img {
  height: 45px; 
  width: auto;
}

/* Kalau layar kecil (HP), biar nggak kebesaran */
@media (max-width: 600px) {
  .logo-title img {
    height: 35px; 
  }
}


nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: #ffdd57;
}

.hero {
  position: relative;
  height: 100vh; /* penuh layar */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover; /* isi penuh tanpa distorsi */
  object-position: center 65%; /* geser fokus */
  z-index: 0;
}

/* ===== HERO ANIMATION ===== */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  color: white;
  text-align: center;   /* biar rapi ke tengah */
  margin-top: -40px;    /* geser sedikit ke atas */
  opacity: 0;              
  transform: translateY(40px); 
  animation: fadeUp 1s ease forwards; 
  animation-delay: 0.3s;   
}

/* H2 */
.hero-content h2 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 25px; /* kasih jarak lebih ke tombol */
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.5s;
}

/* Paragraf */
.hero-content p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 35px; /* jarak cukup jauh biar gak nempel tombol */
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.8s;
}
 
/* Keyframes animasi */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Tombol kuning */
.btn-yellow {
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(45deg, #fdd835, #f5cc29);
  color: #0b1f63;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: inline-block; /* biar lebih stabil meski cuma 1 tombol */
}

.btn-yellow:hover {
  background: linear-gradient(45deg, #ffeb3b, #ffd633);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(245, 204, 41, 0.5);
}

/* Kalau cuma 1 tombol, container bisa simple aja */
.hero-buttons {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}


/* ===== SEKILAS PERUSAHAAN (MODERN) ===== */
.about-cinematic {
  padding: 50px 5%;
  text-align: center;
  background: linear-gradient(to bottom, #f8f9fc, #eef2f7);
}
@media (min-width: 768px) {
  .about-cinematic {
    margin-top: 2px; /* lebih dekat ke atas */
  }
}


.about-cinematic h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 35px;
  position: relative;
}

.about-cinematic h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #ffb400;
  margin: 10px auto 0;
  border-radius: 2px;
}

.cinematic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.cinematic-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cinematic-card img {
  width: 100%;
  height: 350px; /* tambah tinggi biar lebih panjang */
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cinematic-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  color: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  transition: all 0.4s ease;
}

.cinematic-card .overlay h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.cinematic-card .overlay p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.cinematic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.cinematic-card:hover img {
  transform: scale(1.08);
}

.cinematic-card:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}



/* ===== LAYANAN UNGGULAN ===== */
.highlight-services {
  padding: 60px 5%;
  background: #f8f9fc;
  text-align: center;
}
.highlight-services h2 {
  color: #004080;
  font-size: 2rem;
  margin-bottom: 40px;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.service-cards .card {
  flex: 1 1 250px;
  background: #f9fafe;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-cards .card i {
  font-size: 2.5rem;
  color: #004080;
  margin-bottom: 15px;
}
.service-cards .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ===== FLOW REKRUTMEN ===== */
.flow-recruit {
  padding: 60px 5%;
  background: linear-gradient(135deg, #f8f9fc 0%, #f8f9fc 100%);
  text-align: center;
}
.flow-recruit h2 {
  font-size: 2rem;
  color: #004080;
  margin-bottom: 40px;
}
.flow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.step {
  flex: 1 1 250px;
  background: #ffffff;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step i {
  font-size: 2rem;
  color: #004080;
  margin-bottom: 15px;
}
.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ===== CTA ===== */
.cta {
  padding: 60px 5%;
  text-align: center;
  background: linear-gradient(135deg, #061625, #08498a);
  color: #dde1e3;
}
.cta h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.btn-cta {
  padding: 14px 35px;
  background: #ffdd57;
  color: #004080;
  font-weight: 600;
  border-radius: 25px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.3s ease;
}
.btn-cta:hover {
  background: #ffd633;
  transform: scale(1.05);
}

/* CTA Sosial Buttons Minimalis */
.cta-social-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;       /* jarak antar ikon */
  margin-top: 20px; /* spasi dari paragraf */
}

.cta-social-buttons a {
  font-size: 2.2rem;     /* cukup besar tapi elegan */
  color: #dcdde1fd;         /* putih agar kontras di CTA gelap */
  transition: transform 0.3s ease, color 0.3s ease;
}

.cta-social-buttons a:hover {
  color: #f5d222;         /* biru cerah saat hover */
  transform: scale(1.2);  /* sedikit membesar saat hover */
}

/* Responsif untuk layar kecil */
@media screen and (max-width: 480px) {
  .cta-social-buttons a {
    font-size: 1.8rem;
  }
}


/* ===== FOOTER ===== */
.footer {
  background: #011c37;
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}


/* ===== TENTANG KAMI DENGAN BACKGROUND GRADIASI ===== */
.about-section {
  padding: 120px 5% 100px; /* atas dibesarkan biar jauh dari header */
 text-align: center;
  min-height: 55vh; /* biar background gambar lebih panjang */
  background: 
    linear-gradient(rgba(3, 36, 69, 0.65), rgba(0, 64, 128, 0.65)),
    url("tk.jpg") center/cover no-repeat;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center; /* biar konten di tengah vertikal */
}

.about-section h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
}

.about-section p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.vision-mission {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
  margin-top: 40px;
  text-align: left;
  padding: 0 5% 60px;
}
.vision,
.mission {
  flex: 1 1 350px;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.vision:hover,
.mission:hover {
  transform: translateY(-5px);
}
.vision i,
.mission i {
  font-size: 2rem;
  color: #004080;
  margin-bottom: 15px;
}
.mission ul {
  padding-left: 20px;
}
.mission li {
  margin-bottom: 10px;
}

/** profile **/
.team-profile {
  padding: 60px 5%;
  text-align: center;
  background: #f8f9fc;
  margin-top: 100px; /* tambahin jarak atas */
}

.team-profile h3 {
  font-size: 1.8rem;
  color: #004080;
  margin-bottom: 100px; /* dari 20px jadi 50px biar lebih jauh */
}

.team-profile .team-images {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 150px; /* jarak antar anggota */
  margin-top: 0; /* biar gak nambah jarak ganda */
}

.team-profile .team-member {
  text-align: center;
  position: relative;
  background: none; /* hapus gradasi bawah */
  border-radius: 20px;
  overflow: hidden;
  padding-top: 0; /* hapus padding atas supaya gambar full */
}

.team-profile .team-member img {
  width: 280px;   /* dari 220px → lebih besar */
  height: 330px;  /* dari 260px → lebih tinggi */
  object-fit: cover;
  border-radius: 20px;
  border: none;
  transition: none;
}

/* Nama & jabatan */
.team-profile .team-member h4 {
  color: #0337a9;
  margin-top: 10px;
  font-size: 1rem;
}


.team-profile .team-member p {
  color: #0337a9;
  font-size: 0.85rem;
}

/* Tombol sosial media */
.social-buttons {
  margin: 40px 0;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.social-buttons a {
  color: #004080;
  font-size: 2rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-buttons a:hover {
  color: #0a1447;
  transform: scale(1.2);
}

/* ===== SERVICES FULL PAGE - SPA STYLE ===== */
.services {
  min-height: auto; /* jangan dipaksa full 100vh */
  padding: 60px 25px;
  text-align: center;
  background: linear-gradient(145deg, #f5f8ff 0%, #ffffff 100%);
  margin-top: 90px;
  margin-bottom: 80px;
}

/* Section Heading khusus "Layanan Kami" */
.section-heading {
  position: relative;
  width: 100vw;                 /* full lebar layar, bener2 kiri kanan */
  left: 50%;
  transform: translateX(-50%);  /* trik biar gak ada sisa margin */
  
  background: #011c37;          
  min-height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  color: #fff;
  font-size: 1.9rem;
  font-weight: 700;

  /* lengkung bawah */
  border-bottom-left-radius: 100px;
  border-bottom-right-radius: 100px;

  margin: 0;
  box-sizing: border-box;
}


/* Intro */
.services .intro {
  font-size: 1rem;
  color: #555;
  max-width: 650px;
  margin: 40px auto 50px;
  line-height: 1.5;
}

/* Container */
.service-container {
  display: flex;
  justify-content: center; 
  align-items: stretch;
  gap: 25px;
  flex-wrap: wrap; 
  max-width: 1100px;
  margin: auto;
  padding: 15px;
}

/* Card style */
.service-item {
  flex: 1 1 30%;
  max-width: 340px;
  background: #fff;
  border-radius: 20px;
  padding: 20px 18px;
  box-shadow: 0 6px 18px rgba(0, 64, 128, 0.08);
  text-align: left;
  transition: all 0.4s ease;
}

.service-item i {
  font-size: 40px;
  color: #004080;
  margin-bottom: 12px;
}

.service-item h3 {
  color: #00264d;
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 10px;
}

/* List style */
.service-item ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 20px; /* lebih rapat */
}

.service-item ul li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.service-item ul li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: #004080;
  font-size: 13px;
}

/* Hover effect */
.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 64, 128, 0.12);
}

/* Responsif */
@media (max-width: 900px) {
  .service-item {
    flex: 1 1 100%; 
    max-width: 100%;
  }
}


/* ===================== 
   Karir / Lamaran Kerja 
===================== */
.full-form {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: calc(100vh - 120px);
  padding: 20px;
  box-sizing: border-box;
}

.full-form iframe {
  width: 100%;
  max-width: 1000px;
  height: 100%;
  border: none;
  border-radius: 10px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===================== 
   Footer 
===================== */
footer {
  margin-top: auto;
  background: #161819;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* ===== PAGE BANNER ===== */
.page-banner {
  text-align: center;
  color: #003060;
  padding: 40px 5% 20px;
}
.page-banner h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.page-banner p {
  font-size: 1.1rem;
  color: #555;
}

/* ===== KONTAK GRID ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px 5%;
  max-width: 1200px;
  margin: auto;
  align-items: start;
}
.contact-info h3 {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #004080;
}
.contact-info p {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #555;
}

#contact-section {
  padding-top: 120px; /* kasih ruang ekstra */
  margin-top: -60px;  /* tarik balik biar ga terlalu jauh */
}

.map {
  width: 100%;
  max-width: 550px; /* biar ga terlalu melebar */
  height: 400px;    /* agak tinggi, lebih lega */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 0 auto; /* center di kolomnya */
}
@media (max-width: 768px) {
  .map {
    max-width: 100%;
    height: 300px;
  }
}



/*konsultasi */

.consultation-section {
  padding: 60px 5%;
  text-align: center;
  background: #f8f9fc;
}

.consultation-section h2 {
  color: #004080;
  font-size: 2rem;
  margin-bottom: 30px;
}

.consultation-form {
  max-width: 800px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: #004080;
}

.consultation-form input,
.consultation-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 25px; /* lebih bulet */
  font-size: 1rem;
  width: 100%;
  transition: 0.3s ease;
}

.consultation-form input:focus,
.consultation-form textarea:focus {
  border-color: #004080;
  outline: none;
  box-shadow: 0 0 6px rgba(0,64,128,0.3);
}

.full-width {
  grid-column: span 2;
}

.btn-submit {
  grid-column: span 2;
  padding: 12px;
  background: #004080;
  color: white;
  border: none;
  border-radius: 25px; /* bulet */
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background: #003060;
}


/* Tombol Back to Top bulat kecil */
.back-to-top {
  position: fixed;
  bottom: 90px; /* di atas tombol WA */
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: #004080;
  border-radius: 50%; /* bulat */
  display: flex; /* tampil sebagai flex */
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 45px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 999;
  transition: background-color 0.3s ease;
  cursor: pointer;
  color: white; /* biar panah terlihat */
  font-size: 20px; /* ukuran panah */
}

.back-to-top:hover {
  background-color: #0a1447;
}

/* ===================== RESPONSIVE RAPIH ===================== */
@media (max-width: 768px) {
  /* Navbar */
  header {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 15px;
  }

  /* Hero */
  .hero-content h2 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }

  /* Services & Cards */
  .service-container {
    gap: 20px;
  }
  .service-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* Team Profile */
  .team-profile .team-images {
    gap: 40px;
    flex-wrap: wrap;
  }

  /* Form konsultasi */
  .consultation-form {
    grid-template-columns: 1fr; /* jadi 1 kolom */
  }
  .full-width,
  .btn-submit {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .logo-title h1 {
    font-size: 1.1rem;
  }

  nav ul {
    gap: 10px;
  }

  .hero-content h2 {
    font-size: 1.4rem;
  }
  .hero-content p {
    font-size: 0.9rem;
  }

  .cta h2 {
    font-size: 1.5rem;
  }
}

/* ===== FIX RESPONSIVE MOBILE & TABLET ===== */
@media (max-width: 1024px) {
  header {
    flex-direction: column;
    gap: 10px;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 15px;
  }

  .hero {
    height: 90vh;
  }
  .hero-content {
    padding: 10px;
    margin-top: -20px;
  }
  .hero-content h2 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }

  .cinematic-card img {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 70vh;
  }

  .hero-content h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .cinematic-grid {
    grid-template-columns: 1fr;
  }

  .service-cards,
  .flow-steps {
    flex-direction: column;
    align-items: center;
  }

  .team-profile .team-images {
    flex-direction: column;
    gap: 40px;
  }

  .team-profile .team-member img {
    width: 220px;
    height: 270px;
  }

  .vision-mission {
    flex-direction: column;
    align-items: center;
  }

  .map {
    width: 100%;
    height: 300px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  header {
    padding: 10px 15px;
  }

  .logo-title img {
    height: 30px;
  }

  .logo-title h1 {
    font-size: 1rem;
  }

  nav ul {
    gap: 8px;
    font-size: 0.85rem;
  }

  .hero {
    height: 65vh;
  }

  .hero-content {
    padding: 15px;
  }

  .hero-content h2 {
    font-size: 1.3rem;
    line-height: 1.4;
  }

  .hero-content p {
    font-size: 0.85rem;
  }

  .btn-yellow {
    padding: 10px 22px;
    font-size: 0.9rem;
  }

  .cinematic-card img {
    height: 220px;
  }

  .service-item {
    padding: 18px 15px;
  }

  .service-item h3 {
    font-size: 1rem;
  }

  .cta h2 {
    font-size: 1.3rem;
  }

  .cta p {
    font-size: 0.9rem;
  }

  .cta-social-buttons a {
    font-size: 1.6rem;
  }

  .footer {
    font-size: 0.8rem;
  }
}
