/* ═══════════════════════════════════════════════════════════════════════ */
/* ─── HOMEPAGE PRO REDESIGN — REYPUB DIGITAL 2026 ────────────────────── */
/* ─── Fixes: overflow, spacing, card alignment, empty gaps, buttons ──── */
/* ─── Professional modern UX/UI upgrade — zero content/SEO changes ──── */
/* ═══════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════ */
/* 1. GLOBAL OVERFLOW & BOX MODEL HARDENING                   */
/* ═══════════════════════════════════════════════════════════ */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}
section, .section, .container, main, header, footer, nav,
.services-grid, .testimonials-grid, .process-steps,
.stats-counter-grid, .showcase-grid, .footer-grid,
.footer-badges-row, .services-grid-3, .why-grid,
.small-about-inner, .feature-highlight-inner,
.seo-pk-inner, .hero-stats, .trusted-logos,
.fh-features-list, .fh-stats-row, .fh-tech-stack,
.seo-pk-cities, .seo-pk-actions, .fh-actions,
.hero-actions, .cta-actions {
  max-width: 100%;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════ */
/* 2. HERO SLIDER — Tighter, more impactful                   */
/* ═══════════════════════════════════════════════════════════ */
.advanced-hero-slider {
  height: 72vh;
  min-height: 480px;
  max-height: 700px;
}
.slider-content-headline {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}
.slider-content-desc {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-top: 12px;
}
.slider-content-tag {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 20px;
  font-size: 0.78rem;
  letter-spacing: 1.2px;
}
.slider-counter {
  bottom: 32px;
  right: 40px;
}
.slider-current {
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════════════════ */
/* 3. ABOUT SECTION — Tighter grid, better visual balance     */
/* ═══════════════════════════════════════════════════════════ */
.small-about {
  padding: 64px 0;
  background: #fff;
  border-bottom: none;
  position: relative;
}
.small-about::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.small-about-inner {
  gap: 48px;
}
.small-about-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
}
.small-about-desc {
  font-size: 0.93rem;
  line-height: 1.75;
}
.sa-stat {
  padding: 20px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8faff 0%, #f9fafb 100%);
  border: 1px solid rgba(11,95,212,0.06);
}
.sa-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sa-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.small-about-stats {
  gap: 14px;
}

/* ═══════════════════════════════════════════════════════════ */
/* 4. HERO (DARK) — Fix massive empty space                   */
/* ═══════════════════════════════════════════════════════════ */
.hero {
  min-height: auto !important;
  padding: 80px 0 88px !important;
}
.hero .container {
  gap: 48px;
}
.hero-badge {
  margin-bottom: 16px;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: 8px;
}
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem) !important;
  margin-bottom: 18px !important;
  letter-spacing: -0.03em;
}
.hero-subtitle {
  font-size: 1rem;
  margin-bottom: 28px !important;
  line-height: 1.75;
  max-width: 500px;
}
.hero-actions {
  margin-bottom: 36px !important;
  gap: 12px !important;
}
.hero-stats {
  padding: 14px 20px !important;
  border-radius: 12px !important;
  gap: 0;
  display: inline-flex;
}
.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
}
.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.5px;
}
.hero-scroll {
  display: none;
}

/* ═══════════════════════════════════════════════════════════ */
/* 5. TRUSTED BY — Compact, elegant                           */
/* ═══════════════════════════════════════════════════════════ */
.trusted-by {
  padding: 28px 0;
  background: var(--bg-light);
}
.trusted-label {
  font-size: 0.75rem;
  margin-bottom: 16px;
  letter-spacing: 1.2px;
  color: var(--text-muted);
}
.trusted-logos {
  gap: 28px;
}
.trust-logo {
  font-size: 0.84rem;
  color: var(--text-light);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.trust-logo:hover {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════ */
/* 6. ANIMATED STATS — Fix 2x2 grid spacing on mobile         */
/* ═══════════════════════════════════════════════════════════ */
.animated-stats-section {
  padding: 64px 0;
}
.stats-counter-grid {
  gap: 20px;
}
.counter-item {
  padding: 28px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}
.counter-number {
  font-size: 2.6rem;
  margin-bottom: 6px;
}
.counter-label {
  font-size: 0.78rem;
  letter-spacing: 0.6px;
}
.counter-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

/* ═══════════════════════════════════════════════════════════ */
/* 7. IMAGE SHOWCASE — Fix aspect ratios and spacing          */
/* ═══════════════════════════════════════════════════════════ */
.image-showcase {
  padding: 72px 0;
}
.showcase-grid {
  gap: 16px;
}
.showcase-item {
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.showcase-overlay {
  padding: 20px;
}
.showcase-overlay h3 {
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════ */
/* 8. SERVICES SECTION — Equal height cards, proper grid      */
/* ═══════════════════════════════════════════════════════════ */
.services-section {
  padding: 80px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.service-card {
  padding: 28px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.05);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(11,95,212,0.1);
  border-color: rgba(11,95,212,0.15);
}
.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.service-card > p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 14px;
  flex: 0;
}
.service-features {
  margin-bottom: 16px;
  gap: 6px;
  flex: 1;
}
.service-features li {
  font-size: 0.84rem;
}
.service-link {
  margin-top: auto;
  font-size: 0.86rem;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

/* ═══════════════════════════════════════════════════════════ */
/* 9. FEATURE HIGHLIGHTS (WebDev + SoftDev) — Cleaner         */
/* ═══════════════════════════════════════════════════════════ */
.feature-highlight {
  padding: 72px 0;
}
.feature-highlight-inner {
  gap: 48px;
}
.fh-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.fh-desc {
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.fh-features-list {
  gap: 12px;
  margin-bottom: 24px;
}
.fh-feature-item {
  font-size: 0.86rem;
  padding: 6px 10px;
  margin: -6px -10px;
  border-radius: 6px;
}
.fh-card {
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff 0%, #f8faff 100%);
}
.fh-stats-row {
  gap: 12px;
  margin-bottom: 20px;
}
.fh-stat-box {
  padding: 16px 12px;
  text-align: center;
  background: rgba(11,95,212,0.03);
  border-radius: 12px;
  border: 1px solid rgba(11,95,212,0.06);
  flex: 1;
}
.fh-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 2px;
}
.fh-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.fh-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fh-tech-tag {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(11,95,212,0.04);
  color: var(--text-light);
  border: 1px solid rgba(11,95,212,0.06);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.fh-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════ */
/* 10. SEO PAKISTAN PROMO — Tighter, balanced                  */
/* ═══════════════════════════════════════════════════════════ */
.seo-pk-promo {
  padding: 56px 0;
  background: linear-gradient(135deg, #0a2e1c 0%, #0f3a24 50%, #0a2e1c 100%);
}
.seo-pk-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: #fff;
  margin-bottom: 12px;
}
.seo-pk-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 640px;
}
.seo-pk-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.seo-pk-city {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}
.seo-pk-city i {
  color: #34D399;
  font-size: 0.7rem;
}
.seo-pk-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(52,211,153,0.12);
  border: 1px solid rgba(52,211,153,0.2);
  color: #34D399;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}
.seo-pk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn-emerald {
  background: #10b981;
  color: #fff;
  border: 2px solid transparent;
  padding: 10px 22px;
  font-size: 0.88rem;
  border-radius: 8px;
}
.btn-emerald:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16,185,129,0.3);
}
.btn-outline-emerald {
  border: 2px solid rgba(52,211,153,0.4);
  color: #34D399;
  padding: 10px 22px;
  font-size: 0.88rem;
  border-radius: 8px;
}
.btn-outline-emerald:hover {
  background: rgba(52,211,153,0.1);
  border-color: #34D399;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════ */
/* 11. WHY CHOOSE US — Better image handling                  */
/* ═══════════════════════════════════════════════════════════ */
.why-section {
  padding: 72px 0;
}
.why-grid {
  gap: 56px;
}
.why-features {
  gap: 18px;
  margin: 24px 0 28px;
}
.why-feature {
  gap: 12px;
}
.feature-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  font-size: 0.95rem;
}
.why-feature h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.why-feature p {
  font-size: 0.86rem;
  line-height: 1.6;
}
.why-section-image {
  border-radius: 14px;
}
.why-section-image img {
  min-height: 300px;
  border-radius: 14px;
}
.metrics-card {
  padding: 28px;
  border-radius: 16px;
}
.metrics-card h3 {
  font-size: 1rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
}
.metric-row {
  margin-bottom: 14px;
  font-size: 0.84rem;
  gap: 10px;
}
.metric-row span:first-child {
  min-width: 130px;
  font-size: 0.82rem;
}
.metric-val {
  font-size: 0.84rem;
  min-width: 50px;
}
.progress-bar {
  height: 6px;
  border-radius: 3px;
}

/* ═══════════════════════════════════════════════════════════ */
/* 12. SEO AUTHORITY BLOCK — Refined                          */
/* ═══════════════════════════════════════════════════════════ */
.seo-authority-block {
  padding: 48px 0;
  background: linear-gradient(135deg, #f8faff 0%, #f5f7ff 100%);
  border-top: 1px solid rgba(11,95,212,0.06);
  border-bottom: 1px solid rgba(11,95,212,0.06);
}
.seo-authority-block h2 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.35;
}
.seo-authority-block p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════ */
/* 13. PROCESS — Modern card style                            */
/* ═══════════════════════════════════════════════════════════ */
.process-section {
  padding: 72px 0;
}
.process-steps {
  gap: 16px;
}
.process-step {
  padding: 32px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}
.step-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(11,95,212,0.25);
  margin-bottom: 10px;
}
.step-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.process-step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.85rem;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════ */
/* 14. TESTIMONIALS — Cleaner cards                           */
/* ═══════════════════════════════════════════════════════════ */
.testimonials-section {
  padding: 72px 0;
}
.testimonials-grid {
  gap: 20px;
}
.testimonial-card {
  padding: 28px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
}
.testimonial-stars {
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 18px;
}
.testimonial-author {
  gap: 10px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════ */
/* 15. FAQ — Cleaner, no overflow                             */
/* ═══════════════════════════════════════════════════════════ */
.faq-section {
  padding: 72px 0;
}
.faq-grid {
  gap: 8px;
}
.faq-item {
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
}
.faq-question {
  padding: 16px 20px;
  font-size: 0.92rem;
}
.faq-answer {
  padding: 0 20px !important;
}
.faq-item.open .faq-answer {
  padding-bottom: 16px !important;
}

/* ═══════════════════════════════════════════════════════════ */
/* 16. BLOG / RESOURCES — Consistent card heights             */
/* ═══════════════════════════════════════════════════════════ */
.services-grid-3 {
  gap: 18px;
}
.feature-box {
  padding: 28px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.feature-box > i {
  font-size: 1.6rem;
  margin-bottom: 12px;
  width: 48px;
  height: 48px;
  background: rgba(11,95,212,0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-box h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.feature-box p {
  font-size: 0.86rem;
  flex: 1;
}

/* ═══════════════════════════════════════════════════════════ */
/* 17. CTA SECTION — Premium, compact                         */
/* ═══════════════════════════════════════════════════════════ */
.cta-section {
  padding: 64px 0 !important;
}
.cta-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  margin-bottom: 12px;
}
.cta-content p {
  font-size: 1rem;
  margin-bottom: 28px;
}
.cta-actions {
  gap: 12px;
}
.cta-actions .btn {
  min-width: 190px;
}

/* ═══════════════════════════════════════════════════════════ */
/* 18. FOOTER — Tighter, professional                         */
/* ═══════════════════════════════════════════════════════════ */
.footer-top {
  padding: 56px 0 !important;
}
.footer-grid {
  display: grid !important;
  grid-template-columns: 1.8fr 1fr 1.2fr 1.2fr 1fr !important;
  gap: 32px !important;
}
.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-heading {
  font-size: 0.78rem;
  margin-bottom: 14px;
}
.footer-links {
  gap: 7px;
}
.footer-links a {
  font-size: 0.84rem;
}
.footer-contact {
  gap: 10px;
}
.footer-contact li {
  font-size: 0.84rem;
}
.footer-rating {
  margin-top: 14px;
  padding: 12px 14px;
}
.footer-rating-score {
  font-size: 1.2rem;
}
.social-links {
  gap: 6px;
  margin-bottom: 4px;
}
.social-link {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 0.8rem;
}

/* Footer badges */
.footer-badges {
  padding: 24px 0;
}
.footer-badges-label {
  font-size: 0.68rem;
  margin-bottom: 16px;
}
.footer-badges-row {
  gap: 16px;
}
.footer-badge-item {
  padding: 8px 14px;
  border-radius: 8px;
  gap: 8px;
}
.footer-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 0.95rem;
}
.footer-badge-item span {
  font-size: 0.68rem;
  line-height: 1.3;
}

/* Footer bottom */
.footer-bottom {
  padding: 18px 0;
}
.footer-bottom p {
  font-size: 0.78rem;
}

/* ═══════════════════════════════════════════════════════════ */
/* 19. BUTTONS — Unified premium style                        */
/* ═══════════════════════════════════════════════════════════ */
.btn {
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #0B5FD4 0%, #0a4fb3 100%);
  box-shadow: 0 2px 8px rgba(11,95,212,0.2), 0 1px 2px rgba(11,95,212,0.1);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0a4fb3 0%, #083f94 100%);
  box-shadow: 0 6px 24px rgba(11,95,212,0.3);
  transform: translateY(-2px);
}
.btn-outline {
  border-width: 1.5px;
  border-color: rgba(11,95,212,0.3);
}
.btn-outline:hover {
  border-color: var(--primary);
}
.btn-white {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.btn-white:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* ═══════════════════════════════════════════════════════════ */
/* 20. SECTION HEADERS — Refined typography                   */
/* ═══════════════════════════════════════════════════════════ */
.section-header {
  margin-bottom: 44px;
}
.section-tag {
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 6px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1rem;
  max-width: 580px;
}

/* ═══════════════════════════════════════════════════════════ */
/* 21. RESPONSIVE — COMPLETE MOBILE FIX                       */
/* ═══════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .hero {
    padding: 64px 0 72px !important;
  }
  .hero-title {
    font-size: clamp(2rem, 4vw, 2.6rem) !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
  }
  .feature-highlight-inner {
    gap: 36px;
  }
  .why-grid {
    gap: 36px;
  }
  .small-about-inner {
    gap: 36px;
  }
  .stats-counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .advanced-hero-slider {
    height: 50vh;
    min-height: 340px;
    max-height: 480px;
    margin-top: 100px;
  }
  .slider-content-headline {
    font-size: clamp(1.6rem, 4.5vw, 2.4rem) !important;
    line-height: 1.12;
  }
  .slider-content-desc {
    font-size: 0.9rem;
  }
  
  .hero {
    padding: 48px 0 56px !important;
  }
  .hero-title {
    font-size: 1.8rem !important;
  }
  .hero-subtitle {
    font-size: 0.92rem;
  }
  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px !important;
    gap: 4px;
  }
  .stat {
    padding: 6px 10px;
  }
  .stat-num {
    font-size: 1.2rem;
  }
  .stat-label {
    font-size: 0.65rem;
  }
  .stat-divider {
    display: none;
  }
  
  .small-about {
    padding: 48px 0;
  }
  .small-about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .sa-stat {
    padding: 16px 12px;
  }
  .sa-stat-num {
    font-size: 1.3rem;
  }
  .sa-stat-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    margin-bottom: 8px;
  }
  
  .trusted-by {
    padding: 20px 0;
  }
  .trusted-logos {
    gap: 14px;
  }
  .trust-logo {
    font-size: 0.78rem;
    gap: 5px;
  }
  
  .animated-stats-section {
    padding: 48px 0;
  }
  .stats-counter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .counter-item {
    padding: 20px 12px;
    border-radius: 14px;
  }
  .counter-number {
    font-size: 2rem;
  }
  .counter-icon {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .counter-label {
    font-size: 0.72rem;
  }
  
  .image-showcase {
    padding: 48px 0;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .showcase-item.showcase-large {
    grid-column: span 1;
  }
  
  .services-section {
    padding: 56px 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .service-card {
    padding: 22px;
  }
  
  .feature-highlight {
    padding: 56px 0;
  }
  .feature-highlight-inner {
    grid-template-columns: 1fr !important;
    gap: 28px;
    direction: ltr !important;
  }
  .feature-highlight-inner.reversed {
    direction: ltr !important;
  }
  .fh-card {
    padding: 22px;
  }
  .fh-stats-row {
    gap: 8px;
  }
  .fh-stat-box {
    padding: 12px 8px;
  }
  .fh-stat-num {
    font-size: 1.3rem;
  }
  .fh-features-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .fh-actions {
    flex-direction: column;
    gap: 8px;
  }
  .fh-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .seo-pk-promo {
    padding: 48px 0;
  }
  .seo-pk-title {
    font-size: 1.3rem;
  }
  .seo-pk-cities {
    gap: 6px;
  }
  .seo-pk-city {
    padding: 4px 10px;
    font-size: 0.75rem;
  }
  .seo-pk-actions {
    flex-direction: column;
    gap: 8px;
  }
  .seo-pk-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .why-section {
    padding: 56px 0;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .why-section-image img {
    min-height: 220px;
  }
  .metrics-card {
    padding: 22px;
  }
  .metric-row span:first-child {
    min-width: 110px;
    font-size: 0.78rem;
  }
  
  .seo-authority-block {
    padding: 40px 0;
  }
  .seo-authority-block h2 {
    font-size: 1.2rem;
  }
  .seo-authority-block p {
    font-size: 0.86rem;
    text-align: left;
  }
  
  .process-section {
    padding: 56px 0;
  }
  .process-steps {
    flex-direction: column;
    gap: 12px;
  }
  .process-step {
    padding: 24px 18px;
  }
  .step-num {
    font-size: 2rem;
  }
  
  .testimonials-section {
    padding: 56px 0;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .testimonial-card {
    padding: 22px;
  }
  
  .faq-section {
    padding: 56px 0;
  }
  .faq-question {
    padding: 14px 16px;
    font-size: 0.88rem;
  }
  
  .bg-light.section {
    padding: 56px 0;
  }
  .services-grid-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feature-box {
    padding: 22px;
  }
  
  .cta-section {
    padding: 48px 0 !important;
  }
  .cta-content h2 {
    font-size: 1.4rem;
  }
  .cta-actions {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .cta-actions .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .footer-top {
    padding: 40px 0 !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .footer-badges-row {
    gap: 8px;
    justify-content: center;
  }
  .footer-badge-item {
    padding: 6px 10px;
  }
  .footer-badge-icon {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }
  .footer-badge-item span {
    font-size: 0.64rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .advanced-hero-slider {
    height: 42vh;
    min-height: 280px;
    max-height: 400px;
  }
  .slider-content-headline {
    font-size: 1.5rem !important;
  }
  .slider-content-tag {
    font-size: 0.7rem;
    padding: 5px 14px;
  }
  
  .hero-title {
    font-size: 1.6rem !important;
  }
  .hero-badge {
    font-size: 0.72rem;
  }
  
  .small-about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  
  .section-title {
    font-size: clamp(1.3rem, 4.5vw, 1.7rem);
  }
  
  .counter-item {
    padding: 16px 10px;
  }
  .counter-number {
    font-size: 1.7rem;
  }
  .counter-icon {
    width: 40px;
    height: 40px;
  }
  
  .process-step {
    padding: 20px 14px;
  }
  .step-num {
    font-size: 1.6rem;
  }
  
  .fh-stat-num {
    font-size: 1.1rem;
  }
  .fh-tech-tag {
    font-size: 0.7rem;
    padding: 3px 8px;
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* 22. LOADING ANIMATION — Faster                             */
/* ═══════════════════════════════════════════════════════════ */
.reypub-loader {
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.loader-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* ═══════════════════════════════════════════════════════════ */
/* 23. SMOOTH SCROLL FIX                                       */
/* ═══════════════════════════════════════════════════════════ */
html {
  scroll-padding-top: 140px;
}

/* ═══════════════════════════════════════════════════════════ */
/* 24. PRINT STYLES                                            */
/* ═══════════════════════════════════════════════════════════ */
@media print {
  .scroll-progress,
  .whatsapp-float,
  .wa-popup,
  .mobile-sticky-cta,
  .reypub-loader,
  .top-bar,
  .contact-modal-overlay {
    display: none !important;
  }
  .section, .hero, .feature-highlight, .process-section, .cta-section {
    padding: 32px 0 !important;
  }
}
