:root {
  --primary: #145da0;
  --primary-dark: #0b3f70;
  --primary-deep: #071d35;
  --primary-soft: #eaf4fc;
  --accent: #1c8bd5;
  --white: #ffffff;
  --text: #142238;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f7faff;
  --radius: 18px;
  --shadow: 0 15px 40px rgba(10, 43, 76, .10);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* ================= NAVBAR ================= */
.navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: #145da0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transition: .3s ease;
}
.navbar.scrolled {
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.nav-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* ===== NAVBAR BRAND ===== */
.navbar-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.navbar-brand img {
    max-height: 50px;
    width: auto;
}

/* ===== NAV MENU ===== */
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
}

.nav-menu > a {
    color: #dceaf7;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    transition: .2s ease;
    white-space: nowrap;
}

.nav-menu > a:hover,
.nav-menu > a.active {
    color: #55b6ff;
    background: rgba(255,255,255,.08);
}

/* ===== DROPDOWN ===== */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    color: #dceaf7;
    font-size: 13px;
    font-weight: 600;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: .2s ease;
    white-space: nowrap;
}

.dropdown-toggle:hover {
    color: #55b6ff;
    background: rgba(255,255,255,.08);
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform .2s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* ===== DROPDOWN MENU ===== */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    padding: 8px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(4, 35, 65, .2);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
    border: 1px solid rgba(0,0,0,.04);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    /* transform: translateX(-50%) translateY(0); */
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    border-radius: 10px;
    transition: .15s ease;
}

.dropdown-menu a:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.dropdown-icon {
    font-size: 16px;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

/* ===== NAV CTA ===== */
.nav-cta {
    flex-shrink: 0;
    padding: 0 20px;
    min-height: 40px;
    font-size: 12px;
    border-radius: 10px;
    background: #1c8bd5;
    color: #fff;
    box-shadow: 0 8px 20px rgba(28,139,213,.25);
    transition: .25s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    background: #1179bc;
    transform: translateY(-2px);
}

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    background: none;
    border: 0;
    width: 42px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: .25s ease;
}

.hamburger span:nth-child(1) { width: 28px; }
.hamburger span:nth-child(2) { width: 22px; }
.hamburger span:nth-child(3) { width: 28px; }

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    width: 28px;
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 28px;
}

/* ================= BUTTONS ================= */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:44px; padding:0 19px; border-radius:9px; font-size:12px; font-weight:700;
  border:1px solid transparent; transition:.25s ease; cursor:pointer;
}
.btn-primary { background:var(--accent); color:#fff; box-shadow:0 8px 20px rgba(28,139,213,.25); }
.btn-primary:hover { background:#1179bc; transform:translateY(-2px); }
.btn-outline { color:#fff; border-color:rgba(255,255,255,.65); }
.btn-outline:hover { background:#fff; color:var(--primary); }
.btn-dark { background:var(--primary-deep); color:#fff; }
.btn-dark:hover { background:var(--primary); transform:translateY(-2px); }
.btn-outline-blue { border-color:var(--primary); color:var(--primary); }
.btn-outline-blue:hover { background:var(--primary); color:#fff; }
.btn-whatsapp { background:#20c968; color:#fff; min-height:52px; padding-inline:28px; }
.btn-whatsapp:hover { transform:translateY(-2px); background:#18b85b; }
.hamburger { display:none; background:none; border:0; width:42px; }
.hamburger span { display:block; height:2px; margin:6px 0; background:#fff; border-radius:2px; }

/* ================= HERO ================= */
.hero {
  min-height:680px; position:relative; display:flex; align-items:center;
  background:
    linear-gradient(90deg, rgba(15, 63, 117, 0.97) 0%, rgba(13, 65, 117, 0.9) 5%, rgba(18, 84, 150, 0.28) 70%, rgba(21, 94, 168, 0.38)),
     url("../../1foto.jpg")  center 20%/cover;
  color:#fff; padding-top:200px;
}
.hero-overlay { position:absolute; inset:0; background:radial-gradient(circle at 65% 30%, rgba(20,93,160,.25), transparent 35%); }
.hero-content { position:relative; z-index:1; }
.hero-copy { max-width:660px; padding:70px 0 110px; }
.eyebrow, .section-label {
  color:var(--primary); font-size:11px; font-weight:800; letter-spacing:.13em;
}
.eyebrow { color:#61c2ff; margin-bottom:14px; display:inline-block; }
.hero h1 { font-size:clamp(42px, 5.5vw, 68px); line-height:1.03; text-transform:uppercase; letter-spacing:-.04em; }
.hero h1 span { color:#55b6ff; }
.hero-services { margin-top:20px; font-weight:700; font-size:12px; letter-spacing:.04em; color:#e5f2fc; }
.hero-services b { color:#55b6ff; padding:0 4px; }
.hero-description { max-width:530px; margin-top:18px; color:#c5d8e8; font-size:14px; }
.hero-actions { display:flex; gap:12px; margin-top:28px; }
.hero-scroll { position:absolute; bottom:25px; left:50%; transform:translateX(-50%); color:#b5cbe0; font-size:9px; letter-spacing:.15em; }
.hero-scroll span { color:#55b6ff; font-size:17px; margin-left:7px; }

/* ================= STATS - HORIZONTAL ================= */
.stats-wrap { position:relative; margin-top:-54px; z-index:5; }

.stats-card {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(4, 35, 65, .15);
  padding: 22px 25px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 150px;
  justify-content: center;
}

.stat-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #b9dcf6;
  color: var(--primary);
  border-radius: 12px;
  font-size: 23px;
  flex-shrink: 0;
}

.stat strong {
  font-size: 26px;
  line-height: 1;
  color: var(--primary-deep);
}

.stat > div > span {
  color: var(--primary);
  font-size: 18px;
  font-weight: 800;
}

.stat small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}

.stat-divider { display: none; }

/* ================= SECTIONS ================= */
.section { padding:90px 0; }
.two-column { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.section-copy h2, .section-heading h2, .why-copy h2, .activity-copy h2 {
  font-size:clamp(29px,3.2vw,42px); line-height:1.15; letter-spacing:-.035em; margin-top:8px;
}
.section-copy p, .section-heading p, .activity-copy p { color:var(--muted); font-size:14px; margin-top:16px; }
.section-copy .btn { margin-top:20px; }

/* ================= ABOUT ================= */
.about-gallery { display:grid; gap:12px; }
.about-gallery > img { height:320px; border-radius:20px; }
.gallery-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.gallery-row img { height:170px; border-radius:16px; }

/* ================= SERVICES ================= */
.services { background:var(--bg); }
.section-heading.center { max-width:750px; margin:0 auto 42px; text-align:center; }
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.service-card { background:#fff; border:1px solid var(--line); border-radius:15px; overflow:hidden; transition:.3s; box-shadow:0 4px 14px rgba(0,0,0,.03); }
.service-card:hover { transform:translateY(-8px); box-shadow:var(--shadow); border-color:#c4e2f7; }
.service-image img { height:145px; }
.service-body { padding:19px; position:relative; }
.service-number { color:#b8c7d4; font-weight:800; font-size:10px; }
.service-body h3 { font-size:16px; margin:3px 0 8px; }
.service-body p { font-size:11px; color:var(--muted); min-height:68px; }
.service-body a { display:inline-block; margin-top:8px; color:var(--primary); font-size:11px; font-weight:800; }

/* ================= WHY US ================= */
.why-us { background:var(--primary-deep); color:#fff; padding:78px 0; overflow:hidden; }
.why-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:80px; align-items:center; }
.section-label.light { color:#58b9f7; }
.why-copy h2 { color:#fff; }
.why-copy p { color:#a9c1d5; margin-top:15px; max-width:480px; }
.why-list { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.why-item { display:flex; gap:15px; padding:22px; border:1px solid rgba(255,255,255,.15); border-radius:13px; background:rgba(255,255,255,.035); }
.why-item > span { color:#55b6ff; font-weight:800; font-size:12px; }
.why-item h3 { font-size:14px; }
.why-item p { color:#a9c1d5; font-size:11px; margin-top:4px; }

/* ================= PORTFOLIO ================= */
.filter-tabs { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; margin-bottom:30px; }
.filter { border:1px solid var(--line); background:#fff; color:var(--muted); padding:9px 18px; border-radius:30px; font-size:11px; font-weight:700; cursor:pointer; }
.filter.active, .filter:hover { background:var(--primary); color:#fff; border-color:var(--primary); }
.portfolio-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.portfolio-card { border:1px solid var(--line); border-radius:14px; overflow:hidden; background:#fff; transition:.25s; }
.portfolio-card:hover { transform:translateY(-5px); box-shadow:var(--shadow); }
.portfolio-card img { height:210px; }
.portfolio-card > div { padding:16px; }
.portfolio-card span { font-size:9px; color:var(--primary); font-weight:800; }
.portfolio-card h3 { font-size:14px; margin:3px 0; }
.portfolio-card p { color:var(--muted); font-size:10px; }

/* ================= ACTIVITIES ================= */
.activities { background:#f5f8fb; }
.activity-layout { display:grid; grid-template-columns:1.15fr .85fr; gap:70px; align-items:center; }
.activity-gallery { display:grid; grid-template-columns:1.5fr 1fr; gap:10px; }
.activity-gallery img { height:155px; border-radius:14px; }
.activity-gallery .activity-main { grid-row:span 2; }
.activity-gallery .activity-main img { height:320px; }
.activity-copy .btn { margin-top:25px; }

/* ================= TEAM ================= */
.team-photo { position:relative; border-radius:22px; overflow:hidden; max-height:470px; }
.team-photo img { height:470px; }
.team-overlay { position:absolute; inset:auto 20px 20px; background:rgba(7,29,53,.88); color:#fff; border-radius:14px; padding:18px 22px; }
.team-overlay strong { display:block; font-size:19px; }
.team-overlay span { font-size:11px; color:#a9c9df; }

/* ================= ARTICLES ================= */
.articles { background:var(--bg); }
.section-heading.between { display:flex; justify-content:space-between; align-items:end; margin-bottom:38px; }
.text-link { color:var(--primary); font-size:12px; font-weight:800; }
.article-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.article-card { background:#fff; border:1px solid var(--line); border-radius:15px; overflow:hidden; transition:.25s; }
.article-card:hover { transform:translateY(-5px); box-shadow:var(--shadow); }
.article-card img { height:205px; }
.article-card > div { padding:20px; }
.article-card small { color:var(--muted); font-size:10px; }
.article-card h3 { font-size:16px; line-height:1.35; margin:8px 0 15px; }
.article-card a { color:var(--primary); font-size:11px; font-weight:800; }

/* ================= ORDER STEPS ================= */
.order { background:#fff; }
.steps { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.step { width:19%; text-align:center; position:relative; }
.step > span { display:inline-grid; place-items:center; width:28px; height:28px; border-radius:50%; background:var(--primary); color:#fff; font-size:9px; font-weight:800; }
.step-icon { width:60px; height:60px; margin:10px auto; display:grid; place-items:center; border-radius:50%; background:var(--primary-soft); color:var(--primary); font-size:22px; }
.step h3 { font-size:13px; }
.step p { color:var(--muted); font-size:10px; margin-top:5px; }
.step-line { flex:1; height:1px; background:#bdd7eb; margin-top:68px; }

/* ================= CTA ================= */
.cta { background:linear-gradient(100deg,var(--primary-deep),var(--primary)); color:#fff; padding:58px 0; }
.cta-inner { display:flex; align-items:center; justify-content:space-between; gap:30px; }
.cta h2 { font-size:clamp(26px,3vw,39px); line-height:1.15; margin-top:7px; }
.cta p { color:#c4d9e8; margin-top:10px; font-size:13px; }

/* ================= FOOTER ================= */
.footer { background:#06182c; color:#d6e5f2; padding-top:60px; }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr 1.2fr; gap:50px; padding-bottom:45px; }
.brand-footer { margin-bottom:15px; }
.footer-brand > p { color:#88a3b8; font-size:11px; max-width:310px; }
.footer h4 { color:#fff; font-size:12px; margin-bottom:15px; }
.footer-grid > div:not(.footer-brand) > a, .footer-grid > div:not(.footer-brand) > p {
  display:block; color:#91a9bc; font-size:11px; margin:7px 0;
}
.footer-grid > div:not(.footer-brand) > a:hover { color:#55b6ff; }
.socials { display:flex; gap:7px; margin-top:17px; }
.socials a { display:grid; place-items:center; width:30px; height:30px; border:1px solid #2b4c67; border-radius:8px; color:#b9d5e8; font-size:9px; }
.socials a:hover { background:var(--primary); border-color:var(--primary); color:#fff; }
.copyright { border-top:1px solid rgba(255,255,255,.08); display:flex; justify-content:space-between; padding:17px 0; color:#668298; font-size:9px; }

/* ================= BACK TO TOP ================= */
.back-top {
  position:fixed; right:22px; bottom:22px; z-index:100; width:43px; height:43px;
  border:0; border-radius:12px; background:var(--primary); color:#fff; cursor:pointer;
  box-shadow:0 10px 25px rgba(20,93,160,.3); opacity:0; visibility:hidden; transform:translateY(15px); transition:.25s;
}
.back-top.show { opacity:1; visibility:visible; transform:none; }

/* ================= REVEAL ANIMATION ================= */
.reveal { opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:none; }

/* ================= RESPONSIVE ================= */

.footer-brand .navbar-brand img {
    max-height: 80px;
    width: auto;
    display: block;
}

/* Tablet & Mobile */
@media (max-width: 800px) {
    .footer-brand .navbar-brand img {
        max-height: 70px;
    }
}

/* Mobile */
@media (max-width: 560px) {
    .footer-brand .navbar-brand img {
        max-height: 60px;
    }
}

/* Very Small Mobile */
@media (max-width: 400px) {
    .footer-brand .navbar-brand img {
        max-height: 50px;
    }
}
/* Tablet & Desktop Kecil */
@media (max-width: 1050px) {
  .nav-menu { gap:15px; }
  .nav-cta { display:none; }
  .service-grid { grid-template-columns:repeat(3,1fr); }
  .portfolio-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column:span 3; }
}

/* Tablet */
@media (max-width: 800px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .nav-inner { height: 68px; }
  
  /* Mobile Navigation */
  .nav-menu {
    position: absolute; top: 68px; left: 0; right: 0;
    display: flex; flex-direction: column;
    align-items: stretch; gap: 0;
    padding: 12px 20px 20px;
    background: #071d35;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: .25s;
  }
  .nav-menu.open { transform: none; opacity: 1; visibility: visible; }
  .nav-menu > a, .dropdown-toggle { padding: 13px 5px; text-align: left; }
  .nav-dropdown .dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: #0c2b4b;
    box-shadow: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a { color: #dceaf7; }
  .hamburger { display: block; margin-left: auto; }

  /* Hero */
  .hero { min-height: 720px; background-position: 65% center; }
  .hero-copy { padding: 45px 0 95px; }
  .hero h1 { font-size: 46px; }
  
  /* Stats tetap horizontal di tablet */
  .stats-card {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
  }
  .stat {
    flex: 0 1 auto;
    min-width: 130px;
    padding: 5px 0;
  }
  .stat-divider { display: none; }
  
  /* Layout lainnya */
  .two-column, .why-grid, .activity-layout { grid-template-columns: 1fr; gap: 40px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); display: block; }
  .why-list { grid-template-columns: 1fr 1fr; }
  .activity-gallery { order: 2; }
  .activity-copy { order: 1; }
  .steps { flex-direction: column; align-items: center; }
  .step { width: 100%; max-width: 280px; }
  .step-line { width: 1px; height: 30px; flex: none; margin: 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

/* Mobile */
@media (max-width: 560px) {
  .hero h1 { font-size: 38px; }
  .hero-services { font-size: 10px; line-height: 1.8; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  
  /* Stats menjadi vertikal di mobile */
  .stats-card {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 20px;
  }
  .stat {
    justify-content: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
  }
  .stat:last-child { border-bottom: none; }
  
  .service-grid, .portfolio-grid, .article-grid, .why-list { grid-template-columns: 1fr; }
  .service-image img { height: 190px; }
  .portfolio-card img, .article-card img { height: 220px; }
  .section { padding: 65px 0; }
  .section-heading.between { display: block; }
  .section-heading.between .text-link { display: inline-block; margin-top: 15px; }
  .activity-gallery { grid-template-columns: 1fr 1fr; }
  .activity-gallery .activity-main { grid-column: span 2; grid-row: auto; }
  .activity-gallery .activity-main img { height: 250px; }
  .activity-gallery img { height: 130px; }
  .team-photo img { height: 310px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 20px; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .footer-grid > div:last-child { grid-column: span 2; }
  .copyright { flex-direction: column; gap: 5px; }
}