/* ===== AMTEK – PT. Andromeda Multi Teknotama ===== */

:root {
  --blue:      #0a2d6e;
  --blue-mid:  #1a4db8;
  --blue-lt:   #3b82f6;
  --red:       #dc2626;
  --red-lt:    #ef4444;
  --bg:        #ffffff;
  --bg-soft:   #f8faff;
  --bg-light:  #f0f5ff;
  --border:    #e2eaf8;
  --text:      #1a1a2e;
  --muted:     #6b7280;
  --shadow:    0 4px 24px rgba(10,45,110,.10);
  --shadow-lg: 0 8px 40px rgba(10,45,110,.15);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, sans-serif; color: var(--text); background: #fff; scroll-behavior: smooth; }
a    { text-decoration: none; }
section { padding: 80px 0; }
img  { max-width: 100%; }

/* ── Subtle dot pattern for backgrounds ── */
.pattern-bg {
  background-color: var(--bg-soft);
  background-image: radial-gradient(circle, #c7d9ff 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ===================== NAVBAR ===================== */
.navbar-custom {
  background: #fff;
  box-shadow: 0 2px 20px rgba(10,45,110,.08);
  padding: .75rem 0;
}
.navbar-brand { font-weight: 800; font-size: 1.35rem; color: var(--blue) !important; letter-spacing: .3px; }
.navbar-brand .brand-red  { color: var(--red); }
.navbar-brand .brand-sub  { font-size: .78rem; font-weight: 400; color: var(--muted); display: block; line-height: 1.2; }

.navbar-custom .nav-link {
  color: var(--blue) !important;
  font-weight: 600;
  font-size: .88rem;
  padding: .5rem 1rem;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.navbar-custom .nav-link:hover { color: var(--red) !important; background: #fff5f5; }
.navbar-custom .nav-link.active { color: var(--red) !important; }

.navbar-custom .dropdown-menu {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 0;
  box-shadow: 0 12px 40px rgba(10,45,110,.12);
  margin-top: 8px;
}
.navbar-custom .dropdown-item { color: var(--blue); font-size: .88rem; padding: 9px 20px; font-weight: 500; }
.navbar-custom .dropdown-item:hover { background: var(--bg-light); color: var(--red); }
.navbar-custom .dropdown-header { color: var(--red); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; padding: 8px 20px 4px; font-weight: 700; }

/* Contact button in nav */
.btn-nav-contact {
  background: var(--red);
  color: #fff !important;
  border-radius: 8px;
  padding: .45rem 1.25rem !important;
  font-weight: 700 !important;
  font-size: .88rem !important;
  transition: background .2s, transform .1s;
}
.btn-nav-contact:hover { background: var(--red-lt) !important; transform: translateY(-1px); color: #fff !important; }

/* ===================== HERO ===================== */
.hero-section {
  min-height: 90vh;
  background: #fff;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(220,38,38,.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(10,45,110,.07) 0%, transparent 40%),
    radial-gradient(circle, #d1e0ff 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 30px 30px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 80px;
}
.hero-section::before {
  content: '';
  position: absolute; top: -60px; right: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10,45,110,.06), transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #fee2e2, #fef2f2);
  border: 1px solid #fca5a5;
  color: var(--red);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  margin-bottom: 1.25rem;
}
.hero-section h1 { font-size: clamp(2rem,5vw,3.2rem); font-weight: 800; line-height: 1.15; color: var(--blue); }
.hero-section h1 .accent-red  { color: var(--red); }
.hero-section p.lead { font-size: 1.05rem; color: var(--muted); max-width: 540px; }

.hero-visual {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.hero-stat .num { font-size: 1.8rem; font-weight: 800; color: var(--blue); }
.hero-stat .lbl { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hero-stat-divider { border-left: 1px solid var(--border); }

/* Partner pill inside hero */
.partner-pill {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .6rem .75rem;
  text-align: center;
}
.partner-pill img { height: 32px; object-fit: contain; width: 100%; }
.partner-pill-name { font-size: .68rem; color: var(--muted); font-weight: 600; margin-top: 4px; }

/* ===================== SECTION TITLES ===================== */
.section-badge {
  display: inline-block;
  background: #fee2e2;
  color: var(--red);
  border-radius: 6px;
  font-size: .72rem; font-weight: 700;
  padding: 4px 14px;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: .75rem;
}
.section-badge.blue { background: var(--bg-light); color: var(--blue); }
.section-title    { font-size: 1.9rem; font-weight: 800; color: var(--blue); }
.section-subtitle { color: var(--muted); max-width: 580px; margin: .5rem auto 0; font-size: .97rem; }

/* ===================== LOGO DISPLAY ===================== */
.logo-box {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  padding: 1.75rem 1.5rem;
  min-height: 110px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.logo-box:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue-lt); }
.logo-box img { max-height: 60px; max-width: 160px; object-fit: contain; width: 100%; }

/* Large logo box (product hero) */
.product-logo-box {
  background: var(--bg-soft);
  border: 2px solid var(--border);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  width: 160px; height: 160px;
}
.product-logo-box img { max-height: 100px; max-width: 120px; object-fit: contain; }

/* ===================== CARDS ===================== */
.solution-card {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  background: #fff;
  height: 100%;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.solution-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--red); }
.solution-card .icon-wrap {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, #fee2e2, #fef2f2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.25rem;
}
.solution-card h5 { font-weight: 700; color: var(--blue); margin-bottom: .5rem; }
.solution-card p  { font-size: .9rem; color: var(--muted); }

.product-card {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .25s, transform .25s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.product-card-header {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 150px;
}
.product-card-header img { max-height: 70px; max-width: 160px; object-fit: contain; }
.product-card-header .product-name { color: var(--blue); font-weight: 800; font-size: 1.05rem; margin-top: .75rem; }
.product-card-body { padding: 1.5rem; }

/* ===================== SERVICE ITEM ===================== */
.service-item {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 14px; padding: 1.5rem;
  transition: box-shadow .2s, transform .2s;
}
.service-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #fee2e2, #fef2f2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}

/* ===================== PARTNER STRIP ===================== */
.partner-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  min-height: 100px;
  transition: box-shadow .2s, transform .2s;
}
.partner-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.partner-card img { max-height: 50px; max-width: 130px; object-fit: contain; }

/* ===================== CTA SECTION ===================== */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 60%, #2563eb 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(220,38,38,.15);
  pointer-events: none;
}

/* ===================== PAGE HERO ===================== */
.page-hero {
  background: var(--blue);
  background-image: radial-gradient(circle at 80% 50%, rgba(220,38,38,.15), transparent 50%);
  padding: 110px 0 60px;
}
.page-hero h1   { color: #fff; font-weight: 800; font-size: clamp(1.8rem,4vw,2.6rem); }
.page-hero p    { color: #93b4e0; font-size: 1rem; }
.breadcrumb-item a            { color: #93c5fd; }
.breadcrumb-item.active       { color: #c8d8f8; }
.breadcrumb-item + .breadcrumb-item::before { color: #6b8fc4; }

/* ===================== PRODUCT HERO ===================== */
.product-hero {
  background: var(--blue);
  background-image: radial-gradient(circle at 80% 50%, rgba(220,38,38,.15), transparent 50%);
  padding: 110px 0 70px;
}

/* ===================== ABOUT / VISION ===================== */
.vision-mission-card {
  border-left: 4px solid var(--red);
  background: var(--bg-light);
  border-radius: 0 12px 12px 0;
  padding: 1.5rem 1.75rem;
}
.feature-list { list-style: disc; }
.feature-list li { padding: 5px 0; font-size: .95rem; }
.feature-list li::marker { color: var(--red); }

/* ===================== CONTACT ===================== */
.contact-info-card {
  background: var(--blue);
  background-image: radial-gradient(circle at 80% 50%, rgba(220,38,38,.15), transparent 60%);
  border-radius: 16px; padding: 2.5rem; color: #fff; height: 100%;
}
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-info-item .ci-icon { font-size: 1.2rem; margin-top: 2px; color: var(--red-lt); }
.contact-form-card { background: #fff; border-radius: 16px; padding: 2.5rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-control, .form-select {
  border-radius: 10px; border: 1.5px solid #d1dfff;
  padding: .7rem 1rem; font-size: .92rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(220,38,38,.12); outline: none; }
.btn-submit { background: var(--red); color: #fff; border: none; padding: .75rem 2rem; border-radius: 10px; font-weight: 700; font-size: .95rem; transition: background .2s; }
.btn-submit:hover { background: var(--red-lt); color: #fff; }
.map-container { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.map-container iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ===================== FOOTER ===================== */
.site-footer { background: #06183a; color: #c8d8f8; }
.site-footer h6 { color: #fff; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.2rem; }
.site-footer a   { color: #9bb8ee; font-size: .88rem; transition: color .2s; display: block; margin-bottom: .5rem; }
.site-footer a:hover { color: #f87171; }
.footer-brand   { font-size: 1.3rem; font-weight: 800; color: #fff; }
.footer-brand .fb-red { color: #f87171; }
.footer-bottom  { border-top: 1px solid rgba(100,160,255,.12); padding: 1.25rem 0; font-size: .82rem; color: #6b8fc4; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(220,38,38,.15); border: 1px solid rgba(248,113,113,.2);
  display: inline-flex; align-items: center; justify-content: center;
  color: #f87171 !important; font-size: .9rem; transition: background .2s;
  margin-right: 6px; margin-bottom: 0 !important;
}
.social-btn:hover { background: rgba(220,38,38,.3); }

/* ===================== BUTTONS ===================== */
.btn-primary-red {
  background: var(--red); color: #fff; border: none;
  padding: .7rem 1.75rem; border-radius: 10px; font-weight: 700; font-size: .92rem;
  transition: background .2s, transform .1s; display: inline-flex; align-items: center;
}
.btn-primary-red:hover { background: var(--red-lt); color: #fff; transform: translateY(-1px); }

.btn-primary-blue {
  background: var(--blue); color: #fff; border: none;
  padding: .7rem 1.75rem; border-radius: 10px; font-weight: 700; font-size: .92rem;
  transition: background .2s, transform .1s; display: inline-flex; align-items: center;
}
.btn-primary-blue:hover { background: var(--blue-mid); color: #fff; transform: translateY(-1px); }

.btn-outline-blue {
  border: 2px solid var(--blue); color: var(--blue);
  background: transparent;
  padding: .65rem 1.75rem; border-radius: 10px; font-weight: 700; font-size: .92rem;
  transition: all .2s;
}
.btn-outline-blue:hover { background: var(--blue); color: #fff; }

.btn-cta-white {
  background: #fff; color: var(--red);
  border: none; padding: .7rem 2rem; border-radius: 10px; font-weight: 700; font-size: .95rem;
  transition: background .2s, transform .1s;
}
.btn-cta-white:hover { background: #f0f5ff; color: var(--blue); transform: translateY(-1px); }

.btn-cta-outline {
  border: 2px solid rgba(255,255,255,.5); color: #fff;
  background: transparent;
  padding: .65rem 2rem; border-radius: 10px; font-weight: 700; font-size: .95rem;
  transition: all .2s;
}
.btn-cta-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* Sidebar sticky card */
.sidebar-card {
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  position: sticky; top: 5rem;
}

/* ===================== UTILITIES ===================== */
.text-blue     { color: var(--blue); }
.text-red      { color: var(--red); }
.fw-800        { font-weight: 800; }
.rounded-16    { border-radius: 16px; }
.bg-soft       { background: var(--bg-soft); }
.border-light  { border: 1px solid var(--border); }

/* Stat box */
.stat-box {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
}
.stat-box .sn  { font-size: 1.9rem; font-weight: 800; color: var(--blue); }
.stat-box .sl  { font-size: .78rem; color: var(--muted); }

/* Use-case box */
.usecase-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
}
.usecase-box strong { color: var(--blue); display: block; margin-bottom: 3px; }

/* Highlight strip (red left border) */
.highlight-strip { border-left: 4px solid var(--red); padding-left: 1.25rem; }

/* Divider red */
.divider-red  { height: 4px; width: 60px; background: var(--red); border-radius: 2px; margin: 1rem 0; }
.divider-blue { height: 4px; width: 60px; background: var(--blue); border-radius: 2px; margin: 1rem 0; }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-fadeup { animation: fadeInUp .6s ease both; }
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s;  }
.delay-3 { animation-delay: .45s; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .hero-section { min-height: auto; padding: 100px 0 60px; }
  .page-hero, .product-hero { padding: 90px 0 40px; }
  .contact-info-card { margin-bottom: 1.5rem; }
}


/* ===== FIX NAVBAR SIZE BIAR COMPACT ===== */

/* Navbar height lebih kecil */
.navbar-custom {
  padding: 4px 0;
}

/* Brand wrapper */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* LOGO KIRI (PALING PENTING) */
.brand-logo {
  height: 24px;
  transform: scale(1.4);
  transform-origin: left center;
  margin-right: 10px; /* 🔥 ini kasih jarak ke kanan */
}

/* TEXT WRAPPER */
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

/* AMTEK TEXT */
.brand-title {
  font-size: 14px;   /* kecil & clean */
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* SUB TEXT */
.brand-sub {
  font-size: 9px;    /* kecil banget biar ga makan space */
  color: #6b7280;
  font-weight: 500;
}

/* NAV LINK BIAR PROPORSIONAL */
.navbar-custom .nav-link {
  font-size: 13px;
  padding: 6px 10px;
}

/* CONTACT BUTTON BIAR GA KEGEDEAN */
.btn-nav-contact {
  padding: 5px 10px !important;
  font-size: 12px !important;
  border-radius: 6px;
}