/* ========================
   FIRST CALL TECHNOLOGY CSS
   ======================== */

:root {
  --green: #16a34a;
  --green-dark: #166534;
  --green-light: #dcfce7;
  --green-mid: #22c55e;
  --black: #0a0a0a;
  --dark: #111827;
  --gray: #6b7280;
  --light-gray: #f3f4f6;
  --border: #e5e7eb;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(22, 163, 74, 0.10);
  --radius: 14px;
  --transition: 0.22s ease;
  
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: #f8fafb;
  color: var(--dark);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; object-fit: cover; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Full-bleed section wrapper — keeps product grids off the viewport edges */
.full-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Content sections ────────────────────────────────────────── */
.products { padding: 40px 0; background: #f8fafb; }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-header h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--dark);
}

.product-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  background: white;
  font-size: 13px;
  cursor: pointer;
  
  font-weight: 500;
  transition: all var(--transition);
}
.tab:hover  { border-color: var(--green); color: var(--green); }
.tab.active { background: var(--green); border-color: var(--green); color: white; }

/* ── Product grid ────────────────────────────────────────────── */
 .product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

/* ── Product card ────────────────────────────────────────────── */
.product-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 8px 32px rgba(22,163,74,0.15);
  transform: translateY(-6px);
  border-color: var(--green);
}

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: #2bac1f;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  z-index: 1;
}
.product-badge.new { background: var(--green); }

.product-img {
  width: 100%;
  height: 140px;
  text-align: center;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: contain; }

.product-info    { padding: 10px; }
.product-brand   { font-size: 11px; color: var(--black); font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.product-name    { font-size: 13.5px; font-weight: 500; margin-bottom: 6px; line-height: 1.4; }
.product-sku     { font-size: 13px; font-weight: 500; line-height: 1.35; margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-rating  { font-size: 12px; color: #f59e0b; margin-bottom: 6px; }
.product-rating span { color: var(--gray); }
.product-price   { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.price-now       {  font-size: 18px; font-weight: 700; color: var(--black); }
.price-old       { font-size: 13px; color: var(--gray); text-decoration: line-through; }

.card-actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.add-cart-btn,
.wa-btn {
  flex: 1;
}

.add-cart-btn {
  background: var(--green);
  color: white;
  border: none;
  padding: 6px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  
  
}

.wa-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 6px;
  color: #168f34;
}
.wa-btn svg {
  width: 26px;
  height: 26px;
  fill: #168f34;
}
/* ── Brands ──────────────────────────────────────────────────── */
.brands { padding: 60px 0; background: white; }
.brand-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.brand-item {
  padding: 14px 30px;
  border: 2px solid var(--border);
  font-weight: 700;
  font-size: 15px;
  color: var(--gray);
  transition: all var(--transition);
  cursor: pointer;
}
.brand-item:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
}

/* ── Laptops Products Section ────────────────────────────────── */
.laptops-products {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
  padding: 60px 0;
}
.laptops-products .product-tabs .tab { background: white; }
.laptops-products .product-tabs .tab.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
@media (max-width: 768px) {
  .laptops-products .product-tabs { flex-wrap: wrap; justify-content: center; }
  .laptops-products .product-tabs .tab { font-size: 11px; padding: 6px 12px; }
}

/* ── Testimonials ────────────────────────────────────────────── */
.testimonial-section { padding: 70px 20px; background: #f8fafc; }
.section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #222;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: #fff;
  padding: 22px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  transition: transform 0.2s ease;
}
.testimonial-card:hover { transform: translateY(-5px); }
.stars       { color: #f5a623; font-size: 16px; margin-bottom: 10px; }
.review-text { font-size: 15px; color: #444; line-height: 1.6; margin-bottom: 15px; }
.name        { font-size: 14px; font-weight: 600; color: #111; }

/* ── Why Us ──────────────────────────────────────────────────── */
.why-us { padding: 60px 0; background: var(--light-gray); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.why-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.why-card:hover { box-shadow: var(--shadow); border-color: var(--green); transform: translateY(-4px); }
.why-icon    { font-size: 42px; margin-bottom: 14px; }
.why-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.why-card p  { font-size: 13.5px; color: var(--gray); line-height: 1.6; }

/* ── Newsletter ──────────────────────────────────────────────── */
.newsletter {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 56px 0;
  color: white;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.newsletter h2 { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.newsletter p  { opacity: 0.85; font-size: 15px; }
.newsletter-form { display: flex; gap: 0; flex-shrink: 0; }
.newsletter-form input {
  padding: 14px 22px;
  border: none;
  border-radius: 50px 0 0 50px;
  font-size: 14px;
  width: 300px;
  outline: none;
}
.newsletter-form button {
  background: var(--dark);
  color: white;
  border: none;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: #000; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer { background: var(--black); color: #9ca3af; padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-name { color: var(--black); }
.footer-brand p          { margin-top: 14px; font-size: 13.5px; line-height: 1.7; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.socials a:hover { background: var(--green); color: white; }
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 13.5px;
  margin-bottom: 10px;
  color: #9ca3af;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--green-mid); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  font-size: 13px;
  text-align: center;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 36px; }
  .cat-grid        { grid-template-columns: repeat(4, 1fr); }
  .product-grid    { grid-template-columns: repeat(3, 1fr); }
  .footer-grid     { grid-template-columns: repeat(6, 1fr); }
  .why-grid        { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-landing   { flex-direction: column; height: auto; }
  .hero-left      { width: 100%; height: 60vh; min-height: 400px; }
  .hero-right     { width: 100%; flex-direction: row; height: 300px; }
  .promo-top,
  .promo-bottom   { width: 50%; height: 100%; }
  .hero-content   { padding: 30px; }
  .hero-content h1 { font-size: 28px; }
}

@media (max-width: 768px) {
  .header-inner   { flex-wrap: wrap; }
  .search-bar     { order: 3; flex: 0 0 100%; }
  .product-grid   { grid-template-columns: repeat(2, 1fr); }
  .cat-grid       { grid-template-columns: repeat(3, 1fr); }
  .footer-grid    { grid-template-columns: 1fr; }
  .why-grid       { grid-template-columns: 1fr; }
  .hero-right     { flex-direction: column; height: auto; }
  .promo-top,
  .promo-bottom   { width: 100%; height: 200px; }
  .hero-prev,
  .hero-next      { width: 30px; height: 30px; font-size: 14px; }
}

@media (max-width: 480px) {
  .hero-left       { height: 50vh; }
  .hero-content h1 { font-size: 22px; }
  .hero-stats      { gap: 20px; }
  .product-grid    { grid-template-columns: repeat(2, 1fr); }
  .hero-stats strong { font-size: 18px; }

  /* tighten WhatsApp button on very small screens */
  .wa-btn          { font-size: 11px; padding: 8px; }
  .wa-btn svg      { width: 36px; height: 36px; }
}

/* ══════════════════════════════════════════════════════
   PWA INSTALL BANNER  (fixed to bottom, auto-dismisses)
   ══════════════════════════════════════════════════════ */
.install-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) translateY(20px);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(92%, 420px);
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 34px rgba(17, 24, 39, 0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.install-banner.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.install-banner.hiding {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  visibility: hidden;
}

.install-banner-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--green-light);
  border-radius: 12px;
  overflow: hidden;
}

.install-banner-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.install-banner-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.install-banner-body strong {
  font-size: 14px;
  color: var(--dark);
  line-height: 1.2;
}

.install-banner-body span {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.3;
}

.install-banner-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.install-btn-install {
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.install-btn-install:hover {
  background: var(--green-dark);
}

.install-btn-install:active {
  transform: scale(0.96);
}

.install-btn-dismiss {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--gray);
  font-size: 14px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.install-btn-dismiss:hover {
  background: var(--light-gray);
  color: var(--dark);
}

@media (max-width: 480px) {
  .install-banner {
    bottom: 10px;
    width: min(94%, 360px);
    padding: 10px 12px;
  }
  .install-banner-body span { font-size: 11px; }
  .install-btn-install { padding: 7px 13px; font-size: 12px; }
}