/*
Theme Name: A2S Packtech
Theme URI: https://a2spacktech.com
Author: A2S Packtech LLP
Author URI: https://a2spacktech.com
Description: Custom B2B theme for A2S Packtech LLP - Industrial Packaging Solutions
Version: 1.0
License: Private
Text Domain: a2s-packtech
*/

/* ── CSS VARIABLES ── */
:root {
  --brand: #354E8E;
  --brand-dark: #243566;
  --brand-light: #4A65A8;
  --brand-pale: #e8edf7;
  --accent: #FF6B1A;
  --white: #ffffff;
  --gray-50: #f8f9fc;
  --gray-100: #f0f2f8;
  --gray-200: #e2e6f0;
  --gray-400: #9299b0;
  --gray-600: #5a6282;
  --gray-800: #2a2f4a;
  --gray-900: #151929;
  --text: #1a1f38;
  --text-muted: #5a6282;
  --border: #dde2f0;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 16px rgba(53,78,142,0.08);
  --shadow-hover: 0 8px 32px rgba(53,78,142,0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 15px;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }

/* ── NAV ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  box-shadow: 0 1px 8px rgba(53,78,142,0.06);
}
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-logo img { width: 42px; height: 42px; object-fit: contain; border-radius: 6px; background: white; padding: 2px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 17px; color: var(--brand); letter-spacing: -0.3px; }
.logo-tag { font-size: 10px; color: var(--text-muted); letter-spacing: 0.6px; text-transform: uppercase; }

.main-nav ul { display: flex; align-items: center; gap: 2rem; list-style: none; }
.main-nav a { text-decoration: none; color: var(--text-muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.main-nav a:hover { color: var(--brand); }
.main-nav a.nav-cta,
.main-nav .nav-cta > a { background: var(--brand) !important; color: white !important; padding: 9px 22px; border-radius: 6px; font-weight: 600 !important; transition: background 0.2s !important; }
.main-nav a.nav-cta:hover,
.main-nav .nav-cta > a:hover { background: var(--brand-light) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }

/* ── HERO ── */
.hero-section {
  background: #0d1f6e;
  position: relative;
  overflow: hidden;
  padding: 90px 2rem 80px;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes waveMove {
  0%   { transform: translateX(0) scaleY(1); }
  50%  { transform: translateX(-40px) scaleY(1.08); }
  100% { transform: translateX(0) scaleY(1); }
}
@keyframes waveMove2 {
  0%   { transform: translateX(0) scaleY(1); }
  50%  { transform: translateX(40px) scaleY(0.94); }
  100% { transform: translateX(0) scaleY(1); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.18; transform: scale(1); }
  50%       { opacity: 0.30; transform: scale(1.12); }
}
.hero-gradient-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d1f6e 0%, #354E8E 40%, #1a3a7a 70%, #2d1b5e 100%);
  background-size: 300% 300%;
  animation: gradientShift 10s ease infinite;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  opacity: 0.04;
  background-image: linear-gradient(rgba(255,255,255,1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-orb-1 {
  width: 420px; height: 420px; right: -80px; top: -100px;
  background: radial-gradient(circle, rgba(255,107,26,0.22) 0%, transparent 70%);
  animation: pulseGlow 6s ease-in-out infinite;
}
.hero-orb-2 {
  width: 300px; height: 300px; left: -60px; bottom: -80px;
  background: radial-gradient(circle, rgba(100,140,255,0.18) 0%, transparent 70%);
  animation: pulseGlow 6s ease-in-out infinite; animation-delay: -3s;
}
.hero-wave { position: absolute; bottom: 0; left: -10%; width: 120%; height: 200px; animation: waveMove 7s ease-in-out infinite; }
.hero-wave2 { position: absolute; bottom: 0; left: -10%; width: 120%; height: 160px; animation: waveMove2 9s ease-in-out infinite; }
.hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9); font-size: 12px; font-weight: 600;
  letter-spacing: 0.8px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 24px;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-family: 'Barlow', sans-serif; font-weight: 800;
  font-size: clamp(36px, 5vw, 58px); color: white;
  line-height: 1.1; margin-bottom: 22px; max-width: 720px; letter-spacing: -1px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { color: rgba(255,255,255,0.72); font-size: 17px; max-width: 540px; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: white; padding: 14px 28px;
  border-radius: 8px; font-weight: 700; font-size: 15px;
  text-decoration: none; transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #e85a0f; transform: translateY(-1px); color: white; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); color: white; padding: 14px 28px;
  border-radius: 8px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid rgba(255,255,255,0.25);
  transition: background 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.18); color: white; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 56px;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.12); flex-wrap: wrap;
}
.hero-stat-num { font-family: 'Barlow', sans-serif; font-weight: 800; font-size: 32px; color: white; line-height: 1; }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 4px; letter-spacing: 0.3px; }

/* ── SECTIONS ── */
.section { padding: 80px 2rem; }
.section-alt { background: var(--gray-50); }
.container { max-width: 1100px; margin: 0 auto; }
.section-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.section-title { font-family: 'Barlow', sans-serif; font-weight: 800; font-size: clamp(26px, 3.5vw, 40px); color: var(--gray-900); line-height: 1.15; margin-bottom: 14px; letter-spacing: -0.5px; }
.section-sub { color: var(--text-muted); font-size: 16px; max-width: 540px; line-height: 1.7; }
.section-header { margin-bottom: 48px; }

/* ── INDUSTRIES ── */
.industries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.industry-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 22px; text-align: center;
  transition: all 0.22s;
}
.industry-card:hover { border-color: var(--brand-light); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.industry-icon {
  width: 52px; height: 52px; background: var(--brand-pale);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 16px;
}
.industry-icon svg { width: 26px; height: 26px; stroke: var(--brand); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.industry-name { font-weight: 700; font-size: 14px; color: var(--gray-900); margin-bottom: 6px; }
.industry-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ── PRODUCTS ── */
.products-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn {
  padding: 7px 18px; border-radius: 100px; font-size: 13px; font-weight: 600;
  cursor: pointer; border: 1.5px solid var(--border); background: var(--white);
  color: var(--text-muted); transition: all 0.18s;
}
.filter-btn:hover, .filter-btn.active { background: var(--brand); border-color: var(--brand); color: white; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }

.product-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 0;
  transition: all 0.22s; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.product-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--brand);
  transform: scaleX(0); transform-origin: left; transition: transform 0.22s;
}
.product-card:hover::after { transform: scaleX(1); }
.product-card:hover { border-color: var(--brand-light); box-shadow: var(--shadow); transform: translateY(-2px); }

.product-thumb { width: 100%; height: 160px; overflow: hidden; position: relative; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.product-thumb-placeholder svg { width: 100%; height: 100%; }

.product-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.product-cat-badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; margin-bottom: 10px; }
.cat-bubble { background: #e3f0ff; color: #0a4da3; }
.cat-foam   { background: #fff3e0; color: #a35800; }
.cat-poly   { background: #e8f5e9; color: #1b6830; }
.cat-auto   { background: #fce4ec; color: #880e4f; }
.product-name { font-weight: 700; font-size: 14px; color: var(--gray-900); line-height: 1.4; flex: 1; }
.product-inquiry { margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--brand); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: gap 0.15s; }
.product-inquiry:hover { gap: 8px; }

/* ── WHY US ── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.why-card { padding: 28px 24px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--white); }
.why-num { font-family: 'Barlow', sans-serif; font-weight: 800; font-size: 40px; color: var(--brand-pale); line-height: 1; margin-bottom: 4px; letter-spacing: -2px; }
.why-title { font-weight: 700; font-size: 15px; color: var(--gray-900); margin-bottom: 8px; }
.why-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── CONTACT ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info-block { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; background: var(--brand-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 20px; height: 20px; stroke: var(--brand); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-info-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted); margin-bottom: 4px; }
.contact-info-val { font-size: 15px; color: var(--gray-900); font-weight: 500; text-decoration: none; line-height: 1.5; display: block; }
.contact-info-val:hover { color: var(--brand); }
.map-embed { margin-top: 24px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); height: 220px; }
.map-embed iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── CONTACT FORM (CF7 override) ── */
.enquiry-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow); }
.form-title { font-family: 'Barlow', sans-serif; font-weight: 800; font-size: 22px; color: var(--gray-900); margin-bottom: 6px; }
.form-subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
.form-notice { padding: 11px 14px; border-radius: var(--radius); font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.form-notice-success { background: #e8f5e9; color: #1b6830; border: 1px solid #b9dfbd; }
.form-notice-error { background: #fff3e0; color: #a35800; border: 1px solid #ffd0a0; }
.a2s-honeypot { display: none !important; visibility: hidden; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--gray-800); margin-bottom: 6px; letter-spacing: 0.3px; }
.enquiry-form input[type="text"],
.enquiry-form input[type="email"],
.enquiry-form input[type="tel"],
.enquiry-form select,
.enquiry-form textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 14px; font-family: 'Inter', sans-serif;
  color: var(--text); background: var(--white); transition: border-color 0.18s;
  outline: none; appearance: none;
}
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(53,78,142,0.1);
}
.enquiry-form textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.enquiry-form input[type="submit"] {
  width: 100%; padding: 13px; background: var(--brand); color: white;
  border: none; border-radius: var(--radius); font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
  font-family: 'Inter', sans-serif; margin-top: 6px;
}
.enquiry-form input[type="submit"]:hover { background: var(--brand-light); transform: translateY(-1px); }

/* ── FOOTER ── */
.site-footer { background: var(--gray-900); color: rgba(255,255,255,0.6); padding: 48px 2rem 28px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand-name { font-family: 'Barlow', sans-serif; font-weight: 800; font-size: 20px; color: white; margin-bottom: 10px; }
.footer-brand-desc { font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer-col-title { font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: color 0.18s; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .main-nav ul { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open ul {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: white; padding: 20px 2rem;
    border-bottom: 1px solid var(--border);
    gap: 18px; box-shadow: var(--shadow); z-index: 99;
  }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { gap: 24px; }
  .enquiry-form { padding: 24px 20px; }
}
