/* Usman Battery Sale & Service - SEO & Mobile-First Stylesheet */
:root {
  --navy: #0B2545;
  --navy-dark: #061529;
  --navy-light: #133B6E;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --orange: #E65100;
  --orange-hover: #BF4300;
  --bg-light: #F4F6F9;
  --white: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #475569;
  --border: #E2E8F0;
  --radius: 10px;
  --shadow: 0 4px 15px rgba(11, 37, 69, 0.08);
  --max-width: 1220px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for mobile sticky bar */
}

a {
  color: var(--navy-light);
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Utility Bar */
.top-bar {
  background-color: var(--navy-dark);
  color: var(--white);
  font-size: 0.875rem;
  padding: 8px 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.top-bar a {
  color: #93C5FD;
  font-weight: 600;
}
.top-bar a:hover {
  color: var(--white);
}

/* Header & Navigation */
.site-header {
  background-color: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand-logo img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
  padding: 3px;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.2;
}
.brand-sub {
  font-size: 0.78rem;
  color: #CBD5E1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 11px;
  border-radius: 6px;
}
.main-nav a:hover, .main-nav a.active {
  background-color: rgba(255,255,255,0.12);
  color: #38BDF8;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: transform 0.15s ease, background-color 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #052e16;
}
.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  color: var(--white);
}
.btn-call {
  background-color: var(--orange);
  color: var(--white);
}
.btn-call:hover {
  background-color: var(--orange-hover);
  color: var(--white);
}
.btn-navy {
  background-color: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background-color: var(--navy-light);
  color: var(--white);
}
.btn-outline {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background-color: var(--white);
  color: var(--navy);
}

/* Breadcrumbs */
.breadcrumbs {
  background-color: #E2E8F0;
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumbs span {
  margin: 0 6px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 50px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background-color: rgba(37, 211, 102, 0.2);
  color: #4ADE80;
  border: 1px solid #4ADE80;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 2.35rem;
  line-height: 1.2;
  margin-bottom: 16px;
  font-weight: 800;
}
.hero p {
  font-size: 1.05rem;
  color: #E2E8F0;
  margin-bottom: 24px;
}
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.hero-image-card {
  background: var(--white);
  padding: 10px;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.hero-image-card img {
  border-radius: 6px;
  width: 100%;
}

/* Page Sections */
.section {
  padding: 56px 0;
}
.section-white {
  background-color: var(--white);
}
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px auto;
}
.section-header h2 {
  font-size: 1.95rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 800;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Cards & Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 22px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(11, 37, 69, 0.14);
}
.card-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
  background-color: #F8FAFC;
}
.card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-title {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 700;
}
.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
  flex: 1;
}
.card-footer {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Content Rich Blocks */
.content-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.content-box h2, .content-box h3 {
  color: var(--navy);
  margin-bottom: 14px;
}
.content-box ul, .content-box ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
.content-box li {
  margin-bottom: 8px;
}

/* Checklist Box */
.enquiry-checklist {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-left: 5px solid var(--navy);
  padding: 24px;
  border-radius: var(--radius);
  margin: 24px 0;
}
.enquiry-checklist h3 {
  color: var(--navy);
  margin-bottom: 10px;
}

/* FAQ Accordion */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 14px;
  padding: 18px 22px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-answer {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Interactive Form */
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 0.92rem;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  font-size: 0.95rem;
}
.form-control:focus {
  outline: none;
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(19, 59, 110, 0.15);
}

/* Footer */
.site-footer {
  background-color: var(--navy-dark);
  color: #CBD5E1;
  padding: 50px 0 30px 0;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}
.footer-col h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
  padding-bottom: 4px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: #CBD5E1;
}
.footer-links a:hover {
  color: var(--whatsapp);
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

/* Sticky Mobile Action Bar */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 2px solid var(--border);
  display: flex;
  z-index: 9999;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.12);
}
.sticky-mobile-bar a {
  flex: 1;
  text-align: center;
  padding: 12px 6px;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.sticky-call {
  background-color: var(--navy);
  color: var(--white) !important;
}
.sticky-wa {
  background-color: var(--whatsapp);
  color: #052e16 !important;
}
.sticky-map {
  background-color: var(--orange);
  color: var(--white) !important;
}

@media (min-width: 992px) {
  .sticky-mobile-bar {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 1.85rem;
  }
  .nav-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 12px;
  }
  .main-nav.open {
    display: flex;
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
