/* Light Mode */
:root {
  --primary-glow: #007aff;
  /* أزرق حيوي للمسات التفاعلية */
  --accent-gold: #d4af37;
  /* ذهبي خفيف للعقارات المميزة (Premium) */
  --bg-main: #fafafa;
  /* بطاقات بيضاء ناصعة */
  --bg-card: #ffff;
  /* خلفية فاتحة مريحة */
  --text-main: #1a1a1b;
  /* نصوص واضحة جداً */
  --text-muted: #666666;
  --glass-border: rgba(0, 122, 255, 0.1);
  --blue-bg: rgba(0, 122, 255, 0.08);
  --text-black: #000;
  --danger-light: #ffebee;
  --primary-dark: #0056b3;
}

body[data-theme="dark"] {
  --primary-glow: #007aff;
  --accent-gold: #e6c766;
  --bg-main: #0f172a;
  --bg-card: #1e293b;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --glass-border: rgba(77, 163, 255, 0.15);
  --blue-bg: rgba(77, 163, 255, 0.12);
  --text-black: #fff;
  --danger-light: rgba(220, 53, 69, 0.15);
  --primary-dark: #004494;
}

.text-muted {
  color: var(--text-muted) !important;
}
.dropdown-menu{
  text-align: right !important;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  transition: 0.3s all ease;
}

.container {
  max-width: 1350px !important;
}
a{
    text-decoration: none !important;
}
ul {
  list-style: none;
}

img {
  width: 100%;
}

/* ==================== */
/* header */
/* ==================== */
.primary-btn {
  margin: 0.5em;
  background: var(--bg-main);
  color: var(--text-black);
  border-radius: 0.625em;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 0.5em 1em;
  font-size: 1rem;
  border: 2px solid var(--accent-gold);
}

.primary-btn:hover {
  color: var(--accent-gold);
}

.primary-btn:after {
  content: "";
  background: var(--text-black);
  position: absolute;
  z-index: -1;
  left: -20%;
  right: -20%;
  top: 0;
  bottom: 0;
  transform: skewX(-45deg) scale(0, 1);
  transition: all 0.5s;
}

.primary-btn:hover:after {
  transform: skewX(-45deg) scale(1, 1);
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

header {
  background-color: var(--bg-main);
  position: fixed;
  width: 100%;
  overflow: hidden;
  z-index: 99;
  box-shadow: 6px 6px 30px rgba(0, 0, 0, 0.1);
}

nav {
  position: relative;
  z-index: 1;
  color: #000 !important;
}

nav::before {
  content: "";
  width: 800px;
  height: 100%;
  position: absolute;
  left: 0px;
  top: 0;
  transform: skew(40deg);
  z-index: -1;
  background-color: #007aff;
}

.nav-item {
  cursor: pointer;
  z-index: 99;
}

.nav-link {
  position: relative;
  padding-bottom: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-main);
  overflow: hidden;
}

.nav-link:hover {
  color: var(--accent-gold);
}

.nav-link.active {
  color: var(--accent-gold) !important;
}

.nav-link.active::before {
  content: "";
  width: 100%;
  height: 3px;
  border-radius: 25px;
  background-color: var(--accent-gold) !important;
  position: absolute;
  bottom: 0;
}

.navbar-brand {
  overflow: hidden;
  width: 150px;
}

.navbar-brand img {
  border-radius: 10px;
}

.navbar-collapse {
  flex-grow: 0;
  align-items: center;
}

/* The switch - the box around the slider */
.switch {
  font-size: 11px;
  position: relative;
  display: inline-block;
  width: 4em;
  height: 2.2em;
  border-radius: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2a2a2a;
  transition: 0.4s;
  border-radius: 30px;
  overflow: hidden;
}

.slider:before {
  position: absolute;
  content: "";
  height: 1.2em;
  width: 1.2em;
  border-radius: 20px;
  left: 0.5em;
  bottom: 0.5em;
  transition: 0.4s;
  transition-timing-function: cubic-bezier(0.81, -0.04, 0.38, 1.5);
  box-shadow: inset 8px -4px 0px 0px #fff;
}

.switch input:checked+.slider {
  background-color: #00a6ff;
}

.switch input:checked+.slider:before {
  transform: translateX(1.8em);
  box-shadow: inset 15px -4px 0px 15px #ffcf48;
}

.star {
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  width: 5px;
  transition: all 0.4s;
  height: 5px;
}

.star_1 {
  left: 2.5em;
  top: 0.5em;
}

.star_2 {
  left: 2.2em;
  top: 1.2em;
}

.star_3 {
  left: 3em;
  top: 0.9em;
}

.switch input:checked~.slider .star {
  opacity: 0;
}

.cloud {
  width: 3.5em;
  position: absolute;
  bottom: -1.4em;
  left: -1.1em;
  opacity: 0;
  transition: all 0.4s;
}

.switch input:checked~.slider .cloud {
  opacity: 1;
}

.navbar-toggler {
  width: 30px;
  height: 20px;
  position: relative;
  transition: 0.5s ease-in-out;
  cursor: pointer;
  border: none !important;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

/* تصميم الخطوط الثلاثة */
.toggler-icon {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--text-main);
  /* لون الخطوط */
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

/* توزيع الخطوط */
.top-bar {
  top: 0px;
}

.middle-bar {
  top: 8px;
}

.bottom-bar {
  top: 16px;
}

/* الأنيماشين عند الضغط (تحويل لـ X) */
.navbar-toggler:not(.collapsed) .top-bar {
  top: 8px;
  transform: rotate(135deg);
}

.navbar-toggler:not(.collapsed) .middle-bar {
  opacity: 0;
  left: -60px;
}

.navbar-toggler:not(.collapsed) .bottom-bar {
  top: 8px;
  transform: rotate(-135deg);
}

/* ======================== */
/* Hero Section */
/* ======================== */

.hero-section {
  background: url(/img/bg-1.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  padding: 150px 0;
  padding-top: 250px;
  color: #fff;
}

.hero-title {
  font-size: 3rem;
  text-transform: uppercase;
}

.hero-section {
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(15, 23, 42, 0.9),
      rgba(15, 23, 42, 0.4));
}

.hero-section>.container {
  position: relative;
  z-index: 1;
}

.hero-filter {
  margin-top: 2rem;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 24px;
  padding: 18px 20px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
}

.hero-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.hero-input {
  border-radius: 999px;
  border: 1px solid transparent;
  background-color: rgba(15, 23, 42, 0.95);
  color: #fff;
  font-size: 0.9rem;
}

.hero-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.hero-input:focus {
  border-color: var(--primary-glow);
  box-shadow: 0 0 0 1px rgba(0, 122, 255, 0.4);
  background-color: rgba(15, 23, 42, 1);
  color: #fff;
}

.input-icon {
  position: relative;
}

.input-icon i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-glow);
  font-size: 1rem;
}

.input-icon .hero-input {
  padding-right: 36px;
}

.hero-toggle-group {
  display: flex;
  gap: 0.35rem;
  background-color: rgba(15, 23, 42, 0.92);
  padding: 4px;
  border-radius: 999px;
}

.toggle-btn {
  flex: 1;
  border: none;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.toggle-btn.active {
  background-color: #ffffff;
  color: var(--primary-glow);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.hero-submit-btn {
  border-radius: 999px;
}

.hero-filter-hint {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

/* ====================== */
/* featured section */
/* ====================== */

.featured {
  background: var(--blue-bg);
}

.section-title {
  font-weight: 600;
  color: var(--text-main);
  position: relative;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--primary-glow);
  display: block;
  margin: 10px auto 0;
  border-radius: 3px;
}

/* Card */
.property-card {
  background: var(--bg-card);
  border-radius: 18px;
  overflow: hidden;
  transition: 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid transparent;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 122, 255, 0.15);
  border: 1px solid var(--glass-border);
}

/* Premium */
.property-card.premium {
  border: 1px solid var(--accent-gold);
}

.badge-premium {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-gold);
  color: white;
  padding: 5px 14px;
  font-size: 0.8rem;
  border-radius: 25px;
}

/* Image */
.property-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  transition: 0.4s ease;
}

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

/* Content */
.property-content {
  padding: 20px;
}

.property-content h5 {
  color: var(--text-main);
  margin-bottom: 5px;
}

.location {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.details {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 15px 0;
}

/* Price */
.price {
  font-weight: bold;
  color: var(--primary-glow);
}

.btn-view .primary-btn {
  background-color: #000 !important;
}

.btn-view .primary-btn span:not(:nth-child(6)) {
  background-color: #fff !important;
}

/* ===============================
   Featured Swiper Pagination
================================ */

/* حاوية النقاط */
.featured .swiper-pagination {
  position: relative !important;
  bottom: 0 !important;
  margin-top: 40px !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* شكل النقاط (كلها مرئية وثابتة) */
.featured .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #d1d1d1;
  /* لون النقاط الخاملة */
  opacity: 1 !important;
  /* مرئية دائماً 100% */
  border-radius: 50%;
  margin: 0px 5px !important;
  cursor: pointer;
  /* هذا السطر هو سر التفاعل الناعم */
  transition:
    width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    background 0.3s ease,
    border-radius 0.3s ease;
}

/* التفاعل: النقطة النشطة فقط هي التي تتمدد */
.featured .swiper-pagination-bullet-active {
  width: 40px;
  /* تمدد النقطة النشطة فقط */
  background: var(--primary-glow);
  /* لونك المميز */
  border-radius: 20px;
  /* تحويلها لـ Pill Shape عند التمدد */
}

/* حركة إضافية عند الوقوف بالماوس (تفاعل بصري) */
.featured .swiper-pagination-bullet:hover {
  background: var(--glass-border);
  opacity: 0.8 !important;
}

.swiper-wrapper {
  padding: 10px 0;
}

.swiper-pagination-bullets-dynamic {
  transform: none !important;
}

/* ====================== */
/* Curated Collections */
/* ====================== */
.curated-collections {
  background-color: var(--bg-main);
  padding: 80px 0;
  direction: rtl;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.sub-title {
  color: var(--accent-gold);
  text-transform: uppercase;
  width: fit-content;
  letter-spacing: 2px;
  font-size: 1rem;
  font-weight: bold;
  background-color: #fff;
  padding: 5px 15px;
  border-radius: 30px;
}

.title-black {
  color: var(--text-black);
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 15px;
  margin-top: 15px;
}

.main-title {
  color: var(--text-main);
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 15px;
  margin-top: 15px;
}

.description {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.collection-card {
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--glass-border);
  transition: transform 0.4s ease;
}

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

.card-image {
  height: 100%;
  background-size: cover;
  background-position: bottom 30px right 0;
  transition: scale 0.5s ease;
}

.collection-card:hover .card-image {
  scale: 1.1;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 10%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.premium-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-gold);
  color: white;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: bold;
}

.card-content h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.card-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.explore-btn {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 2px solid var(--primary-glow);
  transition: all 0.3s ease;
}

.explore-btn:hover {
  color: var(--primary-glow);
  letter-spacing: 1px;
}

/* ===================== */
/* top distination section */
/* ===================== */

/* Container & Direction */
.top-destinations {
  background-color: var(--bg-main);
  padding: 50px 0;
  direction: rtl;
}

/* Header Styling */
.destination-subtitle {
  color: var(--accent-gold);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.destination-title {
  color: var(--text-main);
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.destination-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* Card Styling */
.dest-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: none;
  height: 450px;
}

.image-wrapper {
  position: relative;
  height: 100%;
  width: 100%;
}

.image-wrapper img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dest-card:hover img {
  transform: scale(1.1);
}

/* Overlay & Text inside Card */
.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.2) 60%,
      transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  z-index: 2;
}

.dest-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.dest-count {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* Buttons */
.btn-explore {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  border: 1px solid var(--primary-glow);
  padding: 8px 20px;
  border-radius: 50px;
  width: fit-content;
  transition: 0.3s;
}

.btn-explore:hover {
  background-color: var(--primary-glow);
  color: white;
}

.btn-view {
  background-color: var(--bg-card);
  border: 2px solid var(--primary-glow);
  color: var(--text-main);
  padding: 8px 30px;
  border-radius: 50px;
  font-weight: 700;
  transition: 0.4s;
  font-size: 12px;
}

.btn-view:hover {
  background-color: var(--primary-glow);
  color: white;
  box-shadow: 0 10px 20px rgba(0, 122, 255, 0.2);
}

/* =========================== */
/* Luxury Concierge section */
/* =========================== */

/* Container Background & Layout */
.luxury-concierge {
  background-color: var(--blue-bg);
  padding: 100px 0;
  direction: rtl;
  text-align: center;
}

/* Header Styling */
.concierge-subtitle {
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.concierge-title {
  color: var(--text-main);
  font-weight: 800;
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.concierge-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 60px;
}

/* Feature Card Styling */
.feature-card {
  background-color: var(--bg-card);
  padding: 45px 30px;
  border-radius: 30px;
  border: 3px solid var(--glass-border);
  height: 100%;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 122, 255, 0.1);
  border-color: var(--accent-gold);
}

/* Icon Design */
.feature-icon {
  width: 65px;
  height: 65px;
  background-color: rgba(0, 122, 255, 0.05);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: 0.3s;
}

.feature-icon i {
  font-size: 1.8rem;
  color: var(--primary-glow);
}

.feature-card:hover .feature-icon {
  background-color: var(--primary-glow);
  transform: rotateY(180deg);
}

.feature-card:hover .feature-icon i {
  color: #ffffff;
}

/* Typography inside card */
.feature-name {
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* =========================== */
/* Vip Newsletter section */
/* =========================== */

/* Container styling */
.vip-newsletter {
  padding: 80px 0;
  background-color: var(--bg-main);
  direction: rtl;
}

/* The Box Wrapper */
.vip-wrapper {
  background: url(/Content/Img/home-5.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 40px;
  padding: 60px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--accent-gold);
  z-index: 1;
}

/* Decorative element (Optional: Adds a glow effect inside the box) */
.vip-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* Text Styling */
.vip-tag {
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 15px;
}

.vip-btn {
  border-radius: 30px !important;
}

.vip-title {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.vip-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Form Styling */
.vip-form .input-group {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 8px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vip-form .form-control {
  background: transparent;
  border: none;
  color: #ffffff;
  padding-right: 25px;
  font-size: 1rem;
}

.vip-form .form-control:focus {
  box-shadow: none;
  background: transparent;
  color: #ffffff;
}

.vip-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.vip-privacy {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-top: 15px;
  margin-right: 20px;
  font-size: 0.8rem;
}

/* =============================== */
/* Trust Safety Section */
/* =============================== */

/* Section Base */
.trust-safety {
  background-color: var(--bg-main);
  padding: 60px 0;
  direction: rtl;
}

/* Text Content Styling */
.trust-subtitle {
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.trust-title {
  color: var(--text-main);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 25px;
}

.trust-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 35px;
}

/* Trust List */
.trust-list {
  list-style: none;
  padding: 0;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  color: var(--text-main);
  font-weight: 500;
}

.trust-list i {
  color: var(--primary-glow);
  margin-left: 15px;
  font-size: 1.2rem;
}

/* Stat Cards */
.stat-card {
  background-color: var(--bg-card);
  padding: 40px 25px;
  border-radius: 25px;
  text-align: center;
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease;
  height: 100%;
}

.stat-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.gold-border {
  border: 1px solid var(--accent-gold);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 122, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.stat-icon i {
  font-size: 1.5rem;
  color: var(--primary-glow);
}

.gold-icon {
  background-color: rgba(212, 175, 55, 0.1);
}

.gold-icon i {
  color: var(--accent-gold);
}

.stat-number {
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 5px;
}

.stat-text {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* ========================= */
/* Search Results Section */
/* ========================= */

.search-results {
  background-color: var(--bg-main);
  padding: 50px 0 30px;
  direction: rtl;
}

.search-results-header h2 {
  font-size: 1.6rem;
}

.search-results-count {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.no-results {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ========================= */
/* About Page (من نحن) - تصميم الصورة */
/* ========================= */

.about-page {
  background-color: var(--bg-main);
  color: #fff;
  direction: rtl;
}

/* Section 1: About Us Hero */
/* لون الخلفية الداكن المخصص للبراند */
.bg-dark-custom {
  background-color: var(--bg-main);
}

.border-dark-custom {
  border-color: #0b0f19 !important;
}

/* النص المتدرج الأنيق */
.gradient-text {
  background: var(--primary-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* تظبيط مساحة الصور المتداخلة */
.about-hero-media {
  height: 420px;
  max-width: 450px;
}

.image-wrapper {
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* وضعية الصورة الكبيرة */
.img-main {
  width: 80%;
  height: 320px;
  top: 10%;
  left: 0;
  z-index: 2;
}

/* وضعية الصورة الصغيرة */
.img-secondary {
  width: 55%;
  height: 220px;
  bottom: 0;
  right: 0;
  z-index: 3;
}

/* المربع الزجاجي الخلفي (الـ Blur) */
.glass-deco-box {
  width: 70%;
  height: 280px;
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  top: 0;
  right: 10%;
  z-index: 1;
  transform: rotate(-6deg);
  /* الزاوية المودرن */
}

/* حركات تفاعلية ناعمة عند الـ Hover */
.about-hero-media:hover .img-main {
  transform: translateY(-8px) scale(1.02);
}

.about-hero-media:hover .img-secondary {
  transform: translateY(8px) scale(1.03);
}


/* ========================= */
/* New About Sections CSS */
/* ========================= */

/* Section Heading */
.new-about-heading {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
  text-align: center;
}

.new-about-sub {
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

/* Vision & Mission */
.about-vision-section {
  padding: 80px 0;
  background-color: var(--blue-bg);
}

.vision-img-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.vision-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 122, 255, 0.2), transparent);
}

.vision-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px var(--glass-border);
}

.vision-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--blue-bg);
  color: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.vision-card h3 {
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 12px;
}

.vision-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Why Choose Us */
.about-why-section {
  padding: 80px 0;
  background-color: var(--bg-main);
}

.why-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  height: 100%;
  border: 1px solid transparent;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--primary-glow);
  transition: height 0.4s ease;
  z-index: -1;
  opacity: 0.05;
}

.why-card:hover {
  border-color: var(--primary-glow);
  transform: translateY(-10px);
}

.why-card:hover::before {
  height: 100%;
}

.why-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--bg-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--primary-glow);
  box-shadow: 0 10px 20px var(--glass-border);
  transition: transform 0.4s ease;
}

.why-card:hover .why-icon {
  transform: scale(1.1) rotate(10deg);
}

.why-card h4 {
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.why-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* How It Works */
.about-how-section {
  padding: 80px 0;
  background-color: var(--blue-bg);
  position: relative;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-glow);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 8px var(--blue-bg);
}

/* Connecting Line */
.step-card::after {
  content: '';
  position: absolute;
  top: 25px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--glass-border);
  z-index: 1;
}

@media (max-width: 767px) {
  .step-card::after {
    display: none;
  }
}

.step-card:first-child::after {
  display: none;
}

.step-card h4 {
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA Section */
.about-cta-section {
  padding: 80px 0;
  background: var(--bg-main);
}

.cta-box {
  background: var(--bg-card);
  border-radius: 30px;
  padding: 60px 40px;
  text-align: center;
  border: 1px solid var(--accent-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: var(--primary-glow);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
}

.cta-title {
  color: var(--text-main);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-inline: auto;
}

.cta-btn {
  background: var(--primary-glow);
  color: #fff;
  padding: 12px 36px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px var(--glass-border);
  color: #fff;
}

/* Scroll to top button */
.about-scroll-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-glow);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s,
    transform 0.2s;
}

.about-scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.about-scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.5);
}

/* ========================= */
/* Contact Page - اتصل بنا */
/* ========================= */

/* 1. Hero */
.contact-hero {
    padding: 100px 0 60px;
    text-align: center;
    background: var(--bg-main);
}

.contact-hero-badge {
    display: inline-block;
    background: var(--blue-bg);
    color: var(--primary-glow);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.contact-hero-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* 2. بطاقات تواصل سريع */
.contact-cards-section {
    padding: 40px 0 60px;
    background: var(--bg-main);
}

.contact-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

    .contact-card:hover {
        transform: translateY(-6px);
        border-color: var(--primary-glow);
        box-shadow: 0 12px 28px var(--glass-border);
        color: inherit;
    }

.contact-card-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    background: var(--blue-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-glow);
    font-size: 1.4rem;
}

.contact-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.contact-card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.contact-card-link {
    font-size: 0.85rem;
    color: var(--primary-glow);
    font-weight: 600;
}

/* 3. نموذج التواصل */
.contact-form-section {
    padding: 60px 0;
    background: var(--bg-main);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px 28px;
}

.contact-form-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.contact-form-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.contact-input {
    background: var(--bg-main);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-main);
    padding: 12px 14px;
}

    .contact-input::placeholder {
        color: var(--text-muted);
    }

    .contact-input:focus {
        border-color: var(--primary-glow);
        box-shadow: 0 0 0 3px var(--blue-bg);
        background: var(--bg-card);
        color: var(--text-main);
    }

.contact-textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .form-label {
    color: var(--text-main);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.contact-submit-btn {
    background: var(--primary-glow);
    color: #fff !important;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .contact-submit-btn:hover {
        color: #fff !important;
        transform: translateY(-2px);
        box-shadow: 0 8px 24px var(--glass-border);
    }

/* معلومات جانبية */
.contact-info-side {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 28px 24px;
}

.contact-info-side-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.25rem;
}

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

    .contact-info-list li {
        display: flex;
        gap: 14px;
        margin-bottom: 1.25rem;
        color: var(--text-main);
    }

        .contact-info-list li:last-of-type {
            margin-bottom: 0;
        }

    .contact-info-list i {
        color: var(--primary-glow);
        font-size: 1.2rem;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .contact-info-list strong {
        display: block;
        color: var(--text-main);
        font-size: 0.9rem;
        margin-bottom: 2px;
    }

    .contact-info-list p {
        margin: 0;
        font-size: 0.9rem;
        color: var(--text-muted);
        line-height: 1.5;
    }

.contact-social-wrap {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--glass-border);
}

    .contact-social-wrap span {
        display: block;
        font-size: 0.9rem;
        color: var(--text-muted);
        margin-bottom: 10px;
    }

.contact-social-links {
    display: flex;
    gap: 10px;
}

    .contact-social-links a {
        width: 40px;
        height: 40px;
        background: var(--blue-bg);
        color: var(--primary-glow);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: background 0.2s, transform 0.2s;
    }

        .contact-social-links a:hover {
            background: var(--primary-glow);
            color: #fff;
            transform: translateY(-3px);
        }

/* 4. الخريطة */
.contact-map-section {
    padding: 60px 0;
    background: var(--bg-main);
}

.contact-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.contact-map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

    .contact-map-wrapper iframe {
        display: block;
    }

/* 5. تيزر الأسئلة الشائعة */
.contact-faq-teaser {
    padding: 50px 0;
    background: var(--blue-bg);
}

.contact-faq-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-cta-outline {
    background: transparent;
    color: var(--primary-glow);
    border: 2px solid var(--primary-glow);
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
}

    .contact-cta-outline:hover {
        background: var(--primary-glow);
        color: #fff;
    }

/* 6. النشرة البريدية */
.contact-newsletter-section {
    padding: 50px 0;
    background: var(--bg-main);
}

.contact-newsletter-box {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 36px 32px;
}

.contact-newsletter-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.contact-newsletter-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-newsletter-form .input-group {
    border-radius: 999px;
    overflow: hidden;
    border: 2px solid var(--glass-border);
}

.contact-newsletter-input {
    background: var(--bg-main);
    border: none;
    color: var(--text-main);
    padding: 14px 20px;
}

    .contact-newsletter-input:focus {
        background: var(--bg-card);
        color: var(--text-main);
        border-color: var(--primary-glow);
        box-shadow: none;
    }

.contact-newsletter-btn {
    background: var(--primary-glow);
    color: #fff !important;
    border: none;
    padding: 14px 28px;
    font-weight: 700;
}

    .contact-newsletter-btn:hover {
        color: #fff !important;
        background: var(--primary-dark);
    }

/* 7. دعوة للعمل */
.contact-cta-section {
    padding: 50px 0 60px;
    background: var(--bg-main);
}

.contact-cta-box {
    text-align: center;
    padding: 48px 24px;
    background: var(--blue-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.contact-cta-title {
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.contact-cta-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.contact-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.contact-cta-btn {
    background: var(--primary-glow);
    color: #fff !important;
    border: none;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .contact-cta-btn:hover {
        color: #fff !important;
        transform: translateY(-2px);
        box-shadow: 0 8px 24px var(--glass-border);
    }

/* ========================= */
/* Blog Page - المدونة */
/* ========================= */

.blog-page {
  background-color: #0f172a;
  color: #fff;
  direction: rtl;
  padding-bottom: 60px;
}

/* 1. Hero */
.blog-hero {
  padding: 100px 0 50px;
  text-align: center;
}

.blog-hero-badge {
  display: inline-block;
  background: rgba(0, 122, 255, 0.2);
  color: var(--primary-glow);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.blog-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.blog-hero-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* 2. شريط البحث والتصنيفات */
.blog-toolbar {
  padding: 0 0 40px;
}

.blog-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.blog-search-wrap i {
  position: absolute;
  right: 14px;
  color: var(--primary-glow);
  font-size: 1.1rem;
  pointer-events: none;
}

.blog-search-input {
  width: 100%;
  padding: 12px 44px 12px 16px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(0, 122, 255, 0.25);
  border-radius: 999px;
  color: #fff;
  font-size: 0.95rem;
}

.blog-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.blog-search-input:focus {
  outline: none;
  border-color: var(--primary-glow);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
}

.blog-categories-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.blog-cat-pill {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.blog-cat-pill:hover,
.blog-cat-pill.active {
  background: var(--primary-glow);
  border-color: var(--primary-glow);
  color: #fff;
}

/* 3. المحتوى */
.blog-content-section {
  padding: 0 0 60px;
}

.blog-featured-card {
  margin-bottom: 2.5rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 122, 255, 0.25);
  background: rgba(15, 23, 42, 0.6);
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.blog-featured-card:hover {
  border-color: var(--primary-glow);
  transform: translateY(-4px);
}

.blog-featured-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-featured-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.blog-featured-card:hover .blog-featured-img img {
  transform: scale(1.05);
}

.blog-featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary-glow);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.blog-featured-body {
  padding: 24px 24px 28px;
}

.blog-meta {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--primary-glow);
  margin-bottom: 8px;
}

.blog-featured-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-featured-excerpt {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.blog-read-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-glow);
}

.blog-read-more i {
  margin-right: 6px;
  transition: transform 0.2s;
}

.blog-featured-card:hover .blog-read-more i {
  transform: translateX(-4px);
}

/* قائمة المقالات */
.blog-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

.blog-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 122, 255, 0.2);
  background: rgba(15, 23, 42, 0.6);
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.blog-card:hover {
  border-color: var(--primary-glow);
  transform: translateY(-4px);
}

.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 18px 20px;
}

.blog-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin-bottom: 10px;
}

.blog-card-date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.blog-card-date i {
  margin-left: 4px;
  color: var(--primary-glow);
}

/* Pagination */
.blog-pagination-wrap {
  margin-top: 2.5rem;
}

.blog-pagination .page-link {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(0, 122, 255, 0.25);
  color: #fff;
  padding: 10px 18px;
  margin: 0 4px;
  border-radius: 10px;
}

.blog-pagination .page-link:hover {
  background: var(--primary-glow);
  border-color: var(--primary-glow);
  color: #fff;
}

.blog-pagination .page-item.active .page-link {
  background: var(--primary-glow);
  border-color: var(--primary-glow);
}

.blog-pagination .page-item.disabled .page-link {
  color: rgba(255, 255, 255, 0.5);
}

/* Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-sidebar-box {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: 16px;
  padding: 22px 20px;
}

.blog-sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-search-sidebar .blog-search-input {
  padding: 10px 40px 10px 14px;
  font-size: 0.9rem;
}

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

.blog-sidebar-list li {
  margin-bottom: 10px;
}

.blog-sidebar-list li:last-child {
  margin-bottom: 0;
}

.blog-sidebar-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 0;
  transition: color 0.2s;
}

.blog-sidebar-list a:hover {
  color: var(--primary-glow);
}

.blog-sidebar-list span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 122, 255, 0.15);
  padding: 2px 10px;
  border-radius: 999px;
}

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

.blog-popular-list li {
  margin-bottom: 12px;
}

.blog-popular-list li:last-child {
  margin-bottom: 0;
}

.blog-popular-item {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.blog-popular-item:hover {
  opacity: 0.9;
}

.blog-popular-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.blog-popular-item strong {
  display: block;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1.3;
}

.blog-popular-item span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.blog-sidebar-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

.blog-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-newsletter-input {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  padding: 12px 14px;
  font-size: 0.9rem;
}

.blog-newsletter-input:focus {
  border-color: var(--primary-glow);
  outline: none;
}

.blog-newsletter-btn {
  background: var(--primary-glow);
  color: #fff !important;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
}

.blog-newsletter-btn:hover {
  color: #fff !important;
  background: #0066dd;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tags a {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 122, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.blog-tags a:hover {
  background: var(--primary-glow);
  color: #fff;
}

/* 4. سكاشن النشرة */
.blog-newsletter-section {
  padding: 50px 0;
}

.blog-newsletter-cta {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(0, 122, 255, 0.25);
  border-radius: 20px;
  padding: 36px 32px;
}

.blog-newsletter-cta-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.blog-newsletter-cta-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.blog-newsletter-cta-form .input-group {
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.blog-newsletter-cta-input {
  background: rgba(15, 23, 42, 0.8);
  border: none;
  color: #fff;
  padding: 14px 20px;
}

.blog-newsletter-cta-input:focus {
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  border-color: var(--primary-glow);
  box-shadow: none;
}

.blog-newsletter-cta-btn {
  background: var(--primary-glow);
  color: #fff !important;
  border: none;
  padding: 14px 24px;
  font-weight: 700;
}

.blog-newsletter-cta-btn:hover {
  color: #fff !important;
  background: #0066dd;
}

/* 5. CTA */
.blog-cta-section {
  padding: 0 0 60px;
}

.blog-cta-box {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(135deg,
      rgba(0, 122, 255, 0.15) 0%,
      rgba(0, 122, 255, 0.05) 100%);
  border: 1px solid rgba(0, 122, 255, 0.3);
  border-radius: 24px;
}

.blog-cta-title {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.blog-cta-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.blog-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.blog-cta-btn {
  background: var(--primary-glow);
  color: #fff !important;
  border: none;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.blog-cta-btn:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.4);
}

.blog-cta-outline {
  background: transparent;
  color: var(--primary-glow);
  border: 2px solid var(--primary-glow);
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition:
    background 0.2s,
    color 0.2s;
}

.blog-cta-outline:hover {
  background: var(--primary-glow);
  color: #fff;
}

/* Blog page responsive */
@media (max-width: 991.98px) {
  .blog-hero {
    padding: 80px 0 40px;
  }

  .blog-categories-scroll {
    justify-content: center;
  }

  .blog-sidebar {
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {

  .blog-featured-body,
  .blog-card-body {
    padding: 18px 16px;
  }

  .blog-cta-buttons {
    flex-direction: column;
  }

  .blog-cta-buttons .btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 575.98px) {
  .blog-newsletter-cta-form .input-group {
    flex-direction: column;
    border-radius: 16px;
  }

  .blog-newsletter-cta-btn {
    border-radius: 0 0 16px 16px;
  }
}

/* ========================= */
/* Blog Post Detail - تفاصيل المقال */
/* ========================= */

.blog-post-breadcrumb .breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.blog-post-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.blog-post-breadcrumb .breadcrumb-item a:hover {
  color: var(--primary-glow);
}

.blog-post-breadcrumb .breadcrumb-item.active {
  color: var(--primary-glow);
}

.blog-post-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

.blog-post-category {
  display: inline-block;
  color: var(--primary-glow);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.blog-post-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 1.25rem;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.blog-post-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.blog-post-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-post-date,
.blog-post-reading {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.blog-post-date i,
.blog-post-reading i {
  margin-left: 6px;
  color: var(--primary-glow);
}

.blog-post-featured-img-wrap {
  padding: 0 0 32px;
}

.blog-post-featured-img {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 122, 255, 0.2);
}

.blog-post-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-post-content-section {
  padding: 0 0 50px;
}

.blog-post-body {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: 20px;
  padding: 36px 32px;
}

.blog-post-lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-post-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 1.75rem 0 0.75rem;
}

.blog-post-body h2:first-of-type {
  margin-top: 0;
}

.blog-post-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.blog-post-body ul {
  margin: 1rem 0 1.5rem;
  padding-right: 1.5rem;
}

.blog-post-body li {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.blog-post-quote {
  margin: 2rem 0;
  padding: 24px 24px 24px 20px;
  border-right: 4px solid var(--primary-glow);
  background: rgba(0, 122, 255, 0.1);
  border-radius: 0 12px 12px 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  font-style: italic;
}

.blog-post-footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-post-tags-label,
.blog-post-share-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 8px;
}

.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.blog-post-tags a {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 122, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.blog-post-tags a:hover {
  background: var(--primary-glow);
  color: #fff;
}

.blog-post-share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-post-share a {
  width: 40px;
  height: 40px;
  background: rgba(0, 122, 255, 0.2);
  color: var(--primary-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}

.blog-post-share a:hover {
  background: var(--primary-glow);
  color: #fff;
  transform: translateY(-3px);
}

.blog-post-author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 2.5rem;
  padding: 24px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: 16px;
}

.blog-post-author-box img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-post-author-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.blog-post-author-box p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

.blog-post-related {
  padding: 50px 0 60px;
}

.blog-post-related-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

.blog-post-related .blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-post-related .blog-card {
  height: 100%;
}

@media (max-width: 767.98px) {
  .blog-post-body {
    padding: 24px 20px;
  }

  .blog-post-footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-post-author-box {
    flex-direction: column;
    text-align: center;
  }

  .blog-post-author-box img {
    margin: 0 auto;
  }
}

/* ========================= */
/* Responsive tweaks */
/* ========================= */

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .hero-filter {
    margin-top: 1.5rem;
    padding: 16px;
  }

  .about-banner {
    padding: 150px 0 100px;
    text-align: center;
  }

  .banner-lead {
    margin-inline: auto;
  }

  .about-hero-highlights {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .hero-filter {
    border-radius: 18px;
  }

  .about-banner .main-title {
    font-size: 2rem;
  }
}

/* =============================== */
/* Footer */
/* =============================== */

/* Footer Base Styling */
.main-footer {
  background-color: var(--bg-main);
  /* استخدام اللون الغامق للخلفية */
  color: #000;
  padding: 80px 0 30px;
  /* background-color: var(--primary-glow); */
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.main-footer::before {
  content: "";
  width: 1700px;
  height: 100%;
  position: absolute;
  left: 0px;
  top: 0;
  transform: skew(-60deg);
  z-index: -1;
  background-color: #007aff;
}

/* Brand Section */
.footer-logo {
  width: 200px;
  overflow: hidden;
  border-radius: 10px;
}

.footer-logo span {
  color: var(--accent-gold);
}

.footer-about {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 25px;
}

/* Headings */
.footer-heading {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-glow);
}

/* Links Styling */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  color: var(--);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-right: 8px;
  /* حركة بسيطة عند التمرير */
}

/* Contact Info */
.contact-info {
  list-style: none;
  padding: 0;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.6);
}

.contact-info i {
  color: var(--accent-gold);
  margin-left: 15px;
  font-size: 1.2rem;
}

/* Social Icons */
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  color: var(--primary-glow);
  border-radius: 50%;
  margin-left: 10px;
  transition: 0.3s;
  text-decoration: none;
}

.social-links a:hover {
  background-color: var(--text-main);
  color: var(--accent-gold);
  transform: translateY(-5px);
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  color: var(--bg-card);
  font-size: 0.9rem;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.9rem;
  margin-right: 20px;
}

.legal-links a:hover {
  color: var(--accent-gold);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}

/* ============================================
  PROPERTIES + DETAILS PAGES
  ============================================ */

.ejar-properties-page,
.ejar-property-details-page {
  background: var(--bg-main);
  min-height: 100vh;
  padding-top: 120px;
  color: var(--text-main);
}

.ejar-properties-hero,
.ejar-property-details-hero {
  padding: 40px 0 20px;
}

.ejar-properties-hero .container {
  display: flex !important;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.ejar-chip {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background-color: var(--blue-bg);
  color: var(--primary-glow);
  border: 1px solid var(--glass-border);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.ejar-properties-hero h1,
.ejar-property-details-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 12px;
}

.ejar-properties-hero p {
  color: var(--text-muted);
  max-width: 700px;
}

.ejar-properties-tabs-wrap {
  margin-bottom: 0.5rem;
}

.ejar-properties-tabs-hint {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.ejar-properties-tabnav {
  gap: 0.45rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  display: flex;
}

.ejar-properties-tabnav .nav-item {
  flex-shrink: 0;
}

.ejar-properties-tabnav .nav-link {
  color: var(--text-muted);
  background-color: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.ejar-properties-tabnav .nav-link:hover {
  color: var(--primary-glow);
  border-color: rgba(0, 122, 255, 0.45);
  box-shadow: 0 4px 14px rgba(0, 122, 255, 0.12);
}

.ejar-properties-tabnav .nav-link.active {
  color: #fff;
  background-color: var(--primary-glow);
  border-color: var(--primary-glow);
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.35);
}

.ejar-properties-tabcontent {
  padding-top: 1.25rem;
}

.ejar-properties-tabcontent .tab-pane {
  animation: ejarFloatIn 0.45s ease both;
}

.ejar-properties-listing,
.ejar-property-details-content {
  padding: 20px 0 70px;
}

.ejar-property-card {
  background-color: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
  animation: ejarFloatIn 0.7s ease both;
}

.ejar-property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 122, 255, 0.2);
}

.ejar-property-image-wrap {
  position: relative;
  overflow: hidden;
}

.ejar-property-image-wrap img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.ejar-property-card:hover .ejar-property-image-wrap img {
  transform: scale(1.08);
}

.ejar-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--accent-gold);
  color: var(--text-black);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.ejar-card-status {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--blue-bg);
  color: var(--primary-glow);
  border: 1px solid var(--glass-border);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.ejar-property-content {
  padding: 20px;
}

.ejar-property-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.ejar-property-location {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.ejar-property-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.ejar-property-meta span {
  background-color: var(--blue-bg);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  color: var(--text-main);
  font-size: 0.9rem;
}

.ejar-property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ejar-outline-btn,
.ejar-fill-btn {
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
}

.ejar-outline-btn {
  border: 1px solid var(--primary-glow);
  color: var(--primary-glow);
  background: transparent;
}

.ejar-outline-btn:hover {
  background-color: var(--primary-glow);
  color: #fff;
}

.ejar-fill-btn {
  border: 1px solid var(--primary-glow);
  background-color: var(--primary-glow);
  color: #fff;
}

.ejar-fill-btn:hover {
  filter: brightness(1.08);
}

.ejar-back-link {
  color: var(--primary-glow);
  text-decoration: none;
  font-weight: 700;
}

.ejar-details-gallery,
.ejar-details-card {
  background-color: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
  animation: ejarFloatIn 0.8s ease both;
}

.ejar-details-gallery {
  padding: 16px;
}

.ejar-main-image,
.ejar-thumb {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.ejar-main-image {
  height: 390px;
  margin-bottom: 10px;
}

.ejar-thumb {
  height: 100px;
}

.ejar-details-card {
  padding: 22px;
}

.ejar-details-card h2 {
  font-size: 1.45rem;
  margin: 12px 0;
}

.ejar-details-price {
  font-size: 1.4rem;
  color: var(--primary-glow);
  display: inline-block;
  margin-bottom: 16px;
}

.ejar-details-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.ejar-details-meta span {
  background-color: var(--blue-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 9px 10px;
}

.ejar-details-desc {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}


/* ============================================
  FAQ PAGE
  ============================================ */

.ejar-faq-page {
  background: var(--bg-main);
  min-height: 100vh;
  padding-top: 120px;
  color: var(--text-main);
}

.ejar-faq-hero {
  padding: 40px 0 16px;
}

.ejar-faq-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 10px;
}

.ejar-faq-hero p {
  color: var(--text-muted);
  max-width: 760px;
}

.ejar-faq-content {
  padding: 20px 0 70px;
}

.ejar-faq-side-card {
  background-color: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
  padding: 24px;
}

.ejar-faq-side-card h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.ejar-faq-side-card p {
  color: var(--text-muted);
  line-height: 1.8;
}

.ejar-faq-contact-list {
  margin: 18px 0;
  padding: 0;
}

.ejar-faq-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--glass-border);
}

.ejar-faq-contact-list li:last-child {
  border-bottom: 0;
}

.ejar-faq-contact-list i {
  color: var(--primary-glow);
  font-size: 1.1rem;
}

.ejar-faq-accordion .accordion-item {
  background-color: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px !important;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.ejar-faq-accordion .accordion-button {
  background-color: var(--bg-card);
  color: var(--text-main);
  font-weight: 700;
  box-shadow: none !important;
  padding: 18px 20px;
  line-height: 1.7;
}

.ejar-faq-accordion .accordion-button:not(.collapsed) {
  background-color: var(--blue-bg);
  color: var(--primary-glow);
}

.ejar-faq-accordion .accordion-button::after {
  margin-right: auto;
  margin-left: 0;
}

.ejar-faq-accordion .accordion-body {
  color: var(--text-muted);
  background-color: var(--bg-card);
  padding: 2px 20px 20px;
  line-height: 1.9;
}

.ejar-legal-page {
  background: var(--bg-main);
  min-height: 100vh;
  padding-top: 120px;
  color: var(--text-main);
}

.ejar-legal-hero {
  padding: 40px 0 16px;
}

.ejar-legal-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 10px;
}

.ejar-legal-hero p {
  color: var(--text-muted);
  max-width: 760px;
}

.ejar-legal-content {
  padding: 20px 0 70px;
}

.ejar-legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.ejar-legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background-color: var(--blue-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  font-size: 0.9rem;
}

.ejar-legal-meta i {
  color: var(--primary-glow);
}

.ejar-legal-card,
.ejar-legal-side-card {
  background-color: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
  animation: ejarFloatIn 0.8s ease both;
}

.ejar-legal-card {
  padding: 26px;
}

.ejar-legal-card h2 {
  font-size: 1.2rem;
  margin: 22px 0 10px;
}

.ejar-legal-card h2:first-child {
  margin-top: 0;
}

.ejar-legal-card p {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 0;
}

.ejar-legal-side-card {
  padding: 24px;
}

.ejar-legal-side-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.ejar-legal-side-card p {
  color: var(--text-muted);
  line-height: 1.8;
}

.ejar-legal-contact-list {
  margin: 18px 0;
  padding: 0;
}

.ejar-legal-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--glass-border);
}

.ejar-legal-contact-list li:last-child {
  border-bottom: 0;
}

.ejar-legal-contact-list i {
  color: var(--primary-glow);
  font-size: 1.1rem;
}

@keyframes ejarFloatIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@media (max-width: 991.98px) {

  .ejar-properties-page,
  .ejar-property-details-page,
  .ejar-faq-page,
  .ejar-legal-page {
    padding-top: 100px;
  }

  .ejar-main-image {
    height: 320px;
  }
}

@media (max-width: 767.98px) {
  .ejar-property-meta {
    grid-template-columns: 1fr;
  }

  .ejar-property-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .ejar-property-footer .btn {
    width: 100%;
  }

  .ejar-main-image {
    height: 250px;
  }

  .ejar-thumb {
    height: 78px;
  }

  .ejar-details-meta {
    grid-template-columns: 1fr;
  }

  .ejar-faq-side-card {
    padding: 20px;
  }

  .ejar-faq-accordion .accordion-button {
    padding: 15px 16px;
  }

  .ejar-faq-accordion .accordion-body {
    padding: 0 16px 16px;
  }

  .ejar-legal-card {
    padding: 20px;
  }

  .ejar-legal-side-card {
    padding: 20px;
  }
}

/* ========================================= */
/* Profile Dashboard Styles                  */
/* ========================================= */

.dashboard-body {
  background-color: var(--bg-main) !important;
  color: var(--text-main);
}

/* Layout */
.dashboard-wrapper {
  min-height: 100vh;
}

.dashboard-main {
  background-color: var(--bg-main) !important;
}

/* Sidebar */
.dashboard-sidebar {
  background-color: var(--bg-card);
  border-left: 1px solid var(--glass-border);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.02);
  z-index: 1040;
}

.dashboard-nav-link {
  color: var(--text-muted);
  transition: all 0.3s ease;
  justify-content: start;
  text-decoration: none;
}

.dashboard-nav-link:hover,
.dashboard-nav-link.active {
  color: var(--primary-glow);
  background-color: var(--blue-bg);
}

/* Upgrade Box */
.upgrade-box {
  background: linear-gradient(135deg, var(--primary-glow) 0%, var(--primary-dark) 100%);
  border: 1px solid var(--glass-border);
}

.upgrade-btn {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.upgrade-btn:hover {
  background-color: white !important;
  color: var(--primary-glow) !important;
}

/* Topbar */
.dashboard-header {
  background-color: var(--bg-card) !important;
  border-color: var(--glass-border) !important;
}

.avatar {
  width: 50px;
}

.dashboard-search {
  background-color: var(--bg-main) !important;
}

.search-input {
  outline: none;
  color: var(--text-main);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.action-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-main);
  transition: all 0.3s;
  color: var(--text-muted);
  cursor: pointer;
}

.action-icon:hover {
  background-color: var(--blue-bg);
  color: var(--primary-glow);
}

.user-profile .dropdown-menu {
  z-index: 999 !important;
}

.user-profile figure {
  cursor: pointer;
}

.profile-dropdown-item {
  padding: 8px 15px;
}

.profile-dropdown-item:hover {
  background-color: var(--blue-bg);
  color: var(--primary-glow);
}

.dashboard-content {
  margin-top: 80px;
}


/* Profile Banner */
.profile-banner {
  background: linear-gradient(135deg, var(--blue-bg) 0%, rgba(0, 122, 255, 0.02) 100%);
  background-color: var(--bg-card) !important;
}

.profile-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, var(--blue-bg) 0%, transparent 70%);
  z-index: 0;
}

.profile-name {
  color: var(--text-main);
}

.camera-btn {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  background-color: var(--bg-card) !important;
}

.camera-btn:hover {
  background-color: var(--blue-bg) !important;
  color: var(--primary-glow) !important;
}

.completion-card {
  background-color: var(--bg-card) !important;
  border-color: var(--glass-border) !important;
}

/* Cards */
.dashboard-card {
  background-color: var(--bg-card) !important;
  border-color: var(--glass-border) !important;
}

/* Property Cards */
.dashboard-property-card {
  background-color: var(--bg-card) !important;
  border-color: var(--glass-border) !important;
  transition: transform 0.3s, box-shadow 0.3s;
}

.dashboard-property-card h6.text-dark {
  color: var(--text-main) !important;
}

.dashboard-property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.fav-btn {
  background-color: var(--bg-card) !important;
}

.fav-btn:hover {
  background-color: var(--danger-light) !important;
}

/* Swiper Pagination adjustments */
.fav-pagination .swiper-pagination-bullet,
.suggested-pagination .swiper-pagination-bullet {
  background-color: var(--text-muted);
  opacity: 0.5;
}

.fav-pagination .swiper-pagination-bullet-active,
.suggested-pagination .swiper-pagination-bullet-active {
  background-color: var(--primary-glow);
  opacity: 1;
  width: 20px;
  border-radius: 10px;
}

.suggested-next {
  opacity: 0;
  transition: opacity 0.3s;
  background-color: var(--bg-card) !important;
  color: var(--text-main) !important;
}

.suggestedSwiper:hover .suggested-next {
  opacity: 1;
}

.suggested-next::after {
  font-size: 14px;
}

.hover-bg-light:hover {
  background-color: var(--bg-main) !important;
}

/* text overrides for dark mode support */
.dashboard-wrapper h5.text-dark,
.dashboard-wrapper h6.text-dark {
  color: var(--text-main) !important;
}

.dashboard-wrapper .bg-white {
  background-color: var(--bg-card) !important;
}

.dashboard-wrapper .bg-light {
  background-color: #c5c5c5 !important;
  color: #fff;
}

/* ==================== How It Works Section ==================== */

.howitworks-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--blue-bg) 100%);
    position: relative;
    overflow: hidden;
}

    .howitworks-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 80%;
        height: 200%;
        background: radial-gradient(circle, rgba(0, 122, 255, 0.03) 0%, transparent 70%);
        pointer-events: none;
        border-radius: 50%;
    }

    /* Section Header */
    .howitworks-section .section-header {
        text-align: center;
        margin-bottom: 60px;
    }

    .howitworks-section .sub-title {
        display: inline-block;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: var(--primary-glow);
        background: var(--blue-bg);
        padding: 6px 16px;
        border-radius: 50px;
        margin-bottom: 16px;
    }

    .howitworks-section .main-title {
        font-size: 42px;
        font-weight: 800;
        margin-bottom: 16px;
        color: var(--text-main);
        position: relative;
        display: inline-block;
    }

    .howitworks-section .description {
        font-size: 18px;
        color: var(--text-muted);
        max-width: 600px;
        margin: 0 auto;
    }

    /* Step Card */
    .howitworks-section .step-card {
        background: var(--bg-card);
        border-radius: 24px;
        padding: 40px 28px;
        text-align: center;
        position: relative;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        border: 1px solid var(--glass-border);
        height: 100%;
    }

        .howitworks-section .step-card:hover {
            transform: translateY(-12px);
            box-shadow: 0 25px 50px rgba(0, 122, 255, 0.12);
            border-color: rgba(0, 122, 255, 0.2);
        }

    /* Step Number */
    .howitworks-section .step-number {
        position: absolute;
        top: 20px;
        left: 24px;
        font-size: 48px;
        font-weight: 800;
        background: linear-gradient(135deg, var(--primary-glow), var(--primary-dark));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        opacity: 0.15;
        line-height: 1;
        transition: all 0.3s ease;
    }

    .howitworks-section .step-card:hover .step-number {
        opacity: 0.25;
        transform: scale(1.05);
    }

    /* Step Icon */
    .howitworks-section .step-icon {
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, var(--blue-bg), rgba(0, 122, 255, 0.15));
        border-radius: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 24px;
        transition: all 0.3s ease;
    }

    .howitworks-section .step-card:hover .step-icon {
        background: linear-gradient(135deg, var(--primary-glow), var(--primary-dark));
        transform: scale(1.05) rotate(5deg);
    }

    .howitworks-section .step-icon i {
        font-size: 36px;
        color: var(--primary-glow);
        transition: all 0.3s ease;
    }

    .howitworks-section .step-card:hover .step-icon i {
        color: white;
    }

    /* Step Title */
    .howitworks-section .step-card h3 {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 16px;
        color: var(--text-main);
    }

    /* Step Description */
    .howitworks-section .step-card p {
        font-size: 15px;
        line-height: 1.6;
        color: var(--text-muted);
        margin: 0;
    }

/* Responsive */
@media (max-width: 991px) {
    .howitworks-section {
        padding: 70px 0;
    }

        .howitworks-section .main-title {
            font-size: 34px;
        }

        .howitworks-section .step-card {
            padding: 32px 20px;
        }

        .howitworks-section .step-icon {
            width: 70px;
            height: 70px;
        }

            .howitworks-section .step-icon i {
                font-size: 30px;
            }
}

@media (max-width: 768px) {
    .howitworks-section {
        padding: 50px 0;
    }

        .howitworks-section .main-title {
            font-size: 28px;
        }

        .howitworks-section .description {
            font-size: 16px;
        }

        .howitworks-section .step-card h3 {
            font-size: 20px;
        }

        .howitworks-section .step-number {
            font-size: 36px;
            top: 12px;
            left: 16px;
        }
}
/* ==================== Testimonials Section ==================== */

.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--blue-bg) 100%);
    position: relative;
    overflow: hidden;
}

    .testimonials-section::before {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 60%;
        height: 100%;
        background: radial-gradient(circle, rgba(0, 122, 255, 0.04) 0%, transparent 70%);
        pointer-events: none;
        border-radius: 50%;
    }

    /* Section Header */
    .testimonials-section .section-header {
        text-align: center;
        margin-bottom: 60px;
    }

    .testimonials-section .sub-title {
        display: inline-block;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: var(--primary-glow);
        background: var(--blue-bg);
        padding: 6px 16px;
        border-radius: 50px;
        margin-bottom: 16px;
    }

    .testimonials-section .main-title {
        font-size: 42px;
        font-weight: 800;
        margin-bottom: 16px;
        color: var(--text-main);
    }

    /* Testimonial Card */
    .testimonials-section .testimonial-card {
        background: var(--bg-card);
        border-radius: 32px;
        padding: 48px 32px 40px;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
        border: 1px solid var(--glass-border);
        margin: 20px 0;
        position: relative;
    }

        .testimonials-section .testimonial-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 25px 50px rgba(0, 122, 255, 0.12);
            border-color: rgba(0, 122, 255, 0.2);
        }

        /* Quote icon decoration */
        .testimonials-section .testimonial-card::before {
            content: '"';
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 80px;
            font-weight: 800;
            color: var(--primary-glow);
            opacity: 0.08;
            font-family: serif;
            line-height: 1;
        }

    /* Testimonial Image */
    .testimonials-section .testimonial-img {
        width: 80px;
        height: 80px;
        margin: 0 auto 20px;
        border-radius: 50%;
        overflow: hidden;
        border: 3px solid var(--primary-glow);
        padding: 3px;
        background: white;
        box-shadow: 0 8px 20px rgba(0, 122, 255, 0.15);
        transition: all 0.3s ease;
    }

    .testimonials-section .testimonial-card:hover .testimonial-img {
        transform: scale(1.05);
        border-color: var(--primary-dark);
    }

    .testimonials-section .testimonial-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

    /* Testimonial Text */
    .testimonials-section .testimonial-text {
        font-size: 16px;
        line-height: 1.7;
        color: var(--text-muted);
        margin-bottom: 20px;
        font-style: italic;
        position: relative;
        min-height: 80px;
    }

    /* Name */
    .testimonials-section .testimonial-card h4 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 4px;
        color: var(--text-main);
    }

    /* Role */
    .testimonials-section .testimonial-card span {
        font-size: 13px;
        color: var(--primary-glow);
        font-weight: 500;
        display: inline-block;
        margin-bottom: 12px;
    }

    /* Stars */
    .testimonials-section .testimonial-stars {
        display: flex;
        justify-content: center;
        gap: 4px;
    }

        .testimonials-section .testimonial-stars i {
            font-size: 14px;
            color: var(--accent-gold);
        }

            .testimonials-section .testimonial-stars i.fa-star-half-alt {
                color: var(--accent-gold);
            }

    /* Swiper Customization */
    .testimonials-section .swiper {
        padding: 20px 0 50px !important;
    }

    .testimonials-section .swiper-pagination {
        bottom: 0 !important;
    }

    .testimonials-section .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: var(--text-muted);
        opacity: 0.5;
        transition: all 0.3s ease;
    }

    .testimonials-section .swiper-pagination-bullet-active {
        width: 28px;
        border-radius: 10px;
        background: var(--primary-glow);
        opacity: 1;
    }

/* Responsive */
@media (max-width: 991px) {
    .testimonials-section {
        padding: 70px 0;
    }

        .testimonials-section .main-title {
            font-size: 34px;
        }

        .testimonials-section .testimonial-card {
            padding: 40px 24px 36px;
        }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 50px 0;
    }

        .testimonials-section .main-title {
            font-size: 28px;
        }

        .testimonials-section .testimonial-card {
            padding: 36px 20px 32px;
        }

        .testimonials-section .testimonial-text {
            font-size: 14px;
            min-height: auto;
        }

        .testimonials-section .testimonial-img {
            width: 70px;
            height: 70px;
        }
}

/* ==================== Trust & Safety Section ==================== */

.trust-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--blue-bg) 100%);
    position: relative;
    overflow: hidden;
}

    .trust-section::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1500'%3E%3Cpath fill='rgba(0,122,255,0.02)' d='M0,0 L2000,0 L2000,1500 L0,1500 Z'/%3E%3C/svg%3E") repeat;
        pointer-events: none;
    }

    /* Trust Content */
    .trust-section .trust-content {
        padding-right: 30px;
    }

    .trust-section .sub-title {
        display: inline-block;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: var(--primary-glow);
        background: var(--blue-bg);
        padding: 6px 16px;
        border-radius: 50px;
        margin-bottom: 16px;
    }

    .trust-section .main-title {
        font-size: 42px;
        font-weight: 800;
        margin-bottom: 20px;
        color: var(--text-main);
        line-height: 1.2;
    }

    .trust-section .trust-desc {
        font-size: 16px;
        line-height: 1.7;
        color: var(--text-muted);
        margin-bottom: 30px;
    }

    /* Trust List */
    .trust-section .trust-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .trust-section .trust-list li {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 18px;
            font-size: 15px;
            color: var(--text-main);
            font-weight: 500;
        }

            .trust-section .trust-list li i {
                font-size: 20px;
                color: var(--primary-glow);
                flex-shrink: 0;
                transition: all 0.3s ease;
            }

            .trust-section .trust-list li:hover i {
                transform: scale(1.1);
            }

    /* Trust Stat Cards */
    .trust-section .trust-stat {
        background: var(--bg-card);
        border-radius: 24px;
        padding: 30px 20px;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        border: 1px solid var(--glass-border);
        height: 100%;
    }

        .trust-section .trust-stat:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 122, 255, 0.12);
            border-color: rgba(0, 122, 255, 0.2);
        }

    /* Stat Icon */
    .trust-section .trust-stat-icon {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, var(--blue-bg), rgba(0, 122, 255, 0.12));
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        transition: all 0.3s ease;
    }

    .trust-section .trust-stat:hover .trust-stat-icon {
        background: linear-gradient(135deg, var(--primary-glow), var(--primary-dark));
        transform: rotate(5deg) scale(1.05);
    }

    .trust-section .trust-stat-icon i {
        font-size: 32px;
        color: var(--primary-glow);
        transition: all 0.3s ease;
    }

    .trust-section .trust-stat:hover .trust-stat-icon i {
        color: white;
    }

    /* Stat Numbers */
    .trust-section .trust-stat h3 {
        font-size: 32px;
        font-weight: 800;
        margin-bottom: 8px;
        background: linear-gradient(135deg, var(--text-main), var(--primary-dark));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .trust-section .trust-stat p {
        font-size: 14px;
        color: var(--text-muted);
        margin: 0;
        font-weight: 500;
    }

/* Responsive */
@media (max-width: 991px) {
    .trust-section {
        padding: 70px 0;
    }

        .trust-section .main-title {
            font-size: 34px;
        }

        .trust-section .trust-content {
            padding-right: 0;
            margin-bottom: 40px;
            text-align: center;
        }

        .trust-section .trust-list li {
            justify-content: flex-start;
            text-align: left;
        }

        .trust-section .trust-stat {
            padding: 25px 15px;
        }

            .trust-section .trust-stat h3 {
                font-size: 28px;
            }
}

@media (max-width: 768px) {
    .trust-section {
        padding: 50px 0;
    }

        .trust-section .main-title {
            font-size: 28px;
        }

        .trust-section .trust-desc {
            font-size: 15px;
        }

        .trust-section .trust-list li {
            font-size: 14px;
        }

        .trust-section .trust-stat {
            padding: 20px 12px;
        }

        .trust-section .trust-stat-icon {
            width: 60px;
            height: 60px;
        }

            .trust-section .trust-stat-icon i {
                font-size: 28px;
            }

        .trust-section .trust-stat h3 {
            font-size: 24px;
        }

        .trust-section .trust-stat p {
            font-size: 12px;
        }
}

@media (max-width: 576px) {
    .trust-section .trust-stat {
        margin-bottom: 16px;
    }

    .trust-section .row.g-4 {
        --bs-gutter-y: 1rem;
    }
}

/* ==================== CTA Section ==================== */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-glow) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

    /* Animated background effects */
    .cta-section::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -20%;
        width: 140%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
        animation: pulse 8s ease-in-out infinite;
        pointer-events: none;
    }

    .cta-section::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1500'%3E%3Cpath fill='rgba(255,255,255,0.03)' d='M0,0 L2000,0 L2000,1500 L0,1500 Z'/%3E%3C/svg%3E") repeat;
        pointer-events: none;
    }

@keyframes pulse {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.5;
    }

    50% {
        transform: translate(10%, 5%) rotate(5deg);
        opacity: 0.8;
    }
}

/* CTA Content */
.cta-section .cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-section p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

/* CTA Button */
.cta-section .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--primary-glow);
    border: none;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

    .cta-section .btn-cta::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(0, 122, 255, 0.1);
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
    }

    .cta-section .btn-cta:hover::before {
        width: 300px;
        height: 300px;
    }

    .cta-section .btn-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
        background: white;
        color: var(--primary-dark);
    }

    .cta-section .btn-cta:active {
        transform: translateY(0);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .cta-section .btn-cta i {
        font-size: 20px;
        transition: transform 0.3s ease;
    }

    .cta-section .btn-cta:hover i {
        transform: scale(1.1) rotate(5deg);
    }

/* Responsive */
@media (max-width: 991px) {
    .cta-section {
        padding: 60px 0;
    }

        .cta-section h2 {
            font-size: 34px;
        }

        .cta-section p {
            font-size: 16px;
            padding: 0 20px;
        }

        .cta-section .btn-cta {
            padding: 14px 32px;
            font-size: 16px;
        }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 50px 0;
    }

        .cta-section h2 {
            font-size: 28px;
        }

        .cta-section p {
            font-size: 15px;
            margin-bottom: 24px;
        }

        .cta-section .btn-cta {
            padding: 12px 28px;
            font-size: 15px;
            gap: 8px;
        }

            .cta-section .btn-cta i {
                font-size: 18px;
            }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 40px 0;
    }

        .cta-section h2 {
            font-size: 24px;
        }

        .cta-section p {
            font-size: 14px;
        }

        .cta-section .btn-cta {
            padding: 10px 20px;
            font-size: 14px;
        }
}








/* ============================================= */
/*  MEDIA QUERIES - من الأكبر إلى الأصغر        */
/*  (Desktop First - لأنك تستخدم max-width)     */
/* ============================================= */

/* ---  الأجهزة اللوحية الكبيرة (<= 991.98px) --- */
@media (max-width: 991.98px) {
    /* Contact page */
    .contact-hero {
        padding: 80px 0 50px;
    }

    .contact-info-side {
        margin-top: 0;
    }

    /* About page */
    .about-hero-section {
        padding: 80px 0 60px;
    }

    .about-hero-desc {
        max-width: 100%;
    }

    .about-section-heading-left,
    .about-services-sub {
        text-align: center;
    }

    .about-hero-images {
        max-width: 400px;
        margin: 0 auto;
    }

    /* Dashboard */
    .dashboard-sidebar {
        position: fixed;
        top: 0;
        right: -280px;
        height: 100vh;
        transition: all 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

        .dashboard-sidebar.show {
            right: 0;
        }

    .profile-banner::before {
        display: none;
    }
}

/* ---  الأجهزة اللوحية الصغيرة (<= 767.98px) --- */
@media (max-width: 767.98px) {
    /* Contact page */
    .contact-form-wrapper,
    .contact-info-side {
        padding: 24px 20px;
    }

    .contact-cta-buttons {
        flex-direction: column;
    }

        .contact-cta-buttons .btn {
            width: 100%;
            max-width: 280px;
            margin: 0 auto;
        }

    /* About page */
    .about-hero-section {
        padding: 70px 0 50px;
    }

    .about-hero-images {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
        max-width: 320px;
    }

    .about-hero-img-1 {
        grid-column: 1;
        grid-row: 1;
    }

    .about-hero-img-2 {
        grid-column: 1;
        grid-row: 2;
    }

    .about-hero-img-3 {
        grid-column: 1;
        grid-row: 3;
    }

    .about-hero-img-4 {
        grid-column: 1;
        grid-row: 4;
    }

    .about-achievement-section .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .about-scroll-top {
        width: 44px;
        height: 44px;
        bottom: 16px;
        left: 16px;
    }

    /* Dashboard */
    .profile-banner {
        text-align: center;
    }

    .completion-card {
        margin-top: 1rem;
    }

    .dashboard-search {
        width: 100% !important;
        margin-bottom: 10px;
    }
}

/* ---  الهواتف المتوسطة (<= 575.98px) --- */
@media (max-width: 575.98px) {
    /* Contact page */
    .contact-map-wrapper iframe {
        height: 280px;
    }

    .contact-newsletter-form .input-group {
        flex-direction: column;
        border-radius: 16px;
    }

    .contact-newsletter-btn {
        border-radius: 0 0 16px 16px;
    }

    /* About page */
    .about-achievement-section .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .about-achievement-card {
        max-width: 280px;
        margin: 0 auto;
    }

    /* Dashboard */
    .dashboard-header {
        flex-wrap: wrap;
    }

    .user-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 10px;
    }
}

/* ---  الهواتف الصغيرة جداً (<= 450px) --- */
@media (max-width: 450px) {
    /* header */
    header .container {
        justify-content: space-between !important;
        gap: 10px;
    }

    .primary-btn {
        font-size: 0.8rem;
    }

    nav::before {
        height: 100%;
        width: 110%;
        right: 0px;
        transform: skew(-30deg);
    }

    .toggler-icon {
        background: var(--bg-main) !important;
    }

    .nav-item {
        display: flex;
        justify-content: center;
    }

    .nav-link.active {
        color: var(--bg-main) !important;
        width: fit-content !important;
    }

        .nav-link.active::before {
            background-color: var(--bg-main) !important;
        }

    .navbar-brand {
        width: 150px;
        overflow: hidden;
    }

        .navbar-brand img {
            border-radius: 10px;
        }

    .switch {
        font-size: 11px;
    }

    /* footer */
    .main-footer {
        background-color: var(--primary-glow);
    }

        .main-footer::before {
            width: 0px;
            height: 0%;
        }

    .footer-logo {
        width: 150px;
    }

    .vip-wrapper {
        padding: 30px;
    }
}










@keyframes slideIn {
    from {
        width: 0;
        left: 50%;
    }

    to {
        width: 100%;
        left: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes spiner {
    to {
        transform: rotate(360deg);
    }
}
