*html{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*{
   box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
    overflow-x: clip;
}

body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-color);
   margin: 0 0;
    padding: 0 0;
    overflow-x: hidden;
}

:root{
   --bg-box: #081ee67c;
   --bg-color-1: #0b5bdb;
   --bg-color: #0A1931;
   --primary: #1ea5ff;
   --accent: #3ed17b;
   --text: #ffffff;
   --muted: rgba(255,255,255,0.82);
}

.container{
   width: auto;
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 20px;
}


.header-content{
   position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10,25,49,0.9);
  backdrop-filter: blur(6px);
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.header-content .container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo-header{
 display: flex;
 align-items: center;
 gap: 12px;
 color: yellow;
}
.logo-header img{
 height: 56px;
 width: auto;
 object-fit: contain;
 display: block;
}

.text-tittle{
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: flex-start;
}
.text-tittle h3{
 margin: 0;
 font-size: 18px;
 line-height: 1.05;
 color: var(--text);
}
.text-tittle p{ margin: 0; font-size: 12px; color: var(--muted); }

.header-inner{
 display: flex;
 align-items: center;
 justify-content: space-between;
 width: 100%;
 gap: 20px;
}

.ul-nav{
 display: flex;
 align-items: center;
 gap: 20px;
 list-style: none;
 margin: 0;
 padding: 0;
}
.ul-nav li{ margin: 0; }
.ul-nav a{
 text-decoration: none;
 color: var(--text);
 padding: 8px 12px;
 border-radius: 8px;
 font-weight: 600;
 letter-spacing: 0.6px;
 transition: all 180ms ease;
}
.ul-nav a:hover{
 color: var(--primary);
 background: rgba(255,255,255,0.03);
 transform: translateY(-2px);
}

.hero{
    /* overlay + image for a modern look */
    background-image: linear-gradient(rgba(10,25,49,0.55), rgba(10,25,49,0.55)), url(../image/office.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    width: 100%;
    min-height: 70vh;
    /* offset so fixed header doesn't cover hero content */
    padding-top: 80px;
    display: flex;
    align-items: center;
    color: var(--text);
}

.hero img{
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* center the hero text and make it look modern */


.hero .container{
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-teks h1{
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.hero-teks p{
   box-sizing: border-box;
    word-break: normal;
    display: flex;
    text-align: center;
    justify-content: center;
    font-weight: bold;
    margin: 1em auto;
    width: 100%;

    
}

/* main content */

.main-content{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 5em 0;
    padding: 0 0;
   
    box-sizing: border-box;
    border: solid 1px var(--bg-box);
}

/* .main{
   width: 50vw;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
    display: -webkit-box; -webkit-line-clamp:3;
    -webkit-box-orient: horizontal;
    overflow-wrap: break-word;
   } */

.main{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 2em 0;
    overflow-wrap: break-word;
    box-sizing: border-box;

    display: -webkit-box; -webkit-line-clamp:3;
    -webkit-box-orient: vertical;
    overflow-wrap: break-word;
}

.tittle-main{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.tittle-main ::after{
    display: block;
    content: "";
    background-color: var(--primary);
    width: 16em;
    height: 2px;
    margin: 2px 0;
}


.teks-main{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    word-break: normal;

    /* cuba */
   font-size: clamp(14px, 3.8vw, 17px);  width: clamp(250px, 88%, 650px); margin: 0 auto; width: clamp(250px, 88%, 650px);
   display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;
    /*  */
    box-sizing: border-box;
}
.tittle-main h2{
    color: var(--text);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.teks-main p{
   
    color: var(--text);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-weight: bold;
    box-sizing: border-box;
    padding: 2rem 3vw;

    margin: auto auto;

      /* cuba */
   font-size: clamp(14px, 3.8vw, 17px);  width: clamp(250px, 88%, 650px); margin: 0 auto; width: clamp(250px, 88%, 650px);
   display: -webkit-box; -webkit-line-clamp: 10; -webkit-box-orient: vertical; overflow-wrap: break-word;

    /*  */
}

/* keunggulan */

.keunggulan{
    margin: 3em 0;
    display: flex;

    box-sizing: border-box;
}

.tittle-keunggulan{
    text-align: center;
    color: var(--text);
    margin-bottom: 3em; margin-top: 2em;
}

/* card keunggulan */
.keunggulan-content{
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 50px;
   box-sizing: border-box;
}

.keunggulan-card{
   box-sizing: border-box;
}  


.tittle-why{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: var(--text);
}

/* .card-why{
    display: flex;
    justify-content: center;
    align-items: stretch;
    margin: 30px;
    width: 100%;
    gap: 20px;
} */

.card-keunggulan{
    /* margin: 30px;
    display: grid;

    grid-template-columns: repeat(3, 1fr);
    row-gap: 0;
    gap: 20px;
   box-shadow: 0px 4px #e7ebf1; */

    display: grid;
    grid-template-columns: 0fr repeat(3, 1fr) 0fr;
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 14px;
    grid-row-gap: 10px; 
    row-gap: 5px;

}
.div1 { grid-area: 1 / 2 / 2 / 3; }
.div2 { grid-area: 1 / 3 / 2 / 4; }
.div3 { grid-area: 1 / 4 / 2 / 5; }
.div4 { grid-area: 2 / 2 / 3 / 3; }
.div5 { grid-area: 2 / 3 / 3 / 4; }
.div6 { grid-area: 2 / 4 / 3 / 5; } 



.card{
   aspect-ratio: 1 / 1;

    flex: 1;
    min-height: 240px;
    min-width: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    background-color: var(--bg-color-1);
    border-radius: 12px;
    box-sizing: border-box;
    gap: 10px;
    row-gap: 1em;
    margin: 30px 0;

    padding: 0 20px;
    cursor: pointer;
} 
.card:hover{
   transition: ease 1.5s;
   transform: scale(1.1);
   box-shadow: 0 8px 18px rgba(255,255,255,0.82)
}

.why-icon{
   display: flex;
   justify-content: center;
   align-items: center;
}

.why-icon img{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    object-fit: contain;
} 

.teks-why{
   color: var(--text);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    word-break: normal;
    overflow-wrap: break-word;
    -webkit-box-orient: vertical;
    padding: 0;
    margin: 0;
}
.teks-why h3{
   margin: 0 0 15px;
}
.teks-why p{
   margin: 0;
}

/* footer */

.footer {
   width: 100%;
   background: linear-gradient(180deg, #171717 0%, #0f0f0f 100%);
   color: var(--text);
   box-sizing: border-box;
   padding-top: 8px;
   margin-top: 20px;
}

.footer-content {
   width: 100%;
   max-width: 1200px;
   min-height: 360px;
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   gap: 36px;
   padding: 72px 22px 38px;
   box-sizing: border-box;
   margin: 0 auto;
   background: transparent;
}

.logo-footer {
   margin-top: 0;
   overflow: hidden;
   min-width: 3px;
   min-height: 35px;
   box-sizing: border-box;
   color: var(--text);
}

.logo-footer img {
   width: 170px;
   object-fit: contain;
   display: block;
   filter: brightness(1.08);
}

.text-footer {
   margin-top: 14px;
}

.logo-footer p,
.layanan-footer p,
.call-me .contact-item,
.call-me .contact-brand {
   margin: 0;
   color: var(--muted);
   word-break: break-word;
}

.layanan-footer,
.call-me {
   display: flex;
   justify-content: flex-start;
   align-items: flex-start;
   flex-direction: column;
   color: var(--text);
   gap: 10px;
}

.layanan-footer h3,
.call-me h3 {
   color: #ffffff;
   margin: 0 0 8px;
   font-size: 1.2rem;
   letter-spacing: 0.5px;
   position: relative;
   padding-bottom: 8px;
}

.layanan-footer h3::after,
.call-me h3::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   width: 42px;
   height: 3px;
   border-radius: 999px;
   background: linear-gradient(90deg, var(--bg-color-1), #5ec4ff);
}

.footer-col {
   flex: 1;
   display: flex;
   align-items: flex-start;
   justify-content: flex-start;
   flex-direction: column;
}

.contact-brand {
   font-size: 1.02rem;
   font-weight: 700;
   color: #ffffff;
   letter-spacing: 0.5px;
   margin-bottom: 2px;
}

.contact-item {
   display: flex;
   align-items: flex-start;
   gap: 10px;
   line-height: 1.7;
   color: var(--muted);
   font-size: 0.96rem;
   background: rgba(255, 255, 255, 0.02);
   border: 1px solid rgba(255, 255, 255, 0.06);
   border-radius: 10px;
   padding: 8px 12px;
   width: 100%;
   box-sizing: border-box;
}

.contact-icon {
   min-width: 20px;
   display: inline-flex;
   justify-content: center;
   align-items: center;
   font-size: 1rem;
   line-height: 1;
}

.copyright {
   width: 100%;
   background-color: #121212;
   color: var(--text);
   border-top: 1px solid rgba(255, 255, 255, 0.12);
   box-sizing: border-box;
}

.copyright-content {
   display: flex;
   justify-content: center;
   align-items: center;
   padding: 20px 20px 30px;
   text-align: center;
   color: var(--text);
   font-size: 14px;
}

.copyright-content p {
   margin: 0;
   color: rgba(255, 255, 255, 0.82);
}

/* Floating WhatsApp button (shared) */
.whatsapp-float{
   position: fixed; display: block;
   right: 3em;
   bottom: 3em;
   width: 70px;
   height: 70px;
   border-radius: 50%;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   background: linear-gradient(180deg,#25D366,#1DA851);
   box-shadow: 0 8px 24px rgba(37,211,102,0.22);
   z-index: 9999;
   
   
}

.wa-button::before,
.whatsapp-float::after{
   position: absolute;
   opacity: 2;  z-index: -1;
            border-radius: 100%;
            display: block; justify-content: center; align-items: center;
            content: "";
            display: flex; justify-content: center; align-items: center;
            width: 70px; height: 70px;
            border: 1px solid gold;  background-color: aqua;
            animation: whatsapp 2.5s ease-out infinite;
        
}

.whatsapp-float svg{ display: block; color: var(--text);}
.whatsapp-float:hover{
   animation-play-state: paused;
   transform: translateY(-4px) scale(1.04);
   box-shadow: 0 12px 40px rgba(37,211,102,0.26);
}

/* pulse keyframes */
@keyframes whatsapp{
         0% {
            transform: scale(0);
            opacity: 0;
        }

        70% {
         
            opacity: 0.2;
        }

        100% {
            transform: scale(1.2);
            opacity: 0;
        }
       
 }

@media (max-width: 520px){
   .whatsapp-float{ width: 60px; height: 60px; bottom: 2em; right: 1em; animation-duration: 3.2s; }
}

/* Responsive navbar, cards, footer */
.nav-toggle{ display:none; background:transparent; border:0; width:44px; height:44px; align-items:center; justify-content:center; cursor:pointer; padding:8px; }
.nav-toggle .hamburger{ width:22px; height:2px; background:var(--text); display:block; position:relative; border-radius:2px; transition: background 200ms ease; }
.nav-toggle .hamburger::before, .nav-toggle .hamburger::after{ content:""; position:absolute; left:0; width:100%; height:2px; background:var(--text); border-radius:2px; transition: transform 220ms ease, top 220ms ease, opacity 220ms ease; }
.nav-toggle .hamburger::before{ top:-7px; }
.nav-toggle .hamburger::after{ top:7px; }
/* transform hamburger to X when menu open */

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .ul-nav { display: none; position: absolute; top: 64px; right: 16px; background: var(--surface, #fff); box-shadow: 0 8px 24px rgba(0,0,0,0.12); padding: 12px; border-radius: 8px; flex-direction: column; gap: 8px; min-width: 200px; z-index: 120; }
  body.nav-open .ul-nav { display: flex; }
  .ul-nav .li-nav { margin: 6px 0; }
  .ul-nav .li-nav a { display:block; padding:8px 12px; }
  /* header .header-content { position: relative; } */
  .hero{ text-align: center; }
  .hero-teks{ display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; box-sizing: border-box; padding: 5em 0;}
  .hero-teks p{ width: 100%; padding: 2em 1em; font-size: 16px;  line-height: 1.6;  margin: 0 auto; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;}
  .keunggulan{ justify-content: center; align-items: center;}
  .card-keunggulan{ display: flex; justify-content: center; align-items: center; flex-direction: column; row-gap: -2em;}
  .main-content{ display: flex; justify-content: center; align-items: center; flex-direction: column;}
  .tittle-main{ margin: 0 auto; text-align: center;}
}
body.nav-open .nav-toggle .hamburger{ background: transparent; }
body.nav-open .nav-toggle .hamburger::before{ transform: rotate(45deg); top:0; }
body.nav-open .nav-toggle .hamburger::after{ transform: rotate(-45deg); top:0; }

@media (max-width: 768px){
  .nav-toggle{ display:inline-flex; }
  .header-content .container, .header-inner{ display:flex; justify-content:space-between; align-items:center; }
  .ul-nav{ display:none !important; }
  body.nav-open .ul-nav{
    display:flex !important;
    position: absolute;
    top:64px;
    right:18px;
    background:rgba(10,25,49,0.95);
    padding:12px;
    border-radius:10px;
    flex-direction:column;
    gap:8px;
    box-shadow:0 10px 30px rgba(0,0,0,.4);
    z-index:9998;
    min-width:200px;
  }
  .ul-nav li{ margin:0; }
  .ul-nav a{ padding:8px 10px; display:inline-block; white-space:nowrap; }
  .header-content{ position:fixed; left:0; right:0; top:0; }
}

/* .card{ background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border-radius:12px; padding:18px; box-shadow:0 6px 18px rgba(2,6,23,0.25); color:var(--muted); display:flex; flex-direction:column; gap:12px; align-items:center; min-height:160px; transition: transform 220ms ease, box-shadow 220ms ease; } */

/* article and why card styles */
.card-why, .card-list, .articles{ display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap:1.25rem; align-items:stretch; }

.card-article, .article-card, .card-why .card{ display:flex; flex-direction:column; background:inherit; padding:18px; border-radius:12px; min-height:220px; }
.card-article .thumb, .article-card .thumb{ width:100%; height:160px; border-radius:8px; object-fit:cover; display:block; margin-bottom:12px; }
.card-article h3, .card-why h3{ margin:0 0 8px; font-size:1.05rem; color:var(--text); }
.card-article p, .card-why p{ margin:0; color:var(--muted); flex:1; }

.card:hover{ transform: translateY(-6px); box-shadow: 0 14px 44px rgba(2,6,23,0.30); }

@media (max-width: 768px){
  .card-why, .card-list, .articles{ grid-template-columns: 1fr; }
  .card-article .thumb{ height:140px; }
  .card{ min-height:140px; }
}

@media (prefers-reduced-motion: reduce){
  .card, .card-article{ transition: none; transform: none; }
}

.card-list, .card-why{ display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:1rem; align-items:stretch; }

/* .why-icon img{ width:56px; height:56px; object-fit:contain; display:block; } */

@media (max-width: 768px){
  .card{ padding:14px; min-height:120px; }
  .card-list, .card-why{ grid-template-columns: 1fr; }
}

.footer-content{ flex-wrap:wrap; gap:24px; }
.footer-col{ min-width:220px; flex:1 1 220px; }

@media (prefers-reduced-motion: reduce){
  .whatsapp-float{ animation:none !important; }
}

/* small-screen navbar single-line overrides removed to allow standard hamburger overlay */
