/* PrimoIT Site Rebuild — Matching Original Design */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --blue: #1a73c8;
  --blue-dark: #1560aa;
  --blue-light: #e8f2fc;
  --dark: #2d2d2d;
  --grey-footer: #595959;
  --border: #e0e0e0;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --text: #222222;
  --muted: #666666;
  --font: 'Open Sans', Arial, sans-serif;
  --radius: 3px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* =============================
   TOP BAR
============================= */
.top-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 5px 0;
}
.top-bar .inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 20px;
  display: flex; justify-content: flex-end;
  align-items: center; gap: 18px;
}
.top-bar a { color: #333; font-size: 13px; display: flex; align-items: center; gap: 5px; text-decoration: none; }
.top-bar a:hover { color: var(--blue); }
.top-bar .sep { color: #bbb; }

/* =============================
   HEADER (logo + search + basket)
============================= */
.site-header {
  background: #fff;
  padding: 12px 0 10px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 20px;
  display: flex; align-items: center; gap: 20px;
}

/* SVG Logo */
.site-logo { text-decoration: none !important; display: inline-flex; align-items: center; flex-shrink: 0; }
.site-logo svg { height: 52px; width: auto; }

/* Search */
.header-search { flex: 1; max-width: 480px; position: relative; }
.header-search input {
  width: 100%; padding: 8px 40px 8px 12px;
  border: 1px solid #ccc; border-radius: 2px;
  font-family: var(--font); font-size: 13px;
  color: var(--text); background: #fff; outline: none;
}
.header-search input:focus { border-color: var(--blue); }
.header-search input::placeholder { color: #aaa; font-style: italic; }
.header-search button {
  position: absolute; right: 0; top: 0;
  height: 100%; width: 38px;
  background: none; border: none; cursor: pointer;
  color: #444; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.header-search button:hover { color: var(--blue); }

/* Header right actions */
.header-actions { display: none; }

/* =============================
   NAV BAR (blue)
============================= */
.site-nav { background: var(--blue); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; padding: 11px 16px; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: stretch; }
.nav-item { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: 4px;
  padding: 12px 16px; color: #fff;
  font-size: 14px; font-weight: 400;
  text-decoration: none !important;
  transition: background 0.12s; white-space: nowrap;
}
.nav-item > a:hover, .nav-item:hover > a { background: rgba(0,0,0,0.15); }
.nav-chevron { font-size: 9px; opacity: 0.75; }
.nav-dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid #ddd;
  border-top: 3px solid var(--blue);
  min-width: 175px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 300;
}
.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block; padding: 9px 15px;
  color: #333; font-size: 13px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none !important; transition: background 0.1s;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: #f0f6ff; color: var(--blue); }
.nav-right { margin-left: auto; }
.nav-right > a { gap: 6px; }

/* =============================
   HERO
============================= */
.hero {
  position: relative; height: 480px;
  overflow: hidden; display: flex; align-items: center;
  background: #1a3a5c;
}
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0,40,100,0.75) 0%, rgba(26,115,200,0.45) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 20px; color: #fff; }
.hero-content h1 { font-size: clamp(24px, 4vw, 44px); font-weight: 700; line-height: 1.2; margin-bottom: 14px; max-width: 580px; }
.hero-content p { font-size: 16px; opacity: 0.9; margin-bottom: 26px; max-width: 480px; }
.hero-inner { height: 200px; }
.hero-inner .hero-content h1 { font-size: clamp(20px,3vw,28px); margin-bottom: 8px; }
.hero-inner .hero-content p { margin-bottom: 0; }

/* =============================
   CATEGORY STRIP
============================= */
.category-strip { background: #f5f5f5; border-bottom: 1px solid #ddd; }
.category-strip .inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; overflow-x: auto; scrollbar-width: none; }
.category-strip .inner::-webkit-scrollbar { display: none; }
.cat-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 14px; font-size: 11px; font-weight: 600;
  color: #444; white-space: nowrap; border-right: 1px solid #ddd;
  transition: background 0.12s, color 0.12s; text-decoration: none !important; flex-shrink: 0;
}
.cat-item:hover { background: #e0eefa; color: var(--blue); }
.cat-item .cat-icon { font-size: 20px; line-height: 1; }

/* =============================
   BUTTONS
============================= */
.btn-primary {
  display: inline-block; background: #fff; color: var(--blue);
  font-weight: 700; font-size: 14px; padding: 11px 26px;
  border-radius: 2px; transition: background 0.15s;
  text-decoration: none !important; border: none; cursor: pointer;
}
.btn-primary:hover { background: #efefef; }
.btn-blue { background: var(--blue) !important; color: #fff !important; }
.btn-blue:hover { background: var(--blue-dark) !important; }
.btn-group { display: flex; gap: 10px; flex-wrap: wrap; }

/* =============================
   SECTIONS
============================= */
.section { padding: 52px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: #2d2d2d; color: #fff; }
.section-blue { background: var(--blue); color: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

.section-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.section-dark .section-label, .section-blue .section-label { color: rgba(255,255,255,0.55); }
.section-title { font-size: clamp(19px,3vw,27px); font-weight: 700; margin-bottom: 8px; }
.section-sub { color: var(--muted); font-size: 14px; max-width: 560px; margin-bottom: 28px; }
.section-dark .section-sub, .section-blue .section-sub { color: rgba(255,255,255,0.7); }

/* =============================
   PILLS
============================= */
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pill {
  display: inline-block; padding: 6px 15px;
  background: #fff; border: 1px solid #ccc; border-radius: 18px;
  font-size: 13px; font-weight: 500; color: #333;
  transition: all 0.12s; text-decoration: none !important;
}
.pill:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* =============================
   PRODUCT CARDS
============================= */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 16px; margin-top: 20px; }
.product-card { background: #fff; border: 1px solid #ddd; border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s, transform 0.15s; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card-img { height: 170px; background: #f7f8fa; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 10px; }
.product-card-img img { max-height: 145px; width: auto; object-fit: contain; }
.product-card-body { padding: 14px; }
.product-card-brand { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); margin-bottom: 5px; }
.product-card h3 { font-size: 13px; font-weight: 600; margin-bottom: 7px; line-height: 1.4; }
.product-card p { font-size: 12px; color: var(--muted); line-height: 1.5; margin-bottom: 12px; }
.enquire-btn { display: block; text-align: center; background: var(--blue); color: #fff; padding: 8px; border-radius: 2px; font-size: 13px; font-weight: 600; transition: background 0.12s; text-decoration: none !important; }
.enquire-btn:hover { background: var(--blue-dark); color: #fff; }

/* =============================
   CTA STRIP
============================= */
.cta-strip { background: #2d2d2d; color: #fff; padding: 44px 0; text-align: center; }
.cta-strip h2 { font-size: clamp(19px,3vw,28px); font-weight: 700; margin-bottom: 10px; }
.cta-strip p { color: rgba(255,255,255,0.75); font-size: 15px; margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* =============================
   STATS
============================= */
.stats-bar { background: var(--blue); color: #fff; padding: 26px 0; }
.stats-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; text-align: center; }
.stat-item strong { display: block; font-size: clamp(20px,3vw,32px); font-weight: 700; }
.stat-item span { font-size: 13px; opacity: 0.85; }

/* =============================
   PARTNERS
============================= */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding: 20px 0; }
.logo-strip img { height: 52px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(100%); opacity: 0.6; transition: filter 0.2s, opacity 0.2s; }
.logo-strip img:hover { filter: none; opacity: 1; }
.logo-placeholder { height: 52px; min-width: 100px; padding: 4px 16px; background: #eee; border: 1px solid #ddd; border-radius: 2px; display: flex; align-items: center; font-size: 12px; font-weight: 700; color: #888; }

/* =============================
   SECTORS
============================= */
.sectors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 14px; margin-top: 22px; }
.sector-card { border-radius: var(--radius); overflow: hidden; position: relative; height: 190px; background: #222; }
.sector-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; transition: transform 0.3s; }
.sector-card:hover img { transform: scale(1.04); }
.sector-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px; background: linear-gradient(to top, rgba(0,0,0,0.75), transparent); color: #fff; }
.sector-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.sector-card p { font-size: 12px; opacity: 0.85; line-height: 1.4; }

/* =============================
   ACCORDION
============================= */
.accordion { border-top: 1px solid #ddd; }
.accordion-item { border-bottom: 1px solid #ddd; }
.accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 14px 0; background: none; border: none; cursor: pointer; font-family: var(--font); font-size: 14px; font-weight: 600; color: #222; text-align: left; gap: 10px; }
.accordion-trigger:hover { color: var(--blue); }
.accordion-icon { font-size: 20px; font-weight: 300; color: var(--blue); flex-shrink: 0; transition: transform 0.22s; line-height: 1; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-body { display: none; padding: 0 0 14px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.accordion-body ul { padding-left: 16px; margin-top: 5px; }
.accordion-body li { margin-bottom: 3px; }
.accordion-item.open .accordion-body { display: block; }

/* =============================
   BENEFITS GRID
============================= */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px,1fr)); gap: 14px; margin-top: 22px; }
.benefit-card { background: #fff; border: 1px solid #ddd; border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 16px 18px; }
.benefit-card h3 { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.benefit-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Feature layout */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature-img-placeholder { height: 300px; background: var(--blue-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--blue); font-weight: 600; }
.feature-bullets { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.feature-bullets li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: #444; }
.feature-bullets li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* =============================
   ACCREDITATIONS
============================= */
.accred-strip { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: center; margin-top: 22px; }
.accred-item { display: flex; flex-direction: column; align-items: center; }
.accred-strip img { height: 90px; width: auto; }
.accred-placeholder { width: 85px; height: 65px; background: #eee; border: 1px solid #ddd; border-radius: 2px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #888; text-align: center; padding: 5px; }
.accred-svg-badge { align-items: center; justify-content: center; }

/* =============================
   CONTACT
============================= */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-detail { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.contact-detail-icon { width: 34px; height: 34px; background: var(--blue-light); color: var(--blue); border-radius: 2px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.contact-detail-text strong { display: block; font-size: 13px; margin-bottom: 2px; }
.contact-detail-text a, .contact-detail-text span { color: var(--muted); font-size: 13px; }
.contact-form { background: #f7f8fa; border: 1px solid #e0e0e0; border-radius: var(--radius); padding: 24px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; color: #444; }
.form-group input, .form-group textarea {
  width: 100%; padding: 8px 10px; border: 1px solid #ccc; border-radius: 2px;
  font-family: var(--font); font-size: 13px; color: #222; background: #fff; outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { min-height: 100px; resize: vertical; }
.form-submit { width: 100%; padding: 10px; background: var(--blue); color: #fff; border: none; border-radius: 2px; font-family: var(--font); font-size: 14px; font-weight: 700; cursor: pointer; transition: background 0.15s; }
.form-submit:hover { background: var(--blue-dark); }
.map-container { margin-top: 28px; border-radius: var(--radius); overflow: hidden; height: 250px; border: 1px solid #ddd; }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* =============================
   FOOTER — matching screenshot exactly
============================= */
.site-footer {
  background: #595959;
  color: #ccc;
  padding: 44px 0 0;
  font-size: 13px;
  line-height: 1.7;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr;
  gap: 28px;
}
.footer-brand .brand-name { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 8px; display: block; }
.footer-brand address { font-style: normal; line-height: 1.8; color: #ccc; margin-bottom: 12px; font-size: 13px; }
.footer-contact-link {
  display: flex; align-items: center; gap: 7px;
  color: #ccc; font-size: 13px; margin-bottom: 4px;
  text-decoration: none !important;
}
.footer-contact-link:hover { color: #fff; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 5px; }
.footer-col ul li a { color: #ccc; font-size: 13px; text-decoration: none !important; transition: color 0.12s; }
.footer-col ul li a:hover { color: #fff; }
.footer-accred { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; align-items: center; }
.footer-accred img { height: 58px; width: auto; }
.footer-accred-placeholder { width: 56px; height: 58px; background: #444; border: 1px solid #666; border-radius: 2px; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: #aaa; text-align: center; padding: 4px; }
.footer-accred-label { font-size: 11px; color: #aaa; margin-top: 5px; }
.footer-bottom {
  max-width: 1200px; margin: 36px auto 0;
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center; font-size: 12px; color: #aaa;
}

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 1000px) {
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .nav-inner { display: none; flex-direction: column; }
  .nav-inner.open { display: flex; }
  .nav-toggle { display: block; }
  .site-nav { display: flex; flex-direction: column; }
  .nav-item > a { padding: 11px 16px; }
  .nav-dropdown { position: static; box-shadow: none; border: none; border-top: none; background: rgba(0,0,0,0.12); }
  .nav-dropdown a { color: #fff !important; border-bottom-color: rgba(255,255,255,0.1) !important; }
  .nav-right { margin-left: 0; }
  .header-search { display: none; }
  .basket-info { display: none; }
  .feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-layout { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; gap: 10px; }
  .hero { height: 320px; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .footer-inner { grid-template-columns: 1fr; }
}
