/* Make menu text readable - black color for main navigation */
.u-header .u-nav-link,
.u-menu .u-nav-link,
.u-nav-container .u-nav-link,
.u-nav-item .u-nav-link {
  color: #333 !important;
}

.u-header .u-nav-link:hover,
.u-menu .u-nav-link:hover,
.u-nav-container .u-nav-link:hover,
.u-nav-item .u-nav-link:hover {
  color: #000 !important;
}

/* Mobile menu (sidenav) - keep white text on black background */
.u-sidenav .u-nav-link,
.u-popupmenu-items .u-nav-link {
  color: #fff !important;
}

/* Prevent text editing and selection issues */
* {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

/* Allow text selection only in text content areas */
p, h1, h2, h3, h4, h5, h6, span, a, li, td, th, label, input[type="text"], textarea {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* Prevent contenteditable */
[contenteditable="true"] {
  contenteditable: false !important;
}

body, html {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

.u-section-1 {
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.2)
    ),
    url("images/prima_pagina_fundal1.png");
  background-position: 50% 10%;
}

.u-section-1 .u-sheet-1 {
  min-height: 587px;
}

.u-section-1 .u-group-1 {
  width: 836px;
  min-height: 249px;
  margin: 84px auto 60px;
}

.u-section-1 .u-container-layout-1 {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}

.u-section-1 .u-text-1 {
  font-weight: 700;
  font-family: titillium-Web;
  margin: 4px 20px auto;
}

.u-section-1 .u-text-2 {
  font-style: bold;
  line-height: 1.6;
  font-size: 1.25rem;
  width: 356px;
  margin: 13px auto 0;
}

@media (max-width: 1199px) {
  .u-section-1 .u-sheet-1 {
    min-height: 484px;
  }

  .u-section-1 .u-text-1 {
    position: relative;
    margin-left: 16px;
    margin-right: 16px;
  }

  .u-section-1 .u-text-2 {
    width: 477px;
    position: relative;
  }
}

@media (max-width: 991px) {
  .u-section-1 .u-sheet-1 {
    min-height: 371px;
  }

  .u-section-1 .u-group-1 {
    margin-right: initial;
    margin-left: initial;
    width: auto;
  }

  .u-section-1 .u-text-1 {
    margin-top: 45px;
    margin-left: 13px;
    margin-right: 13px;
  }

  .u-section-1 .u-text-2 {
    width: 366px;
  }
}

@media (max-width: 767px) {
  .u-section-1 .u-sheet-1 {
    min-height: 278px;
  }

  .u-section-1 .u-text-1 {
    margin-left: 9px;
    margin-right: 9px;
    font-size: 2rem;
  }

  .u-section-1 .u-text-2 {
    width: auto;
    max-width: 90%;
    padding: 0 15px;
    font-size: 1rem;
  }
  
  .u-section-1 .u-group-1 {
    width: 100%;
    padding: 0 10px;
  }
}

@media (max-width: 575px) {
  .u-section-1 .u-sheet-1 {
    min-height: 175px;
  }

  .u-section-1 .u-group-1 {
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
  }
  
  .u-section-1 .u-text-1 {
    font-size: 1.75rem;
  }
  
  .u-section-1 .u-text-2 {
    width: auto;
    max-width: 100%;
    font-size: 0.9rem;
  }

  .u-section-1 .u-text-1 {
    margin-top: 215px;
    margin-left: 6px;
    margin-right: 6px;
  }

  .u-section-1 .u-text-2 {
    width: 288px;
  }
}
.u-section-2 {
  background-image: none;
}

.u-section-2 .u-sheet-1 {
  min-height: 294px;
}

.u-section-2 .u-layout-wrap-1 {
  margin-top: 0;
  margin-bottom: 45px;
}

.u-section-2 .u-layout-cell-1 {
  min-height: 249px;
}

.u-section-2 .u-container-layout-1 {
  padding: 30px 20px 0;
}

.u-section-2 .u-text-1 {
  font-size: 9.125rem;
  font-weight: 700;
  font-family: titillium-Web;
  animation-duration: 1000ms;
  margin: 14px 0 0;
}

.u-section-2 .u-layout-cell-2 {
  min-height: 249px;
}

.u-section-2 .u-container-layout-2 {
  padding-top: 30px;
  padding-bottom: 0;
}

.u-section-2 .u-text-2 {
  font-weight: 700;
  font-family: titillium-Web;
  margin: 55px 20px 0;
}

.u-section-2 .u-layout-cell-3 {
  min-height: 256px;
  background-image: none;
}

.u-section-2 .u-container-layout-3 {
  padding-top: 0;
  padding-bottom: 0;
}

.u-section-2 .u-text-3 {
  margin: 16px auto 0;
}

.u-section-2 .u-group-1 {
  min-height: 165px;
  background-image: none;
  margin-top: 23px;
  margin-bottom: 0;
  height: auto;
}

.u-section-2 .u-text-4 {
  font-weight: 700;
  font-family: titillium-Web;
  margin: 40px 10px 0 20px;
}

@media (max-width: 1199px) {
  .u-section-2 .u-sheet-1 {
    min-height: 258px;
  }

  .u-section-2 .u-layout-cell-1 {
    min-height: 200px;
  }

  .u-section-2 .u-container-layout-1 {
    padding-left: 16px;
    padding-right: 16px;
  }

  .u-section-2 .u-layout-cell-2 {
    min-height: 200px;
  }

  .u-section-2 .u-text-2 {
    position: relative;
    margin-left: 16px;
    margin-right: 16px;
  }

  .u-section-2 .u-layout-cell-3 {
    min-height: 200px;
  }

  .u-section-2 .u-group-1 {
    height: auto;
  }

  .u-section-2 .u-text-4 {
    margin-right: 8px;
    margin-left: 16px;
  }
}

@media (max-width: 991px) {
  .u-section-2 .u-container-layout-1 {
    padding-left: 13px;
    padding-right: 13px;
  }

  .u-section-2 .u-text-1 {
    margin-top: -109px;
    margin-bottom: 149px;
  }

  .u-section-2 .u-text-2 {
    margin-left: 13px;
    margin-right: 13px;
  }

  .u-section-2 .u-layout-cell-3 {
    min-height: 135px;
  }

  .u-section-2 .u-text-4 {
    margin-right: 6px;
    margin-left: 13px;
  }
}

@media (max-width: 767px) {
  .u-section-2 .u-layout-cell-1 {
    min-height: 66px;
  }

  .u-section-2 .u-container-layout-1 {
    padding-left: 9px;
    padding-right: 9px;
  }

  .u-section-2 .u-text-1 {
    margin-top: -110px;
    margin-bottom: 16px;
  }

  .u-section-2 .u-text-2 {
    margin-left: 9px;
    margin-right: 9px;
  }

  .u-section-2 .u-layout-cell-3 {
    min-height: 304px;
  }

  .u-section-2 .u-text-4 {
    margin-right: 5px;
    margin-left: 9px;
  }
}

@media (max-width: 575px) {
  .u-section-2 .u-container-layout-1 {
    padding-left: 6px;
    padding-right: 6px;
  }

  .u-section-2 .u-text-2 {
    margin-left: 6px;
    margin-right: 6px;
  }

  .u-section-2 .u-layout-cell-3 {
    min-height: 191px;
  }

  .u-section-2 .u-text-4 {
    margin-right: 3px;
    margin-left: 6px;
  }
}
.u-section-3 {
  background-image: none;
  min-height: 570px;
}

.u-section-3 .u-layout-wrap-1 {
  width: calc(((100% - 1140px) / 2) + 1140px);
  margin: 0 auto 0 0;
}

.u-section-3 .u-image-1 {
  min-height: 570px;
  background-image: url("images/hala_acoperis.jpeg");
  background-position: 50% 50%;
}

.u-section-3 .u-layout-cell-2 {
  min-height: 570px;
}

.u-section-3 .u-container-layout-2 {
  padding-left: 20px;
}

.u-section-3 .u-text-1 {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 3px;
  margin: 87px 20px 0 13px;
}

.u-section-3 .u-text-2 {
  font-weight: 700;
  font-family: titillium-Web;
  margin: 20px 0 0 13px;
}

.u-section-3 .u-text-3 {
  font-style: italic;
  font-size: 1.125rem;
  margin: 20px 20px 0 13px;
}

@media (max-width: 1199px) {
  .u-section-3 {
    min-height: 470px;
  }

  .u-section-3 .u-layout-wrap-1 {
    width: calc(((100% - 940px) / 2) + 940px);
  }

  .u-section-3 .u-image-1 {
    min-height: 470px;
  }

  .u-section-3 .u-layout-cell-2 {
    min-height: 470px;
  }

  .u-section-3 .u-container-layout-2 {
    padding-left: 16px;
  }

  .u-section-3 .u-text-1 {
    margin-left: 0;
    margin-right: 16px;
    position: relative;
  }

  .u-section-3 .u-text-2 {
    margin-right: 74px;
    margin-left: 0;
  }

  .u-section-3 .u-text-3 {
    position: relative;
    margin-right: 16px;
    margin-left: 0;
  }
}

@media (max-width: 991px) {
  .u-section-3 {
    min-height: 360px;
  }

  .u-section-3 .u-layout-wrap-1 {
    width: 720px;
    margin-top: 3px;
    margin-left: calc(((100% - 1140px) / 2) + 210px);
  }

  .u-section-3 .u-image-1 {
    min-height: 360px;
  }

  .u-section-3 .u-layout-cell-2 {
    min-height: 100px;
  }

  .u-section-3 .u-container-layout-2 {
    padding-left: 13px;
  }

  .u-section-3 .u-text-1 {
    margin-top: 30px;
    margin-right: 13px;
  }

  .u-section-3 .u-text-2 {
    width: auto;
    position: relative;
    margin-top: 13px;
    margin-right: 0;
  }

  .u-section-3 .u-text-3 {
    margin-top: 13px;
    margin-right: 13px;
  }
}

@media (max-width: 767px) {
  .u-section-3 {
    min-height: 640px;
  }

  .u-section-3 .u-layout-wrap-1 {
    width: 540px;
    margin-left: calc(((100% - 1140px) / 2) + 300px);
  }

  .u-section-3 .u-image-1 {
    min-height: 540px;
  }

  .u-section-3 .u-container-layout-2 {
    padding-left: 9px;
  }

  .u-section-3 .u-text-1 {
    margin-right: 9px;
  }

  .u-section-3 .u-text-2 {
    width: NaNpx;
    margin-right: 43px;
  }

  .u-section-3 .u-text-3 {
    margin-right: 9px;
  }
}

@media (max-width: 575px) {
  .u-section-3 {
    min-height: 440px;
  }

  .u-section-3 .u-layout-wrap-1 {
    width: 340px;
    margin-top: 61px;
    margin-left: calc(((100% - 1140px) / 2) + 400px);
  }

  .u-section-3 .u-image-1 {
    min-height: 340px;
  }

  .u-section-3 .u-container-layout-2 {
    padding-left: 6px;
  }

  .u-section-3 .u-text-1 {
    margin-right: 6px;
  }

  .u-section-3 .u-text-2 {
    margin-right: 27px;
  }

  .u-section-3 .u-text-3 {
    margin-right: 6px;
  }
}
.u-section-4 {
  min-height: 366px;
}

.u-section-4 .u-layout-wrap-1 {
  min-height: 366px;
  margin: 0 auto 0 0;
}

.u-section-4 .u-layout-cell-1 {
  min-height: 366px;
  background-image: none;
}

.u-section-4 .u-container-layout-1 {
  padding: 0;
}

.u-section-4 .u-icon-1 {
  height: 64px;
  width: 64px;
  margin: 75px auto 0;
}

/* Ensure all text in service boxes uses the same font */
.u-section-4 .u-text-1,
.u-section-4 .u-text-2,
.u-section-4 .u-text-3,
.u-section-4 .u-text-4,
.u-section-4 .u-text-5,
.u-section-4 .u-text-6,
.u-section-4 .u-text-7,
.u-section-4 .u-text-8,
.u-section-4 .u-text-9,
.u-section-4 .u-text-10,
.u-section-4 .u-custom-font,
.u-section-4 h2,
.u-section-4 p {
  font-family: titillium-Web !important;
}

.u-section-4 .u-text-1 {
  font-size: 1.875rem;
  font-family: titillium-Web;
  width: 303px;
  margin: 35px auto 0;
}

.u-section-4 .u-text-2 {
  width: 259px;
  font-style: italic;
  font-family: titillium-Web;
  margin: 46px auto 0;
}

.u-section-4 .u-layout-cell-2 {
  min-height: 366px;
  background-image: none;
}

.u-section-4 .u-container-layout-2 {
  padding: 0;
}

.u-section-4 .u-icon-2 {
  height: 64px;
  width: 64px;
  margin: 75px auto 0;
}

.u-section-4 .u-text-3 {
  font-size: 1.875rem;
  font-family: titillium-Web;
  width: 318px;
  margin: 36px auto 0;
}

.u-section-4 .u-text-4 {
  font-style: italic;
  font-family: titillium-Web;
  width: 275px;
  margin: 44px auto 0;
}

.u-section-4 .u-layout-cell-3 {
  min-height: 366px;
  background-image: none;
}

.u-section-4 .u-container-layout-3 {
  padding: 0;
}

.u-section-4 .u-icon-3 {
  height: 64px;
  width: 64px;
  margin: 75px auto 0;
}

.u-section-4 .u-icon-4 {
  height: 80px;
  width: 80px;
  margin: 75px auto 0;
}

.u-section-4 .u-icon-4 svg {
  width: 80px !important;
  height: 80px !important;
}

.u-section-4 .u-icon-5 {
  height: 64px;
  width: 64px;
  margin: 75px auto 0;
}

/* Ensure SVG icons are black */
.u-section-4 .icon-svg-black,
.u-section-4 object.icon-svg-black {
  filter: brightness(0) !important;
  width: 64px !important;
  height: 64px !important;
}

.u-section-4 .u-text-5 {
  font-size: 1.875rem;
  font-family: titillium-Web;
  width: 274px;
  margin: 36px auto 0;
}

.u-section-4 .u-text-6 {
  font-style: italic;
  font-family: titillium-Web;
  width: 274px;
  margin: 45px auto 0;
}

@media (max-width: 1199px) {
  .u-section-4 .u-layout-wrap-1 {
    margin-right: initial;
    margin-left: initial;
  }

  .u-section-4 .u-container-layout-1 {
    padding-right: 35px;
  }

  .u-section-4 .u-text-1 {
    width: 275px;
  }

  .u-section-4 .u-text-2 {
    width: 271px;
  }

  .u-section-4 .u-container-layout-2 {
    padding-right: 35px;
  }

  .u-section-4 .u-text-3 {
    width: 271px;
  }

  .u-section-4 .u-text-4 {
    width: 271px;
  }

  .u-section-4 .u-layout-cell-3 {
    min-height: 302px;
  }

  .u-section-4 .u-container-layout-3 {
    padding-right: 35px;
  }

  .u-section-4 .u-text-6 {
    width: 271px;
  }
}

@media (max-width: 991px) {
  .u-section-4 .u-container-layout-1 {
    padding-right: 27px;
  }

  .u-section-4 .u-text-1 {
    width: 207px;
  }

  .u-section-4 .u-text-2 {
    width: 207px;
  }

  .u-section-4 .u-container-layout-2 {
    padding-right: 27px;
  }

  .u-section-4 .u-text-3 {
    width: 207px;
  }

  .u-section-4 .u-text-4 {
    width: 207px;
  }

  .u-section-4 .u-layout-cell-3 {
    min-height: 100px;
  }

  .u-section-4 .u-container-layout-3 {
    padding-right: 27px;
  }

  .u-section-4 .u-text-5 {
    width: 240px;
  }

  .u-section-4 .u-text-6 {
    width: 207px;
  }
}

@media (max-width: 767px) {
  .u-section-4 .u-container-layout-1 {
    padding-right: 20px;
  }

  .u-section-4 .u-text-1 {
    width: 194px;
  }

  .u-section-4 .u-text-2 {
    width: 194px;
  }

  .u-section-4 .u-container-layout-2 {
    padding-right: 20px;
  }

  .u-section-4 .u-text-3 {
    width: 194px;
  }

  .u-section-4 .u-text-4 {
    width: 194px;
  }

  .u-section-4 .u-container-layout-3 {
    padding-right: 20px;
  }

  .u-section-4 .u-text-6 {
    width: 194px;
  }
}

@media (max-width: 575px) {
  .u-section-4 .u-layout-cell-1 {
    min-height: 427px;
  }

  .u-section-4 .u-container-layout-1 {
    padding-right: 0;
  }

  .u-section-4 .u-icon-1 {
    margin-top: 45px;
  }

  .u-section-4 .u-text-1 {
    width: 208px;
    margin-top: 26px;
  }

  .u-section-4 .u-text-2 {
    width: 221px;
    margin-left: 110px;
    margin-right: 110px;
    margin-bottom: 45px;
  }

  .u-section-4 .u-layout-cell-2 {
    min-height: 394px;
  }

  .u-section-4 .u-container-layout-2 {
    padding-right: 0;
  }

  .u-section-4 .u-icon-2 {
    margin-top: 38px;
  }

  .u-section-4 .u-text-3 {
    width: 163px;
  }

  .u-section-4 .u-text-4 {
    width: 223px;
    margin-bottom: 38px;
  }

  .u-section-4 .u-container-layout-3 {
    padding-right: 0;
  }

  .u-section-4 .u-icon-3 {
    margin-top: 40px;
  }

  .u-section-4 .u-icon-4 {
    margin-top: 40px;
  }

  .u-section-4 .u-icon-5 {
    margin-top: 40px;
  }

  .u-section-4 .u-text-5 {
    font-size: 1.5rem;
  }

  .u-section-4 .u-text-6 {
    width: 213px;
    margin-bottom: 40px;
  }
}
.u-section-5 {
  background-image: none;
  background-color: #faf8f3 !important;
  min-height: 400px;
}

/* Remove any black background from ISO section */
section.u-section-5.u-grey-5,
section#sec-iso {
  background-color: #f5f5f5 !important;
  background-image: none !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}

/* Remove black background from any element with u-black class in section-5 */
.u-section-5 .u-black,
.u-section-5.u-black {
  background-color: transparent !important;
  background-image: none !important;
}

/* Remove any black bar between Recent Projects and ISO sections */
section#sec-be09:not(.u-grey-5) + section#sec-iso,
section#sec-be09:not(.u-grey-5) + section.u-section-5.u-grey-5,
section.u-section-5:not(.u-grey-5) + section#sec-iso {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
  background-color: #f5f5f5 !important;
  background-image: none !important;
}

/* Mobile Touch Targets - Ensure buttons and links are at least 44x44px */
@media (max-width: 767px) {
  .u-btn,
  .u-btn-1,
  .carousel-btn,
  .whatsapp-float {
    min-width: 44px;
    min-height: 44px;
  }
  
  .u-nav-link {
    padding: 12px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  /* Prevent horizontal scrolling */
  body {
    overflow-x: hidden;
    width: 100%;
  }
  
  /* Ensure images don't overflow */
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure button area has no black background - but keep button styling */
section#sec-be09:not(.u-grey-5) .u-btn-1 {
  margin-bottom: 0 !important;
  /* Don't override background-color - let nicepage handle button styling */
}

/* Remove any black background from body/html between sections */
body > section.u-section-5:not(.u-grey-5) + section.u-section-5.u-grey-5,
body > section#sec-be09:not(.u-grey-5) + section#sec-iso {
  background-color: #f5f5f5 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  background-image: none !important;
}

/* Override any black background from nicepage defaults */
section.u-section-5:not(.u-grey-5) {
  background-color: #faf8f3 !important;
  background-image: none !important;
}

section#sec-iso {
  background-color: #f5f5f5 !important;
  background-image: none !important;
}

/* Remove black space between sec-be09 and sec-iso - make it seamless */
section#sec-be09:not(.u-grey-5) {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

section#sec-be09:not(.u-grey-5) + section#sec-iso {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
  position: relative;
  top: 0;
}

/* Ensure body/html doesn't show black between sections */
body {
  background-color: #faf8f3 !important;
}

html {
  background-color: #faf8f3 !important;
}

.u-section-5 .u-group-1 {
  width: 895px;
  min-height: 218px;
  margin: 20px auto 0; /* Adjust the margin as needed */
}


.u-section-5 .u-container-layout-1 {

  margin-bottom: 0; /* Remove bottom margin */
}

.u-section-5 .u-text-1 {
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 20px 20px 0;
  color: #333;
}

.u-section-5 .u-text-2 {
  font-weight: 700;
  font-family: titillium-Web;
  margin: 20px 20px 0;
  color: #333;
}

.u-section-5 .u-text-3 {
  font-style: italic;
  margin: 37px 20px 0;
  color: #555;
}

.u-section-5 .u-layout-wrap-1 {
  margin-top: 0;
  padding: 0 20px;
}

.u-section-5 .u-layout-row {
  margin-top: 1px;
  margin-bottom: 1px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Add visible spacing between gallery images - make images smaller for 6 images */
.u-section-5 #sec-be09 .u-layout-cell.u-image-1,
.u-section-5 #sec-be09 .u-layout-cell.u-image-2,
.u-section-5 #sec-be09 .u-layout-cell.u-image-3,
.u-section-5 #sec-be09 .u-layout-cell.u-image-4,
.u-section-5 #sec-be09 .u-layout-cell.u-image-5,
.u-section-5 #sec-be09 .u-layout-cell.u-image-6 {
  max-width: calc(16.666% - 16px) !important;
  margin: 0 8px !important;
  flex: 0 0 calc(16.666% - 16px) !important;
}

.u-section-5 .u-image-1 {
  background-image: url("images/GALERIE/1.jpeg");
  min-height: 409px;
  background-position: 50% 50%;
  background-size: cover;
  width: 100%;
}

.u-section-5 .u-image-2 {
  background-image: url("images/GALERIE2/1.jpeg");
  min-height: 409px;
  background-position: 50% 50%;
  background-size: cover;
  width: 100%;
}

.u-section-5 .u-image-3 {
  background-image: url("images/GALERIE4/1.jpeg");
  min-height: 409px;
  background-position: 50% 50%;
  background-size: cover;
  width: 100%;
}

.u-section-5 .u-image-4 {
  background-image: url("images/GALERIE/5.jpeg");
  min-height: 409px;
  background-position: 50% 50%;
  background-size: cover;
  width: 100%;
}

/* Gallery images 5 and 6 - target the section that contains the "mai multe proiecte" button */
.u-section-5:not(.u-grey-5) .u-image-5 {
  background-image: url("images/GALERIE2/2.jpeg");
  min-height: 409px;
  background-position: 50% 50%;
  background-size: cover;
  width: 100%;
}

.u-section-5:not(.u-grey-5) .u-image-6 {
  background-image: url("images/GALERIE/6.jpeg");
  min-height: 409px;
  background-position: 50% 50%;
  background-size: cover;
  width: 100%;
}

/* ISO certificate images - in the grey-5 section */
section#sec-iso .u-image-5,
.u-section-5.u-grey-5 .u-image-5 {
  background-image: url("images/ISO_9001.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 800px;
  margin: 20px auto;
}

section#sec-iso .u-image-6,
.u-section-5.u-grey-5 .u-image-6 {
  background-image: url("images/ISO_14001.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 800px;
  margin: 20px auto;
}

.u-section-5 .u-btn-1 {
  background-image: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  margin: 51px auto;
}

/* Remove any black background/spacing after the button */
section#sec-be09:not(.u-grey-5) {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* END */

@media (max-width: 1199px) {
  .u-section-5 .u-group-1 {
    width: 738px;
  }

  .u-section-5 .u-text-1 {
    margin-left: 16px;
    margin-right: 16px;
    position: relative;
    color: #333;
  }

  .u-section-5 .u-text-2 {
    position: relative;
    margin-left: 16px;
    margin-right: 16px;
    color: #333;
  }

  .u-section-5 .u-text-3 {
    margin-left: 16px;
    margin-right: 16px;
    position: relative;
    color: #555;
  }

  .u-section-5 .u-layout-wrap-1 {
    margin-right: initial;
    margin-left: initial;
  }
}

@media (max-width: 991px) {
  .u-section-5 .u-group-1 {
    width: 565px;
  }

  .u-section-5 .u-text-1 {
    margin-left: 13px;
    margin-right: 13px;
  }

  .u-section-5 .u-text-2 {
    margin-left: 13px;
    margin-right: 13px;
  }

  .u-section-5 .u-text-3 {
    margin-left: 13px;
    margin-right: 13px;
  }
  
  /* Recent Projects Gallery - Medium tablets: 3 images per row */
  .u-section-5 #sec-be09 .u-layout-cell.u-image-1,
  .u-section-5 #sec-be09 .u-layout-cell.u-image-2,
  .u-section-5 #sec-be09 .u-layout-cell.u-image-3,
  .u-section-5 #sec-be09 .u-layout-cell.u-image-4,
  .u-section-5 #sec-be09 .u-layout-cell.u-image-5,
  .u-section-5 #sec-be09 .u-layout-cell.u-image-6 {
    max-width: calc(33.333% - 14px) !important;
    flex: 0 0 calc(33.333% - 14px) !important;
    margin: 0 7px 15px 7px !important;
  }
  
  .u-section-5 .u-image-1,
  .u-section-5 .u-image-2,
  .u-section-5 .u-image-3,
  .u-section-5 .u-image-4,
  .u-section-5:not(.u-grey-5) .u-image-5,
  .u-section-5:not(.u-grey-5) .u-image-6 {
    min-height: 320px;
  }
}

@media (max-width: 767px) {
  .u-section-5 .u-group-1 {
    width: 530px;
  }

  .u-section-5 .u-text-1 {
    margin-left: 9px;
    margin-right: 9px;
  }

  .u-section-5 .u-text-2 {
    margin-left: 9px;
    margin-right: 9px;
  }

  .u-section-5 .u-text-3 {
    margin-left: 9px;
    margin-right: 9px;
  }
  
  /* Recent Projects Gallery - Tablet: 3 images per row */
  .u-section-5 #sec-be09 .u-layout-cell.u-image-1,
  .u-section-5 #sec-be09 .u-layout-cell.u-image-2,
  .u-section-5 #sec-be09 .u-layout-cell.u-image-3,
  .u-section-5 #sec-be09 .u-layout-cell.u-image-4,
  .u-section-5 #sec-be09 .u-layout-cell.u-image-5,
  .u-section-5 #sec-be09 .u-layout-cell.u-image-6 {
    max-width: calc(33.333% - 14px) !important;
    flex: 0 0 calc(33.333% - 14px) !important;
    margin: 0 7px 15px 7px !important;
  }
  
  .u-section-5 .u-image-1,
  .u-section-5 .u-image-2,
  .u-section-5 .u-image-3,
  .u-section-5 .u-image-4,
  .u-section-5:not(.u-grey-5) .u-image-5,
  .u-section-5:not(.u-grey-5) .u-image-6 {
    min-height: 300px;
  }
  
  .u-section-5 .u-layout-wrap-1 {
    padding: 0 15px;
  }
  
  .u-section-5 .u-layout-row {
    gap: 15px;
  }
}

@media (max-width: 575px) {
  .u-section-5 .u-group-1 {
    width: 340px;
  }

  .u-section-5 .u-text-1 {
    margin-left: 6px;
    margin-right: 6px;
  }

  .u-section-5 .u-text-2 {
    margin-left: 6px;
    margin-right: 6px;
  }

  .u-section-5 .u-text-3 {
    margin-left: 6px;
    margin-right: 6px;
  }
  
  /* Recent Projects Gallery - Mobile: 2 images per row */
  .u-section-5 #sec-be09 .u-layout-cell.u-image-1,
  .u-section-5 #sec-be09 .u-layout-cell.u-image-2,
  .u-section-5 #sec-be09 .u-layout-cell.u-image-3,
  .u-section-5 #sec-be09 .u-layout-cell.u-image-4,
  .u-section-5 #sec-be09 .u-layout-cell.u-image-5,
  .u-section-5 #sec-be09 .u-layout-cell.u-image-6 {
    max-width: calc(50% - 10px) !important;
    flex: 0 0 calc(50% - 10px) !important;
    margin: 0 5px 10px 5px !important;
  }
  
  .u-section-5 .u-image-1,
  .u-section-5 .u-image-2,
  .u-section-5 .u-image-3,
  .u-section-5 .u-image-4,
  .u-section-5:not(.u-grey-5) .u-image-5,
  .u-section-5:not(.u-grey-5) .u-image-6 {
    min-height: 250px;
  }
  
  .u-section-5 .u-layout-wrap-1 {
    padding: 0 10px;
  }
  
  .u-section-5 .u-layout-row {
    gap: 10px;
  }
}
.u-section-6 {
  background-image: none;
}

.u-section-6 .u-sheet-1 {
  min-height: 516px;
}

.u-section-6 .u-layout-wrap-1 {
  margin: 58px auto 58px 0;
}

.u-section-6 .u-layout-cell-1 {
  min-height: 400px;
}

.u-section-6 .u-text-1 {
  font-weight: 700;
  font-family: titillium-Web;
  margin: 0 20px;
}

.u-section-6 .u-layout-cell-2 {
  min-height: 133px;
}

.u-section-6 .u-text-2 {
  font-size: 2.25rem;
  margin: 0 auto;
}

.u-section-6 .u-layout-cell-3 {
  background-image: none;
  min-height: 133px;
}

.u-section-6 .u-image-1 {
  width: 245px;
  height: 115px;
  margin: 0 auto;
}

.u-section-6 .u-layout-cell-4 {
  background-image: none;
  min-height: 133px;
}

.u-section-6 .u-text-3 {
  font-size: 2.25rem;
  margin: 0 auto;
}

@media (max-width: 1199px) {
  .u-section-6 .u-layout-wrap-1 {
    margin-right: initial;
    margin-left: initial;
  }

  .u-section-6 .u-text-1 {
    position: relative;
    margin-left: 0;
    margin-right: 0;
  }

  .u-section-6 .u-layout-cell-3 {
    min-height: 110px;
  }

  .u-section-6 .u-image-1 {
    width: 235px;
    height: 110px;
  }

  .u-section-6 .u-layout-cell-4 {
    min-height: 110px;
  }
}

@media (max-width: 991px) {
  .u-section-6 .u-layout-cell-2 {
    min-height: 100px;
  }

  .u-section-6 .u-layout-cell-3 {
    min-height: 169px;
  }

  .u-section-6 .u-layout-cell-4 {
    min-height: 100px;
  }
}

@media (max-width: 767px) {
  .u-section-6 .u-layout-cell-3 {
    min-height: 254px;
  }
}

@media (max-width: 575px) {
  .u-section-6 .u-layout-cell-3 {
    min-height: 160px;
  }
}
.u-section-7 {
  min-height: 366px;
}

.u-section-7 .u-layout-wrap-1 {
  margin-top: 0;
  margin-bottom: 0;
}

.u-section-7 .u-layout-cell-1 {
  min-height: 366px;
  background-image: none;
}

.u-section-7 .u-container-layout-1 {
  padding: 0;
}

.u-section-7 .u-icon-1 {
  height: 64px;
  width: 64px;
  margin: 0 auto;
}

.u-section-7 .u-text-1 {
  width: 308px;
  font-size: 1.25rem;
  letter-spacing: normal;
  font-family: Roboto, sans-serif;
  margin: 35px auto 0;
}

.u-section-7 .u-layout-cell-2 {
  min-height: 366px;
  background-image: none;
}

.u-section-7 .u-container-layout-2 {
  padding-left: 0;
  padding-right: 0;
}

.u-section-7 .u-icon-2 {
  height: 64px;
  width: 64px;
  margin: 120px auto 0;
}

.u-section-7 .u-text-2 {
  font-size: 1.25rem;
  width: 303px;
  letter-spacing: normal;
  font-family: Roboto, sans-serif;
  margin: 35px auto 0;
}

.u-section-7 .u-layout-cell-3 {
  min-height: 366px;
  background-image: none;
}

.u-section-7 .u-container-layout-3 {
  padding-left: 0;
  padding-right: 0;
}

.u-section-7 .u-icon-3 {
  height: 64px;
  width: 64px;
  margin: 120px auto 0;
}

.u-section-7 .u-text-3 {
  font-size: 1.25rem;
  width: 275px;
  letter-spacing: normal;
  font-family: Roboto, sans-serif;
  margin: 35px auto 0;
}

@media (max-width: 1199px) {
  .u-section-7 .u-layout-wrap-1 {
    min-height: 366px;
  }

  .u-section-7 .u-container-layout-1 {
    padding-right: 29px;
  }

  .u-section-7 .u-text-1 {
    width: 253px;
    position: relative;
    margin-right: 52px;
    margin-left: 52px;
  }

  .u-section-7 .u-text-2 {
    margin-bottom: 35px;
    margin-left: 29px;
    margin-right: 29px;
    width: auto;
    position: relative;
  }

  .u-section-7 .u-text-3 {
    margin-bottom: 35px;
    margin-left: 11px;
    margin-right: 11px;
    width: auto;
    position: relative;
  }
}

@media (max-width: 991px) {
  .u-section-7 .u-container-layout-1 {
    padding-right: 14px;
    padding-left: 14px;
  }

  .u-section-7 .u-icon-1 {
    margin-top: 35px;
  }

  .u-section-7 .u-text-1 {
    width: 194px;
    margin-bottom: 35px;
    margin-left: auto;
    margin-right: auto;
  }

  .u-section-7 .u-icon-2 {
    margin-top: 110px;
  }

  .u-section-7 .u-text-2 {
    width: 281px;
    margin-right: 64px;
    margin-left: 64px;
  }

  .u-section-7 .u-icon-3 {
    margin-top: 35px;
  }

  .u-section-7 .u-text-3 {
    width: 328px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .u-section-7 .u-container-layout-1 {
    padding-right: 17px;
    padding-left: 17px;
  }

  .u-section-7 .u-text-1 {
    width: auto;
    max-width: 100%;
    padding: 0 10px;
    font-size: 1.1rem;
  }

  .u-section-7 .u-icon-2 {
    margin-top: 35px;
  }

  .u-section-7 .u-text-2 {
    width: auto;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    font-size: 0.95rem;
  }

  .u-section-7 .u-text-3 {
    width: auto;
    max-width: 100%;
    padding: 0 15px;
    font-size: 0.9rem;
  }
  
  /* Make phone and email links more touch-friendly */
  .u-section-7 a {
    display: inline-block;
    min-height: 44px;
    padding: 8px 0;
  }
}

@media (max-width: 575px) {
  .u-section-7 {
    min-height: 771px;
  }

  .u-section-7 .u-layout-wrap-1 {
    min-height: 0;
  }

  .u-section-7 .u-layout-cell-1 {
    min-height: 257px;
  }

  .u-section-7 .u-container-layout-1 {
    padding-right: 15px;
    padding-left: 15px;
  }

  .u-section-7 .u-text-1 {
    width: 153px;
    margin-bottom: 0;
  }

  .u-section-7 .u-layout-cell-2 {
    min-height: 257px;
  }

  .u-section-7 .u-text-2 {
    width: 282px;
    margin-bottom: 0;
  }

  .u-section-7 .u-layout-cell-3 {
    min-height: 257px;
  }

  .u-section-7 .u-text-3 {
    width: 315px;
    margin-bottom: 0;
  }
}

/* Floating WhatsApp Button Container */
.whatsapp-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* WhatsApp Chat Bubble */
.whatsapp-bubble {
  background-color: #fff;
  color: #333;
  padding: 12px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 220px;
  position: relative;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  transition: all 0.3s ease;
  pointer-events: none;
  font-size: 14px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whatsapp-bubble-text {
  flex: 1;
}

.whatsapp-bubble-close {
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: #999;
  font-weight: bold;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.whatsapp-bubble-close:hover {
  color: #333;
}

/* Speech bubble tail pointing to button */
.whatsapp-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: relative;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #20BA5A;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  fill: #fff;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
  }
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
}

/* Responsive adjustments for WhatsApp button */
@media (max-width: 767px) {
  .whatsapp-container {
    bottom: 15px;
    right: 15px;
  }
  
  .whatsapp-float {
    width: 56px;
    height: 56px;
  }
  
  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
  
  .whatsapp-bubble {
    max-width: 200px;
    font-size: 13px;
    padding: 10px 14px;
  }
}

@media (max-width: 575px) {
  .whatsapp-container {
    bottom: 12px;
    right: 12px;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-icon {
    width: 26px;
    height: 26px;
  }
  
  .whatsapp-bubble {
    max-width: 180px;
    font-size: 12px;
    padding: 8px 12px;
  }
}

/* Escavator Gallery Background Colors */
#escavator-gallery-section.u-grey-50 {
  background-color: #f8f8f8 !important;
  background-image: none !important;
}

#escavator-gallery.u-grey-80 {
  background-color: #faf8f3 !important;
}

/* Override the general u-section-1 background for escavator gallery */
#escavator-gallery-section.u-section-1 {
  background-image: none !important;
  background-color: #f8f8f8 !important;
  background-position: initial !important;
  background-size: initial !important;
  background-repeat: initial !important;
}

/* Custom Carousel Styles */
.custom-carousel {
  position: relative;
  width: 1000px;
  max-width: 100%;
  height: 650px;
  margin: 0 auto 60px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.carousel-slide.active {
  display: block;
}

.carousel-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

/* Escavator Gallery Section Spacing */
#escavator-gallery {
  padding: 40px 0 60px;
}

#escavator-gallery-section {
  margin-bottom: 0;
}

/* Escavator Gallery Title Section Styling */
#escavator-gallery-section.u-section-1 {
  background-image: none !important;
  background-color: #f8f8f8 !important;
  min-height: 140px;
  padding: 30px 0;
}

#escavator-gallery-section .u-group-1 {
  margin-top: 0;
  margin-bottom: 0;
  min-height: auto;
  height: auto;
}

#escavator-gallery-section .u-container-layout-1 {
  padding: 0;
}

#escavator-gallery-section .u-text-1 {
  font-size: 2.5rem;
  margin: 0 auto;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #333;
}

#escavator-gallery-section .u-text-2 {
  line-height: 1.6;
  font-size: 1.125rem;
  width: 794px;
  margin: 16px auto 0;
  color: #555;
}

/* Responsive Carousel Styles */
@media (max-width: 1199px) {
  .custom-carousel {
    width: 900px;
    height: 585px;
  }
}

@media (max-width: 991px) {
  .custom-carousel {
    width: 800px;
    height: 520px;
  }
  
  #escavator-gallery-section .u-text-2 {
    width: 720px;
  }
}

@media (max-width: 767px) {
  .custom-carousel {
    width: 100%;
    height: 450px;
    margin: 0 auto 40px;
    border-radius: 4px;
  }

  .carousel-image {
    border-radius: 4px;
  }

  .carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .carousel-btn.prev {
    left: 12px;
  }

  .carousel-btn.next {
    right: 12px;
  }

  #escavator-gallery {
    padding: 30px 0 40px;
  }
  
  #escavator-gallery-section {
    padding: 20px 0;
  }
  
  #escavator-gallery-section .u-text-1 {
    font-size: 1.75rem;
  }
  
  #escavator-gallery-section .u-text-2 {
    font-size: 1rem;
    padding: 0 15px;
    width: auto;
  }
  
  .custom-carousel {
    padding: 0 15px;
    box-sizing: border-box;
  }
}

@media (max-width: 575px) {
  .custom-carousel {
    height: 350px;
    padding: 0 10px;
    margin-bottom: 30px;
  }

  .carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .carousel-btn.prev {
    left: 8px;
  }

  .carousel-btn.next {
    right: 8px;
  }
  
  #escavator-gallery-section {
    padding: 15px 0;
  }
  
  #escavator-gallery-section .u-text-1 {
    font-size: 1.5rem;
  }
  
  #escavator-gallery-section .u-text-2 {
    font-size: 0.9rem;
    padding: 0 10px;
  }
}

/* Mobilier box link hover effect */
.u-section-4 .u-container-layout-5 > a {
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.u-section-4 .u-container-layout-5 > a:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
