@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}

:root {
    --primary-color : #162F58;
    --main-color :  #37A6AA;
    --white-color : #F6F4F1;
    --black-color: #131312;
}

html,
body {
    overflow-x: hidden;
}

section {
    padding: 3rem 9%;
}


#menu {
    display: none;
}

/* #preloader {
    background: #fff url(image/preload.gif) no-repeat center center;
    background-size: 20%;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 99999;
} */

.hamburger div {
    width: 20px;
    height: 3px;
    background: #fff;
    margin: 5px;
    transition: all 0.3s ease;
}

.hamburger {
    display: none;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3%;
    position: fixed;
    background: transparent;
    transition: all .45s ease;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.navbar img {
    width: 8rem;
}

.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}


.navbar-nav a {
    font-size: 0.85rem;
    margin: 1rem 1rem;
    display: inline-block;
    transition: 0.2s ease;
    position: relative;
    font-weight: 450;
    text-transform: uppercase;
    transition: .3s;
    color: #fff;
    transition: color 0.3s ease;
}

.navbar-nav a:hover {
    color: #008080;
}

.navbar.fixed {
    position: fixed;
    background-color: #fff;
    padding: 0 5%;
    color: var(--black-color);
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.3);
}


.navbar.fixed .navbar-nav a {
    color: var(--black-color);
}

.navbar.navbar.fixed .navbar-nav a:hover {
    color: var(--primary-color);
}


.language {
    position: relative;
    width: 120px;
    margin-left: 40px;
    font-weight: bold;
}


.language-selected {
    display: flex;
    align-items: center;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease
}

.navbar.fixed .language-selected {
    color: #333;
}

.language-selected::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url(https://flagsapi.com/ID/flat/64.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.language-selected.en::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url(https://flagsapi.com/US/flat/64.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.language-selected.cn::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url(https://flagsapi.com/CN/flat/64.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.language ul {
    position: absolute;
    width: 100px;
    background-color: #fff;
    border: 1px solid #f8f8f8;
    padding: 5px;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.5);
    display: none;
}

.language ul li {
    list-style: none;
}

.languageu ul li a {
    display: block;
    color: #252525;
    padding-top: 5px 10px;
}

.language ul li:hover {
    background-color: #f8f8f8;
}

.language ul li a::before {
        content: '';
        display: inline-block;
        width: 25px;
        height: 25px;
        background-size: contain;
        vertical-align: middle;
        background-repeat: no-repeat;
        margin-right: 10px;
}

a.en::before {
    background-image: url(https://flagsapi.com/US/flat/64.png);
}

a.id::before {
    background-image: url(https://flagsapi.com/ID/flat/64.png);
}

a.cn::before {
    background-image: url(https://flagsapi.com/CN/flat/64.png)
}

.language:hover ul {
    display: block;
}

.home {
    position:relative;
    margin: 0;
    padding: 0;
    width: 100%;
    padding-bottom: 4rem;
    background: url('image/home.png');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.home-container {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
}

.home-content {
    margin: 200px 100px 0 100px;
}

.home-content h1 {
    color: #F6F4F1;
    font-size: 2.3rem;
    line-height: 3rem;
}

.home-content p {
    color: #F6F4F1;
    margin: 1rem 0;
}

.compro-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.compro-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 1rem;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    position: relative;
}

.close-compro {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 24px;
    cursor: pointer;
}

.mobile-view {
    display: none;
}

.download-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    text-decoration: none;
}

.button-home {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 10px;
    background-color:var(--primary-color) ;
    width: fit-content;
    padding: 1rem;
}

.button-home i {
    color: var(--white-color);
}

.button-home a {
    color: var(--white-color);
}

.trusted-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.trsuted-content h1 {
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--black-color);
}

.underline {
    width: 20%;
    height: 5px;
    margin-top: 1.25rem;
    border-radius: 2px;
    background-color: var(--main-color);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-content{
    background-color: #f3f1ed;
    padding: 30px;
}

.about-content h6 {
    text-transform: uppercase;
    font-size: 15px;
}

.about-content h2 {
    font-size: 1.5rem;
    line-height: 2rem;
    margin: 1rem 0;
}

.about-content p {
    margin: 1rem 0;
}


.about-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 1.4rem;
}

.about-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background: #fff;
    padding: 1.2rem;
    width: 12.5rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 10px;
}

.about-box i {
    background-color: var(--primary-color);
    padding: 1rem;
    font-size: 1.75rem;
    color: var(--white-color);
}

.about-box p {
    margin: 1rem 0;
}

.about-list {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    
}

.list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
}

.list i {
    font-size: 1.35rem;
}

.btn-about {
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--black-color);
    color: var(--white-color);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.about-image img {
    width: 25rem;
}

.services {
    position:relative;
    margin: 0;
    padding: 0;
    width: 100%;
    padding: 5rem 13em;
    background: url('image/services.png');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.services-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;

}

.services-content h5{
    color: var(--main-color);
}

.services-content h1 {
    color: var(--white-color);
    margin: 10px 0 30px;
}

.btn-services {
    background: var(--main-color);
    color: var(--white-color);
    padding: 14px 20px;
}
.services-box {
    display:grid;
    grid-template-columns: repeat(3,1fr);
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

.services-detail i {
    font-size: 4rem;
    color: var(--main-color);
}

.services-detail h3 {
    color: var(--white-color);
    margin: 1rem 0;
    font-weight: 550;
}

.services-detail p {
    color: var(--white-color);
}

.vision-mission-clean {
  background-color: #f7f9fc;
  padding: 80px 20px;
}

.vision-mission-clean .container {
  max-width: 1200px;
  margin: 0 auto;
}

.title-section {
  text-align: center;
  margin-bottom: 50px;
}

.title-section h2 {
  font-size: 2.5rem;
  color: #1d1d1d;
}

.title-section p {
  font-size: 1rem;
  color: #5f5f5f;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 89, 255, 0.15);
}

.card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card p,
.card ul {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

.card ul {
  list-style: none;
  padding-left: 0;
}

.card ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.card ul li::before {
  content: "✔";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 2px;
}



.why-us-premium {
  background-color: #f8faff;
  padding: 100px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.8rem;
  color: #0a1f44;
  margin-bottom: 10px;
}

.section-header p {
  font-size: 1.1rem;
  color: #5c6f8c;
  max-width: 700px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.feature-box {
  background-color: #fff;
  border-radius: 16px;
  padding: 40px 25px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 89, 255, 0.07);
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 89, 255, 0.12);
}

.icon-box {
  background-color: #e6f0ff;
  color: var(--primary-color);
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 28px;
  margin: 0 auto 20px auto;
}

.feature-box h3 {
  font-size: 1.3rem;
  color: #0a1f44;
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 0.98rem;
  color: #5c6f8c;
  line-height: 1.6;
}

.premium-certificate {
  background: linear-gradient(145deg, #f4f4f4, #ffffff);
  padding: 100px 20px;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.section-title {
  font-size: 2.8rem;
  color: #222;
  font-weight: bold;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1rem;
  color: #777;
  margin-bottom: 50px;
}

/* Flip Card Container */
.certificate-card {
  width: 400px;
  height: 260px;
  margin: 0 auto;
  perspective: 1500px;
}

.card-inner {
  width: 100%;
  height: 100%;
  transition: transform 1s;
  transform-style: preserve-3d;
  position: relative;
}

.certificate-card:hover .card-inner {
  transform: rotateY(180deg);
}

.image {
    width: 100%;
    text-align: center;
}

/* Front and Back Side */
.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  backface-visibility: hidden;
}

/* FRONT – Desain Mewah */
.card-front {
  background: linear-gradient(to bottom right, #eafffe, #fcfcfc);
  padding: 30px;
  text-align: left;
  border: 2px solid var(--main-color);
  box-shadow: inset 0 0 0 2px #fff;
}

.certificate-header h3 {
  font-family: 'Georgia', serif;
  font-size: 1.4rem;
  color: #222;
  margin-bottom: 4px;
}

.certificate-header span {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: bold;
  letter-spacing: 1px;
}

.certificate-info {
  list-style: none;
  margin-top: 20px;
  padding-left: 0;
}

.certificate-info li {
  font-size: 0.95rem;
  margin: 10px 0;
  color: #444;
}

.certificate-info strong {
  color: var(--primary-color);
}

/* BACK – Gambar Sertifikat */
.card-back {
  transform: rotateY(180deg);
  background-color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}
/* Tambahan agar 6 kartu bisa tersusun rapi */
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  justify-content: center;
}


.card-back img {
  width: 10rem;
  height: 10rem;
  margin:  0 auto;
  object-fit: cover;
  border-radius: 16px;
}


.map-section {
  background: linear-gradient(to bottom, #f4fbfc, #ffffff);
  padding: 100px 20px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #003f5c;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 40px;
}

.map-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

/* Info Kiri */
.map-info {
  flex: 1;
  min-width: 320px;
  max-width: 480px;
}

.office-photo {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  margin-bottom: 20px;
}

.info-box {
  background-color: #ffffff;
  border-left: 5px solid #37A6AA;
  padding: 20px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.info-box h3 {
  margin-bottom: 12px;
  color: #004d4f;
}

.info-box p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: #444;
}

.info-box i {
  color: #37A6AA;
  margin-right: 8px;
}

/* Tombol ke Maps */
.btn-direction {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: linear-gradient(to right, #162F58, #1f4c93);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.btn-direction:hover {
  background: #144085;
}

/* Map Frame Kanan */
.map-frame {
  flex: 1;
  min-width: 320px;
  height:100%;
  padding: 2rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.site-footer {
  background: linear-gradient(to right, #162F58, #1f4c93);
  color: #fff;
  padding: 60px 20px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-col h4,
.footer-col h3 {
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col p,
.footer-col li {
  font-size: 0.95rem;
  color: #e0f2f1;
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li i {
  margin-right: 8px;
  color: #a0e7e5;
}

.footer-col a {
  color: #e0f2f1;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Social Icons */
.social-icons a {
  font-size: 1.4rem;
  color: #fff;
  margin-right: 12px;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: #ffd700;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #e0f2f1;
}

/* SCROLL UP */
.scroll-up {
    position: fixed;
    right: 3rem;
    bottom: -20%;
    background-color: var(--primary-color);
    opacity: 0.8;
    padding: 0.1rem;
    border-radius: 50%;
    z-index: 95;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-up:hover {
    background-color: #073043;
}

.scroll-up-icon {
    font-size: 1.5rem;
    color: #fff;
}

.show-scroll {
    bottom: 2rem;
}


/* MEDIA QUERIES */

/* Tambahan untuk responsive */
@media (max-width: 768px) {

    #preloader{
        background-size: 50%;
    }

    .desktop-view {
    display: none;
}

.home, .services {
  background-attachment:inherit;
}

.mobile-view {
    display: block;
}

    .home-content {
        margin: 150px 0 0 20px;
    }

    .home-content h1 {
        line-height: 45px;
        margin-bottom: 1rem;
    }

    .home-content p {
        margin: 1rem 0 5rem;
    }

    .navbar {
        flex-wrap: wrap;
        padding: 1rem 7%;
        background-color: #fff;
        position: fixed;
        width: 100%;
    }

    .navbar.fixed {
        display: none;
    }

        .language ul {
            margin-left: -2rem;
        }

        .language-selected {
            color: #333;
            margin-left: -1rem;
        }
        .hamburger {
            display: block;
            position: fixed;
            cursor: pointer;
            right: 5%;
            top: 2rem;
            transform: translate(-5%, -50%);
            z-index: 2;
            background-color: var(--primary-color);
            padding: 5px;
            transition: all 0.7s ease;
        }
    
        .toggle .line1 {
            transform: rotate(-45deg) translate(-5px, 6px);
        }
    
        .toggle .line2 {
            transition: all 0.7s ease;
            width: 0;
        }
    
        .toggle .line3 {
            transform: rotate(45deg) translate(-5px, -6px);
        }
.navbar-nav {
    position: fixed;
    top: 65px;
    /* biar nggak nutup logo dan tombol X */
    left: 0;
    right: 0;
    background-color: #1a6564f7;
    height: calc(100vh - 80px);
    /* sisa tinggi layar setelah header */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* tengah vertikal */
    align-items: center;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
    z-index: 999;
}

.navbar-nav.open {
    opacity: 1;
    pointer-events: auto;
}
    
        .navbar-nav a {
            text-align: center;
            color: #fff;
            font-weight: 600;
            font-size: 1.1rem;
            text-transform: uppercase;
            transition: color 0.3s ease;
        }
    
        .navbar-nav a:hover {
            color: #c7e5ff;
        }

                .navbar-nav a {
                    opacity: 0;
                    transform: translateY(20px);
                    transition: all 0.5s ease;
                }
        
                /* Saat navbar open, animasi muncul satu-satu dari bawah ke atas */
                .navbar-nav.open a {
                    opacity: 1;
                    transform: translateY(0);
                }
        
                /* Tambah delay supaya munculnya berurutan */
                .navbar-nav.open a:nth-child(1) {
                    transition-delay: 0.1s;
                }
        
                .navbar-nav.open a:nth-child(2) {
                    transition-delay: 0.2s;
                }
        
                .navbar-nav.open a:nth-child(3) {
                    transition-delay: 0.3s;
                }
        
                .navbar-nav.open a:nth-child(4) {
                    transition-delay: 0.4s;
                }
        
                .navbar-nav.open a:nth-child(5) {
                    transition-delay: 0.5s;
                }

                .navbar-nav.open a:nth-child(6) {
                    transition-delay: 0.6s;
                }

                .navbar-nav.open a:nth-child(7) {
                    transition-delay: 0.7s;
                }


                

                .trsuted-content h1 {
                  font-size: 2rem;
                  text-align: center;
                }

    .about-container {
      flex-direction: column;
    }
    .about-content h6 {
      font-size: 25px;
    }

    .about-detail {
      flex-direction: column;
    }

    .about-box {
      margin: 1.25rem 0;
    }

    .services-content h5 {
      font-size: 2rem;
    }

    .services {
      padding: 2rem;
    }

    .services-container {
      flex-direction: column;
    }

    .services-box {
      display: flex;
      flex-wrap: wrap;
      flex-direction: column;
    }

    .certificate-card {
      width: 350px;
      height: 300px;
    }

    .map-section {
      padding: 100px 40px;
    }

    .map-info {
      min-width: 380px;
      max-width: 480px;
    }

    .map-frame {
      box-shadow: none;
    }
    
  }

  @media (max-width: 366px) {

    .navbar-nav {
      height:  calc(105vh - 80px);
    }
    .navbar-nav a {
      font-size: 15px;
    }
    .certificate-card {
      width: 280px;
    }

    .map-info {
      min-width: 100px;
      max-width: 340px;
    }

    .map-frame {
      min-width: 200px;
  
    }
  }