/* ═══════════════════════════════════════════════════
   PROPACK ELECTRONICS – Main Stylesheet
   Color Palette:
     Red:     #D62B2B  /  #c0392b  /  #e53935
     Dark:    #111111  /  #1a1a1a  /  #222222
     Light:   #f8f9fa  /  #ffffff
     Grey:    #6c757d  /  #e9ecef
═══════════════════════════════════════════════════ */

/* ─── RESET & BASE ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #D62B2B;
  --red-dark:   #b01e1e;
  --red-light:  #f5e5e5;
  --black:      #111111;
  --dark:       #1a1a1a;
  --dark2:      #222222;
  --mid:        #444444;
  --grey:       #777777;
  --light-grey: #e9ecef;
  --bg:         #f8f9fa;
  --white:      #ffffff;
  --font:       'Inter', sans-serif;
  --font-cond:  'Barlow Condensed', sans-serif;
  --shadow:     0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.16);
  --radius:     10px;
  --radius-lg:  18px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 90px 0; }
.centered { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.ml-8  { margin-left: 8px; }
.mr-8  { margin-right: 8px; }
.text-red { color: var(--red); }

/* ─── TYPOGRAPHY ──────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
  position: relative;
  padding-left: 22px;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 2px;
  background: var(--red);
}
.section-label.light { color: #fff; }
.section-label.light::before { background: #fff; }

.section-title {
  font-family: var(--font-cond);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 16px;
}
.section-title.light { color: var(--white); }

.section-sub {
  font-size: 1rem;
  color: var(--grey);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.section-header.centered { text-align: center; }
.section-header.centered .section-label { padding-left: 0; }
.section-header.centered .section-label::before { display: none; }

/* ─── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: .9rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: .3px;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(214,43,43,0.35);
}
.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 20px rgba(214,43,43,0.45);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}
.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}
.btn-outline-dark:hover {
  background: var(--dark);
  color: #fff;
}
.btn-red {
  background: var(--red);
  color: #fff;
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ─── TOPBAR ──────────────────────────────────── */
.topbar {
  background: var(--dark);
  color: #ccc;
  font-size: .78rem;
  padding: 7px 0;
  border-bottom: 2px solid var(--red);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar a {
  color: #ccc;
  transition: color var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.topbar a:hover { color: var(--red); }
.topbar-right i.fab {
  font-size: .85rem;
}

/* ─── HEADER ──────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  transition: box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo-link { flex-shrink: 0; }
.logo-img { height: 48px; width: auto; }

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: 5px;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
}
.nav-link.active, .nav-link:hover { color: var(--red); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.nav-arrow {
  font-size: .65rem;
  transition: transform var(--transition);
}
.has-dropdown:hover .nav-arrow { transform: rotate(180deg); }

.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 6px;
  margin-left: 8px;
  box-shadow: 0 3px 12px rgba(214,43,43,.3);
}
.nav-cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}
.nav-cta.active::after { display: none; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--red);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 200;
  padding: 8px 0;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 9px 20px;
  font-size: .875rem;
  color: var(--mid);
  transition: all var(--transition);
}
.dropdown li a:hover {
  color: var(--red);
  background: var(--red-light);
  padding-left: 26px;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -200px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--red);
  width: 780px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 200;
  padding: 28px 24px;
}
.has-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mega-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mega-col ul li a {
  display: block;
  padding: 5px 0;
  font-size: .85rem;
  color: var(--mid);
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}
.mega-col ul li a:hover {
  color: var(--red);
  padding-left: 8px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background var(--transition);
}
.hamburger:hover { background: var(--light-grey); }
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── HERO SLIDER ─────────────────────────────── */
.hero {
  position: relative;
  height: calc(100vh - 108px);
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
}
.hero-slides { width: 100%; height: 100%; position: relative; }

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide.active .hero-content > * { animation: slideInUp .7s ease both; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,.75) 0%,
    rgba(0,0,0,.5) 55%,
    rgba(0,0,0,.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 4px;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-cond);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 18px;
}
.hero-title .text-red { color: var(--red); }

.hero-sub {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.hero-arrow:hover {
  background: var(--red);
  border-color: var(--red);
}
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 2px solid rgba(255,255,255,.6);
  transition: all var(--transition);
}
.hero-dot.active {
  background: var(--red);
  border-color: var(--red);
  width: 28px;
  border-radius: 5px;
}

/* Slide-in animation */
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── STATS BAR ───────────────────────────────── */
.stats-bar {
  background: var(--dark);
  padding: 0;
  border-bottom: 3px solid var(--red);
}
.stats-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.stat-item .stat-number {
  font-family: var(--font-cond);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-item .stat-suffix { color: var(--red); font-size: 1.8rem; font-weight: 800; }
.stat-item p { color: rgba(255,255,255,.6); font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.stat-divider { width: 1px; background: rgba(255,255,255,.1); align-self: stretch; margin: 14px 0; }

/* ─── ABOUT STRIP ─────────────────────────────── */
.about-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img-wrap { position: relative; overflow: visible; }
.about-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  position: relative;
  z-index: 1;
}
.about-exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--red);
  color: #fff;
  width: 110px; height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(214,43,43,.4);
  border: 4px solid #fff;
  z-index: 10;
}
.badge-num { font-size: 2rem; font-weight: 800; line-height: 1; }
.badge-txt { font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; line-height: 1.3; }

.about-desc { color: var(--grey); margin-bottom: 24px; font-size: .975rem; line-height: 1.75; }
.about-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.about-feat { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; }
.about-feat i { color: var(--red); margin-top: 2px; flex-shrink: 0; }

/* ─── USP SECTION ─────────────────────────────── */
.usp-section { background: var(--bg); }
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.usp-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border-bottom: 4px solid transparent;
  transition: all var(--transition);
  text-align: center;
}
.usp-card:hover {
  border-bottom-color: var(--red);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.usp-icon-wrap {
  width: 70px; height: 70px;
  background: var(--red-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  transition: all var(--transition);
}
.usp-card:hover .usp-icon-wrap { background: var(--red); }
.usp-icon-wrap i { font-size: 1.5rem; color: var(--red); transition: color var(--transition); }
.usp-card:hover .usp-icon-wrap i { color: #fff; }
.usp-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.usp-card p  { font-size: .875rem; color: var(--grey); line-height: 1.7; }

/* ─── PRODUCTS SECTION ────────────────────────── */
.products-section { background: var(--white); }

/* Tabs */
.prod-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  justify-content: center;
}
.prod-tab {
  padding: 10px 22px;
  font-size: .88rem;
  font-weight: 600;
  border-radius: 30px;
  color: var(--grey);
  background: var(--bg);
  border: 2px solid transparent;
  transition: all var(--transition);
}
.prod-tab.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 4px 14px rgba(214,43,43,.3);
}
.prod-tab:hover:not(.active) {
  border-color: var(--red);
  color: var(--red);
}

/* Panels */
.prod-panel { display: none; }
.prod-panel.active { display: block; }

/* Product Grid */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prod-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--light-grey);
}
.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red);
}
.prod-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.prod-icon { font-size: 3rem; color: #94a3b8; transition: all var(--transition); }
.prod-icon.red { color: #e57373; }
.prod-icon.green { color: #66bb6a; }
.prod-icon.purple { color: #9575cd; }
.prod-card:hover .prod-icon { transform: scale(1.15); }
.prod-body { padding: 20px 22px 24px; }
.prod-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-light);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.prod-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.prod-body p  { font-size: .855rem; color: var(--grey); line-height: 1.65; margin-bottom: 14px; }
.prod-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .855rem;
  font-weight: 600;
  color: var(--red);
  transition: gap var(--transition);
}
.prod-link:hover { gap: 10px; }

/* ─── FLOORING BANNER ─────────────────────────── */
.flooring-banner {
  position: relative;
  background: url('images/flooring-banner.jpg') center/cover no-repeat;
  padding: 90px 0;
  overflow: hidden;
}
.flooring-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.7) 55%, rgba(0,0,0,.4) 100%);
}
.flooring-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.flooring-text p { color: rgba(255,255,255,.75); margin-bottom: 20px; line-height: 1.75; }
.flooring-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.flooring-checklist span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
}
.flooring-checklist i { color: var(--red); }
.flooring-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.f-stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(4px);
  transition: all var(--transition);
}
.f-stat:hover { background: rgba(214,43,43,.2); border-color: var(--red); }
.f-stat i { font-size: 1.6rem; color: var(--red); flex-shrink: 0; }
.f-stat strong { display: block; font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1; }
.f-stat span { font-size: .8rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 1px; }

/* ─── SERVICES SECTION ────────────────────────── */
.services-section { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-grey);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.svc-num {
  font-family: var(--font-cond);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--light-grey);
  line-height: 1;
  margin-bottom: -10px;
  transition: color var(--transition);
}
.service-card:hover .svc-num { color: var(--red-light); }
.svc-icon {
  width: 52px; height: 52px;
  background: var(--red-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: all var(--transition);
}
.svc-icon i { font-size: 1.2rem; color: var(--red); transition: color var(--transition); }
.service-card:hover .svc-icon { background: var(--red); }
.service-card:hover .svc-icon i { color: #fff; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.service-card p  { font-size: .875rem; color: var(--grey); line-height: 1.7; margin-bottom: 16px; }
.svc-link { font-size: .875rem; font-weight: 600; color: var(--red); transition: letter-spacing var(--transition); }
.svc-link:hover { letter-spacing: .5px; }

/* ─── INDUSTRIES ──────────────────────────────── */
.industries-section { background: var(--white); }
.ind-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.ind-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.ind-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ind-img {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.ind-img i { font-size: 2.5rem; color: rgba(255,255,255,.6); transition: all var(--transition); }
.ind-card:hover .ind-img i { color: var(--red); transform: scale(1.15); }
.ind-body { padding: 16px 18px 20px; background: var(--white); border: 1px solid var(--light-grey); border-top: none; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.ind-body h3 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.ind-body p  { font-size: .8rem; color: var(--grey); line-height: 1.55; }

/* ─── TESTIMONIALS ────────────────────────────── */
.testimonials-section { background: var(--bg); }
.testi-slider-wrap { position: relative; overflow: hidden; }
.testi-track {
  display: flex;
  gap: 24px;
  transition: transform .5s ease;
}
.testi-card {
  min-width: calc(33.333% - 16px);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-grey);
  flex-shrink: 0;
}
.testi-stars { color: #f59e0b; font-size: .85rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-quote {
  font-size: .9rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: .9rem; color: var(--dark); }
.testi-author span   { font-size: .78rem; color: var(--grey); }
.testi-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.testi-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--light-grey);
  color: var(--mid);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.testi-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ─── RESOURCES ───────────────────────────────── */
.resources-section { background: var(--white); }
.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.res-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--light-grey);
  text-align: center;
  transition: all var(--transition);
}
.res-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.res-icon {
  width: 72px; height: 72px;
  background: var(--red-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.res-icon i { font-size: 1.6rem; color: var(--red); }
.res-icon.red { background: var(--red); }
.res-icon.red i { color: #fff; }
.res-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.res-card p  { font-size: .875rem; color: var(--grey); line-height: 1.7; margin-bottom: 24px; }

/* ─── CTA BAND ────────────────────────────────── */
.cta-band {
  background: var(--dark);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(214,43,43,.3), transparent 70%);
  pointer-events: none;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-family: var(--font-cond);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.cta-text p { color: rgba(255,255,255,.65); font-size: .95rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── CONTACT SECTION ─────────────────────────── */
.contact-section { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-desc { color: var(--grey); font-size: .975rem; line-height: 1.75; margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 18px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ci-icon {
  width: 44px; height: 44px;
  background: var(--red-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ci-icon i { color: var(--red); font-size: 1rem; }
.contact-item strong { display: block; font-size: .875rem; color: var(--dark); font-weight: 700; }
.contact-item span   { font-size: .875rem; color: var(--grey); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: .3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--light-grey);
  border-radius: 7px;
  font-size: .9rem;
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; }
.form-success {
  display: none;
  align-items: center;
  gap: 8px;
  color: #2e7d32;
  background: #e8f5e9;
  border-radius: 7px;
  padding: 12px 16px;
  font-size: .9rem;
  margin-top: 12px;
}
.form-success.show { display: flex; }

/* ─── FOOTER ──────────────────────────────────── */
.footer { background: var(--dark); color: rgba(255,255,255,.65); }
.footer-main { padding: 64px 0 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo { height: 44px; width: auto; margin-bottom: 16px; filter: brightness(1.1); }
.footer-brand p { font-size: .875rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--red); color: #fff; }
.footer-col h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 24px; height: 2px;
  background: var(--red);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: all var(--transition);
  display: inline-block;
}
.footer-col ul li a:hover { color: var(--red); padding-left: 6px; }
.footer-bottom { padding: 18px 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-badges { display: flex; gap: 12px; }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.07);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.1);
}
.footer-links { display: flex; gap: 16px; }
.footer-links a { font-size: .82rem; color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer-links a:hover { color: var(--red); }

/* ─── SCROLL TO TOP ───────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 44px; height: 44px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(214,43,43,.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition);
}
.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--red-dark); transform: translateY(-3px); }

/* ─── SCROLL REVEAL ANIMATIONS ────────────────── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.revealed {
  opacity: 1;
  transform: translate(0);
}

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1100px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid .footer-col:nth-child(4),
  .footer-grid .footer-col:nth-child(5) { display: none; }
  .mega-menu { width: 600px; left: -100px; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  /* ── Mobile nav panel ── */
  .nav {
    display: none;
    position: fixed;
    top: var(--mobile-nav-top, 72px);
    left: 0; right: 0; bottom: 0;
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 32px;
    z-index: 999;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
  }
  .nav.mobile-open { display: flex; }

  /* Dark overlay behind open menu */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 998;
  }
  .nav-overlay.visible { display: block; }

  /* Nav list */
  .nav-list { flex-direction: column; gap: 0; width: 100%; padding: 8px 0; }
  .nav-link {
    padding: 14px 20px;
    border-bottom: 1px solid var(--light-grey);
    border-radius: 0;
    font-size: 1rem;
    width: 100%;
    justify-content: space-between;
  }
  .nav-link.active::after { display: none; }
  .nav-cta {
    margin: 16px 20px 0;
    border-radius: 6px;
    justify-content: center;
    padding: 13px 20px;
    width: calc(100% - 40px);
  }
  .hamburger { display: flex; }

  /* ── Mobile dropdown / mega-menu ── */
  /* Hidden by default; revealed by .mobile-expanded on parent <li> */
  .mega-menu, .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg);
    padding: 0;
    margin: 0;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    width: 100%;
  }
  /* When expanded */
  .has-dropdown.mobile-expanded > .mega-menu,
  .has-dropdown.mobile-expanded > .dropdown {
    max-height: 1000px;
    padding: 10px 16px 16px;
  }
  /* Rotate arrow when expanded */
  .has-dropdown.mobile-expanded .nav-arrow { transform: rotate(180deg); }
  /* Keep hover dropdown closed on mobile */
  .has-dropdown:hover > .mega-menu,
  .has-dropdown:hover > .dropdown {
    opacity: 1; visibility: visible; transform: none;
  }

  .mega-grid { grid-template-columns: 1fr; gap: 4px; }
  /* Mobile mega-menu inner styling */
  .mega-col { margin-bottom: 8px; }
  .mega-title { font-size: .78rem; padding: 6px 0 4px; border-bottom: 1px solid var(--light-grey); margin-bottom: 6px; }
  .mega-col ul li a { padding: 7px 0; font-size: .9rem; border-bottom: none; }
  .dropdown li a { padding: 8px 0; font-size: .9rem; }
  /* Prevent hover-triggered shows on mobile */
  .has-dropdown:hover > .mega-menu,
  .has-dropdown:hover > .dropdown {
    max-height: 0;
    padding: 0;
  }
  .has-dropdown.mobile-expanded:hover > .mega-menu,
  .has-dropdown.mobile-expanded:hover > .dropdown {
    max-height: 1000px;
    padding: 10px 16px 16px;
  }
  .about-flex { grid-template-columns: 1fr; gap: 40px; }
  .about-exp-badge { right: 0; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-card { min-width: calc(50% - 12px); }
  .res-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .flooring-content { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section-pad { padding: 56px 0; }
  .container { padding: 0 16px; }
  .topbar-right span { display: none; }
  .topbar { font-size: .72rem; }
  .topbar-left a { font-size: .72rem; }
  .logo-img { height: 38px; }
  .stats-grid { flex-wrap: wrap; }
  .stat-item { flex: 0 0 50%; padding: 20px 12px; }
  .stat-item .stat-number { font-size: 1.9rem; }
  .stat-divider { display: none; }
  .about-flex { grid-template-columns: 1fr; gap: 32px; }
  .about-exp-badge { width: 90px; height: 90px; right: 0; bottom: -14px; }
  .badge-num { font-size: 1.6rem; }
  .usp-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .prod-tabs { gap: 6px; }
  .prod-tab { padding: 8px 12px; font-size: .78rem; }
  .services-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .ind-img { height: 100px; }
  .ind-img i { font-size: 1.8rem; }
  .testi-card { min-width: 100%; }
  .cta-band { padding: 44px 0; }
  .cta-inner { flex-direction: column; text-align: center; gap: 20px; }
  .cta-actions { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 22px 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn { width: 100%; text-align: center; justify-content: center; }
  .flooring-checklist { grid-template-columns: 1fr; }
  .flooring-stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-col h4 { margin-bottom: 12px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 10px; }
  .footer-badges { justify-content: center; }
  .footer-links { justify-content: center; }
  .res-grid { grid-template-columns: 1fr; max-width: 100%; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .hero-title { font-size: clamp(1.7rem, 7vw, 3rem); }
  .hero-sub { font-size: .9rem; }
  .hero-badge { font-size: .7rem; padding: 6px 12px; }
  .hero-prev { left: 10px; }
  .hero-next { right: 10px; }
  .hero-arrow { width: 38px; height: 38px; font-size: .85rem; }
  .nav { top: var(--mobile-nav-top, 72px); }
  .scroll-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }
}

/* ─── Very small screens ──────────────── */
@media (max-width: 380px) {
  .container { padding: 0 12px; }
  .topbar-left { gap: 10px; }
  .topbar-left a:last-child { display: none; }
  .stat-item { flex: 0 0 100%; }
  .stat-divider { display: none; }
  .ind-grid { grid-template-columns: 1fr; }
  .flooring-stats { grid-template-columns: 1fr; }
  .prod-tab { padding: 7px 10px; font-size: .75rem; }
}
