

/*
 Theme Name: Twenty Nineteen Child
 Theme URI: https://www.element8.ae
 Author: Element8
 Author URI: https://www.element8.ae
 Template: twentynineteen
 Description: Child theme for Twenty Seventeen.
 Version: 0.1
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags:
 Text Domain: twentynineteen-child
 */

:root {
  --color-primary: #00B4E5;
  --color-primary-hover: #a1030d;
  --color-secondary: #490a0a;
  --color-secondary-hover: #7a0000;
  --color-light: #f3f3f3;
  --font-primary: "Montserrat", "Almarai";
  --time: 0.25s;
  --holder-color: #f6f6f6;
  --container-width: 1450px;
}
.single-post-content .post-title {
    display:none;
}
.rtl .sub-menu .menu-item-has-children .mobile-icon {
    left: 0;
    right: unset;
    transform: rotate(90deg) !important;
}

.rtl .sub-menu .menu-item-has-children > .sub-menu {
    left: unset;
    right: 100%;
    
}

.media-title {
font-size: 73px;
    font-weight: 400;
    margin-bottom: 60px;
}

.media-title .bold-text {
  font-weight: 700;
  color: #000; /* or your primary bold color */
}
/* Tablet & mobile styles */
@media (max-width: 1024px) {
  .sub-text-left {
    position: relative;
    top: 5vh;
    right: 0;

    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 1rem;

    font-size: 1.8vh;
    line-height: 1.4;
    overflow-x: visible;
  }

  .banner-construction-brochure-pages-1,
  .banner-construction-brochure-pages-experience {
    position: static; /* remove fixed positioning */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 2rem;
  }
}

@media (min-width: 1440px) {
  .sub-text-left {
position: relative;
    top: 20vh;
    right: 50vw;
    width: 100vw;
    height: 95vh;
    padding: 2rem 5rem;
    font-size: 2vh;
    line-height: 1.3;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    overflow-x: visible;
    margin: auto;
  }
}
@media (max-width: 1400px)  and (min-width: 900px){
  .sub-text-left {
    position: relative;
    top: 20vh;
    right: 50vw;           /* remove the large right offset */

    width: 95vw;       /* full viewport width */
   
    margin:auto;
    height: 95vh;
    padding: 2rem;

    font-size: 2vh;
    line-height: 1.3;

    box-sizing: border-box;

    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;

    overflow-wrap: break-word;
    overflow-x: visible; /* allow overflow if necessary */
  }
}
@media (max-width: 1399px) and (min-width: 900px) {
  .sub-banner-logo img {
    position: relative;
    margin-top: 0 !important;
  }

  .banner-construction-brochure-pages-1 {
  flex-direction: row !important;
    position: fixed;
    top: 33vh !important;
    right: calc((100vw - 930px) / 2 - 20px);
    z-index: 9999;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
  }
  .banner-construction-brochure-pages-experience {
    flex-direction: row !important;
    top: 55vh !important;
  }
}
@media (max-width: 768px) {
  .sub-text-left {
    top: 5vh;
    text-align: center;
    padding: 0 1rem;
  }
}


.media-post a.read-more {
  background: #00AEEF;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
}
.media-post h2 {
  font-weight: bold;
  font-size: 22px;
}
.media-post-image img {
  border-radius: 11px;
  width: 100% !important;
  /*height: 375px !important;*/
}
.media-pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 40px 0;
  gap: 10px;
}

.media-pagination li {
  display: inline-block;
}

.media-pagination a,
.media-pagination span {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}

.media-pagination a:hover {
  background: #00AEEF;
  color: #fff;
}

.media-pagination .current {
  background: #00AEEF;
  color: #fff;
}

.share-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 20px 0;
  gap: 10px;
}

.share-icons span {
  font-weight: 600;
  margin-right: 10px;
}

.share-icons a img {
  width: 20px;
  height: 20px;
  transition: opacity 0.3s;
}

.share-icons a img:hover {
  opacity: 0.7;
}

.blog-article {
  margin-left: 480px !important;
  margin: 60px;
  padding: 0 20px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #111;
  line-height: 1.8;
}

.blog-article h1 {
  font-size: 2.25rem;
  text-transform: uppercase;
  text-align: left;
  margin-bottom: 40px;
}

.blog-article p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: left;
}

.blog-article p strong {
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  color: #000;
  font-size: 16px;
  background: #ffffff;
  font-family: var(--font-primary);
  font-weight: 400;
}



a {
  color: #000;
  text-decoration: none;
  -moz-transition: all var(--time) ease;
  -o-transition: all var(--time) ease;
  -webkit-transition: all var(--time) ease;
  -ms-transition: all var(--time) ease;
  transition: all var(--time) ease;
}

a:hover {
  text-decoration: none;
}

p {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 16px;
}

p:only-child,
p:last-child {
  margin-bottom: 0;
}

h1,
h1 {
  font-size: 40px;
  line-height: 42px;
  margin-bottom: 30px;
}

h2,
h2 {
  font-size: 32px;
  line-height: 34px;
  margin-bottom: 25px;
}

h3 {
  font-size: 26px;
  line-height: 28px;
  margin-bottom: 20px;
}

h4 {
  font-size: 24px;
  line-height: 26px;
  margin-bottom: 15px;
}

h5 {
  font-size: 20px;
  line-height: 22px;
  margin-bottom: 15px;
}

h6 {
  font-size: 16px;
  line-height: 18px;
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
  font-family: var(--font-primary);
  line-height: 24px;
}

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

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

img,
svg {
  vertical-align: middle;
}

input,
select,
button,
textarea {
  cursor: pointer;
  font-family: var(--font-primary);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type="submit"] {
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

button {
  cursor: pointer;
}

:disabled {
  cursor: default;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  line-height: inherit;
}

span {
  display: inline-block;
}

select {
  background-image: url("assets/images/down-arrow.png");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 18px;
  -ms-progress-appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

:focus {
  outline: none;
}

label {
  display: inline-block;
  margin: 0 0 7px 0;
  font-size: 13px;
}

input.form-field {
  --height: 52px;
  height: var(--height);
  line-height: var(--height);
  padding: 0 var(--padding);
}



iframe {
  border: 0;
  vertical-align: bottom;
}

.w-100 {
  width: 100%;
}

.relative {
  position: relative;
}

/* -------------------------------------------------------------- */

.form-style {
  --space: 0.5%;
  --radius: 4px;
  --padding: 15px;
  display: flex;
  flex-wrap: wrap;
  row-gap: 30px;
  margin: 0 calc(var(--space) * -1);
}

.form-style li {
  width: 100%;
}

.form-style .column-2 {
  width: 49%;
}

.form-style .column-3 {
  width: 32.33%;
}

.form-style>li,
.form-style [class*="column-"] {
  margin: 0 var(--space);
}

/* -------------------------------------------------------------- */

.site-button {
  --radius: 5px;
  --height: 44px;
  --padding: 30px;
  display: inline-block;
  cursor: pointer;
  background-color: #d4d5d6;
  border: 1px solid transparent;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 0 var(--padding);
  height: var(--height);
  line-height: var(--height);
  -webkit-border-radius: var(--radius);
  -moz-border-radius: var(--radius);
  border-radius: var(--radius);
  -webkit-transition: all var(--time) ease-in-out;
  transition: all var(--time) ease-in-out;
}

.site-button+.site-button {
  margin-left: 10px;
}

.button-primary {
  color: #ffffff;
  background: var(--color-primary);
}

.button-primary:hover {
  background: var(--color-primary-hover);
}

/* -------------------------------------------------------------- */

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

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-white {
  color: #ffffff;
}

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

/* -------------------------------------------------------------- */

.bg-light {
  background: var(--color-light);
}

.bg-primary {
  background: var(--color-primary);
}

.bg-secondary {
  background: var(--color-secondary);
}

/* -------------------------------------------------------------- */

.m-auto {
  margin-left: auto;
  margin-right: auto;
}

.ml-auto {
  margin-left: auto;
}

.mr-auto {
  margin-right: auto;
}

/* -------------------------------------------------------------- */

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

/* -------------------------------------------------------------- */

.image {
  position: relative;
  z-index: 0;
}

.no-image {
  --size: 150px;
  width: 100%;
  background-size: var(--size);
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(1);
}

.image::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background: var(--holder-color);
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* -------------------------------------------------------------- */

.zoom-effect {
  overflow: hidden;
}

.zoom-effect>a {
  display: block;
}

.zoom-effect img {
  position: relative;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: all var(--time) ease-in-out;
  transition: all var(--time) ease-in-out;
}

.zoom-effect:hover img {
  -webkit-transform: scale(1.12);
  transform: scale(1.12);
}

/* -------------------------------------------------------------- */

.owl-stage,
.owl-carousel,
.owl-stage-outer {
  position: relative;
}

.owl-carousel {
  display: none;
  width: 100%;
  z-index: 1;
}

.owl-carousel .disabled {
  display: block;
  opacity: 0.5;
}

.owl-stage-outer {
  position: relative;
  overflow: hidden;
}

.owl-carousel .owl-item {
  min-height: 1px;
  float: left;
}

.owl-loaded,
.owl-loading {
  display: block;
}

.owl-loading {
  opacity: 0;
}

/* -------------------------------------------------------------- */

.owl_nav .owl-next,
.owl_nav .owl-prev {
  --size: 50px;
  --side: -25px;
  --radius: 50%;
  position: absolute;
  top: 50%;
  width: var(--size);
  height: var(--size);
  line-height: var(--size);
  text-align: center;
  cursor: pointer;
  background: var(--color-primary);
  margin-top: calc(var(--size) * -0.5);
  will-change: transform;
  -webkit-border-radius: var(--radius);
  -moz-border-radius: var(--radius);
  border-radius: var(--radius);
  -webkit-transition: all var(--time) ease-in-out;
  transition: all var(--time) ease-in-out;
}

.owl_nav [class*="icon-"] {
  color: #fff;
  font-size: 16px;
}

.owl_nav .owl-prev {
  left: var(--side);
}

.owl_nav .owl-next {
  right: var(--side);
}

.owl_nav .owl-prev:hover,
.owl_nav .owl-next:hover {
  background: var(--color-primary-hover);
}

/* -------------------------------------------------------------- */

.search-pannel {
  --height: 35px;
  position: absolute;
  height: var(--height);
  top: -8px;
  width: 230px;
  overflow: hidden;
  right: 24px;
  z-index: 99;
  display: none;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}

.search-expand {
  width: 100%;
  z-index: 999;
  border: none;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  background: #fff;
  padding: 0 5% 0 20px;
  height: var(--height);
}

.search-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.search-btn:not(.active) {
  border-radius: 4px 0 0 4px;
}

.header-options {
  margin-left: auto;
}



.default-page {
  padding: 100px 0;
}

.page-template-default .default-page ul {
  margin: 20px 0;
  padding-left: 30px;
}

.page-template-default .default-page ul li {
  list-style: disc;
}

.page-template-default .default-page ul li+li {
  margin-top: 10px;
}

/* -------------------------------------------------------------- */

.error404 .header,
.search-results .header,
.search-no-results .header {
  background: #e1e0e0;
}

.error-404,
.search-page-inner,
.search-noresult-inner {
  text-align: left;
  padding: 80px 120px 40px;
}

.error-404 h1,
.search-page h1,
.search-noresult h1 {
  font-size: 30px;
}

.error-404 h1 {
  margin-bottom: 15px;
}

.error-404 h3 {
  margin: 40px 0 25px 0;
}

.error-404 h4 {
  margin-bottom: 15px;
}

.error-404 ul {
  padding-left: 30px;
  list-style: disc;
}

.error-404 ul li {
  font-size: 15px;
  margin-bottom: 0;
}

.error-404 ul li+li {
  margin-top: 10px;
}

.error-404 .button {
  margin-top: 30px;
}

/* -------------------------------------------------------------- */

.search-page ul {
  padding: 0;
  margin: 40px 0 0 0;
  list-style: none;
}

.search-page li {
  border: 1px solid #ddd;
}

.search-page li+li {
  margin-top: 20px;
}

.search-page li a {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.search-page .image {
  width: 30%;
}

.search-page .content {
  width: 70%;
  padding: 20px 30px;
}

/* -------------------------------------------------------------- */

.search-no-results .search-form {
  display: flex;
  margin-top: 20px;
  max-width: 380px;
  width: 100%;
}

.search-no-results .search-form label {
  width: 100%;
}

.search-no-results .search-field {
  width: 100%;
  padding-left: 15px;
  border: 1px solid #999;
}

.search-no-results .search-field,
.search-no-results .search-submit {
  height: 40px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}

.search-no-results .search-submit {
  border: none;
  padding: 0 20px;
  color: #ffffff;
  font-weight: bold;
  margin-left: 5px;
  background: var(--color-primary);
}

.search-no-results .search-submit:hover {
  background: var(--color-primary-hover);
}

/* -------------------------------------------------------------- */

.sub-banner {
  padding: 0;
  background-size: cover;
  background-position: center center;
}

.sub-banner h1 {
  color: #ffffff;
  line-height: 0.75;
  font-size: 97px;
  margin-bottom: 100px;
  text-transform: uppercase;
}

.sub-banner .container {
  height: 570px;
  display: flex;
  align-items: flex-end;
}

.sub-banner-small .container {
  height: 188px;
}

/* -------------------------------------------------------------- */

.breadcrumbs {
  --space: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 15px 0 0 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li+li {
  margin-left: var(--space);
}

.breadcrumbs a {
  position: relative;
  text-transform: capitalize;
}

.breadcrumbs a:hover,
.breadcrumbs a.active {
  color: var(--color-primary);
}

.breadcrumbs a::after {
  position: relative;
  font-size: 12px;
  left: calc(var(--space) / 2);
  font-family: "icomoon";
  color: #000;
}

/* -------------------------------------------------------------- */


.nice-select {
  -webkit-tap-highlight-color: transparent;
  background-color: #fff;
  border-radius: 5px;
  border: solid 1px #e8e8e8;
  box-sizing: border-box;
  clear: both;
  cursor: pointer;
  display: block;
  float: left;
  font-family: inherit;
  font-size: 14px;
  font-weight: normal;
  height: 42px;
  line-height: 40px;
  outline: none;
  padding-left: 18px;
  padding-right: 30px;
  position: relative;
  text-align: left !important;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  white-space: nowrap;
  width: auto;
}

.nice-select:hover {
  border-color: #dbdbdb;
}

.nice-select:active,
.nice-select.open,
.nice-select:focus {
  border-color: #999;
}

.nice-select:after {
  border-width: 7px;
  border-style: solid;
  border-color: #787878 transparent transparent;
  content: "";
  display: block;
  height: 0;
  margin-top: -4px;
  pointer-events: none;
  position: absolute;
  right: 14px;
  top: 50%;
  -webkit-transform-origin: 66% 66%;
  -ms-transform-origin: 66% 66%;
  transform-origin: 66% 66%;
  -webkit-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  width: 0;
}

.nice-select.open:after {
  border-color: transparent transparent #787878;
  margin-top: -11px;
}

.nice-select.open .list {
  opacity: 1;
  width: 100%;
  pointer-events: auto;
  height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-transform: scale(1) translateY(0);
  -ms-transform: scale(1) translateY(0);
  transform: scale(1) translateY(0);
}

.nice-select.open .list::-webkit-scrollbar {
  width: 7px;
}

.nice-select.open .list::-webkit-scrollbar-track {
  box-shadow: inset 0 0 1px #808080;
  border-radius: 10px;
}

.nice-select.open .list::-webkit-scrollbar-thumb {
  background: #4d4d4d;
  border-radius: 10px;
}

.nice-select.disabled {
  border-color: #ededed;
  color: #999;
  pointer-events: none;
}

.nice-select.disabled:after {
  border-color: #cccccc;
}

.nice-select.wide {
  width: 100%;
}

.nice-select.wide .list {
  left: 0 !important;
  right: 0 !important;
}

.nice-select.right {
  float: right;
}

.nice-select.right .list {
  left: auto;
  right: 0;
}

.nice-select.small {
  font-size: 12px;
  height: 36px;
  line-height: 34px;
}

.nice-select.small:after {
  height: 4px;
  width: 4px;
}

.nice-select.small .option {
  line-height: 34px;
  min-height: 34px;
}

.nice-select .list {
  width: 100%;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
  box-sizing: border-box;
  margin-top: 4px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  -webkit-transform-origin: 50% 0;
  -ms-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-transform: scale(0.75) translateY(-21px);
  -ms-transform: scale(0.75) translateY(-21px);
  transform: scale(0.75) translateY(-21px);
  -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25),
    opacity 0.15s ease-out;
  transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
  z-index: 9;
  overflow-x: hidden;
}

.nice-select .list:hover .option:not(:hover) {
  background-color: transparent !important;
}

.nice-select .option {
  cursor: pointer;
  font-weight: 400;
  line-height: 40px;
  list-style: none;
  min-height: 40px;
  outline: none;
  font-size: 14px;
  padding-left: 18px;
  padding-right: 18px;
  text-align: left;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
  background-color: #f6f6f6;
}

.nice-select .option.selected {
  font-weight: bold;
}

.nice-select .option.disabled {
  background-color: transparent;
  color: #999;
  cursor: default;
}

.no-csspointerevents .nice-select .list {
  display: none;
}

.no-csspointerevents .nice-select.open .list {
  display: block;
}

.nice-select.form-field {
  padding-top: 0;
  padding-bottom: 0;
  color: #787878;
}

.wpcf7-form-control-wrap {
  width: 100%;
}

.wpcf7-not-valid-tip {
  color: #dc3232;
  font-size: 12px;
  margin-top: 4px;
  font-weight: normal;
  display: block;
  font-weight: 500;
}

span.wpcf7-form-control-wrap {
  height: 42px;
}
.banner-subscribe-btn{margin-top:50px}

/* Header Alignment Fixes */

/* 1. Better spacing between WhatsApp and Email links */
.header-contact-info {
    display: flex !important;
    align-items: center !important;
    gap: 25px !important;
    color: white;
    font-size: 14px;
}

/* 2. Add space between language selector and search */
.header-launguage {
    margin-right: 20px !important;
}

/* 3. Ensure proper header layout */
.header-top-container .container-first {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 15px;
}

/* 4. Main header alignment for logo and burger menu */
.header .container-first {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.header .site-logo {
    display: flex;
    align-items: center;
}

.header-options {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .header-contact-info {
        gap: 15px !important;
        font-size: 12px;
    }
    
    .header-launguage {
        margin-right: 10px !important;
    }
}