/* =====================
   RESET & BASE
===================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* =====================
   TOPBAR
===================== */
.topbar {
  background: #1a1a2e;
  color: #ccc;
  font-size: 0.78rem;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; }

.topbar-left a {
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}

.topbar-left a:hover { color: #fff; }

.topbar-right { display: flex; align-items: center; gap: 14px; }

.topbar-right a {
  color: #ccc;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.topbar-right a:hover { color: #fff; }

/* =====================
   NAVBAR
===================== */
.navbar {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span { color: #1565c0; }
.logo-icon { color: #1565c0; font-size: 1.2rem; }

.nav-links { display: flex; gap: 32px; }

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1565c0;
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active { color: #1565c0; }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: all 0.3s;
}

/* =====================
   PAGE HERO
===================== */
.page-hero {
  position: relative;
  height: 52vh;
  min-height: 320px;
  /* bg set inline */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 35, 0.68);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 0 24px;
}

.hero-tagline {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: #90caf9;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page-hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.page-hero-content h1 span { color: #4fc3f7; }

.page-hero-content p {
  font-size: 1.05rem;
  color: #dce8ff;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* =====================
   BUTTONS
===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.btn-primary {
  background: #1565c0;
  color: #fff;
  border-color: #1565c0;
  box-shadow: 0 4px 18px rgba(21,101,192,0.35);
}

.btn-primary:hover {
  background: #0d47a1;
  border-color: #0d47a1;
}

.btn-white {
  background: #fff;
  color: #1565c0;
  border-color: #fff;
}

.btn-white:hover {
  background: transparent;
  color: #fff;
}

/* =====================
   SECTION HEADER
===================== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  color: #1a1a2e;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #1565c0;
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-header p { color: #666; font-size: 1rem; }

/* =====================
   PAGE INTRO
===================== */
.page-intro {
  padding: 72px 24px 56px;
  background: #fff;
}

.page-intro .section-header {
  max-width: 1200px;
  margin: 0 auto;
}

/* =====================
   SERVICE DETAIL
===================== */
.service-detail {
  padding: 72px 24px;
}

.service-detail.alt-bg {
  background: #f4f7fb;
}

.service-detail-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 56px;
  align-items: start;
}

.service-detail-inner.reverse {
  grid-template-columns: 1fr 180px;
}

.service-detail-inner.reverse .service-detail-icon {
  order: 2;
}

.service-detail-inner.reverse .service-detail-content {
  order: 1;
}

.service-detail-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #1565c0, #1e88e5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(21,101,192,0.3);
  flex-shrink: 0;
  margin: 0 auto;
}

.service-detail-icon i {
  font-size: 2.6rem;
  color: #fff;
}

.service-detail-content h3 {
  font-size: 1.55rem;
  color: #1a1a2e;
  margin-bottom: 16px;
  font-weight: 700;
}

.service-detail-content p {
  font-size: 0.98rem;
  color: #555;
  line-height: 1.85;
  margin-bottom: 24px;
}

.service-detail-content ul {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-detail-content ul li {
  font-size: 0.92rem;
  color: #444;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.7;
}

.service-detail-content ul li i {
  display: none;
}

.service-detail-content ul li div strong {
  color: inherit;
  font-weight: normal;
}

/* =====================
   CTA BANNER
===================== */
.cta-banner {
  background: linear-gradient(135deg, #1565c0, #0d47a1);
  color: #fff;
  text-align: center;
  padding: 72px 24px;
}

.cta-banner h2 { font-size: 2rem; margin-bottom: 14px; }

.cta-banner p {
  font-size: 1rem;
  color: #cce0ff;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================
   FOOTER
===================== */
.footer {
  background: #1a1a2e;
  color: #aaa;
  padding: 60px 24px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2e2e4e;
}

.footer-brand .logo {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 14px;
  display: inline-block;
}

.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: #888; }

.footer-links h4,
.footer-services h4,
.footer-contact h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }

.footer-links a,
.footer-services a {
  display: block;
  color: #888;
  font-size: 0.88rem;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.footer-links a:hover,
.footer-services a:hover { color: #64b5f6; }

.footer-contact p {
  font-size: 0.88rem;
  color: #888;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact i { color: #1565c0; }

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.82rem;
  color: #555;
}

/* =====================
   FLOATING CALL BUTTON
===================== */
.float-call {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: #1565c0;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 20px rgba(21,101,192,0.5);
  z-index: 9999;
  transition: background 0.3s, transform 0.3s;
  animation: pulse 2s infinite;
}

.float-call:hover { background: #0d47a1; transform: scale(1.1); }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(21,101,192,0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(21,101,192,0); }
  100% { box-shadow: 0 0 0 0 rgba(21,101,192,0); }
}

/* =====================
   LAPTOP  1024px
===================== */
@media (max-width: 1024px) {
  .page-hero-content h1 { font-size: 2.4rem; }

  .service-detail-inner,
  .service-detail-inner.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .service-detail-inner.reverse .service-detail-icon { order: 0; }
  .service-detail-inner.reverse .service-detail-content { order: 0; }

  .service-detail-content ul {
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-container { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* =====================
   LARGE MOBILE  385-575px
===================== */
@media (min-width: 385px) and (max-width: 575px) {
  .topbar { flex-direction: column; align-items: center; text-align: center; font-size: 0.72rem; padding: 8px 16px; gap: 6px; }
  .topbar-left { flex-direction: column; align-items: center; gap: 4px; }
  .topbar-right { gap: 12px; justify-content: center; }
  .nav-container { padding: 12px 16px; }
  .logo { font-size: 1.2rem; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 16px 24px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    gap: 16px;
    z-index: 998;
  }

  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .page-hero { height: auto; min-height: 280px; padding: 80px 16px 60px; }
  .page-hero-content h1 { font-size: 2rem; }
  .page-hero-content p { font-size: 0.92rem; }

  .service-detail { padding: 48px 28px; }
  .service-detail-content h3 { font-size: 1.25rem; }
  .service-detail-content ul { grid-template-columns: 1fr; }

  .btn { width: 100%; justify-content: center; }

  .footer-container { grid-template-columns: 1fr; gap: 28px; }
  .cta-banner h2 { font-size: 1.5rem; }
}

/* =====================
   SMALL MOBILE  max 384px
===================== */
@media (max-width: 384px) {
  .topbar { flex-direction: column; align-items: center; text-align: center; font-size: 0.68rem; padding: 6px 12px; gap: 5px; }
  .topbar-left { flex-direction: column; align-items: center; gap: 3px; }
  .topbar-right { gap: 10px; justify-content: center; }
  .nav-container { padding: 10px 14px; }
  .logo { font-size: 1.1rem; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 14px 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    gap: 14px;
    z-index: 998;
  }

  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .page-hero { height: auto; min-height: 260px; padding: 70px 14px 50px; }
  .page-hero-content h1 { font-size: 1.7rem; }
  .page-hero-content p { font-size: 0.85rem; }

  .service-detail { padding: 40px 24px; }
  .service-detail-content h3 { font-size: 1.15rem; }
  .service-detail-content ul { grid-template-columns: 1fr; }

  .btn { width: 100%; justify-content: center; padding: 10px 20px; font-size: 0.88rem; }

  .footer-container { grid-template-columns: 1fr; gap: 24px; }
  .cta-banner { padding: 48px 14px; }
  .cta-banner h2 { font-size: 1.3rem; }
}
