/*
* Template Name: UntreeStore
* Template Author: Untree.co
* Author URI: https://untree.co/
* License: https://creativecommons.org/licenses/by/3.0/
*/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');

html {
  scroll-behavior: smooth;
}


body, h1, h2, h3, h4, h5, h6, th, td, .admin-panel {
  font-family: 'Almarai', sans-serif !important;
}

body {
  overflow-x: hidden;
  position: relative;
  font-family: 'Almarai', sans-serif; }

body {
  font-weight: 400;
  line-height: 28px;
  color: #6a6a6a;
  font-size: 17px;
  background-color: #eff2f1; }

a {
  text-decoration: none;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
  color: #2f2f2f;
  text-decoration: underline; }
  a:hover {
    color: #eff2f1;
    text-decoration: none; }
  a.more {
    font-weight: 600; }
    #loader {
      position: fixed;
      inset: 0;
      z-index: 9999;
      background: #232326;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: opacity 1s ease;
    }
    
    #loader.hidden {
      opacity: 0;
      visibility: hidden;
    }
    
    /* Loader logo base */
    #loader img {
      width: 120px;
      height: 120px;
      opacity: 0;
      transform: rotateY(-720deg) scale(0);
      animation: rotateIn3D 3s ease-out forwards;
    }
    
    /* Real glowing flash after 3D spin */
    #loader img.glow {
      animation: logoGlow 0.8s ease-in-out forwards, pulseGlow 1s ease-in-out infinite;
    }
    
    /* 3D Flip Animation */
    @keyframes rotateIn3D {
      0% {
        opacity: 0;
        transform: rotateY(-720deg) scale(0);
      }
      50% {
        opacity: 1;
        transform: rotateY(0deg) scale(1.1);
      }
      80% {
        transform: rotateY(0deg) scale(1);
      }
      100% {
        transform: rotateY(0deg) scale(1);
      }
    }
    
    /* Flash / flare effect (white burst) */
    @keyframes logoGlow {
      0% {
        filter: brightness(1) drop-shadow(0 0 0px white);
      }
      30% {
        filter: brightness(3) drop-shadow(0 0 20px white);
      }
      60% {
        filter: brightness(2.2) drop-shadow(0 0 10px white);
      }
      100% {
        filter: brightness(1) drop-shadow(0 0 0px white);
      }
    }
    
    /* Continuous pulsing glow effect */
    @keyframes pulseGlow {
      0% {
        filter: brightness(1) drop-shadow(0 0 0px white);
      }
      50% {
        filter: brightness(1.5) drop-shadow(0 0 15px white);
      }
      100% {
        filter: brightness(1) drop-shadow(0 0 0px white);
      }
    }
    
.custom-navbar {
  background: #3b5d50 !important;
  padding-top: 5px;
  padding-bottom: 5px; }
  .custom-navbar .navbar-brand {
    font-size: 32px;
    font-weight: 600; }
    .custom-navbar .navbar-brand > span {
      opacity: .4; }
  .custom-navbar .navbar-toggler {
    background: #232326 !important;
    color: #fff !important;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: top 0.2s, background 0.2s, color 0.2s;
  }
  .custom-navbar .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }
  .custom-navbar .navbar-toggler.menu-open {
    top: 10px !important;
  }
  @media (min-width: 992px) {
    .custom-navbar .custom-navbar-nav li {
      margin-left: 15px;
      margin-right: 15px; } }
  .custom-navbar .custom-navbar-nav li a {
    font-weight: 500;
    color: #ffffff !important;
    opacity: .5;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    position: relative; }
    @media (min-width: 768px) {
      .custom-navbar .custom-navbar-nav li a:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 8px;
        right: 8px;
        background: #f9bf29;
        height: 5px;
        opacity: 1;
        visibility: visible;
        width: 0;
        -webkit-transition: .15s all ease-out;
        -o-transition: .15s all ease-out;
        transition: .15s all ease-out; } }
    .custom-navbar .custom-navbar-nav li a:hover {
      opacity: 1; }
      .custom-navbar .custom-navbar-nav li a:hover:before {
        width: calc(100% - 16px); }
  .custom-navbar .custom-navbar-nav li.active a {
    opacity: 1; }
    .custom-navbar .custom-navbar-nav li.active a:before {
      width: calc(100% - 16px); }
  .custom-navbar .custom-navbar-cta {
    margin-left: 0 !important;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row; }
    @media (min-width: 768px) {
      .custom-navbar .custom-navbar-cta {
        margin-left: 40px !important; } }
    .custom-navbar .custom-navbar-cta li {
      margin-left: 0px;
      margin-right: 0px; }
      .custom-navbar .custom-navbar-cta li:first-child {
        margin-right: 20px; }

.hero {
  background: #3b5d50;
  padding: calc(4rem - 30px) 0 0rem 0; }
  @media (min-width: 768px) {
    .hero {
      padding: calc(4rem - 30px) 0 4rem 0; } }
  @media (min-width: 992px) {
    .hero {
      padding: calc(8rem - 30px) 0 8rem 0; } }
  .hero .intro-excerpt {
    position: relative;
    z-index: 4; }
    @media (min-width: 992px) {
      .hero .intro-excerpt {
        max-width: 450px; } }
  .hero h1 {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px; }
    @media (min-width: 1400px) {
      .hero h1 {
        font-size: 54px; } }
  .hero p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 30px; }
  .hero .hero-img-wrap {
    
    position: relative; }
    .hero .hero-img-wrap img {
      position: relative;
      top: 0px;
      right: 0px;
      z-index: 2;
      max-width: 780px;
      left: -20px; }
      @media (min-width: 768px) {
        .hero .hero-img-wrap img {
          right: 0px;
          left: -100px; } }
      @media (min-width: 992px) {
        .hero .hero-img-wrap img {
          left: 0px;
          top: -80px;
          position: absolute;
          right: -20px; } }
      @media (min-width: 1200px) {
        .hero .hero-img-wrap img {
          left: 0px;
          top: -80px;
          right: -70px; } }
    .hero .hero-img-wrap:after {
      content: "";
      position: absolute;
      width: 255px;
      height: 217px;
      
      background-image: url("../images/dots-light.svg");
      background-size: contain;
      background-repeat: no-repeat;
      right: -20px;
      top: -0px; }
      @media (min-width: 1200px) {
        .hero .hero-img-wrap:after {
          top: -40px; } }


.title-block {
  margin-bottom: 40px;
}
.title-block span {
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 300;
}
.services-list {
  position: relative;
  z-index: 2;
}
.services-list .item {
  background-color: rgba(250,250,250,0.25);
  border-radius: 10px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  margin: 0 15px;
  height: 100%;
}
.services-list .owl-stage {
  display: flex;
  align-items: stretch;
}
.services-list .owl-item {
  display: flex;
  height: 100%;
}
.service-icon {
  display: block;
  margin: 0 auto 20px;
  font-size: 64px;
  color: #fff;
}
.service-box {
  font-size: 15px;
  padding: 40px 20px;
  height: 280px;
  text-align: center;

}
.services-list .item:hover {
  background-color: #fff;
  color: #1e1e1e;
}
.services-list .item:hover .service-icon {
  color: #1e1e1e;
}
.service-box h3 {
  font-size: 22px;
  font-weight: 700;
  text-transform: capitalize;
  margin-bottom: 10px;
  padding: 10px;
}
.service-box p:last-child {
  margin: 0;
}
.services-list .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1) !important;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff !important;
  font-size: 20px !important;
  line-height: 40px !important;
  margin: 0;
  padding: 0;
  border: none;
  transition: all 0.3s ease;
}
.services-list .owl-nav button:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}
.services-list .owl-dots {
  margin-top: 20px;
  text-align: center;
}
.services-list .owl-dot {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 50%;
  display: inline-block;
}
.services-list .owl-dot.active {
  background: #fff !important;
}
.services-list .owl-nav button.owl-prev {
  left: -30px;
}

.services-list .owl-nav button.owl-next {
  right: -30px;
}

html[dir="rtl"] .services-list .owl-nav button.owl-prev {
  right: -30px;
  left: auto;
}

html[dir="rtl"] .services-list .owl-nav button.owl-next {
  left: -30px;
  right: auto;
}
.btn {
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  color: #ffffff;
  background: #2f2f2f;
  border-color: #2f2f2f; }
  .btn:hover {
    color: #ffffff;
    background: #222222;
    border-color: #222222; }
  .btn:active, .btn:focus {
    outline: none !important;
    -webkit-box-shadow: none;
    box-shadow: none; }
  .btn.btn-primary {
    background: #3b5d50;
    border-color: #3b5d50; }
    .btn.btn-primary:hover {
      background: #314d43;
      border-color: #314d43; }
  .btn.btn-secondary {
    color: #2f2f2f;
    background: #f9bf29;
    border-color: #f9bf29; }
    .btn.btn-secondary:hover {
      background: #f8b810;
      border-color: #f8b810; }
  .btn.btn-white-outline {
    background: transparent;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.3); }
    .btn.btn-white-outline:hover {
      border-color: white;
      color: #ffffff; }

.section-title {
  color: #ffff; }

.product-section {
  padding: 7rem 0; }
  .product-section .product-item {
    text-align: center;
    text-decoration: none;
    display: block;
    position: relative;
    padding-bottom: 50px;
    cursor: pointer; }
    .product-section .product-item .product-thumbnail {
      margin-bottom: 30px;
      position: relative;
      top: 0;
      -webkit-transition: .3s all ease;
      -o-transition: .3s all ease;
      transition: .3s all ease; }
    .product-section .product-item h3 {
      font-weight: 600;
      font-size: 16px; }
    .product-section .product-item strong {
      font-weight: 800 !important;
      font-size: 18px !important; }
    .product-section .product-item h3, .product-section .product-item strong {
      color: #eff2f1;
      text-decoration: none; }
    .product-section .product-item .icon-cross {
      position: absolute;
      width: 35px;
      height: 35px;
      display: inline-block;
      background: #2f2f2f;
      bottom: 15px;
      left: 50%;
      -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
      transform: translateX(-50%);
      margin-bottom: -17.5px;
      border-radius: 50%;
      opacity: 0;
      visibility: hidden;
      -webkit-transition: .3s all ease;
      -o-transition: .3s all ease;
      transition: .3s all ease; }
      .product-section .product-item .icon-cross img {
        position: absolute;
        left: 50%;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%); }
    .product-section .product-item:before {
      bottom: 0;
      left: 0;
      right: 0;
      position: absolute;
      content: "";
      background: #2d2d30;
      height: 0%;
      z-index: -1;
      border-radius: 10px;
      -webkit-transition: .3s all ease;
      -o-transition: .3s all ease;
      transition: .3s all ease; }
    .product-section .product-item:hover .product-thumbnail {
      top: -25px; }
    .product-section .product-item:hover .icon-cross {
      bottom: 0;
      opacity: 1;
      visibility: visible; }
    .product-section .product-item:hover:before {
      height: 70%; }

.why-choose-section {
  padding: 7rem 0; }
  .why-choose-section .img-wrap {
    position: relative; }
    .why-choose-section .img-wrap:before {
      position: absolute;
      content: "";
      width: 255px;
      height: 217px;
      background-image: url("../images/dots-yellow.svg");
      background-repeat: no-repeat;
      background-size: contain;
      -webkit-transform: translate(-40%, -40%);
      -ms-transform: translate(-40%, -40%);
      transform: translate(-40%, -40%);
      z-index: -1; }
    .why-choose-section .img-wrap img {
      border-radius: 20px; }

.feature {
  margin-bottom: 30px; }
  .feature .icon {
    display: inline-block;
    position: relative;
    margin-bottom: 20px; }
    .feature .icon:before {
      content: "";
      width: 33px;
      height: 33px;
      position: absolute;
      background: rgba(59, 93, 80, 0.2);
      border-radius: 50%;
      right: -8px;
      bottom: 0; }
  .feature h3 {
    font-size: 14px;
    color: #2f2f2f; }
  .feature p {
    font-size: 16px;
    line-height: 22px;
    color: #fff; }

.we-help-section {
  padding: 7rem 0; }
  .we-help-section .imgs-grid {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(27, 1fr);
    position: relative; }
    .we-help-section .imgs-grid:before {
      position: absolute;
      content: "";
      width: 255px;
      height: 217px;
      background-image: url("../images/dots-green.svg");
      background-size: contain;
      background-repeat: no-repeat;
      -webkit-transform: translate(-40%, -40%);
      -ms-transform: translate(-40%, -40%);
      transform: translate(-40%, -40%);
      z-index: -1; }
    .we-help-section .imgs-grid .grid {
      position: relative; }
      .we-help-section .imgs-grid .grid img {
        border-radius: 20px;
        max-width: 100%; }
      .we-help-section .imgs-grid .grid.grid-1 {
        -ms-grid-column: 1;
        -ms-grid-column-span: 18;
        grid-column: 1 / span 18;
        -ms-grid-row: 1;
        -ms-grid-row-span: 27;
        grid-row: 1 / span 27; }
      .we-help-section .imgs-grid .grid.grid-2 {
        -ms-grid-column: 19;
        -ms-grid-column-span: 27;
        grid-column: 19 / span 27;
        -ms-grid-row: 1;
        -ms-grid-row-span: 5;
        grid-row: 1 / span 5;
        padding-left: 20px; }
      .we-help-section .imgs-grid .grid.grid-3 {
        -ms-grid-column: 14;
        -ms-grid-column-span: 16;
        grid-column: 14 / span 16;
        -ms-grid-row: 6;
        -ms-grid-row-span: 27;
        grid-row: 6 / span 27;
        padding-top: 20px; }

.custom-list {
  width: 100%;
   }
  .custom-list li {
    display: inline-block;
    width: calc(50% - 20px);
    margin-bottom: 12px;
    line-height: 1.5;
    position: relative;
    padding-left: 20px; }
    .custom-list li:before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      border: 2px solid #3b5d50;
      position: absolute;
      left: 0;
      top: 8px;
      margin-right: 200px;
     }

      .image-container {
        perspective: 1000px;
        margin-right: 20px;
        border-start-start-radius: 20;
        margin-top: 20px;
      }
      
      .image-container img {
        transition: transform 0.3s ease;
        transform-style: preserve-3d;
      }
.popular-product {
  padding: 0 0 7rem 0; }
  .popular-product .product-item-sm h3 {
    font-size: 14px;
    font-weight: 700;
    color: #2f2f2f; }
  .popular-product .product-item-sm a {
    text-decoration: none;
    color: #2f2f2f;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease; }
    .popular-product .product-item-sm a:hover {
      color: rgba(47, 47, 47, 0.5); }
  .popular-product .product-item-sm p {
    line-height: 1.4;
    margin-bottom: 10px;
    font-size: 14px; }
  .popular-product .product-item-sm .thumbnail {
    margin-right: 10px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 120px;
    flex: 0 0 120px;
    position: relative; }
    .popular-product .product-item-sm .thumbnail:before {
      content: "";
      position: absolute;
      border-radius: 20px;
      background: #2d2d30;
      width: 98px;
      height: 98px;
      top: 50%;
      left: 50%;
      -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
      z-index: -1; }

.testimonial-section {
  padding: 5rem 0 7rem 0; /* Increased top padding for shadow visibility */
}

.testimonial-block {
  background: #000000; /* Add a background color if not present */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1); /* Added box shadow */
  margin-bottom: 20px; /* Add some margin if items are close */
}

.testimonial-slider-wrap {
  position: relative; }
  .testimonial-slider-wrap .tns-inner {
    padding-top: 30px; }
  .testimonial-slider-wrap .item .testimonial-block blockquote {
    font-size: 16px; }
    @media (min-width: 768px) {
      .testimonial-slider-wrap .item .testimonial-block blockquote {
        line-height: 32px;
        font-size: 18px; } }
  .testimonial-slider-wrap .item .testimonial-block .author-info .author-pic {
    margin-bottom: 20px; }
    .testimonial-slider-wrap .item .testimonial-block .author-info .author-pic img {
      max-width: 80px;
      border-radius: 50%; }
  .testimonial-slider-wrap .item .testimonial-block .author-info h3 {
    font-size: 14px;
    font-weight: 700;
    color: #2f2f2f;
    margin-bottom: 0; }
  .testimonial-slider-wrap #testimonial-nav {
    position: absolute;
    top: 50%;
    z-index: 99;
    width: 100%;
    display: none; }
    @media (min-width: 768px) {
      .testimonial-slider-wrap #testimonial-nav {
        display: block; } }
    .testimonial-slider-wrap #testimonial-nav > span {
      cursor: pointer;
      position: absolute;
      width: 58px;
      height: 58px;
      line-height: 58px;
      border-radius: 50%;
      background: rgba(59, 93, 80, 0.1);
      color: #2f2f2f;
      -webkit-transition: .3s all ease;
      -o-transition: .3s all ease;
      transition: .3s all ease; }
      .testimonial-slider-wrap #testimonial-nav > span:hover {
        background: #3b5d50;
        color: #ffffff; }
    .testimonial-slider-wrap #testimonial-nav .prev {
      left: -10px; }
    .testimonial-slider-wrap #testimonial-nav .next {
      right: 0; }
  .testimonial-slider-wrap .tns-nav {
    position: absolute;
    bottom: -50px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%); }
    .testimonial-slider-wrap .tns-nav button {
      background: none;
      border: none;
      display: inline-block;
      position: relative;
      width: 0 !important;
      height: 7px !important;
      margin: 2px; }
      .testimonial-slider-wrap .tns-nav button:active, .testimonial-slider-wrap .tns-nav button:focus, .testimonial-slider-wrap .tns-nav button:hover {
        outline: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        background: none; }
      .testimonial-slider-wrap .tns-nav button:before {
        display: block;
        width: 7px;
        height: 7px;
        left: 0;
        top: 0;
        position: absolute;
        content: "";
        border-radius: 50%;
        -webkit-transition: .3s all ease;
        -o-transition: .3s all ease;
        transition: .3s all ease;
        background-color: #d6d6d6; }
      .testimonial-slider-wrap .tns-nav button:hover:before, .testimonial-slider-wrap .tns-nav button.tns-nav-active:before {
        background-color: #3b5d50; }

.before-footer-section {
  padding: 7rem 0 12rem 0 !important; }

.blog-section {
  padding: 7rem 0 12rem 0; }
  .blog-section .post-entry a {
    text-decoration: none; }
  .blog-section .post-entry .post-thumbnail {
    display: block;
    margin-bottom: 20px; }
    .blog-section .post-entry .post-thumbnail img {
      border-radius: 20px;
      -webkit-transition: .3s all ease;
      -o-transition: .3s all ease;
      transition: .3s all ease; }
  .blog-section .post-entry .post-content-entry {
    padding-left: 15px;
    padding-right: 15px; }
    .blog-section .post-entry .post-content-entry h3 {
      font-size: 16px;
      margin-bottom: 0;
      font-weight: 600;
      margin-bottom: 7px; }
    .blog-section .post-entry .post-content-entry .meta {
      font-size: 14px; }
      .blog-section .post-entry .post-content-entry .meta a {
        font-weight: 600; }
  .blog-section .post-entry:hover .post-thumbnail img, .blog-section .post-entry:focus .post-thumbnail img {
    opacity: .7; }

.footer-section {
  padding: 80px 0;
  background: #ffffff; }
  .footer-section .relative {
    position: relative; }
  .footer-section a {
    text-decoration: none;
    color: #2f2f2f;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease; }
    .footer-section a:hover {
      color: rgba(47, 47, 47, 0.5); }
  .footer-section .subscription-form {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    margin-top: 100px; }
    @media (min-width: 992px) {
      .footer-section .subscription-form {
        margin-top: 0px;
        margin-bottom: 80px; } }
    .footer-section .subscription-form h3 {
      font-size: 18px;
      font-weight: 500;
      color: #3b5d50; }
    .footer-section .subscription-form .form-control {
      height: 50px;
      border-radius: 10px;
      font-family: "Inter", sans-serif; }
      .footer-section .subscription-form .form-control:active, .footer-section .subscription-form .form-control:focus {
        outline: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        border-color: #3b5d50;
        -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
        box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2); }
      .footer-section .subscription-form .form-control::-webkit-input-placeholder {
        font-size: 14px; }
      .footer-section .subscription-form .form-control::-moz-placeholder {
        font-size: 14px; }
      .footer-section .subscription-form .form-control:-ms-input-placeholder {
        font-size: 14px; }
      .footer-section .subscription-form .form-control:-moz-placeholder {
        font-size: 14px; }
    .footer-section .subscription-form .btn {
      border-radius: 10px !important; }
  .footer-section .sofa-img {
    position: absolute;
    top: -200px;
    z-index: 1;
    right: 0; }
    .footer-section .sofa-img img {
      max-width: 380px; }
  .footer-section .links-wrap {
    margin-top: 0px; }
    @media (min-width: 992px) {
      .footer-section .links-wrap {
        margin-top: 54px; } }
    .footer-section .links-wrap ul li {
      margin-bottom: 10px; }
  .footer-section .footer-logo-wrap .footer-logo {
    font-size: 32px;
    font-weight: 500;
    text-decoration: none;
    color: #3b5d50; }
  .footer-section .custom-social li {
    margin: 2px;
    display: inline-block; }
    .footer-section .custom-social li a {
      width: 40px;
      height: 40px;
      text-align: center;
      line-height: 40px;
      display: inline-block;
      background: #dce5e4;
      color: #3b5d50;
      border-radius: 50%; }
      .footer-section .custom-social li a:hover {
        background: #3b5d50;
        color: #ffffff; }
  .footer-section .border-top {
    border-color: #dce5e4; }
    .footer-section .border-top.copyright {
      font-size: 14px !important;
    }

footer .copyright {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center !important;
}
footer .copyright .row {
  width: 100%;
  justify-content: center;
  margin: 0;
}
footer .copyright .col-lg-6 {
  width: 100%;
  text-align: center !important;
}
footer .copyright p {
  text-align: center !important;
  margin: 0 auto;
}

.untree_co-section {
  padding: 7rem 0; }

.form-control {
  height: 50px;
  border-radius: 10px;
  font-family: "Inter", sans-serif; }
  .form-control:active, .form-control:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #3b5d50;
    -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2); }
  .form-control::-webkit-input-placeholder {
    font-size: 14px; }
  .form-control::-moz-placeholder {
    font-size: 14px; }
  .form-control:-ms-input-placeholder {
    font-size: 14px; }
  .form-control:-moz-placeholder {
    font-size: 14px; }

.service {
  line-height: 1.5; }
  .service .service-icon {
    border-radius: 10px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50px;
    flex: 0 0 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: #3b5d50;
    margin-right: 20px;
    color: #ffffff; }


    #masonry-grid {
  margin: 0 auto;
}
.gallery-item {
  margin-bottom: 16px;
  width: 32%; /* Or adjust based on desired columns */
}
.gallery-item img {
  display: block;
  width: 100%;
  border-radius: 17px;
}
textarea {
  height: auto !important; }

.site-blocks-table {
  overflow: auto; }
  .site-blocks-table .product-thumbnail {
    width: 200px; }
  .site-blocks-table .btn {
    padding: 2px 10px; }
  .site-blocks-table thead th {
    padding: 30px;
    text-align: center;
    border-width: 0px !important;
    vertical-align: middle;
    color: rgba(0, 0, 0, 0.8);
    font-size: 18px; }
  .site-blocks-table td {
    padding: 20px;
    text-align: center;
    vertical-align: middle;
    color: rgba(0, 0, 0, 0.8); }
  .site-blocks-table tbody tr:first-child td {
    border-top: 1px solid #3b5d50 !important; }
  .site-blocks-table .btn {
    background: none !important;
    color: #000000;
    border: none;
    height: auto !important; }

.site-block-order-table th {
  border-top: none !important;
  border-bottom-width: 1px !important; }

.site-block-order-table td, .site-block-order-table th {
  color: #000000; }

.couponcode-wrap input {
  border-radius: 10px !important; }

.text-primary {
  color: #3b5d50 !important; }

.thankyou-icon {
  position: relative;
  color: #3b5d50; }
  .thankyou-icon:before {
    position: absolute;
    content: "";
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(59, 93, 80, 0.2); }
@media (max-width: 767.98px) {
  html, body {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    overflow-x: hidden !important;
  }
  .hero {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 2rem 0 0 0;
    text-align: center;
    overflow-x: hidden;
  }
  .hero .container {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    padding: 0 0px;
    margin: 0;
  }
  .hero .row {
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    margin: 0;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
  }
  .hero .hero-img-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    margin: 0 auto !important;
    margin-right: 0 !important;
    max-width: 100vw !important;
    position: relative;
    padding: 0;
    overflow-x: hidden;
  }
  .hero .hero-img-wrap img {
    width: 90vw;
    max-width: 90vw;
    min-width: unset;
    height: auto;
    margin: 0 auto;
    display: block;
    left: unset !important;
    right: unset !important;
    top: unset !important;
    position: relative !important;
    border-radius: 0;
  }
}

/* RTL and Dark Mode */
html, body {
  direction: rtl;
  background: #2D2D30 !important;
  color: #f1f1f1 !important;
}
body {
  background-color: #2D2D30 !important;
  color: #f1f1f1 !important;
}

/* General dark mode for containers */
.container, .container-fluid, .row, .col, .col-*, .section-title, .custom-navbar, .footer-section, .product-section, .why-choose-section, .we-help-section, .blog-section, .testimonial-section, .before-footer-section, .untree_co-section {
  background: #2D2D30 !important;
  color: #f1f1f1 !important;
}

/* Navbar dark mode */
.custom-navbar, .custom-navbar .navbar-nav .nav-link, .custom-navbar .navbar-brand {
  background: #232326 !important;
  color: #f1f1f1 !important;
}
.custom-navbar .navbar-nav .nav-link.active, .custom-navbar .navbar-nav .nav-link:hover {
  color: #f9bf29 !important;
}

/* Hero section dark mode */
.hero {
  background: #232326 !important;
  color: #f1f1f1 !important;
}
.hero h1, .hero p, .hero .btn {
  color: #f1f1f1 !important;
}

/* Buttons dark mode */
.btn, .btn.btn-primary, .btn.btn-secondary, .btn.btn-white-outline {
  background: #44444a !important;
  color: #f1f1f1 !important;
  border-color: #f1f1f1 !important;
}
.btn.btn-secondary {
  background: #f9bf29 !important;
  color: #232326 !important;
  border-color: #f9bf29 !important;
}
.btn.btn-white-outline {
  background: transparent !important;
  color: #f1f1f1 !important;
  border-color: #f1f1f1 !important;
}

/* Footer dark mode */
.footer-section {
  background: #232326 !important;
  color: #f1f1f1 !important;
}
.footer-section a {
  color: #f9bf29 !important;
}

/* Product cards dark mode */
.product-section .product-item, .popular-product .product-item-sm, .blog-section .post-entry, .testimonial-block, .we-help-section .imgs-grid .grid img {
  background: #232326 !important;
  color: #f1f1f1 !important;
  border-radius: 16px;
}

/* Inputs dark mode */
input, textarea, select, .form-control {
  background: #232326 !important;
  color: #f1f1f1 !important;
  border-color: #44444a !important;
}
input::placeholder, textarea::placeholder {
  color: #bdbdbd !important;
}

/* RTL adjustments for layout */
.container, .container-fluid, .row, .col, .col-*, .custom-navbar, .footer-section, .product-section, .why-choose-section, .we-help-section, .blog-section, .testimonial-section, .before-footer-section, .untree_co-section {
  direction: rtl;
  text-align: right;
}

/* Fix icon and image alignment for RTL */
[class*="col-"] {
  float: right;
}
img, svg {
  direction: rtl;
}

/* Custom list RTL */
.custom-list li {
  padding-left: 0;
  padding-right: 20px;
}
.custom-list li:before {
  left: auto;
  right: 0;
}

/* Remove box shadows for dark mode clarity */
*, *:before, *:after {
  box-shadow: none !important;
}

/* Scrollbar dark mode */
::-webkit-scrollbar {
  background: #232326;
}
::-webkit-scrollbar-thumb {
  background: #44444a;
}

/* RTL adjustments for Tiny Slider */
[dir="rtl"] .tns-outer [data-action] {
  transform: scaleX(-1);
}
[dir="rtl"] .tns-visually-hidden {
  left: auto;
  right: -10000em;
}
[dir="rtl"] .tns-horizontal.tns-no-subpixel > .tns-item {
  float: right;
}
[dir="rtl"] .tns-controls button {
  transform: scaleX(-1);
}
[dir="rtl"] .testimonial-slider-wrap .prev,
[dir="rtl"] .testimonial-slider-wrap .next {
  transform: scaleX(-1);
}

/* Partners Section Styles */
.partners-section {
    padding: 5rem 0;
    background: #232326 !important;
}

.partners-section .section-title {
    margin-bottom: 3rem;
    color: #fff !important;
}

.partners-list {
    position: relative;
}

.partner-item {
    background: #ffffff9a;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 240px;
    transition: box-shadow 0.3s;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}
.partner-item:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  }

.partner-item img {
    max-width: 170px;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 0.5rem;
    filter: none;
    transition: box-shadow 0.3s;
}

.partner-item:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.partner-item .partner-name {
    color: #232326;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: auto;
    letter-spacing: 1px;
}

.partners-list .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    margin-top: 0;
}

.partners-list .owl-nav button {
    position: absolute;
    background: #fff !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.partners-list .owl-nav button:hover {
    background: #3b5d50 !important;
    color: #fff !important;
}

.partners-list .owl-nav button.owl-prev {
    right: -20px;
}

.partners-list .owl-nav button.owl-next {
    left: -20px;
}

.partners-list .owl-dots {
    margin-top: 2rem;
    text-align: center;
}

.partners-list .owl-dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: #ddd !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.partners-list .owl-dot.active {
    background: #3b5d50 !important;
}

@media (max-width: 768px) {
    .partners-list .owl-nav {
        display: block;
    }
    .partner-item {
        min-height: 180px;
        padding: 1.5rem 0.5rem 1rem 0.5rem;
    }
    .partner-item img {
        max-width: 110px;
    }
}

/* Dark mode for contact section */
.contact-content {
  position: relative; /* Needed for pseudo-element positioning */
  z-index: 1; /* Ensure content is above the pseudo-element if it overlaps */
  background-color: #1a1a1a; /* Dark background for the whole section */
  padding-top: 50px; 
  padding-bottom: 50px; 
}

/* Updated contact-card for dark mode and consistency */
.contact-card {
  background-color: #2c2c2c; /* Slightly lighter dark for cards */
  border-radius: 12px; /* Consistent with other elements */
  padding: 25px; /* Standardized padding */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0,0,0,0.25); /* 3D shadow effect */
  transition: all 0.3s ease-in-out;
  margin-bottom: 1rem; /* Spacing between cards if multiple */
  position: relative; 
  z-index: 1; 
  border: 1px solid #444; /* Subtle border for definition */
}

.contact-content .contact-card:hover { /* Specific to cards within contact-content */
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35), 0 6px 12px rgba(0,0,0,0.3);
}

.contact-content .contact-icon {
  color: #f9bf29; 
}

.contact-content .contact-label {
  color: #ffffff; 
  font-weight: 500;
}

.contact-content .contact-sub {
  color: #cccccc; 
}

.contact-content .form-label {
  color: #f0f0f0; 
}

.contact-content .form-control {
  background-color: #3a3a3a; 
  color: #f0f0f0; 
  border: 1px solid #555555; 
  border-radius: 8px;
}

.contact-content .form-control::placeholder {
  color: #aaaaaa; 
}

.contact-content .form-control:focus {
  background-color: #4a4a4a;
  color: #ffffff;
  border-color: #f9bf29; 
  box-shadow: 0 0 0 0.2rem rgba(249, 191, 41, 0.25);
}

.contact-content .btn-dark {
  background-color: #f9bf29; 
  border-color: #f9bf29;
  color: #1a1a1a; 
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
}

.contact-content .btn-dark:hover {
  background-color: #e0ac26; 
  border-color: #e0ac26;
  color: #1a1a1a;
}

.contact-content .contact-blur-bg {
    display: none; 
}

.contact-content iframe {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 350px;
    display: block;
    border-radius: 12px;
    border: none;
    margin: 0 auto;
}

@media (max-width: 991.98px) {
  .contact-content iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 250px;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 575.98px) {
  .contact-content iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 180px;
    border-radius: 6px;
    margin: 0 auto;
    display: block;
  }
  .contact-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.contact-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 400px; /* Adjust height as needed, this covers the top part */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url('../images/11.jpg'); /* Placeholder image, suggest user changes it */
  background-size: cover;
  background-position: center top; /* Focus on the top part of the image */
  z-index: -1; /* Place it behind the content */
  border-bottom-left-radius: 20px; /* Optional: if you want rounded bottom corners for the bg image area */
  border-bottom-right-radius: 20px; /* Optional: if you want rounded bottom corners for the bg image area */
}

/* Adjust text color on the background image for readability if needed */
.contact-content .container > .row > .col-lg-7 > .contact-card:first-child, /* Targeting the map card specifically if it's on the image */
.contact-content .container > .row > .col-lg-5 > #contact-form { /* Targeting the form card */
  /* If the text on these cards is hard to read against the new bg, adjust their background or text color here */
  /* For example, make cards slightly more opaque or text brighter */
}

/* Ensure the title/header text in the contact section is visible against the new background */
.contact-content h2, /* Assuming there's a title, adjust selector if needed */
.contact-content p {
  /* color: #ffffff; */ /* Uncomment and adjust if text needs to be lighter */
}

#scrollToTopBtn {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  background: #fff;
  color: #0c0c0c;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  font-size: 24px;
}
#scrollToTopBtn:hover, #scrollToTopBtn:focus {
  background: #f9bf29;
  color: #232326;
  box-shadow: 0 8px 24px rgba(59,93,80,0.18);
  outline: none;
  transform: translateY(-4px) scale(1.08);
}
#scrollToTopBtn svg {
  width: 28px;
  height: 28px;
  display: block;
}
@media (max-width: 575.98px) {
  #scrollToTopBtn {
    width: 40px;
    height: 40px;
    bottom: 16px;
    right: 12px;
    font-size: 20px;
  }
  #scrollToTopBtn svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 991.98px) {
  .navbar-brand {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    order: 1;
  }
  .navbar-toggler {
    order: 2;
    margin-left: auto !important;
    margin-right: 0 !important;
    padding: 10px 14px;
    font-size: 1.5rem;
    border-radius: 8px;
    background: #fff;
    color: #232326;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  .navbar-toggler:focus {
    outline: 2px solid #f9bf29;
  }
  .custom-navbar .navbar-brand img {
    width: 60px !important;
    height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
  }
  .custom-navbar .navbar-collapse {
    text-align: right;
  }
}
@media (max-width: 575.98px) {
  .custom-navbar .navbar-brand img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
  }
  .navbar-toggler {
    font-size: 1.2rem;
    padding: 8px 10px;
  }
}

/* --- Fix for mobile navbar toggler position and overflow --- */
@media (max-width: 991.98px) {
  .custom-navbar .navbar-toggler {
    position: absolute;
    right: 0;
    left: auto;
    top: 10px !important;
    z-index: 1051;
    transition: background 0.2s, color 0.2s;
  }
  .custom-navbar .navbar-toggler.menu-open {
    top: 10px !important;
  }
  .custom-navbar .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: #232326;
    z-index: 1050;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border-radius: 0 0 16px 16px;
    overflow-x: hidden;
  }
  .custom-navbar .navbar-nav {
    padding-bottom: 16px;
  }
  body, html {
    overflow-x: hidden !important;
  }
}
@media (max-width: 575.98px) {
  .custom-navbar .navbar-toggler {
    top: 6px !important;
  }
  .custom-navbar .navbar-toggler.menu-open {
    top: 6px !important;
  }
  .custom-navbar .navbar-collapse {
    border-radius: 0 0 12px 12px;
  }
}

/* Responsive fixes for RTL mobile navbar */
@media (max-width: 767.98px) {
  .custom-navbar-nav {
    margin: 0 !important;
    width: 100%;
    text-align: right;
    justify-content: flex-end !important;
    padding-right: 1rem;
    padding-left: 0;
    flex-direction: column;
    align-items: flex-end;
  }
  .custom-navbar-nav li {
    width: 100%;
    text-align: right;
    margin: 0;
  }
  .custom-navbar-nav .nav-link {
    display: block;
    width: 100%;
    text-align: right;
    padding-right: 1.5rem;
    padding-left: 0;
  }
  .navbar-collapse {
    width: 100%;
    background: #222;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 0.5rem 0 1rem 0;
  }
}

/* Center navbar links for desktop view only */
@media (min-width: 768px) {
  .custom-navbar-nav {
    margin-left: auto;
    margin-right: auto;
    float: none !important;
    display: flex;
    justify-content: center;
  }
}
