/* ── PRAWAR TRADERS — GLOBAL STYLESHEET ── */

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

:root {
  --primary:   #0d4b8e;
  --secondary: #1aa0d8;
  --accent:    #00c6fb;
  --light:     #f0f8ff;
  --dark:      #0a2d52;
  --text:      #333;
  --muted:     #666;
  --white:     #fff;
  --shadow:    0 4px 24px rgba(13,75,142,.12);
}

html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }

/* ── TOP BAR ── */
.topbar { background: var(--dark); color: #cce6ff; font-size: .8rem; padding: .4rem 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .4rem; }
.topbar a { color: var(--accent); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* ── HEADER ── */
header { background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.logo-img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--secondary); }
.logo-text { line-height: 1.2; }
.logo-text strong { display: block; font-size: 1.1rem; color: var(--primary); }
.logo-text span { font-size: .72rem; color: var(--muted); font-style: italic; }

nav { display: flex; align-items: center; gap: 1.6rem; }
nav a { text-decoration: none; color: var(--text); font-size: .9rem; font-weight: 500; transition: color .2s; position: relative; }
nav a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px; background: var(--secondary); transition: width .3s; }
nav a:hover, nav a.active { color: var(--primary); }
nav a:hover::after, nav a.active::after { width: 100%; }
.btn-call { background: var(--secondary); color: var(--white) !important; padding: .5rem 1.2rem; border-radius: 50px; font-weight: 600; white-space: nowrap; }
.btn-call::after { display: none !important; }
.btn-call:hover { background: var(--primary) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--primary); border-radius: 2px; transition: .3s; }

/* ── HOME HERO ── */
.hero { position: relative; min-height: 540px; display: flex; align-items: center; overflow: hidden; color: var(--white); }
.hero-bg { position: absolute; inset: 0; background-image: url('https://images.unsplash.com/photo-1559825481-12a05cc00344?w=1600&q=80&fit=crop'); background-size: cover; background-position: center; filter: brightness(.45); }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 420px; gap: 3rem; align-items: center; padding: 5rem 0 4rem; width: 100%; }
.hero-text h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; margin-bottom: .8rem; line-height: 1.2; }
.hero-text h1 span { color: var(--accent); }
.hero-text p { font-size: clamp(.9rem, 2vw, 1.1rem); opacity: .9; margin-bottom: 2rem; max-width: 520px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badges { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-badge { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: .78rem; padding: .3rem .9rem; border-radius: 50px; backdrop-filter: blur(4px); }
.hero-img-card { background: rgba(255,255,255,.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); border-radius: 20px; padding: 1.2rem; text-align: center; }
.hero-img-card img { width: 100%; height: 260px; object-fit: scale-down; border-radius: 12px; display: block; }
.hero-img-caption { margin-top: .8rem; font-size: .82rem; opacity: .85; font-weight: 500; letter-spacing: .3px; }

/* ── INNER PAGE HERO ── */
.page-hero { position: relative; min-height: 220px; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.38); }
.page-hero-content { position: relative; z-index: 2; padding: 3.5rem 0; }
.page-hero-content h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; margin-bottom: .4rem; }
.page-hero-content h1 span { color: var(--accent); }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .82rem; opacity: .8; margin-top: .4rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: .6; }

/* ── BUTTONS ── */
.btn { display: inline-block; padding: .75rem 2rem; border-radius: 50px; font-weight: 600; font-size: .95rem; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.btn-primary { background: var(--accent); color: var(--dark); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-submit { width: 100%; padding: .8rem; background: var(--primary); color: var(--white); border: none; border-radius: 50px; font-size: .95rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: background .2s, transform .2s; }
.btn-submit:hover { background: var(--secondary); transform: translateY(-2px); }

/* ── SECTION HELPERS ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.2rem; }
section { padding: 4rem 0; }
.section-title { text-align: center; margin-bottom: 2.8rem; }
.section-title h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--primary); margin-bottom: .5rem; }
.section-title p { color: var(--muted); max-width: 600px; margin: 0 auto; }
.divider { width: 55px; height: 4px; background: var(--secondary); border-radius: 4px; margin: .6rem auto 0; }
.bg-light { background: var(--light); }

/* ── STATS BAR ── */
.stats { background: var(--primary); color: var(--white); padding: 2.4rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stat-num { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: var(--accent); }
.stat-label { font-size: .82rem; opacity: .85; margin-top: .2rem; }

/* ── SERVICE CARDS ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.6rem; }
.service-card { background: var(--white); border: 1px solid #e0eef8; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(13,75,142,.18); }
.service-card-img { width: 100%; height: 160px; object-fit: scale-down; display: block; }
.service-card-body { padding: 1.4rem; text-align: center; }
.service-icon { width: 54px; height: 54px; background: linear-gradient(135deg, var(--secondary), var(--accent)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: -2rem auto .9rem; position: relative; font-size: 1.5rem; border: 3px solid var(--white); box-shadow: 0 4px 12px rgba(13,75,142,.2); }
.service-card h3 { font-size: 1rem; color: var(--primary); margin-bottom: .45rem; }
.service-card p { font-size: .85rem; color: var(--muted); }

/* ── TECHNICIAN / ABOUT STRIP ── */
.tech-strip { background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%); color: var(--white); padding: 4rem 0; }
.tech-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.tech-img-wrap { position: relative; }
.tech-img-wrap img { width: 100%; border-radius: 20px; background-color: #fff; object-fit: scale-down; height: 380px; display: block; }
.tech-img-wrap::before { content: ''; position: absolute; inset: -10px -10px 10px 10px; border: 2px solid rgba(255,255,255,.2); border-radius: 24px; pointer-events: none; }
.tech-badge-wrap { position: absolute; bottom: -16px; right: -16px; background: var(--accent); color: var(--dark); border-radius: 14px; padding: 1rem 1.4rem; text-align: center; font-weight: 700; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.tech-badge-wrap .num { font-size: 1.8rem; line-height: 1; }
.tech-badge-wrap .lbl { font-size: .72rem; }
.tech-content h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 1rem; }
.tech-content h2 span { color: var(--accent); }
.tech-content p { opacity: .85; font-size: .93rem; margin-bottom: 1.4rem; }
.tech-features { list-style: none; display: flex; flex-direction: column; gap: .65rem; margin-bottom: 1.8rem; }
.tech-features li { display: flex; align-items: center; gap: .7rem; font-size: .9rem; opacity: .92; }
.tech-features li::before { content: '✔'; background: var(--accent); color: var(--dark); width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; flex-shrink: 0; }

/* ── WHY US ── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.4rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border-radius: 12px; padding: 1.4rem; box-shadow: 0 2px 12px rgba(13,75,142,.08); }
.why-icon { font-size: 2rem; flex-shrink: 0; }
.why-item h4 { font-size: .95rem; color: var(--primary); margin-bottom: .3rem; }
.why-item p { font-size: .83rem; color: var(--muted); }

/* ── BRANDS ── */
.brands-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.6rem; }
.brand-badge { background: var(--light); border: 1px solid #cce0f0; color: var(--primary); font-weight: 600; font-size: .88rem; padding: .55rem 1.3rem; border-radius: 50px; transition: background .2s, color .2s; cursor: default; }
.brand-badge:hover { background: var(--primary); color: var(--white); }

/* ── HOW IT WORKS ── */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { text-align: center; padding: 1.8rem 1.2rem; position: relative; background: var(--white); border: 1px solid #e0eef8; border-radius: 14px; margin: 0 .5rem; box-shadow: var(--shadow); }
.step:not(:last-child)::after { content: '→'; position: absolute; right: -1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--secondary); z-index: 1; }
.step-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto .9rem; display: block; border: 3px solid var(--secondary); }
.step-num { width: 32px; height: 32px; background: var(--primary); color: var(--white); border-radius: 50%; font-size: .85rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto .7rem; }
.step h4 { font-size: .95rem; color: var(--primary); margin-bottom: .4rem; }
.step p { font-size: .83rem; color: var(--muted); }

/* ── GALLERY ── */
.gallery { padding: 3rem 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-item { border-radius: 14px; overflow: hidden; position: relative; aspect-ratio: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: scale-down; background-color: #fff; display: block; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .gallery-label { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(10,45,82,.85)); color: #fff; font-size: .78rem; font-weight: 500; padding: .8rem .7rem .5rem; }

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.6rem; }
.testimonial-card { background: var(--white); border-radius: 14px; padding: 1.8rem; box-shadow: var(--shadow); position: relative; }
.testimonial-card::before { content: '"'; font-size: 5rem; line-height: 1; color: var(--accent); opacity: .25; position: absolute; top: .4rem; left: 1.2rem; font-family: Georgia, serif; }
.stars { color: #f5a623; font-size: 1rem; margin-bottom: .7rem; }
.testimonial-card p { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; position: relative; }
.reviewer { display: flex; align-items: center; gap: .7rem; }
.reviewer-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid var(--secondary); }
.reviewer-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reviewer-name { font-weight: 600; font-size: .9rem; color: var(--primary); }
.reviewer-loc { font-size: .78rem; color: var(--muted); }

/* ── CONTACT ── */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: start; }
.contact-info h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 1.2rem; }
.contact-item { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.2rem; }
.contact-item .ci-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.contact-item h4 { font-size: .88rem; color: var(--primary); font-weight: 600; }
.contact-item p, .contact-item a { font-size: .88rem; color: var(--muted); text-decoration: none; }
.contact-item a:hover { color: var(--secondary); }
.contact-form { background: var(--white); border-radius: 16px; padding: 2rem; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 500; color: var(--text); margin-bottom: .35rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: .65rem .9rem; border: 1.5px solid #d0e4f0; border-radius: 8px; font-family: inherit; font-size: .88rem; color: var(--text); background: var(--white); transition: border-color .2s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--secondary); }
.form-group textarea { resize: vertical; min-height: 90px; }
.map-wrap { margin-top: 1.2rem; border-radius: 12px; overflow: hidden; border: 1px solid #d0e4f0; }

/* ── FOOTER ── */
footer { background: var(--dark); color: #9bbdd8; padding: 3rem 0 1.5rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.4rem; margin-bottom: 2rem; }
.footer-brand p { font-size: .85rem; margin-top: .8rem; line-height: 1.7; }
.footer-logo { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.2); }
.footer-col h4 { color: var(--white); font-size: .95rem; margin-bottom: .9rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .45rem; }
.footer-col ul li a { color: #9bbdd8; text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; font-size: .8rem; }
.footer-bottom a { color: var(--accent); text-decoration: none; }

/* ── FLOATING WHATSAPP ── */
.float-btn { position: fixed; bottom: 1.6rem; right: 1.6rem; background: #25d366; color: var(--white); width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.45); text-decoration: none; z-index: 200; transition: transform .2s; }
.float-btn:hover { transform: scale(1.12); }

/* ── BRANDS PAGE CARDS ── */
.brand-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.4rem; }
.brand-card { background: var(--white); border: 1px solid #e0eef8; border-radius: 14px; padding: 1.8rem 1.4rem; text-align: center; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.brand-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(13,75,142,.16); }
.brand-card .brand-icon { font-size: 2.4rem; margin-bottom: .7rem; }
.brand-card h3 { font-size: .95rem; color: var(--primary); font-weight: 600; }

/* ── PRODUCTS PAGE CARDS ── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.4rem; }
.product-card { background: var(--white); border: 1px solid #e0eef8; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(13,75,142,.16); }
.product-card img { width: 100%; height: 190px; object-fit: scale-down; background-color: #fff; padding: .8rem; display: block; }
.product-card h4 { font-size: .88rem; color: var(--primary); font-weight: 600; text-align: center; padding: 0 .8rem 1.1rem; }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: .8rem; }
.faq-item { background: var(--white); border: 1px solid #e0eef8; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(13,75,142,.07); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.4rem; cursor: pointer; font-weight: 600; font-size: .93rem; color: var(--primary); user-select: none; }
.faq-q .icon { font-size: 1.2rem; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 1.4rem 1.1rem; font-size: .88rem; color: var(--muted); }
.faq-item.open .faq-a { max-height: 300px; }

/* ── RATING SUMMARY ── */
.rating-summary { display: flex; align-items: center; gap: 2.4rem; background: var(--white); border-radius: 16px; padding: 2rem 2.4rem; box-shadow: var(--shadow); margin-bottom: 2.4rem; flex-wrap: wrap; }
.rating-big { text-align: center; }
.rating-big .num { font-size: 3.6rem; font-weight: 700; color: var(--primary); line-height: 1; }
.rating-big .stars-big { color: #f5a623; font-size: 1.3rem; margin: .3rem 0; }
.rating-big small { font-size: .78rem; color: var(--muted); }
.rating-bars { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: .5rem; }
.rating-row { display: flex; align-items: center; gap: .7rem; font-size: .82rem; color: var(--muted); }
.rating-row .bar-wrap { flex: 1; height: 8px; background: #e0eef8; border-radius: 4px; overflow: hidden; }
.rating-row .bar-fill { height: 100%; background: var(--secondary); border-radius: 4px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-img-card { display: none; }
  .tech-inner { grid-template-columns: 1fr; }
  .tech-img-wrap img { height: 280px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .step { margin: 0; }
  .step:not(:last-child)::after { display: none; }
}
@media (max-width: 768px) {
  nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 1rem 1.2rem; box-shadow: 0 8px 24px rgba(0,0,0,.1); gap: .8rem; }
  nav.open { display: flex; }
  .hamburger { display: flex; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  header { position: relative; }
  .rating-summary { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
}
