/*
Theme Name: Abdelrazek Khashaba - Reputation Management
Author: AnMedia
Version: 1.0.0
*/

/* ============================================
   CSS VARIABLES & ROOT
   ============================================ */
:root {
  --navy: #0B1C2C;
  --navy-light: #142840;
  --emerald: #0A7E6C;
  --emerald-light: #0C9E88;
  --emerald-dark: #086658;
  --gold: #C9A84C;
  --bg-white: #FFFFFF;
  --bg-light: #F5F7FA;
  --text-dark: #1A1A1A;
  --text-body: #2D2D2D;
  --text-gray: #666666;
}

/* ============================================
   BASE STYLES
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  background: var(--bg-white);
  color: var(--text-body);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all 0.3s ease;
}
.site-nav.scrolled {
  background: rgba(11, 28, 44, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 18px;
}
.nav-logo-text h3 { color: white; font-size: 18px; font-weight: 700; line-height: 1.2; }
.nav-logo-text p { color: var(--emerald-light); font-size: 11px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--emerald-light); }
.nav-cta {
  background: var(--emerald);
  color: white !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s;
}
.nav-cta:hover { background: var(--emerald-dark); transform: translateY(-2px); }

/* Mobile Menu Toggle */
.nav-toggle { display: none; background: none; border: none; color: white; cursor: pointer; }

@media (max-width: 768px) {
  .nav-links { 
    display: none; 
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(11,28,44,0.98);
    padding: 2rem;
    flex-direction: column;
    gap: 1rem;
  }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0B1C2C 0%, #142840 50%, #0A7E6C 100%);
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: rgba(10,126,108,0.1);
  border-radius: 50%;
  filter: blur(60px);
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero-badge span { color: var(--emerald-light); font-size: 13px; font-weight: 500; }

.hero h1 {
  color: white;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}
.hero h1 .highlight { color: var(--emerald-light); }
.hero-description {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 550px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-number { font-size: 2rem; font-weight: 900; color: var(--emerald-light); }
.hero-stat-label { color: rgba(255,255,255,0.5); font-size: 13px; margin-top: 4px; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  width: 320px;
  height: 320px;
  border-radius: 24px;
  background: rgba(10,126,108,0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(10,126,108,0.2);
  border: 4px solid rgba(10,126,108,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.hero-avatar span { font-size: 3rem; font-weight: 900; color: var(--emerald-light); }
.hero-card h3 { color: white; font-size: 1.2rem; }
.hero-card p { color: var(--emerald-light); font-size: 0.85rem; }

.hero-float-badge {
  position: absolute;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  animation: float 3s ease-in-out infinite;
}
.hero-float-badge.top { top: -12px; right: -12px; background: var(--emerald); color: white; }
.hero-float-badge.bottom { bottom: -12px; left: -12px; background: var(--gold); color: var(--navy); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 768px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 2rem; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  background: var(--emerald);
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Cairo', sans-serif;
}
.btn-primary:hover {
  background: var(--emerald-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10,126,108,0.4);
}
.btn-secondary {
  background: transparent;
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Cairo', sans-serif;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: white; }

.btn-whatsapp {
  background: #25D366;
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Cairo', sans-serif;
}
.btn-whatsapp:hover {
  background: #1DA851;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--bg-light);
  padding: 2.5rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.trust-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.trust-title { color: var(--text-gray); font-size: 14px; margin-bottom: 1.5rem; font-weight: 500; }
.trust-sectors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.trust-sector {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}
.trust-sector:hover { border-color: rgba(10,126,108,0.3); box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.trust-sector-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(10,126,108,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-sector-dot::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--emerald);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: 5rem 0;
  background: white;
}
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-label { color: var(--emerald); font-weight: 700; font-size: 13px; letter-spacing: 2px; }
.section-title { color: var(--navy); font-size: 2.2rem; font-weight: 900; margin-top: 0.75rem; margin-bottom: 1rem; }
.section-divider {
  width: 80px;
  height: 4px;
  background: var(--emerald);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}
.section-description { color: var(--text-gray); max-width: 700px; margin: 0 auto; font-size: 1.1rem; line-height: 1.8; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}
.pillar-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
  border-top: 4px solid transparent;
  transition: all 0.3s;
}
.pillar-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(11,28,44,0.1); border-top-color: var(--emerald); }
.pillar-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  border-radius: 16px;
  background: rgba(10,126,108,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-icon svg { width: 36px; height: 36px; color: var(--emerald); }
.pillar-card h3 { color: var(--navy); font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; }
.pillar-card p { color: var(--text-gray); line-height: 1.7; font-size: 0.95rem; }

@media (max-width: 768px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* Quote Block */
.quote-block {
  background: var(--navy);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-block::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 150px;
  height: 150px;
  background: rgba(10,126,108,0.1);
  border-radius: 50%;
  filter: blur(40px);
}
.quote-block blockquote {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.quote-block cite {
  color: var(--emerald-light);
  font-style: normal;
  font-weight: 500;
  display: block;
  margin-top: 1rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: 5rem 0;
  background: var(--bg-light);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
  border-top: 4px solid transparent;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(11,28,44,0.12); border-top-color: var(--emerald); }
.service-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.25rem; }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(10,126,108,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon svg { width: 28px; height: 28px; color: var(--emerald); }
.service-badge {
  background: rgba(11,28,44,0.05);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}
.service-card h3 { color: var(--navy); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.75rem; }
.service-card > p { color: var(--text-gray); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.25rem; flex-grow: 1; }
.service-features { list-style: none; }
.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-body);
  padding: 4px 0;
}
.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
}

@media (max-width: 992px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .services-grid { grid-template-columns: 1fr; } }

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials { padding: 5rem 0; background: white; }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 5rem; }
.case-card {
  background: var(--navy);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}
.case-card:hover { transform: translateY(-4px); }
.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to left, var(--emerald), var(--emerald-light));
}
.case-metric { font-size: 2.5rem; font-weight: 900; color: var(--emerald-light); }
.case-metric-label { color: rgba(255,255,255,0.5); font-size: 13px; margin: 0.5rem 0 1rem; }
.case-card h3 { color: white; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.case-problem { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 0.75rem; }
.case-result { color: var(--emerald-light); font-size: 0.9rem; font-weight: 500; }

@media (max-width: 768px) { .cases-grid { grid-template-columns: 1fr; } }

/* Carousel */
.testimonial-carousel {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-light);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  position: relative;
}
.testimonial-carousel blockquote {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 2rem;
}
.testimonial-name { color: var(--navy); font-weight: 700; font-size: 1.1rem; }
.testimonial-role { color: var(--text-gray); font-size: 0.85rem; }
.testimonial-sector {
  display: inline-block;
  margin-top: 0.5rem;
  background: rgba(10,126,108,0.1);
  color: var(--emerald);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 2rem; }
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.carousel-dot.active { background: var(--emerald); width: 28px; border-radius: 5px; }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact { padding: 5rem 0; background: var(--bg-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-form-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
}
.contact-form-card h3 { color: var(--navy); font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--navy); margin-bottom: 0.5rem; }
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E0E5EC;
  border-radius: 8px;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  direction: rtl;
  background: white;
  transition: border-color 0.3s;
}
.form-input:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(10,126,108,0.1); }
textarea.form-input { min-height: 100px; resize: none; }

.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.whatsapp-cta {
  background: var(--navy);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}
.whatsapp-cta h3 { color: white; font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.whatsapp-cta p { color: rgba(255,255,255,0.6); margin-bottom: 1.5rem; }

.contact-details-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
}
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(10,126,108,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; color: var(--emerald); }
.contact-item-label { color: var(--text-gray); font-size: 13px; }
.contact-item-value { color: var(--navy); font-weight: 700; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--navy); color: white; }
.footer-cta {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 3rem 0;
  text-align: center;
}
.footer-cta h2 { font-size: 1.8rem; font-weight: 900; margin-bottom: 1rem; }
.footer-cta p { color: rgba(255,255,255,0.6); max-width: 500px; margin: 0 auto 2rem; }
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.footer-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
}
.footer-logo h4 { font-size: 18px; font-weight: 700; line-height: 1.2; }
.footer-logo p { color: var(--emerald-light); font-size: 11px; }
.footer-desc { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.7; }
.footer-heading { color: var(--emerald-light); font-weight: 700; margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 14px; transition: color 0.3s; }
.footer-links a:hover { color: var(--emerald-light); }
.footer-contact-item { color: rgba(255,255,255,0.5); font-size: 14px; margin-bottom: 0.5rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 2rem;
  text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 13px; }

@media (max-width: 768px) {
  .footer-content { grid-template-columns: 1fr; }
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  transition: all 0.3s;
}
.floating-whatsapp:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.5); }
.floating-whatsapp svg { width: 28px; height: 28px; color: white; fill: currentColor; }
