/* Global container */
.page-container {
  margin-left: 70px;
  margin-right: 70px;
}
.page-container-left{
  margin-left:70px;
}
.page-container-right{
  margin-right:70px;
}

:root {
  --main-yellow: #ffdd15;
  --main-yellowa: rgba(255,221,21,0.8);
  --main-black: #000000;
  --main-white: #ffffff;
  --main-gray:#D9D9D9;
  --main-grayt:#a3a3a3;
}
/* background colors*/
.bgblack{background-color: var(--main-black);}
.bgyellow{background-color: var(--main-yellow);}
.bgyellowa{background-color: var(--main-yellowa);}
.bggray{background-color: var(--main-gray);}

/* text colors*/
.txtyellow{color: var(--main-yellow);}
.txtblack{color: var(--main-black);}
.txtgrayt{color:var(--main-grayt)}









.header {
  height: 47px;
}

.poppinssemibold {
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 400;
  /* semibold */
  color: var(--main-yellow)
}

.buttonyellow {
  background-color: var(--main-yellow);
  border: none
}

.buttonyellowboarder {
  background-color: transparent;
  border: 1px solid var(--main-yellow);
  color: var(--main-yellow);
  border-radius: 5px
}

.hero-section {
  position: relative;
  min-height: 80vh;
  width: 100%;
  color: #fff;
  overflow: hidden;
}

/* background layer */
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  z-index: 0;
}

/* overlay */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to right,
    rgba(0,0,0,0.2),
    rgba(0,0,0,0.3)
  );
  z-index: 1;
}

/* content above */
.hero-section .container {
  position: relative;
  z-index: 2;
}
 .hero-home::after {
  background-image: url("/assets/images/hero.png");
}


.hero-sectiona {
  position: relative;
  min-height: 40vh;
  width: 100%;
  color: #fff;
  overflow: hidden;
}

/* background layer */
.hero-sectiona::after {
  content: "";
  position: absolute;
  inset: 0;

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  z-index: 0;
}

/* overlay */
.hero-sectiona::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to right,
    rgba(0,0,0,0.2),
    rgba(0,0,0,0.3)
  );
  z-index: 1;
}

/* content above */
.hero-sectiona .container {
  position: relative;
  z-index: 2;
}
 .hero-homea::after {
  background-image: url("/assets/images/about us hero.png");
}

 .hero-homeb::after {
  background-image: url("/assets/images/contact us hero.png");
}

.hero-content {
  color: var(--main-white);
}





.stats-section {
  padding: 60px 0;
  background-color: #fff;
}

.stats-box {
  gap: 16px;
}

.stats-line {
  width: 5px;
  height: 55px;
  background-color: var(--main-yellow);
  display: inline-block;
}

.stats-number {
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 48px;
  color: #000;
  margin: 0;
}

.stats-text {
  font-family: var(--inter-font);
  font-weight: 400;
  font-size: 16px;
  color: #000;
  margin: 0;
}

.title {
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 36px;
  margin-bottom: 24px;
}


.about-right {
  position: relative;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  width: 100%;
  height: auto;

}

.experience-box {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translate(-20%, 35%);
    padding: 40px 32px;
  color: #000;
  width: 280px;
}
.experience-boxa {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translate(-10%, 35%);
    padding: 40px 32px;
  color: #000;
  width: 280px;
}




.services-flex {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  /* ✅ wrap on small screens */
}

/* Card */
.service-card {
  flex: 1 1 180px;
  max-width: 220px;
  aspect-ratio: 3 / 4;

  padding: 20px;
  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;

  color: #fff;
}

/* Background image layer */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;

  background-size: fill;
  background-position: center;
  background-repeat: no-repeat;

  transform: scale(1);
  transition: transform 0.8s ease;
  /* ✅ smooth */
  z-index: 0;
}

/* Scale on hover */
.service-card:hover::after {
  transform: scale(1.15);
}

/* Gradient overlay */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.2));
  z-index: 1;
}

/* Content above layers */
.service-card * {
  position: relative;
  z-index: 2;
}

/* Button */
.service-card button {
  background: #ffd400;
  border: none;
  padding: 6px 18px;
  width: fit-content;
  cursor: pointer;
}

.bg-1::after {
  background-image: url("/assets/images/home\ fireandsafty.png");
}
.bg-2::after {
  background-image: url("/assets/images/home electromecha.png");
}

.bg-3::after {
  background-image: url("/assets/images/home\ smart\ home\ solu.png");
}

.bg-4::after {
  background-image: url("/assets/images/facilities\ managemnt.png");
}

.bg-5::after {
  background-image: url("/assets/images/hvacmaintenance.png");
}


.mep::after {
  background-image: url("/assets/images/mep hero.png");
}
.FacilityManagement::after {
  background-image: url("/assets/images/facility management hero.png");
}
.fire::after {
  background-image: url("/assets/images/fire hero.jpg");
}


.bg-1fire::after {
  background-image: url("/assets/images/firepr1.png");
}
.bg-2fire::after {
  background-image: url("/assets/images/firepr2.png");
}

.bg-3fire::after {
  background-image: url("/assets/images/firepr3.png");
}

.bg-4fire::after {
  background-image: url("/assets/images/firepr4.png");
}
.bg-1hvac::after {
  background-image: url("/assets/images/hvacpro1.png");
}
.bg-2hvac::after {
  background-image: url("/assets/images/hvacpro2.png");
}

.bg-3hvac::after {
  background-image: url("/assets/images/hvacpro3.png");
}

.bg-4hvac::after {
  background-image: url("/assets/images/hvacpro4.png");
}


/*facility */

.bg-1fac::after {
  background-image: url("/assets/images/facpr1.png");
}
.bg-2fac::after {
  background-image: url("/assets/images/facpr2.png");
}

.bg-3fac::after {
  background-image: url("/assets/images/facpr3.png");
}

.bg-4fac::after {
  background-image: url("/assets/images/facpr4.png");
}
/*mep*/

.bg-1mep::after {
  background-image: url("/assets/images/mepser1.png");
}
.bg-2mep::after {
  background-image: url("/assets/images/mepser2.png");
}

.bg-3mep::after {
  background-image: url("/assets/images/mepser3.png");
}

.bg-4mep::after {
  background-image: url("/assets/images/mepser4.png");
}



.bg-1meppr::after {
  background-image: url("/assets/images/meppr1.png");
}
.bg-2meppr::after {
  background-image: url("/assets/images/meppr2.png");
}

.bg-3meppr::after {
  background-image: url("/assets/images/meppr3.png");
}

.bg-4meppr::after {
  background-image: url("/assets/images/meppr4.png");
}
























.why-left {
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7)),
    url("/assets/images/home\ why\ choose\ left.png") center/cover no-repeat;
  min-height: 100%;
}

.why-right {
  position: relative;
  background:
    linear-gradient(rgba(255, 215, 0, 0.9), rgba(255, 215, 0, 0.9)),
    url("/assets/images/home\ why\ choose.png") center/cover no-repeat;
}

.why-icon {
  width: 18px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}


.client-marquee {
  overflow: hidden;
  background: #f3f3f3;
  padding: 30px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.logo-item {
  flex: 0 0 auto;
  padding: 0 40px;
}

.logo-item img {
  height: 60px;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(50%);
  opacity: 0.98;
}

.logo-item img:hover {
  filter: none;
  opacity: 1;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}




.projects-info h2 {

  color: var(--main-yellow);

}

.project-card {
  overflow: hidden;
  border-radius: 1px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-cta {
  background: var(--main-yellow);
  align-items: center;
}

.project-card img {
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}



.quote-form .form-control {
  border-radius: 0;
 
}



.footer-links li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-links {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--main-yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;

  background: var(--main-yellow);
  color: #000;
  border: none;
  font-size: 22px;
  cursor: pointer;
  display: none;
  z-index: 999;
}

.back-to-top:hover {
  background: var(--main-black);
  color: var(--main-white)
}
/* home page end*/
 .hero-hvac::after {
  background-image: url("/assets/images/HVAC HERO.png");
}
/* Section background */
.form-hero {
  position: relative;
  
  display: flex;
  align-items: center;
  justify-content: center;

}


.form-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;

  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  padding: 30px;
  
}

/* Heading */
.form-container h2 {
  text-align: center;
  color: #fff;
  
  font-size: 28px;
}

/* Inputs */
.form-container input,
.form-container textarea {
  width: 100%;
  margin-bottom: 15px;
  border: none;
    background: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  outline: none;
}

/* Placeholder color */
.form-container input::placeholder,
.form-container textarea::placeholder {
  color: #333;
}



/* Button hover */
.form-container button:hover {
  background: #ffcc00;
}


/* Card wrapper */
.image-wrapper {
    position: relative;
    width: 230px;
    height: 320px;          /* FIX: gives column height */
    margin: auto;}

/* Image container (top gray area) */
.image-wrappera {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

/* AC Image */
.ac-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.25);
    display: block;
}

/* Black content box */
.content-box {
    position: absolute;
    bottom: 0;              /* FIX: attach to bottom */
    right: 0;
    width: 200px;height: 160px;
    background-color: #000000;
    z-index: 2;transform: translateY(-50px);
}

/* Icon badge */
.icon-badge {
    position: absolute;
    top: 140px;             /* FIX: no translateY */
    right: 0;
    background-color: rgba(255, 255, 255, 0.75);
    z-index: 3;transform: translateY(-70px);
}

/* Optional: spacing between cards */
.row > div {
    margin-bottom: 30px;
}

/* Optional: text color helper */
.textyellow {
    color: #ffcc00;
}

/*about us page*/
.core-values {
  background: #000;
}

.value-card {
  border: 1px solid rgba(255,255,255,0.4);
  padding: 25px 20px;
  height: 100%;
}

.value-card h6 {
  color: #fff;

}

.value-card p {
  color: #aaa;
  
  line-height: 1.5;
  margin: 0;
}
.hero-stats-bg {
  /* Replace 'your-image-url.jpg' with your actual image path */
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
              url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1200') ;
  
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Optional: adds a parallax effect */
  position: relative;
  color: white;
}

/* Custom border between columns for desktop */
@media (min-width: 768px) {
  .border-end-custom {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
  }
}

.stats-overlay {
  padding: 60px 0; /* Adjust vertical spacing here */
}






/* Mobile spacing */
@media (max-width: 768px) {
  .value-card {
    padding: 20px 15px;
  }
}
.stats-section {
  position: relative;
  /* Replace with your actual city background image path */
  background: url('your-city-image.jpg') no-repeat center center;
  background-size: cover;
  color: #000;
  /* This creates the yellow tint effect */
 
  background-blend-mode: overlay;
  padding: 80px 0;
}

/* Custom vertical dividers similar to the red lines in your image */
@media (min-width: 768px) {
  .border-end-custom {
    border-right: 1px solid rgba(255, 0, 0, 0.3);
  }
}

.stats-section h2 {
  font-family: 'Arial Black', sans-serif; /* Adjust to match your specific font */
  letter-spacing: -1px;
}

.stats-section p {
  font-weight: 500;
}

/* contact us page */




.custom-input {
  background-color: #bcbcbc !important; /* Grey background for inputs */
  border: none;
  border-radius: 0;
  padding: 12px 15px;
  color: #333;
}

.custom-input::placeholder {
  color: #666;
  font-size: 0.9rem;
}

.btn-yellow {
  background-color: var(--brand-yellow);
  color: #000;
  border-radius: 4px;
  border: none;
}

.btn-yellow:hover {
  background-color: #e6c200;
}

/* Icon Styling */
.social-icons a {
  background: #000;
  color: #fff;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 4px;
}


/* Floating effect for the yellow box (Optional) */
@media (min-width: 992px) {
  .contact-info {
    margin-top: -30px;
    margin-bottom: -30px;
    z-index: 2;
    box-shadow: 15px 0 30px rgba(0,0,0,0.2);
  }
}

.map-section {
    position: relative;
    overflow: hidden;
}

.map-container {
    filter: grayscale(100%) invert(90%) contrast(90%); /* Gives it the stylized grey/muted look from your image */
    width: 100%; height:50vh;
}

/* Red guidelines overlay (simulating your screenshot) */
.map-section::before,
.map-section::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(255, 0, 0, 0.4); /* The red vertical lines in your file */
    z-index: 10;
}

.map-section::before { left: 5%; }
.map-section::after { right: 5%; }

.map-container iframe {
    display: block;
}
.process-section {
  background-color: #000;
  
}

/* Horizontal line connecting the boxes */
 

        .yellow-text { color: #FFCC00; }

        /* Step Column Styling */
        .step-col {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: space-between;
        }

        /* The Box */
        .step-box {
            width: 120px;
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3.5rem;
            font-weight: 800;
            color: #000;
            z-index: 2;
            margin-bottom: 20px;
        }

        .bg-grey { background-color: #D1D1D1; }
        .bg-yellow { background-color: #FFCC00; }

        /* The Connecting Line (Desktop Only) */
        @media (min-width: 768px) {
            .step-col:not(:last-child)::after {
                content: '';
                position: absolute;
                top: 60px; /* Half of box height */
                left: 120px; /* Starts at the end of the box */
                width: calc(100% - 0px); /* Fills the space to the next col */
                height: 4px;
                background-color: #FFCC00;
                z-index: 1;
            }
        }

        .step-desc {
            font-size: 1rem;
            line-height: 1.3;
            max-width: 200px;
        }

        /* Mobile specific: Hide lines and center content */
        @media (max-width: 767px) {
            .step-col {
                align-items: center;
                margin-bottom: 50px;
                text-align: center;
            }
        }



/* Main Card Container */
.fps-card {
  position: relative;
  padding-top: 45px; /* Adjusts how high the icon sits above the box */
  height: 100%;
}

/* Overlapping Icon Wrapper */
.fps-icon-wrapper {
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 15px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}



/* Black Content Box */
.fps-content {
  min-height: 110px;
  display: flex;
  align-items: flex-end;
  border-bottom: 4px solid #FFD700; /* Brand Yellow */
  position: relative;
  z-index: 1;
  transition: background-color 0.3s ease;
}

.fps-title {
  text-transform: capitalize;
  line-height: 1.3;
}



/* Hover Interaction */
.fps-card:hover .fps-content {
  background-color: #1a1a1a !important;
}
/* Section Colors */
.hp-bg-yellow {
  background-color: #FFD700; /* Haifa Brand Yellow */
}

/* Right side with Image Background and Dark Overlay */
.hp-bg-dark-overlay {
  position: relative;
  /* Replace with your fire protection/technician background image */
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
              url('/assets/images/fireoverly1.png') no-repeat center center;
  background-size: cover;
  min-height: 500px;
}

/* Left side content constraint */


/* Feature Icon Boxes (for the white logo backgrounds) */
.hp-icon-box {
  width: 60px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.fan-icon{width:60px}

.boxshadow{box-shadow: 0px 10px 51px -3px rgba(0, 0, 0, 0.1);}
.w-85{width:95%;}


/* Mobile Responsive adjustment */
@media (max-width: 991px) {
  .hp-content-wrapper {
    margin-left: 0;
  }
}

.element {
  border-top: 3px solid #ffdd15;
  border-bottom: 3px solid #ffdd15;
}


.process-section {
            background-color: #000;
            color: #fff;
            /* 70px left and right margins */
            padding: 60px 70px; 
            width: 100%;
        }

        .txt-yellow { color: #FFCC00; }
        
        .proc-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 15px;
        }

        .proc-step {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            flex: 1; /* Distributes 7 steps equally */
        }

        /* Smaller Box Size: 85px */
        .proc-box {
            width: 85px;
            height: 85px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            font-weight: 800;
            color: #000;
            z-index: 2;
            margin-bottom: 15px;
        }

        .bg-gray-light { background-color: #D1D1D1; }
        .bg-brand-yellow { background-color: #FFCC00; }

        /* The Connecting Line */
        @media (min-width: 992px) {
            .proc-step:not(:last-child)::after {
                content: '';
                position: absolute;
                /* Vertical center of the 85px box */
                top: 42.5px; 
                /* Starts at the right edge of the box */
                left: 85px; 
                /* Bridges the gap exactly to the next box */
                width: calc(100% - 85px + 15px); 
                height: 3px;
                background-color: #FFCC00;
                z-index: 1;
            }
        }

        .proc-text {
            font-size: 0.85rem;
            line-height: 1.2;
            max-width: 120px;
            font-weight: 500;
        }

        /* Responsive adjustments */
        @media (max-width: 991px) {
            .process-section { padding: 40px 30px; }
            .proc-wrapper { flex-wrap: wrap; }
            .proc-step {
                flex: 1 0 30%; /* 3 per row on tablets */
                align-items: center;
                text-align: center;
                margin-bottom: 40px;
            }
            .proc-text { max-width: 100%; }
        }

        @media (max-width: 576px) {
            .proc-step { flex: 1 0 100%; } /* 1 per row on mobile */
        }





































/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .poppinssemibold {
    font-size: 14px;
  }

  .page-container {
    margin-left: 30px;
    margin-right: 30px;
  }
}

/* Mobile (max-width: 600px) */
@media (max-width: 600px) {
  .poppinssemibold {
    font-size: 12px;
  }

  .page-container {
    margin-left: 10px;
    margin-right: 10px;
  }
  .page-container-left{
  margin-left:0px;
}
.page-container-right{
  margin-right:8px;
}


  .logo-item img {
    height: 45px;
  }

  .projects-info {
    height: 20vh;

  }
  .image-wrapper {
    position: relative;
    width: 170px;
   }
 .content-box {
    position: absolute;
    bottom: 0;              /* FIX: attach to bottom */
    right: 0;
    width: 160px;
    

}





}
