/*
Theme Name: FIPW - Free India Plastic Works
Theme URI: https://freeindiaplasticworks.com
Author: FIPW
Author URI: https://freeindiaplasticworks.com
Description: Custom wholesale plastic toy manufacturer theme for Free India Plastic Works
Version: 1.4.0
License: GNU General Public License v2 or later
Text Domain: fipw
*/

/* =============================================
   FIPW THEME — BASE STYLES
   Font:    Manrope (headings + body)
   Palette (pastel):
   Yellow: #FFF3B0 / #FFE066 / #B8860B
   Blue:   #DBEAFE / #93C5FD / #1D4ED8
   Red:    #FFE4E6 / #FCA5A5 / #DC2626
   Dark:   #1e293b / #334155
   Text:   #475569 / #64748b / #94a3b8
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  color: #475569;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Manrope', sans-serif; font-weight: 800; color: #1e293b; line-height: 1.45; letter-spacing: -0.015em; }

/* Section headings — consistent line-height & letter-spacing site-wide */
h1 { line-height: 1.4; letter-spacing: 0.015em; }
h2 { line-height: 1.45; letter-spacing: 0.015em; }
h3 { line-height: 1.5; letter-spacing: 0.02em; }
h4, h5, h6 { line-height: 1.55; letter-spacing: 0.02em; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button, input, textarea, select { font-family: 'Manrope', sans-serif; }

/* Containers */
.fipw-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.fipw-container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.fipw-container-md { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* Section spacing */
.fipw-section { padding: 72px 24px; }
.fipw-section-sm { padding: 48px 24px; }

/* Section labels */
.fipw-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.fipw-label-blue   { background: #DBEAFE; color: #1D4ED8; }
.fipw-label-red    { background: #FFE4E6; color: #DC2626; }
.fipw-label-green  { background: #FFF3B0; color: #B8860B; }
.fipw-label-yellow { background: #FFF3B0; color: #B8860B; }
.fipw-label-purple { background: #DBEAFE; color: #1D4ED8; }
.fipw-label-dark   { background: #f1f5f9; color: #475569; }

/* Section headings */
.fipw-h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  font-family: 'Manrope', sans-serif;
  color: #1e293b;
  letter-spacing: 0.015em;
  line-height: 1.45;
  margin-bottom: 14px;
}
.fipw-h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  color: #1e293b;
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin-bottom: 10px;
}
.fipw-lead {
  font-size: 16px;
  font-family: 'Manrope', sans-serif;
  color: #64748b;
  line-height: 1.75;
  max-width: 600px;
}

/* Buttons / CTAs — shared line-height & letter-spacing so every CTA
   (header, footer, homepage, and inner pages) reads with the same
   relaxed, more legible rhythm */
.fipw-btn-wa,
.fipw-btn-primary,
.fipw-btn-outline,
.fipw-btn-dark,
.fipw-cta,
a.fipw-cta-link,
.fipw-nav-links a[href*="wa.me"] {
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.fipw-btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(150deg, #4ade80 0%, #16a34a 70%); color: #fff;
  padding: 14px 28px; border-radius: 18px;
  font-size: 14px; font-weight: 700; font-family: 'Manrope', sans-serif;
  text-decoration: none; transition: all 0.2s;
  box-shadow:
    7px 7px 16px rgba(22,163,74,0.28),
    -6px -6px 14px rgba(255,255,255,0.55),
    inset 1px 1px 1px rgba(255,255,255,0.4),
    inset -3px -3px 6px rgba(21,128,61,0.35);
  border: none; cursor: pointer;
}
.fipw-btn-wa:hover { transform: translateY(-2px); color: #fff; }

.fipw-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(150deg, #60a5fa 0%, #1D4ED8 70%); color: #fff;
  padding: 14px 28px; border-radius: 18px;
  font-size: 14px; font-weight: 700; font-family: 'Manrope', sans-serif;
  text-decoration: none; transition: all 0.2s;
  box-shadow:
    7px 7px 16px rgba(29,78,216,0.28),
    -6px -6px 14px rgba(255,255,255,0.55),
    inset 1px 1px 1px rgba(255,255,255,0.4),
    inset -3px -3px 6px rgba(30,58,138,0.35);
  border: none; cursor: pointer;
}
.fipw-btn-primary:hover { transform: translateY(-2px); color: #fff; }

.fipw-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(150deg, #ffffff 0%, #f1f5f9 100%); color: #1e293b;
  border: none;
  padding: 14px 28px; border-radius: 18px;
  font-size: 14px; font-weight: 700; font-family: 'Manrope', sans-serif;
  text-decoration: none; transition: all 0.2s;
  cursor: pointer;
  box-shadow:
    7px 7px 16px rgba(15,23,42,0.08),
    -6px -6px 14px rgba(255,255,255,0.8),
    inset 1px 1px 1px rgba(255,255,255,0.7);
}
.fipw-btn-outline:hover { transform: translateY(-2px); color: #1D4ED8; }

.fipw-btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(150deg, #334155 0%, #0f172a 70%); color: #fff;
  padding: 14px 28px; border-radius: 18px;
  font-size: 14px; font-weight: 700; font-family: 'Manrope', sans-serif;
  text-decoration: none; transition: all 0.2s;
  box-shadow:
    7px 7px 16px rgba(15,23,42,0.32),
    -6px -6px 14px rgba(255,255,255,0.5),
    inset 1px 1px 1px rgba(255,255,255,0.25),
    inset -3px -3px 6px rgba(0,0,0,0.35);
  border: none; cursor: pointer;
}
.fipw-btn-dark:hover { transform: translateY(-2px); color: #fff; }

/* Catalogue download CTA (header/footer) */
.fipw-btn-catalogue {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(150deg, #fde68a 0%, #FFE066 70%); color: #713f12;
  padding: 10px 20px; border-radius: 999px;
  font-size: 13px; font-weight: 700; font-family: 'Manrope', sans-serif;
  text-decoration: none; transition: all 0.2s;
  line-height: 1.6; letter-spacing: 0.04em;
  border: none; cursor: pointer;
  box-shadow:
    5px 5px 12px rgba(184,134,11,0.25),
    -5px -5px 12px rgba(255,255,255,0.6),
    inset 1px 1px 1px rgba(255,255,255,0.5);
}
.fipw-btn-catalogue:hover { transform: translateY(-2px); color: #713f12; }

/* Cards */
.fipw-card {
  background: linear-gradient(150deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 22px;
  border: none;
  box-shadow:
    8px 8px 20px rgba(15,23,42,0.06),
    -8px -8px 18px rgba(255,255,255,0.75);
  transition: all 0.25s ease;
  overflow: hidden;
}
.fipw-card:hover { transform: translateY(-4px); box-shadow: 10px 10px 26px rgba(15,23,42,0.10), -8px -8px 20px rgba(255,255,255,0.8); }

/* Grid helpers */
.fipw-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.fipw-grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.fipw-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; }

/* Rainbow bar — yellow, blue, red, yellow */
.fipw-rainbow {
  position: fixed; top: 0; left: 0; right: 0;
  height: 6px; display: flex; z-index: 9999;
}
.fipw-rainbow span:nth-child(1) { flex: 1; background: #FFE066; }
.fipw-rainbow span:nth-child(2) { flex: 1; background: #93C5FD; }
.fipw-rainbow span:nth-child(3) { flex: 1; background: #FCA5A5; }
.fipw-rainbow span:nth-child(4) { flex: 1; background: #FFE066; }

/* Stat pills */
.fipw-stat-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(150deg, #ffffff 0%, #f1f5f9 100%);
  border: none;
  border-radius: 999px; padding: 7px 15px;
  font-size: 13px; font-weight: 600; font-family: 'Manrope', sans-serif; color: #1e293b;
  box-shadow:
    4px 4px 10px rgba(15,23,42,0.07),
    -4px -4px 10px rgba(255,255,255,0.8);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float  { animation: float 4s ease-in-out infinite; }
.float2 { animation: float 5s ease-in-out infinite 1.5s; }

/* Page Hero */
.fipw-page-hero {
  background: linear-gradient(135deg, #FFF3B0 0%, #DBEAFE 55%, #FFE4E6 100%);
  padding: 140px 24px 80px;
  text-align: center;
}

/* Responsive nav hide */
@media (max-width: 768px) {
  .fipw-nav-links { display: none; }
  .fipw-mobile-menu { display: block; }
  .fipw-grid-3 { grid-template-columns: 1fr; }
  .fipw-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .fipw-section { padding: 48px 20px; }
}
@media (max-width: 480px) {
  .fipw-grid-4 { grid-template-columns: 1fr; }
}

/* Product category card */
.fipw-cat-card {
  border-radius: 22px; overflow: hidden;
  position: relative; cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 8px 8px 20px rgba(15,23,42,0.08), -8px -8px 18px rgba(255,255,255,0.7);
}
.fipw-cat-card:hover { transform: translateY(-4px); box-shadow: 10px 10px 26px rgba(15,23,42,0.14), -8px -8px 20px rgba(255,255,255,0.75); }
.fipw-cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.fipw-cat-card:hover img { transform: scale(1.05); }

/* Blog card */
.fipw-blog-card {
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(150deg, #ffffff 0%, #f8fafc 100%);
  border: none;
  box-shadow: 8px 8px 20px rgba(15,23,42,0.06), -8px -8px 18px rgba(255,255,255,0.75);
  transition: all 0.25s;
}
.fipw-blog-card:hover { transform: translateY(-4px); box-shadow: 10px 10px 26px rgba(15,23,42,0.10), -8px -8px 20px rgba(255,255,255,0.8); }

/* Contact form */
.fipw-form-group { margin-bottom: 20px; }
.fipw-form-label { display: block; font-size: 13px; font-weight: 600; font-family: 'Manrope', sans-serif; color: #374151; margin-bottom: 7px; }
.fipw-form-input, .fipw-form-textarea, .fipw-form-select {
  width: 100%; padding: 13px 16px;
  border: none; border-radius: 16px;
  font-size: 14px; font-family: 'Manrope', sans-serif;
  color: #1e293b; background: #f1f5f9;
  box-shadow: inset 3px 3px 8px rgba(15,23,42,0.07), inset -3px -3px 8px rgba(255,255,255,0.7);
  transition: box-shadow 0.2s;
  outline: none;
}
.fipw-form-input:focus, .fipw-form-textarea:focus, .fipw-form-select:focus {
  box-shadow: inset 3px 3px 8px rgba(29,78,216,0.12), inset -3px -3px 8px rgba(255,255,255,0.8), 0 0 0 3px rgba(147,197,253,0.35);
}
.fipw-form-textarea { resize: vertical; min-height: 130px; }

/* CTA gradient section */
.fipw-cta-gradient {
  background: linear-gradient(135deg, #1D4ED8, #DC2626, #B8860B);
  border-radius: 28px;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(29,78,216,0.25);
}

/* Table of contents / breadcrumb */
.fipw-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; font-family: 'Manrope', sans-serif; color: #94a3b8;
  margin-bottom: 28px; flex-wrap: wrap;
}
.fipw-breadcrumb a { color: #94a3b8; text-decoration: none; }
.fipw-breadcrumb a:hover { color: #1D4ED8; }
.fipw-breadcrumb .sep { color: #cbd5e1; }

/* Single blog post */
.fipw-post-content { font-size: 16px; line-height: 1.8; color: #475569; font-family: 'Manrope', sans-serif; }
.fipw-post-content h2 { font-size: 1.5rem; font-family: 'Manrope', sans-serif; color: #1e293b; margin: 32px 0 14px; }
.fipw-post-content h3 { font-size: 1.2rem; font-family: 'Manrope', sans-serif; color: #1e293b; margin: 24px 0 10px; }
.fipw-post-content p { margin-bottom: 18px; }
.fipw-post-content ul, .fipw-post-content ol { padding-left: 24px; margin-bottom: 18px; }
.fipw-post-content li { margin-bottom: 8px; list-style: disc; }
.fipw-post-content strong { color: #1e293b; font-weight: 700; }
.fipw-post-content a { color: #1D4ED8; }
.fipw-post-content blockquote { border-left: 4px solid #93C5FD; padding: 16px 20px; margin: 24px 0; background: #DBEAFE; border-radius: 0 12px 12px 0; color: #1D4ED8; font-style: italic; }
.fipw-post-content img { border-radius: 16px; margin: 24px auto; }

/* Tag chips */
.fipw-tag { display: inline-block; background: #f1f5f9; color: #475569; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; margin: 3px; font-family: 'Manrope', sans-serif; }
.fipw-tag-blue { background: #DBEAFE; color: #1D4ED8; }

/* WhatsApp float button */
.fipw-wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(150deg, #4ade80 0%, #16a34a 70%); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    8px 8px 18px rgba(22,163,74,0.35),
    -6px -6px 14px rgba(255,255,255,0.5),
    inset 1px 1px 1px rgba(255,255,255,0.4),
    inset -3px -3px 6px rgba(21,128,61,0.35);
  transition: all 0.2s; text-decoration: none;
}
.fipw-wa-float:hover { transform: scale(1.08) translateY(-2px); }

/* Mobile menu */
.fipw-mobile-nav {
  display: none;
  position: fixed;
  top: 96px; left: 16px; right: 16px;
  background: linear-gradient(150deg, #ffffff 0%, #f4f6f9 100%);
  border-radius: 24px;
  padding: 20px 24px;
  z-index: 997;
  box-shadow: 10px 10px 24px rgba(15,23,42,0.12), -8px -8px 18px rgba(255,255,255,0.7);
}
.fipw-mobile-nav.open { display: block; }
.fipw-mobile-nav a { display: block; padding: 12px 0; font-size: 15px; font-weight: 600; font-family: 'Manrope', sans-serif; color: #1e293b; border-bottom: 1px solid #eef1f5; }
.fipw-mobile-nav a:last-child { border-bottom: none; }

/* Floating claymorphism header shell (used by header.php) */
.fipw-header-float {
  background: linear-gradient(150deg, #ffffff 0%, #f4f6f9 100%);
  border-radius: 26px;
  box-shadow:
    10px 10px 24px rgba(15,23,42,0.10),
    -8px -8px 18px rgba(255,255,255,0.75),
    inset 1px 1px 1px rgba(255,255,255,0.6);
}

/* Floating claymorphism footer shell (used by footer.php) */
.fipw-footer-float {
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 100%);
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -12px 32px rgba(15,23,42,0.06);
}

/* Injection moulding cluster */
.fipw-inj-hero {
  background: linear-gradient(135deg, #FFF3B0 0%, #DBEAFE 55%, #FFE4E6 100%);
  padding: 48px 24px 56px;
  position: relative;
  overflow: hidden;
}
.fipw-inj-pills { display:flex; flex-wrap:wrap; gap:8px; }
.fipw-inj-pills span {
  background: rgba(255,255,255,.75);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}
.fipw-inj-grid4 { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.fipw-inj-grid3 { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.fipw-inj-card { padding:22px; border-radius:22px; }
.fipw-inj-checks { display:flex; flex-direction:column; gap:12px; list-style:none; }
.fipw-inj-checks li { display:flex; gap:10px; align-items:flex-start; font-size:15px; color:#334155; line-height:1.65; }
.fipw-inj-machine {
  background: linear-gradient(150deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid #334155;
  border-radius: 22px;
  padding: 22px;
}
.fipw-inj-steps { display:flex; flex-direction:column; gap:10px; max-width:720px; list-style:none; }
.fipw-inj-steps li { display:flex; gap:12px; align-items:center; font-size:15px; color:#334155; }
.fipw-inj-steps span {
  width:36px; height:36px; border-radius:12px; background:#DBEAFE; color:#1d4ed8;
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:12px; flex-shrink:0;
}
.fipw-inj-proc {
  background: linear-gradient(150deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 8px 8px 20px rgba(15,23,42,0.06), -8px -8px 18px rgba(255,255,255,0.75);
}
.fipw-inj-num {
  width:36px;height:36px;border-radius:12px;background:#1d4ed8;color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:800;margin-bottom:12px;
}
.fipw-inj-proc h3 { font-size:16px; margin:0 0 8px; }
.fipw-inj-proc p { font-size:14px; color:#64748b; line-height:1.65; margin:0; }
.fipw-inj-form { background:#fff; border-radius:24px; padding:28px; box-shadow: 8px 8px 24px rgba(15,23,42,0.08); }
.fipw-inj-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.fipw-inj-form label { font-size:12px; font-weight:700; color:#334155; display:flex; flex-direction:column; gap:6px; }
.fipw-inj-faq details { background:#f8fafc; border-radius:16px; padding:16px 18px; margin-bottom:10px; }
.fipw-inj-faq summary { font-weight:700; color:#0f172a; cursor:pointer; }
.fipw-inj-faq p { margin:10px 0 0; font-size:14px; color:#64748b; line-height:1.7; }
.fipw-inj-links { display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }
.fipw-inj-links a {
  background:#fff; border-radius:999px; padding:8px 14px; font-size:13px; font-weight:700; color:#1d4ed8;
  box-shadow: 5px 5px 12px rgba(15,23,42,0.06);
}
.fipw-inj-split { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
@media (max-width: 900px) {
  .fipw-inj-grid4, .fipw-inj-grid3, .fipw-inj-form-grid, .fipw-inj-split { grid-template-columns:1fr; }
}
