/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "League Spartan", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-width: 320px;
    overflow-x: hidden;
}


/* ============================================================
   CONTENT WRAPPER — prevents stretching on zoom-out
   ============================================================ */
.section-p1,
#home-about,
#home-segments,
#home-stats .stats-grid,
#home-news,
#home-gallery-slider .gallery-slider-header,
#home-gallery-slider .gallery-slider-controls,
#home-gallery-slider .gallery-slider-link,
#home-customers,
#home-partners,
#newsletter,
footer.section-p1,
#about-story,
.about-biz-box,
#about-mv,
#about-milestones,
#about-partners,
#contact-details,
#form-details,
#career,
#market-detail,
#market-projects,
#projects-filter,
#market-projects .projects-grid,
#gallery-filter,
#gallery-section,
#blog,
#sblog,
#prodetails,
#product1,
#shop-filter,
#pagination,
#cart-add,
#cart,
#sproject.section-p1,
#sblog {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}



img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1 { font-size: clamp(32px, 4vw, 50px); line-height: 1.3; color: #222; }
h2 { font-size: clamp(26px, 3.5vw, 46px); line-height: 1.4; color: #222; }
h4 { font-size: clamp(16px, 2vw, 20px); color: #222; }
h6 { font-weight: 700; font-size: 12px; }

p {
    font-size: 16px;
    color: #465b52;
    margin: 15px 0 20px 0;
}

.section-p1 {
    padding: clamp(20px, 4vw, 40px) clamp(20px, 5vw, 80px);
}

.section-m1 {
    margin: 40px 0;
}

button.normal {
    font-size: 14px;
    font-weight: 600;
    padding: 15px 30px;
    color: #000;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: 0.2s;
}

button.white {
    font-size: 13px;
    font-weight: 600;
    padding: 11px 18px;
    color: #fff;
    background-color: transparent;
    cursor: pointer;
    border: 1px solid white;
    outline: none;
    transition: 0.2s;
}


/* ============================================================
   HEADER & NAVBAR (semua halaman)
   ============================================================ */
#header {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    z-index: 999;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px clamp(20px, 5vw, 80px);
    max-width: 1400px;
    margin: 0 auto;
    height: 70px;
}

#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
}

#navbar li {
    list-style: none;
    padding: 0 14px;
    position: relative;
}

#navbar li a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    transition: 0.3s ease;
    white-space: nowrap;
}

#navbar li a:hover,
#navbar li a.active {
    color: #088178;
}

#navbar li a.active::after,
#navbar li a:hover::after {
    content: "";
    width: 30%;
    height: 2px;
    background: #088178;
    position: absolute;
    bottom: -4px;
    left: 14px;
}

/* Dropdown Navbar */
.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; }

.dropdown-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 110%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    min-width: 180px;
    z-index: 1000;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

.nav-dropdown:hover .dropdown-menu { 
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    top: 100%;
    pointer-events: auto;
    
}

.dropdown-menu li { list-style: none; padding: 0; }

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    transition: 0.3s;
}

.dropdown-menu li a:hover {
    color: #088178;
    background-color: #f8fbfd; /* Background tipis saat hover agar lebih premium */
    padding-left: 25px; /* Animasi geser sedikit ke kanan */
}

/* Cart Badge */
#lg-bag a { position: relative; }

#cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #088178;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
}

/* Mobile Nav */
#mobile { display: none; align-items: center; }
#close  { display: none; }


/* ============================================================
   NEWSLETTER (semua halaman)
   ============================================================ */
#newsletter {
    background-image: url("img/Banner/b14.png");
    background-repeat: no-repeat;
    background-position: 20% 30%;
    background-color: #041e42;
    padding: clamp(20px, 4vw, 40px) clamp(20px, 5vw, 80px);
}

.newsletter-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

#newsletter h4 { font-size: 22px; font-weight: 700; color: #fff; }
#newsletter p  { font-size: 14px; font-weight: 600; color: #818ea0; }
#newsletter p span { color: #ffbd27; }

#newsletter .form { display: flex; width: 40%; }

#newsletter input {
    height: 3.125rem;
    padding: 0 1.25rem;
    font-size: 14px;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 4px 0 0 4px;
    outline: none;
}

#newsletter button {
    background-color: #088178;
    color: #fff;
    white-space: nowrap;
    border-radius: 0 4px 4px 0;
}

#newsletter button:hover { background-color: #065f5a; }

#newsletter-btn { min-width: 100px; width: 100px; }


/* ============================================================
   FOOTER (semua halaman)
   ============================================================ */
footer {
    background: #f9f9f9;
    padding: clamp(20px, 4vw, 40px) 0;
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 clamp(20px, 5vw, 80px);
    max-width: 1400px;
    margin: 0 auto;
}

footer .col { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 20px; }
footer .logo { margin-bottom: 30px; }
footer h4 { font-size: 14px; padding-bottom: 20px; }
footer p  { font-size: 13px; margin: 0 0 8px 0; color: #222; }

footer a {
    font-size: 13px;
    text-decoration: none;
    color: #222;
    margin-bottom: 10px;
}

footer .follow { margin-top: 20px; }
footer .follow i { color: #465b52; padding-right: 4px; cursor: pointer; }
footer .install .row img { border: 1px solid #088178; border-radius: 6px; }
footer .install img { margin: 10px 0 15px 0; }
footer .follow i:hover, footer a:hover { color: #088178; }
footer .copyright { width: 100%; text-align: center; }


/* ============================================================
   PAGE HEADER HERO (shop, blog, about, contact, career, market)
   ============================================================ */
#page-header {
    background-image: url("img/Banner/b1.jpg");
    width: 100%;
    min-height: 35vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 40px clamp(20px, 5vw, 80px);
}
#page-header > * { max-width: 700px; margin-left: auto; margin-right: auto; }

#page-header h2,
#page-header p,
#page-header h1 { color: #fff; }

#page-header.gallery-header  { background-image: url("img/Banner/b2.jpg"); }
#page-header.shop-header    { background-image: url("img/Banner/shop-banner.jpg"); }
#page-header.blog-header    { background-image: url("img/Banner/b19.jpg"); }
#page-header.about-header   { background-image: url("img/About/banner.png"); }
#page-header.career-header  { background-image: url("img/Banner/hunters-race-MYbhN8KaaEc-unsplash.jpg");}
#page-header.contact-header  { background-image: url("img/Banner/brooke-cagle-JBwcenOuRCg-unsplash.jpg"); }
#page-header.market-construction-header  { background-image: url("img/Banner/s-group-official-6spmqj2OSLk-unsplash.jpg"); }
#page-header.market-it-header  { background-image: url("img/Banner/standard-quality-control-concept-m.jpg"); }
#page-header.market-networking-header  { background-image: url("img/Banner/bnetwork3.jpg"); }


/* ============================================================
   INDEX.HTML — HERO SLIDER
   ============================================================ */
#home-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-slider { width: 100%; height: 100%; position: relative; }

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-slide-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 6vw, 80px);
}

.hero-slide.active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 5;}

.hero-content { max-width: 768px; position: relative; z-index: 6;}
.hero-content h4 { font-size: 14px; color: #00e5ff; font-weight: 700; padding-bottom: 10px; letter-spacing: 2px; text-transform: uppercase; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.hero-content h2 { font-size: clamp(24px, 3.5vw, 42px); line-height: 1.2; color: #fff; font-weight: 900; text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
.hero-content h1 { font-size: clamp(30px, 4.5vw, 52px); line-height: 1.2; color: #fff; font-weight: 900; margin-bottom: 16px; text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
.hero-content p  { font-size: 16px; color: rgba(255,255,255,0.88); margin-bottom: 24px; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.hero-content h3 { font-size: clamp(18px, 2.5vw, 32px); line-height: 1.2; color: #fff; font-weight: 900; text-shadow: 0 2px 12px rgba(0,0,0,0.6); }

.hero-btn {
    display: inline-block;
    background-color: #088178;
    color: #fff;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
}
.hero-btn:hover { background-color: #065f5a; color: #fff; }

.hero-prev, .hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-prev:hover, .hero-next:hover { background: #088178; color: #fff; }

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: 0.2s;
}
.hero-dot.active { background: #088178; width: 28px; border-radius: 5px; }


/* ============================================================
   INDEX.HTML — ABOUT US
   ============================================================ */
#home-about {
    display: flex;
    align-items: center;
    gap: clamp(24px, 4vw, 60px);
    padding: clamp(40px, 6vw, 80px) clamp(20px, 6vw, 80px);
}

#page-header.about-header h1{
    color: #fff;
}

.home-about-images {
    width: 42%;
    flex-shrink: 0;
    position: relative;
    height: clamp(260px, 28vw, 400px);
}

.about-img-back { position: absolute; top: 0; left: 0; width: 78%; }
.about-img-back img {
    width: 100%;
    height: clamp(180px, 20vw, 300px);
    object-fit: cover;
    border-radius: 12px;
}

.about-img-front {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 62%;
    border: 4px solid #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.about-img-front img {
    width: 100%;
    height: clamp(130px, 14vw, 210px);
    object-fit: cover;
    border-radius: 8px;
}

.home-about-text { flex: 1; }

.about-tag {
    font-size: 12px;
    font-weight: 700;
    color: #088178;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.home-about-text h2 { font-size: clamp(20px, 2.5vw, 30px); line-height: 1.4; color: #222; margin-bottom: 16px; }
.home-about-text p  { font-size: 16px; color: #444; line-height: 26px; margin-bottom: 24px; }
.home-about-text span  { font-size: 12px; color: #088178; line-height: 26px; margin-bottom: 24px; }

.about-learn-btn {
    display: inline-block;
    background-color: #088178;
    color: #fff;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
}
.about-learn-btn:hover { background-color: #065f5a; color: #fff; }


/* ============================================================
   INDEX.HTML — BUSINESS SEGMENTS (FLIP CARD)
   ============================================================ */
#home-segments {
    padding: clamp(30px, 5vw, 60px) clamp(20px, 6vw, 80px);
    text-align: center;
    /* background-color: #f9f9f9; */
}

.home-segments-header { margin-bottom: 40px; }

.seg-tag {
    font-size: 12px;
    font-weight: 700;
    color: #088178;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.home-segments-header h2 { font-size: clamp(20px, 2.5vw, 28px); color: #222; }

.home-segments-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Flip Card */
.seg-card-wrapper {
    width: calc(33.333% - 16px);
    min-width: 220px;
    height: clamp(260px, 22vw, 320px);
    perspective: 1000px;
    transition: transform 0.3s ease;
}
.seg-card-wrapper:hover { transform: translateY(-8px); }

.seg-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}
.seg-card-wrapper:hover .seg-card-inner { transform: rotateY(180deg); }

.seg-front, .seg-back {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: clamp(20px, 2.5vw, 36px) 24px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Front */
.seg-front {
    background: #fff;
    border: 1px solid #e1e1e1;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* Back */
.seg-back {
    background: #088178;
    transform: rotateY(180deg);
    box-shadow: 0 8px 30px rgba(8,129,120,0.3);
}

/* Icon */
.seg-icon {
    width: clamp(50px, 5vw, 70px);
    height: clamp(50px, 5vw, 70px);
    border-radius: 50%;
    border: 2px solid #088178;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    flex-shrink: 0;
}

.seg-front .seg-icon i { font-size: clamp(22px, 2.5vw, 32px); color: #088178; }
.seg-back .seg-icon   { border-color: rgba(255,255,255,0.6); }
.seg-back .seg-icon i { font-size: clamp(22px, 2.5vw, 32px); color: #fff; }

/* Front text */
.seg-front h4 { font-size: clamp(15px, 1.8vw, 18px); font-weight: 700; color: #222; margin-bottom: 6px; font-size: 30px;}
.seg-front p  { font-size: 13px; color: #222; line-height: 22px; margin: 0; }

/* Underline — seperti vstecsindo */
.seg-line {
    width: 30px;
    height: 2px;
    background: #088178;
    margin: 8px auto 12px auto;
    border-radius: 2px;
}

/* Back text */
.seg-back h4 { font-size: clamp(15px, 1.8vw, 18px); font-weight: 700; color: #fff; margin-bottom: 6px; }
.seg-back p  { font-size: 13px; color: #fff; line-height: 22px; margin: 0 0 12px 0; font-size: 16px;}
.seg-back .seg-line { background: rgba(255,255,255,0.5); }

/* Learn More button */
.seg-link-btn {
    display: inline-block;
    background: #fff;
    color: #088178;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 4px;
    transition: 0.2s;
    border: 2px solid #fff;
}
.seg-link-btn:hover { background: #065f5a; color: #fff; border-color: #065f5a; }


/* ============================================================
   INDEX.HTML — STATS COUNTER
   ============================================================ */
#home-stats {
    background: linear-gradient(135deg, #00569d 0%,#00857f 60%, #006b6b 100%);
    padding: clamp(30px, 5vw, 60px) clamp(20px, 6vw, 80px);
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

#home-stats::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
          radial-gradient(
            ellipse at 20% 50%,
            rgba(255, 255, 255, 0.07) 0%,
            transparent 60%
          ),
          radial-gradient(
            ellipse at 80% 20%,
            rgba(0, 133, 127, 0.3) 0%,
            transparent 50%
          );
        pointer-events: none;
      }

.stat-item h6 {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ============================================================
   INDEX.HTML — RECENT NEWS
   ============================================================ */
#home-news { padding: clamp(30px, 5vw, 60px) clamp(20px, 6vw, 80px); }

.news-tag {
    font-size: 12px;
    font-weight: 700;
    color: #088178;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

#home-news h2 { font-size: clamp(20px, 2.5vw, 28px); color: #222; margin-bottom: 30px; }

.news-grid { display: flex; flex-wrap: wrap; gap: 24px; }

.news-card {
    width: calc(25% - 18px);
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.news-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-3px); }

.news-img { position: relative; }
.news-img img {
    width: 100%;
    height: clamp(140px, 14vw, 200px);
    object-fit: cover;
}

.news-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #088178;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.news-body { padding: 18px; }
.news-body h4 { font-size: 14px; font-weight: 700; color: #222; line-height: 22px; margin-bottom: 12px; }

.news-read-more {
    font-size: 12px;
    font-weight: 700;
    color: #088178;
    text-decoration: none;
    position: relative;
    transition: 0.2s;
}
.news-read-more::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #088178;
}
.news-read-more:hover { color: #065f5a; }

.news-more { text-align: center; margin-top: 36px; }
.news-more-btn {
    display: inline-block;
    border: 2px solid #088178;
    color: #088178;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
}
.news-more-btn:hover { background: #088178; color: #fff; }


/* ============================================================
   INDEX.HTML — GALLERY
   ============================================================ */
#home-gallery-slider {
    padding: clamp(30px, 4vw, 60px) 0;
    overflow: visible;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-slider-header { text-align: center; padding: 0 clamp(20px, 5vw, 80px) 30px; }
.gallery-slider-header p {
    color: #088178;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    margin: 0 0 8px;
}
.gallery-slider-header h2 { margin: 0; font-size: 26px;}
.gallery-slider-track-wrap { overflow: hidden; position: relative; }
.gallery-slider-track { display: flex; gap: 16px; padding: 0 clamp(20px, 5vw, 80px); transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.gs-card {
    flex: 0 0 calc(33.333% - 11px);
    min-width: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.gs-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18); }
.gs-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gs-card:hover img { transform: scale(1.06); }
.gs-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 86, 157, 0.78) 0%, transparent 60% );
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.gs-card:hover .gs-card-overlay {opacity: 1; }
.gs-card-overlay h5 { color: #fff; font-size: 14px; margin: 0; }
.gallery-slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 0 clamp(20px, 5vw, 80px);
    position: relative;
    z-index: 10;
}
.gs-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    border: 2px solid #088178;
    background: #fff;
    color: #088178;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    -webkit-appearance: none;
    appearance: none;
}
.gs-btn:hover { background: #088178; color: #fff; }
.gs-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    max-width: calc(100% - 120px);
    overflow: hidden;
    max-height: 28px;
}
.gs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition:
        background 0.2s,
        ransform 0.2s;
}
.gs-dot.active { background: #088178; transform: scale(1.3); }
.gallery-slider-link { text-align: center; margin-top: 28px; }
.gallery-slider-link a {
    display: inline-block;
    border: 2px solid #088178;
    color: #088178;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
}

.gallery-slider-link a:hover { background: #088178; color: #fff; }


/* ============================================================
   INDEX.HTML — CUSTOMER LOGOS
   ============================================================ */
#home-customers {
    padding: clamp(30px, 4vw, 60px) clamp(20px, 5vw, 80px);
    background: #fff;
    text-align: center;
}

.customers-header p {
    color: #088178;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    margin: 0 0 6px;
}

.customers-header h2 {margin: 0 0 32px;font-size: 26px;}
.customers-logos { overflow: hidden; position: relative; }
.customers-track { display: flex; gap: 32px; width: max-content; animation: scrollCustomers 22s linear infinite; }
.customers-track:hover { animation-play-state: paused; }

.customer-logo {
    flex: 0 0 140px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.3s;
    padding: 0 16px;
    border-radius: 8px;
}

.customer-logo img { max-height: 54px; max-width: 120px; object-fit: contain; }
@keyframes scrollCustomers {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* ============================================================
   INDEX.HTML — PARTNERS / BRANDS
   ============================================================ */
#home-partners { padding: clamp(30px, 5vw, 60px) clamp(20px, 6vw, 80px); text-align: center; }

.partners-subtitle {
    font-size: 12px;
    font-weight: 700;
    color: #088178;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.partners-title {
    font-size: 26px;
    font-weight: 800;
    color: #222;
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.4;
}

.partners-logos { display: flex; align-items: center; overflow: hidden; width: 100%; }

.partners-track {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: scroll-logos 15s linear infinite;
    white-space: nowrap;
}
.partners-track:hover { animation-play-state: paused; }

@keyframes scroll-logos {
    0%   { transform: translateX(0); }
    80%  { transform: translateX(-100%); }
    81%  { transform: translateX(0); }
    100% { transform: translateX(0); }
}

.partner-logo { flex-shrink: 0; }
.partner-logo img { height: 40px; object-fit: contain; opacity: 1; transition: 0.2s; }


/* ============================================================
   SHOP.HTML — PRODUCT GRID & FILTER
   ============================================================ */
#product1 { text-align: center; }

#product1 .pro-container {
    display: flex;
    justify-content: flex-start;
    padding-top: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

#product1 .pro {
    width: calc(25% - 12px);
    min-width: 220px;
    padding: 10px 12px;
    border: 1px solid #cce7d0;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 20px 20px 30px rgba(0,0,0,0.02);
    margin: 0;
    transition: 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}
#product1 .pro:hover { box-shadow: 20px 20px 30px rgba(0,0,0,0.06); }

#product1 .pro img { width: 100%; border-radius: 20px; aspect-ratio: 1/1; object-fit: cover; }

#product1 .pro .des { text-align: start; padding: 10px 0; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
#product1 .pro .des span { color: #606063; font-size: 12px; }
#product1 .pro .des h5 { padding-top: 7px; color: #1a1a1a; font-size: 14px; }
#product1 .pro .des i  { font-size: 12px; color: rgb(243,181,25); }
#product1 .pro .des h4 { padding-top: 7px; font-size: 15px; font-weight: 700; color: #088178; }

#product1 .pro .cart {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50px;
    background-color: #e8f6ea;
    color: #088178;
    border: 1px solid #cce7d0;
    position: absolute;
    bottom: 20px;
    right: 10px;
    text-align: center;
}

/* Filter Tabs */
#shop-filter { padding-bottom: 0; }

.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; }

.filter-btn {
    padding: 10px 22px;
    border: 2px solid #088178;
    border-radius: 30px;
    background: transparent;
    color: #088178;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    outline: none;
}
.filter-btn:hover, .filter-btn.active { background-color: #088178; color: #fff; }

/* Pagination */
#pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 20px clamp(20px, 5vw, 80px);
}

#pagination a {
    text-decoration: none;
    background-color: #088178;
    padding: 12px 18px;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
    margin: 0;
    min-width: 44px;
    text-align: center;
}
#pagination a i { font-size: 16px; font-weight: 600; }


/* ============================================================
   SPRODUCT.HTML — SINGLE PRODUCT
   ============================================================ */
#prodetails { display: flex; margin-top: 20px; }

#prodetails .single-pro-image { width: 40%; margin-right: 50px; flex-shrink: 0; }

#prodetails .single-pro-details { width: 50%; padding-top: 30px; }
#prodetails .single-pro-details h1 { padding: 40px 0 20px 0; font-size: clamp(20px, 2.5vw, 28px); }
#prodetails .single-pro-details h2 { font-size: 26px; }
#prodetails .single-pro-details select { display: block; padding: 5px 10px; margin-bottom: 10px; }
#prodetails .single-pro-details input { width: 50px; height: 47px; padding-left: 10px; font-size: 16px; margin-right: 10px; }
#prodetails .single-pro-details input:focus { outline: none; }
#prodetails .single-pro-details button { background: #088178; color: #fff; }
#prodetails .single-pro-details button:hover { background: #065f5a; }
#prodetails .single-pro-details span { line-height: 25px; }

/* Thumbnail */
.small-img-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.small-img-col {
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1/1;
}

.small-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.small-img { transition: opacity 0.2s ease; border: 2px solid transparent; }
.small-img.active-thumb { border: 2px solid #088178; opacity: 0.8; }
#MainImg {
    transition: opacity 0.15s ease;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}


/* ============================================================
   BLOG.HTML
   ============================================================ */
#page-header.blog-header h1{
    color: #fff;
}
#blog { padding: clamp(60px, 10vw, 150px) clamp(20px, 10vw, 150px) 0; }

#blog .blog-box {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    padding-bottom: 90px;
}

#blog .blog-img { width: 50%; margin-right: 40px; position: relative; overflow: hidden; border-radius: 12px; }

#blog img { width: 100%; height: 300px; object-fit: cover; border-radius: 12px; display: block; }

#blog .blog-details { width: 50%; }

#blog .blog-details a {
    text-decoration: none;
    font-size: 14px;
    color: #000;
    font-weight: 700;
    position: relative;
    transition: 0.3s;
}
#blog .blog-details a::after {
    content: "";
    width: 50px;
    height: 1px;
    background-color: #000;
    position: absolute;
    top: 4px;
    right: -60px;
}
#blog .blog-details a:hover { color: #088178; }

#blog .blog-box h1 {
    position: absolute;
    top: 0;
    left: 0;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 900;
    color: #fff;
    z-index: 5;
    background: linear-gradient(135deg, #088178, #00569D);
    padding: 8px 16px;
    border-radius: 0 0 12px 0;
    line-height: 1.2;
    min-width: 80px;
    text-align: center;
}

#blog .blog-date-tag {
    position: absolute;
    top: -40px;
    left: 0px;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    color: rgba(154, 154, 154, 0.35);
    line-height: 1;
    pointer-events: none;
    z-index: 2;
    letter-spacing: -2px;
    margin: 0;
}


/* ============================================================
   SBLOG.HTML
   ============================================================ */
#sblog {
    padding: clamp(30px, 5vw, 60px) clamp(20px, 6vw, 80px);
    max-width: 900px;
    margin: 0 auto;
}
#sblog .sblog-date { font-size: 13px; color: #088178; font-weight: 700; margin-bottom: 10px; }
#sblog h1 { font-size: clamp(22px, 3vw, 32px); line-height: 1.3; color: #222; margin-bottom: 20px; }
#sblog .sblog-img {
    width: 100%;
    height: clamp(200px, 35vw, 450px);
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
}
#sblog .sblog-content p { font-size: 16px; color: #465b52; line-height: 28px; margin-bottom: 20px; }
#sblog .back-btn { display: inline-block; margin-top: 30px; text-decoration: none; color: #088178; font-weight: 700; font-size: 14px; }
#sblog .back-btn:hover { text-decoration: underline; }

#sblog-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  align-items: start;
}

#recent-blogs {
  position: sticky;
  top: 100px;
}

#recent-blogs h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e0e0;
}

#recent-blog-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.recent-blog-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  align-items: start;
  text-decoration: none;
  color: inherit;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.recent-blog-card:hover {
  background: #f5f5f5;
}

.recent-blog-card img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.recent-blog-card-info p {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.recent-blog-card-info span {
  font-size: 12px;
  color: #888;
}

@media (max-width: 768px) {
  #sblog-wrapper {
    grid-template-columns: 1fr;
  }
  #recent-blogs {
    position: static;
  }
}



/* ============================================================
   ABOUT.HTML
   ============================================================ */
/* Our Story */
#about-story { padding: clamp(30px, 5vw, 60px) clamp(20px, 6vw, 80px); }

.about-story-inner { display: flex; align-items: center; gap: clamp(24px, 4vw, 60px); }

.about-story-img { width: 40%; flex-shrink: 0; }
.about-story-img img { width: 100%; height: auto; max-height: 380px; object-fit: contain; border-radius: 12px; background: #f5f5f5; }

.about-story-text { flex: 1; }
.about-story-text h2 { font-size: clamp(20px, 2.5vw, 28px); color: #222; margin-bottom: 10px; }
.about-story-text p { font-size: 16px; color: #444; line-height: 24px; margin: 0; }

.about-underline { width: 40px; height: 3px; background-color: #088178; margin-bottom: 18px; border-radius: 2px; }

/* Styling Tombol Download */
.btn-download {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;
    background-color: #088178; /* Sesuaikan dengan warna brand Anda */
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid #088178;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-download i {  margin-left: 10px; /* Jarak untuk ikon */ }
.btn-download:hover { background-color: transparent; color: #088178; transform: translateY(-3px); /* Efek melayang sedikit */ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }

/* Business Sections */
.about-biz-box {
    display: flex;
    align-items: flex-start;
    gap: clamp(24px, 4vw, 60px);
    padding: clamp(30px, 5vw, 60px) clamp(20px, 6vw, 80px);
}
.biz-img-right { flex-direction: row; }
.biz-img-left  { flex-direction: row-reverse; }

.about-biz-text { flex: 1; }
.about-biz-text h2 { font-size: clamp(18px, 2.2vw, 26px); color: #222; margin-bottom: 10px; }
.about-biz-text p  { font-size: 16px; color: #444; line-height: 24px; margin-bottom: 10px; }
.biz-subtext { font-size: 16px !important; color: #444 !important; margin-top: 10px !important; }

.biz-list { list-style: none; padding: 0; margin-top: 8px; }
.biz-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: #222; margin-bottom: 8px; }
.biz-list li i { color: #088178; font-size: 16px; flex-shrink: 0; }

.about-biz-img { width: 38%; flex-shrink: 0; }
.about-biz-img img { width: 100%; height: auto; max-height: 360px; object-fit: contain; border-radius: 12px; background: #f5f5f5; }

/* Mission Vision */
#about-mv { padding: clamp(30px, 5vw, 60px) clamp(20px, 6vw, 80px); }

.about-mv-inner { display: flex; align-items: center; gap: clamp(24px, 4vw, 50px); }

.about-mv-img { width: 40%; flex-shrink: 0; }
.about-mv-img img { width: 100%; height: auto; max-height: 360px; object-fit: contain; border-radius: 12px; background: #f5f5f5; }

.about-mv-cards { flex: 1; display: flex; flex-direction: column; gap: 16px; }

.mv-card { background: #fff; border-radius: 10px; padding: 22px 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border-left: 3px solid #088178; }
.mv-card h4 { font-size: 20px; font-weight: 700; color: #222; margin-bottom: 8px; }
.mv-card p  { font-size: 14px; color: #555; line-height: 22px; margin: 0; }

.mv-contact { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 10px; padding: 18px 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.mv-contact-icon { width: 44px; height: 44px; border-radius: 50%; background-color: #088178; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mv-contact-icon i { color: #fff; font-size: 16px; }
.mv-contact strong { font-size: 20px; font-weight: 700; color: #222; display: block; margin-bottom: 4px; }
.mv-contact p { font-size: 14px; color: #555; margin: 0; line-height: 20px; }

/* Milestones */
#about-milestones { padding: clamp(30px, 5vw, 60px) clamp(20px, 6vw, 80px); }

.milestones-title { text-align: center; font-size: clamp(22px, 3vw, 32px); color: #222; margin-bottom: 50px; }

.milestones-container { position: relative; max-width: 900px; margin: 0 auto; }
.milestones-container::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 2px;
    background-color: #088178;
    transform: translateX(-50%);
}

.milestone-row { display: flex; align-items: center; margin-bottom: 40px; position: relative; }

.milestone-center { flex-shrink: 0; width: 20px; display: flex; justify-content: center; position: relative; z-index: 1; }
.milestone-dot { width: 14px; height: 14px; border-radius: 50%; background-color: #088178; border: 3px solid #fff; }

.milestone-card { flex: 1; background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); display: flex; align-items: center; gap: 14px; }
.milestone-card.left { margin-right: 20px; justify-content: flex-end; text-align: right; flex-direction: row; }
.milestone-card.right { margin-left: 20px; justify-content: flex-start; text-align: left; }
.milestone-card p { font-size: 14px; color: #444; line-height: 22px; margin: 0; flex: 1; }

.milestone-icon { width: 38px; height: 38px; border-radius: 50%; background-color: #088178; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.milestone-icon i { color: #fff; font-size: 14px; }

.milestone-year-block { flex: 1; padding: 0 20px; }
.milestone-year-block.left  { text-align: right; }
.milestone-year-block.right { text-align: left; }
.milestone-year-block h3 { font-size: 22px; font-weight: 800; color: #222; margin-bottom: 2px; }
.milestone-year-block span { font-size: 12px; color: #888; }

/* Partners (about page) */
#about-partners { padding: clamp(30px, 5vw, 60px) clamp(20px, 6vw, 80px); text-align: center; }


/* ============================================================
   CONTACT.HTML
   ============================================================ */
#contact-details { display: flex; align-items: center; justify-content: space-between; }
#contact-details .details { width: 40%; }
#contact-details .details span, #form-details form span { font-size: 12px; }
#contact-details .details h2, #form-details form h2 { font-size: 26px; line-height: 35px; padding: 20px 0; }
#contact-details .details h3 { font-size: 16px; padding-bottom: 15px; }
#contact-details .details li { list-style: none; display: flex; padding: 10px 0; }
#contact-details .details li i { font-size: 14px; padding-right: 22px; }
#contact-details .details li p { margin: 0; font-size: 14px; }
#contact-details .map { width: 55%; height: 400px; }
#contact-details .map iframe { width: 100%; height: 100%; }

#form-details {
    display: flex;
    justify-content: space-between;
    max-width: 1340px;
    margin: 30px auto;
    padding: clamp(30px, 6vw, 80px);
    border: 1px solid #e1e1e1;
}
#form-details form { width: 65%; display: flex; flex-direction: column; align-items: flex-start; }
#form-details form input, #form-details form textarea { width: 100%; padding: 12px 15px; outline: none; margin-bottom: 20px; border: 1px solid #e1e1e1; }
#form-details button { background-color: #088178; color: #fff; }
#form-details button:hover { background-color: #065f5a; }

#form-details .people div { padding-bottom: 25px; display: flex; align-items: flex-start; }
#form-details .people div img { width: 65px; height: 65px; object-fit: cover; margin-right: 15px; }
#form-details .people div p { margin: 0; font-size: 14px; line-height: 25px; }
#form-details .people div p span { display: block; font-size: 16px; font-weight: 600; color: #000; }


/* ============================================================
   CART.HTML
   ============================================================ */
#cart { overflow-x: auto; }
#cart table { width: 100%; border-collapse: collapse; table-layout: fixed; white-space: nowrap; }
#cart table img { width: 70px; }
#cart table td:nth-child(1) { width: 100px; }
#cart table td:nth-child(2) { width: 150px; }
#cart table td:nth-child(3) { width: 250px; }
#cart table td:nth-child(4), #cart table td:nth-child(5), #cart table td:nth-child(6) { width: 150px; }
#cart table td:nth-child(5) input { width: 70px; padding: 10px 5px 10px 15px; }
#cart table thead { border: 1px solid #088178; border-left: none; border-right: none; }
#cart table thead td { font-weight: 900; text-transform: uppercase; font-size: 13px; padding: 18px 0; vertical-align: middle; text-align: center; }
#cart table tbody td { font-size: 13px; padding-top: 15px; vertical-align: middle; text-align: center; }

#cart-add { display: flex; flex-wrap: wrap; justify-content: space-between; }

#coupon { width: 50%; margin-bottom: 30px; }
#coupon h3, #subtotal h3 { padding-bottom: 15px; }
#coupon input { padding: 10px 20px; outline: none; width: 60%; margin-right: 10px; border: 1px solid #e2e9e1; }
#coupon button, #subtotal button { background-color: #088178; color: #fff; padding: 12px 20px; }

#subtotal { width: 50%; margin-bottom: 30px; border: 1px solid #e2e9e1; padding: 30px; }
#subtotal table { border-collapse: collapse; width: 100%; margin-bottom: 20px; }
#subtotal table td { width: 50%; border: 1px solid #e2e9e1; padding: 10px; font-size: 13px; }

.order-overlay { display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0,0,0,0.5); z-index: 9998; justify-content: flex-end; align-items: flex-start; }
.order-overlay.active { display: flex; }
.order-modal { background: #fff; width: 420px; max-width: 95vw;  height: 100vh; overflow-y: auto; padding: 40px 30px; position: relative; box-shadow: -8px 0 40px rgba(0,0,0,0.15); animation: slideInRight 0.3s ease; }
@keyframes slideInRight {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); } }
.order-close { position: absolute; top: 16px; right: 16px; background: transparent; border: none; font-size: 20px; cursor: pointer; color: #888; transition: 0.2s;}
.order-close:hover { color: #222; }
.order-modal h3 { font-size: 20px; font-weight: 700; color: #222; margin-bottom: 6px;}
.order-subtitle { font-size: 13px; color: #888; margin-bottom: 24px; }
.order-field { margin-bottom: 18px; }
.order-field label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 6px; }
.order-field input,
.order-field textarea { width: 100%;  padding: 12px 14px;  border: 1px solid #e1e1e1; border-radius: 6px; font-size: 14px; outline: none; transition: border 0.2s; font-family: "League Spartan", sans-serif; }
.order-field input:focus,
.order-field textarea:focus { border-color: #088178; }
.order-field textarea { resize: vertical; }
.order-submit-btn { width: 100%; background-color: #088178; color: #088178; padding: 14px; border-radius: 6px;  font-size: 14px; font-weight: 700; cursor: pointer; margin-top: 8px; transition: 0.2s; }
.order-submit-btn:hover { background-color: #088178; color: #fff;}


/* ============================================================
   CAREER.HTML
   ============================================================ */
#page-header.career-header h1{
    color: #fff;
}
#career { padding: clamp(20px, 5vw, 40px) clamp(20px, 6vw, 80px); }

.career-box {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: clamp(20px, 3vw, 40px);
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    margin-bottom: 20px;
    gap: 30px;
}

.career-left { min-width: 160px; max-width: 180px; }
.career-left h3 { font-size: 20px; font-weight: 700; color: #222; margin-bottom: 8px; }
.career-type { font-size: 13px; color: #888; }

.career-content { flex: 1; }
.career-label { font-size: 14px; font-weight: 600; color: #222; margin: 0 0 8px 0; }
.career-content p { font-size: 14px; color: #465b52; margin: 0 0 6px 0; line-height: 22px; }

.career-apply { min-width: 130px; display: flex; align-items: flex-start; justify-content: flex-end; }

.apply-btn {
    display: inline-block;
    background-color: #088178;
    color: #fff;
    padding: 14px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
    white-space: nowrap;
}
.apply-btn:hover { background-color: #065f5a; }


/* ============================================================
   MARKET.HTML
   ============================================================ */
#market-detail {
    display: flex;
    align-items: flex-start;
    gap: clamp(24px, 4vw, 60px);
    padding: clamp(30px, 5vw, 60px) clamp(20px, 6vw, 80px);
}

.market-images { width: 45%; flex-shrink: 0; }
.market-img-main img { width: 100%; height: clamp(200px, 26vw, 340px); object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
.market-img-row { display: flex; gap: 12px; }
.market-img-row img { width: 50%; height: clamp(120px, 14vw, 180px); object-fit: cover; border-radius: 12px; }

.market-text { flex: 1; }
.market-text h1 { font-size: clamp(24px, 3.5vw, 42px); line-height: 1.3; color: #222; margin-bottom: 24px; }
.market-text p  { font-size: 16px; color: #444; line-height: 26px; margin-bottom: 18px; }

#market-projects { padding: 0 clamp(20px, 6vw, 80px) clamp(30px, 5vw, 60px); }
#market-projects h2 { font-size: clamp(20px, 2.5vw, 30px); color: #222; margin-bottom: 6px; }
#market-projects p.projects-sub { font-size: 16px; color: #222; margin-bottom: 30px; }

.market-cta { padding: 30px; border-left: 5px solid #088178; margin-top: 30px; border-radius: 8px; }
.market-cta h3 { margin-bottom: 10px; color: #222; }
.market-cta p { margin-bottom: 20px; color: #555; }
.cta-button {
    background-color: #088178;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s;
    display: inline-block;
}
.cta-button:hover { background-color: #065f5a; }


/* ============================================================
   PROJECTS.HTML & MARKET.HTML — PROJECT CARDS
   ============================================================ */
#page-header.market-header h1{
    color: #fff;
}

   .projects-grid { display: flex; flex-wrap: wrap; gap: 24px; }

.project-card {
    width: calc(33.333% - 16px);
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
}
.project-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); transform: translateY(-3px); }
.project-card img { width: 100%; height: clamp(140px, 15vw, 200px); object-fit: cover; }

.project-card-body { padding: 18px; }
.project-card-body h4 { font-size: 15px; font-weight: 700; color: #222; margin-bottom: 6px; }
.project-meta { font-size: 12px; color: #088178; font-weight: 600; margin-bottom: 8px; }
.project-card-body p { font-size: 13px; color: #555; line-height: 20px; margin: 0; }

.project-badge {
    display: inline-block;
    background-color: #e8f6ea;
    color: #088178;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#projects-filter { padding-bottom: 40; }


/* ============================================================
   GALLERY.HTML
   ============================================================ */
#gallery-filter { padding: 30px clamp(20px, 5vw, 80px) 0; text-align: center; }
#gallery-filter h2 { margin-bottom: 8px; }
#gallery-filter p { color: #666; font-size: 15px; margin-bottom: 24px; }
#gallery-section { padding: clamp(20px, 4vw, 40px) clamp(20px, 5vw, 80px); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: #eee;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0, 86, 157, 0.82) 0%, rgba(0, 133, 127, 0.3) 60%,transparent 100% );
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay h4 { color: #fff; font-size: 15px; margin: 0 0 4px; }
.gallery-item-overlay span { color: rgba(255, 255, 255, 0.82); font-size: 12px; }
.gallery-item-overlay .zoom-icon {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    backdrop-filter: blur(4px);
}

#gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.93);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#gallery-lightbox.active { display: flex; }
.lightbox-wrap {
    position: relative;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center; 
}

#lb-img {
    max-width: 88vw;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    transition: opacity 0.25s;
}
#lb-img.fade { opacity: 0; }
.lb-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    font-size: 28px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    backdrop-filter: blur(6px);
}
.lb-btn:hover { background: rgba(0, 133, 127, 0.7); }
#lb-prev { left: 20px; }
#lb-next { right: 20px; }
#lb-close {
    position: fixed;
    top: 18px;
    right: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    font-size: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: background 0.2s;
    backdrop-filter: blur(6px);
}
#lb-close:hover { background: rgba(220, 53, 69, 0.8); }
#lb-caption { margin-top: 16px; text-align: center; color: rgba(255, 255, 255, 0.9); }
#lb-caption h4 { color: #fff; font-size: 16px; margin-bottom: 4px; }
#lb-caption span { color: rgba(255, 255, 255, 0.6); font-size: 13px; }
#lb-counter {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    margin-top: 8px;
    letter-spacing: 1px;
}

#lb-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    max-width: 90vw;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: #088178 transparent;
}
.lb-thumb {
    width: 60px;
    height: 44px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition:
        opacity 0.2s,
        border-color 0.2s;
    flex-shrink: 0;
}
.lb-thumb.active,
.lb-thumb:hover { opacity: 1; border-color: #088178; }

.gallery-empty {
    text-align: center;
    padding: 60px 20px;
    color: #aaa;
    font-size: 15px;
}



/* ============================================================
   SPROJECT.HTML
   ============================================================ */
#sproject {
    padding: clamp(20px, 4vw, 40px) clamp(20px, 6vw, 80px) clamp(30px, 5vw, 60px);
    max-width: 1100px;
    margin: 0 auto;
}

/* Layout Container */
.sproject-container {
    display: grid;
    grid-template-columns: 1fr 300px; /* Kolom utama dan sidebar 300px */
    gap: 40px;
    align-items: start;
}

/* Sidebar Styling */
.sproject-sidebar {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    position: sticky;
    top: 20px; 
}

.sproject-sidebar h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #222;
    padding-bottom: 10px;
    border-bottom: 2px solid #088178;
}

.recent-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    text-decoration: none;
    align-items: center;
    transition: 0.3s;
}

.recent-item:hover {
    transform: translateX(5px);
}

.recent-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0; 
}

.recent-info h4 {
    font-size: 14px;
    color: #222;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.recent-info span {
    font-size: 12px;
    color: #088178;
    font-weight: 600;
}

/* Main Sproject */
.sproject-back { display: inline-block; font-size: 13px; font-weight: 700; color: #088178; text-decoration: none; margin-bottom: 24px; }
.sproject-back:hover { text-decoration: underline; }
.sproject-header { margin-bottom: 30px; }
.sproject-header h1 { font-size: clamp(22px, 3vw, 36px); line-height: 1.3; color: #222; margin-bottom: 10px; }
.sproject-meta { font-size: 13px; color: #088178; font-weight: 600; margin: 0; }
.sproject-images { margin-bottom: 40px; }
.sproject-img-main img { width: 100%; height: clamp(200px, 32vw, 420px); object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
.sproject-img-row { display: flex; gap: 12px; }
.sproject-img-row img { width: 50%; height: clamp(120px, 17vw, 220px); object-fit: cover; border-radius: 12px; }
.sproject-content p { font-size: 16px; color: #444; line-height: 28px; margin-bottom: 20px; }

.sproject-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 30px; margin-bottom: 20px; }
.gallery-item { border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; transition: transform 0.2s, box-shadow 0.2s; }
.gallery-item:hover { transform: scale(1.03); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999; align-items: center; justify-content: center; flex-direction: column; gap: 16px;}
.lightbox.active { display: flex; }
.lightbox-img { max-width: 88vw; max-height: 78vh; object-fit: contain; border-radius: 8px; box-shadow: 0 8px 40px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 20px;  right: 24px; background: transparent; border: none; color: #fff; font-size: 28px; cursor: pointer;  z-index: 10000; transition: 0.2s; }
.lightbox-close:hover { color: #088178; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 40px; cursor: pointer; padding: 10px 16px; border-radius: 50%; transition: 0.2s; z-index: 10000; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: #088178; }
.lightbox-counter { color: rgba(255,255,255,0.7); font-size: 13px; margin: 0; }

/* ============================================================
   RESPONSIVE — max-width: 799px
   ============================================================ */
@media screen and (max-width: 799px) {

    /* Navbar */
    #navbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 300px;
        background-color: #fff;
        box-shadow: 0 40px 60px rgba(0,0,0,0.1);
        padding: 80px 0 0 10px;
        transition: 0.3s;
        z-index: 9999;
    }
    #navbar.active { right: 0; }
    #navbar li { margin-bottom: 25px; }
    #mobile { display: flex; align-items: center; }
    #mobile i { color: #1a1a1a; font-size: 24px; padding-left: 20px; cursor: pointer;}
    #close { display: initial; position: absolute; top: 30px; left: 30px; color: #222; font-size: 24px; }
    #lg-bag { display: none; }

    /* Dropdown mobile */
    .nav-dropdown .dropdown-menu { position: static; box-shadow: none; padding-left: 20px; background: transparent; opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; display: none; width: 100%; transition: none;}
    .nav-dropdown:hover .dropdown-menu, .nav-dropdown.active .dropdown-menu { display: flex; }
    .dropdown-menu li a{ padding: 10px 0; font-size: 15px; color: #1a1a1a;}
    .dropdown-menu li a:hover{background: transparent; padding-left: 5px;}

    /* Index */
    .hero-slide { padding: 0 40px; }
    .hero-content h1 { font-size: 36px; }
    .hero-content h2 { font-size: 28px; }
    #home-about { flex-direction: column; gap: 30px; }
    .home-about-images { width: 100%; }
    .seg-card-wrapper { width: calc(50% - 12px); }
    .news-card { width: calc(50% - 12px); }
    .stat-item h2 { font-size: 36px; }

    /* Blog */
    #blog { padding: 100px 40px 0; }
    #blog .blog-img { width: 45%; }
    #blog .blog-details { width: 55%; }
    #blog img { height: 220px; }

    /* About */
    .about-story-inner,
    .about-mv-inner { flex-direction: column !important; gap: 30px; }
    .about-story-img, .about-biz-img, .about-mv-img { width: 100%; }
    .about-biz-box { flex-direction: column !important; }
    .milestones-container::before { left: 16px; }
    .milestone-row { flex-direction: column; align-items: flex-start; padding-left: 40px; }
    .milestone-center { position: absolute; left: 8px; top: 10px; }
    .milestone-card.left, .milestone-card.right { margin: 0; width: 100%; }
    .milestone-year-block { padding: 0; margin-bottom: 10px; }
    .milestone-year-block.left, .milestone-year-block.right { text-align: left; }

    /* Contact */
    #form-details { padding: 40px; }
    #form-details form { width: 50%; }

    /* Career */
    .career-box { flex-wrap: wrap; gap: 20px; }
    .career-left { min-width: 100%; }
    .career-apply { min-width: 100%; justify-content: flex-start; }

    /* Market */
    #market-detail { flex-direction: column; gap: 30px; }
    .market-images { width: 100%; }

    /* Projects */
    .project-card { width: calc(50% - 12px); }

    /* Newsletter */
    #newsletter .form { width: 70%; }

    /* Product */
    #product1 .pro-container { justify-content: center; }
    #product1 .pro { margin: 15px; }

    /* Thumbnail */
    .small-img-group { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .small-img-col { width: 100%; aspect-ratio: 1/1; }
    .small-img-col img { width: 100%; height: 100%; object-fit: cover; }

    /* Sblog */
    #sblog { padding: 40px; }

    /* Gallery Home */
    .gs-card { flex: 0 0 calc(50% - 8px); }

    /* Gallery HTML */
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .lb-btn { width: 40px; height: 40px; font-size: 20px; }
    #lb-prev { left: 8px;  }
    #lb-next { right: 8px; }

    /* Responsive sidebar sproject.html */
    .sproject-container { grid-template-columns: 1fr; }
    .sproject-sidebar { position: static; margin-top: 40px; }
}


/* ============================================================
   RESPONSIVE — max-width: 477px
   ============================================================ */
@media screen and (max-width: 477px) {

    /* Index hero */
    #home-hero { height: 70vh; min-height: 400px; }
    .hero-slide { padding: 0 20px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content h2 { font-size: 22px; }
    .seg-card-wrapper { width: 100%; }
    .news-card { width: 100%; }
    .stats-grid { gap: 20px; }

    /* Blog */
    #blog { padding: 80px 20px 0; }
    #blog .blog-box { flex-direction: column; }
    #blog .blog-img { width: 100%; margin-right: 0; margin-bottom: 30px; }
    #blog .blog-details { width: 100%; }
    #sblog { padding: 24px 20px; }

    /* Product single */
    #prodetails { flex-direction: column; }
    #prodetails .single-pro-image { width: 100%; margin-right: 0; }
    #prodetails .single-pro-details { width: 100%; }
    .small-img-group { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
    .small-img-col { width: 100%; aspect-ratio: 1/1; }
    .small-img-col img { width: 100%; height: 100%; object-fit: cover; }

    /* Contact */
    #contact-details { flex-direction: column; }
    #contact-details .details { width: 100%; margin-bottom: 30px; }
    #contact-details .map { width: 100%; }
    #form-details { margin: 10px; padding: 24px 16px; flex-wrap: wrap; }
    #form-details form { width: 100%; margin-bottom: 30px; }

    /* Cart */
    #cart-add { flex-direction: column; }
    #coupon, #subtotal { width: 100%; }
    #subtotal { padding: 20px; }

    /* Career */
    .career-box { padding: 20px 16px; }

    /* About */
    .about-story-inner { gap: 20px; }
    .milestones-title { font-size: 22px; }
    .partners-title { font-size: 18px; }

    /* Projects */
    .project-card { width: 100%; }
    .sproject-header h1 { font-size: 22px; }

    /* Newsletter */
    #newsletter .form { width: 100%; }
    footer .copyright { text-align: start; }

    /* Filter */
    .filter-tabs { gap: 8px; }
    .filter-btn { padding: 8px 16px; font-size: 12px; }

    /* Gallery sproject */
    .sproject-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }

    /* Gallery Home */
    .gs-card { flex: 0 0 calc(85% - 8px); }
}
