* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html, body { max-width: 100%; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }

/* =========================
   NAVBAR
========================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 1px 30px; 
    color: #404040;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.1);
    position: relative; /* penting utk nav-links dropdown mobile */
}

.logo img{
    height: 100px;
    width: 100px;
    position: relative;
    display: inline-block;
}

.nav-links {
    display: flex;
    list-style: none !important;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none !important;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: gray;
    font-size: 17px;
    transition: 0.3s;
    position: relative;
}

.nav-links a:hover{
    color: blue;
    transition: 0.3s;
}

ul li a.navbaractive {
    color: blue;
}

/* =========================
   DROPDOWN LANGUAGE
========================= */
.dropdown {
    position: relative;
    flex: 0 0 auto;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid blue;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.lang-btn img {
  border: 1px solid blue;
  width: 40px;
  height: auto;
}

.lang-btn span {
  color: blue;
  font-weight: bold;
  font-size: 14px;
}

.dropdown-content img {
    border: 1px solid black;
    width: 40px;
}

.dropdown-content {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 12px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.18);
  z-index: 9999;
  display: none;
}

.dropdown.open .dropdown-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dropdown-content li {
  border-bottom: none;
  margin: 0;
  padding: 0;
}

.dropdown-content li a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  transition: 0.2s;
}

.dropdown-content li a img {
  width: 40px;
  height: auto;
  border: 1px solid black;
}

.dropdown-content li a span {
  flex: 1;
}

.dropdown-content li:last-child {
    border-bottom: none;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: 0.2s;
    border: 1px solid transparent; 
}

.dropdown-content a:hover {
    background-color: #D0DCFD;
    color: blue;
    border-color: blue; 
}

.dropdown:hover .lang-btn {
    background-color: #e4e6eb;
}

/* =========================
   SEARCHBOX
========================= */
.searchbox {
    display: flex;
    align-items: center;
    border: 1px solid black;
    border-radius: 20px;
    overflow: hidden;
    padding: 5px;
}

.searchbox input {
    border: none;
    outline: none;
    padding: 10px 12px;
    width: 200px;
    height: 30px;
    font-size: 13px;
}

/* =========================
   FLOATING ACTION
========================= */
.floating-action {
    position: fixed;   
    bottom: 10px;      
    right: -15px;     
    z-index: 9999;   
    cursor: pointer;  
    transition: transform 0.3s ease-in-out; 
}

.floating-action img {
    width: 110px;       
    height: auto;
}

.floating-action:hover {
    transform: scale(1.1);     
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); 
}

/* =========================
   HERO
========================= */
.hero {
    background: linear-gradient(rgba(0, 50, 150, 0.6), rgba(0, 50, 150, 0.4)),
    url('/images/background tentang.png');
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    font-weight: 400;
}

/* =========================
   ABOUT
========================= */
.about-container {
    padding: 60px 5%;
    display: flex;
    justify-content: center;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    width: 100%;
}

.image-box {
    flex: 1;
}

.image-box img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.text-box {
    flex: 1;
}

.heading-wrapper {
    border-left: 5px solid #2b4eff;
    padding-left: 15px;
    margin-bottom: 20px;
}

.text-box h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.text-box p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #666;
    font-size: 15px;
    text-align: justify;
}

/* =========================
   TIMELINE
========================= */
.timeline-section {
    padding: 60px 5%;
    text-align: center;
    background-color: white;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #000;
}

.timeline-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background: #EFF6FF;
    border-radius: 15px;
    padding: 30px 20px;
    width: 250px;
    box-shadow: 0px 2px 3px 4px rgba(0,0,0,0.05);
    transition: 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    transition: 0.3s ease-in-out;
    border: 1px solid #4287f5;
}

.year-badge {
    background-color: #4287f5;
    color: white;
    padding: 8px 25px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* =========================
   CLIENT / MAP
========================= */
.client-section {
    padding: 40px 5%;
    background-color: #e0e0e0;
    text-align: center;
}

.map-wrapper {
    margin-bottom: -50px;
    position: relative;
    z-index: 1;
}

.map-img {
    max-width: 80%;
    opacity: 0.6;
}

/* =========================
   VISI MISI
========================= */
.visi-misi {
    display: flex;
    justify-content: center;
}

.visi-misi img {
    box-shadow: 0px 2px 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.visidanmisi {
    background: #EDEDED;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 50px;
}

.visi-h {
    color: blue;
    font-family: Arial, Helvetica, sans-serif;
}

.misi-h {
    color: red;
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================
   KEBIJAKAN MUTU (FIX DESKTOP)
========================= */
.kebijakanmutu {
    margin-top: 20px;
    text-align: center;
    font-weight: 700;
    color: black;
    margin-bottom: 30px;
}

.kebijakan-mutu {
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    padding: 20px 10px;
}

.kebijakan-mutu .paragraf {
    flex: 1;
    min-width: 0;
    padding-bottom: 40px;
}

.kebijakanmutu-images {
    box-shadow: 0px 2px 4px 6px rgba(0,0,0,0.1);
    border-radius: 20px;

    /* ✅ INI YANG NGERUSAK TADI: JANGAN 30px */
    flex: 0 0 500px;
    width: 500px;
    max-width: 500px;
    overflow: hidden;
}

.kebijakanmutu-images img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.paragraf-p {
    font-size: 20px;
}

.paragraf {
    padding-bottom: 40px;
}

/* =========================
   SERTIFIKAT (FIX)
========================= */
.sertif {
    margin-top: 10px;
    text-align: center;
}

.sertifikatpartner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;  /* ✅ biar desktop ga kepotong */
    margin-top: 20px;
    gap: 30px;
    margin-bottom: 90px;
    padding: 0 18px;
}

.sertifikat1,
.sertifikat2,
.sertifikat3 {
    text-align: center;
    background: white;
    border-radius: 20px;
    box-shadow: 0px 2px 4px 6px rgba(0,0,0,0.1);
    flex-wrap: wrap;
    width: min(400px, 100%);
    padding: 10px;
    transition: 0.3s ease-in-out;
}

.sertifikat1 img,
.sertifikat2 img,
.sertifikat3 img {
    margin-top: 20px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border: 3px solid #e2e8f0;
    border-radius: 15px;
}

.sertifikat1:hover,
.sertifikat2:hover,
.sertifikat3:hover {
    box-shadow: 0px 2px 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #4169E1;
    transform: translateY(-10px);
    transition: 0.3s ease-in-out;
}

/* =========================
   FOOTER
========================= */
.site-footer {
    background-color: #020B40;
    color: white;
    padding: 48px 0 20px;
}

.footer-wrap {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    gap: 36px;
    grid-template-columns: 1.4fr 1.2fr 0.7fr 1fr;
    align-items: start;
    display: grid;
}

.footer-title {
    font-size: 22px;
    margin: 0 0 14px;
    font-weight: 800;
    color: white;
}

.footer-text {
    margin: 0;
    color: white;
    font-size: 14px;
}

.footer-text.small {
    font-size: 13px;
    color: white;
    font-weight: 500;
}

.footer-col {
    display: grid;
}

.footer-col .footer-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-list {
    list-style: none;
    display: grid;
    gap: 10px;
    text-decoration: none;
}

.footer-list li a{
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 14px;
}

.footer-list a:hover {
    color: blue;
    transition: 0.10s ease-in-out;
}

.newsletter-box {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 12px 15px rgba(0,0,0,0.25);
}

.newsletter-form input {
    border: 1px solid rgba(255,255,255,0.20);
    background: rgba(255,255,255,0.12);
    color: #fff;
    padding: 10px 12px;
    border-radius: 10px;
    outline: none;
    margin: 20px 0;
}

.newsletter-form button {
    border: 1px solid #4361EE;
    background: #4361EE;
    border-radius: 10px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 700;
}

.newsletter-form button:hover {
    filter: brightness(1.08);
}

.footer-social {
    margin-top: 16px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.facebook,
.youtube,
.tiktok,
.linkedin{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.instagram {
    height: 40px;
    width: 40px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: white;
    transition: 0.3s ease-in-out;
    background: radial-gradient(
        #feda75,
        #fa7e1e,
        #962fbf,
        #4f5bd5
    )
}

.youtube:hover,
.facebook:hover,
.instagram:hover,
.tiktok:hover,
.linkedin:hover {
    transform: translateY(-5px);
    transition: 0.3s ease-in-out;
}

.footer-bottom {
    width: 90%;
    max-width: 1300px;
    margin: 22px auto 0;
    text-align: center;
}

.footer-divider {
    background: white;
    color: white;
    height: 1px;
    width: 100%;     /* ✅ FIX: jangan 1250px */
    display: block;
    margin-bottom: 20px;
    opacity: 70%;    
}

.footer-list li a.active {
    color: blue;
}

/* =========================
   HAMBURGER (kelas tetap: nav-toggle & hamburger)
========================= */
.nav-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #333;
  border-radius: 3px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
  .visidanmisi{
    padding: 28px;
    gap: 22px;
  }
}

@media (max-width: 768px) {

  /* ABOUT: tumpuk */
  .about-content {
      flex-direction: column;
      gap: 18px;
  }

  /* NAVBAR: hamburger muncul */
  .hamburger {
    display: flex;
  }

  /* nav-links jadi dropdown */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    background: white;
    flex-direction: column;
    gap: 18px;
    padding: 20px;

    display: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 999;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .navbar {
    flex-wrap: wrap;
    padding: 8px 14px;
  }

  /* VISI MISI: tumpuk */
  .visidanmisi {
    flex-direction: column;
    padding: 18px;
    gap: 18px;
  }

  /* KEBIJAKAN MUTU: tumpuk */
  .kebijakan-mutu {
    flex-direction: column;
    padding: 16px;
    gap: 18px;
  }

  .kebijakanmutu-images {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  /* SERTIFIKAT: jadi 1 kolom */
  .sertifikatpartner {
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
  }

  .sertifikat1, .sertifikat2, .sertifikat3 {
    max-width: 520px;
    margin: 0 auto;
  }

  /* FOOTER: grid jadi 1 kolom */
  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 420px){
  .hero h1 { font-size: 26px; }
  .hero p  { font-size: 14px; }
  .logo img{ width: 80px; height: 80px; }
}
