/* ============================================================
   REIPL – Premium Corporate Website Stylesheet  v2.0
   Raihan Electrical and Instrumentation Private Limited
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --navy:        #0a1f44;
  --navy-mid:    #0f2d5e;
  --navy-light:  #1a3a72;
  --blue:        #1565c0;
  --blue-light:  #1e88e5;
  --orange:      #e65100;
  --orange-l:    #f57c00;
  --orange-ll:   #ff8f00;
  --white:       #ffffff;
  --off-white:   #f8f9fa;
  --light-bg:    #f2f4f8;
  --grey-mid:    #dee2e8;
  --grey-text:   #6b7280;
  --text-dark:   #0d1b2e;
  --text-body:   #3a4556;
  --border:      #d1d5db;
  --shadow-sm:   0 2px 10px rgba(10,31,68,.08);
  --shadow-md:   0 8px 28px rgba(10,31,68,.14);
  --shadow-lg:   0 20px 60px rgba(10,31,68,.20);
  --shadow-xl:   0 32px 80px rgba(10,31,68,.28);
  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   20px;
  --transition:  .28s cubic-bezier(.4,0,.2,1);
  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head:   'Rajdhani', 'Inter', sans-serif;
}

/* ── Reset & Base ──────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin:0; padding:0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── Utility ──────────────────────────────────────────── */
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.py-7 { padding-top: 6rem; padding-bottom: 6rem; }
.bg-light-grey { background-color: var(--light-bg); }
.bg-dark-navy  { background: linear-gradient(135deg, #071428 0%, var(--navy) 100%); }
.bg-white      { background: var(--white); }
.text-light-muted { color: rgba(255,255,255,.75); }
.min-vh-hero   { min-height: 88vh; }
.prose p { margin-bottom: 1.1rem; }
.section-divider { width: 64px; height: 4px; background: linear-gradient(90deg,var(--orange),var(--orange-ll)); border-radius: 2px; margin-bottom: 1rem; }

/* ── Animations (Scroll Reveal) ────────────────────────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(.92); transition: opacity .55s ease, transform .55s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }
.delay-6 { transition-delay: .6s; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: .04em;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.5rem;
  border: 2px solid transparent;
}
.btn-lg { padding: .8rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .4rem 1rem; font-size: .88rem; }

.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-l));
  color: #fff; border-color: transparent;
}
.btn-orange:hover {
  background: linear-gradient(135deg, #c23b00, var(--orange));
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230,81,0,.35);
}
.btn-navy {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: #fff; border-color: transparent;
}
.btn-navy:hover {
  background: linear-gradient(135deg, #050e1e, var(--navy));
  color: #fff; transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.65);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: #fff;
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
}
.btn-glass {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff;
}
.btn-glass:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
}
/* legacy aliases */
.btn-accent { background: linear-gradient(135deg,var(--orange),var(--orange-l)); color:#fff; border:none; }
.btn-accent:hover { background: linear-gradient(135deg,#c23b00,var(--orange)); color:#fff; transform:translateY(-2px); box-shadow:0 8px 24px rgba(230,81,0,.35); }
.btn-primary-custom { background: linear-gradient(135deg,var(--navy),var(--navy-mid)); color:#fff; border:none; }
.btn-primary-custom:hover { background:linear-gradient(135deg,#050e1e,var(--navy)); color:#fff; transform:translateY(-2px); }
.btn-outline-primary-custom { border:2px solid var(--navy); color:var(--navy); background:transparent; }
.btn-outline-primary-custom:hover { background:var(--navy); color:#fff; }
.btn-outline-accent { border:2px solid var(--orange); color:var(--orange); background:transparent; }
.btn-outline-accent:hover { background:var(--orange); color:#fff; }

/* ── WhatsApp Float ────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  background: #25d366;
  color: #fff;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(37,211,102,.5);
  z-index: 1050;
  transition: all var(--transition);
}
.whatsapp-float:hover { background: #1ea952; color:#fff; transform: scale(1.1); box-shadow: 0 10px 30px rgba(37,211,102,.6); }

/* ══════════════════════════════════════════════════════════
   HEADER / NAVBAR
   ══════════════════════════════════════════════════════════ */
.site-header {
  background: rgba(10,31,68,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  z-index: 1040;
  transition: all .35s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
  background: rgba(7,20,40,.99);
}
.site-header .navbar { padding: .6rem 0; min-height: 72px; }

/* Logo */
.logo-text-wrap { display: flex; align-items: center; gap: .55rem; }
.logo-abbr {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .05em;
  line-height: 1;
}
.logo-abbr span { color: var(--orange); }
.logo-lines { display: flex; flex-direction: column; gap: 0; }
.logo-full { font-size: .68rem; font-weight: 600; color: rgba(255,255,255,.7); letter-spacing: .04em; line-height: 1.3; max-width: 160px; }
.logo-tag { font-size: .6rem; font-weight: 700; color: var(--orange-ll); letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; }
.logo-img { filter: brightness(1.1); }

/* Nav links */
.navbar-nav .nav-link {
  color: rgba(255,255,255,.82);
  font-weight: 500;
  font-size: .92rem;
  letter-spacing: .025em;
  padding: .55rem .8rem !important;
  transition: all var(--transition);
  position: relative;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: .8rem; right: .8rem;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.navbar-nav .nav-link:hover { color: #fff; }
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .nav-link.active { color: #fff; }

/* Header right area */
.header-phone {
  color: rgba(255,255,255,.82);
  font-size: .88rem;
  font-weight: 500;
  display: flex; align-items: center; gap: .3rem;
  transition: color var(--transition);
}
.header-phone:hover { color: var(--orange); }
.navbar-toggler { padding: .3rem; }
.navbar-toggler-icon { filter: invert(1); }

/* The CMS navigation has ten public links. Keep it on one clean desktop row
   before Bootstrap switches to the mobile menu at 992px. */
@media (min-width: 992px) and (max-width: 1500px) {
  .site-header .navbar { min-height: 66px; }
  .logo-abbr { font-size: 1.65rem; }
  .logo-full { font-size: .60rem; max-width: 138px; }
  .logo-tag { font-size: .53rem; }
  .header-right { gap: .55rem !important; margin-right: .35rem !important; }
  .header-phone { font-size: .76rem; white-space: nowrap; }
  .header-right .btn { font-size: .73rem; padding: .42rem .5rem; white-space: nowrap; }
  .navbar-nav .nav-link { font-size: .78rem; padding: .5rem .48rem !important; white-space: nowrap; }
  .navbar-nav .nav-link::after { left: .48rem; right: .48rem; }
}

/* ══════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  background-color: var(--navy);
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7,20,40,.92) 0%,
    rgba(10,31,68,.78) 50%,
    rgba(15,45,94,.65) 100%
  );
  z-index: 1;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(10,31,68,.6), transparent);
  z-index: 1;
}
.hero-section .container { position: relative; z-index: 2; }
.min-vh-hero { min-height: 88vh; display: flex; align-items: center; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  color: var(--orange-ll);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-eyebrow i { color: var(--orange-ll); }

.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  letter-spacing: .01em;
  margin-bottom: 1rem;
}
.hero-h1 .line-orange { color: var(--orange-ll); }
.hero-h1 .line-sep { color: rgba(255,255,255,.35); font-weight: 400; }

.hero-sub-head {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 500;
  color: rgba(255,255,255,.72);
  letter-spacing: .06em;
  margin-bottom: 1.2rem;
}

.hero-divider {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
  border-radius: 2px;
  margin-bottom: 1.4rem;
}

.hero-desc {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 2.2rem;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 3rem; }
.btn-hero { padding: .8rem 1.8rem; font-size: 1rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-trust-item {
  display: flex; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
}
.hero-trust-item i { color: var(--orange-ll); font-size: 1rem; }

.hero-mobile-service-grid { display: none; }

.hero-company-visual {
  margin: 1.25rem 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 16px;
  background: #071428;
  box-shadow: 0 16px 40px rgba(0,0,0,.34);
}
.hero-company-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero-company-visual-mobile { max-width: 620px; }

.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.45);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(10px); }
}

/* Hero right panel (optional) */
.hero-side-badges {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-badge-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
}
.hero-badge-card:hover { background: rgba(255,255,255,.12); transform: translateX(-4px); }
.hero-badge-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--orange), var(--orange-l));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.hero-badge-num { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; line-height: 1; }
.hero-badge-lbl { font-size: .78rem; color: rgba(255,255,255,.65); margin-top: .1rem; }

/* ══════════════════════════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════════════════════════ */
.stats-bar {
  background: linear-gradient(90deg, var(--navy) 0%, #0f2d5e 100%);
  border-top: 3px solid var(--orange);
  position: relative;
}
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.12);
}
.stat-icon {
  font-size: 1.4rem;
  color: var(--orange-ll);
  margin-bottom: .2rem;
}
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .04em;
  font-weight: 500;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════
   SECTION HEADERS
   ══════════════════════════════════════════════════════════ */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .75rem;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.section-eyebrow.light { color: var(--orange-ll); }
.section-eyebrow.light::before,
.section-eyebrow.light::after { background: var(--orange-ll); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: .6rem;
  line-height: 1.15;
}
.section-title.light { color: #fff; }

.section-sub {
  font-size: 1.05rem;
  color: var(--grey-text);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.section-sub.light { color: rgba(255,255,255,.72); }

/* ══════════════════════════════════════════════════════════
   SERVICE CARDS
   ══════════════════════════════════════════════════════════ */
.service-card-link { display: block; text-decoration: none; height: 100%; }
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-mid);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-ll));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 1.4rem;
  transition: all var(--transition);
  flex-shrink: 0;
}
.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-l));
}
.service-card-media {
  height: 145px;
  margin: -2rem -2rem 1.4rem;
  overflow: hidden;
  background: var(--light-bg);
}
.service-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.service-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: .7rem;
}
.service-card-desc {
  color: var(--grey-text);
  font-size: .93rem;
  line-height: 1.7;
  flex-grow: 1;
}
.service-bullet-list {
  margin-top: 1rem;
  padding-left: 0;
}
.service-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  color: var(--text-body);
  font-size: .88rem;
  padding: .2rem 0;
  line-height: 1.5;
}
.service-bullet-list li i {
  color: var(--orange);
  font-size: .7rem;
  flex-shrink: 0;
  margin-top: .35rem;
}
.service-card-cta {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--orange);
  font-weight: 700;
  font-size: .9rem;
  margin-top: 1.4rem;
  letter-spacing: .02em;
  transition: gap var(--transition);
}
.service-card:hover .service-card-cta { gap: .8rem; }

.home-work-card {
  display: block;
  height: 280px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow-sm);
  background: var(--navy);
  text-decoration: none;
}
.home-work-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}
.home-work-card:hover img { transform: scale(1.04); }
.home-work-card-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: 3.25rem 1.5rem 1.25rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(4,20,45,.92));
}
.home-work-card-overlay strong { font-size: 1.3rem; }
.home-work-card-overlay small { color: rgba(255,255,255,.8); }
.home-fire-card {
  display: block;
  height: 145px;
  overflow: hidden;
  position: relative;
  border-radius: 14px;
  color: #fff;
  background: var(--navy);
}
.home-fire-card img { width:100%;height:100%;object-fit:cover;display:block; }
.home-fire-card span {
  position: absolute;
  inset: auto 0 0;
  padding: 2rem 1rem .9rem;
  width: 100%;
  background: linear-gradient(transparent,rgba(4,20,45,.94));
  font-weight: 700;
}
@media (max-width: 575px) {
  .home-work-card { height: 220px; }
}

@media (max-width: 767px) {
  /* Bootstrap's g-5 rows use negative horizontal margins intended for wider containers. */
  .container > .row.align-items-center.g-5 {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ══════════════════════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════════════════════ */
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-img-main {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  display: block;
}
.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,31,68,.55) 0%, transparent 60%);
  border-radius: var(--radius-lg);
}
.about-exp-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: linear-gradient(135deg, var(--orange), var(--orange-l));
  color: #fff;
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-exp-num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.about-exp-lbl { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-top: .15rem; }
.about-img-accent {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: rgba(10,31,68,.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  border-radius: var(--radius);
  padding: .8rem 1.2rem;
  font-size: .82rem;
  font-weight: 600;
}
.about-img-accent i { color: var(--orange-ll); }

/* Placeholder for when no image is available */
.placeholder-industrial {
  width: 100%;
  height: 460px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255,255,255,.4);
  font-size: .9rem;
}
.placeholder-industrial i { font-size: 4rem; }

.strength-list { padding-left: 0; }
.strength-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--grey-mid);
  color: var(--text-body);
  font-size: .95rem;
}
.strength-list li:last-child { border-bottom: none; }
.strength-list li i { color: var(--orange); font-size: 1rem; flex-shrink: 0; margin-top: .15rem; }

.about-para { color: var(--text-body); line-height: 1.8; margin-bottom: .9rem; }

/* ══════════════════════════════════════════════════════════
   INDUSTRIES
   ══════════════════════════════════════════════════════════ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.2rem;
}
.industry-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  padding: 1.6rem 1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  transition: all var(--transition);
  color: rgba(255,255,255,.8);
}
.industry-chip:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.industry-chip i {
  font-size: 2rem;
  color: var(--orange-ll);
  transition: transform var(--transition);
}
.industry-chip:hover i { transform: scale(1.15); }
.industry-chip span {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.3;
}

/* ══════════════════════════════════════════════════════════
   WHY REIPL
   ══════════════════════════════════════════════════════════ */
.why-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-mid);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}
.why-card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(230,81,0,.1), rgba(245,124,0,.15));
  border: 1.5px solid rgba(230,81,0,.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--orange);
  flex-shrink: 0;
  transition: all var(--transition);
}
.why-card:hover .why-card-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-l));
  border-color: transparent;
  color: #fff;
}
.why-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0;
}
.why-card-desc {
  font-size: .9rem;
  color: var(--grey-text);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   PROJECT CARDS
   ══════════════════════════════════════════════════════════ */
.project-card-link { display: block; text-decoration: none; height: 100%; }
.project-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-mid);
  height: 100%;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.project-card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--light-bg);
  flex-shrink: 0;
}
.project-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover .project-card-img img { transform: scale(1.07); }
.project-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  font-size: 3rem;
  color: rgba(255,255,255,.25);
}
.project-cat-badge {
  position: absolute;
  top: .75rem; left: .75rem;
  background: linear-gradient(135deg, var(--orange), var(--orange-l));
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 100px;
}
.project-card-body { padding: 1.4rem; flex-grow: 1; display: flex; flex-direction: column; }
.project-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: .6rem;
  line-height: 1.4;
}
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: .7rem;
}
.project-meta span {
  font-size: .78rem;
  color: var(--grey-text);
  display: flex; align-items: center; gap: .3rem;
}
.project-scope {
  font-size: .88rem;
  color: var(--text-body);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════
   CLIENTS
   ══════════════════════════════════════════════════════════ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.2rem;
}
.client-logo-box {
  background: #fff;
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 1.4rem 1rem;
  display: flex; align-items: center; justify-content: center;
  min-height: 80px;
  transition: all var(--transition);
}
.client-logo-box:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}
.client-logo-box img { max-height: 50px; width: auto; object-fit: contain; filter: grayscale(1); transition: filter var(--transition); }
.client-logo-box:hover img { filter: grayscale(0); }
.client-name-text {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.4;
}

/* ══════════════════════════════════════════════════════════
   SAFETY STRIP
   ══════════════════════════════════════════════════════════ */
.safety-strip {
  background: linear-gradient(135deg, #071428 0%, var(--navy) 60%, #0f2d5e 100%);
  position: relative;
  overflow: hidden;
}
.safety-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-ll), var(--orange));
}
.safety-chip {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
  transition: all var(--transition);
}
.safety-chip:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--orange);
}
.safety-chip i { font-size: 1.6rem; color: var(--orange-ll); flex-shrink: 0; }
.safety-chip span { font-size: .88rem; font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   CONTACT INFO CARDS
   ══════════════════════════════════════════════════════════ */
.contact-info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-mid);
  text-align: center;
  transition: all var(--transition);
}
.contact-info-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.ci-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin: 0 auto 1.2rem;
}
.contact-info-card h5 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: .7rem;
}
.contact-info-card p { color: var(--grey-text); font-size: .92rem; line-height: 1.8; margin: 0; }
.ci-link { color: var(--text-dark); font-weight: 500; transition: color var(--transition); }
.ci-link:hover { color: var(--orange); }

/* Contact Page Form */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-mid);
}
.form-label { font-weight: 600; font-size: .88rem; color: var(--text-dark); margin-bottom: .4rem; }
.form-control, .form-select {
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  padding: .7rem 1rem;
  font-size: .95rem;
  color: var(--text-dark);
  transition: all var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(230,81,0,.1);
  outline: none;
}

/* ══════════════════════════════════════════════════════════
   CTA STRIP
   ══════════════════════════════════════════════════════════ */
.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, #0f2d5e 100%);
  position: relative;
  overflow: hidden;
}
.cta-strip::after {
  content: '';
  position: absolute;
  top: -60%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(230,81,0,.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-heading {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
}
.cta-sub { color: rgba(255,255,255,.72); font-size: 1rem; }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.site-footer {
  background: linear-gradient(135deg, #060f1e 0%, #0a1f44 100%);
  color: rgba(255,255,255,.7);
  border-top: 3px solid var(--orange);
}
.footer-brand {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .06em;
}
.footer-brand span { color: var(--orange); }
.footer-tagline {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-ll);
  margin-bottom: .8rem;
  margin-top: .1rem;
}
.footer-desc { color: rgba(255,255,255,.55); font-size: .88rem; line-height: 1.75; margin-bottom: 1rem; }

.footer-heading {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-ll);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-links { padding: 0; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  transition: all var(--transition);
  display: flex; align-items: center; gap: .4rem;
}
.footer-links a::before {
  content: '›';
  color: var(--orange);
  font-weight: 700;
}
.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-contact { padding: 0; }
.footer-contact li {
  display: flex;
  gap: .75rem;
  margin-bottom: .85rem;
  align-items: flex-start;
}
.footer-contact i { color: var(--orange-ll); font-size: 1rem; flex-shrink: 0; margin-top: .15rem; }
.footer-contact span, .footer-contact a {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  line-height: 1.6;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--orange-ll); }

.footer-social { display: flex; gap: .6rem; flex-wrap: wrap; }
.social-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  transition: all var(--transition);
  text-decoration: none;
}
.social-icon:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}
.footer-divider { border-color: rgba(255,255,255,.08); }
.footer-bottom p, .footer-sm-link {
  color: rgba(255,255,255,.4);
  font-size: .8rem;
}
.footer-sm-link:hover { color: var(--orange-ll); }

/* ══════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
   ══════════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, #071428 0%, var(--navy) 100%);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-ll), transparent);
}
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .5rem;
}
.page-breadcrumb .breadcrumb-item { font-size: .85rem; color: rgba(255,255,255,.55); }
.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }
.page-breadcrumb .breadcrumb-item.active { color: var(--orange-ll); }
.page-breadcrumb a { color: rgba(255,255,255,.65); }
.page-breadcrumb a:hover { color: #fff; }

/* ══════════════════════════════════════════════════════════
   SERVICES (detail)
   ══════════════════════════════════════════════════════════ */
.service-detail-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-mid);
  height: 100%;
  transition: all var(--transition);
  border-top: 4px solid transparent;
}
.service-detail-card.electrical { border-top-color: var(--navy); }
.service-detail-card.instrumentation { border-top-color: var(--blue); }
.service-detail-card.solar { border-top-color: var(--orange); }
.service-detail-card:hover { box-shadow: var(--shadow-md); }

.service-detail-icon {
  width: 72px; height: 72px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.5rem;
}
.service-detail-icon.electrical { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); }
.service-detail-icon.instrumentation { background: linear-gradient(135deg, var(--blue), var(--blue-light)); }
.service-detail-icon.solar { background: linear-gradient(135deg, var(--orange), var(--orange-ll)); }

.service-detail-title { font-size: 1.4rem; font-weight: 800; margin-bottom: .7rem; color: var(--text-dark); }
.service-detail-desc { color: var(--grey-text); margin-bottom: 1.4rem; font-size: .95rem; line-height: 1.75; }
.service-items-list { padding: 0; }
.service-items-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--light-bg);
  font-size: .9rem; color: var(--text-body);
}
.service-items-list li:last-child { border-bottom: none; }
.service-items-list i { color: var(--orange); flex-shrink: 0; margin-top: .25rem; }

/* ══════════════════════════════════════════════════════════
   INDUSTRIES PAGE
   ══════════════════════════════════════════════════════════ */
.industry-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-mid);
  transition: all var(--transition);
  height: 100%;
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}
.industry-card i {
  font-size: 2.4rem;
  color: var(--navy);
  margin-bottom: 1rem;
  display: block;
  transition: color var(--transition);
}
.industry-card:hover i { color: var(--orange); }

/* ══════════════════════════════════════════════════════════
   MISC
   ══════════════════════════════════════════════════════════ */
.about-badge-float { /* kept for backward compat */ }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .hero-section { background-attachment: scroll; }
  .hero-mobile-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
    margin: 0 0 1.25rem;
    max-width: 620px;
  }
  .hero-mobile-service-tile {
    position: relative;
    display: block;
    aspect-ratio: 1.45 / 1;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 10px;
    background: rgba(7,20,40,.9);
    box-shadow: 0 6px 16px rgba(0,0,0,.24);
  }
  .hero-mobile-service-tile img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }
  .hero-mobile-service-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 28%, rgba(4,20,45,.86));
  }
  .hero-mobile-service-tile span {
    position: absolute;
    z-index: 1;
    right: .42rem;
    bottom: .34rem;
    left: .42rem;
    color: #fff;
    font-size: .64rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 1px 2px rgba(0,0,0,.65);
  }
  .navbar-collapse {
    background: rgba(7,20,40,.98);
    backdrop-filter: blur(12px);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-top: .5rem;
    border: 1px solid rgba(255,255,255,.08);
  }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3)::before { display: none; }
}

@media (min-width: 992px) {
  .hero-company-visual-desktop { margin: 0; }
  .hero-section .hero-side-badges { display: none; }
}

@media (max-width: 767px) {
  .hero-h1 { font-size: 1.9rem; }
  .min-vh-hero { min-height: auto; padding-top: 1.25rem; padding-bottom: 4.5rem; }
  .hero-desc { margin-bottom: 1.25rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .about-img-main, .placeholder-industrial { height: 280px; }
  .contact-form-wrap { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 1.7rem; }
  .hero-mobile-service-grid { gap: .4rem; }
  .hero-mobile-service-tile span { font-size: .6rem; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Print */
@media print {
  .whatsapp-float, .site-header { display: none; }
  .hero-section { background: var(--navy) !important; }
}
