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

html{
    scroll-behavior: smooth;
}

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

: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);
}
 
/* match layanan.css layout: container inside header to center content and provide padding */
.container > .header-content{
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo-header{
   min-width: 30px;
   height: 25px;
   display: flex;
   align-items: center;
   color: var(--text);
}
.logo-header img{
  height: 56px;
  width: auto;
   object-fit: contain;
  display: block;
}

.text-tittle{
   display: flex;
   justify-content: center;
   align-items: center;
}
.ul-nav{
   display: flex;
   align-items: center;
   gap: 20px;
   text-decoration: none;
   list-style: none;

}
.ul-nav a{
   text-decoration: none;
   padding: 8px 12px;
   font-weight: 600;
   letter-spacing: 0.6px;
   border-radius: 8px;
   color: var(--text);
   cursor: pointer;
   /* transition: ease 1.2s; */
   transition: all 180ms ease;
}
.ul-nav a:hover{
   color: var(--primary);
   background: rgba(255,255,255,0.03);
   transform: translateY(-2px);
}

.slider-content{
   width: 100%;
   max-width: 100%;
   overflow: hidden;
   position: relative;
   /* reduced top padding to match header height and avoid large gap */
   padding-top: 80px;
}

.slider-frame {
   position: relative;
   width: 100%;
   /* make slider height responsive and consistent with layanan hero */
   min-height: 70vh;
   border-radius: 26px;
   overflow: hidden;
   box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
   background: #0a1931;
}

.slider-track {
   display: flex;
   width: 400%;
   height: 100%;
   animation: heroSlideTrack 18s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

.slide {
   position: relative;
   width: 100%;
   flex: 0 0 25%;
   min-height: 560px;
   display: flex;
   align-items: center;
   background-size: cover;
   background-position: center;
}

.slide::before {
   content: "";
   position: absolute;
   inset: 0;
   background: linear-gradient(90deg, rgba(7, 17, 33, 0.88), rgba(13, 44, 78, 0.36));
}

.slide-1 {
   background-image: url('../image/worker-land.png');
}

.slide-2 {
   background-image: url('../image/office.jpg');
}

.slide-3 {
   background-image: url('../image/ac-land.png');
}

.clone-slide {
   background-image: url('../image/worker-land.png');
}

.slide-text {
   position: relative;
   z-index: 1;
   max-width: 560px;
   padding: 90px 70px 80px;
   color: var(--text);
}

.tag {
   display: inline-block;
   padding: 8px 16px;
   border-radius: 999px;
   background: rgba(255,255,255,0.12);
   border: 1px solid rgba(255,255,255,0.2);
   font-size: 12px;
   letter-spacing: 0.12em;
   text-transform: uppercase;
   font-weight: 700;
   margin-bottom: 18px;
}

.slide-text h1 {
   margin: 0 0 18px;
   font-size: clamp(2.2rem, 4vw, 4.3rem);
   line-height: 1.08;
   font-weight: 800;
}

.slide-text p {
   margin: 0;
   font-size: 1.1rem;
   line-height: 1.7;
   color: var(--muted);
   max-width: 460px;
}

@keyframes heroSlideTrack {
   0%, 18% {
       transform: translateX(0%);
   }
   32%, 50% {
       transform: translateX(-25%);
   }
   64%, 82% {
       transform: translateX(-50%);
   }
   96%, 100% {
       transform: translateX(-75%);
   }
}

@media (max-width: 768px) {
   .header-content {
       position: fixed;
       top: 0;
       left: 0;
       right: 0;
       width: 100%;
       display: flex;
       flex-direction: row;
       gap: 8px;
       padding: 10px 15px;
       justify-content: space-between;
       align-items: center;
       z-index: 999;
   }

   .ul-nav {
       flex-wrap: wrap;
       justify-content: center;
       padding: 0;
       margin: 0;
   }

   .slider-content {
       padding-top: 20px;
   }

   .slider-frame {
       min-height: 500px;
   }

   .slide-text {
       padding: 60px 22px 30px;
   }

   .slide-text p {
       font-size: 0.98rem;
   }
}
/* why content */
.why{
   margin: 80px;
}

.why-content{
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 50px;
}

.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-why{
    margin: 30px;
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
   box-shadow: 0px 4px #e7ebf1;
}

.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;
    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;
}


/*  */
.articel{
   margin: 100px 0;
   padding: 20px 0;
   box-sizing: border-box;
}

.articel-content{
   width: 100%;
   height: auto;
   overflow: hidden;
   row-gap: 0;
   display: flex;

   box-sizing: border-box;
   justify-content: center;
   align-items: center;

   flex: 1;
   gap: 15px;
   margin-bottom: 20px;
  
}


.tittle-articel{
   display: flex;
   justify-content: center;
   align-items: flex-start;
   flex-direction: column;
   color: var(--text);
   margin: 20px 0;
   padding: 20px;
  
}
.tittle-articel h1{
   margin: 0;
}
.tittle-articel p{
   margin: 0;
}

.card-articel{
   box-sizing: border-box;
   border-radius: 8px;
   border: solid 1px;
   width: 100%;
   margin: 0;
   cursor: pointer;
   transition: ease 1s;
   
   overflow: hidden;
}
.card-articel:hover{
   -webkit-box-shadow: 5px 5px 15px 5px #171B19; 
   box-shadow: 5px 5px 15px 5px #171B19;
   color: var(--primary);
}

.articel-info{
   margin-bottom: 0;
   width: 100%;
   height: 200px;
   
   
   position: relative;

}
.articel-info img{
   width: 100%;
   height: 100%;
   object-fit: cover;
   
   margin-bottom: 0;
    filter: blur(1px); 
   
   border-radius: inherit;
}

.teks-articel{
   box-sizing: border-box;
   color: var(--text);
   font-weight: bolder;
   position: absolute;
   top: 2em;
   left: 2em;
   display: block;
   overflow-wrap: break-word;
   word-break: break-word;
   
    padding: 6px 6px;
}
.teks-articel::after{
   content: "";
   display: block;
   width: 2em;
   height: 3px;
   background-color: var(--text);
}
.kategory{
   display: flex;
   justify-content: center;
   align-items: center;
   border: solid 1px;
   border-radius: 5px;
   width: 30px;
   height: 10px;
   padding: 5px 2px;
   position: absolute;
   top: 1em;
   background-color: #0A1931;
   color: var(--text);
   left: 8px;
}
.teks-summary{
   background-color: var(--bg-color);
  
   height: 12em;
   padding: 20px;
   margin-top: 0;
   box-sizing: border-box;
   color: var(--text);
}

/* 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;
   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){
   .tittle-why h1{ text-align: center;}
   .whatsapp-float{ width: 60px; height: 60px; right: 2em; bottom: 2em; 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) {
   body{ display: flex; justify-content: center; flex-direction: column; margin: auto 0; padding: 0 0;}
  .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; } */
}
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){
   .whatsapp-float{ width: 60px; height: 60px; bottom: 2em; right: 1em; animation-duration: 3.2s; }

  /* Show hamburger but keep nav as single-line horizontal when opened */
  .nav-toggle{ display:inline-flex; }
  .header-content .container, .header-inner{ display:flex; justify-content:space-between; align-items:center; }
  /* hide the nav by default on small screens; open via body.nav-open */
  .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; }
}


@media (max-width: 768px){
  .card-why, .card-list, .articles{ grid-template-columns: 1fr; }
  .card-article .thumb{ height:140px; }
  .card{ min-height:140px; }
  .articel-content{ display: flex; flex-direction: column; justify-content: center; align-self: center;}
}

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

/* responsive card grid used on Home */
/* .card-why{ display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap:1.25rem; align-items:stretch; } */

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

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

.footer{ display: flex; justify-content: center; align-items: center;}
.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 */
