@font-face {
    font-family: 'TheSansArabic';
    src: url('../fonts/TheSansArabic-Light.woff2') format('woff2'),
        url('../fonts/TheSansArabic-Light.woff') format('woff'),
        url('../fonts/TheSansArabic-Light.svg#TheSansArabic-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TheSansArabic';
    src: url('../fonts/TheSansArabic-Bold.woff2') format('woff2'),
        url('../fonts/TheSansArabic-Bold.woff') format('woff'),
        url('../fonts/TheSansArabic-Bold.svg#TheSansArabic-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* */

body {
    font-family: 'TheSansArabic';
    font-weight: 300;
    background-color: #23262d;
    color: #fff;
    line-height: 2;
}

/** Global **/

.container-rehab {
    max-width: 1400px;
    margin: 0 auto;
}

.container {
    max-width: 960px;
}  

.text-gold {
    color: #daa14c;
}

.text-bold {
    font-weight: bold;
}

/* projectOverview block */

.counter-container {
    position: relative;
    border: 10px solid #393c42;
    -webkit-tap-highlight-color: transparent;
    z-index: 0;
    transition: 1s;
}

.counter-container:before,
.counter-container:after {
    position: absolute;
    background-color: #23262d;
    z-index: -1;
    transition: 1s;
    content: "";
    height: 10px;
    width: 55%;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.counter-container:before {
    top: -10px;
}

.counter-container:after {
    bottom: -10px;
}

/* interiorGallery block */

#block-rehab-b5subtheme-views-block-interiorgallery-block-1 .view-content {
    display: flex;
}

/* nearbyServices */

.nearby-services .element {
    max-width: 400px; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

.nearby-services .image-container {
    width: 120px;
    height: 120px;
    background-color: #343740;
    border-radius: 100%;
    padding: 35px;
}

.nearby-services img {
    width: 100%;
    height: auto;
    max-width: 100px;
    opacity: 0.5;
}

/** villaSampleCards block **/

.views-field-field-villa-featured-image img {
    background: linear-gradient(to bottom, #303942, #304050);
}

/** projectLocation block **/

.image-column {
    position: relative;
    overflow: hidden; /* Ensures that the expanding image does not overflow its container */
    padding: 0;
  }
  
  .image-column img {
    transition: transform 0.5s ease, opacity 0.5s ease; /* Smooth transition for transform and opacity */
    width: 100%;
    height: auto;
    opacity: 0.5; /* Initial opacity set to 0.5 */
  }
  
  .image-column img:hover {
    transform: scale(1.1); /* Scales up the image to 110% of its original size */
    opacity: 0.8; /* Changes opacity to 0.8 on hover */
  }
  
  .text-column {
    background-color: #30373e;
    color: white; /* Ensures text is readable against the black background */
    padding: 20px; /* Adds some padding for visual appearance */
  }
  