@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap");

/* ********************** */
/* GENERAL */
/* ********************** */

.section-no-bg-paragraph {
  padding: 3.2rem 0;
}

.section-bg-paragraph {
  padding: 3.2rem 0;
  background-color: #eaf2f9;
}

.starting-paragraph {
  font-size: 1.8rem;
  line-height: 1.5;
  text-align: justify;
  text-justify: inter-word;
}

/* ********************** */
/* ABOUT */
/* ********************** */

.how-we-work-img-box {
  max-width: 248rem;
  margin-top: 6.4rem;
}

.how-we-work-img {
  width: 100%;
}

/* ********************** */
/* PRODUCTS */
/* ********************** */

/* PANELS SECTION */

.right-to-left-bg {
  background-image: linear-gradient(to right, #f5f5f5, #fff);
}

.left-to-right-bg {
  background-image: linear-gradient(to right, #fff, #f5f5f5);
}

.grid {
  padding: 4.2rem 0;
  display: grid;
  gap: 3.2rem;
}

.grid-right-to-left {
  padding-left: 4.2rem !important;
  grid-template-columns: 1fr 1.3fr;
}

.grid-left-to-right {
  padding-right: 4.2rem !important;
  grid-template-columns: 1.5fr 1fr;
}

.panel-info-box {
  margin-top: 3.2rem;
}

.panel-heading {
  font-size: 2.8rem;
  font-weight: 700;
  display: inline-block;
  position: relative;
  margin-bottom: 4.8rem;
}

.panel-heading::after {
  content: "";
  height: 0.4rem;
  width: 4.2rem;
  background: #2a7bc5;
  position: absolute;
  left: 0;
  bottom: 0;
  top: 4.8rem;
}

.panel-description {
  font-size: 1.6rem;
  line-height: 1.4;
  text-align: justify;
  text-justify: inter-word;
}

.panel-img-box {
  max-width: 400rem;
  height: 40rem;
  align-self: center;
  justify-self: center;
}

.panel-img {
  width: 100%;
  height: 100%;
}

/* FOOTER */

.ftr-product {
  margin-top: 0 !important;
}

/* ********************** */
/* PROJECTS */
/* ********************** */

.project-box {
  padding: 0 4.8rem;
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4.8rem;
  justify-content: space-evenly;
  justify-items: center;
}

.project-img-box {
  max-width: 48rem;
}

.project-img {
  width: 100%;
}

.project-name {
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: 1.8rem;
}

.project-description {
  font-size: 1.4rem;
  margin-top: 1.2rem;
  line-height: 1.6;
}

/* ********************** */
/* PRIVACY POLICY */
/* ********************** */

.pp-color {
  color: #4e4e4e;
}

.pp-heading {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 1rem;
  margin-top: 2.4rem;
}

.pp-subheading {
  font-size: 2.4rem;
  margin-top: 3.2rem;
  font-weight: 400;
}

.pp-paragraph {
  font-size: 1.4rem;
  line-height: 1.6;
  margin: 1rem 0;
}

.pp-list {
  font-size: 1.4rem;
  line-height: 1.5;
  margin: 1rem 0;
}

/* ********************** */
/* GALLERY */
/* ********************** */

.office {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 18rem;
  justify-content: center;
  align-items: center;
  padding: 3.2rem;
  margin-top: 2rem;
}

.section-workshop {
  background-color: #f5f5f5;
}

.workshop {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  padding: 3.2rem;
  margin-bottom: 1.8rem;
}

.gallery-heading {
  font-size: 4.8rem;
  color: #222;
  font-weight: 600;
  margin-top: 18rem;
}

.office-heading {
  text-align: right;
}

.office-img-box {
  max-width: 56rem;
}

.workshop-img-box {
  max-width: 72rem;
}

.ow-img {
  width: 100%;
}

.gallery {
  margin-top: 4.8rem;
}

.gallery-img-box {
  cursor: pointer;
  position: relative;
}

.gallery-img {
  width: 100%;
}

.box {
  columns: 4;
  column-gap: 2.4rem;
}

.gallery-img-box {
  margin-bottom: 2.4rem;
}

.gallery-img-box::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2rem;
  width: 100%;
  justify-content: center;
  text-align: center;
  opacity: 0;
  z-index: 99;
}

.gallery-img-box::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.gallery-img-box:hover::after {
  opacity: 1;
}

.gallery-img-box:hover::before {
  opacity: 1;
}

.gallery-img-box.hide {
  display: none;
}

.acdb-img::before {
  content: "AC Distribution Board";
}

.apfc-img::before {
  content: "APFC";
}

.mcc-img::before {
  content: "MCC";
}

.plc-img::before {
  content: "PLC";
}

.dcdb-img::before {
  content: "DC Distribution Board";
}

.vfd-img::before {
  content: "VFD";
}

.cd-img::before {
  content: "Control Desk";
}

.pcc-img::before {
  content: "PCC";
}

.dc-img::before {
  content: "DC Panel";
}

.do-mcc-img::before {
  content: "Draw-Out MCC";
}

.wc-img::before {
  content: "Workstation/Console";
}

.plc-mcc-vfd-img::before {
  content: "PLC-MCC-VFD Combination Panel";
}

.vfd-mcc-img::before {
  content: "VFD-MCC Panel";
}

.mcc-apfc-img::before {
  content: "MCC-APFC Panel";
}

.filter {
  display: flex;
  justify-content: center;
  align-items: center;
}

.filter-gallery {
  width: 38rem;
  position: relative;
}

.filter-gallery:hover .filter-list {
  opacity: 1;
  visibility: visible;
}

.filter-select {
  font-size: 1.4rem;
  padding: 1.4rem;
  border-radius: 2px;
  border: 1px solid #222;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.filter-list {
  border-radius: 2px;
  background-color: #f5f5f5;
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s linear, visibility 0.2s linear;
  z-index: 9999;
}

.filter-list-item {
  padding: 1rem;
  font-size: 1.4rem;
  cursor: pointer;
}

.filter-list-item:hover {
  background-color: #eaf2f9;
}

/* GALLERY IMAGE POP UP */

#close-gallery-img {
  color: #fff !important;
  width: 4.8rem !important;
  height: 4.8rem !important;
}

.gallery-img-bg-pop-up {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  height: 100%;
  width: 100%;
  z-index: 999;
  display: none;
}

.gallery-img-pop-up {
  width: 34rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 5px solid #fff;
  object-fit: cover;
}
