/* ===================================================
   PT PELANGI LOGISTIK NUSANTARA - Modern Corporate CSS
   Color Theme: Royal Blue, Clean White, Deep Navy Accent
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0066cc;
  --primary-dark: #004b99;
  --primary-light: #2b87e3;
  --primary-soft: #edf5ff;
  --navy: #041b3d;
  --navy-dark: #020f24;
  --secondary: #00a2ff;
  --accent-yellow: #f8b803;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-light: #edf2f7;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 6px rgba(0, 32, 74, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 32, 74, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 32, 74, 0.12);
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

h1, h2, h3, h4, h5, h6, p, a, span, li, td, th {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= Header & Navbar (Fixed Wrapping) ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 20, 50, 0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  min-height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.02);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-subtext {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1px;
  line-height: 1.25;
  display: block;
  max-width: 230px;
  border-left: 1.5px solid #e2e8f0;
  padding-left: 10px;
}

@media (max-width: 992px) {
  .brand-subtext {
    display: none;
  }
  .brand-logo-img {
    height: 40px;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.nav-menu li {
  display: flex;
  align-items: center;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  line-height: 1.3;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--primary);
  border-radius: 4px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-search {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-search input {
  padding: 8px 38px 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  background: #f8fafc;
  width: 170px;
  transition: var(--transition);
  font-family: inherit;
}

.nav-search input:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  width: 200px;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.nav-search button {
  position: absolute;
  right: 4px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: var(--transition);
}

.nav-search button:hover {
  background: var(--primary-dark);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--navy);
  cursor: pointer;
  padding: 6px;
}

/* ================= Hero Banner ================= */
.hero-section {
  position: relative;
  min-height: 540px;
  background: linear-gradient(90deg, rgba(3, 27, 64, 0.94) 0%, rgba(4, 39, 87, 0.85) 45%, rgba(6, 61, 133, 0.5) 100%),
              url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: #ffffff;
  padding: 85px 0 95px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-content .hero-kicker {
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #70b4ff;
  margin-bottom: 12px;
  display: block;
}

.hero-content h1 {
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.hero-content p {
  font-size: 1.05rem;
  color: #e2e8f0;
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.45);
}

.btn-light {
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 255, 255, 0.25);
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-pill-card {
  background: rgba(4, 27, 61, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--transition);
}

.feature-pill-card:hover {
  background: rgba(0, 102, 204, 0.78);
  transform: translateX(6px);
  border-color: rgba(255, 255, 255, 0.4);
}

.feature-pill-icon {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #8ac2ff;
  flex-shrink: 0;
}

.feature-pill-text h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
  line-height: 1.25;
}

.feature-pill-text p {
  font-size: 0.84rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.3;
}

/* ================= Section Headers ================= */
.section {
  padding: 65px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: capitalize;
  margin-bottom: 4px;
  display: block;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.4px;
  line-height: 1.25;
}

.view-all-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.view-all-link:hover {
  gap: 10px;
  color: var(--primary-dark);
}

/* ================= About Section ================= */
.about-section {
  padding: 70px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 52px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #e2e8f0;
}

.about-image-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.since-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--primary);
  color: #ffffff;
  padding: 16px 22px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.45);
}

.since-badge .text {
  font-size: 0.82rem;
  font-weight: 600;
  display: block;
  opacity: 0.9;
}

.since-badge .year {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}

.about-pills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 26px 0 30px;
}

.about-pill {
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 11px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.35;
  word-break: break-word;
}

.about-pill i {
  color: var(--primary);
  font-size: 15px;
}

/* ================= Services Section (10 Layanan) ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.service-card-thumb,
.service-card-thumb-wrap {
  position: relative;
  height: 145px;
  background: #cbd5e1;
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-card-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-card-thumb img,
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-thumb img,
.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-badge-num {
  position: absolute;
  bottom: -16px;
  left: 14px;
  width: 34px;
  height: 34px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.84rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(11, 87, 208, 0.25), 0 2px 6px rgba(0, 0, 0, 0.16);
  z-index: 10;
  line-height: 1;
  letter-spacing: -0.3px;
}

.service-card-body {
  padding: 24px 16px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-card-link {
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-card-link:hover {
  color: var(--primary-dark);
  gap: 8px;
}

/* ================= Partner Ships Section ================= */
.ships-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ship-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ship-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.ship-card-thumb {
  height: 170px;
  overflow: hidden;
  background: #cbd5e1;
}

.ship-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ship-card:hover .ship-card-thumb img {
  transform: scale(1.06);
}

.ship-card-body {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ship-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.ship-detail-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ship-detail-link:hover {
  color: var(--primary);
}

.ship-btn-contact {
  margin-top: auto;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 9px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.ship-btn-contact:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* ================= Stats Counter Bar ================= */
.stats-bar-section {
  background: linear-gradient(90deg, #021f47 0%, #004294 50%, #0056bf 100%);
  color: #ffffff;
  padding: 42px 0;
  margin: 55px 0 35px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.stat-icon {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #8ac2ff;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.stat-content h3 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
}

.stat-content p {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-top: 2px;
  line-height: 1.3;
  word-break: break-word;
}

/* ================= Gallery & Blog Grid ================= */
.gallery-blog-section {
  padding: 45px 0;
}

.gallery-blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.gallery-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.gallery-thumb-item {
  position: relative;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #cbd5e1;
  cursor: pointer;
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-thumb-item:hover img {
  transform: scale(1.12);
}

.blog-articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.blog-mini-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-mini-thumb {
  height: 115px;
  overflow: hidden;
  background: #cbd5e1;
}

.blog-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-mini-card:hover .blog-mini-thumb img {
  transform: scale(1.08);
}

.blog-mini-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-mini-date {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.blog-mini-title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 8px;
}

.blog-mini-meta {
  margin-top: auto;
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ================= Contact & Map Section ================= */
.contact-section {
  padding: 35px 0 65px;
}

.contact-card-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}

.contact-map-col {
  background: #f0fdf4;
  padding: 34px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-right: 1px solid var(--border);
  min-height: 290px;
}

.contact-map-col svg {
  max-width: 100%;
  height: auto;
}

.contact-map-col h4 {
  color: #0284c7;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  margin-top: 16px;
  line-height: 1.4;
}

.contact-info-col {
  padding: 38px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-col h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact-info-col p.lead {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.contact-meta-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.contact-meta-text h5 {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-meta-text p {
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

/* ================= Footer ================= */
.site-footer {
  background: var(--navy-dark);
  color: #cbd5e1;
  padding: 65px 0 26px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr 1.2fr;
  gap: 32px;
  margin-bottom: 45px;
}

.footer-brand h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
}

.social-circle-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 13px;
  transition: var(--transition);
}

.social-circle-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.85rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-newsletter p {
  font-size: 0.84rem;
  color: #94a3b8;
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  position: relative;
}

.newsletter-form input {
  width: 100%;
  padding: 11px 44px 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.85rem;
  font-family: inherit;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.newsletter-form button {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 36px;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

/* ================= Inner Page Styling ================= */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 55px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-header p {
  font-size: 1rem;
  color: #cbd5e1;
  max-width: 620px;
  margin: 0 auto;
}

.card-detail {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

/* ================= Responsive Inner Page Grids ================= */
.visi-misi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
}

.ship-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.blog-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.blog-detail-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===================================================
   RESPONSIVE DESIGN SYSTEM (MOBILE & LAPTOP OPTIMIZED)
   =================================================== */

/* --- 1. Laptop & Desktop Excellence (min-width: 1025px) --- */
@media (min-width: 1025px) {
  .container {
    max-width: 1260px;
    padding: 0 32px;
  }
  .navbar {
    min-height: 74px;
  }
  .services-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
  .service-card {
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 20, 50, 0.04);
  }
  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 40, 100, 0.12);
  }
  .hero-content h1 {
    font-size: 3.4rem;
    letter-spacing: -1px;
  }
  .section {
    padding: 85px 0;
  }
  .section-header {
    margin-bottom: 40px;
  }
  .section-title {
    font-size: 2.3rem;
  }
}

/* --- 2. Medium Laptops & Large Tablets (1024px - 1200px) --- */
@media (max-width: 1200px) and (min-width: 901px) {
  .nav-menu {
    gap: 16px;
  }
  .nav-link {
    font-size: 0.86rem;
  }
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  }
}

/* --- 3. Tablets (769px - 1024px) --- */
@media (max-width: 1024px) {
  .nav-search input {
    width: 140px;
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .ships-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- 4. Mobile & Small Tablets (max-width: 900px) --- */
@media (max-width: 900px) {
  .site-header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  }
  .navbar {
    padding: 8px 0;
    min-height: 62px;
  }
  .brand-logo-img {
    height: 38px;
    max-width: 170px;
  }
  .brand-subtext {
    display: none;
  }
  .nav-actions {
    display: none; /* Hide header search on mobile to prevent navbar crowding */
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--navy);
    font-size: 1.15rem;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
  }
  .mobile-toggle:hover, .mobile-toggle:active {
    background: #edf5ff;
    color: var(--primary);
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    box-shadow: 0 20px 35px rgba(4, 27, 61, 0.15);
    border-top: 1px solid var(--border);
    border-radius: 0 0 18px 18px;
    gap: 4px;
    z-index: 1001;
  }
  .nav-menu.show {
    display: flex;
    animation: slideDownNav 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .nav-menu li {
    width: 100%;
  }
  .nav-link {
    font-size: 0.98rem;
    font-weight: 600;
    padding: 12px 16px;
    width: 100%;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1e293b;
    border-bottom: 1px solid #f8fafc;
  }
  .nav-link:hover, .nav-link.active {
    background: #edf5ff;
    color: var(--primary);
  }
  .nav-link.active::after {
    display: none;
  }
  
  /* Hero on mobile */
  .hero-section {
    padding: 48px 0 54px;
    min-height: auto;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-content h1 {
    font-size: 2.15rem;
    line-height: 1.18;
    margin-bottom: 14px;
  }
  .hero-content p {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-buttons .btn {
    width: 100%;
    padding: 13px 20px;
    justify-content: center;
    font-size: 0.94rem;
    white-space: normal;
    text-align: center;
  }
  .hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .feature-pill-card {
    padding: 12px 16px;
  }

  /* About section (Fix Sejak 2018 & content di HP) */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    min-width: 0;
  }
  .about-image-wrapper {
    width: 100%;
    max-height: 260px;
    border-radius: var(--radius);
    overflow: hidden;
  }
  .about-image-wrapper img {
    height: 240px !important;
    width: 100%;
    object-fit: cover;
  }
  .since-badge {
    bottom: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 10px;
  }
  .since-badge .text {
    font-size: 0.72rem;
  }
  .since-badge .year {
    font-size: 1.35rem;
  }
  .about-content {
    width: 100%;
    min-width: 0;
  }
  .about-content h2 {
    font-size: 1.45rem;
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .about-content p {
    font-size: 0.92rem;
    line-height: 1.65;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .about-pills-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    margin: 20px 0 24px;
  }
  .about-pill {
    padding: 10px 14px;
    font-size: 0.82rem;
    border-radius: 10px;
    width: 100%;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* MATIKAN SEMUA TRANSLATEX HORIZONTAL PADA MOBILE AGAR KONTEN TIDAK TERPOTONG */
  .reveal-left,
  .reveal-right,
  .reveal-up,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Grids & Cards */
  .gallery-blog-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-card-box {
    grid-template-columns: 1fr;
  }
  .contact-map-col {
    height: 250px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Inner pages grid responsive collapsing */
  .visi-misi-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ship-detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .blog-page-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .blog-detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .gallery-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@keyframes slideDownNav {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- 5. Mobile Phones Priority (max-width: 640px) --- */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .section {
    padding: 45px 0;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
  }
  .section-title {
    font-size: 1.55rem;
    line-height: 1.25;
    word-break: break-word;
  }
  .hero-content h1 {
    font-size: clamp(1.65rem, 6.2vw, 2.15rem);
    line-height: 1.2;
    word-break: break-word;
  }
  .hero-content p {
    font-size: 0.92rem;
    word-break: break-word;
  }

  /* Explicit About section protection for mobile (Sejak 2018 & Isi) */
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .about-image-wrapper {
    max-height: 240px !important;
    width: 100% !important;
    border-radius: 12px;
  }
  .about-image-wrapper img {
    height: 220px !important;
    width: 100% !important;
    object-fit: cover;
  }
  .since-badge {
    bottom: 10px !important;
    left: 10px !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
  }
  .since-badge .text {
    font-size: 0.68rem !important;
  }
  .since-badge .year {
    font-size: 1.25rem !important;
  }
  .about-content {
    width: 100% !important;
    min-width: 0 !important;
  }
  .about-content h2 {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
  }
  .about-content p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    word-break: break-word !important;
  }
  .about-pills-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 16px 0 20px !important;
  }
  .about-pill {
    padding: 9px 12px !important;
    font-size: 0.8rem !important;
    width: 100% !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  /* 10 Service Cards in 2-Column Grid on Mobile */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .service-card {
    border-radius: 12px;
  }
  .service-card-thumb,
  .service-card-thumb-wrap {
    height: 115px;
  }
  .service-badge-num {
    width: 28px;
    height: 28px;
    font-size: 0.74rem;
    bottom: -14px;
    left: 8px;
    border-width: 2.5px;
  }
  .service-card-body {
    padding: 16px 10px 14px;
  }
  .service-card-title {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    display: block;
    word-break: break-word;
    overflow-wrap: break-word;
    min-height: auto;
  }
  .service-card-link {
    font-size: 0.76rem;
    font-weight: 700;
  }

  /* Ships */
  .ships-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .ship-card-thumb {
    height: 125px;
  }
  .ship-card-body {
    padding: 14px 10px;
    min-width: 0;
  }
  .ship-card-title {
    font-size: 0.86rem;
    line-height: 1.3;
    word-break: break-word;
  }
  .ship-spec-item {
    font-size: 0.72rem;
  }
  .ship-btn-contact {
    padding: 8px 8px;
    font-size: 0.76rem;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }

  /* Gallery & Blog */
  .gallery-thumbs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .gallery-thumb-item {
    height: 95px;
  }
  .gallery-page-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .blog-articles-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .blog-mini-card,
  .blog-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .blog-mini-thumb,
  .blog-card-thumb {
    width: 95px;
    height: 85px;
    flex-shrink: 0;
  }
  .blog-mini-body,
  .blog-card-body {
    padding: 8px 10px 8px 0;
    min-width: 0;
  }
  .blog-mini-title,
  .blog-card-title {
    font-size: 0.84rem;
    line-height: 1.35;
    word-break: break-word;
  }
  .blog-mini-meta {
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.7rem;
  }

  /* Stats Counter Bar on Mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
  }
  .stat-item {
    gap: 10px;
    align-items: center;
    min-width: 0;
  }
  .stat-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
    border-radius: 10px;
    flex-shrink: 0;
  }
  .stat-content {
    min-width: 0;
  }
  .stat-content h3 {
    font-size: 1.35rem;
    line-height: 1.1;
  }
  .stat-content p {
    font-size: 0.72rem;
    line-height: 1.25;
    white-space: normal;
    word-break: break-word;
    margin-top: 2px;
  }

  /* Contact & Form */
  .contact-info-col {
    padding: 22px 16px;
  }
  .form-control {
    font-size: 16px; /* Prevents auto-zoom on iOS mobile */
  }

  /* Footer Bottom on Mobile */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  /* Service Detail Modal Popup on Mobile (HP) */
  .service-modal-overlay {
    padding: 12px;
  }
  .service-modal-card {
    max-width: 100%;
    border-radius: 16px;
    max-height: 94vh;
  }
  .service-detail-thumb {
    height: 205px;
  }
  .service-detail-notch {
    padding: 8px 14px 6px 10px;
    border-top-left-radius: 18px;
    gap: 8px;
  }
  .service-detail-notch .notch-btn {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  .service-detail-notch .notch-text span {
    font-size: 0.58rem;
  }
  .service-detail-notch .notch-text strong {
    font-size: 0.65rem;
    white-space: normal;
    word-break: break-word;
  }
  .service-detail-body {
    padding: 18px 16px 22px;
  }
  .service-detail-title {
    font-size: 1.35rem;
    word-break: break-word;
  }
  .service-detail-num {
    width: 36px;
    height: 36px;
    font-size: 0.98rem;
  }
  .service-detail-text {
    font-size: 0.88rem;
    line-height: 1.62;
    margin-bottom: 22px;
    word-break: break-word;
  }
  .btn-service-contact {
    padding: 13px 16px;
    font-size: 0.88rem;
    border-radius: 10px;
  }
  .service-modal-close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 0.88rem;
  }
}

/* --- 6. Ultra-Compact Phones (max-width: 360px) --- */
@media (max-width: 360px) {
  .hero-content h1 {
    font-size: 1.85rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .ships-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   Entrance & Scroll Animations (Left / Right / Up)
   =================================================== */

/* 1. Page Load Keyframes */
@keyframes heroSlideLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroSlideRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply entrance animations immediately upon landing */
.hero-content {
  animation: heroSlideLeft 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-features {
  animation: heroSlideRight 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-features .feature-pill-card:nth-child(1) {
  animation: heroSlideRight 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero-features .feature-pill-card:nth-child(2) {
  animation: heroSlideRight 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero-features .feature-pill-card:nth-child(3) {
  animation: heroSlideRight 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* 2. Scroll Trigger Classes (Desktop Only - dinonaktifkan di mobile agar konten tidak terpotong) */
@media (min-width: 901px) {
  .reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
  }

  .reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
  }

  .reveal-up {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
  }

  .reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
  }

  /* Activated state when visible in viewport */
  .reveal-left.active,
  .reveal-right.active,
  .reveal-up.active,
  .reveal-scale.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

/* ==========================================================================
   SERVICE DETAIL CARD & POPUP MODAL (BASED ON REFERENCE DESIGN)
   ========================================================================== */

.service-detail-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(4, 27, 61, 0.12);
  overflow: hidden;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.service-detail-thumb {
  position: relative;
  width: 100%;
  height: 270px;
  background: #cbd5e1;
  overflow: hidden;
}

.service-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Curved Notch on bottom right of the image */
.service-detail-notch {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #ffffff;
  padding: 10px 18px 8px 14px;
  border-top-left-radius: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: -4px -4px 15px rgba(0, 0, 0, 0.08);
  z-index: 5;
}

.service-detail-notch .notch-btn {
  width: 36px;
  height: 36px;
  background: #0066cc;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 102, 204, 0.3);
}

.service-detail-notch .notch-text {
  display: flex;
  flex-direction: column;
}

.service-detail-notch .notch-text span {
  font-size: 0.65rem;
  color: #64748b;
  line-height: 1.1;
  margin-bottom: 2px;
}

.service-detail-notch .notch-text strong {
  font-size: 0.72rem;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.service-detail-body {
  padding: 26px 28px 30px;
  background: #ffffff;
}

.service-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.service-detail-kicker {
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 500;
  display: block;
  margin-bottom: 3px;
}

.service-detail-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0066cc;
  line-height: 1.2;
  margin: 0;
}

.service-detail-num {
  width: 44px;
  height: 44px;
  background: #0066cc;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.28);
}

.service-detail-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.service-detail-divider .divider-bar {
  width: 22px;
  height: 3.5px;
  background: #475569;
  border-radius: 2px;
}

.service-detail-divider .divider-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #334155;
}

.service-detail-text {
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.btn-service-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 20px;
  background: #0066cc;
  color: #ffffff !important;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 102, 204, 0.28);
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-service-contact:hover {
  background: #004d9f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.4);
}

/* Service Detail Modal Overlay */
.service-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 27, 61, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.service-modal-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 92vh;
  overflow-y: auto;
}

.service-modal-overlay.active .service-modal-card {
  transform: translateY(0) scale(1);
}

.service-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 20;
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
}

.service-modal-close:hover {
  background: #dc2626;
  border-color: #ffffff;
  transform: rotate(90deg);
}

