/* ===================================================================
   BASE + RESET
=================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body { color: #111827; background:#fff; }
img { max-width: 100%; height: auto; display:block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background:none; }


/* ===================================================================
   CONTAINER (Tailwind Accurate)
=================================================================== */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media(min-width:640px){
    .container { max-width: 640px; padding-left:1.5rem; padding-right:1.5rem; }
}
@media(min-width:768px){
    .container { max-width: 768px; }
}
@media(min-width:1024px){
    .container { max-width: 1024px; }
}
@media(min-width:1280px){
    .container { max-width: 1280px; }
}

@media (min-width: 1024px) {
  #mobile-menu {
    display: none !important;
  }
}



/* ===================================================================
   UTILITY CLASSES 
=================================================================== */
.flex { display:flex; }
.flex-col { flex-direction:column; }
.flex-center { display:flex; justify-content:center; align-items:center; }
.flex-end { display:flex; justify-content:flex-end; align-items:center; }

.items-center { align-items:center; }
.justify-center { justify-content:center; }
.justify-between { justify-content:space-between; }

.w-full { width:100%; }
.h-full { height:100%; }

.hidden { display:none; }
.block { display:block; }

.text-center { text-align:center; }

.rounded { border-radius: .25rem; }
.rounded-full { border-radius:9999px; }

.shadow { box-shadow:0 1px 3px rgba(0,0,0,.1); }
.shadow-lg { box-shadow:0 10px 15px rgba(0,0,0,.15); }

.transition { transition:all .2s ease; }

.mt-20 { margin-top:1.25rem; }
.mb-40 { margin-bottom:2.5rem; }

/* ===================================================================
   TYPE
=================================================================== */
h1.hero-title {
    font-size: 2rem;
    line-height:1.2;
    font-weight:800;
    color:#fff;
}

@media(min-width:640px){
    h1.hero-title { font-size:2.75rem; }
}
@media(min-width:1024px){
    h1.hero-title { font-size:3.5rem; }
}

h2 {
    font-size:1.875rem;
    font-weight:700;
    margin-bottom:.5rem;
}

h3 {
    font-size:1.25rem;
    font-weight:600;
}

p {
    font-size:1rem;
    line-height:1.6;
    color:#4b5563;
}

.nav-link-nowrap {
    display: inline-block;
    white-space: nowrap;
}



/* ===================================================================
   COLORS
=================================================================== */
.bg-light { background:#f9fafb; }
.bg-white { background:#fff; }
.text-white { color:#fff; }
.text-dark { color:#111827; }

/* ===================================================================
   TOP CONTACT BAR
=================================================================== */
.top-contact-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #111827;
    color: #fff;
    padding: 5px 0;
}


.top-contact-bar .contact-items {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

.top-contact-bar span {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.btn-blue {
    background:#2563eb;
    color:white;
    padding:.5rem 1rem;
    border-radius:.25rem;
    font-size:.875rem;
    margin-left: 10px;
}

/* ===================================================================
   DESKTOP DROPDOWN
=================================================================== */
/* ===== DROPDOWN (Kontak) ===== */
.menu-item {
    position: relative;
}

.has-dropdown {
    display: inline-block;
}

/* Button trigger */
.dropdown-trigger {
    background: none;
    border: none;
    font-size: 1rem;
    color: #111827;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Dropdown container */
.dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    background: #ffffff;
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
    padding: .5rem 0;
    display: none;
    z-index: 999;
}

/* SHOW ONLY WHEN CLICKED */
.has-dropdown:focus-within .dropdown-menu {
    display: block;
}

/* Dropdown links */
.dropdown-menu a {
    display: block;
    padding: .65rem 1rem;
    font-size: .95rem;
    color: #111827;
}

.dropdown-menu a:hover {
    background: #f3f4f6;
    color: #1e3a8a;
}




/* ===================================================================
   NAVBAR
=================================================================== */

.navbar {
    position: sticky;
    top: 30px;
    z-index: 999;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

/* MAIN NAV LAYOUT */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* CRITICAL FIX */
    padding: 1rem 0;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}

.logo-icon2 {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}

/* DESKTOP MENU */
.menu-desktop {
    display: none;
    align-items: center;
    gap: 1.75rem;
    margin-left: auto; /* PUSH MENU + LANG + ICONS AS ONE GROUP */
}

.menu-desktop a {
    color: #111827;
    font-size: 1rem;
    transition: .2s;
}

.menu-desktop a:hover {
    color: #2563eb;
}

/* DROPDOWN BUTTON */
.menu-item button {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* LANGUAGE SELECTOR */
.lang-selector {
    position: relative;
    margin-left: 40px;
    margin-right: 16px;
}

/* ICON BUTTONS */
.round-yellow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #facc15;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.round-yellow:hover {
    background: #eab308;
}

.nav-container > .round-yellow {
    margin-left: 10px;
}

/* MOBILE MENU BUTTON */
.mobile-menu-btn {
    font-size: 1.5rem;
    color: #111827;
}

/* DESKTOP BREAKPOINT */
@media (min-width:1024px) {
    .menu-desktop { display: flex; }
    .mobile-menu-btn { display: none; }
}

/* ===================================================================
   LANGUAGE DROPDOWN
=================================================================== */

.lang-menu {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .25rem;
    min-width: 120px;
    padding: .5rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,.1);
}

.lang-selector:focus-within .lang-menu {
    display: block;
}

.lang-menu a {
    display: block;
    padding: .5rem 1rem;
}

.lang-menu a:hover {
    background: #f3f4f6;
}

/* ===================================================================
   MOBILE MENU
=================================================================== */

.mobile-menu {
    background: #fff;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid #e5e7eb;
}

.mobile-lang {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1rem;
    margin-top: .5rem;
}

.mobile-btn-yellow {
    background: #facc15;
    padding: .75rem 1rem;
    border-radius: .25rem;
    text-align: center;
}


/* ===================================================================
   HERO SECTION
=================================================================== */
.hero-section {
    position: relative;   /* REQUIRED */
    height: 90vh;
    max-height: 900px;
    overflow: hidden;
}

/* FIXED – auto width, not 300% */
.carousel-track {
    position:absolute;
    inset:0;
    display:flex;
    width:max-content;
    transition:transform 1s ease;
}
.carousel-track img {
    width:100vw;
    height:100%;
    object-fit:cover;
    flex-shrink:0;
}

.overlay {
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
    z-index:5; /* sit above images but below hero content and controls */
}

/* ===================================================================
   CSS-ONLY SLIDER 
=================================================================== */
.css-slider {
    position: absolute;
    inset: 0;
    overflow: hidden; /* hide overflow */
}

.css-slider .slides {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.6s ease;
}

/* Make images scale nicely inside the slide */
.css-slider .slides,
.css-slider .slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.css-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* fills screen */
    object-position: center;
}

/* nav dots */
.css-slider .nav-dots { 
    position:absolute; 
    left:50%; 
    transform:translateX(-50%); 
    bottom:1.25rem; 
    display:flex; 
    gap:.5rem; 
    z-index:40; 
}
.css-slider .nav-dots label { 
    width:10px; 
    height:10px; 
    border-radius:50%; 
    background:#d1d5db; 
    cursor:pointer; 
    display:inline-block; 
}
.css-slider .nav-dots label:hover { background:#facc15; }

/* nav arrows */
.css-slider .nav-arrows label { 
    position:absolute; 
    top:50%; 
    transform:translateY(-50%); 
    background:rgba(0,0,0,.45); 
    color:#fff; 
    padding:.5rem; 
    border-radius:50%; 
    cursor:pointer; 
    display:none; 
    z-index:40; 
}
.css-slider .nav-arrows .prev { left:1rem; }
.css-slider .nav-arrows .next { right:1rem; }

/* slide position controlled by checked radio */
#s1:checked ~ .slides { transform:translateX(0%); }
#s2:checked ~ .slides { transform:translateX(-100%); }
#s3:checked ~ .slides { transform:translateX(-200%); }

/* active dot */
#s1:checked ~ .nav-dots label[for="s1"],
#s2:checked ~ .nav-dots label[for="s2"],
#s3:checked ~ .nav-dots label[for="s3"] { background:#facc15; }

.css-slider .nav-arrows label { display:none; }
#s1:checked ~ .nav-arrows label.s1 { display:block; }
#s2:checked ~ .nav-arrows label.s2 { display:block; }
#s3:checked ~ .nav-arrows label.s3 { display:block; }

/* responsive tweak */
@media(max-width:640px){
    .css-slider .slide img { height:auto; max-height:55vh; }
}

/* HERO CONTENT */
.hero-content {
    position:relative;
    z-index:10;
    top:50%;
    transform:translateY(-50%);
    color:white;
    max-width:700px;
}

.hero-sub {
    font-size:1rem;
    letter-spacing:2px;
    margin-bottom:.75rem;
    color:white;
}

.hero-desc {
    margin-top:.5rem;
    margin-bottom:1.25rem;
    font-size:1.125rem;
    color:#e5e7eb;
}

.btn-yellow {
    background:#facc15;
    padding:.75rem 1.5rem;
    border-radius:.25rem;
    font-weight:600;
    color:#000;
}

/* ARROWS */
.carousel-arrow {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:42px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    z-index:20;
}
.carousel-arrow.left { left:1rem; }
.carousel-arrow.right { right:1rem; }

/* DOTS */
.carousel-dots {
    position:absolute;
    bottom:1.5rem;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:.5rem;
}
.carousel-dots button {
    width:10px;
    height:10px;
    border-radius:50%;
    background:#d1d5db;
    opacity:.6;
}
.carousel-dots button.active {
    background:#facc15;
    opacity:1;
}



/* ===================================================================
   SECTIONS
=================================================================== */
.section {
    padding:4rem 0;
}

.placeholder-img {
    width: 70%;
    max-width: 600px;      
    aspect-ratio: 16/9;    
    background: #e5e7eb;
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;        
}


/* GRID 2 */
.grid-2 {
    display:grid;
    gap:2rem;
}
@media(min-width:768px){
    .grid-2 {
        grid-template-columns:1fr 1fr;
    }
}

/* GRID 3 */
.grid-3 {
    display:grid;
    gap:2rem;
}
@media(min-width:1024px){
    .grid-3 {
        grid-template-columns:repeat(3,1fr);
    }
}

@media(min-width:1024px){
    .grid-3 .card:nth-child(4) {
        grid-column: 2; 
    } 
}

/* CARDS */
.card {
    background:#fff;
    padding:2rem;
    border-radius:.5rem;
    text-align:center;
    box-shadow:0 1px 3px rgba(0,0,0,.1);
}
.card-icon {
    font-size:2rem;
    color:#2563eb;
    margin-bottom:.5rem;
}

/* VISI & MISI STYLE EXTENSIONS */
.misi-list {
    text-align: left;
    list-style: disc;
    padding-left: 1.2rem;
    line-height: 1.7;
    color: #4b5563;
}

.misi-list li {
    margin-bottom: .5rem;
}

/* CERTIFICATION CARD COLORS */
.cert-icon {
    font-size: 2rem;
    margin-bottom: .75rem;
}

.cert-card .fa-hard-hat {
    margin-bottom: 12px;
    display: inline-block;
}


.cert-icon.green { color: #16a34a; }
.cert-icon.yellow { color: #facc15; }
.cert-icon.teal { color: #0d9488; }
.cert-icon.blue { color: #2563eb; }

/* GRID 4 (like Tailwind) */
.grid-4 {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}




/* ===================================================================
   CLIENT CAROUSEL
=================================================================== */

/* CLIENT CAROUSEL */
.client-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.client-carousel {
    display: flex;
    width: 400%; /* 4 slides */
    transition: transform 0.5s ease;
}

.client-carousel .slide {
    display: flex;
    justify-content: space-around;
    width: 25%; /* 1 slide = 25% of carousel width */
    flex-shrink: 0;
}

/* Logo size */
.client-item {
    width: 160px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.client-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.3s;
}

.client-item img:hover {
    filter: grayscale(0%);
}

/* arrows */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #111;
    z-index: 10;
    cursor: pointer;
    user-select: none;
}
.arrow.left { left: 10px; }
.arrow.right { right: 10px; }

/* slide movement using radio buttons */
#slide1:checked ~ .client-carousel-wrapper .client-carousel { transform: translateX(0%); }
#slide2:checked ~ .client-carousel-wrapper .client-carousel { transform: translateX(-25%); }
#slide3:checked ~ .client-carousel-wrapper .client-carousel { transform: translateX(-50%); }
#slide4:checked ~ .client-carousel-wrapper .client-carousel { transform: translateX(-75%); }

/* arrows visibility */
.arrow { display: none; }
#slide1:checked ~ .client-carousel-wrapper .arrow1,
#slide2:checked ~ .client-carousel-wrapper .arrow2,
#slide3:checked ~ .client-carousel-wrapper .arrow3,
#slide4:checked ~ .client-carousel-wrapper .arrow4 {
    display: block;
}

/* hide radio buttons */
input[type="radio"][name="client-slide"] {
    display: none;
}

/* ===================================================================
   Contact Form
=================================================================== */
.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: .75rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 14px;
    border-radius: .5rem;
    border: 1px solid #d1d5db;
    font-family: inherit;
    font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1d78b5;
}

.contact-points {
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

.contact-points li {
    margin-bottom: 10px;
    font-size: 14px;
}

.contact-points i {
    color: #16a34a;
    margin-right: 8px;
}



/* ===================================================================
   FOOTER
=================================================================== */
.footer {
    background:#111827;
    color:white;
    padding:3rem 0 1.5rem;
}

.footer p{
    color:white
}

.footer-grid {
    display:grid;
    gap:2rem;
}

@media(min-width:768px){
    .footer-grid {
        grid-template-columns:1fr 1fr;
    }
}

.footer h4 {
    font-size:1.125rem;
    font-weight:600;
    margin-bottom:.75rem;
}

.footer a {
    display:block;
    margin-bottom:.5rem;
    color:#e5e7eb;
    font-size:.95rem;
}
.footer a:hover {
    color:#facc15;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    font-size: .875rem;
    margin-top: 2rem;
    color: #9ca3af;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: .75rem;
}

.social-links a {
    display: inline-flex; 
}

.social-links :hover {
    color: #facc15;
}


/* ===================================================================
   WHATSAPP FLOATING BUTTON
=================================================================== */
.wa-btn {
    position:fixed;
    bottom:1.5rem;
    right:1.5rem;
    background:#22c55e;
    color:white;
    width:55px;
    height:55px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:1.75rem;
    box-shadow:0 5px 12px rgba(0,0,0,.25);
    z-index:50;
    transition:background .2s;
}
.wa-btn:hover {
    background:#16a34a;
}

/* ===================================================================
   ADDITIONAL UTILITIES USED IN YOUR HTML (missing earlier)
=================================================================== */

/* Gap utilities */
.gap-1 { gap:0.25rem; }
.gap-2 { gap:0.5rem; }
.gap-3 { gap:0.75rem; }
.gap-4 { gap:1rem; }
.gap-6 { gap:1.5rem; }
.gap-8 { gap:2rem; }

/* Padding utilities */
.p-4 { padding:1rem; }
.p-6 { padding:1.5rem; }
.py-4 { padding-top:1rem; padding-bottom:1rem; }
.py-6 { padding-top:1.5rem; padding-bottom:1.5rem; }

/* Margin utilities */
.mb-2 { margin-bottom:.5rem; }
.mb-4 { margin-bottom:1rem; }
.mb-6 { margin-bottom:1.5rem; }
.mb-8 { margin-bottom:2rem; }

/* Text utilities */
.text-sm { font-size:.875rem; }
.text-base { font-size:1rem; }
.text-lg { font-size:1.125rem; }
.text-xl { font-size:1.25rem; }
.text-2xl { font-size:1.5rem; }

/* Alignment */
.text-left { text-align:left; }

/* ===================================================================
   FIX HERO LOGO-LINE 
=================================================================== */
.logo-inline {
    display:flex;
    align-items:center;
    gap:.5rem;
    font-size:1.5rem;
    font-weight:700;
}

/* ===================================================================
   MOBILE FIXES
=================================================================== */

/* Prevent menu from collapsing badly */
@media(max-width:1023px){
    .menu-desktop { display:none !important; }
}

/* Prevent hero content from overflowing */
@media(max-width:640px){
    .hero-content { max-width:90%; }
    .hero-title { font-size:1.75rem !important; line-height:1.25; }
}

/* ===================================================================
   CAROUSEL SAFETY FIXES
=================================================================== */
.carousel-track.no-transition {
    transition:none !important;
}

.carousel-track img {
    pointer-events:none;
}

/* ===================================================================
   END
=================================================================== */

