/*
Theme Name: masakenalmass.com
Theme URI: https://masakenalmass.com
Author: Powered By egy4server
Author URI: https://wordpress.org/
Description: masakenalmass Company is a modernized take on an ever-popular WordPress layout — the horizontal masthead with an optional right sidebar that works perfectly for blogs and websites. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail. Twenty Sixteen will make your WordPress look beautiful everywhere.
*/

/* ========== Theme Color Palette (change here to update globally) ========== */
:root {
  --color-dark: #4E342E;
  --color-dark-hover: #3E2723;
  --color-light: #8D6E63;
  --color-light-alt: #A1887F;
  --color-lightest: #D7CCC8;
}

header {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ========== Hero Section ========== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  animation: hero-bg-zoom 8s ease-in-out infinite;
}
@keyframes hero-bg-zoom {
  0%, 100% { background-size: 100%; }
  50% { background-size: 120%; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(78,52,46,0.5) 0%, rgba(78,52,46,0.75) 50%, rgba(78,52,46,0.85) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 2rem;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-title {
  font-family: 'Cairo', 'Readex Pro', sans-serif;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-desc {
  font-family: 'Cairo', 'Readex Pro', sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  line-height: 1.75;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.btn-hero-primary {
  background: var(--color-lightest);
  border: none;
  color: var(--color-dark);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-hero-primary:hover {
  background: #fff;
  color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.btn-hero-secondary {
  background: transparent;
  border: 2px solid var(--color-lightest);
  color: #fff;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.25s ease;
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: var(--color-lightest);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .hero-section { min-height: 65vh; }
  .hero-bg { background-size: cover !important; background-position: center center; }
  .hero-content { padding: 2rem 1.25rem; }
}
@media (max-width: 480px) {
  .hero-section { min-height: 55vh; }
  .hero-bg { background-size: cover !important; background-position: center center; }
  .hero-content { padding: 1.5rem 1rem; }
}

/* ========== About Section (من نحن) ========== */
.about-section {
  padding: 4rem 0;
  background: #f8f7f5;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.about-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(78, 52, 46, 0.12);
}
.about-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 4px solid var(--color-light);
  border-radius: 16px;
  margin: 12px;
  z-index: 1;
  pointer-events: none;
}
.about-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 320px;
}
.about-content {
  padding: 0 1rem;
}
.about-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0 0 1.25rem 0;
}
.about-text {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  margin: 0 0 1rem 0;
}
.about-text:last-of-type {
  margin-bottom: 1.5rem;
}
.btn-about {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-dark);
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-about:hover {
  background: var(--color-dark-hover);
  color: #fff;
  transform: translateX(-4px);
}
.btn-about i { font-size: 0.9rem; }
@media (max-width: 992px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-image-wrap { order: 1; }
  .about-content { order: 2; padding: 0; }
}
@media (max-width: 576px) {
  .about-section { padding: 3rem 0; }
  .about-image-wrap::before { margin: 8px; }
  .about-image-wrap img { min-height: 240px; }
}

/* ========== Services Section (خدماتنا) ========== */
.services-section {
  padding: 4rem 0;
  background: #fff;
}
.services-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.services-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0 0 0.75rem 0;
}
.services-desc {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: #f8f7f5;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.35s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-light), var(--color-dark));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}
.service-card:hover {
  background: #fff;
  box-shadow: 0 12px 40px rgba(78, 52, 46, 0.12);
  transform: translateY(-6px);
  border-color: var(--color-lightest);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--color-light), var(--color-light-alt));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
  transition: transform 0.35s ease;
}
.service-card:hover .service-icon {
  transform: scale(1.08) rotate(5deg);
}
.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 0.75rem 0;
}
.service-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin: 0 0 1.25rem 0;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-dark);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.25s ease;
}
.service-link:hover { color: var(--color-light); }
.service-link i { font-size: 0.8rem; }
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .services-section { padding: 3rem 0; }
  .services-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .service-card { padding: 1.5rem 1.25rem; }
}

/* ========== Projects Section (أحدث المشاريع) ========== */
.projects-section {
  padding: 4rem 0;
  background: #f8f7f5;
}
.projects-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.projects-header-text { flex: 1; min-width: 280px; }
.projects-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}
.projects-desc {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}
.projects-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-dark);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}
.projects-view-all:hover { color: var(--color-light); }
.projects-view-all i { font-size: 0.9rem; }

/* Project cards */
.projects-slider { position: relative; }
.projects-slider.owl-carousel .owl-nav { position: absolute; top: -60px; left: 0; right: auto; margin: 0; }
.projects-slider.owl-carousel .owl-nav button {
  background: var(--color-light) !important;
  color: #fff !important;
  width: 40px; height: 40px;
  border-radius: 50%;
  margin-left: 8px;
}
.projects-slider.owl-carousel .owl-nav button:hover { background: var(--color-dark) !important; }
.projects-slider.owl-carousel .owl-dots { margin-top: 1.5rem; }
.projects-slider.owl-carousel .owl-dots .owl-dot span {
  background: var(--color-light-alt) !important;
}
.projects-slider.owl-carousel .owl-dots .owl-dot.active span,
.projects-slider.owl-carousel .owl-dots .owl-dot:hover span {
  background: var(--color-dark) !important;
}

.project-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
}
.project-card-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.project-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.project-card:hover .project-card-link { cursor: pointer; }
.project-card-buttons a {
  position: relative;
  z-index: 2;
}
.project-card-no-image .project-card-body { padding-top: 1.25rem; }
.project-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #fff;
}
.project-card-overlay h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.2rem 0; }
.project-card-overlay span { font-size: 0.9rem; opacity: 0.9; }

.project-card-body { padding: 1.25rem; }
.project-card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}
.project-card-title-row h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
}
.project-sale-circle {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-dark), var(--color-dark-hover));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 8px rgba(78, 52, 46, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.project-sale-circle span {
  line-height: 1;
  text-align: center;
}
.project-card-info p {
  font-size: 0.9rem;
  color: #555;
  margin: 0 0 0.4rem 0;
}
.project-card-info i {
  margin-left: 0.5rem;
  color: var(--color-light);
  width: 16px;
}
.project-card-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.btn-project-primary {
  flex: 1;
  background: var(--color-dark);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-project-primary:hover {
  background: var(--color-dark-hover);
  color: #fff;
}
.btn-project-secondary {
  flex: 1;
  background: transparent;
  border: 2px solid var(--color-light);
  color: var(--color-dark);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-project-secondary:hover {
  background: var(--color-lightest);
  border-color: var(--color-light);
  color: var(--color-dark);
}
@media (max-width: 768px) {
  .projects-section { padding: 3rem 0; }
  .projects-header { flex-direction: column; }
  .projects-view-all { align-self: flex-start; }
  .projects-slider.owl-carousel .owl-nav { top: -50px; }
}

/* ========== Projects Page (صفحة المشاريع) ========== */
.projects-page-section {
  padding: 4rem 0;
  background: #f8f7f5;
}
.projects-page-header {
  text-align: right;
  margin-bottom: 2.5rem;
}
.projects-page-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0 0 0.75rem 0;
}
.projects-page-desc {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.projects-grid .project-card {
  margin: 0;
}
@media (max-width: 768px) {
  .projects-page-section { padding: 3rem 0; }
  .projects-grid { grid-template-columns: 1fr; }
}

/* ========== Rentals Section (تصفح الإيجارات) ========== */
.rentals-section {
  padding: 4rem 0;
  background: #f5f4f2;
}
.rentals-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.rentals-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0;
}
.rentals-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-dark);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}
.rentals-view-all:hover { color: var(--color-light); }
.rentals-view-all i { font-size: 0.9rem; }

.rentals-slider { position: relative; }
.rentals-slider.owl-carousel .owl-nav { position: absolute; top: -55px; left: 0; right: auto; margin: 0; }
.rentals-slider.owl-carousel .owl-nav button {
  background: var(--color-light) !important;
  color: #fff !important;
  width: 40px; height: 40px;
  border-radius: 50%;
  margin-left: 8px;
}
.rentals-slider.owl-carousel .owl-nav button:hover { background: var(--color-dark) !important; }
.rentals-slider.owl-carousel .owl-dots { margin-top: 1.5rem; }
.rentals-slider.owl-carousel .owl-dots .owl-dot span {
  background: var(--color-light-alt) !important;
}
.rentals-slider.owl-carousel .owl-dots .owl-dot.active span,
.rentals-slider.owl-carousel .owl-dots .owl-dot:hover span {
  background: var(--color-dark) !important;
}

.rental-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.rental-card:hover {
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}
.rental-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.rental-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}
.rental-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}
.rental-rented-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  background: rgba(200, 50, 50, 0.85);
  color: #fff;
  padding: 12px 24px;
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 8px;
  white-space: nowrap;
}
.rental-card-body { padding: 1.25rem; }
.rental-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}
.rental-location {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 0.75rem 0;
}
.rental-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: #555;
}
.rental-details i {
  margin-left: 0.4rem;
  color: var(--color-light);
  width: 14px;
}
.rental-amenities {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: #555;
}
.rental-amenities i {
  margin-left: 0.4rem;
  color: var(--color-light);
}
.rental-price {
  font-size: 0.9rem;
  color: var(--color-dark);
  margin: 0 0 1rem 0;
}
.rental-price strong { color: var(--color-dark); }
.btn-rental-contact {
  display: block;
  width: 100%;
  background: var(--color-light-alt);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s ease;
}
.rental-card:hover .btn-rental-contact {
  background: var(--color-dark);
  color: #fff;
}
@media (max-width: 768px) {
  .rentals-section { padding: 3rem 0; }
  .rentals-header { flex-direction: column; align-items: flex-start; }
  .rentals-slider.owl-carousel .owl-nav { top: -50px; }
}

/* ========== Rentals Page (صفحة الإيجارات) ========== */
.rentals-page-section {
  padding: 4rem 0;
  background: #f5f4f2;
}
.rentals-page-header {
  text-align: right;
  margin-bottom: 2.5rem;
}
.rentals-page-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0 0 0.75rem 0;
}
.rentals-page-desc {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}
.rentals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.rentals-grid .rental-card {
  margin: 0;
}
@media (max-width: 768px) {
  .rentals-page-section { padding: 3rem 0; }
  .rentals-grid { grid-template-columns: 1fr; }
}

/* ========== Stats Section (أرقامنا تتحدث عن نجاحنا) ========== */
.stats-section {
  position: relative;
  padding: 4rem 0;
  background: #f8f7f4;
  overflow: hidden;
}
.stats-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(141, 110, 99, 0.03) 40px,
    rgba(141, 110, 99, 0.03) 80px
  );
  pointer-events: none;
}
.stats-header {
  text-align: right;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}
.stats-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0 0 1rem 0;
}
.stats-desc {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
}
.stat-icon {
  font-size: 2.2rem;
  color: var(--color-light);
  margin-bottom: 1rem;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-light);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.stat-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-light);
  margin-bottom: 0.35rem;
}
.stat-sublabel {
  font-size: 0.9rem;
  color: #7a7a7a;
  line-height: 1.4;
}
@media (max-width: 992px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 576px) {
  .stats-section { padding: 3rem 0; }
  .stats-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stat-number { font-size: 2rem; }
}

/* ========== FAQ Section (الأسئلة الشائعة) ========== */
.faq-section {
  padding: 4rem 0;
  background: #fff;
}
.faq-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.faq-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0 0 0.75rem 0;
}
.faq-desc {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: #f8f7f5;
  border-radius: 12px;
  border: 2px solid transparent;
  overflow: hidden;
  transition: all 0.25s ease;
}
.faq-item:hover {
  border-color: rgba(141, 110, 99, 0.3);
}
.faq-item[open] {
  border-color: var(--color-light);
  background: #fff;
  box-shadow: 0 4px 20px rgba(78, 52, 46, 0.08);
}
.faq-question {
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.2s ease;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--color-light);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}
.faq-question:hover { color: var(--color-dark-hover); }
.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
}
.faq-answer p {
  margin: 0;
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  padding-right: 0;
}
@media (max-width: 576px) {
  .faq-section { padding: 3rem 0; }
  .faq-question { padding: 1rem 1.25rem; font-size: 1rem; }
  .faq-answer { padding: 0 1.25rem 1rem 1.25rem; }
}

/* ========== Reviews Section (آراء عملائنا) ========== */
.reviews-section {
  padding: 4rem 0;
  background: #f8f7f5;
}
.reviews-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.reviews-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0 0 0.75rem 0;
}
.reviews-desc {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.reviews-slider {
  position: relative;
}
.reviews-slider .owl-stage {
  display: flex;
  align-items: flex-start;
}
.reviews-slider .owl-item {
  display: flex;
}
.reviews-slider .owl-item > * {
  width: 100%;
}
.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 20px rgba(78, 52, 46, 0.06);
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.review-card:hover {
  box-shadow: 0 12px 40px rgba(78, 52, 46, 0.1);
  transform: translateY(-4px);
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.review-stars {
  color: #f0ad4e;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}
.review-stars i { margin-left: 2px; }
.review-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-light), var(--color-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.review-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.review-name {
  font-weight: 700;
  color: var(--color-dark);
  font-size: 0.9rem;
}
.review-role {
  font-size: 0.75rem;
  color: #777;
}
.reviews-slider.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  left: 0;
  right: 0;
  margin: 0;
  pointer-events: none;
}
.reviews-slider.owl-carousel .owl-nav button {
  position: absolute;
  pointer-events: auto;
  background: var(--color-light) !important;
  color: #fff !important;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  opacity: 0.3;
  transition: opacity 0.25s ease;
}
.reviews-slider.owl-carousel .owl-nav button:hover {
  opacity: 1;
  background: var(--color-dark) !important;
}
.reviews-slider.owl-carousel .owl-nav button.owl-prev { left: -15px; }
.reviews-slider.owl-carousel .owl-nav button.owl-next { right: -15px; }
/* Desktop: show arrows clearly */
@media (min-width: 769px) {
  .reviews-slider.owl-carousel .owl-nav { display: block !important; }
  .reviews-slider.owl-carousel .owl-nav button { opacity: 0.7; }
  .reviews-slider.owl-carousel .owl-nav button:hover { opacity: 1; }
}
.reviews-slider.owl-carousel .owl-dots { margin-top: 1rem; }
.reviews-slider.owl-carousel .owl-dots .owl-dot span {
  background: var(--color-light-alt) !important;
}
.reviews-slider.owl-carousel .owl-dots .owl-dot.active span,
.reviews-slider.owl-carousel .owl-dots .owl-dot:hover span {
  background: var(--color-dark) !important;
}
@media (max-width: 768px) {
  .reviews-section { padding: 3rem 0; }
  .reviews-slider.owl-carousel .owl-nav button {
    opacity: 0.3;
  }
  .reviews-slider.owl-carousel .owl-nav button.owl-prev { left: 5px; }
  .reviews-slider.owl-carousel .owl-nav button.owl-next { right: 5px; }
}

/* ========== Partners Section (شركاؤنا في النجاح) ========== */
.partners-section {
  padding: 4rem 0;
  background: #f8f8f8;
}
.partners-header {
  text-align: right;
  max-width: 640px;
  margin: 0 auto 3rem auto;
}
.partners-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 1rem 0;
}
.partners-desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}
.partners-slider {
  position: relative;
}
.partners-slider.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  left: 0;
  right: 0;
  margin: 0;
  pointer-events: none;
}
.partners-slider.owl-carousel .owl-nav button {
  position: absolute;
  pointer-events: auto;
  background: var(--color-light) !important;
  color: #fff !important;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.partners-slider.owl-carousel .owl-nav button.owl-prev { left: -15px; }
.partners-slider.owl-carousel .owl-nav button.owl-next { right: -15px; }
.partners-slider.owl-carousel .owl-nav button:hover { background: var(--color-dark) !important; }
.partners-slider.owl-carousel .owl-dots { margin-top: 1.5rem; }
.partners-slider.owl-carousel .owl-dots .owl-dot span {
  background: var(--color-light-alt) !important;
}
.partners-slider.owl-carousel .owl-dots .owl-dot.active span,
.partners-slider.owl-carousel .owl-dots .owl-dot:hover span {
  background: var(--color-dark) !important;
}
.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  min-height: 110px;
}
.partner-logo-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.partner-logo-item img {
  max-height: 70px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .partners-section { padding: 3rem 0; }
  .partners-slider.owl-carousel .owl-nav button.owl-prev { left: 5px; }
  .partners-slider.owl-carousel .owl-nav button.owl-next { right: 5px; }
  .partner-logo-item { padding: 1rem; min-height: 90px; }
  .partner-logo-item img { max-height: 55px; max-width: 130px; }
}

/* owl carousel arrows */


/* Base styles for Owl Carousel navigation arrows */
.owl-carousel {
    position: relative; /* Ensure the carousel is the reference for absolute positioning */
    overflow: hidden; /* Prevent overflow */
}

.owl-carousel .owl-nav button {
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s ease;
    z-index: 10; /* Ensure arrows are above the carousel items */
}

.owl-carousel .owl-nav button:hover {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

.owl-carousel .owl-nav button.owl-prev {
    left: 10px; /* Position the left arrow inside the carousel */
}

.owl-carousel .owl-nav button.owl-next {
    right: 10px; /* Position the right arrow inside the carousel */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .owl-carousel .owl-nav button {
        width: 30px; /* Smaller arrows for mobile */
        height: 30px;
        font-size: 14px; /* Smaller icon size */
    }

    .owl-carousel .owl-nav button.owl-prev {
        left: 5px; /* Move arrows closer to the edge but still inside the carousel */
    }

    .owl-carousel .owl-nav button.owl-next {
        right: 5px; /* Move arrows closer to the edge but still inside the carousel */
    }
}
/* End owl carousel arrows */



  body {
        font-family: 'Readex Pro', sans-serif;
  }

  .social-icons {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    background: white;
    padding: 5px;
    border: 1px solid blue;
    border-radius: 5px;
  }
  
  .social-icons a {
    display: block;
    margin: auto;
  }


/* Container for floating contacts */
.contact-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

/* Shared styles for icons */
.contact-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
  transition: all 0.3s ease;
}

/* Specific colors */
.phone-icon {
  background: #007bff;
}

.whatsapp-icon {
  background: #25d366;
}

/* Hover effects */
.contact-icon:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Tooltip */
.contact-icon .tooltip {
  position: absolute;
  right: 65px;
  background: #222;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(10px);
}

.contact-icon:hover .tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive: smaller icons on mobile */
@media (max-width: 576px) {
  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  .contact-icon .tooltip {
    font-size: 12px;
    right: 55px;
  }
}



/* carousel */
.custom-bg-dark {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/banner-bg.webp');
    background-size: cover; /* Cover the entire container */
    background-position: center; /* Center the background image */
    color: #fff; /* White text color */
}

.carousel-item {
  position: relative;
}


.carousel-item::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
/* carousel */

/* image post responsive */


.wp-block-image img{
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}
/* end image post responsive */

/* home page posts pagination */

/* end of home page posts pagination */

/* navbar */
.navbar{
  background-color: white !important;
}
.navbar a{
  color:black !important;
}
.ltr{
direction: ltr !important;
}

.rtl{
  direction: rtl !important;
  }

/* end navbar */


/* Packages  */

 .pricing {
      margin-top: 50px;
    }
    .pricing .card {
      border: none;
      border-radius: 15px;
      transition: all 0.3s;
      box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    }
    .pricing .card:hover {
      transform: translateY(-10px);
    }
    .pricing .card-header {
      background-color: #f9f9f9;
      border-bottom: none;
      padding: 20px;
      border-top-left-radius: 15px;
      border-top-right-radius: 15px;
    }
    .pricing .card-body {
      padding: 40px;
    }
    .pricing .price {
      font-size: 25px;
      font-weight: bold;
      color: #007bff;
    }

/* End Packages */


/* pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination ul {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination li {
  display: inline-block;
  margin: 0;
}

.pagination .page-link {
  display: inline-block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

.pagination .page-item.active .page-link {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

/* end pagination */


@media (max-width: 767px) {
.counter {
  margin-top: 50px;
}
}




/* cards */

/* end cards */

/* location */

.map-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 767px) {
  /* Adjust map size for small screens */
  .map-container {
    padding-top: 75%; /* 4:3 aspect ratio */
  }
}


/* end location */

/*  embdaded video */
.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.embed-responsive::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 aspect ratio (h/w * 100) */
}

.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* about us */

 /* CSS styles */
 .section-title {
  font-size: 24px;
  font-weight: bold;
}

.section-item {
  margin-bottom: 10px;
  font-size: 18px;
}

.icon {
  margin-right: 10px;
}
/* end about us */

/* contact us */

.wpcf7 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Style form elements */
.wpcf7-form {
  max-width: 400px;
  padding: 20px;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
  direction: rtl;

}

form.wpcf7-form.sent {
    margin-top: 50px;
}

.wpcf7-form p {
  margin-bottom: 20px;
}

.wpcf7-form label {
  font-weight: bold;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.wpcf7-form input[type="submit"] {
  width: 100%;
  padding: 10px;
  background-color: #4CAF50;
  border: none;
  color: white;
  cursor: pointer;
}

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

.wpcf7-response-output {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
}
/* end contact us  */


/* location */

.map-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 767px) {
  /* Adjust map size for small screens */
  .map-container {
    padding-top: 75%; /* 4:3 aspect ratio */
  }
}


/* end location */

/* styles.css */

/* Service container styles */
.service {
  text-align: center;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease; /* Added for smooth transition */
}

/* Icon wrapper styles */
.icon-wrapper {
  margin-bottom: 20px; /* Increased margin for better spacing */
}

/* Icon styles */
.service .icon-wrapper i {
  color: #007bff; /* Default icon color */
  font-size: 3rem; /* Increased icon size for better visibility */
  transition: all 0.3s ease; /* Added for smooth transition */
}

/* Title styles */
.service h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* Paragraph styles */
.service p {
  font-size: 18px;
}

/* Hover effect */
.service:hover {
  transform: translateY(-5px); /* Move the service box up slightly on hover */
}

/* Color change */
.service:hover .icon-wrapper i {
  color: #ff6347; /* Change icon color on hover */
}


/* social icons style */

/* Container for floating contacts */
.contact-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

/* Shared styles for icons */
.contact-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
  transition: all 0.3s ease;
}

/* Specific colors */
.phone-icon {
  background: #007bff;
}

.whatsapp-icon {
  background: #25d366;
}

/* Hover effects */
.contact-icon:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Tooltip */
.contact-icon .tooltip {
  position: absolute;
  right: 65px;
  background: #222;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(10px);
}

.contact-icon:hover .tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive: smaller icons on mobile */
@media (max-width: 576px) {
  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  .contact-icon .tooltip {
    font-size: 12px;
    right: 55px;
  }
}

/* end social icons style  */
