/* AUTO SCRAP INDUSTRIES — style.css | UNIVERSAL ONLY */

/* ── Variables ─────────────────────────────── */
:root {
  --primary:        #73D700;
  --primary-dark:   #5cb800;
  --primary-light:  #e8ffd0;
  --black:          #111111;
  --dark:           #1a1a1a;
  --grey:           #f5f5f5;
  --grey-mid:       #e8e8e8;
  --text:           #333333;
  --text-light:     #666666;
  --white:          #ffffff;
  --shadow:         0 10px 40px rgba(0,0,0,0.10);
  --shadow-green:   0 8px 32px rgba(115,215,0,0.25);
  --radius:         16px;
  --radius-sm:      10px;
  --transition:     all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-main:      'Poppins', sans-serif;
  --font-body:      'Inter', sans-serif;
}

/* ── Reset ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { width: 100%; font-family: var(--font-main); color: var(--text); background: var(--white); overflow-x: hidden; }
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ── Typography ───────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-main); font-weight: 700; color: var(--black); }
p  { font-family: var(--font-body); line-height: 1.7; }
a  { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* ── Utilities ────────────────────────────── */
.section-pad     { padding: 10px 0; }
.bg-grey         { background: var(--grey); }
.bg-dark-section { background: var(--dark); }
.text-green      { color: var(--primary) !important; }
section[id]      { scroll-margin-top: 80px; }
.section-badge   { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-light); border: 1px solid var(--primary); color: var(--primary-dark); font-size: 0.8rem; font-weight: 700; padding: 6px 16px; border-radius: 50px; letter-spacing: 0.3px; }
.section-title   { font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 800; margin-bottom: 12px; }
.section-subtitle{ color: var(--text-light); font-size: 1.05rem; max-width: 560px; margin: 0 auto 50px; font-family: var(--font-body); }
.breadcrumb      { font-size: 0.82rem; margin: 0; }
.breadcrumb-item a { color: var(--primary); }
.breadcrumb-item.active { color: var(--text-light); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-light); }

/* ── Buttons ──────────────────────────────── */
.btn-green        { background: var(--primary); color: var(--black) !important; font-weight: 700; padding: 13px 30px; border-radius: 50px; border: none; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); box-shadow: var(--shadow-green); font-family: var(--font-main); cursor: pointer; }
.btn-green:hover  { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(115,215,0,0.4); }
.btn-outline-green{ background: transparent; color: var(--primary) !important; font-weight: 700; padding: 12px 30px; border-radius: 50px; border: 2px solid var(--primary); font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); font-family: var(--font-main); }
.btn-outline-green:hover { background: var(--primary); color: var(--black) !important; transform: translateY(-2px); }
.btn-dark         { background: var(--black); color: var(--white) !important; font-weight: 700; padding: 13px 30px; border-radius: 50px; border: none; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); font-family: var(--font-main); cursor: pointer; }
.btn-dark:hover   { background: #333; transform: translateY(-2px); }
.btn-whatsapp     { background: #25D366; color: white !important; font-weight: 700; padding: 14px 28px; border-radius: 50px; border: none; font-size: 1rem; display: inline-flex; align-items: center; gap: 10px; transition: var(--transition); box-shadow: 0 8px 24px rgba(37,211,102,0.35); font-family: var(--font-main); cursor: pointer; }
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(37,211,102,0.5); }

/* ── Navbar ───────────────────────────────── */
#mainNav          { background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 10px 0; position: sticky; top: 0; z-index: 9999; box-shadow: 0 2px 30px rgba(0,0,0,0.08); transition: var(--transition); }
#mainNav.scrolled { padding: 6px 0; box-shadow: 0 4px 40px rgba(0,0,0,0.12); }
.navbar-brand     { display: flex; align-items: center; gap: 10px; }
.navbar-brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.brand-text       { line-height: 1.15; }
.brand-name       { font-size: 1.05rem; font-weight: 800; color: var(--black); display: block; }
.brand-tagline    { font-size: 0.65rem; font-weight: 500; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; display: block; }
.navbar-nav .nav-link { font-weight: 600; font-size: 0.88rem; color: var(--text) !important; padding: 6px 12px !important; border-radius: 8px; transition: var(--transition); }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--primary) !important; background: var(--primary-light); }
.btn-quote        { background: var(--primary); color: var(--black) !important; font-weight: 700; font-size: 0.85rem; padding: 9px 20px; border-radius: 50px; border: none; position: relative; animation: pulseBg 2s infinite; font-family: var(--font-main); transition: var(--transition); white-space: nowrap; cursor: pointer; }
.btn-quote::after { content: ''; position: absolute; inset: -4px; border-radius: 50px; border: 2px solid var(--primary); animation: pulseRing 2s infinite; pointer-events: none; }
.btn-quote:hover  { background: var(--primary-dark); transform: scale(1.05); }
.btn-call-nav     { background: var(--black); color: var(--white) !important; font-weight: 700; font-size: 0.85rem; padding: 9px 18px; border-radius: 50px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-family: var(--font-main); transition: var(--transition); }
.btn-call-nav:hover { background: #333; transform: scale(1.03); }
.navbar-toggler   { border: none; padding: 4px 8px; }
.navbar-toggler:focus { box-shadow: none; }
.hamburger-icon   { display: flex; flex-direction: column; gap: 5px; width: 24px; }
.hamburger-icon span { display: block; height: 2px; background: var(--black); border-radius: 2px; transition: var(--transition); }

/* ── Page Hero (inner pages) ──────────────── */
.page-hero        { background: linear-gradient(135deg, #f0ffe0 0%, #ffffff 50%, #e8f5d0 100%); padding: 60px 0 50px; position: relative; overflow: hidden; }
.page-hero::after { content: "♻"; position: absolute; font-size: 16rem; opacity: 0.04; right: -40px; top: -30px; line-height: 1; pointer-events: none; max-width: 100%; }
.page-hero-title  { font-size: clamp(2rem,4vw,3rem); font-weight: 900; line-height: 1.15; margin-bottom: 12px; }
.page-hero-sub    { font-size: 1rem; color: var(--text-light); max-width: 500px; font-family: var(--font-body); line-height: 1.7; }

/* ── Footer ───────────────────────────────── */
#footer           { background: var(--dark); color: rgba(255,255,255,0.8); padding: 70px 0 0; }
.footer-logo      { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img  { width: 50px; height: 50px; border-radius: 50%; }
.footer-logo span { font-size: 1.1rem; font-weight: 800; color: white; }
#footer p         { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-heading   { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); display: inline-block; }
.footer-links     { list-style: none; padding: 0; margin: 0; }
.footer-links li  { margin-bottom: 10px; }
.footer-links a   { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-links a::before { content: '›'; color: var(--primary); font-weight: bold; }
.footer-contact-item  { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer-contact-icon  { width: 36px; height: 36px; background: rgba(115,215,0,0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.footer-contact-item p { margin: 0; font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.footer-contact-item strong { display: block; color: white; font-size: 0.82rem; margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-social    { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a  { width: 38px; height: 38px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-social a:hover { background: var(--primary); color: var(--black); transform: translateY(-3px); }
.footer-bottom    { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; margin-top: 50px; text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-bottom span { color: var(--primary); }

/* ── Floating Buttons ─────────────────────── */
.social-float-wrap    { position: fixed; bottom: 30px; left: 24px; z-index: 9990; display: flex; flex-direction: column-reverse; align-items: center; gap: 10px; }
.social-float-toggle  { width: 52px; height: 52px; background: var(--black); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 24px rgba(0,0,0,0.25); transition: var(--transition); border: none; }
.social-float-toggle.open { transform: rotate(45deg); background: #e74c3c; }
.social-float-links   { display: flex; flex-direction: column; gap: 10px; overflow: hidden; max-height: 0; transition: max-height 0.4s ease; }
.social-float-links.show { max-height: 300px; }
.social-btn           { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.2); transition: var(--transition); opacity: 0; transform: translateY(20px) scale(0.8); color: white !important; }
.social-float-links.show .social-btn { opacity: 1; transform: translateY(0) scale(1); }
.social-float-links.show .social-btn:nth-child(1) { transition-delay: 0.05s; }
.social-float-links.show .social-btn:nth-child(2) { transition-delay: 0.10s; }
.social-float-links.show .social-btn:nth-child(3) { transition-delay: 0.15s; }
.social-float-links.show .social-btn:nth-child(4) { transition-delay: 0.20s; }
.social-btn:hover     { transform: scale(1.15) !important; }
.social-btn.wa        { background: #25D366; }
.social-btn.ig        { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-btn.fb        { background: #1877F2; }
.social-btn.yt        { background: #FF0000; }
.right-floats         { position: fixed; bottom: 30px; right: 24px; z-index: 9990; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.float-call-btn       { background: var(--primary); color: var(--black) !important; font-weight: 700; padding: 12px 20px; border-radius: 50px; display: flex; align-items: center; gap: 8px; font-size: 0.88rem; box-shadow: var(--shadow-green); transition: var(--transition); white-space: nowrap; font-family: var(--font-main); animation: pulseBg 2s infinite; }
.float-call-btn:hover { background: var(--primary-dark); transform: scale(1.05); }
.float-wa-btn         { background: #25D366; color: white !important; font-weight: 700; padding: 12px 20px; border-radius: 50px; display: flex; align-items: center; gap: 8px; font-size: 0.88rem; box-shadow: 0 6px 24px rgba(37,211,102,0.4); transition: var(--transition); white-space: nowrap; font-family: var(--font-main); }
.float-wa-btn:hover   { background: #1ebe5d; transform: scale(1.05); }

/* ── Popup ────────────────────────────────── */
.popup-overlay  { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 99999; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); animation: fadeIn 0.4s ease; }
.popup-box      { background: white; border-radius: 24px; padding: 48px 40px; max-width: 480px; width: 90%; position: relative; text-align: center; animation: popupSlide 0.4s cubic-bezier(0.34,1.56,0.64,1); overflow: hidden; }
.popup-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--primary), var(--primary-dark)); }
.popup-close    { position: absolute; top: 16px; right: 20px; background: #f5f5f5; border: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1rem; color: #666; transition: var(--transition); }
.popup-close:hover { background: #e0e0e0; }
.popup-emoji    { font-size: 3rem; margin-bottom: 16px; display: block; }
.popup-box h2   { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.popup-box p    { color: var(--text-light); font-size: 0.92rem; margin-bottom: 28px; }
.popup-btns     { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Privacy ──────────────────────────────── */
.privacy-content h2 { font-size: 1.2rem; margin: 32px 0 10px; }
.privacy-content p  { color: var(--text-light); font-size: 0.95rem; line-height: 1.8; margin-bottom: 12px; }
.privacy-content a  { color: var(--primary); }

/* ── Global Keyframes ─────────────────────── */
@keyframes pulseRing  { 0% { transform: scale(1); opacity: 0.8; } 70%,100% { transform: scale(1.15); opacity: 0; } }
@keyframes pulseBg    { 0%,100% { box-shadow: 0 0 0 0 rgba(115,215,0,0.5); } 50% { box-shadow: 0 0 0 10px rgba(115,215,0,0); } }
@keyframes fadeIn     { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp   { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight{ from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes popupSlide { from { transform: scale(0.8) translateY(30px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }

/* ── Responsive (universal elements only) ─── */
@media (max-width: 991.98px) { .section-pad { padding: 70px 0; } }
@media (max-width: 767.98px) {
  .section-pad { padding: 55px 0; }
  .btn-quote, .btn-call-nav { display: none; }
  .float-call-btn .call-text, .float-wa-btn .wa-text { display: none; }
  .float-call-btn, .float-wa-btn { width: 52px; height: 52px; border-radius: 50%; padding: 0; justify-content: center; }
}
@media (max-width: 575.98px) {
  .popup-box { padding: 36px 24px; }
  .popup-btns { flex-direction: column; }
  .popup-btns a { width: 100%; justify-content: center; }
}

/* ════════════════════════════════════════════════
   GLOBAL MOBILE OVERFLOW FIX
   Prevents right-side gap on all mobile devices
   ════════════════════════════════════════════════ */
html,
body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

/* Every section clips its own overflow */
section {
  overflow-x: hidden;
  max-width: 100%;
}

/* AOS slide-right animations temporarily push elements
   outside viewport — clip them at the wrapper level */
[data-aos="fade-right"],
[data-aos="fade-left"],
[data-aos="zoom-in"] {
  overflow: hidden;
}

/* Floating buttons — ensure they never exceed viewport */
.right-floats {
  max-width: calc(100vw - 16px);
}

/* Mobile specific tightening */
@media (max-width: 767.98px) {
  .container {
    overflow-x: hidden;
  }
  /* Pseudo-elements with negative right positions */
  .cta-banner::before,
  .page-hero::after {
    display: none;
  }
  /* Hero image column — prevent bleed */
  .hero-img-col,
  .hero-img-wrap {
    overflow: hidden;
    max-width: 100%;
  }
  /* Row gutters on mobile */
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}