/* =====================================================
   مكتب الغمري للمحاماة - الملف الرئيسي للتصميم
   Al Ghamry Law Firm - Main Stylesheet
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

/* ======== المتغيرات الرئيسية ======== */
:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark: #A07830;
  --dark: #0A0A0F;
  --dark-blue: #0D1528;
  --dark-blue-2: #111C35;
  --dark-mid: #1A2540;
  --text-light: #F5F0E8;
  --text-muted: #A0A8B8;
  --border-color: rgba(201, 168, 76, 0.3);
  --border-gold: rgba(201, 168, 76, 0.6);
  --shadow-gold: 0 0 30px rgba(201, 168, 76, 0.2);
  --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-arabic: 'Tajawal', 'Arial', sans-serif;
  --font-serif: 'Amiri', serif;
  --radius: 12px;
  --radius-lg: 20px;
}

/* ======== الأساسيات ======== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-arabic);
  background: var(--dark);
  color: var(--text-light);
  direction: rtl;
  text-align: right;
  line-height: 1.8;
  overflow-x: hidden;
}

/* ======== الخلفية المتحركة ======== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(13, 21, 40, 0.8) 0%, transparent 50%),
    linear-gradient(135deg, #0A0A0F 0%, #0D1528 50%, #0A0A0F 100%);
  z-index: -1;
}

/* ======== روابط ======== */
a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold-light);
}

/* ======== قائمة التنقل ======== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 0 5%;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0 5%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: var(--gold-dark);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 55px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text .firm-name-ar {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.nav-logo-text .firm-name-en {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
}

.nav-menu li a {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
  width: 60%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
  color: var(--dark) !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  border-radius: 8px !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(201, 168, 76, 0.4);
}

.nav-cta::after {
  display: none !important;
}

/* ======== زر القائمة للموبايل ======== */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: transparent;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
  border-radius: 2px;
}

/* ======== القسم الرئيسي - Hero ======== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: 
    radial-gradient(ellipse at 30% 60%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(13, 21, 40, 0.9) 0%, transparent 50%);
  z-index: 0;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-particles::before,
.hero-particles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero-particles::before {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.05) 0%, transparent 70%);
  top: 20%;
  left: 10%;
}

.hero-particles::after {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.03) 0%, transparent 70%);
  bottom: 30%;
  right: 15%;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--text-light);
}

.hero-text h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 36px;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark) !important;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-arabic);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.4);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-secondary {
  background: transparent;
  color: var(--gold) !important;
  padding: 13px 30px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-arabic);
  border: 1px solid var(--border-gold);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.stat-item {
  text-align: center;
  padding: 20px 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: var(--transition);
}

.stat-item:hover {
  border-color: var(--border-gold);
  background: rgba(201, 168, 76, 0.05);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-serif);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ======== بطاقة الشعار Hero ======== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-logo-card {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center, rgba(201, 168, 76, 0.08) 0%, rgba(13, 21, 40, 0.6) 70%);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  padding: 50px;
  animation: pulse-ring 4s ease-in-out infinite;
}

.hero-logo-card::before {
  content: '';
  position: absolute;
  inset: -15px;
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 50%;
  animation: pulse-ring 4s ease-in-out infinite 2s;
}

.hero-logo-card::after {
  content: '';
  position: absolute;
  inset: -30px;
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 50%;
  animation: pulse-ring 4s ease-in-out infinite 4s;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.02); opacity: 0.8; }
}

.hero-logo-card img {
  width: 280px;
  height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.3));
}

/* ======== قسم العنوان المشترك ======== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.4;
}

.section-title .gold {
  color: var(--gold);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 20px auto;
  border-radius: 2px;
}

/* ======== الأقسام ======== */
section {
  padding: 90px 5%;
  position: relative;
}

.section-alt {
  background: rgba(13, 21, 40, 0.5);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

/* ======== بطاقات الخدمات ======== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--border-gold);
  background: rgba(201, 168, 76, 0.04);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(201, 168, 76, 0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 12px;
  font-family: var(--font-serif);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 20px;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.service-link:hover {
  border-bottom-color: var(--gold);
  gap: 10px;
}

/* ======== قسم لماذا نحن ======== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-text .feature-list {
  list-style: none;
  margin-top: 30px;
}

.why-text .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

.why-text .feature-list li:last-child {
  border-bottom: none;
}

.feature-icon-sm {
  width: 40px;
  height: 40px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.why-visual {
  position: relative;
}

.why-card {
  background: linear-gradient(135deg, rgba(13, 21, 40, 0.8), rgba(26, 37, 64, 0.8));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.why-card .big-number {
  font-size: 5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-serif);
  line-height: 1;
}

.why-card .big-label {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ======== قسم الفريق ======== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  border-color: var(--border-gold);
  background: rgba(201, 168, 76, 0.04);
  transform: translateY(-5px);
}

.team-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
  font-family: var(--font-serif);
  color: var(--dark);
  font-weight: 700;
}

.team-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 6px;
}

.team-card .role {
  font-size: 0.88rem;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}

.team-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ======== قسم ساعات العمل ======== */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hours-card {
  background: rgba(13, 21, 40, 0.8);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px;
  overflow: hidden;
  position: relative;
}

.hours-card::before {
  content: '⚖️';
  position: absolute;
  font-size: 8rem;
  top: -20px;
  left: -20px;
  opacity: 0.05;
}

.hours-table {
  width: 100%;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row .day {
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.95rem;
}

.hours-row .time {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 500;
}

.hours-row.closed .time {
  color: #e74c3c;
}

.contact-quick {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: var(--transition);
}

.contact-item:hover {
  border-color: var(--border-gold);
  background: rgba(201, 168, 76, 0.05);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.contact-info p, .contact-info a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  direction: ltr;
  text-align: right;
}

.contact-info a:hover {
  color: var(--gold);
}

/* ======== قسم الشهادات ======== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '❝';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.2;
  font-family: serif;
  line-height: 1;
}

.testimonial-card:hover {
  border-color: var(--border-gold);
  background: rgba(201, 168, 76, 0.04);
  transform: translateY(-5px);
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--dark);
  font-weight: 700;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  color: var(--text-light);
  font-size: 0.95rem;
}

.author-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ======== نموذج الاستشارة ======== */
.consultation-form-section {
  background: linear-gradient(135deg, rgba(13, 21, 40, 0.8), rgba(26, 37, 64, 0.5));
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(13, 21, 40, 0.8);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 50px;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-group label span.required {
  color: var(--gold);
  margin-right: 4px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-light);
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  direction: rtl;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

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

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

select.form-control option {
  background: var(--dark-blue-2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-arabic);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.4);
}

/* ======== الـ Footer ======== */
.footer {
  background: linear-gradient(135deg, var(--dark), var(--dark-blue));
  border-top: 1px solid var(--border-gold);
  padding: 70px 5% 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links li a::before {
  content: '←';
  opacity: 0;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--gold);
  padding-right: 5px;
}

.footer-links li a:hover::before {
  opacity: 1;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-contact-list li span.icon {
  color: var(--gold);
  font-size: 1rem;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom .copy {
  direction: ltr;
}

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

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

/* ======== زر الاتصال العائم ======== */
.floating-buttons {
  position: fixed;
  bottom: 30px;
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: white;
}

.float-btn:hover {
  transform: scale(1.1) translateY(-3px);
}

.float-btn.whatsapp {
  background: #25D366;
}

.float-btn.phone {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

/* ======== نافذة النجاح ======== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--dark-blue-2);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
  max-width: 450px;
  width: 90%;
  animation: modal-in 0.4s ease;
}

@keyframes modal-in {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.modal-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 12px;
  font-family: var(--font-serif);
}

.modal-box p {
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.8;
}

/* ======== شريط التمرير المخصص ======== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ======== تأثيرات الظهور ======== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======== أنماط الخلفية المزخرفة ======== */
.bg-pattern {
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(201, 168, 76, 0.08) 1px, transparent 0);
  background-size: 30px 30px;
}

/* ======== تصميم الموبايل ======== */
@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .hero-text p {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-logo-card {
    width: 300px;
    height: 300px;
  }

  .hero-logo-card img {
    width: 200px;
    height: 200px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hours-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 80px;
    right: 0;
    left: 0;
    background: rgba(10, 10, 15, 0.98);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    gap: 5px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li a {
    padding: 12px 20px;
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .form-container {
    padding: 30px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-number {
    font-size: 1.7rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-logo-card {
    width: 250px;
    height: 250px;
  }

  .hero-logo-card img {
    width: 160px;
    height: 160px;
  }
}

/* ======== تأثيرات إضافية ======== */
.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 16px;
}

.page-hero {
  min-height: 35vh;
  display: flex;
  align-items: center;
  padding: 120px 5% 60px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-blue) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-hero-content {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span {
  color: var(--gold);
}

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--dark);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Alert / notification */
.alert {
  padding: 14px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.3);
  color: #2ecc71;
}

.alert-error {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #e74c3c;
}

/* Tooltip */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  right: 50%;
  transform: translateX(50%);
  background: var(--dark-blue-2);
  color: var(--text-light);
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  margin-bottom: 8px;
}

[data-tooltip]:hover::after {
  opacity: 1;
}
