@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap");

/* 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;
}

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: #000;
}

/* 1e293b */
/* Dark Mode */
/* [data-theme="dark"] {
  --bg-main: #0b0e14; 
  --bg-card: #161b22; 
  --text-main: #f0f6fc; 
  --text-muted: #8b949e;
  --primary-glow: #38bdf8; 
  --glass-bg: rgba(255, 255, 255, 0.03);
} */

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  transition: 0.3s all ease;
  font-family: "Roboto Slab", sans-serif;
}

.container {
  max-width: 1350px !important;
}

ul {
  list-style: none;
}

img {
  width: 100%;
}

/* ==================== */
/* header */
/* ==================== */
.primary-btn {
  font-weight: bold;
  color: var(--primary-glow);
  background-color: var(--text-main);
  padding: 0.8em 2em;
  border: none;
  border-radius: 0.6rem;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  width: fit-content;
}

.primary-btn span:not(:nth-child(6)) {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 30px;
  width: 30px;
  background-color: var(--bg-main);
  border-radius: 50%;
  transition: 0.6s ease;
}

.primary-btn span:nth-child(6) {
  position: relative;
}

.primary-btn span:nth-child(1) {
  transform: translate(-3.3em, -4em);
}

.primary-btn span:nth-child(2) {
  transform: translate(-6em, 1.3em);
}

.primary-btn span:nth-child(3) {
  transform: translate(-0.8em, 2.5em);
}

.primary-btn span:nth-child(4) {
  transform: translate(5em, 2em);
}

.primary-btn span:nth-child(5) {
  transform: translate(3.5em, -3.8em);
}

.primary-btn:hover span:not(:nth-child(6)) {
  transform: translate(-50%, -50%) scale(10);
  transition: 3s ease;
}

.primary-btn:hover {
  color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.4);
  transition: ease-in-out 0.3s;
}

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: 50vh;
  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: 200px;
}

.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%;
  object-fit: cover;
  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: 40px 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: 80px 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(/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 */
.about-hero-section {
  padding: 100px 0 80px;
}

.about-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--primary-glow);
  margin-bottom: 1rem;
  text-transform: lowercase;
}

.about-hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 480px;
}

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

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

/* Hero images grid - 4 صور زوايا دائرية وحد أزرق */
.about-hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

.about-hero-img {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--primary-glow);
}

.about-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-hero-img-1 {
  grid-column: 1;
  grid-row: 1;
  aspect-ratio: 4/3;
}

.about-hero-img-2 {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 4/3;
}

.about-hero-img-3 {
  grid-column: 1;
  grid-row: 2;
  aspect-ratio: 4/3;
}

.about-hero-img-4 {
  grid-column: 2;
  grid-row: 2;
  aspect-ratio: 4/3;
}

/* Section 2: Our Achievement */
.about-achievement-section {
  background-color: var(--blue-bg);
  padding: 60px 0;
}

.about-section-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--primary-glow);
  margin-bottom: 1rem;
}

.about-achievement-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(0, 122, 255, 0.25);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  height: 100%;
  transition: transform 0.2s, border-color 0.2s;
}

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

.about-achievement-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-glow);
  font-size: 1.5rem;
}

.about-achievement-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.about-achievement-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Section 3: Services */
.about-services-section {
  padding: 60px 0;
}

.about-services-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  text-align: right;
}

.about-service-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(0, 122, 255, 0.25);
  border-radius: 16px;
  padding: 28px 22px;
  height: 100%;
  transition: transform 0.2s, border-color 0.2s;
}

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

.about-service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-glow);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.about-service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.about-service-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Section 4: Team */
.about-team-section {
  background-color: var(--blue-bg);
  padding: 60px 0;
}

.about-team-main-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--primary-glow);
  margin-bottom: 2rem;
}

.about-team-card {
  text-align: center;
  padding: 24px 16px;
}

.about-team-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-glow);
}

.about-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-team-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

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

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

/* Section 6: Blogs */
.about-blogs-section {
  padding: 60px 0 80px;
  background-color: var(--blue-bg);
}

.about-blogs-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.about-blog-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(0, 122, 255, 0.25);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}

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

.about-blog-img {
  aspect-ratio: 2/1;
  overflow: hidden;
}

.about-blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-blog-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  padding: 18px 16px 12px;
  margin-bottom: 0;
  flex: 1;
}

.about-blog-btn {
  margin: 0 16px 16px;
  padding: 10px 20px;
  background-color: var(--primary-glow);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  text-decoration: none;
  display: inline-block;
  width: fit-content;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

/* 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);
}

/* About page responsive */
@media (max-width: 991.98px) {
  .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;
  }
}

@media (max-width: 767.98px) {
  .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;
  }
}

@media (max-width: 575.98px) {
  .about-achievement-section .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

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

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

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

.contact-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;
}

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

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

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

.contact-card {
  display: block;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(0, 122, 255, 0.25);
  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 rgba(0, 122, 255, 0.15);
  color: inherit;
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  background: rgba(0, 122, 255, 0.15);
  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: #fff;
  margin-bottom: 4px;
}

.contact-card-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

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

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

.contact-form-wrapper {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(0, 122, 255, 0.25);
  border-radius: 20px;
  padding: 32px 28px;
}

.contact-form-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.contact-form-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.contact-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;
}

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

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

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

.contact-form .form-label {
  color: rgba(255, 255, 255, 0.9);
  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 rgba(0, 122, 255, 0.4);
}

/* معلومات جانبية */
.contact-info-side {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(0, 122, 255, 0.25);
  border-radius: 20px;
  padding: 28px 24px;
}

.contact-info-side-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  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: rgba(255, 255, 255, 0.9);
}

.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: #fff;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-info-list p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.contact-social-wrap {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-social-wrap span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

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

.contact-social-links 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, transform 0.2s;
}

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

/* 4. الخريطة */
.contact-map-section {
  padding: 60px 0;
}

.contact-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

.contact-map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 122, 255, 0.2);
}

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

/* 5. تيزر الأسئلة الشائعة */
.contact-faq-teaser {
  padding: 50px 0;
  background: rgba(0, 122, 255, 0.06);
}

.contact-faq-desc {
  color: rgba(255, 255, 255, 0.8);
  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;
}

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

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

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

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

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

.contact-newsletter-input:focus {
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  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: #0066dd;
}

/* 7. دعوة للعمل */
.contact-cta-section {
  padding: 50px 0 60px;
}

.contact-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;
}

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

.contact-cta-desc {
  color: rgba(255, 255, 255, 0.85);
  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 rgba(0, 122, 255, 0.4);
}

/* Contact page responsive */
@media (max-width: 991.98px) {
  .contact-hero {
    padding: 80px 0 50px;
  }

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

@media (max-width: 767.98px) {

  .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;
  }
}

@media (max-width: 575.98px) {
  .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;
  }
}

/* ========================= */
/* 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%;
  object-fit: cover;
  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);
}

/* =============================================================================================== */
/* login page */
/* =============================================================================================== */

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  padding: 20px;
  transition: background 0.3s ease;
}

.auth-wrapper {
  width: 100%;
  max-width: 450px;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.auth-header {
  text-align: center;
  margin-bottom: 40px;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #53afff, #3a8fd4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 24px;
  transition: var(--transition);
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.logo-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.logo-image {
  max-width: 180px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-image:hover {
  transform: scale(1.05);
}

/* Logo in auth pages (login, signup, signin) */
.auth-header .logo-image {
  max-width: 150px;
  margin-bottom: 10px;
}

/* Logo in payment page */
.payment-header .logo-image {
  max-width: 140px;
}

/* Logo in contact page */
.contact-header .logo-image {
  max-width: 140px;
}

/* ============================================
   TAB NAVIGATION
   ============================================ */

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--border-color);
  position: relative;
  transition: border-color 0.3s ease;
}

.auth-tab {
  flex: 1;
  padding: 15px 20px;
  text-align: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
}

.auth-tab:hover {
  color: var(--primary-blue);
}

.auth-tab.active {
  color: var(--primary-blue);
}

.auth-tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-blue);
  animation: slideIn 0.3s ease-out;
}

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

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

/* ============================================
   FORM STYLES
   ============================================ */

.auth-form {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-align: left;
  transition: color 0.3s ease;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-dark);
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  transition: var(--transition);
}

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

.form-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(83, 175, 255, 0.15);
  background-color: #ffffff;
}

.form-input:hover {
  border-color: var(--primary-blue);
}

/* ============================================
   CHECKBOX & ICON TOGGLE
   ============================================ */

.form-checkbox-group {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-blue);
}

.icon-toggle {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.icon-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-color);
  background-color: transparent;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}

.icon-btn:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background-color: rgba(83, 175, 255, 0.08);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #53afff, #3a8fd4);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 20px;
  font-family: "Poppins", sans-serif;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(83, 175, 255, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-secondary {
  width: 100%;
  padding: 12px 20px;
  background-color: transparent;
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 12px;
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-secondary:hover {
  background-color: rgba(83, 175, 255, 0.1);
  transform: translateY(-2px);
}

/* ============================================
   DIVIDER
   ============================================ */

.divider-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 30px 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: var(--border-color);
  transition: background-color 0.3s ease;
}

.divider-text {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

/* ============================================
   SOCIAL LOGIN
   ============================================ */

.social-login {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: "Poppins", sans-serif;
}

.social-btn:hover {
  border-color: var(--primary-blue);
  background-color: rgba(83, 175, 255, 0.08);
  transform: translateY(-2px);
}

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

/* ============================================
   FOOTER TEXT
   ============================================ */

.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.auth-footer a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* ============================================
   FORGOT LINK
   ============================================ */

.forgot-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.forgot-link:hover {
  text-decoration: underline;
  color: #3a8fd4;
}

/* ============================================
   SIGN IN FOOTER GROUP
   ============================================ */

.signin-footer-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 30px;
}

.create-account-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.create-account-link:hover {
  text-decoration: underline;
  color: #3a8fd4;
}

.signin-footer-group .btn-primary {
  margin-top: 0;
  min-width: 120px;
  padding: 10px 20px;
}

/* ============================================
   ALERT STYLES
   ============================================ */

.alert {
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.alert-danger {
  background-color: rgba(220, 53, 69, 0.1);
  border: 1px solid #dc3545;
  color: #c92a2a;
}

.alert-success {
  background-color: rgba(40, 167, 69, 0.1);
  border: 1px solid #28a745;
  color: #2d7a3d;
}

/* ============================================
   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;
}

@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 {
    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;
  }
}
/* Loading Overlay */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}



/* ======================== */
/* Properties Page Styles */
/* ======================== */

.properties-page {
    padding: 30px 0;
    background: var(--bg-main);
    min-height: 100vh;
}

/* Filter Sidebar */
.filter-sidebar {
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.filter-sidebar-title {
    font-weight: 800;
    color: var(--text-main);
    border-bottom: 2px solid var(--primary-glow);
    padding-bottom: 12px;
    font-size: 1.2rem;
}

.filter_title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.filter-select {
    background: var(--bg-main);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 13px;
    padding: 10px 12px;
}

    .filter-select:focus {
        border-color: var(--primary-glow);
        box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
    }

/* Price Range Slider */
.price_range {
    position: relative;
    padding-top: 8px;
}

.range_track {
    position: relative;
    height: 4px;
    border-radius: 999px;
    background: rgba(0, 122, 255, 0.2);
    overflow: hidden;
    margin: 14px 2px 18px;
}

.range_fill {
    position: absolute;
    height: 100%;
    left: 0;
    right: 0;
    background: var(--primary-glow);
}

.range_input {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    top: 10px;
    margin: 0;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    height: 30px;
}

    .range_input::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        pointer-events: auto;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: var(--primary-glow);
        border: 3px solid var(--bg-card);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        cursor: pointer;
    }

    .range_input::-webkit-slider-runnable-track {
        -webkit-appearance: none;
        appearance: none;
        height: 4px;
        background: transparent;
    }

.range_values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-main);
    font-size: 12px;
    font-weight: 600;
}

/* Property Cards */
.property-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--glass-border);
    height: 100%;
}

    .property-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 122, 255, 0.15);
        border-color: var(--primary-glow);
    }

.card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    z-index: 2;
}

.bg-primary {
    background: var(--primary-glow);
}

.bg-success {
    background: #28a745;
}

.bg-warning {
    background: #ffc107;
    color: #333;
}

.card-body {
    padding: 20px;
}

.property-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-glow);
    margin-bottom: 8px;
}

    .property-price small {
        font-size: 12px;
        font-weight: normal;
        color: var(--text-muted);
    }

.property-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.property-location {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.property-features {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-top: 10px;
    border-top: 1px solid var(--glass-border);
    font-size: 13px;
    color: var(--text-muted);
}

.btn-details {
    display: block;
    text-align: center;
    padding: 10px;
    background: transparent;
    border: 2px solid var(--primary-glow);
    color: var(--primary-glow);
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 13px;
}

    .btn-details:hover {
        background: var(--primary-glow);
        color: white;
        text-decoration: none;
    }

/* List View */
.properties-grid.list-view .property-item {
    flex: 0 0 100%;
    max-width: 100%;
}

.properties-grid.list-view .property-card {
    display: flex;
    flex-direction: row;
}

.properties-grid.list-view .card-img {
    width: 280px;
    height: 200px;
    flex-shrink: 0;
}

.properties-grid.list-view .card-body {
    flex: 1;
}

@media (max-width: 768px) {
    .properties-grid.list-view .property-card {
        flex-direction: column;
    }

    .properties-grid.list-view .card-img {
        width: 100%;
    }
}

/* Sort and View Buttons */
#sortSelect {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    border-radius: 30px;
    font-size: 13px;
    padding: 5px 12px;
}

    #sortSelect:focus {
        border-color: var(--primary-glow);
        box-shadow: none;
    }

.btn-group .btn-outline-primary {
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    background: var(--bg-card);
}

    .btn-group .btn-outline-primary:hover,
    .btn-group .btn-outline-primary.active {
        background: var(--primary-glow);
        border-color: var(--primary-glow);
        color: white;
    }

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 0;
}

    .no-results i {
        font-size: 64px;
        color: var(--text-muted);
        margin-bottom: 20px;
    }

/* Sticky Sidebar */
.sticky-top {
    position: sticky;
    top: 100px;
    z-index: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .properties-page {
        padding: 20px 0;
    }

    .filter-sidebar {
        margin-bottom: 30px;
    }

    .sticky-top {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .property-price {
        font-size: 18px;
    }

    .property-title {
        font-size: 16px;
    }

    .property-features {
        gap: 10px;
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .card-img {
        height: 180px;
    }

    .property-price {
        font-size: 16px;
    }
}

/* ======================== */
/* Property Details Page */
/* ======================== */

.details-dashbord {
    padding: 30px 0;
    background: var(--bg-main);
    min-height: 100vh;
}

    .details-dashbord .card {
        background: var(--bg-card);
        border: 1px solid var(--glass-border);
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .details-dashbord .title-cards {
        color: var(--text-main);
        font-weight: 800;
    }

.student-box-data {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .student-box-data li {
        display: flex;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid var(--glass-border);
        font-size: 14px;
        color: var(--text-main);
    }

        .student-box-data li:last-child {
            border-bottom: none;
        }

        .student-box-data li i {
            width: 30px;
            color: var(--primary-glow);
            font-size: 18px;
        }

.item-name {
    font-weight: 600;
    margin-left: 5px;
}

.item-result {
    color: var(--text-muted);
    margin-right: 5px;
}

.description {
    line-height: 1.8;
    color: var(--text-main);
}

/* Swiper Gallery */
.propertySwiper {
    width: 100%;
    border-radius: 16px;
}

    .propertySwiper .swiper-slide img {
        border-radius: 16px;
    }

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-glow);
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

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

.swiper-pagination-bullet-active {
    background: var(--primary-glow);
}

/* Features Swiper */
.featuresSwiper .swiper-slide {
    width: auto;
}

.featuresSwiper .Quick_Links {
    background: var(--blue-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
}

    .featuresSwiper .Quick_Links:hover {
        background: var(--primary-glow);
        color: white;
        border-color: var(--primary-glow);
    }

/* Action Buttons */
.details-dashbord .btn-success,
.details-dashbord .btn-info,
.details-dashbord .btn-secondary {
    border-radius: 50px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .details-dashbord {
        padding: 20px 0;
    }

    .student-box-data li {
        font-size: 12px;
        flex-wrap: wrap;
    }

        .student-box-data li i {
            width: 25px;
            font-size: 14px;
        }

    .description {
        font-size: 14px;
    }
}



/* Utilities */
.bg-primary {
    background: var(--primary-glow) !important;
}

.bg-success {
    background: #28a745 !important;
}

.bg-warning {
    background: #ffc107 !important;
    color: #333 !important;
}

.bg-danger {
    background: #dc3545 !important;
}

.bg-info {
    background: #17a2b8 !important;
}

.text-primary {
    color: var(--primary-glow) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.btn-primary {
    background: var(--primary-glow) !important;
    border: none !important;
}

    .btn-primary:hover {
        background: #0066dd !important;
        transform: translateY(-2px);
    }

.btn-outline-primary {
    border: 1px solid var(--primary-glow) !important;
    color: var(--primary-glow) !important;
}

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