.logo-header {

    width: 260px;
    height: 68px;
 
}

.logo-header img, .logo-footer img {
    height: auto;
    width: 100%;
    max-width: 260px;
}


/* .header-nav .nav > li > a {
    border-radius: 0px;
    color: #020d26;
    font-size: 20px;
    padding: 26px 17px 18px 17px;
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-width: 0 0 0 1px;
} */


.header-nav .nav > li > a {

    font-size: 20px;

}


@media only screen and (max-width: 1200px) {
    .logo-header img, .logo-footer img {
        width: 300px;
        padding-top: 10px;;
    }
}

@media only screen and (max-width: 767px) {
    .logo-header img, .logo-footer img {
        max-width: 300px;
    }

    .site-header {
    min-height: 90px;
}

}


.header-nav .nav > li > a {

    color: #01619c;

}


h1, h2, h3, h4, h5, h6 {
    color: #01619c;
    font-family: "Poppins", sans-serif;
}


@media only screen and (max-width: 1920px) {
    .dz-header {
        padding: 10px 10px;
    }
}



.dz-oil-industry-zone .dz-banner-bottom .dz-banner-media .dz-media-content h3 {
    font-size: 22px;
    color: #fff;
    line-height: 36px;
    font-weight: 400;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

@media only screen and (min-width: 1920px) {
  .dz-header {
    padding: 10px 100px;
  }
}

.dz-oil-industry-zone .dz-banner-top-mid-sec {
    padding-bottom: 10px;
}

.no-pad {
    padding: 0px !important;
}

/* .dz-header .dz-bannerbtn
 {
    padding: 12px 45px;
    font-size: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    border: none;
    font-weight: 600;
}
 */

 .dz-banner-btn
 {
    font-weight: 600;
    font-size: 16px;
}






.footer-top {
    background: #1C1C1C;
    background-size: cover;
    background-position: center;
    padding: 50px 0 30px;
}

.footer-contact-info {
    border-bottom: 0px solid rgba(255, 255, 255, 0.1);
}


/* 
.header-nav .nav > li .sub-menu li a {
    color: #000;
    display: block;
    font-size: 16px;
    padding: 10px 25px;
    text-transform: capitalize;
    transition: all 0.15s linear;
    -webkit-transition: all 0.15s linear;
    -moz-transition: all 0.15s linear;
    -o-transition: all 0.15s linear;
    font-weight: 400;
}

.header-nav .nav > li .sub-menu {
    background-color: #ffffff;
    display: block;
    left: 0;
    list-style: none;
    opacity: 0;
    padding: 5px 0;
    position: absolute;
    visibility: hidden;
    width: 260px;
    z-index: 10;
} */



.header-nav .nav > li .sub-menu li a {

    font-size: 16px;
 
}


.header-nav .nav > li .sub-menu {
    width: 260px;

}


.dz-oil-industry-zone .dz-banner-top .dz-banner-btn .btn {
 
    font-size: 20px;

}

.btn-group-lg > .btn, .btn-lg {
    font-weight: 500;
}

.ow-entry-title {
    text-align: center;
}

.dlab-img-effect {
    border-radius: 6px;
}

/* Keeps title area equal height for 1-line or 2-line titles */
.ewst-title-box{
  min-height: 90px;          /* adjust if your font-size is bigger */
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;         /* keep your theme feel */
  padding-bottom: 20px;
  text-align: center;
}

/* Clamp to 2 lines max so no card gets taller */
.ewst-title{
  margin: 0;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;     /* allow up to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}



.logo-header {

    width: 260px;
    height: 68px;
 
}

.logo-header img, .logo-footer img {
    height: auto;
    width: 100%;
    max-width: 260px;
}


/* .header-nav .nav > li > a {
    border-radius: 0px;
    color: #020d26;
    font-size: 20px;
    padding: 26px 17px 18px 17px;
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-width: 0 0 0 1px;
} */


.header-nav .nav > li > a {

    font-size: 20px;

}


@media only screen and (max-width: 1200px) {
    .logo-header img, .logo-footer img {
        width: 300px;
        padding-top: 10px;;
    }
}

@media only screen and (max-width: 767px) {
    .logo-header img, .logo-footer img {
        max-width: 300px;
    }

    .site-header {
    min-height: 90px;
}

}


.header-nav .nav > li > a {

    color: #01619c;

}


h1, h2, h3, h4, h5, h6 {
    color: #01619c;
    font-family: "Poppins", sans-serif;
}


@media only screen and (max-width: 1920px) {
    .dz-header {
        padding: 10px 10px;
    }
}



.dz-oil-industry-zone .dz-banner-bottom .dz-banner-media .dz-media-content h3 {
    font-size: 22px;
    color: #fff;
    line-height: 36px;
    font-weight: 400;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

@media only screen and (min-width: 1920px) {
  .dz-header {
    padding: 10px 100px;
  }
}

.dz-oil-industry-zone .dz-banner-top-mid-sec {
    padding-bottom: 10px;
}

.no-pad {
    padding: 0px !important;
}

/* .dz-header .dz-bannerbtn
 {
    padding: 12px 45px;
    font-size: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    border: none;
    font-weight: 600;
}
 */

 .dz-banner-btn
 {
    font-weight: 600;
    font-size: 16px;
}






.footer-top {
    background: #1C1C1C;
    background-size: cover;
    background-position: center;
    padding: 50px 0 30px;
}

.footer-contact-info {
    border-bottom: 0px solid rgba(255, 255, 255, 0.1);
}


/* 
.header-nav .nav > li .sub-menu li a {
    color: #000;
    display: block;
    font-size: 16px;
    padding: 10px 25px;
    text-transform: capitalize;
    transition: all 0.15s linear;
    -webkit-transition: all 0.15s linear;
    -moz-transition: all 0.15s linear;
    -o-transition: all 0.15s linear;
    font-weight: 400;
}

.header-nav .nav > li .sub-menu {
    background-color: #ffffff;
    display: block;
    left: 0;
    list-style: none;
    opacity: 0;
    padding: 5px 0;
    position: absolute;
    visibility: hidden;
    width: 260px;
    z-index: 10;
} */



.header-nav .nav > li .sub-menu li a {

    font-size: 16px;
 
}


.header-nav .nav > li .sub-menu {
    width: 260px;

}


.dz-oil-industry-zone .dz-banner-top .dz-banner-btn .btn {
 
    font-size: 20px;

}

.btn-group-lg > .btn, .btn-lg {
    font-weight: 500;
}

.ow-entry-title {
    text-align: center;
}

.dlab-img-effect {
    border-radius: 6px;
}

/* Keeps title area equal height for 1-line or 2-line titles */
.ewst-title-box{
  min-height: 90px;          /* adjust if your font-size is bigger */
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;         /* keep your theme feel */
  padding-bottom: 20px;
  text-align: center;
}

/* Clamp to 2 lines max so no card gets taller */
.ewst-title{
  margin: 0;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;     /* allow up to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* =========================
   EWST Projects: uniform tile ratio with center-crop
   No blur, no gaps, no stretch
   ========================= */

.ewst-project-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;   /* set your target ratio here */
  overflow: hidden;
  border-radius: 10px;   /* optional: matches your screenshot look */
  background: #f3f3f3;   /* fallback while image loads */
}

/* Fallback if aspect-ratio isn't supported */
@supports not (aspect-ratio: 4 / 3) {
  .ewst-project-media {
    height: 0;
    padding-top: 75%; /* 3/4 = 75% */
  }
}

.ewst-project-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;        /* key: fills the box */
  object-position: center;  /* key: crop from center */
}

/* Make sure your hover overlay stays above the image */
.dlab-media .overlay-bx {
  z-index: 3;
}

/* Optional: ensure the .dlab-media also clips nicely */
.dlab-gallery-box .dlab-media {
  overflow: hidden;
  border-radius: 10px;
}


/* Uniform project tile ratio + crop like reference */
.ewst-project-media{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* adjust if needed */
  overflow: hidden;
  border-radius: 10px; /* match your card radius */
  background: #f3f3f3;
}

/* Fallback for older browsers */
@supports not (aspect-ratio: 4 / 3){
  .ewst-project-media{ height: 0; padding-top: 75%; }
}

.ewst-project-media img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;       /* key: no stretch */
  object-position: center; /* key: centered crop */
}



/* Uniform project tile ratio + centered crop */
.ewst-project-media{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* adjust if your reference is different */
  overflow: hidden;
  border-radius: 10px;
  background: #f3f3f3;
}

/* Fallback for older browsers */
@supports not (aspect-ratio: 4 / 3){
  .ewst-project-media{ height: 0; padding-top: 75%; }
}

.ewst-project-media img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}


/* Ensure the anchor covers the whole media area */
.ewst-gallery-item{
  display:block;
  position:relative;
}

/* If overlay is above, let clicks pass through to the anchor */
.ewst-gallery-item .overlay-bx{
  pointer-events:none;
}

/* Sometimes the theme sets pointer-events on overlays/icons */
.ewst-gallery-item .overlay-icon,
.ewst-gallery-item .overlay-icon *{
  pointer-events:none;
}








/* =========================
   EWST Projects Gallery Fix
   ========================= */

/* 1) Create spacing between tiles on desktop/tablet */
#masonry.dlab-gallery-listing{
  margin-left: -15px;
  margin-right: -15px;
}

#masonry.dlab-gallery-listing > li.card-container{
  padding: 15px !important; /* overrides p-a0 */
  margin: 0 !important;
}

/* Optional: a bit more vertical breathing room */
#masonry.dlab-gallery-listing .dlab-box{
  height: 100%;
}

/* 2) Make sure the image area always fills the card width */
.ewst-project-media{
  position: relative;
  width: 100%;
}

.ewst-project-bg{
  position: absolute;   /* make it not take extra height */
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;           /* keep it invisible */
  pointer-events: none;
}

.ewst-project-main{
  display: block;
  width: 100%;
  height: 220px;        /* desktop tile height */
  object-fit: cover;
  border-radius: 12px;  /* keep your current rounded look */
}

/* 3) MOBILE: force single column + full width image */
@media (max-width: 575.98px){
  #masonry.dlab-gallery-listing{
    margin-left: 0;
    margin-right: 0;
  }

  #masonry.dlab-gallery-listing > li.card-container{
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    float: none !important;
    padding: 0 !important;      /* full-width tile */
    margin-bottom: 18px !important;
  }

  .ewst-project-main{
    height: auto;               /* true full-width responsive */
    border-radius: 12px;
  }

  /* If you want the title block aligned nicely on mobile */
  .ewst-title-box{
    padding: 18px 18px !important;
  }
}
