
/* Static site extras — keep Helix layout alignment */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700');

body {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  margin: 0;
  background: #fff;
}

#sp-top-bar {
  background: #fff;
}

#sp-top1 .sp-column,
#sp-top2 .sp-column {
  display: flex;
  align-items: center;
  min-height: 56px;
}

#sp-top1 .sp-column {
  justify-content: flex-start;
}

#sp-top2 .sp-column {
  justify-content: flex-end;
}

#sp-top2 .head_contl img {
  display: block;
  max-height: 42px;
  width: auto;
}

#sp-top2 .head_contr h4 {
  margin: 0;
  line-height: 1.25;
}

#sp-top2 .cont1 {
  font-size: 13px;
  color: #666;
  font-weight: 600;
}

#sp-top2 .cont2 a {
  color: #0c6bb1;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

/* Title / hero — match Helix blue framed banner + menu bar below image */
#sp-title {
  padding: 0;
  margin: 0;
}

#sp-title > .container {
  padding-left: 15px;
  padding-right: 15px;
}

/* Desktop: blue frame + red trapezoid menu bar (matches live design) */
.home_banner {
  position: relative;
  background: #0B4AB3;
  padding: 25px 20px 18px;
  margin: 10px 0 0;
  border-radius: 15px;
}

.home_banner > img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 0 0 14px;
}

.home_banner .menulist {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

.home_banner .main_menudetails {
  list-style: none;
  margin: 0 auto;
  padding: 0 36px !important;
  min-height: 42px;
  height: auto !important;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  background: #c00000 !important;
  background-image: none !important;
  border-radius: 0;
  clip-path: polygon(2.5% 0, 97.5% 0, 100% 100%, 0% 100%);
  -webkit-clip-path: polygon(2.5% 0, 97.5% 0, 100% 100%, 0% 100%);
}

.home_banner .main_menudetails > li {
  display: flex !important;
  align-items: center;
  margin: 0;
  padding: 10px 14px !important;
  border-right: 1px solid rgba(255,255,255,0.55) !important;
  float: none !important;
  height: auto;
}

.home_banner .main_menudetails > li:last-child {
  border-right: none !important;
}

.home_banner .main_menudetails > li > a {
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  line-height: 20px !important;
  padding: 0 !important;
  text-decoration: none;
  text-shadow: none;
  white-space: nowrap;
}

.home_banner .main_menudetails > li > a:hover,
.home_banner .main_menudetails > li.active > a {
  color: #ffe08a !important;
}

/* Mobile hamburger + sidenav (override Helix custom.css hides) */
.home_banner .main_menu {
  display: none !important;
}

.home_banner #main.main_menu2 {
  display: none !important;
}

.home_banner #mySidenav.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.4s;
  padding-top: 60px;
}

.home_banner #mySidenav.sidenav a {
  padding: 10px 16px 10px 28px;
  text-decoration: none;
  font-size: 18px;
  color: #fff !important;
  display: block;
}

.home_banner #mySidenav.sidenav .closebtn {
  position: absolute;
  top: 8px;
  right: 20px;
  font-size: 36px;
  padding: 0 8px;
}

@media (max-width: 767px) {
  .home_banner .menulist {
    display: none !important;
  }

  .home_banner .main_menu,
  .home_banner #main.main_menu2,
  #main.main_menu2,
  .home_banner #mySidenav.sidenav,
  #mySidenav.sidenav {
    display: block !important;
  }

  .home_banner #main.main_menu2 {
    text-align: right;
    padding: 4px 6px 0;
    color: #fff;
  }

  .home_banner #main.main_menu2 .nav-toggle {
    display: inline-block;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
    line-height: 1;
    padding: 2px 8px;
    user-select: none;
  }
}

@media (min-width: 768px) {
  .home_banner .main_menu,
  .home_banner #main.main_menu2 {
    display: none !important;
  }
}

#sp-main-body {
  padding: 20px 0 40px;
}

.page-content {
  text-align: left;
}

.page-content .first_tilt,
.page-content .second_title {
  text-align: center;
}

.page-content img {
  max-width: 100%;
  height: auto;
}

.page-content .about_desc,
.page-content .text-justify,
.page-content p.text-justify {
  text-align: justify;
}

/* Home service cards */
.card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  margin: 24px 0 0;
  max-width: none;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.25rem;
  margin: 0 0 10px 0;
  color: #333;
  line-height: 1.3;
}

.card-text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.45;
  margin-bottom: 15px;
  flex-grow: 1;
}

.read-more-btn {
  align-self: flex-start;
  background-color: #e36b07;
  color: white !important;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.about_Banner_home {
  width: 100%;
  overflow: hidden;
  margin-top: 16px;
}

.about_Banner_home img {
  width: 100%;
  height: auto;
  display: block;
}

/* Service listing alignment */
.services_item {
  margin-bottom: 22px;
}

.partner_logos {
  text-align: center;
}

.partner_logos img,
.fire_img img,
.water_img img,
.gas_img img,
.passive_img img,
.traing_img1 img,
.acces_img img {
  display: inline-block;
  vertical-align: middle;
  margin: 6px;
}

/* Inner article pages from SPPB modules */
.page-content h1,
.page-content h2,
.page-content h3 {
  clear: both;
}

.page-content .container {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

@media (max-width: 991px) {
  .card-container { grid-template-columns: repeat(2, 1fr); }
  .home_banner { padding: 16px 12px 12px; margin-top: 8px; }
  .home_banner .main_menudetails {
    padding: 0 22px !important;
    clip-path: polygon(2% 0, 98% 0, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(2% 0, 98% 0, 100% 100%, 0% 100%);
  }
  .home_banner .main_menudetails > li { padding: 8px 8px !important; }
  .home_banner .main_menudetails > li > a { font-size: 12px; }
}

@media (max-width: 600px) {
  .card-container { grid-template-columns: 1fr; }
  #sp-top1, #sp-top2 { text-align: center !important; }
  #sp-top1 .sp-column, #sp-top2 .sp-column { justify-content: center; }
  #sp-top2 .head_cont {
    border-left: none;
    padding-left: 0;
    margin-top: 6px;
  }
}