﻿

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --primary:        #2B3CA8;
  --primary-light:  #B8C0F0;
  --primary-pale:   #E8EBFF;
  --primary-soft:   #C5CBF5;
  --accent:         #F0A500;
  --accent-light:   #FFF3D0;
  --bg:             #F7F8FF;
  --bg-white:       #FFFFFF;
  --text-dark:      #1A2260;
  --text-body:      #4A5080;
  --text-muted:     #8890C0;
  --border:         #E0E4F5;
  --splash-bg:      #B8C0F0;
  --radius:         20px;
  --radius-sm:      12px;
  --radius-xs:      8px;
  --shadow:         0 8px 32px rgba(43,60,168,0.12);
  --shadow-sm:      0 2px 12px rgba(43,60,168,0.08);
  --shadow-card:    0 4px 20px rgba(43,60,168,0.10);
  --transition:     all 0.25s cubic-bezier(0.4,0,0.2,1);
  --font-head:      'Nunito', sans-serif;
  --font-body:      'Poppins', sans-serif;
  --nav-h:          64px;
  --bottom-nav-h:   72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

.splash-screen {
  position: fixed;
  inset: 0;
  background: var(--splash-bg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 60px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.splash-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-blob {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #C5CBF5 0%, #B8C0F0 60%, rgba(184,192,240,0) 100%);
}
.splash-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 32px;
}
.splash-content h1 {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1.15;
}
.splash-arrow-btn {
  width: 56px; height: 56px;
  background: var(--primary-pale);
  border: none; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-left: auto;
  color: var(--primary);
  font-size: 22px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.splash-arrow-btn:hover { background: var(--primary); color: #fff; transform: scale(1.05); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--bg-white);
  border-bottom: 1.5px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.header-location {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  transition: var(--transition);
  min-width: 0;
}
.header-location:hover { background: var(--primary-pale); }
.location-icon { color: var(--primary); font-size: 18px; flex-shrink: 0; }
.location-text { min-width: 0; }
.location-label { font-size: 11px; color: var(--text-muted); font-weight: 500; display: block; }
.location-city {
  font-size: 14px; font-weight: 700; color: var(--text-dark);
  display: flex; align-items: center; gap: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 140px;
}
.location-city .chevron { font-size: 11px; color: var(--text-muted); flex-shrink: 0; }
#location-loading { font-size: 12px; color: var(--text-muted); }

.header-logo {
  font-family: var(--font-head);
  font-size: 20px; font-weight: 900;
  color: var(--primary);
  display: none;
}
.header-logo span { color: var(--accent); }

.header-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid var(--primary-soft);
  flex-shrink: 0;
  background: var(--primary-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 18px;
}
.header-avatar img { width: 100%; height: 100%; object-fit: cover; }

.search-wrap {
  position: relative;
  margin: 20px 0;
}
.search-input {
  width: 100%;
  padding: 14px 18px 14px 46px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--bg-white);
  font-size: 14px;
  color: var(--text-dark);
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(43,60,168,0.1); }
.search-input::placeholder { color: var(--text-muted); }
.search-icon {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted); font-size: 16px;
  pointer-events: none;
}

.hero-section { padding: 28px 0 8px; }
.hero-headline {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 4px;
}
.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 6px 14px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.stars { color: var(--accent); font-size: 13px; letter-spacing: 1px; }
.rating-text { font-size: 13px; font-weight: 600; color: var(--text-body); }
.download-bill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-xs);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: var(--transition);
  text-decoration: none;
}
.download-bill-btn:hover { background: #1e2d8a; color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-title { font-size: 19px; font-weight: 800; color: var(--text-dark); }
.see-all-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}
.see-all-link:hover { background: var(--primary-pale); }

.categories-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}
.categories-scroll::-webkit-scrollbar { display: none; }

.cat-card {
  flex: 0 0 160px;
  min-width: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  aspect-ratio: 3/4;
  text-decoration: none;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.cat-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
  padding: 40px 14px 14px;
  border-radius: 0 0 var(--radius) var(--radius);
}
.cat-card-no-img {
  width: 100%; height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 14px;
}
.cat-card-bg {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}
.cat-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 2px;
}
.cat-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.services-grid { display: flex; flex-direction: column; gap: 14px; }
.service-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}
.service-card:hover { border-color: var(--primary-soft); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.service-icon-wrap {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  background: var(--primary-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 28px;
}
.service-info { flex: 1; min-width: 0; }
.service-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.service-desc { font-size: 12.5px; color: var(--text-body); line-height: 1.5; margin-bottom: 8px; }
.service-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--accent-light);
  border-radius: 6px;
  padding: 3px 8px;
}
.service-rating .stars { font-size: 11px; }
.service-rating-text { font-size: 12px; font-weight: 600; color: var(--text-body); }

.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #4B6AE8 100%);
  border-radius: var(--radius);
  padding: 32px 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
}
.page-banner::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}
.page-banner h1 { font-size: 28px; color: #fff; margin-bottom: 10px; }
.page-banner p  { font-size: 14px; opacity: 0.85; }

.cta-banner {
  background: linear-gradient(135deg, #1A2260 0%, var(--primary) 100%);
  border-radius: var(--radius);
  padding: 28px 24px;
  color: #fff;
  text-align: center;
  margin: 28px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner h3 { font-size: 22px; color: #fff; margin-bottom: 8px; }
.cta-banner p  { font-size: 13.5px; opacity: 0.85; margin-bottom: 20px; }

.btn-primary-ac {
  background: var(--primary);
  color: #fff; border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-family: var(--font-head);
  font-size: 15px; font-weight: 700;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary-ac:hover { background: #1e2d8a; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-ac {
  background: transparent;
  color: var(--primary); border: 2px solid var(--primary);
  border-radius: 50px;
  padding: 12px 28px;
  font-family: var(--font-head);
  font-size: 14px; font-weight: 700;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-ac:hover { background: var(--primary); color: #fff; }
.btn-white-ac {
  background: #fff; color: var(--primary);
  border: none; border-radius: 50px;
  padding: 13px 28px;
  font-family: var(--font-head);
  font-size: 14px; font-weight: 700;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-white-ac:hover { background: var(--primary-pale); transform: translateY(-1px); }

.why-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 20px 0; }
.why-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.why-card:hover { border-color: var(--primary-soft); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.why-icon { font-size: 30px; margin-bottom: 10px; }
.why-card h6 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.why-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 0; }

@media (min-width: 480px) {
  .why-grid { grid-template-columns: repeat(2,1fr); }
}

.about-mission-card {
  background: var(--primary-pale);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  border: 1.5px solid var(--primary-soft);
}
.about-mission-card h4 { font-size: 18px; color: var(--primary); margin-bottom: 10px; }
.about-mission-card p  { font-size: 14px; color: var(--text-body); line-height: 1.6; }
.about-stat { text-align: center; }
.about-stat-num { font-size: 32px; font-weight: 900; color: var(--primary); }
.about-stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }

.terms-section {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 20px;
  margin-bottom: 14px;
}
.terms-section h5 { font-size: 16px; color: var(--primary); margin-bottom: 10px; }
.terms-section p  { font-size: 13.5px; color: var(--text-body); line-height: 1.65; }

.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--bottom-nav-h);
  background: var(--bg-white);
  border-top: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 400;
  box-shadow: 0 -4px 24px rgba(43,60,168,0.08);
  padding: 0 8px;
}
.bn-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  flex: 1; padding: 8px 4px;
  color: var(--text-muted);
  font-size: 11px; font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: none; background: none;
}
.bn-item i { font-size: 22px; }
.bn-item.active { color: var(--primary); }
.bn-item span { font-family: var(--font-body); }

.site-footer {
  background: var(--bg-white);
  border-top: 1.5px solid var(--border);
  padding: 40px 0 calc(var(--bottom-nav-h) + 16px);
}
.footer-brand { font-family: var(--font-head); font-size: 22px; font-weight: 900; color: var(--primary); margin-bottom: 8px; }
.footer-brand span { color: var(--accent); }
.footer-tagline { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; margin-bottom: 24px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: var(--transition);
  text-decoration: none;
}
.social-btn.wa  { background: #E7F9EF; color: #25D366; }
.social-btn.fb  { background: #E7EEFF; color: #1877F2; }
.social-btn.ig  { background: #FFF0F5; color: #E1306C; }
.social-btn.yt  { background: #FFF0F0; color: #FF0000; }
.social-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links li a {
  font-size: 14px; color: var(--text-body); font-weight: 500;
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.footer-links li a:hover { color: var(--primary); padding-left: 4px; }
.footer-links li a i { color: var(--primary); font-size: 12px; }
.footer-copy { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); }

.page-wrap { padding: 0 16px calc(var(--bottom-nav-h) + 16px); max-width: 600px; margin: 0 auto; }

.fade-up {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--primary-soft); border-radius: 10px; }

@media (min-width: 768px) {
  :root { --nav-h: 70px; }
  .bottom-nav      { display: none; }
  .site-footer     { padding-bottom: 40px; }
  .page-wrap       { padding: 0 24px 60px; max-width: 900px; }
  .header-logo     { display: block; }
  .hero-headline   { font-size: 40px; }
  .why-grid        { grid-template-columns: repeat(3,1fr); gap: 20px; }
  .services-grid   { display: grid; grid-template-columns: repeat(2,1fr); }
  .cat-card        { flex: 0 0 200px; min-width: 200px; }
}

@media (min-width: 1024px) {
  .page-wrap       { max-width: 1100px; }
  .hero-headline   { font-size: 48px; }
  .services-grid   { grid-template-columns: repeat(3,1fr); }
  .categories-scroll { flex-wrap: wrap; overflow-x: visible; }
  .cat-card        { flex: 0 0 220px; min-width: 220px; }
}

@media (max-width: 380px) {
  .hero-headline { font-size: 26px; }
  .cat-card      { flex: 0 0 140px; min-width: 140px; }
}
