/* ============================================
   SunView Fabrication Engineer – Global CSS
   Use this file in all pages:
   <link rel="stylesheet" href="css/style.css"/>
   ============================================ */

/* ── GOOGLE FONTS (load in HTML head) ──
   <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600&display=swap" rel="stylesheet"/>
*/

/* ── CSS VARIABLES ── */
:root {
  --blue:       #1565c0;
  --blue2:      #1976d2;
  --blue-light: #e3f2fd;
  --dark:       #0d1b2a;
  --text:       #333333;
  --muted:      #666666;
  --border:     #dde4ed;
  --white:      #ffffff;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Open Sans', sans-serif; color: var(--text); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ══════════════════════════════════════
   TOP BAR
══════════════════════════════════════ */
.topbar {
  background: var(--blue);
  color: #fff;
  font-size: .82rem;
  padding: 7px 0;
}
.topbar a { color: #fff; opacity: .9; transition: .2s; }
.topbar a:hover { opacity: 1; }
.topbar .sep { margin: 0 12px; opacity: .4; }

/* ══════════════════════════════════════
   HEADER / NAVBAR
══════════════════════════════════════ */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.logo-wrap img { height: 56px; width: auto; object-fit: contain; }

nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
nav ul li a {
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  color: var(--dark);
  padding: 8px 14px;
  border-radius: 4px;
  transition: .2s;
  letter-spacing: .02em;
}
nav ul li a:hover,
nav ul li a.active { color: var(--blue); }

.header-btns { display: flex; gap: 10px; }

/* ══════════════════════════════════════
   BUTTONS (shared)
══════════════════════════════════════ */
.btn-call {
  background: var(--blue);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  transition: .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-call:hover { background: #0d47a1; }

.btn-wa {
  background: #25d366;
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  transition: .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-wa:hover { background: #1ebe5a; }

.btn-inquiry {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: #fff;
  padding: 8px 18px;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  transition: .2s;
}
.btn-inquiry:hover { background: #0d47a1; color: #fff; }

/* ══════════════════════════════════════
   PAGE BANNER (used on inner pages)
══════════════════════════════════════ */
.page-banner {
  background: linear-gradient(135deg, #0d1b2a 0%, #1565c0 100%);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.page-banner h1 em { color: #90caf9; font-style: normal; }

.breadcrumb-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}
.breadcrumb-wrap a { color: rgba(255,255,255,.7); transition: .2s; }
.breadcrumb-wrap a:hover { color: #fff; }
.breadcrumb-wrap .sep { opacity: .5; }
.breadcrumb-wrap .current { color: #90caf9; }

/* ══════════════════════════════════════
   SECTION COMMON
══════════════════════════════════════ */
.section-label {
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.7;
  max-width: 580px;
}
.divider-line {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), #90caf9);
  border-radius: 2px;
  margin-bottom: 20px;
}

/* ══════════════════════════════════════
   STATS BAND
══════════════════════════════════════ */
.stats-band { background: var(--blue); padding: 50px 0; }
.stat-item { text-align: center; }
.stat-item .num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
}
.stat-item .lbl {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.stat-item .icon {
  font-size: 2rem;
  color: #90caf9;
  margin-bottom: 8px;
}

/* ══════════════════════════════════════
   CTA BAND
══════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--dark), var(--blue));
  padding: 70px 0;
  text-align: center;
}
.cta-band h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.cta-band p {
  color: rgba(255,255,255,.8);
  margin-bottom: 28px;
  font-size: .97rem;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer { background: var(--dark); padding: 60px 0 28px; }
footer .logo-wrap img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
}
footer p.foot-desc {
  color: rgba(255,255,255,.6);
  font-size: .86rem;
  line-height: 1.7;
}
footer h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #90caf9;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 16px;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 9px; }
footer ul li a { color: rgba(255,255,255,.6); font-size: .86rem; transition: .2s; }
footer ul li a:hover { color: #fff; }

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: rgba(255,255,255,.6);
  font-size: .86rem;
}
.footer-contact-item i {
  color: #90caf9;
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
  margin-top: 40px;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.4); margin: 0; }

/* ══════════════════════════════════════
   FLOATING BUTTONS
══════════════════════════════════════ */
.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
  animation: float-bob 3s ease-in-out infinite;
}
.float-wa::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.3);
  animation: ring-out 2s ease-out infinite;
}
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes ring-out {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.float-call {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 6px 24px rgba(21,101,192,.4);
  transition: .2s;
}
.float-call:hover { transform: scale(1.1); }

/* ══════════════════════════════════════
   MOBILE NAV / HAMBURGER
══════════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: .3s;
}
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 2000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
}
.mobile-nav .close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
}

/* ══════════════════════════════════════
   FADE-UP ANIMATION
══════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 991px) {
  nav, .header-btns { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 576px) {
  .page-banner { padding: 40px 0 32px; }
}