@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Tajawal", sans-serif;
}

h2 {
  font-size: 2rem;
  font-weight: bold;
}

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

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

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

.elementor-element {
  overflow: hidden;
}

.btn-primary {
  background-color: #c59c6c;
  color: #fff;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  text-transform: uppercase;
  border: 0;
  border-radius: 40px;
}


.navbar-brand img {
  max-width: 120px;
}

.navbar-toggler {
  border-color: transparent;
}

.navbar-toggler-icon {
  background-image: url(https://demo.aljoud.sa/wp-content/uploads/2025/01/berger.svg);

}

.hero-section {
  position: relative;
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
  transition: all 0.5s ease;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.hero-content {
  color: white;
  text-align: center;
  padding: 20px;
}
.hero-subheader {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}


.hero-header {
  font-size: 50px;
  margin-bottom: 15px;
  margin-top: 15px;
}
.hero-description {
  font-size: 16px;
  margin-bottom: 20px;
}

.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));
}

/* .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
} */

.watch-btn {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.swiper-slide-active .watch-btn {
  opacity: 1;
  transform: translateY(0);
}

.custom-nav {
  
  border: 1px solid #fff;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  top: 90% !important;
  width: 60px !important;
  height: 30px !important;
  border-radius: 20px !important;
  background: none !important;
  color: #fff !important;
}

.custom-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.custom-nav::after {
  display: none;
}

.swiper-pagination-bullet {
  width: 30px;
  height: 3px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.5) !important;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: white !important;
  width: 50px;
}

@media (max-width: 768px) {
  .custom-nav {
    width: 40px;
    height: 40px;
  }
  
  .swiper-pagination-bullet {
    width: 20px;
  }
  
  .swiper-pagination-bullet-active {
    width: 35px;
  }
}

.navbar {
  transition: all 0.3s ease;

}

html[lang="ar"] .navbar {
  direction: rtl;
}

html[lang="en-US"] .navbar-nav.me-auto {
  margin-right: 0 !important;
  margin-left: auto !important;
}

.navbar.scrolled {
  background: #c69c6d !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-link {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: #c69c6d !important;
}

.scrolled .nav-link:hover, .scrolled .nav-link.active {
  color: #f8f9fa !important;
}

.icon-box {
  text-align: center;
  padding: 2rem;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.icon-box:hover {
  transform: translateY(-10px);
}

.icon-box i {
  font-size: 2.5rem;
  color: #c69c6d;
  margin-bottom: 1rem;
}

.building-img {
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.building-img:hover {
  transform: scale(1.02);
}

.btn-watch, .hero-subheader,.hero-header,.hero-description {
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.btn-watch.visible, .hero-subheader.visible,.hero-header.visible,.hero-description.visible {
  opacity: 1;
  transform: translateY(0);
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #c69c6d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
}

.preloader .spinner-border{
color: #fff !important;
}

.preloader img {
  max-width: 160px;
  margin-bottom: 20px;
}

.stat-box {
  padding: 2rem;
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-10px);
}
.projects-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.projects-container::-webkit-scrollbar {
  display: none;
}

.project-card {
  flex: 0 0 auto;
  width: 400px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
}

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.project-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-container:hover .video-controls {
  opacity: 1;
}

.video-controls button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 5px;
  transition: transform 0.2s ease;
}

.video-controls button:hover {
  transform: scale(1.1);
}

.time-controls {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 14px;
}

.timeline {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.timeline::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: #c69c6d;
  border-radius: 50%;
  cursor: pointer;
}

.right-controls {
  display: flex;
  gap: 10px;
}

.custom-nav {
  width: 40px;
  height: 40px;
  background: #c69c6d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.3s ease;
}

.custom-nav:hover {
  transform: scale(1.1);
}

.swiper-pagination-bullet {
  background: #c69c6d;
}

.swiper-pagination-bullet-active {
  background: #c69c6d;
  transform: scale(1.2);
}

.service-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 20px;
}

.service-title {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  margin: 0;
  font-size: 1.5rem;
  text-align: center;
}

.partner-logo {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
  max-height: 80%;
  max-width: 80%;
  object-fit: contain;
}

footer a:hover {
  opacity: 0.8;
}

.app-store img,
.google-play img {
  transition: transform 0.3s ease;
}

.app-store img:hover,
.google-play img:hover {
  transform: scale(1.05);
}

#backToTop {
  transition: all 0.3s ease;
}

#backToTop:hover {
  transform: translateY(-5px);
}

.hero-section-project {
  align-content: center;
}

.hero-section-project {
  position: relative;
  height: 80vh;
  transition: all 0.5s ease;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-section-project .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
}

.hero-section-project .project-title {
  font-size: 4rem;
  font-weight: 700;
color: #fff;
  text-align: center;
}

.project-image {
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.project-image:hover {
  transform: scale(1.02);
}

.project-info {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
}

.project-stat {
  text-align: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.project-stat:last-child {
  border-bottom: none;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #C69C6D;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #6c757d;
}
.feature-icon {
  width: 50px;
  height: 50px;
  margin: auto;
  margin-bottom: 1rem;
  color: #C69C6D;
}

.feature-icon svg {
  fill: #C69C6D;
}

.feature-title {
  color: #333;
  font-size: 1.1rem;
}

.feature-item {
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.floor-plan-item {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.floor-plan-item:hover {
  transform: translateY(-5px);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item img {
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.btn-primary:hover {
  background-color: #b38a5e !important;
  border-color: #b38a5e !important;
}

.metrics-section {
  direction: rtl;
}

.metrics-container {
  max-width: 800px;
 
}

.metric-row {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.metric-label {
  color: #C69C6D;
  font-size: 1.5rem;
  font-weight: 500;
  min-width: 150px;
}

.metric-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to left, #C69C6D 50%, transparent 50%);
  background-size: 8px 1px;
  margin: 0 1rem;
}

.metric-value {
  color: #C69C6D;
  font-size: 1.5rem;
  font-weight: 700;
  min-width: 50px;
  text-align: left;
}

.joode-project-card {
  margin-bottom: 6rem;
  
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.joode-project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.joode-project-title, .joode-project-title a {
  color:  #C69C6D !important;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}



.joode-project-description {
  color: #333;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.joode-project-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.joode-project-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.joode-project-card:nth-child(even) .row {
  flex-direction: row-reverse;
}


.joode-blogs-card {
  margin-bottom: 6rem;
  
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.joode-blogs-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.joode-blogs-title, .joode-blogs-title a {
  color:  #C69C6D !important;
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 500;
}



.joode-blogs-description {
  color: #333;
  line-height: 1.8;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.joode-blogs-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.joode-blogs-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Content */
.post-content, .page-content {
  line-height: 1.8;
  font-size: 1.1rem;
}
.post-content img, .page-content img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}


/* Navigation */
.post-navigation {
  text-align: center;
}
.post-navigation a {
  text-decoration: none;
  color: #C69C6D;
  font-weight: bold;
}
.post-navigation a:hover {
  text-decoration: underline;
}

.contact-section {
  padding: 80px 0;
}

.section-title {
  color: #C69C6D;
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
}



.submit-btn {
  background-color: #C69C6D;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 15px 60px;
  font-size: 18px;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: #B38A5E;
}

.contact-info {
  padding-right: 50px;
}

.info-title {
  color: #C69C6D;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.info-text {
  color: #333;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: #F9F5F0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

html[lang="ar"] .icon-wrapper {
	margin-left: 1rem;
}

html[lang="en-US"] .icon-wrapper {
	margin-right: 1rem;
}

.contact-item h3 {
  color: #C69C6D;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #333;
  margin: 0;
}


.contact-form input,
.contact-form textarea {
  border: 1px solid #E5E5E5;
  border-radius: 50px;
  padding: 15px 25px;
  width: 100%;
  margin-bottom: 20px;
  font-size: 16px;
  background-color: transparent;
}

.contact-form textarea {
  border-radius: 25px;
  height: 150px;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #C69C6D;
  opacity: 0.7;
}

/* Contact Form Styling */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  border: 1px solid #E5E5E5;
  border-radius: 50px;
  padding: 15px 25px;
  width: 100%;
  margin-bottom: 20px;
  font-size: 16px;
  background-color: transparent;
  text-align: right;
}

.wpcf7-form textarea {
  border-radius: 25px;
  height: 150px;
}

.wpcf7-form input[type="submit"] {
  background-color: #C69C6D;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 15px 60px;
  font-size: 18px;
  transition: all 0.3s ease;
  width: 100%;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #b57b5d;
}

@media (max-width: 768px) {
  .contact-info {
      padding-right: 0;
      margin-top: 3rem;
  }
  
  .section-title {
      font-size: 2rem;
  }
}

@media (max-width: 991px) {
  .joode-project-card {
      margin-bottom: 4rem;
  }

  .joode-project-card:nth-child(even) .row {
      flex-direction: column-reverse;
  }

  .joode-project-card .row {
      flex-direction: column-reverse;
  }

  .joode-project-content {
      margin-top: 2rem;
  }

  .joode-project-title {
      font-size: 1.75rem;
  }
}

@keyframes fadeInUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .metric-label {
      font-size: 1.2rem;
      min-width: 120px;
  }

  .metric-value {
      font-size: 1.2rem;
  }

  .metric-line {
      margin: 0 0.5rem;
  }
}

@media (max-width: 768px) {
  .project-title {
      font-size: 2.5rem;
  }
  
  .project-info {
      margin-top: 2rem;
  }
  .hero-header {
    font-size: 32px;
    
  }
  .hero-slider  .hero-content {
width: 100% !important;
  }
}

@media (max-width: 768px) {
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .service-image {
    height: 200px;
  }

  .service-title {
    font-size: 1.2rem;
    padding: 15px;
  }

  .partner-logo {
    height: 80px;
  }
}

@media (max-width: 768px) {
  .video-controls {
    padding: 10px;
  }

  .time-controls span {
    display: none;
  }
  #about img {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .project-card {
    width: 300px;
  }

  .project-image {
    height: 225px;
  }
}