/* =========================================================
   SHENZHEN XINRUIFENG FACTORY ELECTRONICS TECHNOLOGY, LTD
   Wilshire Website — Template 04 · Angular Cut
   Palette derived from logo: deep navy / indigo swoosh / sky blue
   ========================================================= */
:root {
  /* Brand (from logo) */
  --primary-color: #081640;     /* wordmark navy */
  --primary-light: #1B2F6E;
  --secondary-color: #1B2470;   /* swoosh indigo */
  --secondary-light: #3A48A0;
  --accent-color: #2CAFDD;      /* swoosh sky blue */
  --accent-dark: #1789B6;

  --white: #ffffff;
  --ink: #0B1330;
  --text: #3E4661;
  --text-muted: #6A7189;
  --light-bg: #F6F6F8;
  --hairline: #E6E8EE;
  --footer-bg: #060B1F;

  /* Template tokens — T04 Angular Cut */
  --font-head: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container-max: 1200px;
  --section-pad: 95px;
  --grid-gap: 1.5rem;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(8, 22, 64, 0.08);
  --shadow-hover: 0 16px 38px rgba(8, 22, 64, 0.14);
  --h1-size: clamp(2.1rem, 4.4vw, 3.5rem);
  --h2-size: clamp(1.7rem, 3vw, 2.4rem);
  --body-lh: 1.75;
  --btn-radius: 0;
  --btn-pad: 14px 30px;
  --cut: 14px;          /* standard clipped corner */
  --cut-lg: 34px;       /* image clipped corner */
  --card-pad: 2.6rem 1.9rem 2rem;
  --hero-h: 70vh;
  --page-hero-h: 300px;
}

/* ---------- Base ---------- */
html, body { overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: var(--body-lh);
  color: var(--text);
  background: var(--white);
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); font-weight: 700; line-height: 1.2; }
a { color: var(--accent-dark); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--secondary-color); }
img { max-width: 100%; }
.container { max-width: var(--container-max); }

.section-padding { padding: var(--section-pad) 0; }
@media (max-width: 767px) { .section-padding { padding: 64px 0; } }
.bg-light-soft { background: var(--light-bg); }

/* Section tag — D6: small icon + text, accent */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.section-tag i { font-size: 1rem; color: var(--accent-color); line-height: 1; }
.section-title { font-size: var(--h2-size); margin-bottom: 1.1rem; letter-spacing: -0.01em; }
.section-intro { max-width: 620px; color: var(--text-muted); }

/* ---------- Buttons — clipped bottom-left corner ---------- */
.btn-brand,
.btn-brand-outline,
.btn-brand-secondary {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: var(--btn-pad);
  border-radius: var(--btn-radius);
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: background-color .25s ease, color .25s ease, clip-path .25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-brand { background: var(--accent-color); color: var(--white); border: 0; }
.btn-brand:hover, .btn-brand:focus { background: var(--accent-dark); color: var(--white); }
.btn-brand-secondary { background: var(--primary-color); color: var(--white); border: 0; }
.btn-brand-secondary:hover { background: var(--secondary-color); color: var(--white); }
.btn-brand-outline {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border: 0;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.85);
}
.btn-brand-outline:hover { background: var(--white); color: var(--primary-color); }
.btn-arrow::after { content: '\2197'; font-size: 1.05em; line-height: 1; transition: transform .25s ease; }
.btn-arrow:hover::after { transform: translate(2px, -2px); }
.btn-lg { font-size: 1rem; padding: 15px 32px; }

/* ---------- Top bar — white with hairline ---------- */
.top-bar {
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 9px 0;
}
.top-bar a { color: var(--text-muted); }
.top-bar a:hover { color: var(--accent-dark); }
.top-bar i { color: var(--accent-color); margin-right: 7px; }

/* ---------- Navbar ---------- */
.main-navbar {
  background: var(--white);
  padding: 14px 0;
  transition: box-shadow .3s ease, padding .3s ease;
  z-index: 1030;
}
.main-navbar.scrolled { box-shadow: 0 6px 24px rgba(8,22,64,.09); padding: 9px 0; }
.main-navbar .navbar-brand img { height: 54px; width: auto; transition: height .3s ease; }
.main-navbar.scrolled .navbar-brand img { height: 46px; }
.main-navbar .nav-link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 8px 14px !important;
  position: relative;
}
.main-navbar .nav-link::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 3px;
  background: var(--accent-color);
  clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active { color: var(--accent-dark); }
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after { transform: scaleX(1); }

/* Navbar CTA — G3: slanted parallelogram with circular icon chip */
.main-navbar .btn-brand.nav-cta {
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  padding: 8px 30px 8px 22px;
  font-size: 0.88rem;
  gap: 10px;
  background: var(--accent-color);
}
.main-navbar .btn-brand.nav-cta:hover { background: var(--primary-color); }
.nav-cta .chip {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--white);
  color: var(--accent-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.main-navbar .navbar-toggler { border: 0; padding: 6px; }
.main-navbar .navbar-toggler:focus { box-shadow: none; }

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; }
.hero-slide {
  height: var(--hero-h);
  min-height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,11,31,.82) 0%, rgba(8,22,64,.62) 45%, rgba(8,22,64,.28) 100%);
}
.hero-slide::after { /* angular accent wedge, bottom-left */
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 220px; height: 64px;
  background: var(--accent-color);
  clip-path: polygon(0 0, 70% 0, 100% 100%, 0 100%);
  opacity: .92;
}
.hero-slide .container { position: relative; z-index: 2; }
.hero-content { max-width: 640px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 18px;
}
.hero-tag i {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-color); color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  font-size: 1rem;
}
.hero-slide h1 {
  color: var(--white);
  font-size: var(--h1-size);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.hero-slide p { color: rgba(255,255,255,.86); font-size: 1.05rem; max-width: 540px; margin-bottom: 30px; }

/* A1 — vertical dot stack on right edge, active ringed */
.hero-slider .carousel-indicators {
  right: 34px; left: auto; top: 50%; bottom: auto;
  transform: translateY(-50%);
  flex-direction: column;
  margin: 0; gap: 14px;
  width: auto;
}
.hero-slider .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  border: 0; margin: 0;
  opacity: 1;
  text-indent: -999px;
  position: relative;
  transition: background-color .25s ease;
}
.hero-slider .carousel-indicators .active { background: var(--accent-color); }
.hero-slider .carousel-indicators .active::after {
  content: ''; position: absolute; inset: -6px;
  border: 1.5px solid var(--accent-color); border-radius: 50%;
}
/* B4 — solid accent squares stacked at right edge (bottom) */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 52px; height: 52px;
  top: auto; left: auto; right: 0;
  background: var(--accent-color);
  opacity: 1;
  transition: background-color .25s ease;
}
.hero-slider .carousel-control-next { bottom: 0; }
.hero-slider .carousel-control-prev { bottom: 52px; background: var(--primary-color); }
.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover { background: var(--accent-dark); }
.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon { width: 1.1rem; height: 1.1rem; }

/* ---------- Page hero ---------- */
.page-hero {
  height: var(--page-hero-h);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,11,31,.78) 0%, rgba(8,22,64,.55) 60%, rgba(8,22,64,.4) 100%);
}
.page-hero::after { /* clipped accent wedge, bottom-right */
  content: ''; position: absolute; right: 0; bottom: 0;
  width: 280px; height: 90px;
  background: var(--accent-color);
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .9;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 10px; }
.breadcrumb-custom { color: var(--accent-color); font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; }
.breadcrumb-custom a { color: rgba(255,255,255,.85); }
.breadcrumb-custom a:hover { color: var(--accent-color); }

/* ---------- About image — 6:5 with clipped corner ---------- */
.about-img-wrap { position: relative; padding: 0 0 22px 22px; }
.about-img-wrap::before { /* offset accent plate behind the cut */
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 55%; height: 55%;
  background: var(--accent-color);
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut-lg) 100%, 0 calc(100% - var(--cut-lg)));
}
.about-img-wrap img {
  position: relative;
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  display: block;
  clip-path: polygon(0 0, calc(100% - var(--cut-lg)) 0, 100% var(--cut-lg), 100% 100%, var(--cut-lg) 100%, 0 calc(100% - var(--cut-lg)));
}
.about-img-wrap .badge-float {
  position: absolute; right: -14px; bottom: 44px;
  background: var(--primary-color);
  color: var(--white);
  padding: 18px 26px 18px 22px;
  font-family: var(--font-head);
  font-size: 0.9rem; line-height: 1.35;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  box-shadow: var(--shadow);
}
.about-img-wrap .badge-float .num { display: block; font-size: 2rem; font-weight: 700; color: var(--accent-color); line-height: 1.1; }
@media (max-width: 991px) { .about-img-wrap .badge-float { right: 10px; } }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--text); }
.check-list li::before {
  content: '\2713';
  font-weight: 700;
  position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px;
  background: var(--accent-color); color: var(--white);
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

/* ---------- Diagonal section transition (one per page) ---------- */
.diag-section {
  clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
  margin-top: -60px;
  padding-top: calc(var(--section-pad) + 60px);
  position: relative;
}
@media (max-width: 767px) {
  .diag-section { clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%); margin-top: -30px; padding-top: 94px; }
}

/* ---------- Why Choose Us — J1 + E5 shield badge overlapping top-left ---------- */
.feature-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--card-pad);
  margin-top: 24px;
  height: calc(100% - 24px);
  transition: box-shadow .3s ease;
}
.feature-card:hover { box-shadow: var(--shadow-hover); }
.feature-card .icon-wrap {
  position: absolute; top: -24px; left: -10px;
  width: 60px; height: 62px;
  background: var(--accent-color);
  color: var(--white);
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  padding-bottom: 6px;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%); /* shield */
  transition: background-color .3s ease;
}
.feature-card:hover .icon-wrap { background: var(--secondary-color); }
.feature-card h5 { color: var(--accent-dark); font-size: 1.18rem; margin: 16px 0 10px; }
.feature-card p { margin: 0; color: var(--text-muted); font-size: 0.93rem; }

/* ---------- Mission & Vision ---------- */
.mv-card {
  position: relative;
  background: var(--primary-color);
  color: rgba(255,255,255,.85);
  padding: 2.8rem 2.4rem;
  height: 100%;
  clip-path: polygon(0 0, calc(100% - var(--cut-lg)) 0, 100% var(--cut-lg), 100% 100%, 0 100%);
}
.mv-card.alt { background: var(--secondary-color); }
.mv-card i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  font-size: 1.5rem;
  background: var(--accent-color); color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  margin-bottom: 18px;
}
.mv-card h4 { color: var(--white); font-size: 1.5rem; margin-bottom: 12px; }
.mv-card p { margin-bottom: .8rem; }
.mv-card p:last-child { margin-bottom: 0; }

/* Core values — class kept for inventory (not used: no values in client doc) */
.value-pill { background: var(--white); box-shadow: var(--shadow); padding: 1.6rem; border-radius: var(--radius); height: 100%; }

/* ---------- Product / category cards — 6:5 clipped corner ---------- */
.category-card-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.product-card,
.item-card {
  --corner: 26px;
  background: var(--white);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  height: 100%;
  clip-path: polygon(0 0, calc(100% - var(--corner)) 0, 100% var(--corner), 100% 100%, 0 100%);
  transition: clip-path .35s ease, box-shadow .35s ease;
}
.product-card:hover,
.item-card:hover { --corner: 52px; box-shadow: var(--shadow-hover); }
.product-img, .item-img { overflow: hidden; background: var(--light-bg); }
.product-img img, .item-img img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; display: block; }
.product-body, .item-body {
  padding: 1.2rem 1.4rem;
  border-top: 3px solid var(--accent-color);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.product-body h5, .item-body h5 { margin: 0; font-size: 1.1rem; color: var(--ink); transition: color .25s ease; }
.product-card:hover h5, .item-card:hover h5 { color: var(--accent-dark); }

/* ---------- CTA — H7: greyscale image, colour button ---------- */
.cta-section { position: relative; overflow: hidden; background-size: cover; background-position: center; isolation: isolate; }
.cta-section .cta-bg {
  position: absolute; inset: 0; z-index: -2;
  background: inherit;
  background-size: cover; background-position: center;
  filter: grayscale(1) contrast(1.05);
}
.cta-section::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10,12,20,.86) 0%, rgba(10,12,20,.66) 100%);
}
.cta-section::after {
  content: ''; position: absolute; left: 0; top: 0;
  width: 160px; height: 8px;
  background: var(--accent-color);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.cta-section h2 { color: var(--white); font-size: var(--h2-size); margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,.8); max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---------- Contact ---------- */
.contact-info-card {
  background: var(--primary-color);
  color: rgba(255,255,255,.85);
  padding: 2.6rem 2rem;
  height: 100%;
  clip-path: polygon(0 0, calc(100% - var(--cut-lg)) 0, 100% var(--cut-lg), 100% 100%, 0 100%);
}
.contact-info-card h4 { color: var(--white); margin-bottom: 1.8rem; }
.contact-info-card p { font-size: 0.93rem; color: rgba(255,255,255,.72); margin-bottom: 1.8rem; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 1.5rem; }
.ci-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--accent-color); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.ci-text small { display: block; font-size: 0.75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-color); font-weight: 600; margin-bottom: 2px; }
.ci-text a, .ci-text span { color: var(--white); word-break: break-word; }
.ci-text a:hover { color: var(--accent-color); }

.contact-form-wrap {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 2.6rem 2.4rem;
  height: 100%;
}
.contact-form-wrap h4 { font-size: 1.6rem; }
.contact-form-wrap .form-label { font-family: var(--font-head); color: var(--ink); font-size: 0.92rem; margin-bottom: 6px; }
.contact-form-wrap .form-control {
  border: 1px solid var(--hairline);
  border-radius: 0;
  background: var(--light-bg);
  padding: 12px 16px;
  font-size: 0.95rem;
}
.contact-form-wrap .form-control:focus { border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(44,175,221,.15); background: var(--white); }
.contact-form-wrap .row > [class*="col-"] { margin-bottom: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,.66); font-size: 0.93rem; }
.footer-top { padding: 80px 0 56px; position: relative; }
.footer-top::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 240px; height: 6px;
  background: var(--accent-color);
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.footer-logo { height: 62px; width: auto; margin-bottom: 22px; }
.site-footer h5 {
  color: var(--white); font-size: 1.12rem; margin-bottom: 22px;
  padding-bottom: 12px; position: relative;
}
.site-footer h5::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 36px; height: 3px; background: var(--accent-color);
  clip-path: polygon(0 0, 100% 0, calc(100% - 3px) 100%, 0 100%);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 12px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--accent-color); }
.footer-links li a::before { /* chevron bullets */
  content: '\203A'; font-weight: 700;
  font-size: 1.05rem; line-height: 1; color: var(--accent-color);
  margin-right: 10px; display: inline-block; transition: transform .25s ease;
}
.footer-links li a:hover::before { transform: translateX(3px); }
.footer-contact li { display: flex; align-items: flex-start; }
.footer-contact i { color: var(--accent-color); margin-top: 2px; }
/* I1 — accent-filled copyright bar */
.footer-bottom { background: var(--accent-color); color: var(--white); padding: 15px 0; font-size: 0.88rem; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  background: var(--primary-color); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease, background-color .25s ease;
  z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent-color); color: var(--white); }

/* ---------- Dropdown (kept for framework parity; no categories on this build) ---------- */
.main-navbar .dropdown-menu { border: 0; border-radius: 0; box-shadow: var(--shadow-hover); padding: 10px; min-width: 240px; }
.main-navbar .dropdown-item { font-family: var(--font-head); color: var(--ink); padding: 10px 16px; }
.main-navbar .dropdown-item:hover { background: rgba(44,175,221,.1); color: var(--accent-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .top-bar { display: none; }
  .main-navbar .navbar-brand img { height: 42px; }
  .main-navbar.scrolled .navbar-brand img { height: 40px; }
  .main-navbar .navbar-collapse { flex-basis: 100%; width: 100%; }
  .main-navbar .navbar-collapse.show,
  .main-navbar .navbar-collapse.collapsing { padding: 10px 0 14px; border-top: 1px solid var(--hairline); margin-top: 8px; }
  .main-navbar .navbar-nav { flex-direction: column; align-items: flex-start !important; }
  .main-navbar .navbar-nav .nav-item { width: 100%; }
  .main-navbar .navbar-nav .nav-link { padding: 10px 0 !important; }
  .main-navbar .nav-link::after { left: 0; right: auto; width: 40px; }
  .nav-products-row { display: flex; align-items: center; justify-content: space-between; width: 100%; }
  .mobile-cat-toggle { background: none; border: 0; padding: 6px 8px; color: var(--primary-color); transition: transform .25s ease; }
  .mobile-cat-toggle.open { transform: rotate(180deg); }
  .main-navbar .navbar-nav .dropdown-menu { position: static !important; box-shadow: none !important; padding: 0 0 4px 16px !important; display: none; }
  .main-navbar .navbar-nav .dropdown-menu.show { display: block; }
  .hero-slider .carousel-indicators { right: 16px; }
}
@media (min-width: 992px) {
  .main-navbar .dropdown-menu { display: none; }
  .main-navbar .dropdown-menu.show { display: block; }
}
@media (max-width: 767px) {
  .hero-slide { height: 78vh; min-height: 480px; }
  .hero-slide::after { width: 130px; height: 40px; }
  .hero-slide p { font-size: 0.98rem; }
  .hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { width: 44px; height: 44px; }
  .hero-slider .carousel-control-prev { bottom: 44px; }
  .page-hero { height: 240px; }
  .page-hero::after { width: 150px; height: 50px; }
  .about-img-wrap { padding: 0 0 14px 14px; }
  .feature-card .icon-wrap { left: 0; }
  .contact-form-wrap, .contact-info-card { padding: 2rem 1.4rem; }
  .cta-row { text-align: center; }
}
