/* ===================================================
   Custom Arabic Font (BrandFont)
=================================================== */
@font-face {
  font-family: "BrandFont";
  src: url("/assets/fonts/a9f3x-rt92-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BrandFont";
  src: url("/assets/fonts/a9f3x-rt92-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BrandFont";
  src: url("/assets/fonts/a9f3x-rt92-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===================================================
   GLOBAL RESET & VARIABLES
=================================================== */

:root {
  --primary: #002a32;
  --accent: #11a6a6;
  --luxury: #dac3a4;
  --secondary: #0f5257;
  --dark: #090909;
  --text: #e6e2d7;
  --muted: #9fa5a7;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --transition: all .3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[lang="ar"] {
  direction: rtl;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #090909, #002a32);
  color: var(--text);
  font-family: "BrandFont", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.8;
}

/* ===================================================
   TYPOGRAPHY
=================================================== */

h1, h2, h3, h4 {
  font-family: "BrandFont", sans-serif;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.3;
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
}

h2 {
  font-size: clamp(26px, 4vw, 40px);
}

h3 {
  font-size: 20px;
}

p, li, span, a, input, textarea {
  font-family: "BrandFont", sans-serif;
  font-weight: 400;
}

p {
  color: var(--muted);
  margin: 0 0 16px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}
button,
input,
select,
textarea {
  font-family: inherit;
}
/* ===================================================
   LAYOUT
=================================================== */

.container {
  width: min(1200px, 92%);
  margin: auto;
}

section {
  padding: 70px 0;
}

/* ===================================================
   NAVBAR
=================================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(9,9,9,.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-links a {
  margin-left: 28px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent);
}

/* ===================================================
   HERO
=================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero span {
  display: inline-block;
  background: rgba(17,166,166,.15);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  font-weight: 500;
}

.hero p {
  max-width: 520px;
}

/* ===================================================
   BUTTONS
=================================================== */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(17,166,166,.35);
}

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--primary);
}

/* ===================================================
   CARDS (GLOBAL)
=================================================== */

.card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}

/* ===================================================
   SERVICES
=================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 28px;
}

/* ===================================================
   PORTFOLIO
=================================================== */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 24px;
}

.project-card {
  position: relative;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9,9,9,.7);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

/* ===================================================
   PRICING
=================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 32px;
}

.price {
  font-size: 32px;
  color: var(--luxury);
  margin: 20px 0;
}

/* ===================================================
   OFFERS
=================================================== */

.offer-box {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  padding: 50px;
  text-align: center;
}

/* ===================================================
   CONTACT
=================================================== */

form {
  max-width: 520px;
}

input, textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 14px;
  color: var(--text);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* ===================================================
   FOOTER
=================================================== */

footer {
  background: #050505;
  padding: 40px 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* ===================================================
   RESPONSIVE
=================================================== */

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }

  .nav-links {
    display: none;
  }
}
/* ===============================
   Custom Select (Admin)
=============================== */
.select-wrap {
  position: relative;
}

.select-wrap select {
  width: 100%;
  appearance: none;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 14px 42px 14px 14px;
  color: var(--text);
  font-family: "BrandFont";
  cursor: pointer;
}

.select-wrap::after {
  content: "▾";
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--accent);
  pointer-events: none;
}

.select-wrap select:focus {
  outline: none;
  border-color: var(--accent);
}
/* ===============================
   Admin Buttons (Unified)
=============================== */
.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  background: transparent;
  white-space: nowrap;
}

/* Neutral / Default */
.admin-btn.default {
  border-color: rgba(255,255,255,.15);
  color: var(--text);
}

.admin-btn.default:hover {
  background: rgba(255,255,255,.05);
}

/* Featured */
.admin-btn.featured {
  border-color: var(--luxury);
  color: var(--luxury);
}

.admin-btn.featured:hover {
  background: rgba(218,195,164,.15);
}

/* Edit */
.admin-btn.edit {
  border-color: var(--accent);
  color: var(--accent);
}

.admin-btn.edit:hover {
  background: rgba(17,166,166,.15);
}

/* Danger */
.admin-btn.delete {
  border-color: #c0392b;
  color: #c0392b;
}

.admin-btn.delete:hover {
  background: rgba(192,57,43,.15);
}

/* ===============================
   HERO
=============================== */
.hero-advanced {
  padding: 20px 0;
 
  background: linear-gradient(135deg, #002a32, #0f5257);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 48px;
  line-height: 1.3;
}

.hero-content h1 span {
  color: var(--luxury);
}

.hero-content p {
  margin: 20px 0 30px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-visual img {
  width: 100%;
  border-radius: 24px;
}

/* ===============================
   TRUST STRIP
=============================== */
.trust-strip {
  background: #090909;
  padding: 40px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  text-align: center;
}

.trust-grid strong {
  font-size: 32px;
  color: var(--luxury);
}

.trust-grid span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

/* ===============================
   OFFER
=============================== */
.offer-highlight {
  margin: 100px 0;
  padding: 80px 0;
  background: rgba(218,195,164,.08);
  text-align: center;
}

.offer-highlight h2 {
  margin-bottom: 12px;
}

.offer-service {
  color: var(--accent);
  margin-bottom: 20px;
}

/* ===============================
   SECTIONS
=============================== */
.section {
  margin-top: 120px;
}

.section-title {
  margin-bottom: 40px;
  font-size: 32px;
}

/* ===============================
   SERVICES
=============================== */
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 16px;
}

/* ===============================
   PROJECTS
=============================== */
.projects-grid {
  grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.project-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: .3s;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay h4 {
  color: #fff;
}

/* ===============================
   FINAL CTA
=============================== */
.final-cta {
  margin-top: 140px;
  padding: 100px 20px;
  background: #002a32;
  text-align: center;
}

.final-cta h2 {
  font-size: 36px;
  margin-bottom: 12px;
}


/* ===============================
   NAVBAR
=============================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,42,50,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 20px;
  text-decoration: none;
}

.brand-mark {
  color: var(--luxury);
  font-weight: 700;
}

.brand-text {
  color: var(--text);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  opacity: .85;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 10px 18px;
}

/* ===============================
   FOOTER
=============================== */
.footer {
  margin-top: 140px;
  background: #090909;
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-brand p {
  margin: 16px 0 24px;
  max-width: 420px;
}

.footer-links ul,
.footer-trust ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-trust li {
  margin-bottom: 10px;
  font-size: 14px;
  opacity: .85;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 60px;
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  opacity: .6;
  border-top: 1px solid rgba(255,255,255,.05);
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 900px) {

  .navbar-inner {
    flex-direction: column;
    gap: 12px;
    height: auto;
    padding: 16px 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

}


/* ===============================
   BURGER MENU
=============================== */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: .3s;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 20px;
  background: #002a32;
  padding: 24px;
}

.mobile-menu a {
  font-size: 18px;
}

/* ===============================
   SOCIAL ICONS
=============================== */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.social-icons a:hover {
  background: var(--luxury);
  color: #000;
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 900px) {

  .desktop-nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-menu.active {
    display: flex;
  }
}
/* ===============================
   BURGER ANIMATION (X)
=============================== */
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform .3s ease, opacity .3s ease;
}

/* عندما يكون نشط */
.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* ===============================
   SECTION HEAD
=============================== */
.section-head {
  max-width: 520px;
  margin-bottom: 50px;
}

.section-desc {
  font-size: 15px;
  opacity: .75;
  margin-top: 10px;
}

/* ===============================
   PROJECTS GRID (ADVANCED)
=============================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
  gap: 26px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  cursor: pointer;
  transform: translateY(20px);
  opacity: 0;
  transition: .6s ease;
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .6s ease;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.75),
    rgba(0,0,0,.1)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: .4s ease;
}

.project-overlay h4 {
  color: #fff;
  margin-bottom: 6px;
}

.project-overlay span {
  font-size: 13px;
  opacity: .85;
}

/* Hover Effects */
.project-card:hover img {
  transform: scale(1.08);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

/* ===============================
   SCROLL REVEAL
=============================== */
.reveal.visible .project-card,
.reveal-item.visible {
  transform: translateY(0);
  opacity: 1;
}

/* ===============================
   SCROLL ANIMATION
=============================== */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.animate.in-view {
  opacity: 1;
  transform: none;
}


/* ===============================
   PAGE HERO
=============================== */
.page-hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #002a32, #0f5257);
  text-align: center;
}

.page-hero h1 {
  font-size: 48px;
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 620px;
  margin: auto;
  opacity: .85;
}

/* ===============================
   FILTERS
=============================== */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}



/* ===============================
   PORTFOLIO GRID
=============================== */
.portfolio-grid {
  grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
}

/* Hide filtered items */
.project-card.hide {
  display: none;
}


/* ===============================
   PROJECT SINGLE (ADVANCED)
=============================== */

/* Hero */
.project-hero img {
  width: 100%;
  max-height: 85vh;
  object-fit: cover;
  cursor: zoom-in;
}

/* Header */
.project-header h1 {
  font-size: 42px;
  margin-bottom: 8px;
}

.project-category {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(17,166,166,.15);
  color: #11a6a6;
  font-size: 13px;
}

/* Story */
.project-story {
  max-width: 720px;
  margin-top: 40px;
  font-size: 16px;
  line-height: 1.8;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
  gap: 30px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 18px;
  transition: transform .4s ease;
}

.gallery-grid img:hover {
  transform: scale(1.04);
}

/* ===============================
   PROJECT GALLERY (STACKED)
=============================== */

.gallery-stack {
  position: relative;
  max-width: 900px;
  margin: auto;
}

.gallery-stack img {
  width: 100%;
  border-radius: 22px;
  display: block;
  margin-bottom: -120px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
  transition: transform .45s ease;
}

.gallery-stack img:nth-child(odd) {
  transform: rotate(-1.5deg);
}

.gallery-stack img:nth-child(even) {
  transform: rotate(1.5deg);
}

.gallery-stack img:hover {
  transform: scale(1.03) rotate(0deg);
  z-index: 2;
  position: relative;
}

/* Mobile Fix */
@media (max-width: 768px) {
  .gallery-stack img {
    margin-bottom: 40px;
    transform: none !important;
  }
}


/* CTA */
.project-cta {
  background: rgba(218,195,164,.08);
  padding: 100px 20px;
  text-align: center;
}

.project-cta h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

/* Mobile */
@media (max-width: 768px) {
  .project-header h1 {
    font-size: 30px;
  }
}
/* ===============================
   PROJECT HERO (REDBULL STYLE)
=============================== */

.project-hero-advanced {
  position: relative;
  height: 85vh;
  min-height: 520px;
  overflow: hidden;
}

.project-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(9,9,9,.25),
      rgba(9,9,9,.85)
    );
}

.project-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 80px;
}

.project-hero-content h1 {
  font-size: clamp(34px, 5vw, 56px);
  max-width: 720px;
}

.project-hero-category {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(17,166,166,.18);
  color: var(--accent);
  font-size: 13px;
  width: fit-content;
}



/* ===============================
   SERVICES PAGE
=============================== */
.services-hero {
  padding: 120px 20px 80px;
  background: linear-gradient(135deg, #002a32, #0f5257);
  text-align: center;
}

.services-hero h1 {
  font-size: 44px;
  margin-bottom: 10px;
}

.services-hero p {
  max-width: 600px;
  margin: auto;
  opacity: .85;
}

/* Grid */
.services-section {
  padding: 100px 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* Card */
.service-card {
  background: rgba(255,255,255,.03);
  border-radius: 24px;
  padding: 28px;
  margin: 10px 0;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 18px;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.7;
  opacity: .85;
  margin-bottom: 20px;
}

/* Button */
.service-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 30px;
  background: #11a6a6;
  color: #000;
  font-weight: 600;
  transition: background .3s ease;
}

.service-btn:hover {
  background: #dac3a4;
}

/* Responsive */
@media (max-width: 768px) {
  .services-hero h1 {
    font-size: 34px;
  }
}


/* ===============================
   CONTACT PAGE (EMAIL + WHATSAPP)
=============================== */
.contact-page {
  padding: 100px 20px;
  background: #002a32;
  color: #fff;
}

.contact-container {
  max-width: 800px;
  margin: auto;
}

.contact-title {
  font-size: 40px;
  margin-bottom: 10px;
}

.contact-desc {
  margin-bottom: 40px;
  opacity: .85;
}

.contact-box {
  background: rgba(0,0,0,.35);
  padding: 40px;
  border-radius: 24px;
}

.contact-form label {
  display: block;
  margin-top: 14px;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border-radius: 10px;
  border: none;
  background: #0f5257;
  color: #fff;
}

.contact-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.btn_contact {
  flex: 1;
  text-align: center;
  padding: 14px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
}

/* Buttons */
.email-btn {
  background: #dac3a4;
  color: #000;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 26px;
  margin-top: 18px;

  background: linear-gradient(
    135deg,
    var(--accent),
    #0f8f8f
  );

  color: #002a32;
  font-weight: 600;
  font-size: 14px;

  border-radius: 999px;
  border: none;

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    background .35s ease;
}

/* Hover */
.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 30px rgba(17,166,166,.45);
  background: linear-gradient(
    135deg,
    #11a6a6,
    #dac3a4
  );
}

/* Active */
.whatsapp-btn:active {
  transform: translateY(0);
  box-shadow:
    0 6px 16px rgba(17,166,166,.35);
}

/* Mobile */
@media (max-width: 600px) {
  .contact-actions {
    flex-direction: column;
  }
}

/* ===============================
   INLINE FORM VALIDATION
=============================== */
.form-group {
  margin-bottom: 18px;
}

.error-text {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #ff6b6b;
  min-height: 14px;
}

/* Error State */
.form-group.error input,
.form-group.error textarea {
  border: 1px solid #ff6b6b;
}

/* Success reset */
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #11a6a6;
}


/* ===============================
   RESPONSIVE NAVBAR (FIXED)
=============================== */

/* Tablet */
@media (max-width: 1024px) {
  .navbar-inner {
    padding: 16px 16px;
  }

  .nav-links {
    gap: 20px;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .navbar-inner {
    height: 68px;
  }

  .brand {
    font-size: 18px;
  }

  .nav-cta {
    padding: 8px 14px;
    font-size: 13px;
  }
}
/* ===============================
   MOBILE MENU (REFINED)
=============================== */
@media (max-width: 900px) {

  .mobile-menu {
    padding: 32px 20px;
  }

  .mobile-menu a {
    font-size: 18px;
    padding: 12px;
  }

  .mobile-menu .btn {
    margin-top: 20px;
    width: 100%;
  }
}
/* ===============================
   HERO RESPONSIVE
=============================== */
@media (max-width: 900px) {

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    margin: 20px auto 30px;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {

  .hero-content h1 {
    font-size: 30px;
    line-height: 1.4;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
/* ===============================
   GRIDS RESPONSIVE
=============================== */
@media (max-width: 768px) {

  .services-grid,
  .projects-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {

  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ===============================
   BUTTONS MOBILE UX
=============================== */
@media (max-width: 600px) {

  .btn,
  .service-btn {
    width: 100%;
    padding: 14px;
  }
}
/* ===============================
   FORMS RESPONSIVE
=============================== */
@media (max-width: 600px) {

  .contact-box {
    padding: 24px;
  }

  .contact-title {
    font-size: 32px;
  }

  .contact-actions {
    flex-direction: column;
  }
}
/* ===============================
   FOOTER RESPONSIVE
=============================== */
@media (max-width: 900px) {

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}


/* ===============================
   PORTFOLIO (GLASS + NEON)
=============================== */

/* Hero */
.portfolio-hero {
  padding: 140px 20px 80px;
  text-align: center;
  background: radial-gradient(
    circle at top,
    rgba(17,166,166,.15),
    transparent 60%
  );
}

.neon-text {
  font-size: 48px;
  color: #e6e2d7;
  text-shadow:
    0 0 10px rgba(17,166,166,.6),
    0 0 30px rgba(17,166,166,.3);
}

.portfolio-hero p {
  max-width: 600px;
  margin: 14px auto 0;
  opacity: .85;
}

/* Filters */
.portfolio-filters-wrap {
  margin-top: 40px;
  padding: 10px 0;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}


/* Grid */
.portfolio-section {
  padding: 10px 20px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
  gap: 30px;
}

/* Card */
.portfolio-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .5s ease, box-shadow .5s ease;
}

.portfolio-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .6s ease;
}

/* Overlay */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.8),
    rgba(0,0,0,.1)
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: .4s ease;
}

.portfolio-overlay h3 {
  margin-bottom: 4px;
}

.portfolio-overlay span {
  font-size: 13px;
  opacity: .8;
}

/* Hover */
.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 0 30px rgba(17,166,166,.35),
    inset 0 0 0 1px rgba(17,166,166,.4);
}

.portfolio-card:hover img {
  transform: scale(1.08);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

/* Responsive */
@media (max-width: 600px) {
  .neon-text {
    font-size: 34px;
  }
}


/* ===============================
   PORTFOLIO FILTER – ADVANCED ANIMATION
=============================== */

.portfolio-card {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition:
    opacity .45s ease,
    transform .45s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}

/* ===============================
   PORTFOLIO FILTER – GRID FIX
=============================== */

/* الحالة الطبيعية */
.portfolio-card {
  display: block;
}

/* إخفاء حقيقي بدون ترك فراغ */
.portfolio-card.is-hidden {
  display: none !important;
}


/* تحسين الأداء */
.portfolio-card img {
  will-change: transform;
}
/* ===============================
   PORTFOLIO FILTER – FINAL STYLE FIX
=============================== */

/* Base button reset */
.filter-btn {
  all: unset; /* مهم جدًا */
  cursor: pointer;

  /* Typography */
  font-family: "BrandFont", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .3px;
  color: #e6e2d7;

  /* Shape */
  padding: 8px 20px;
  border-radius: 999px;

  /* Glass look */
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);

  /* Animation */
  transition:
    background .35s ease,
    box-shadow .35s ease,
    color .35s ease,
    transform .35s ease;

  position: relative;
  z-index: 1;
}

/* Hover */
.filter-btn:hover {
  background: rgba(17, 166, 166, 0.18);
  color: #ffffff;
  box-shadow:
    0 0 20px rgba(17, 166, 166, 0.45);
  transform: translateY(-1px);
}

/* Active */
.filter-btn.active {
  background: rgba(17, 166, 166, 0.28);
  color: #ffffff;
  box-shadow:
    0 0 30px rgba(17, 166, 166, 0.65),
    inset 0 0 0 1px rgba(17, 166, 166, 0.6);
}

/* Neon glow animation (subtle) */
.filter-btn.active::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: 0 0 18px rgba(17, 166, 166, 0.6);
  opacity: .6;
  pointer-events: none;
}

/* ===============================
   HERO + TRUST STRIP CONNECTION
=============================== */

/* Hero: أزل أي فراغ سفلي */
.hero {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Trust strip: أزل أي فراغ علوي */
.trust-strip {
  padding-top: 10 !important;
  margin-top: 0 !important;
}

.trust-strip {
  position: relative;
}

.trust-strip::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 40px;
  
}
@media (max-width: 768px) {

  .hero {
    padding-bottom: 0 !important;
  }

  .trust-strip {
    padding-top: 0 !important;
  }
}

/* ===============================
   HERO LAYERING SYSTEM
=============================== */

.hero {
  position: relative;
  overflow: hidden;
}

/* صورة الهيرو (الخلفية فقط) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1; /* طبقة خلفية */
}

.hero-bg img,
.hero-bg {
  background-size: cover;
  background-position: center;
}

/* محتوى الهيرو */
.hero-content {
  position: relative;
  z-index: 3; /* فوق الصورة */
}

/* Trust Strip فوق الجميع */
.trust-strip {
  position: relative;
  z-index: 4; /* أعلى من الهيرو */
}


/* ===============================
   Clients Logos – Centered Fix
=============================== */

.clients-logos {
  padding: 50px 0;
  background: linear-gradient(
    180deg,
    #090909,
    #002a32
  );
  overflow: hidden;
  position: relative;
}

.clients-track {
  display: flex;
  align-items: center; /* 🔥 هذا هو المفتاح */
  width: max-content;
  animation: clientsScroll 35s linear infinite;
}

/* عنصر الشعار */
.client-logo {
  flex: 0 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
}

/* صندوق موحد */
.logo-box {
  width: 160px;
  height: 70px; /* ارتفاع ثابت */
  display: flex;
  align-items: center;    /* سنتر عمودي */
  justify-content: center;/* سنتر أفقي */
}

/* الصورة */
.logo-box img {
  max-height: 60px;   /* 🔥 كل الشعارات على نفس المستوى */
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
   /* لون الهوية */
  opacity: 0.85;
  filter:
    grayscale(100%)
    brightness(1.15)
    sepia(1)
    hue-rotate(180deg)
    saturate(0.2);
  transition: 0.3s ease;
}

.logo-box img:hover {
  opacity: 1;
    filter: none;
  transform: scale(1.05);
}

/* Animation */
@keyframes clientsScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/* Responsive */
@media (max-width: 768px) {
  .logo-box {
    width: 120px;
    height: 55px;
  }

  .logo-box img {
    max-height: 45px;
  }

  .client-logo {
    padding: 0 20px;
  }
}

.clients-logos::before,
.clients-logos::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 40px;
  pointer-events: none;
}

.clients-logos::before {
  top: 0;
  background: linear-gradient(
    to bottom,
    rgba(9,9,9,1),
    rgba(9,9,9,0)
  );
}

.clients-logos::after {
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0,42,50,1),
    rgba(0,42,50,0)
  );
}
.clients-logos:hover .clients-track {
  animation-play-state: paused;
}

.clients-marquee {
  width: 100%;
  overflow: hidden;

  /* Fade edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
black 15%,
black 85%,
transparent 100%
  );

  mask-image: linear-gradient(
    to right,
    transparent 0%,
black 15%,
black 85%,
transparent 100%
  );
}

/* ===============================
   TESTIMONIALS
=============================== */

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(255,255,255,.04);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--text);
}

.testimonial-author {
  display: flex;
  gap: 14px;
  align-items: center;
}

.testimonial-author img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author span {
  font-size: 13px;
  opacity: .7;
}

/* Disable reveal/animate for carousel */
.no-animate,
.no-animate * {
  opacity: 1 !important;
  transform: none !important;
}

/* ===================================================
   MOBILE MENU – SLIDE + BLUR (SAFE OVERRIDE)
   Added at end of app.css
=================================================== */

/* Mobile menu base */
.navbar .mobile-menu {
  position: fixed;
  top: 78px; /* نفس ارتفاع navbar */
  right: 0;
  left: 0;

  background: rgba(0, 42, 50, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  display: flex;
  flex-direction: column;
  gap: 22px;

  padding: 32px 20px 40px;

  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;

  transition:
    transform .45s cubic-bezier(.4,0,.2,1),
    opacity .35s ease;

    align-items: center;   /* توسيط المحتوى أفقيًا */
  text-align: center;    /* توسيط النص */

  z-index: 998;
}

/* Active state */
.navbar .mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ===============================
   BURGER ICON ANIMATION
=============================== */

.burger {
  z-index: 999;
}

.burger span {
  transition:
    transform .35s ease,
    opacity .35s ease;
}

.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===============================
   OVERLAY (OPTIONAL BUT SAFE)
=============================== */

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);

  opacity: 0;
  pointer-events: none;

  transition: opacity .3s ease;
  z-index: 997;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ===============================
   NAV ICONS (LUCIDE)
=============================== */

/* Desktop */
.nav-links a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links i {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* Mobile */
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.mobile-menu i {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.nav-links a.active i {
  color: var(--accent);
}

/* Hover */
.nav-links a:hover i,
.mobile-menu a:hover i {
  color: var(--luxury);
}

/* ===============================
   ACTIVE NAV ITEM
=============================== */

/* Text */
.nav-links a.active,
.mobile-menu a.active {
  color: var(--luxury);
  font-weight: 600;
}

/* Icon */
.nav-links a.active i[data-lucide],
.mobile-menu a.active i[data-lucide] {
  color: var(--luxury);
}

/* Optional underline (Desktop only) */
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--luxury);
  border-radius: 2px;
}

/* ===================================================
   CONTACT PAGE – GRADIENT + NEON BACKGROUND
=================================================== */

.contact-page {
  position: relative;
  padding: 140px 20px;

  background:
    radial-gradient(
      circle at top,
      rgba(17,166,166,.25),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      #090909 0%,
      #002a32 100%
    );

  overflow: hidden;
}

/* Neon glow effect */
.contact-page::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(218,195,164,.15),
      transparent 45%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(17,166,166,.18),
      transparent 50%
    );

  pointer-events: none;
  z-index: 1;
}

/* Container above glow */
.contact-container {
  position: relative;
  z-index: 2;
}

/* Titles */
.contact-title {
  font-size: clamp(34px, 5vw, 48px);
  margin-bottom: 12px;

  color: var(--text);
  text-shadow:
    0 0 12px rgba(17,166,166,.35),
    0 0 30px rgba(17,166,166,.15);
}

.contact-desc {
  max-width: 520px;
  margin-bottom: 50px;
  opacity: .85;
}

/* Contact Box */
.contact-box {
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;

  padding: 40px;
  box-shadow:
    0 0 40px rgba(17,166,166,.15),
    inset 0 0 0 1px rgba(17,166,166,.15);
}

/* Buttons neon hover */
.btn_contact {
  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.btn_contact:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 30px rgba(17,166,166,.35);
}


/* ===============================
   CONTACT ACTION BUTTONS FIX
=============================== */

.contact-actions {
  display: flex;
  gap: 16px;
  align-items: center; /* الحل الحقيقي */
}

.contact-actions .btn_contact {
  flex: 1;
  height: 56px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  margin: 0;

  line-height: 1;
  vertical-align: middle;

  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
/* زر البريد */
.email-btn {
  background: #dac3a4;
  color: #090909;
}

/* زر واتساب */
.whatsapp-btn {
  background: #11a6a6;
  color: #002a32;
}

/* Mobile */
@media (max-width: 600px) {
  .contact-actions {
    flex-direction: column;
  }

  .contact-actions .btn_contact {
    width: 100%;
  }
}

/* منع أي انزلاق بصري */
.contact-actions .btn_contact * {
  line-height: 1;
}


/* ===============================
   PORTFOLIO FADE FILTER (SAFE)
=============================== */

.portfolio-card {
  transition:
    opacity .35s ease,
    transform .35s ease;
  will-change: opacity, transform;
}

/* إخفاء ناعم */
.portfolio-card.is-hiding {
  opacity: 0;
  transform: scale(.96);
  pointer-events: none;
}

/* مخفي فعليًا */
.portfolio-card.is-hidden {
  display: none !important;
}

/* ظهور ناعم */
.portfolio-card.is-showing {
  opacity: 0;
  transform: scale(.96);
}

.portfolio-card.is-showing.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ===============================
   PORTFOLIO CARD – FULL GLASS FIX
=============================== */

.portfolio-card {
  position: relative;
  overflow: hidden; /* مهم جدًا */
  border-radius: 22px;

  /* Glass effect */
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.14);

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255,255,255,.06);
}

/* تأكيد أن الصورة لا تكسر الزوايا */
.portfolio-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  border-radius: 0; /* لا نحتاجها هنا */
}

/* Overlay بنفس الاستدارة */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background: linear-gradient(
    to top,
    rgba(0,0,0,.75),
    rgba(0,0,0,.1)
  );

  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}


/* ===================================================
   CLIENT WALL – MODERN & CLEAN
=================================================== */

.clients-wall {
  position: relative;
  padding: 120px 0;
  background:
    radial-gradient(
      circle at top,
      rgba(17,166,166,.08),
      transparent 60%
    );
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 50px 40px;
  align-items: center;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;
  border-radius: 20px;

  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(8px);

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    background .35s ease;
}

.client-logo img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  height: auto;

  transition:
    transform .35s ease,
    filter .35s ease,
    opacity .35s ease;
}

/* Hover effect (راقٍ بدون مبالغة) */
.client-logo:hover {
  transform: translateY(-6px);
  background: rgba(17,166,166,.08);
  box-shadow:
    0 10px 30px rgba(0,0,0,.35),
    inset 0 0 0 1px rgba(17,166,166,.35);
}

.client-logo:hover img {
  transform: scale(1.06);
}

/* Responsive */
@media (max-width: 768px) {
  .clients-wall {
    padding: 30px 0;
  }

  .clients-grid {
    gap: 36px 24px;
  }

  .client-logo img {
    max-height: 44px;
  }
}
/* ===================================================
   CLIENT WALL – UNIFORM LOGO BOXES
=================================================== */

.client-logo {
  
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  height: auto;
}

/* التحكم بحجم الشعار داخل المربع */
.client-logo img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}

/* ===================================================
   CLIENT TOOLTIP – CLEAN & SUBTLE
=================================================== */

.client-logo {
  position: relative;
}

/* Tooltip box */
.client-logo::after {
  content: attr(data-name);

  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translate(-50%, 10px);

  padding: 6px 14px;
  font-size: 13px;
  white-space: nowrap;

  background: rgba(9, 9, 9, 0.85);
  color: #e6e2d7;

  border-radius: 14px;
  border: 1px solid rgba(17,166,166,.35);
  backdrop-filter: blur(8px);

  opacity: 0;
  pointer-events: none;

  transition:
    opacity .25s ease,
    transform .25s ease;
}

/* Tooltip arrow (اختياري وناعم) */
.client-logo::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);

  width: 8px;
  height: 8px;
  background: rgba(9, 9, 9, 0.85);
  border-left: 1px solid rgba(17,166,166,.35);
  border-top: 1px solid rgba(17,166,166,.35);

  transform: translateX(-50%) rotate(45deg);
  opacity: 0;
  transition: opacity .25s ease;
}

/* Hover */
.client-logo:hover::after,
.client-logo:hover::before {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* ===============================
   MOBILE → SWIPE CAROUSEL
=============================== */
@media (max-width: 768px) {

  .clients-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    padding-top: 10px;

  }

  /* إخفاء شريط التمرير */
  .clients-grid::-webkit-scrollbar {
    display: none;
  }

  .client-logo {
    flex: 0 0 70%;
    max-width: 70%;
    height: 100px;
    scroll-snap-align: center;
  }

  
}


/* ===============================
   ADMIN SIDEBAR
=============================== */

.admin-layout {
  display: flex;
  min-height: 100vh;
  background: radial-gradient(circle at top, #0c2e2e, #050b0b);
}

/* SIDEBAR */
.admin-sidebar {
  width: 260px;
  background: rgba(10, 25, 25, 0.65);
  backdrop-filter: blur(14px);
  border-left: 1px solid rgba(255,255,255,.05);
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
}

/* BRAND */
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  color: #dac3a4;
  font-weight: 600;
}

.sidebar-brand img {
  width: 34px;
}

/* NAV */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #cfd6d6;
  text-decoration: none;
  font-size: 15px;
  transition: .3s;
}

.sidebar-nav a i {
  font-size: 18px;
  opacity: .85;
}

.sidebar-nav a:hover {
  background: rgba(17,166,166,.15);
  color: #11a6a6;
}

.sidebar-nav a.active {
  background: linear-gradient(135deg, rgba(17,166,166,.35), rgba(17,166,166,.1));
  color: #11a6a6;
  box-shadow: inset 0 0 0 1px rgba(17,166,166,.35);
}

/* FOOTER */
.sidebar-footer {
  margin-top: auto;
}

.sidebar-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ff6b6b;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
}

.sidebar-footer a:hover {
  background: rgba(255,107,107,.12);
}

/* CONTENT */
.admin-content {
  flex: 1;
  padding: 48px;
}

/* خط فاصل */
.sidebar-divider {
  height: 1px;
  background: linear-gradient(
    to left,
    transparent,
    rgba(17,166,166,.4),
    transparent
  );
  margin: 18px 0;
}

/* حاوية الأيقونات */
.sidebar-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
}

/* الأيقونة */
.sidebar-icons a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(17,166,166,.08);
  transition: all .25s ease;
}

/* SVG icon */
.sidebar-icons i {
  width: 20px;
  height: 20px;
  color: #9fbaba;
  stroke-width: 1.8;
}

/* Hover */
.sidebar-icons a:hover {
  background: rgba(17,166,166,.2);
  transform: translateY(-2px);
}

.sidebar-icons a:hover i {
  color: #11a6a6;
}

/* ===================================================
   Custom File Upload – Admin
=================================================== */
/* ===================================================
   Simple File Upload (Outline Style)
=================================================== */

.file-upload-simple {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.02);
}

/* إخفاء input */
.file-upload-simple input[type="file"] {
  display: none;
}

/* زر بسيط */
.file-btn-simple {
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s ease;
}

.file-btn-simple:hover {
  background: rgba(17,166,166,.12);
}

/* اسم الملف */
.file-name-simple {
  font-size: 13px;
  color: #9fa5a7;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 260px;
}

/* ===============================
   SERVICE PRICING – MODERN UI
=============================== */
.service-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #e6e2d7;
  overflow: hidden;
}

/* Overlay داكن + Blur */
.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 42, 50, 0.75),
      rgba(9, 9, 9, 0.9)
    );
  backdrop-filter: blur(6px);
  z-index: 1;
}

/* المحتوى فوق الخلفية */
.service-hero .container {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

/* العنوان */
.service-hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  margin-bottom: 16px;
  color: #dac3a4;
  text-align: center;
}

/* الوصف */
.service-hero p {
  font-size: 17px;
  line-height: 1.9;
  color: #e6e2d7;
  text-align: center;
}



.service-pricing {
  padding: 80px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

/* الكارد */
.pricing-card {
  position: relative;
  background: linear-gradient(
    160deg,
    rgba(20, 80, 80, 0.95),
    rgba(10, 40, 40, 0.95)
  );
  border-radius: 22px;
  padding: 32px 26px 28px;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,.45);
  transition: transform .35s ease, box-shadow .35s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 80px rgba(0,0,0,.6);
}

/* عنوان الباقة */
.pricing-card h3 {
  font-size: 22px;
  margin-bottom: 22px;
  font-weight: 700;
}

/* السعر */
.pricing-card .price {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #dac3a4;
}

/* قائمة المميزات */
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.pricing-card ul li {
  position: relative;
  padding-right: 26px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #e6f2f2;
}

.pricing-card ul li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: 0;
  color: #11a6a6;
  font-weight: bold;
}

/* زر الإجراء */
.pricing-card .btn {
  width: 100%;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* سهم صغير مثل الصورة */
.pricing-card .btn::after {
  content: "›";
  font-size: 18px;
  transition: transform .25s ease;
}

.pricing-card:hover .btn::after {
  transform: translateX(-4px);
}

/* تمييز الباقة الوسطى (اختياري) */
.pricing-card:nth-child(2) {
  background: linear-gradient(
    160deg,
    #dac3a4,
    #e6e2d7
  );
  color: #0b2b2b;
}

/* تغيير لون نص المميزات فقط في الباقة الوسطى */
.pricing-card:nth-child(2) ul li {
  color: #002a32;
}
.pricing-card:nth-child(2) .price,
.pricing-card:nth-child(2) ul li::before {
  color: #0f5257;
}

/* ===== الباقة الوسطى – زر الإجراء ===== */
.pricing-card:nth-child(2) .btn {
  background: #002a32;
  color: #ffffff;
  border-color: #002a32;
}

/* عند التحويم */
.pricing-card:nth-child(2) .btn:hover {
  background: #001f25;
  border-color: #001f25;
}

/* لون السهم داخل الزر (إن وجد) */
.pricing-card:nth-child(2) .btn svg,
.pricing-card:nth-child(2) .btn i,
.pricing-card:nth-child(2) .btn span {
  color: #ffffff;
  fill: #ffffff;
}

@media (max-width: 768px) {
    .service-hero {
    min-height: 60vh;
    padding: 80px 0;
  }

  .service-hero p {
    font-size: 15px;
  }
  
  .pricing-grid {
    gap: 20px;
  }

  .pricing-card {
    padding: 26px 22px;
  }

  .pricing-card .price {
    font-size: 34px;
  }
}
/* رمز العملة */
.price .currency {
  font-size: 20px;
  font-weight: 600;
  margin-right: 6px;
  vertical-align: middle;
  opacity: .85;
}

/* ===============================
   CUSTOM PLAN – ELEGANT BORDER LAYOUT
=============================== */

.custom-plan-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  padding: 40px 48px;
  border-radius: 24px;

  /* إطار أنيق */
  border: 1px solid rgba(218,195,164,.45);
  background:
    linear-gradient(
      135deg,
      rgba(0,42,50,.85),
      rgba(9,9,9,.9)
    );

  box-shadow:
    0 25px 60px rgba(0,0,0,.45),
    inset 0 0 0 1px rgba(255,255,255,.04);
}

/* النص – الجهة اليمنى */
.custom-plan-inner h3 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #dac3a4;
}

.custom-plan-inner p {
  max-width: 520px;
  line-height: 1.9;
  color: #e6e2d7;
  margin: 0;
}

/* الزر – الجهة اليسرى */
.custom-plan-inner .btn {
  white-space: nowrap;
  padding: 14px 32px;
  border-radius: 14px;
  font-weight: 600;
}

/* Hover بسيط */
.custom-plan-inner .btn:hover {
  transform: translateY(-2px);
}

/* ===============================
   RESPONSIVE – MOBILE
=============================== */
@media (max-width: 768px) {
  .custom-plan-inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .custom-plan-inner .btn {
    width: 100%;
    margin-top: 20px;
  }
}
/* ===============================
   SAUDI RIYAL ICON (OFFICIAL)
=============================== */

.price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.price::after {
  content: "";
    width: 40px;
  height: 40px;
  margin-top:10px;

  background-image: url("/assets/icons/sar-offwhite.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color:#e6e2d7;
  opacity: .9;
}
.pricing-card:nth-child(2) .price::after {
  color: #0f5257;
}


.pricing-card:nth-child(2) .price::after {
  background-image: url("/assets/icons/sar-dark.svg"); /* أيقونة مختلفة */
  opacity: 1;
}


.social-add-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-links-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.social-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 16px;
}

.social-view {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 16px;
  align-items: center;
}

.social-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-left svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.social-url {
  font-size: 14px;
  color: #9fa5a7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-actions {
  display: flex;
  gap: 8px;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.social-edit {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.hidden {
  display: none;
}

/* ===============================
   FOOTER BASE
=============================== */
.site-footer {
  background: radial-gradient(ellipse at top, #0f2d33, #020b0e);
  padding: 80px 0 40px;
  text-align: center;
  color: #cfd6d4;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  letter-spacing: 2px;
}

.footer-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

.footer-nav a {
  color: #b8c3c1;
  transition: .3s;
}

.footer-nav a:hover {
  color: #ffffff;
}


/* ===============================
   Footer Brand
=============================== */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 108px;
  height: auto;
  opacity: .95;
}

.footer-brand strong {
  font-size: 16px;
  letter-spacing: .5px;
  color: #e6e2d7;
}


/* ===============================
   SOCIAL ICONS
=============================== */
.footer-social {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: .3s ease;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  stroke: #e6e2d7;
}

/* ===============================
   TOOLTIP
=============================== */
.social-icon .tooltip {
  position: absolute;
  bottom: 120%;
  opacity: 0;
  pointer-events: none;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
  color: #fff;
  transform: translateY(6px);
  transition: .25s ease;
}

.social-icon:hover .tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   PLATFORM COLORS
=============================== */
.social-icon[data-platform="facebook"]:hover {
  background:#1877F2;
}
.social-icon[data-platform="facebook"]  .tooltip { background:#1877F2; }

.social-icon[data-platform="instagram"]:hover {
  background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af);
}
.social-icon[data-platform="instagram"] .tooltip {
  background: #dd2a7b;
}

.social-icon[data-platform="behance"]:hover {
  background: #1769ff;
}
.social-icon[data-platform="behance"] .tooltip {
  background: #1769ff;
}

.social-icon[data-platform="twitter"]:hover {
  background:#000;
}
.social-icon[data-platform="twitter"]   .tooltip { background:#000; }

.social-icon[data-platform="linkedin"]:hover {
  background: #0a66c2;
}
.social-icon[data-platform="linkedin"] .tooltip {
  background: #0a66c2;
}

.social-icon[data-platform="whatsapp"]:hover {
  background: #25d366;
}
.social-icon[data-platform="whatsapp"] .tooltip {
  background: #25d366;
}

/* ===============================
   FOOTER COPY
=============================== */
.footer-copy {
  font-size: 13px;
  opacity: .7;
}


.social-icons {
  display: flex;
  gap: 14px;
}

.social-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.06);
}

.social-icon i {
  width: 20px;
  height: 20px;
}

/* Tooltip */
.social-icon .tooltip {
  position: absolute;
  bottom: 120%;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: .25s;
  color: #fff;
}

.social-icon:hover .tooltip {
  opacity: 1;
  transform: translateY(0);
}
/***************/
.social-icons {
  display: flex;
  gap: 14px;
}

.social-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.06);
}

.social-icon i {
  width: 20px;
  height: 20px;
}

/* Tooltip */
.social-icon .tooltip {
  position: absolute;
  bottom: 120%;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: .25s;
  color: #fff;
}

.social-icon:hover .tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* Platform Colors */

.social-icon[data-platform="behance"]   .tooltip { background:#1769FF; }
.social-icon[data-platform="linkedin"]  .tooltip { background:#0A66C2; }
.social-icon[data-platform="youtube"]   .tooltip { background:#FF0000; }
.social-icon[data-platform="message-circle"] .tooltip { background:#25D366; }
.social-icon[data-platform="tiktok"]    .tooltip { background:#000; }
.social-icon[data-platform="pinterest"] .tooltip { background:#BD081C; }
.social-icon[data-platform="globe"]     .tooltip { background:#11a6a6; }

/* ===================================================
   SOCIAL ICONS – BRAND INTERACTION (FINAL)
=================================================== */

/* الحالة الافتراضية */
.social-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* هوية الموقع */
  background: rgba(230,226,215,0.08);
  border: 1px solid rgba(230,226,215,0.12);

  transition: 
    background .35s ease,
    box-shadow .35s ease,
    transform .35s ease;

  position: relative;
}

/* الأيقونة */
.social-icon-box img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(92%);
  transition: filter .35s ease;
}

/* Hover – حركة بسيطة */
.social-icon-box:hover {
  transform: translateY(-3px);
}

/* ===================================================
   TOOLTIP
=================================================== */

.social-icon-box::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);

  background: #0f5257;
  color: #e6e2d7;

  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 10px;

  white-space: nowrap;
  opacity: 0;
  pointer-events: none;

  transition:
    opacity .3s ease,
    transform .3s ease;
}

.social-icon-box:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===================================================
   PLATFORM COLORS (ON HOVER)
=================================================== */

/* Instagram */
.social-icon-box.instagram:hover {
  background: #E4405F;
  box-shadow: 0 0 20px rgba(228,64,95,.45);
}
.social-icon-box.instagram:hover::after {
  background: #E4405F;
}

/* WhatsApp */
.social-icon-box.whatsapp:hover {
  background: #25D366;
  box-shadow: 0 0 20px rgba(37,211,102,.45);
}
.social-icon-box.whatsapp:hover::after {
  background: #25D366;
}

/* LinkedIn */
.social-icon-box.linkedin:hover {
  background: #0A66C2;
  box-shadow: 0 0 20px rgba(10,102,194,.45);
}
.social-icon-box.linkedin:hover::after {
  background: #0A66C2;
}

/* Behance */
.social-icon-box.behance:hover {
  background: #1769FF;
  box-shadow: 0 0 20px rgba(23,105,255,.45);
}
.social-icon-box.behance:hover::after {
  background: #1769FF;
}

/* Dribbble */
.social-icon-box.dribbble:hover {
  background: #EA4C89;
  box-shadow: 0 0 20px rgba(234,76,137,.45);
}
.social-icon-box.dribbble:hover::after {
  background: #EA4C89;
}

/* Facebook */
.social-icon-box.facebook:hover {
  background: #1877F2;
  box-shadow: 0 0 20px rgba(24,119,242,.45);
}
.social-icon-box.facebook:hover::after {
  background: #1877F2;
}

/* YouTube */
.social-icon-box.youtube:hover {
  background: #FF0000;
  box-shadow: 0 0 20px rgba(255,0,0,.45);
}
.social-icon-box.youtube:hover::after {
  background: #FF0000;
}

/* TikTok */
.social-icon-box.tiktok:hover {
  background: #000000;
  box-shadow: 0 0 20px rgba(0,0,0,.65);
}
.social-icon-box.tiktok:hover::after {
  background: #000000;
}

/* Twitter / X */
.social-icon-box.twitter:hover,
.social-icon-box.x:hover {
  background: #000000;
  box-shadow: 0 0 20px rgba(0,0,0,.65);
}
.social-icon-box.twitter:hover::after,
.social-icon-box.x:hover::after {
  background: #000000;
}

/* Website */
.social-icon-box.website:hover {
  background: #11a6a6;
  box-shadow: 0 0 20px rgba(17,166,166,.45);
}
.social-icon-box.website:hover::after {
  background: #11a6a6;
}

/* ===================================================
   ICON COLOR ON HOVER
=================================================== */

.social-icon-box:hover img {
  filter: brightness(0) invert(100%);
}


/* Drag feedback */
.drag-ghost {
  opacity: .4;
}

.drag-chosen {
  background: rgba(17,166,166,.08);
  border-radius: 14px;
}

.drag-dragging {
  cursor: grabbing;
}
/* ===============================
   FOOTER SOCIAL – MOBILE FINAL FIX
=============================== */
@media (max-width: 768px) {

  /* الحاوية */
  .footer-social {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
    /*gap: 6px;*/
   
    width: 90%;
    max-width: 100%;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
    overflow: visible !important;
  }

  /* صندوق الأيقونة */
  .footer-social .social-icon-box {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(10px);

    position: relative;
  }

  /* صورة الأيقونة */
  .footer-social .social-icon-box img {
    width: 22px;
    height: 22px;
    max-width: 100%;
    max-height: 100%;
    display: block;
  }
}


.projects-cta {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* الخطين */
.projects-cta::before,
.projects-cta::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(230,226,215,.5),
    transparent
  );
}

/* الزر */
.projects-cta .btn {
  white-space: nowrap;
  padding: 14px 36px;
  border-radius: 40px;
  font-size: 15px;
  text-align: center;
}
@media (max-width: 768px) {
  .projects-cta::before,
  .projects-cta::after {
    display: none;
  }
}
.projects-cta .btn:hover {
  transform: translateY(-2px);
}

/* ===============================
   FAQ SECTION
=============================== */
.faq-section {
  margin-top: 100px;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(230,226,215,.15);
}

.faq-question {
  width: 100%;
  background: none;
  border: 0;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  color: #e6e2d7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question span {
  font-size: 22px;
  transition: transform .3s ease;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  color: #9fa5a7;
  line-height: 1.8;
  padding-left: 6px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}


/* ===============================
   AVATAR Picker
=============================== */
.avatar-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.avatar-option {
  cursor: pointer;
  position: relative;
}

.avatar-option input {
  display: none;
}

.avatar-option img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
  transition: .25s ease;
  opacity: .85;
}

.avatar-option:hover img {
  opacity: 1;
}

.avatar-option input:checked + img {
  border-color: #11a6a6; /* لون هويتك */
  box-shadow: 0 0 0 4px rgba(17,166,166,.25);
  opacity: 1;
}

.rating-stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 6px;
  font-size: 30px;
  cursor: pointer;
}

.rating-stars span {
  color: #2e3e41; /* لون محايد */
  transition: .25s ease;
}

.rating-stars span:hover,
.rating-stars span:hover ~ span {
  color: #f5c451; /* ذهبي */
}

.rating-stars span.active,
.rating-stars span.active ~ span {
  color: #f5c451;
}

.rating-hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #9fa5a7;
}


.empty-state-card {
  text-align: center;
  padding: 48px 24px;
  border-radius: 18px;
  background: rgba(17,166,166,.08);
  border: 1px dashed rgba(17,166,166,.4);
}

.empty-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.empty-desc {
  color: #9fa5a7;
  margin-bottom: 20px;
}

.rating-stars span {
  cursor: pointer;
  font-size: 26px;
  color: #555;
  transition: transform .15s ease, color .15s ease;
}

.rating-stars span.active {
  color: #f1c40f;
}

.form-alert {
  background: rgba(192,57,43,.15);
  color: #c0392b;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
}

.hidden {
  display: none;
}

.shake {
  animation: shake .35s;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}



.admin-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  margin-bottom: 30px;
  border-radius: 16px;
}

.pending-alert {
  background: rgba(218,195,164,.15);
  border: 1px solid rgba(218,195,164,.5);
}

.alert-text strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.alert-text span {
  font-size: 14px;
  color: #9fa5a7;
}

.custom-form{
 max-width: 100%  !important;
}


/* ===============================
   OFFER UI – FINAL
=============================== */

.offer-ui {
  padding: 80px 16px;
}

.offer-card {
  max-width: 980px;
  margin: auto;
  padding: 48px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, #0f5257, #002a32);
  color: #e6e2d7;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0,0,0,.35),
    inset 0 0 0 1px rgba(255,255,255,.08);
}

/* Glow */
.offer-card::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle,
    rgba(17,166,166,.15),
    transparent 70%
  );
  pointer-events: none;
}

.offer-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  color:#01272e;
  background: rgba(255,255,0,1);
  margin-bottom: 18px;
}

.offer-title {
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 16px;
  line-height: 1.3;
}

.offer-desc {
  font-size: 16px;
  line-height: 1.7;
  max-width: 720px;
  opacity: .95;
}

.offer-related {
  margin-top: 14px;
  font-size: 14px;
  opacity: .85;
}

/* Footer */
.offer-footer {
  margin-top: 36px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

/* Timer */
.offer-timer {
  display: flex;
  gap: 16px;
  font-size: 14px;
}

.offer-timer span {
  background: rgba(255,255,255,.1);
  padding: 12px 14px;
  border-radius: 14px;
  min-width: 70px;
  text-align: center;
}

.offer-timer b {
  display: block;
  font-size: 20px;
  margin-bottom: 4px;
}

/* CTA */
.offer-btn {
  padding: 16px 28px;
  border-radius: 18px;
  background: #11a6a6;
  color: #002a32;
  font-weight: 700;
  text-decoration: none;
  transition: .25s ease;
}

.offer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(17,166,166,.45);
}

/* Mobile */
@media (max-width: 640px) {
  .offer-card {
    padding: 32px 22px;
  }

  .offer-footer {
    /*flex-direction: column;*/
    align-items: stretch;
  }

  .offer-btn {
    text-align: center;
  }
}

/* ===============================
   Offer UI – Mobile Fix
=============================== */

@media (max-width: 768px) {

  .offer-card {
    padding: 20px;
  }

  .offer-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  /* Timer */
  .offer-timer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    text-align: center;
  }

  .offer-timer span {
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 10px 4px;
    font-size: 12px;
  }

  .offer-timer b {
    display: block;
    font-size: 16px;
    margin-bottom: 2px;
  }

  /* CTA Button */
  .offer-btn {
    width: 100%;
    text-align: center;
    padding: 14px 16px;
    font-size: 15px;
  }
}

/* Offer Card Enhancements */
.offer-card {
  position: relative;
}

.offer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.offer-clicks {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(17,166,166,.12);
  color: #11a6a6;
  font-weight: 600;
  width: 120px;
    text-align: center;
}

.offer-status.active {
  color: #11a6a6;
  font-weight: 600;
}

.offer-status.expired {
  color: #c0392b;
  font-weight: 600;
}

.offer-service {
  font-size: 13px;
  margin-top: 6px;
  color: #11a6a6;
}

.offer-service.muted {
  color: #9fa5a7;
}
.offer-hot-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg,#ff9800,#ff3d00);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}


.about-hero {
  background: #002a32;
  padding: 120px 0;
  text-align: center;
}

.about-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
}

.about-hero h1 span {
  color: #11a6a6;
}

.about-story .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual img {
  max-width: 100%;
  filter: grayscale(100%);
  transition: 0.4s;
}

.about-visual img:hover {
  filter: grayscale(0%);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 30px;
}

.value-card {
  background: #e6e2d7;
  padding: 30px;
  transition: 0.3s;
}

.value-card:hover {
  transform: translateY(-6px);
  border-left: 4px solid #11a6a6;
}

.process-steps {
  display: grid;
  gap: 16px;
}

.process-step {
  padding: 16px 20px;
  background: #0f5257;
  color: #fff;
}



.blog-grid-section {
  background:#002a32;
  padding:80px 0;
}

.blog-grid {
  column-count: 3;
  column-gap: 28px;
}

.blog-card {
  break-inside: avoid;
  margin-bottom: 28px;
}
@media (max-width: 1200px) {
  .blog-grid {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    column-count: 1;
  }
}
.blog-card:hover {
  transform:translateY(-6px);
}
.blog-category{
display: inline-block;
    background: var(--primary);
    color: var(--text);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    margin: 15px;
}

.blog-card-link {
  text-decoration:none;
  color:#e6e2d7;
  display:block;
  height:100%;
}

.blog-card-image {
  height:220px;
  background-size:cover;
  background-position:center;
  filter:grayscale(.1);
}

.blog-card-content {
  padding:24px;
  background: var(--text);
  color: var(--primary);
  
}

.blog-date {
  font-size:12px;
  letter-spacing:.08em;
  color:#dac3a4;
  text-transform:uppercase;
}

.blog-card h3 {
  margin:12px 0;
  font-size:22px;
  line-height:1.3;
}

.blog-card p {
  font-size:15px;
  line-height:1.6;
  color:#d5d9d6;
  margin-bottom:20px;
}

.blog-cta {
  font-size:14px;
  color:#11a6a6;
  font-weight:600;
}

.post-hero {
  min-height:70vh;
  background-size:cover;
  background-position:center;
  position:relative;
  display:flex;
  align-items:flex-end;
}

/* ===============================
   SMART HERO OVERLAY
=============================== */

.post-hero-overlay {
  position: absolute;
  inset: 0;

  /* طبقتين ذكيتين */
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.55) 40%,
      rgba(0, 0, 0, 0.25) 70%,
      rgba(0, 0, 0, 0.15) 100%
    );

  pointer-events: none;
}

.post-hero-content {
  position:relative;
  padding:80px 0;
  color:#e6e2d7;
  max-width:760px;
}

.post-hero h1 {
  font-size:42px;
  line-height:1.2;
  margin:16px 0;
}
.post-body h2 {
  font-size: 26px;
  margin-top: 56px;
}

.post-body h3 {
  font-size: 22px;
  margin-top: 40px;
}
.post-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  letter-spacing: .12em;
  color: #dac3a4;
  text-transform: uppercase;
}

.post-reading-time {
  opacity: .9;
}
/* ===============================
   HERO TEXT SAFETY
=============================== */

/* ===============================
   SHARE ICON BUTTONS
=============================== */

.post-share {
  display: flex;
  gap: 12px;
}

.share-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(230,226,215,0.08);
  border: 1px solid rgba(218,195,164,.35);
  cursor: pointer;
  transition: all .25s ease;
}

.share-btn svg {
  width: 18px;
  height: 18px;
  fill: #e6e2d7;
  transition: fill .25s ease;
}

.share-btn:hover {
  background: #11a6a6;
  border-color: #11a6a6;
  transform: translateY(-3px);
}

.share-btn:hover svg {
  fill: #002a32;
}


.share-label {
  color: #dac3a4;
  font-size: 13px;
}
.post-views {
  opacity: .85;
  font-size: 13px;
}


/* ===============================
   BLOG GRID (Jannah Creative)
=============================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  align-items: start;
}


/* ===============================
   Breadcrumbs
=============================== */

.breadcrumbs {
  font-size: 13px;
  margin-bottom: 20px;
  color: #777;
}

.breadcrumbs a {
  color: #777;
  text-decoration: none;
  transition: .2s ease;
}

.breadcrumbs a:hover {
  color: #000;
}

.breadcrumbs span {
  margin: 0 6px;
  color: #bbb;
}

/* ===============================
   BLOG CARD – MATCH IMAGE STYLE
=============================== */
/* Masonry Container */
.masonry-grid {
  position: relative;
}

/* Masonry Items */
.masonry-brick {
  width: 31%;
  margin-bottom: 30px;
}

/* Card */
.container-wrapper {
  background: #f3f3f3;
  border-radius: 18px;
  overflow: hidden;
}

/* Header */
.entry-archives-header {
  padding: 28px 28px 0 28px;
}

.post-cat {
  display: inline-block;
  background: var(--primary);
  color: var(--text);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 14px;
}

.post-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.post-title a {
  text-decoration: none;
  color: var(--dark);
}

.post-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* Image */
.featured-area img {
  width: 100%;
  display: block;
}

/* Content */
.entry-content {
  padding: 20px 28px 28px;
}

.post-excerpt {
  font-size: 14px;
  line-height: 1.8;
  color: var(--secondary);
  margin-bottom: 20px;
}

.more-link.button {
  display: inline-block;
  background: var(--dark);
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  transition: .3s ease;
}

.more-link.button:hover {
  background: var(--accent);
}

/* Responsive */
@media (max-width: 1200px) {
  .masonry-brick { width: 48%; }
}

@media (max-width: 768px) {
  .masonry-brick { width: 100%; }
}

.store-hero {
  padding: 80px 0;
  background: #002a32;
  text-align: center;
  color: #fff;
}

.store-hero h1 {
  font-size: 42px;
  margin-bottom: 12px;
}

.store-section {
  padding: 80px 0;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.store-card {
  background: #0f5257;
  border-radius: 12px;
  overflow: hidden;
  transition: .3s ease;
  display: flex;
  flex-direction: column;
}

.store-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(17,166,166,0.2);
}

.store-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.store-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.store-content h3 {
  margin-bottom: 10px;
}

.store-price {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #11a6a6;
}

.store-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.product-section {
  padding: 80px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.product-placeholder {
  background: #0f5257;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 22px;
  color: #dac3a4;
}

.product-info h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.product-price {
  font-size: 28px;
  font-weight: bold;
  color: #11a6a6;
  margin-bottom: 20px;
}

.product-description {
  line-height: 1.8;
  margin-bottom: 20px;
  color: #e6e2d7;
}

.product-features ul {
  padding-left: 18px;
  margin-bottom: 30px;
}

.product-features li {
  margin-bottom: 8px;
}

.product-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.order-success {
  padding: 100px 0;
  display: flex;
  justify-content: center;
}

.order-card {
  background: linear-gradient(145deg, #002a32, #0f5257);
  padding: 50px;
  border-radius: 20px;
  max-width: 650px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  position: relative;
}

.order-icon {
  width: 80px;
  height: 80px;
  background: #11a6a6;
  color: #002a32;
  font-size: 40px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  box-shadow: 0 10px 30px rgba(17,166,166,0.4);
}

.order-card h1 {
  margin-bottom: 10px;
}

.order-sub {
  color: #dac3a4;
  margin-bottom: 30px;
}

.order-number-box {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.order-number-box span {
  display: block;
  font-size: 14px;
  color: #dac3a4;
}

.order-number-box strong {
  font-size: 22px;
  letter-spacing: 1px;
  color: #11a6a6;
}

.order-details {
  margin-bottom: 30px;
  text-align: right;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 8px;
}

.detail-item span {
  color: #dac3a4;
}

.detail-item strong {
  color: #e6e2d7;
}

.order-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.glow {
  box-shadow: 0 10px 25px rgba(17,166,166,0.3);
  transition: 0.3s ease;
}

.glow:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(17,166,166,0.5);
}

.manual-payment-box {
  background: #0f5257;
  padding: 40px;
  border-radius: 16px;
  margin-bottom: 40px;
}

.manual-payment-box h2 {
  margin-bottom: 30px;
}

.steps {
  margin-bottom: 20px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.step-number {
  width: 28px;
  height: 28px;
  background: #11a6a6;
  color: #002a32;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-info {
  margin: 20px 0;
}

.pay-row {
  background: rgba(255,255,255,0.05);
  padding: 15px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.pay-row button {
  background: #11a6a6;
  border: none;
  padding: 6px 12px;
  color: #002a32;
  cursor: pointer;
  border-radius: 6px;
}

.note-box {
  background: rgba(218,195,164,0.15);
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  font-size: 14px;
}

.tx-help {
  font-size:14px;
  color:#dac3a4;
  margin-bottom:8px;
}

.tx-toggle {
  background:none;
  border:none;
  color:#11a6a6;
  cursor:pointer;
  padding:0;
  margin-top:10px;
  font-size:14px;
}

.tx-details p {
  background:rgba(255,255,255,0.05);
  padding:12px;
  border-radius:8px;
  margin-top:10px;
}
/* ===== Dashboard Layout ===== */

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: #0f5257;
  padding: 24px;
  border-radius: 18px;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: .3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.2);
}

.stat-title {
  font-size: 13px;
  opacity: .8;
  margin-bottom: 10px;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
}

.section-card {
  background: #002a32;
  padding: 28px;
  border-radius: 20px;
  margin-bottom: 30px;
  color: #fff;
}

.section-card h2 {
  margin-bottom: 18px;
  font-size: 18px;
}

.inline-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-success { background:#11a6a6; color:#fff; }
.badge-warning { background:#e67e22; color:#fff; }
.badge-muted   { background:#7f8c8d; color:#fff; }

@media(max-width:768px){
  .inline-stats{flex-direction:column}
}


.product-price {
  display:flex;
  align-items:center;
  gap:12px;
  margin:15px 0;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 16px;
}

.sale-price {
  color: #11a6a6;
  font-size: 22px;
  font-weight: 700;
}

.regular-price {
  color: #11a6a6;
  font-size: 22px;
  font-weight: 700;
}

.discount-badge {
  background: #11a6a6;
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 6px;
}

.coupon-box {
  display:flex;
  gap:10px;
  margin-top:20px;
}

.coupon-box input {
  flex:1;
  padding:10px;
  border-radius:10px;
  border:1px solid #ccc;
}

.coupon-box button {
  padding:10px 18px;
  background:#11a6a6;
  color:#fff;
  border:none;
  border-radius:10px;
  cursor:pointer;
}

.select-wrap {
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:20px;
}

.select-wrap label {
  font-size:14px;
  color:#dac3a4;
}

.custom-select {
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;

  background:#002a32;
  color:#e6e2d7;
  border:1px solid #0f5257;
  padding:12px 16px;
  border-radius:12px;
  font-size:14px;
  cursor:pointer;
  transition:all .25s ease;
  position:relative;
}

/* Hover */
.custom-select:hover {
  border-color:#11a6a6;
}

/* Focus */
.custom-select:focus {
  outline:none;
  border-color:#11a6a6;
  box-shadow:0 0 0 3px rgba(17,166,166,.2);
}

/* سهم مخصص */
.select-wrap {
  position:relative;
}

.select-wrap::after {
  content:"⌄";
  position:absolute;
  left:15px;
  top:45px;
  pointer-events:none;
  color:#11a6a6;
  font-size:14px;
}