/* Master PEBS - Official Website Stylesheet */
:root {
  --primary: #0f2c59;      /* Industrial Navy */
  --accent: #d85a1a;       /* Construction Orange */
  --steel: #334155;        /* Dark Slate */
  --metal-light: #f8fafc;  /* Soft Off-White */
  --border-color: #e2e8f0;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --container-max: 1200px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* 5 Products Grid (Responsive Layout) */
.products-grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  justify-content: center;
}

@media (min-width: 1024px) {
  .products-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

body {
  font-family: var(--font-stack);
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}
span.sticky-label{display:none;}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* Top bar */
.top-bar {
  background-color: #0b1e38;
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}

.top-bar a {
  color: #ffffff;
  font-weight: 600;
}

/* Header */
.header-main {
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1e3a8a;
  letter-spacing: -0.5px;
}

.brand-logo span {
  color: #2563eb;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  font-weight: 600;
  font-size: 0.92rem;
  color: #334155;
  padding: 0.75rem 0.5rem;
  transition: color 0.2s ease;
  display: block;
  text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu li.active > a {
  color: #0284c7;
}

.drop-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 250px;
  border-top: 3px solid #0284c7;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  border-radius: 0 0 4px 4px;
}

.drop-content a {
  padding: 0.85rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: none;
  border-bottom: 1px solid #f1f5f9;
}

.drop-content a:hover {
  background-color: #f8fafc;
  color: #0284c7;
}

.drop:hover .drop-content {
  display: block;
}

/* Breadcrumbs */
.breadcrumb-bar {
  background: #f8fafc;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.9rem;
  color: #64748b;
}

.breadcrumb-bar a {
  color: #0284c7;
}

/* Slider Section (Fixed Left Alignment) */
.slider-wrapper {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  background-color: var(--primary);
}

.slides-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  padding: 4rem 0;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide .container {
  margin-left: max(80px, calc((100% - var(--container-max)) / 2));
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.slide-content.text-left {
  text-align: left;
  max-width: 780px;
  margin: 0;
  padding-left: 0;
  color: #ffffff;
}

.slide-content.text-left h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.slide-content.text-left p {
  font-size: 1.12rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 680px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Slider Arrows */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(11, 30, 56, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.2s ease;
}

.slide-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.08);
}

.slide-arrow.prev { left: 20px; }
.slide-arrow.next { right: 20px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: #0284c7;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #0369a1;
}

.btn-outline {
  border: 1px solid #ffffff;
  color: #ffffff;
}

.btn-outline:hover {
  background: #ffffff;
  color: var(--primary);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.1rem;
  color: #0f172a;
  font-weight: 700;
}

.section-title .divider {
  width: 50px;
  height: 2.5px;
  background-color: #ef4444;
  margin: 0.75rem auto 1rem auto;
}

/* 4 Pillars / Features (About Us page) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.pillar-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.pillar-card h3 {
  font-size: 1.25rem;
  color: #1e293b;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.pillar-card p {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* 4 Services Badges (Home page Image 2) */
.services-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 3.5rem 0 2rem 0;
  border-top: 1px solid #f1f5f9;
}

.service-badge {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #0284c7;
}

.service-badge h4 {
  font-size: 1.05rem;
  color: #1e293b;
  font-weight: 600;
}

/* Clients Grid (Home page Image 2) */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
}

.client-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 1.5rem 1rem;
  text-align: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: #334155;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Product Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

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

.card-body {
  padding: 1.5rem;
  text-align: center;
}

.card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

/* Sidebar Navigation (LGSF & Products page) */
.sidebar-nav {
  list-style: none;
  background: #0284c7;
  border-radius: 4px;
  overflow: hidden;
}

.sidebar-nav li a {
  display: block;
  padding: 1rem 1.25rem;
  color: #ffffff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.95rem;
}

.sidebar-nav li a:hover,
.sidebar-nav li.active a {
  background: #0369a1;
}

/* Sticky Contact Actions (WhatsApp & Call) */
.sticky-contact-bar {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 50px;
  height: 50px;
  border-radius: 50px;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  padding: 0 16px 0 14px;
}

.sticky-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.sticky-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.whatsapp-btn { background-color: #25d366; }
.whatsapp-btn:hover { background-color: #20bd5a; }

.phone-btn {
  background-color: #0f2c59;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.phone-btn:hover { background-color: #d85a1a; }

/* Footer */
footer {
  background-color: #000000;
  color: #94a3b8;
  padding: 4.5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; }
  .slide .container { margin-left: 60px; }
  .slide-content.text-left h1 { font-size: 2.1rem; }
}

@media (max-width: 600px) {
  .sticky-contact-bar { bottom: 18px; right: 18px; gap: 10px; }
  .sticky-btn { width: 48px; height: 48px; min-width: 48px; padding: 0; border-radius: 50%; }
  .sticky-label { display: none; }
  .slide .container { margin: 0 auto; padding-left: 55px; padding-right: 55px; }
  .slide-content.text-left h1 { font-size: 1.65rem; }
  .nav-menu { gap: 0.5rem; font-size: 0.82rem; }
}

/* =========================================
   Responsive Mobile Navigation & Hamburger
   ========================================= */

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: space-between;
  width: 42px;
  height: 36px;
  z-index: 1001;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary, #0f2c59);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.mobile-nav-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 900px) {
  .mobile-nav-toggle {
    display: flex;
  }

  .nav-wrapper {
    position: relative;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid var(--border-color, #e2e8f0);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
    z-index: 999;
  }

  .nav-container.open {
    max-height: 550px;
    overflow-y: auto;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-menu a {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--steel, #334155);
    font-weight: 600;
  }

  .drop-content {
    display: none;
    position: static;
    box-shadow: none;
    border-top: none;
    background-color: #f8fafc;
    border-left: 4px solid var(--accent, #d85a1a);
    padding-left: 0.5rem;
    min-width: 100%;
  }

  .drop.open-mobile .drop-content {
    display: block;
  }

  .drop-content a {
    padding: 0.75rem 1.5rem;
    font-size: 0.92rem;
    color: var(--steel, #334155);
  }
}
