/* ================= GLOBAL ================= */
body {
  scroll-behavior: smooth;
}

.link {
    text-decoration: none !important;
    color: #ffffff8f !important;
}
.link:hover {
    color: #0d6efd !important;
    -webkit-text-stroke: white;
    font-weight: bold;
    transition: ease 0.2s;
}

.pt-10 {
    padding-top: 150px !important;
}
/* ================= NAVBAR ================= */
.navbar .nav-link {
  position: relative;
  transition: color 0.3s ease;
}


/*.navbar .nav-link::after {*/
/*  content: "";*/
/*  position: absolute;*/
/*  left: 0;*/
  /*bottom: -4px*/
/*  width: 0;*/
/*  height: 2px;*/
/*  background-color: #0d6efd;*/
/*  transition: width 0.3s ease;*/
/*}*/

.navbar .nav-link:hover {
  color: #0d6efd;
}

a.nav-link {
    color: black !important;
}
.navbar .nav-link:hover::after {
  width: 100%;
}

.navbar .btn-warning {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar .btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.navbar .nav-link.active {
  color: #0d6efd;
  font-weight: 600;
}


/* ================= HERO ================= */
.hero-section {
  background: url("https://images.unsplash.com/photo-1581092160562-40aa08e78837")
    center / cover no-repeat;
  position: relative;
}


.hero-section .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 45, 110, 0.75);
}

.hero-section .btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-section .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* ================= STATS ================= */
.stat-box {
  background: rgba(255, 255, 255, 0.15);
  padding: 15px;
  border-radius: 8px;
  margin: 5px;
  font-size: 1.3rem;
  font-weight: 700;
  transition: transform 0.3s ease, background 0.3s ease;
}

.stat-box small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
}

.stat-box:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.25);
}

/* ================= CARDS ================= */
.card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card i {
  transition: transform 0.35s ease, color 0.35s ease;
}

.card:hover i {
  transform: scale(1.15);
  color: #0d6efd;
}

/* ================= WHY CHOOSE ================= */
.why-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* ================= FAQ ================= */
.accordion-button {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-button:hover {
  background-color: #e9f2ff;
  color: #0d6efd;
}

/* ================= FORM ================= */
.form-control {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.card .btn-primary {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.4);
}

/* ================= FOOTER ================= */
footer.site-footer {
  background: #111827;
  color: #aab1c3;
}

footer.site-footer small {
  transition: color 0.3s ease;
}

footer.site-footer small:hover {
  color: #ffc107;
}
ul.footer-links {
    list-style: none;
    text-decoration: none;
    padding-left: 0;
}

ul.footer-contact {
    list-style: none;
    padding-left: 0;
}
.footer-title {
    color: white;
}

.footer-social a {
    padding: 10px;
    color: white !important;
}
.page-hero {
    padding: 60px 10px;
    text-transform: capitalize;
}

ol.breadcrumb
 {
    background: white;
    width: fit-content;
    padding: 0px 8px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
}
.card-img-top {
    width: 100%;
    height: 300px !important;
    object-fit: cover !important;
}
a.text-dark:hover {
    color: white !important;
}

/*multilocation*/
.service-title {
  font-weight: 600;
  margin-bottom: 16px;
}

.service-city-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-city-list li {
  margin-bottom: 6px;
}

.service-city-list a {
  font-size: 0.95rem;
  color: #1f2937;
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-city-list a:hover {
  color: #0d6efd;
  text-decoration: underline;
}
ul.service-city-list li a
 {
    color: black !important;
}
/* ================= CATEGORY BANNER ================= */
.category-banner {
  position: relative;
  overflow: hidden;
}

.category-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.category-banner-bg.default-bg {
  background: linear-gradient(135deg, #0d6efd, #001f3f);
}

.category-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.category-banner h1,
.category-banner p,
.category-banner li {
  color: #fff;
}

/* ================= PRODUCT CARD ================= */
.product-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.product-item img {
  height: 220px;
  object-fit: cover;
}

.certifications-section {
  background: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.cert-container {
  max-width: 1100px;
  margin: auto;
}

.certifications-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.certifications-section .subtitle {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 40px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cert-card {
  background: #f8fafc;
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.check-icon {
  width: 24px;
  height: 24px;
  background: #2563eb;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.cert-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #1e293b;
  text-align: left;
}

/* Tablet */
@media (max-width: 992px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .certifications-section h2 {
    font-size: 1.8rem;
  }
}


.featured-projects {
  background: #f8fafc;
  padding: 70px 20px;
  text-align: center;
}

.fp-container {
  max-width: 1200px;
  margin: auto;
}

.featured-projects h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.fp-subtitle {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 45px;
}

.fp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.fp-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px 20px 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
}

.fp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}

/* Top colored bar */
.fp-top {
  height: 6px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.infrastructure { background: #2563eb; }
.power          { background: #6366f1; }
.commercial     { background: #22c55e; }
.industrial     { background: #f97316; }

.fp-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.fp-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #2563eb;
  background: #e0e7ff;
  padding: 4px 10px;
  border-radius: 999px;
}

.fp-year {
  font-size: 0.8rem;
  color: #64748b;
}

.fp-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.fp-card p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
}

/* Tablet */
@media (max-width: 992px) {
  .fp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .fp-grid {
    grid-template-columns: 1fr;
  }

  .featured-projects h2 {
    font-size: 2rem;
  }
}

.product-categories {
  background: #ffffff;
}

.pc-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.pc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
  border: 1px solid #0d6efd;
}

.pc-icon {
  width: 48px;
  height: 48px;
  background: #eaf2ff;
  color: #2563eb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.pc-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.pc-desc {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 14px;
}

.pc-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pc-features li {
  font-size: 0.88rem;
  color: #475569;
  display: flex;
  align-items: center;
}

.pc-features .check {
  color: #16a34a;
  font-size: 0.9rem;
  margin-right: 8px;
}
.pc-features li span
 {
    padding: 5px;
}


.category-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.category-content h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.category-content p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.category-content ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.category-content li {
  margin-bottom: 0.5rem;
}

/* ================= CATEGORY LONG CONTENT – FINAL TYPOGRAPHY FIX ================= */

/*.category-detailed-content {*/
/*  background: #ffffff;*/
/*  padding: 70px 0;*/
/*}*/

/*.category-content {*/
/*  max-width: 920px;*/
/*  margin: 0 auto;*/
/*  padding: 0 20px;*/
/*  font-size: 16px;*/
/*  color: #1f2937;*/
/*}*/

/* Headings */
/*.category-content h2 {*/
/*  font-size: 26px;*/
/*  font-weight: 700;*/
/*  margin: 3.2rem 0 1.2rem;*/
/*  color: #0f172a;*/
/*  position: relative;*/
/*  padding-left: 18px;*/
/*}*/

/*.category-content h2::before {*/
/*  content: "";*/
/*  position: absolute;*/
/*  left: 0;*/
/*  top: 6px;*/
/*  width: 4px;*/
/*  height: 70%;*/
/*  background: #2563eb;*/
/*  border-radius: 2px;*/
/*}*/

/*.category-content h3 {*/
/*  font-size: 19px;*/
/*  font-weight: 600;*/
/*  margin: 2rem 0 0.8rem;*/
/*  color: #1e293b;*/
/*}*/

/* Paragraphs – FIXED */
/*.category-content p {*/
/*  margin: 0 0 1.25rem;*/
/*  line-height: 1.85;*/
  text-align: left;              /* ❗ DO NOT justify technical content */
/*  word-break: normal;*/
/*  hyphens: none;*/
/*}*/

/* Lists – FIXED */
/*.category-content ul {*/
/*  margin: 1.2rem 0 2.2rem;*/
/*  padding-left: 1.4rem;*/
/*}*/

/*.category-content li {*/
/*  margin-bottom: 0.6rem;*/
/*  line-height: 1.7;*/
/*}*/

/* Horizontal dividers */
/*.category-content hr {*/
/*  margin: 3.5rem 0;*/
/*  border: none;*/
/*  border-top: 1px solid #e5e7eb;*/
/*}*/

/* FAQ answers */
/*.category-content h3 + p {*/
/*  background: #f9fafb;*/
/*  padding: 16px 18px;*/
/*  margin-top: 0.7rem;*/
/*  border-left: 4px solid #22c55e;*/
/*  border-radius: 6px;*/
/*}*/

/* Strong text */
/*.category-content strong {*/
/*  color: #0f172a;*/
/*  font-weight: 600;*/
/*}*/

/* Mobile refinement */
/*@media (max-width: 768px) {*/
/*  .category-content {*/
/*    padding: 0 15px;*/
/*    font-size: 15px;*/
/*  }*/

/*  .category-content h2 {*/
/*    font-size: 23px;*/
/*  }*/

/*  .category-content h3 {*/
/*    font-size: 17px;*/
/*  }*/

/*  .category-content p {*/
/*    line-height: 1.75;*/
/*  }*/
/*}*/
    /* Banner */
.category-banner-clean {
  min-height: 260px;
  display: flex;
  align-items: center;
}
.category-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.category-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

/* Intro strip */
.category-intro-strip {
  background: #f8fafc;
  padding: 28px 0;
  border-bottom: 1px solid #e5e7eb;
}

/* Content */
.category-content-pro h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 3rem 0 1rem;
  border-left: 4px solid #2563eb;
  padding-left: 14px;
}
.category-content-pro h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}
.category-content-pro p {
  line-height: 1.8;
  color: #374151;
  margin-bottom: 1.2rem;
}
.category-content-pro ul {
  padding-left: 1.2rem;
  margin-bottom: 2rem;
}
.category-content-pro li {
  margin-bottom: 0.6rem;
}

/* Sticky card */
.category-side-card {
  position: sticky;
  top: 110px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* CTA */
.category-cta-strip {
  background: #2563eb;
  color: #fff;
  padding: 35px 0;
}

nav.navbar {
    padding: 20px 10px;
}
a#productsDropdown {
    display: flex;
    align-items: center;
}