/* ============================================
   وكالة المحمودي - الأنماط الرئيسية
   ============================================ */

/* === Fonts === */
@font-face { font-family:'Expo Arabic'; src:url('../fonts/expo-arabic-light.ttf') format('truetype'); font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:'Expo Arabic'; src:url('../fonts/expo-arabic-book.ttf') format('truetype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Expo Arabic'; src:url('../fonts/expo-arabic-medium.ttf') format('truetype'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Expo Arabic'; src:url('../fonts/expo-arabic-semibold.ttf') format('truetype'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Expo Arabic'; src:url('../fonts/expo-arabic-bold.otf') format('opentype'); font-weight:700; font-style:normal; font-display:swap; }

/* === Variables === */
:root {
  --primary: #5a2f58;
  --primary-light: #7a4f78;
  --primary-dark: #3d1e3b;
  --secondary: #e5d4e2;
  --secondary-light: #f0e8ef;
  --bg: #f8f5f8;
  --bg-white: #ffffff;
  --dark: #2a1228;
  --text: #3d1e3b;
  --text-light: #7a4f78;
  --text-muted: #a88da6;
  --white: #ffffff;
  --border: #e5d4e2;
  --shadow: 0 4px 30px rgba(90,47,88,0.08);
  --shadow-lg: 0 10px 50px rgba(90,47,88,0.12);
  --shadow-card: 0 5px 25px rgba(90,47,88,0.07);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  --font: 'Expo Arabic', 'Segoe UI', Tahoma, sans-serif;
  --navbar-bg: rgba(255, 255, 255, 0.95);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --cookie-bg: #2a1228;
  
  /* Premium Corporate Glow Tokens */
  --glow-primary: rgba(90, 47, 88, 0.05);
  --glow-secondary: rgba(122, 79, 120, 0.04);
}

[data-theme="dark"] {
  --bg: #140b13;
  --bg-white: #1e101d;
  --white: #1e101d;
  --dark: #ffffff;
  --text: #f0e8ef;
  --text-light: #cbb8c9;
  --text-muted: #8e708a;
  --border: #321b30;
  --shadow: 0 4px 30px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 50px rgba(0,0,0,0.5);
  --shadow-card: 0 5px 25px rgba(0,0,0,0.25);
  --navbar-bg: rgba(30, 16, 29, 0.95);
  --glass-bg: rgba(30, 16, 29, 0.65);
  --glass-border: rgba(255, 255, 255, 0.06);
  --cookie-bg: #1e101d;
  --secondary-light: #261525;
  
  /* Dark Premium Glow Tokens */
  --glow-primary: rgba(122, 79, 120, 0.08);
  --glow-secondary: rgba(90, 47, 88, 0.06);
}


/* === Reset === */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body { font-family:var(--font); background:var(--bg); color:var(--text); direction:rtl; text-align:right; line-height:1.8; overflow-x:clip; }
a { text-decoration:none; color:inherit; transition:var(--transition); }
ul,ol { list-style:none; }
img { max-width:100%; height:auto; display:block; }
button,input,textarea,select { font-family:var(--font); outline:none; border:none; }
button { cursor:pointer; }
.container { max-width:1240px; margin:0 auto; padding:0 20px; }

/* === Buttons === */
.btn { display:inline-flex; align-items:center; gap:8px; padding:14px 32px; border-radius:50px; font-weight:600; font-size:15px; transition:var(--transition); position:relative; overflow:hidden; }
.btn::before { content:''; position:absolute; top:0; left:-100%; width:100%; height:100%; background:linear-gradient(90deg,transparent,rgba(255,255,255,0.2),transparent); transition:0.5s; }
.btn:hover::before { left:100%; }
.btn-primary { background:var(--primary); color:#ffffff; box-shadow:0 4px 20px rgba(90,47,88,0.3); }
.btn-primary:hover { background:var(--primary-dark); transform:translateY(-2px); box-shadow:0 8px 30px rgba(90,47,88,0.4); }
.btn-outline { border:2px solid var(--primary); color:var(--primary); background:transparent; }
.btn-outline:hover { background:var(--primary); color:#ffffff; transform:translateY(-2px); }
.btn-white { background:var(--white); color:var(--primary); }
.btn-white:hover { background:var(--secondary-light); transform:translateY(-2px); }
.btn-sm { padding:10px 24px; font-size:14px; }

/* === Section === */
.section { padding:100px 0; position:relative; }
.section-title { text-align:center; margin-bottom:60px; }
.section-title .subtitle { color:var(--primary); font-size:17px; font-weight:700; margin-bottom:10px; display:flex; align-items:center; justify-content:center; gap:10px; }
.section-title .subtitle::before,.section-title .subtitle::after { content:''; width:40px; height:2px; background:var(--primary); }
.section-title h2 { font-size:36px; font-weight:700; color:var(--dark); margin-bottom:15px; }
.section-title p { color:var(--text-light); font-size:16px; max-width:600px; margin:0 auto; }

/* === Navbar === */
.navbar { position:fixed; top:0; right:0; left:0; z-index:1000; padding:15px 0; transition:var(--transition); }
.navbar.scrolled { background:var(--navbar-bg); backdrop-filter:blur(20px); box-shadow:var(--shadow); padding:10px 0; }
.navbar-container { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; width:100%; max-width:100%; padding:0 40px; }
/* Navbar Brand with Integrated Horizontal Logo */
.navbar-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  justify-content: flex-start;
  justify-self: start;
  transition: transform 0.16s cubic-bezier(0.23, 1, 0.32, 1);
}
.navbar-brand:active {
  transform: scale(0.97);
}
.navbar-brand-logo {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(42, 18, 40, 0.12));
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.navbar-brand-logo.logo-dark-mode {
  display: none !important;
}
.navbar-brand-logo.logo-light-mode {
  display: block !important;
}

[data-theme="dark"] .navbar-brand-logo.logo-light-mode {
  display: none !important;
}
[data-theme="dark"] .navbar-brand-logo.logo-dark-mode {
  display: block !important;
  filter: drop-shadow(0 2px 10px rgba(229, 212, 226, 0.25));
}
.navbar-nav { display:flex; align-items:center; justify-content:center; justify-self:center; gap:20px; margin:0; padding:0; }
.navbar-nav a { color:var(--dark); font-weight:600; font-size:13.8px; position:relative; padding:5px 0; transition:var(--transition); white-space:nowrap; }
.navbar-nav a::after { content:''; position:absolute; bottom:0; right:0; width:0; height:2px; background:var(--primary); transition:var(--transition); }
.navbar-nav a:hover::after,.navbar-nav a.active::after { width:100%; }
.navbar-nav a.active { color:var(--primary); }

/* Helpers for Desktop/Mobile Client Links visibility */
.mobile-only-link { display:none !important; }
.desktop-only-link { display:inline-block !important; }

/* Language toggle button custom styling */
.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(90, 47, 88, 0.06);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 800;
  border: 1px solid rgba(90, 47, 88, 0.12);
  text-decoration: none;
  transition: var(--transition);
}
.lang-toggle-btn:hover {
  transform: translateY(-2px);
  background: rgba(90, 47, 88, 0.12);
}
[data-theme="dark"] .lang-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}
[data-theme="dark"] .lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Secondary Client Portal login button styling */
.client-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border-radius: 50px;
  background: rgba(90, 47, 88, 0.06);
  color: var(--primary);
  font-weight: 700;
  font-size: 13.5px;
  transition: var(--transition);
  border: 1px solid rgba(90, 47, 88, 0.12);
  text-decoration: none;
}
.client-portal-btn:hover {
  background: rgba(90, 47, 88, 0.12);
  transform: translateY(-2px);
}
[data-theme="dark"] .client-portal-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}
[data-theme="dark"] .client-portal-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Premium Client profile dropdown */
.client-profile-dropdown {
  position: relative;
  display: inline-block;
}
.client-profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 50px;
  background: rgba(90, 47, 88, 0.06);
  border: 1px solid rgba(90, 47, 88, 0.12);
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.client-profile-trigger:hover {
  background: rgba(90, 47, 88, 0.12);
  transform: translateY(-2px);
}
[data-theme="dark"] .client-profile-trigger {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}
[data-theme="dark"] .client-profile-trigger:hover {
  background: rgba(255, 255, 255, 0.15);
}
.client-profile-trigger i.fa-user-circle {
  font-size: 16px;
}
.client-profile-trigger i.caret {
  font-size: 10px;
  transition: transform 0.3s ease;
}
.client-profile-dropdown:hover .client-profile-trigger i.caret {
  transform: rotate(180deg);
}

.client-dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
}
html[dir="rtl"] .client-dropdown-menu {
  left: auto;
  right: 0;
}
.client-profile-dropdown:hover .client-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.client-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: var(--dark);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  text-align: right;
}
html[dir="ltr"] .client-dropdown-menu a {
  text-align: left;
}
.client-dropdown-menu a:hover {
  background: rgba(90, 47, 88, 0.05);
  color: var(--primary);
}
[data-theme="dark"] .client-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.client-dropdown-menu a.logout-link {
  color: #ff6b6b;
}
.client-dropdown-menu a.logout-link:hover {
  background: rgba(255, 107, 107, 0.08);
}
.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

.navbar-cta-group { display:flex; align-items:center; justify-content:flex-end; justify-self:end; gap:12px; margin:0; }
.navbar-cta { display:flex; align-items:center; gap:12px; }
.navbar-cta .btn { white-space:nowrap; display:inline-flex; align-items:center; justify-content:center; height:40px; padding:0 24px; font-size:13.5px; border-radius:50px; font-weight:700; box-shadow:0 4px 15px rgba(90,47,88,0.15); }
.menu-toggle { display:none; flex-direction:column; gap:5px; background:none; padding:5px; }
.menu-toggle span { width:25px; height:2px; background:var(--dark); transition:var(--transition); }

/* === Hero === */
.hero { min-height:100vh; display:flex; align-items:center; padding-top:80px; background:var(--bg); position:relative; overflow:hidden; }
.hero .container { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; }
.hero-content { position:relative; z-index:2; }
.hero-content h1 { font-size:52px; font-weight:700; color:var(--dark); line-height:1.3; margin-bottom:20px; }
.hero-content h1 span { color:var(--primary); }
.hero-content p { font-size:17px; color:var(--text-light); margin-bottom:35px; max-width:500px; line-height:1.9; }
.hero-buttons { display:flex; gap:15px; margin-bottom:40px; }
.hero-stats { display:flex; gap:30px; }
.hero-stat { text-align:center; }
.hero-stat .number { font-size:28px; font-weight:700; color:var(--primary); }
.hero-stat .label { font-size:13px; color:var(--text-light); }
.hero-image { position:relative; display:flex; justify-content:center; align-items:center; }
.hero-image img { max-height:550px; object-fit:contain; animation:float 6s ease-in-out infinite; position:relative; z-index:2; }
.hero-video-btn { position:absolute; bottom:40px; right:40px; width:60px; height:60px; background:var(--white); border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-lg); z-index:3; color:var(--primary); font-size:20px; }
.hero-video-btn:hover { transform:scale(1.1); }

/* Floating elements */
.floating-circle { position:absolute; border-radius:50%; background:var(--primary); opacity:0.1; animation:float 8s ease-in-out infinite; }
.floating-circle:nth-child(1) { width:200px; height:200px; top:10%; left:5%; }
.floating-circle:nth-child(2) { width:100px; height:100px; bottom:20%; right:10%; animation-delay:2s; }
.floating-circle:nth-child(3) { width:60px; height:60px; top:30%; right:20%; animation-delay:4s; opacity:0.2; }
.floating-dot { position:absolute; width:10px; height:10px; border-radius:50%; background:var(--primary); opacity:0.3; }

@keyframes float { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-20px); } }
@keyframes floatSlow { 0%,100%{ transform:translateY(0) rotate(0deg); } 50%{ transform:translateY(-15px) rotate(5deg); } }

/* === Services === */
.services-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  grid-auto-rows: minmax(190px, auto);
  grid-auto-flow: dense;
  gap: 25px; 
  position: relative; 
  z-index: 2; 
}
.services-grid.cols-3 { grid-template-columns:repeat(3,1fr); }
.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: var(--radius);
  padding: 30px 25px;
  text-align: start; /* Right-align in Arabic, left-align in English */
  border: 1px solid var(--glass-border);
  transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.45s ease, border-color 0.45s ease;
  position: relative;
  overflow: hidden;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(90, 47, 88, 0.4), transparent 60%, rgba(122, 79, 120, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(90, 47, 88, 0.25);
  box-shadow: 0 20px 40px rgba(90, 47, 88, 0.08), 0 0 20px rgba(90, 47, 88, 0.05);
}
.service-card:hover::after {
  opacity: 1;
}
.service-card .icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(90, 47, 88, 0.08), rgba(122, 79, 120, 0.05));
  border: 1px solid rgba(90, 47, 88, 0.12);
  box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px 0; /* Aligned to the start */
  font-size: 24px;
  color: var(--primary);
  transition: var(--transition);
}
[data-theme="dark"] .service-card .icon {
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.05);
}
.service-card:hover .icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #ffffff;
  transform: translateY(-3px) rotateY(180deg);
  box-shadow: 0 10px 20px rgba(90, 47, 88, 0.3);
}
.service-card-info { display: block; }
.service-card h3 { font-size:18px; font-weight:700; color:var(--dark); margin-bottom:10px; transition: color 0.3s ease; }
.service-card:hover h3 { color: var(--primary-light); }
.service-card p { font-size:13.5px; color:var(--text-light); line-height:1.75; }

/* Bento Spans */
.service-card.tall {
  grid-row: span 2;
  min-height: 405px;
  justify-content: space-between;
}
.service-card.wide {
  grid-column: span 2;
}
.service-card.square {
  min-height: 190px;
}
.service-quote {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-style: italic;
  font-size: 12.5px;
  color: var(--primary-light);
  opacity: 0.85;
  line-height: 1.6;
}

/* Custom adjustments for 3-column services grid in pages/services.php */
.services-grid.cols-3 .service-card { padding: 40px 30px; text-align: right; }
.services-grid.cols-3 .service-card .icon { margin: 0 0 20px 0; }

/* === Portfolio & Services Filter === */
.portfolio-filter, .services-filter { display:flex; justify-content:center; gap:15px; margin-bottom:40px; flex-wrap:wrap; }
.portfolio-filter button, .services-filter button { padding:10px 25px; border-radius:50px; background:var(--white); color:var(--text); font-weight:500; border:1px solid var(--border); transition:var(--transition); font-size:14px; cursor: pointer; }
.portfolio-filter button.active, .portfolio-filter button:hover, .services-filter button.active, .services-filter button:hover { background:var(--primary); color:#ffffff; border-color:var(--primary); }
.portfolio-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:25px; }
.portfolio-card {
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--glass-border);
  transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.45s ease, border-color 0.45s ease;
  z-index: 2;
  box-shadow: var(--shadow-card);
}
.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(-25deg);
  transition: 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 4;
  pointer-events: none;
}
.portfolio-card:hover::before {
  left: 150%;
}
.portfolio-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(90, 47, 88, 0.35), transparent 60%, rgba(122, 79, 120, 0.35));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.portfolio-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(90, 47, 88, 0.2);
  box-shadow: 0 20px 40px rgba(90, 47, 88, 0.08), 0 0 25px rgba(90, 47, 88, 0.05);
}
.portfolio-card:hover::after {
  opacity: 1;
}

/* Staggered Gentle Floating Animation for Swiper Slides */
.portfolio-swiper .swiper-slide {
  animation: cardFloat 6s ease-in-out infinite;
}
.portfolio-swiper .swiper-slide:nth-child(2n) {
  animation-duration: 7s;
  animation-delay: -2s;
}
.portfolio-swiper .swiper-slide:nth-child(3n) {
  animation-duration: 8s;
  animation-delay: -4s;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.portfolio-card .image {
  height: 280px;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--secondary-light);
}
.portfolio-card .image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 4.5s ease-in-out;
  transform-origin: top;
}
.portfolio-card:hover .image img {
  transform: translateY(min(0px, calc(-100% + 280px)));
}
.portfolio-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-placeholder i {
  font-size: 50px;
  color: rgba(255, 255, 255, 0.3);
}
.portfolio-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(42, 18, 40, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  z-index: 10;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.portfolio-card:hover .portfolio-badge {
  background: var(--primary);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 20px rgba(90, 47, 88, 0.35);
  transform: translateY(-2px);
}
.portfolio-number {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 24px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.25);
  font-family: 'Segoe UI', Tahoma, sans-serif;
  z-index: 10;
  transition: var(--transition);
  letter-spacing: 0.5px;
}
.portfolio-card:hover .portfolio-number {
  color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}
.portfolio-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 16, 32, 0.45); /* Translucent dark overlay so mockup is clearly visible */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.portfolio-card:hover .overlay {
  opacity: 1;
}
.overlay-btn {
  padding: 10px 24px;
  background: #ffffff;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s, color 0.3s;
}
.portfolio-card:hover .overlay-btn {
  transform: scale(1);
}
.portfolio-card:hover .overlay-btn:hover {
  background: var(--primary);
  color: #ffffff;
}
.portfolio-card .card-body {
  padding: 24px 22px;
  background: transparent;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
  flex-grow: 1;
}
.portfolio-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}
.portfolio-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.45;
  transition: var(--transition);
  margin: 0;
}
.portfolio-card:hover .portfolio-title {
  color: var(--primary-light);
}
.portfolio-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
  transition: gap 0.35s ease, color 0.35s ease;
}
.portfolio-cta i {
  font-size: 11px;
  transition: transform 0.35s ease;
}
.portfolio-card:hover .portfolio-cta {
  color: var(--primary-light);
  gap: 14px;
}
.portfolio-card:hover .portfolio-cta i {
  transform: translateX(-6px);
}


/* Swiper Active Pagination Bullets Style */
.portfolio-swiper .swiper-pagination {
  position: relative;
  margin-top: 30px;
  bottom: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.portfolio-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--text-muted);
  opacity: 0.3;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.portfolio-swiper .swiper-pagination-bullet-active {
  background: var(--primary);
  opacity: 1;
  width: 28px;
  border-radius: 6px;
}
.portfolio-swipe-hint {
  display: none;
}

/* === Stats Banner === */
.stats-banner { background:linear-gradient(135deg,#1d1020 0%,#5a2f58 100%); padding:60px 0; position:relative; z-index:3; }
.stats-banner::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(90,47,88,0.3),transparent); pointer-events:none; }
.stats-banner .container { display:flex; justify-content:space-around; flex-wrap:wrap; gap:30px; }
.stat-item { text-align:center; color:#ffffff; }
.stat-item .icon { font-size:24px; color:var(--secondary); margin-bottom:10px; }
.stat-item .number { font-size:40px; font-weight:700; margin-bottom:5px; }
.stat-item .label { font-size:14px; color:var(--secondary); }

/* === Partners Marquee === */
.partners-section { padding: 50px 0 30px; background: transparent; overflow: hidden; }
.partners-section .section-title { margin-bottom: 25px; }
.marquee-wrapper { width: 100%; overflow: hidden; position: relative; direction: ltr !important; }
.marquee-wrapper::before, .marquee-wrapper::after { content: ''; position: absolute; top: 0; width: 120px; height: 100%; z-index: 2; pointer-events: none; }
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.marquee-track { display: flex; align-items: center; gap: 80px; animation: marqueeScroll 25s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  transition: transform 0.3s;
}
.marquee-item img {
  height: 110px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.3s;
}
.marquee-item:hover img {
  opacity: 1;
  transform: scale(1.08);
}
@keyframes marqueeScroll { 0%{transform:translate3d(0, 0, 0);} 100%{transform:translate3d(-25%, 0, 0);} }

/* === Icon Fix === */
.service-card .icon i,
.stat-item .icon i,
.value-card .icon i { display:inline-block; font-style:normal; line-height:1; }

/* === CTA === */
.cta-section { background:linear-gradient(135deg,#1d1020 0%,#5a2f58 50%,#3d1e3b 100%); padding:100px 0; position:relative; overflow:hidden; }
.cta-section::before { content:''; position:absolute; inset:0; background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E"); }
.cta-stars { position:absolute; inset:0; pointer-events:none; z-index:1; }
.cta-star { position:absolute; width:3px; height:3px; background:rgba(229,212,226,0.6); border-radius:50%; animation:ctaTwinkle 3s ease-in-out infinite; }
.cta-star-lg { width:5px; height:5px; background:rgba(229,212,226,0.4); box-shadow:0 0 10px rgba(229,212,226,0.3); }
@keyframes ctaTwinkle { 0%,100%{opacity:0.3;transform:scale(1);} 50%{opacity:1;transform:scale(1.5);} }
.cta-section .container { display:flex; align-items:center; justify-content:space-between; gap:60px; position:relative; z-index:2; }
.cta-content { color:#ffffff; max-width:500px; text-align:right; }
.cta-content h2 { font-size:40px; font-weight:700; margin-bottom:15px; line-height:1.4; }
.cta-content p { font-size:17px; color:#e5d4e2; margin-bottom:35px; line-height:1.8; }
.cta-image { flex-shrink:0; position:relative; max-width:480px; }
.cta-image img { width:100%; border-radius:var(--radius-lg); animation:float 6s ease-in-out infinite; box-shadow:0 20px 60px rgba(0,0,0,0.3); }

/* === Footer === */
.footer { background:#2a1228; color:#ffffff; padding:80px 0 30px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; margin-bottom:50px; }
.footer-col h3 { font-size:18px; font-weight:600; margin-bottom:20px; position:relative; padding-bottom:10px; }
.footer-col h3::after { content:''; position:absolute; bottom:0; right:0; width:40px; height:2px; background:#e5d4e2; }
.footer-col p { color:#c4a8c1; font-size:14px; line-height:1.8; }
.footer-col ul li { margin-bottom:10px; }
.footer-col ul li a { color:#c4a8c1; font-size:14px; transition:var(--transition); }
.footer-col ul li a:hover { color:#e5d4e2; padding-right:5px; }
.footer-social { display:flex; gap:10px; margin-top:20px; }
.footer-social a { width:40px; height:40px; border-radius:50%; background:rgba(229,212,226,0.15); display:flex; align-items:center; justify-content:center; color:#e5d4e2; transition:var(--transition); }
.footer-social a:hover { background:#5a2f58; transform:translateY(-3px); }
.footer-bottom { border-top:1px solid rgba(229,212,226,0.15); padding-top:25px; display:flex; justify-content:space-between; align-items:center; }
.footer-bottom p { color:#a88da6; font-size:13px; }

/* === About Page === */
.page-hero { padding:160px 0 80px; background:var(--bg); text-align:center; position:relative; overflow:hidden; }
.page-hero h1 { font-size:42px; font-weight:700; color:var(--dark); margin-bottom:15px; }
.page-hero p { font-size:17px; color:var(--text-light); max-width:600px; margin:0 auto; }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.about-image img { border-radius:var(--radius-lg); }
.about-content h2 { font-size:32px; font-weight:700; color:var(--dark); margin-bottom:20px; }
.values-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:25px; margin-top:60px; }
.value-card { text-align:center; padding:30px 20px; background:var(--white); border-radius:var(--radius); border:1px solid var(--border); transition:var(--transition); }
.value-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.value-card .icon { width:60px; height:60px; background:var(--secondary-light); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 15px; font-size:24px; color:var(--primary); }
.value-card h3 { font-size:16px; font-weight:600; color:var(--dark); }

/* === Profile Downloads === */
.profile-cards { display:flex; justify-content:center; gap:25px; flex-wrap:wrap; }
.profile-card { display:flex; align-items:center; gap:20px; background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:25px 30px; min-width:300px; transition:var(--transition); text-decoration:none; }
.profile-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); border-color:var(--primary); }
.profile-card-icon { width:55px; height:55px; background:var(--secondary-light); border-radius:var(--radius-sm); display:flex; align-items:center; justify-content:center; font-size:24px; color:#5a2f58; flex-shrink:0; transition:var(--transition); }
.profile-card:hover .profile-card-icon { background:#5a2f58; color:#fff; }
.profile-card-info { flex:1; }
.profile-card-info h3 { font-size:16px; font-weight:600; color:var(--dark); margin-bottom:4px; }
.profile-card-info span { font-size:13px; color:var(--text-muted); }
.profile-card-action { width:40px; height:40px; border-radius:50%; background:var(--bg); display:flex; align-items:center; justify-content:center; color:var(--text-muted); font-size:16px; transition:var(--transition); }
.profile-card:hover .profile-card-action { background:#5a2f58; color:#fff; }
/* === Pricing === */
.pricing-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.pricing-card { background:var(--white); border-radius:var(--radius); padding:40px 30px; text-align:center; border:1px solid var(--border); transition:var(--transition); position:relative; }
.pricing-card.featured { border-color:var(--primary); transform:scale(1.05); box-shadow:var(--shadow-lg); }
.pricing-card.featured::before { content:'الأكثر طلباً'; position:absolute; top:-12px; right:50%; transform:translateX(50%); background:var(--primary); color:#ffffff; padding:5px 20px; border-radius:50px; font-size:12px; }
.pricing-card h3 { font-size:20px; font-weight:600; color:var(--dark); margin-bottom:10px; }
.pricing-card .price { font-size:42px; font-weight:700; color:var(--primary); margin:20px 0; }
.pricing-card .price span { font-size:16px; font-weight:400; color:var(--text-light); }
.pricing-card ul { text-align:right; margin:25px 0; }
.pricing-card ul li { padding:8px 0; border-bottom:1px solid var(--border); font-size:14px; color:var(--text-light); display:flex; align-items:center; gap:8px; }
.pricing-card ul li i { color:var(--primary); }

/* === Contact === */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:50px; }
.contact-form .form-group { margin-bottom:20px; }
.contact-form label { display:block; font-size:14px; font-weight:500; color:var(--dark); margin-bottom:8px; }
.contact-form input,.contact-form textarea,.contact-form select { width:100%; padding:14px 18px; border:1px solid var(--border); border-radius:var(--radius-sm); background:var(--white); font-size:15px; transition:var(--transition); color:var(--text); }
.contact-form input:focus,.contact-form textarea:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(90,47,88,0.1); }
.contact-form textarea { min-height:150px; resize:vertical; }
.contact-info h3 { font-size:28px; font-weight:700; color:var(--dark); margin-bottom:15px; }
.contact-info > p { color:var(--text-light); margin-bottom:30px; }
.info-item { display:flex; align-items:center; gap:15px; margin-bottom:20px; padding:15px; background:var(--bg); border-radius:var(--radius-sm); }
.info-item .icon { width:45px; height:45px; background:var(--primary); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#ffffff; font-size:18px; }
.info-item .text span { font-size:13px; color:var(--text-muted); display:block; }
.info-item .text p { font-size:15px; color:var(--dark); font-weight:500; }
.contact-social { display:flex; gap:10px; margin-top:30px; }
.contact-social a { width:40px; height:40px; border-radius:50%; background:var(--secondary-light); display:flex; align-items:center; justify-content:center; color:var(--primary); transition:var(--transition); }
.contact-social a:hover { background:var(--primary); color:#ffffff; }

/* === Blog === */
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.blog-card { 
    background: var(--white); 
    border-radius: var(--radius-lg); 
    overflow: hidden; 
    border: 1px solid var(--border); 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    position: relative;
    box-shadow: var(--shadow-card);
}
[data-theme="dark"] .blog-card {
    background: rgba(29, 16, 32, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}
.blog-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 15px 35px rgba(90, 47, 88, 0.15); 
    border-color: rgba(90, 47, 88, 0.3);
}
[data-theme="dark"] .blog-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(229, 212, 226, 0.2);
}
.blog-card .image { 
    height: 220px; 
    overflow: hidden; 
    position: relative;
}
.blog-card .image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); 
}
.blog-card:hover .image img { 
    transform: scale(1.08); 
}
.blog-card .category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary), #86467f);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(90, 47, 88, 0.3);
    z-index: 2;
}
[dir="ltr"] .blog-card .category-badge {
    right: auto;
    left: 15px;
}
.blog-card .content { 
    padding: 24px; 
}
.blog-card .meta { 
    display: flex; 
    gap: 15px; 
    font-size: 12px; 
    color: var(--text-muted); 
    margin-bottom: 12px; 
    flex-wrap: wrap;
}
.blog-card .meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.blog-card .meta i {
    color: var(--primary);
}
.blog-card h3 { 
    font-size: 18px; 
    font-weight: 700; 
    color: var(--dark); 
    margin-bottom: 12px; 
    line-height: 1.5; 
    transition: color 0.3s ease;
}
.blog-card:hover h3 {
    color: var(--primary);
}
.blog-card p { 
    font-size: 14px; 
    color: var(--text-light); 
    line-height: 1.7; 
    margin-bottom: 20px;
}
.blog-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 15px;
    margin-top: 15px;
}
[data-theme="dark"] .blog-card .card-footer {
    border-top-color: rgba(255, 255, 255, 0.05);
}
.blog-card .read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: gap 0.3s ease;
}
.blog-card .read-more i {
    transition: transform 0.3s ease;
}
.blog-card:hover .read-more i {
    transform: translateX(-4px);
}
[dir="ltr"] .blog-card:hover .read-more i {
    transform: translateX(4px);
}

/* === Blog Post Detail === */
.post-detail-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    padding: 40px;
    overflow: hidden;
    position: relative;
}
[data-theme="dark"] .post-detail-wrapper {
    background: rgba(29, 16, 32, 0.4);
    border-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
}
.post-featured-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.post-header-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    flex-wrap: wrap;
}
[data-theme="dark"] .post-header-meta {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}
.post-header-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.post-header-meta i {
    color: var(--primary);
}
.post-category-tag {
    background: rgba(90, 47, 88, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
}
[data-theme="dark"] .post-category-tag {
    background: rgba(229, 212, 226, 0.1);
    color: var(--primary-light);
}
.post-content-body {
    font-size: 16.5px;
    line-height: 2.2;
    color: var(--text);
}
.post-content-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin: 40px 0 20px;
    position: relative;
    padding-right: 15px;
}
[dir="ltr"] .post-content-body h2 {
    padding-right: 0;
    padding-left: 15px;
}
.post-content-body h2::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 2px;
}
[dir="ltr"] .post-content-body h2::before {
    right: auto;
    left: 0;
}
.post-content-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin: 30px 0 15px;
}
.post-content-body p {
    margin-bottom: 25px;
}
.post-content-body blockquote {
    background: var(--bg);
    border-right: 4px solid var(--primary);
    padding: 20px 30px;
    margin: 30px 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-light);
}
[dir="ltr"] .post-content-body blockquote {
    border-right: none;
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
[data-theme="dark"] .post-content-body blockquote {
    background: rgba(255, 255, 255, 0.02);
}
.post-content-body ul, .post-content-body ol {
    margin: 0 25px 25px 0;
    padding: 0;
}
[dir="ltr"] .post-content-body ul, [dir="ltr"] .post-content-body ol {
    margin: 0 0 25px 25px;
}
.post-content-body li {
    margin-bottom: 10px;
}
.post-share-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    margin-top: 50px;
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}
[data-theme="dark"] .post-share-bar {
    border-top-color: rgba(255, 255, 255, 0.05);
}
.post-share-title {
    font-weight: 600;
    color: var(--dark);
    font-size: 15px;
}
.post-share-buttons {
    display: flex;
    gap: 10px;
}
.post-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 16px;
    transition: var(--transition);
    text-decoration: none;
}
.post-share-btn.whatsapp { background-color: #25D366; }
.post-share-btn.whatsapp:hover { background-color: #128C7E; transform: translateY(-3px); }
.post-share-btn.telegram { background-color: #0088cc; }
.post-share-btn.telegram:hover { background-color: #006699; transform: translateY(-3px); }
.post-share-btn.twitter { background-color: #1da1f2; }
.post-share-btn.twitter:hover { background-color: #0d8ddb; transform: translateY(-3px); }
.post-share-btn.copylink { background-color: var(--primary); }
.post-share-btn.copylink:hover { background-color: #432142; transform: translateY(-3px); }

/* Related Posts */
.related-posts {
    margin-top: 60px;
}
.related-posts h3.section-subtitle {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
    text-align: center;
}


/* === Project Detail === */
.project-detail { padding:120px 0 80px; }
.project-detail-grid { display:grid; grid-template-columns:1.5fr 1fr; gap:50px; }
.project-gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; margin-top:20px; }
.project-gallery img { border-radius:var(--radius-sm); cursor:pointer; transition:var(--transition); }
.project-gallery img:hover { transform:scale(1.05); }
.project-sidebar { background:var(--white); border-radius:var(--radius); padding:30px; border:1px solid var(--border); height:fit-content; }
.project-sidebar h3 { font-size:20px; font-weight:600; color:var(--dark); margin-bottom:20px; }
.project-meta { display:flex; flex-direction:column; gap:15px; }
.project-meta-item { display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--border); font-size:14px; }
.project-meta-item .label { color:var(--text-muted); }
.project-meta-item .value { color:var(--dark); font-weight:500; }

/* === Glassmorphism === */
.glass { background:var(--glass-bg); backdrop-filter:blur(20px); border:1px solid var(--glass-border); }

/* === Scroll to top === */
.scroll-top { position:fixed; bottom:30px; width:45px; height:45px; background:var(--primary); color:#ffffff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:18px; z-index:999; opacity:0; visibility:hidden; transition:var(--transition); cursor:pointer; box-shadow:var(--shadow); }
html[dir="rtl"] .scroll-top { right:30px; left:auto; }
html[dir="ltr"] .scroll-top { left:30px; right:auto; }
.scroll-top.show { opacity:1; visibility:visible; }
.scroll-top:hover { transform:translateY(-3px); background:var(--primary-dark); }

/* === Loading === */
.preloader { position:fixed; inset:0; background:var(--white); display:flex; align-items:center; justify-content:center; z-index:9999; transition:opacity 0.5s; }
.preloader.hide { opacity:0; pointer-events:none; }
.preloader .spinner { width:50px; height:50px; border:3px solid var(--secondary); border-top-color:var(--primary); border-radius:50%; animation:spin 1s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }

/* === Premium Preloader === */
.premium-preloader { position:fixed; inset:0; z-index:10000; display:flex; align-items:center; justify-content:center; overflow:hidden; pointer-events:none; }
.preloader-bg { position:absolute; inset:0; width:100%; height:100%; }
.preloader-bg-1 { background:var(--primary); z-index:1; transform-origin:bottom; }
.preloader-bg-2 { background:var(--dark); z-index:2; transform-origin:bottom; }
.preloader-content { position:relative; z-index:3; display:flex; flex-direction:column; align-items:center; opacity:0; }
.preloader-logo { height:120px; filter:drop-shadow(0 10px 20px rgba(0,0,0,0.3)); margin-bottom:20px; }
.preloader-text-wrapper { overflow:hidden; margin-bottom:30px; }
.preloader-text { display:block; color:var(--white); font-size:24px; font-weight:700; letter-spacing:1px; transform:translateY(100%); }
.preloader-progress { width:200px; height:3px; background:rgba(255,255,255,0.2); border-radius:3px; overflow:hidden; }
.preloader-progress .progress-bar { width:0%; height:100%; background:var(--white); border-radius:3px; }

/* === Alert Messages === */
.alert { padding:15px 20px; border-radius:var(--radius-sm); margin-bottom:20px; font-size:14px; }
.alert-success { background:#f0e8ef; color:#3d1e3b; border:1px solid #e5d4e2; }
.alert-error { background:#f5e0f0; color:#5a2f58; border:1px solid #e5d4e2; }

/* === WhatsApp Float === */
.whatsapp-float { position:fixed; bottom:95px; left:28px; width:58px; height:58px; background:linear-gradient(135deg,#25d366,#128c7e); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-size:28px; z-index:999; text-decoration:none; box-shadow:0 4px 20px rgba(37,211,102,0.4); transition:all 0.3s ease; }
.whatsapp-float:hover { transform:scale(1.1); box-shadow:0 6px 28px rgba(37,211,102,0.5); }
.whatsapp-float::before { content:''; position:absolute; inset:-4px; border-radius:50%; border:2px solid rgba(37,211,102,0.3); animation:waPulse 2s ease-out infinite; }
@keyframes waPulse { 0%{transform:scale(1);opacity:1} 100%{transform:scale(1.5);opacity:0} }
.wa-tooltip { position:absolute; bottom:70px; left:50%; transform:translateX(-50%); background:#1d1020; color:#fff; font-size:12px; padding:8px 14px; border-radius:8px; white-space:nowrap; opacity:0; visibility:hidden; transition:all 0.3s; pointer-events:none; }
.wa-tooltip::after { content:''; position:absolute; top:100%; left:50%; transform:translateX(-50%); border:6px solid transparent; border-top-color:#1d1020; }
.whatsapp-float:hover .wa-tooltip { opacity:1; visibility:visible; bottom:75px; }

/* === Maintenance Page === */
.maintenance-page { min-height:100vh; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#1d1020,#5a2f58); color:#fff; text-align:center; padding:40px 20px; }
.maintenance-box { max-width:500px; }
.maintenance-box i.main-icon { font-size:60px; color:#e5d4e2; margin-bottom:20px; display:block; animation:float 3s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.maintenance-box h1 { font-size:32px; margin-bottom:10px; }
.maintenance-box p { font-size:16px; color:rgba(255,255,255,0.7); margin-bottom:30px; line-height:1.8; }
.maintenance-social { display:flex; justify-content:center; gap:12px; }
.maintenance-social a { width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; color:#e5d4e2; transition:all 0.3s; }
.maintenance-social a:hover { background:#e5d4e2; color:#5a2f58; }

/* === Page Transitions === */
body { opacity:1; transition:opacity 0.3s ease; }
body.page-leaving { opacity:0; }

/* === Cookie Consent === */
.cookie-bar { position:fixed; bottom:-100%; left:50%; transform:translateX(-50%); width:94%; max-width:700px; background:var(--cookie-bg); border:1px solid var(--border); color:#fff; border-radius:16px; padding:18px 24px; display:flex; align-items:center; justify-content:space-between; gap:16px; z-index:997; box-shadow:0 -4px 30px rgba(0,0,0,0.2); transition:bottom 0.5s cubic-bezier(0.34,1.56,0.64,1); }
.cookie-bar.show { bottom:24px; }
.cookie-content { display:flex; align-items:center; gap:14px; flex:1; }
.cookie-icon { font-size:24px; color:#fbbf24; flex-shrink:0; }
.cookie-content p { font-size:13px; line-height:1.7; color:rgba(255,255,255,0.8); margin:0; }
.cookie-content a { color:#e5d4e2; text-decoration:underline; font-weight:600; }
.cookie-content a:hover { color:#fff; }
.cookie-btns { display:flex; align-items:center; gap:8px; flex-shrink:0; }
.cookie-accept { padding:9px 22px; border-radius:10px; background:var(--primary); color:#fff; border:none; font-family:inherit; font-size:13px; font-weight:600; cursor:pointer; transition:all 0.3s; }
.cookie-accept:hover { background:#7a4a78; transform:scale(1.05); }
.cookie-close { width:32px; height:32px; border-radius:8px; background:rgba(255,255,255,0.08); color:rgba(255,255,255,0.5); border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:12px; transition:all 0.3s; }
.cookie-close:hover { background:rgba(255,255,255,0.15); color:#fff; }
@media(max-width:600px) { .cookie-bar { flex-direction:column; padding:16px 18px; gap:12px; } .cookie-content { gap:10px; } .cookie-btns { width:100%; justify-content:flex-end; } }

/* === Theme Toggle Button === */
.theme-toggle-btn {
  background: rgba(90, 47, 88, 0.06);
  border: 1px solid rgba(90, 47, 88, 0.12);
  color: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}
.theme-toggle-btn:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(90, 47, 88, 0.12);
}
[data-theme="dark"] .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fbbf24;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.15);
}
[data-theme="dark"] .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Premium Homepage Visual & Interactive Enhancements
   ========================================================================== */

/* 1. Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  width: 0%;
  z-index: 10005;
  box-shadow: 0 1px 8px rgba(90, 47, 88, 0.3);
  transition: width 0.12s ease-out;
}
[data-theme="dark"] .scroll-progress-bar {
  background: var(--primary-light);
  box-shadow: 0 1px 8px rgba(122, 79, 120, 0.3);
}

/* 2. Glow Bubbles System */
.glow-bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.08;
  z-index: 1;
  pointer-events: none;
  animation: floatMeshBubble 25s infinite alternate ease-in-out;
  transition: opacity 0.5s ease;
}
[data-theme="dark"] .glow-bubble {
  opacity: 0.06;
}
.glow-bubble-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  top: 15%;
  right: 8%;
  animation-duration: 22s;
}
.glow-bubble-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  bottom: 12%;
  left: 5%;
  animation-duration: 28s;
  animation-delay: -6s;
}
.glow-bubble-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--primary-dark) 0%, transparent 70%);
  top: 45%;
  left: 25%;
  animation-duration: 20s;
  animation-delay: -12s;
}

@keyframes floatMeshBubble {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(40px, -50px) scale(1.12) rotate(180deg);
  }
  100% {
    transform: translate(-25px, 25px) scale(0.9) rotate(360deg);
  }
}

/* 3. Stardust Canvas Particles */
#heroParticles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* 4. Premium Solid & Sophisticated Typography */
.text-gradient {
  color: var(--primary);
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  text-fill-color: initial;
  display: inline-block;
}
[data-theme="dark"] .text-gradient {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  text-fill-color: initial;
}

.hero-content h1 span {
  color: var(--primary);
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  text-fill-color: initial;
  font-weight: 800;
  position: relative;
  display: inline-block;
}
[data-theme="dark"] .hero-content h1 span {
  color: var(--primary-light);
}

.hero-content h1 span::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  opacity: 0.8;
  box-shadow: 0 2px 10px rgba(90, 47, 88, 0.2);
}
[data-theme="dark"] .hero-content h1 span::after {
  background: var(--primary-light);
  box-shadow: 0 2px 10px rgba(122, 79, 120, 0.2);
}

/* 5. Custom Interactive FAQ / Accordion Section */
.faq-section {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.faq-grid {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 3;
}

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 250ms cubic-bezier(0.23, 1, 0.32, 1), 
              box-shadow 250ms cubic-bezier(0.23, 1, 0.32, 1), 
              border-color 250ms cubic-bezier(0.23, 1, 0.32, 1),
              background-color 250ms cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}

.faq-item.active {
  border-color: var(--primary);
  background: rgba(90, 47, 88, 0.04);
  box-shadow: 0 10px 30px rgba(90, 47, 88, 0.08);
}

.faq-item::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), transparent 50%, rgba(157, 78, 221, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 250ms ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  border-color: rgba(157, 78, 221, 0.35);
  box-shadow: 0 10px 25px var(--glow-primary);
}

.faq-item:hover::after {
  opacity: 1;
}

.faq-header {
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  gap: 15px;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-header:active {
  transform: scale(0.99);
}

.faq-question {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  transition: color 0.3s ease;
}

.faq-item.active .faq-question {
  color: var(--primary-light);
}

.faq-toggle-icon {
  width: 36px;
  height: 36px;
  background: rgba(90, 47, 88, 0.06);
  border: 1px solid rgba(90, 47, 88, 0.1);
  color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 250ms cubic-bezier(0.23, 1, 0.32, 1), 
              background-color 250ms, 
              color 250ms;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(90, 47, 88, 0.25);
}

.faq-body {
  height: 0;
  overflow: hidden;
  transition: height 300ms cubic-bezier(0.32, 0.72, 0, 1);
}

.faq-content {
  padding: 0 30px 24px 30px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* 6. Magnetic Button Flickering Fix */
.magnetic {
  /* Prevent jarring flickering loop under active mouse movement */
  transition: transform 0.1s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.magnetic:active,
.magnetic:focus {
  transform: scale(0.95);
}

/* ============================================
   Bilingual & LTR (English) Overrides
   ============================================ */
html[dir="ltr"] body {
  direction: ltr;
  text-align: left;
  --font: 'Outfit', 'Segoe UI', Tahoma, sans-serif;
}

html[dir="ltr"] .navbar-cta-group {
  margin: 0;
}

html[dir="ltr"] .navbar-cta-group .lang-toggle-btn {
  margin-left: 5px;
  margin-right: 0;
}

html[dir="ltr"] .navbar-nav {
  margin: 0;
}

html[dir="ltr"] .navbar-brand span {
  margin-left: 8px;
  margin-right: 0;
}

html[dir="ltr"] .fa-arrow-left {
  transform: scaleX(-1);
  display: inline-block;
}

html[dir="ltr"] .footer-col ul li i {
  margin-right: 8px;
  margin-left: 0;
}

html[dir="ltr"] .footer-col ul li a i {
  margin-right: 5px;
  margin-left: 0;
}

html[dir="ltr"] .faq-toggle-icon {
  margin-left: auto;
  margin-right: 0;
}

html[dir="ltr"] .faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ============================================
   Figma-like Design Feedback Comments Styling
   ============================================ */
.feedback-overlay-modal {
    position: fixed;
    inset: 0;
    background: rgba(29, 16, 32, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: portalFadeIn 0.3s ease;
}
.feedback-overlay-modal.show {
    display: flex;
}
.feedback-modal-card {
    background: var(--white);
    border-radius: 24px;
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    display: grid;
    grid-template-rows: auto 1fr;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
[data-theme="dark"] .feedback-modal-card {
    background: #201220;
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}
.feedback-modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
[data-theme="dark"] .feedback-modal-header {
    border-bottom-color: rgba(255,255,255,0.05);
}
.feedback-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}
[data-theme="dark"] .feedback-modal-header h3 {
    color: #fff;
}
.feedback-modal-body {
    display: grid;
    grid-template-columns: 2.8fr 1.2fr;
    overflow: hidden;
}
@media (max-width: 992px) {
    .feedback-modal-body {
        grid-template-columns: 1fr;
        grid-template-rows: 1.5fr 1fr;
    }
}
.feedback-canvas-area {
    padding: 20px;
    background: #eae6ea;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
[data-theme="dark"] .feedback-canvas-area {
    background: #140b13;
}
.feedback-image-wrapper {
    position: relative;
    display: inline-block;
    cursor: crosshair;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 8px;
    max-width: 100%;
}
.feedback-image-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    user-select: none;
    -webkit-user-drag: none;
}
.feedback-pin {
    position: absolute;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 12px rgba(90, 47, 88, 0.4), 0 0 0 3px #fff;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.feedback-pin:hover {
    transform: translate(-50%, -50%) scale(1.18);
    box-shadow: 0 6px 18px rgba(90, 47, 88, 0.5), 0 0 0 4px #fff;
}
.feedback-pin.resolved {
    background: #28a745;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3), 0 0 0 3px #fff;
    opacity: 0.7;
}
.feedback-pin.active-pin {
    background: #ffc107;
    color: #000;
    animation: feedbackPinPulse 1.5s infinite;
}
@keyframes feedbackPinPulse {
    0% { box-shadow: 0 0 0 0px rgba(255, 193, 7, 0.7), 0 0 0 3px #fff; }
    70% { box-shadow: 0 0 0 8px rgba(255, 193, 7, 0), 0 0 0 3px #fff; }
    100% { box-shadow: 0 0 0 0px rgba(255, 193, 7, 0), 0 0 0 3px #fff; }
}

.feedback-sidebar {
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
}
html[dir="ltr"] .feedback-sidebar {
    border-right: none;
    border-left: 1px solid var(--border);
}
[data-theme="dark"] .feedback-sidebar {
    background: #1c0e1b;
    border-color: rgba(255,255,255,0.05);
}
.feedback-threads-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.feedback-thread-item {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(90, 47, 88, 0.01);
    transition: all 0.3s ease;
    cursor: pointer;
}
[data-theme="dark"] .feedback-thread-item {
    border-color: rgba(255,255,255,0.04);
    background: rgba(255, 255, 255, 0.01);
}
.feedback-thread-item:hover, .feedback-thread-item.active {
    border-color: var(--primary-light);
    background: rgba(90, 47, 88, 0.03);
}
[data-theme="dark"] .feedback-thread-item:hover, [data-theme="dark"] .feedback-thread-item.active {
    background: rgba(255, 255, 255, 0.03);
}
.feedback-thread-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 11.5px;
    color: var(--text-muted);
}
.feedback-thread-number {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
}
.feedback-thread-item.resolved .feedback-thread-number {
    background: #28a745;
}
.feedback-thread-body {
    font-size: 13.5px;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.5;
}
[data-theme="dark"] .feedback-thread-body {
    color: #fff;
}
.feedback-thread-replies {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12.5px;
}
[data-theme="dark"] .feedback-thread-replies {
    border-top-color: rgba(255,255,255,0.04);
}
.feedback-reply-bubble {
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(0,0,0,0.02);
}
[data-theme="dark"] .feedback-reply-bubble {
    background: rgba(255, 255, 255, 0.02);
}
.feedback-reply-bubble strong {
    color: var(--primary);
}
[data-theme="dark"] .feedback-reply-bubble strong {
    color: var(--primary-light);
}

.feedback-reply-form {
    padding: 20px;
    border-top: 1px solid var(--border);
    background: #faf8fa;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
[data-theme="dark"] .feedback-reply-form {
    background: #140b13;
    border-color: rgba(255,255,255,0.05);
}
.feedback-reply-form textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 13px;
    resize: none;
    font-family: inherit;
    background: var(--white);
    color: var(--dark);
}
[data-theme="dark"] .feedback-reply-form textarea {
    background: rgba(30, 16, 29, 0.6);
    border-color: rgba(255,255,255,0.08);
    color: #fff;
}
.feedback-reply-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* ==========================================================================
   Figma-like Design Feedback - Interactive Popover for new pins
   ========================================================================== */
.feedback-popover {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(90, 47, 88, 0.15);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 15px 40px rgba(90, 47, 88, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    z-index: 1000;
    width: 290px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translate(-50%, -100%) translateY(-15px);
    animation: portalFadeIn 0.3s ease;
}
.feedback-popover::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.95) transparent;
    display: block;
    width: 0;
}
[data-theme="dark"] .feedback-popover {
    background: rgba(32, 18, 32, 0.95);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .feedback-popover::after {
    border-color: rgba(32, 18, 32, 0.95) transparent;
}
.feedback-popover textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 13px;
    resize: none;
    font-family: inherit;
    background: var(--white);
    color: var(--dark);
    margin-bottom: 12px;
    transition: all 0.3s ease;
}
[data-theme="dark"] .feedback-popover textarea {
    background: rgba(30, 16, 29, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.feedback-popover textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(90, 47, 88, 0.1);
}
.feedback-popover-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.feedback-popover-header span {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
}
[data-theme="dark"] .feedback-popover-header span {
    color: var(--primary-light);
}
.feedback-popover-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.feedback-popover-actions button {
    cursor: pointer;
}
.no-pins-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    padding: 40px 20px;
}
.feedback-reply-bubble small {
    display: block;
    color: var(--text-muted);
    font-size: 10px;
    margin-top: 4px;
}
.feedback-thread-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   Premium Notification Center Styling
   ========================================================================== */
.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}
[data-theme="light"] .notification-item {
    background: rgba(90, 47, 88, 0.015);
    border: 1px solid rgba(90, 47, 88, 0.04);
}
.notification-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(90, 47, 88, 0.2);
    box-shadow: 0 8px 25px rgba(90, 47, 88, 0.05);
}
[data-theme="light"] .notification-item:hover {
    background: rgba(90, 47, 88, 0.035);
}
.notification-item.unread {
    border-left: 4px solid var(--primary);
    background: rgba(90, 47, 88, 0.04);
}
[data-theme="light"] .notification-item.unread {
    background: rgba(90, 47, 88, 0.05);
}
.notification-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(90, 47, 88, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
}
[data-theme="dark"] .notification-icon-wrapper {
    color: var(--primary-light);
    background: rgba(255, 255, 255, 0.05);
}
.notification-content {
    flex-grow: 1;
}
.notification-title {
    font-weight: 750;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 4px;
}
[data-theme="dark"] .notification-title {
    color: #fff;
}
.notification-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}
.notification-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.notification-badge {
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 20px;
    font-weight: 700;
}
#portalUnreadBadge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    vertical-align: middle;
    margin-right: 5px;
    display: inline-block;
}
#portalNotificationsList .no-notifications {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

/* === Portfolio Bottom CTA & Astronaut === */
.portfolio-bottom-cta {
    position: relative;
    padding: 100px 0;
    background-color: #ffffff;
    border-bottom: none;
    overflow: visible;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

[data-theme="dark"] .portfolio-bottom-cta {
    background-color: #0b060c;
}

.cta-astronaut-container {
    position: absolute;
    bottom: -15px; /* Overlaps the stats banner slightly */
    left: 10%;
    width: 320px;
    height: 310px; /* Restrict height to crop legs */
    overflow: hidden; /* Crop the legs */
    z-index: 2;
    pointer-events: none;
}

.cta-astronaut-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.06));
    transition: transform 0.1s ease-out;
}

[data-theme="dark"] .cta-astronaut-img {
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.35)) brightness(0.95);
}




