/*
Theme Name: Razeen Architects and Engineers
Theme URI: https://wordpress.org/themes/razeen/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.
Version: 4.5
Tested up to: 6.9
Requires at least: 3.6
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, footer-widgets, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready, block-patterns
Text Domain: razeen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
.name-pos h4{
    color: var(--bs-primary);
    font-size: 20px;
   font-weight: 700;
}
.about-grid .grid-item {
  position: relative;
  min-height:;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Image backgrounds */
.image-box {
  background-size: cover;
  background-position: center;
}

.img-1 {
  background-image: url("https://razeen.om/wp-content/uploads/2025/12/ab-2.jpg");
  filter: grayscale(1);
}

.img-2 {
  background-image: url("https://razeen.om/wp-content/uploads/2025/12/ab-3.jpg");
  filter: grayscale(1);
}

.img-3 {
  background-image: url("https://razeen.om/wp-content/uploads/2025/12/ab-1.jpg");
 
}
.img-4 {
  background-image: url("https://razeen.om/wp-content/uploads/2025/12/b-1.jpg");
  filter: grayscale(1);
}

/* Dark overlay text section */
.bg-dark-overlay {
  background-size: cover;
  background-position: center;
  color: #fff;
}

.bg-dark-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.bg-dark-overlay .content {
  position: relative;
  z-index: 2;
  padding: 60px;
  max-width: 600px;
}


.highlight {
  color: #ff7a00;
  font-weight: 600;
}

/* Red feature blocks */
.red-box {
  background: #8b0015;
  color: #fff;
  flex-direction: column;
}
.red-box i{
    font-size: 50px;
}
.red-box h6 {
  margin-top: 15px;
  letter-spacing: 2px;
  font-size: 18px;
}

/* Responsive */
@media (max-width: 991px) {
  .about-grid .grid-item {
    min-height: 300px;
  }
  .bg-dark-overlay .content {
    padding: 30px;
  }
}
@media (min-width: 992px) {
  .col-lg-20 {
    flex: 0 0 20%  !important;
    max-width: 20% !important;
  }
}
.text-color-primary{
    color: var(--bs-primary);
}


.uae-card {
  position: relative;
  height: 420px;
  overflow: hidden;
  display: block;
}

.uae-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay base */
.uae-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 75, 110, 0.95),
    rgba(0, 75, 110, 0.7),
    transparent
  );
  color: #fff;
  padding: 30px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  transition: all 0.4s ease;
}

/* TEXT DEFAULT STATE */
.uae-card .overlay p {
    font-size: 13px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.uae-card h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* HOVER STATE */
.uae-card:hover .overlay p {
  max-height: 200px;
  opacity: 1;
  margin-top: 12px;
}
.uae-services{
    position: relative;
    background: #eee;
}
.uae-servicesdiv-1{

    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDBweCIgdmlld0JveD0iMCAwIDEyODAgMTQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiNlZGVkZWQiPjxwYXRoIGQ9Ik0wIDE0MGgxMjgwQzU3My4wOCAxNDAgMCAwIDAgMHoiIGZpbGwtb3BhY2l0eT0iLjMiLz48cGF0aCBkPSJNMCAxNDBoMTI4MEM1NzMuMDggMTQwIDAgMzAgMCAzMHoiIGZpbGwtb3BhY2l0eT0iLjUiLz48cGF0aCBkPSJNMCAxNDBoMTI4MEM1NzMuMDggMTQwIDAgNjAgMCA2MHoiLz48L2c+PC9zdmc+);
    background-size: 100% 100px;
    top: 0;
  
    height: 100px;
    z-index: 1;

    transform: scale(1, 1);
}

.uae-servicesdiv-2{
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDBweCIgdmlld0JveD0iMCAwIDEyODAgMTQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiNmZmZmZmYiPjxwYXRoIGQ9Ik0wIDE0MGgxMjgwQzU3My4wOCAxNDAgMCAwIDAgMHoiIGZpbGwtb3BhY2l0eT0iLjMiLz48cGF0aCBkPSJNMCAxNDBoMTI4MEM1NzMuMDggMTQwIDAgMzAgMCAzMHoiIGZpbGwtb3BhY2l0eT0iLjUiLz48cGF0aCBkPSJNMCAxNDBoMTI4MEM1NzMuMDggMTQwIDAgNjAgMCA2MHoiLz48L2c+PC9zdmc+);
    background-size: 100% 100px;
    bottom: 0;
    height: 100px;
    z-index: 1;
    transform: scale(1, 1);
}

.project-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.project-card img {
  width: 120%;
  height: 260px;
  object-fit: cover;
}

.project-card .card-body {
  padding: 18px;
}

.project-card span a{
  font-size: 15px;
  color: #999;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
  text-decoration: underline;
}

.project-card h5 a{
  font-size: 18px;
  font-weight: 600;
  color: #1c1c1c;
  text-decoration: underline;
}

/* Swiper arrows */
.projects-swiper .swiper-button-prev,
.projects-swiper .swiper-button-next {
  color: #000;
}

/* Pagination dots */
.projects-swiper .swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}

.projects-swiper .swiper-pagination-bullet-active {
  background: #000;
}
.projects-swiper{
    padding-bottom: 80px !important;
    padding-top: 30px !important;
}



.projects-swiper .swiper-button-prev {
    left: 0px !important;
    z-index: 11;
}
.projects-swiper .swiper-button-next {
    right: 0px !important;
    z-index: 11;
}
.projects-swiper .swiper-button-prev,
.projects-swiper .swiper-button-next {
    color: #333;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, .8);
    border-radius: 50%;

}

.projects-swiper .swiper-button-prev::after,
.projects-swiper .swiper-button-next::after {
    font-size: 20px;
    
}


.razeen-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid #e5e5e5;
}

.razeen-accordion .accordion-button {
  font-size: 25px;
  font-weight: 600;
  color: var(--bs-primary);
  background: #fff;
  padding: 20px 0;
}
.razeen-accordion .accordion-button span{
    margin-right: 20px;
}

.razeen-accordion .accordion-button:not(.collapsed) {
  background: transparent;
  box-shadow: none;
}

.razeen-accordion .accordion-button::after {
  background-size: 1.1rem;
}

.razeen-accordion .accordion-body {
  padding: 0 0 25px 0;
  color: #555;
  line-height: 1.7;
  
}
.innerservice-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  height: 100%;
}

.innerservice-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.innerservice-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.innerservice-overlay h4 {
  color:var(--bs-white);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
}

.innerservice-card:hover img {
  transform: scale(1.08);
}

.innerservice-card:hover .innerservice-overlay {
  background: rgba(0, 0, 0, 0.6);
}


.inner-banner {
    width: 100%;
    position: relative;
    height: 380px;
   
}



.inner-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.5) 45%,
            rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.inner-banner-text-1{
  position: absolute;
  color: var(--bs-white);
  left: 50px;
  bottom: 60px;
  z-index: 23;
  
}

.inner-banner-text-1 h1{
    font-size: 38px;
    font-weight: 600;
}

.carousel-indicators button.thumbnail {
  width: 100px;
  margin-top:50px;
}
.carousel-indicators button.thumbnail:not(.active) {
  opacity: 0.7;
}
.carousel-indicators {
  position: static;
}
@media screen and (min-width: 992px) {
  .carousel {
    max-width: 100%;
    margin: 0 auto;
  }
}


/*Projects Inner */
 .info-box {
      text-align: center;
      padding: 20px 20px;
    }

    .info-icon {
      font-size: 28px;
      color: #b71c1c;
      margin-bottom: 10px;
    }

    .info-title {
      font-weight: 600;
      font-size: 18px;
    }

    .info-subtitle {
      color: #6c757d;
      font-size: 14px;
    }

    .divider {
      border-left: 1px solid #e0e0e0;
    }

 .services-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .services-list li {
      display: flex;
      gap: 10px;
      margin-bottom: 8px;
    }
/*
    .services-list li::before {
      content: "»";
      font-weight: 700;
      color: #b71c1c;
      line-height: 1;
    }
*/
.arrow::before {
      content: "»";
      font-weight: 500;
      color: #b71c1c;
      line-height: 1;
	font-size: 20px;
    }
    .services-list a {
      color: #af162b;
      text-decoration: none;
      font-weight: 600;
      font-size: 17px;
      transition: color 0.2s ease;
    }

    .services-list a:hover {
      color: #af162b; /* darker red on hover */
      text-decoration: underline;
    }

    .proj_img{border-radius: 20px; margin: 10px 0px;}
    .rl-basicmasonry-gallery .rl-gallery-item img{border-radius: 20px; }


    .all_proj_btn{margin: 10px 0px; padding: 10px; background: #fff; color: #af162b; 
      border: 1px solid #f6f6f6;}
    .all_proj_btn:hover{background: #f6f6f6; color: #af162b;}

     .all_proj_btn::after {
      content: "»";
      font-weight: 700;
      color: #b71c1c;
      line-height: 1.5;padding-left: 20px;
    }


    #rl-gallery-container-1 [class^="rl-hover-icon-"] .rl-gallery-link:before, 
    #rl-gallery-container-1 [class*=" rl-hover-icon-"] .rl-gallery-link:before{
      color: white !important; font-weight:normal; background-color: #2ea3f2 !important;}

    .full-width-video {margin: 10px 0px; width: 100%; height: auto; 
      display: block;border-radius: 20px;  }

  #rl-gallery-container-1 .rl-pagination-bottom{text-align: center;}

  .page-numbers{color: #af162b;}


/*Projects Inner */



.bg-project{
    height: 300px;
    width: 100%;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    text-decoration: none;
    color: #fff;
    position: relative;
    font-size: 25px;
    overflow: hidden; 
}

.bg-project::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}

/* CONTENT ABOVE OVERLAY */
.bg-project > *{
    position: relative;
    z-index: 2;
}



.filter-box {
  width: 260px !important;
  margin-bottom: 30px;
}

.filter-box select {
  width: 100%;
  padding: 12px 15px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.bg-project span,
.bg-project{
    z-index: 2;
	padding:20px;
}


/* Slider container */
.projectb-slider {
    width: 100%;
    height: 500px;
}

/* Slide setup */
.projectb-slider .swiper-slide {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;

}
/* DEFAULT STATE – ALL SLIDES */
.projectb-slider .swiper-slide h2{
    position: absolute;
    left: 100px;
    top: 50%;
    transform: translateY(-50%) translateX(-60px);
    opacity: 0;
    z-index: 2;
    color: #fff;
    font-size: 30px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

/* ACTIVE SLIDE */
.projectb-slider .swiper-slide-active h2{
    transform: translateY(-50%) translateX(0); 
    opacity: 1;
	transition-delay: 0.3s;
}


/* Image */
.projectb-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    transition: transform 6s ease;
}

/* Zoom on active slide */
.projectb-slider .swiper-slide-active img {
    transform: scale(1);
}

/* Overlay */
.projectb-slider .swiper-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.5) 45%,
            rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.inner-banner-project{
    width: 100%;
    position: relative;
}

/* VIDEO */
.projectb-slider .video-slide video{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* OPTIONAL DARK OVERLAY */
.projectb-slider .video-slide::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 2;
}



.type-bg {
  position: relative;
  background: url('https://razeen.om/wp-content/uploads/2025/12/Liwan-Al-Mabela-02-scaled-1.jpg')
              center / cover no-repeat;
}

.type-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}
.type-bg > * {
  position: relative;
  z-index: 2;
}


 .hero-type {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.4px;
}

.hero-type span::after {
  content: "|";
  margin-left: 6px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

@media (max-width: 768px) {
  .hero-type {
    font-size: 24px;
  }
}
.join-career{
	background-image:url(https://razeen.om/wp-content/uploads/2025/12/tttt-removebg-preview-2.png);
	background-repeat:no-repeat;
	background-position:right;
	background-size:cover;
	padding:150px 0px 250px 0px;
}

.image-stack {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: auto;
}

/* Center image */
.main-img img {
   max-width: 350px;   /* adjust: 380–460px as needed */
  margin: 0 auto;
  border-radius: 24px;
  display: block;
}

/* Floating images */
.float-img {
  position: absolute;
  width: 160px;
  background: #fff;
  padding: 2px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.float-img img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

/* Left image position */
.float-img.left {
  top: -40px;
  left: 25px;
animation: floatY 4s ease-in-out infinite;
}

/* Right image position */
.float-img.right {
  bottom: -40px;
  right: 25px;
	animation: floatY 4s ease-in-out infinite;
   
}

/* Responsive fix */
@media (max-width: 768px) {
  .image-stack {
    max-width: 90%;
  }

  .float-img {
    width: 120px;
  }

  .float-img.left {
    left: -40px;
    top: -20px;
  }

  .float-img.right {
    right: -40px;
    bottom: -20px;
  }
}
@media (max-width: 583px) {
  .image-stack {
    max-width: 90%;
  }

  .float-img {
    width: 120px;
  }

  .float-img.left {
    left: -20px;
    top: -20px;
  }

  .float-img.right {
    right: -20px;
    bottom: -20px;
  }
}
.join-razeen-btn {
  display: inline-block;
  background-color: #084E72;
	letter-spacing:2px;
  color: #ffffff;
  padding: 14px 34px;
  font-size: 18px;
  font-weight: 400;
  border-radius: 6px;
  text-decoration: underline;
  transition: all 0.3s ease;
}

/* Hover effect */
.join-razeen-btn:hover {
 text-decoration:none;
}

@keyframes floatY {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}
.razeen-text-swiper {
  height:150px;         
  overflow: hidden;
}

.razeen-text-swiper .swiper-slide {
  display: flex;
  align-items: center;
  font-size: 25px;
  line-height: 1;
  color: var(--bs-primary);
	font-weight:600
}
.term-description p{
	font-size:20px;
	color:#666;
}
 .arrow-1{
        position: relative;
        font-size:19px;
        color: #666;
        padding-left: 20px;
	 display:block;
    }
    .arrow-1::before {
        position:absolute;
    content: "»";
    font-weight: 500;
    color: #b71c1c;
    line-height: 1;
    font-size: 25px;
    left:0;
}
.h4-serv{
	font-size:25px;
	font-weight:500;
	color:#000
}
.alliances-1{
	background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDBweCIgdmlld0JveD0iMCAwIDEyODAgMTQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiNGNEY0RjciPjxwYXRoIGQ9Ik02NDAgMTM5TDAgMHYxNDBoMTI4MFYwTDY0MCAxMzl6IiBmaWxsLW9wYWNpdHk9Ii41Ii8+PHBhdGggZD0iTTY0MCAxMzlMMCA0MnY5OGgxMjgwVjQybC02NDAgOTd6Ii8+PC9nPjwvc3ZnPg==);
    background-size: 100% 100px;
    bottom: 0;
    height: 100px;
    z-index: 1;
    transform: scale(1, 1);
}
.alliance-form input, .alliance-form textarea{
	border:1px solid #eee  !important;
	border-radius:5px !important;
}
.alliance-form input::placeholder , .alliance-form textarea::placeholder {
    color: #333;
	font-size:14px !important
}
@media only screen and (max-width: 583px) {
  .projectb-slider .swiper-slide h2 {
    left: 20px !important;
  }
}
.inner-banner-header, .inner-banner-ex, .inner-banner-project , .inner-banner {
	overflow:hidden !important
}