/* 
   ==========================================================================
   INTISAR CRM - PREMIUM DESIGN SYSTEM
   Theme: Royal Slate Blue & Metallic Gold (Modern Glassmorphism)
   Font: Tajawal & Cairo
   ========================================================================== 
*/

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;700;900&family=Tajawal:wght@300;400;500;700;800;900&family=Outfit:wght@400;600;800&display=swap');

:root {
  /* Color Palette */
  --bg-deep: #060c18;
  --bg-surface: #0a1424;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  
  --primary: #0f2547;
  --primary-light: #183765;
  
  --accent: #c9a84c;
  --accent-rgb: 201, 168, 76;
  --accent-light: #e6c367;
  --accent-gradient: linear-gradient(135deg, #c9a84c 0%, #e6c367 100%);
  --glow-gradient: radial-gradient(circle, rgba(201,168,76,0.15) 0%, rgba(6,12,24,0) 70%);
  
  --text-main: #f3f4f6;
  --text-muted: #d1d5db;
  --text-dim: #9ca3af;
  --white: #ffffff;
  
  /* Borders and Shadow */
  --border-glass: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(201, 168, 76, 0.3);
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 30px rgba(201, 168, 76, 0.25);
  
  /* Transition and Border Radius */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
}

/* --- Base Resets & Global Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Tajawal', sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.8;
  overflow-x: hidden;
  text-align: right;
  direction: rtl;
  max-width: 100vw;
  width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 10px;
  border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Selection */
::selection {
  background: rgba(var(--accent-rgb), 0.3);
  color: var(--white);
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.font-outfit {
  font-family: 'Outfit', sans-serif;
}

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 12, 24, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(6, 12, 24, 0.92);
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
  margin: 0 auto;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  display: inline-block;
  animation: shake3d 2.5s ease-in-out 0.5s infinite;
}

.logo-text span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta-btn {
  background: var(--accent-gradient);
  color: var(--bg-deep) !important;
  font-weight: 700;
  padding: 7px 18px;
  font-size: 0.85rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.25);
  transition: var(--transition-smooth);
  margin-right: 20px;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  border-radius: 3px;
  transition: var(--transition-smooth);
}

/* --- Hero Section (Integrated into Page Flow) --- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 4% 80px;
  background: radial-gradient(circle at 10% 20%, rgba(201, 168, 76, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(24, 55, 101, 0.3) 0%, transparent 60%);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: var(--glow-gradient);
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid var(--border-accent);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--white);
}

.hero h1 span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  width: 100%;
  margin-bottom: 28px;
}

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

/* Button UI Components */
.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-premium.primary {
  background: var(--accent-gradient);
  color: var(--bg-deep);
  box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.25);
  border: none;
}

.btn-premium.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.45);
}

.btn-premium.outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--border-glass);
}

.btn-premium.outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--white);
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  width: 100%;
  max-width: 540px;
  position: relative;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium), 0 0 50px rgba(var(--accent-rgb), 0.05);
  border: 1px solid var(--border-glass);
}

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

/* --- Section Global Structure --- */
section {
  padding: 80px 4%;
  position: relative;
}

.section-bg-dark {
  background-color: var(--bg-deep);
}

.section-bg-surface {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.section-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid var(--border-accent);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--white);
  margin-bottom: 12px;
}

.section-title span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Minimalist Geometric Cat Icon Accent for Sections */
.cat-accent {
  width: 20px;
  height: 20px;
  fill: var(--accent);
  opacity: 0.85;
}

/* --- SECTION 1: من نحن (About Us) --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-text h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 14px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
  text-align: justify;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 35px;
  width: 100%;
}

.about-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.about-feat-icon {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  flex-shrink: 0;
}

.about-feat-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-premium);
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 35px;
  width: 100%;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(var(--accent-rgb), 0.15);
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
  display: block;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- SECTION 2: لماذا نحن (Why Us) --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition-smooth);
}

.why-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(var(--accent-rgb), 0.4);
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
}

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

.why-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(var(--accent-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid var(--border-accent);
}

.why-icon-svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
}

.why-card h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
}

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

.section-cta-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* --- SECTION 3: المميزات (Features) --- */
.features-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.feature-row.reverse {
  grid-template-columns: 1.1fr 1fr;
}

.feature-row.reverse .feature-visual-panel {
  order: 2;
}

.feature-row.reverse .feature-info {
  order: 1;
}

.feature-visual-panel {
  position: relative;
}

.feature-img-wrapper {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-premium);
  background: var(--bg-surface);
}

.feature-panel-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-img-wrapper:hover .feature-panel-img {
  transform: scale(1.03);
}

.feature-badge-index {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-deep);
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: var(--shadow-glow);
  border: 4px solid var(--bg-deep);
  z-index: 3;
}

.feature-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-info h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 14px;
}

.feature-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.feature-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 35px;
  width: 100%;
}

.feature-point-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-point-bullet {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  margin-top: 4px;
  flex-shrink: 0;
}

.feature-point-desc {
  font-size: 0.88rem;
  color: var(--text-main);
}

.feature-point-desc strong {
  color: var(--accent-light);
}

/* --- SECTION 4: الفوتور (Footer) --- */
footer {
  background-color: #030710;
  border-top: 1px solid var(--border-glass);
  padding: 60px 4% 24px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
}

.footer-info-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
  max-width: 380px;
}

.footer-cta {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.footer-input-group {
  display: flex;
  background: var(--bg-card);
  border: 1.5px solid var(--border-accent);
  border-radius: 50px;
  padding: 4px;
  overflow: hidden;
  max-width: 380px;
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.1);
}

.footer-input-group input {
  flex-grow: 1;
  background: transparent;
  border: none;
  padding: 10px 20px;
  color: var(--white);
  font-family: 'Tajawal', sans-serif;
  outline: none;
  font-size: 0.9rem;
}

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

.footer-input-group button {
  background: var(--accent-gradient);
  border: none;
  color: var(--bg-deep);
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.footer-input-group button:hover {
  opacity: 0.9;
  transform: scale(0.98);
}

.footer-links-col h4, .footer-contact-col h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.footer-links-col h4::after, .footer-contact-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--accent);
  padding-right: 6px;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-icon {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  flex-shrink: 0;
}

.contact-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-text a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-text a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright-text {
  color: var(--text-dim);
  font-size: 0.88rem;
}

.copyright-text strong {
  color: var(--accent);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-smooth);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* --- CONTACT MODAL (POPUP FORM) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 16, 0.85);
  backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-premium), var(--shadow-glow);
  transform: translateY(30px);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  color: var(--white);
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 30px;
}

.modal-header h3 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 8px;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 14px 48px 14px 16px;
  color: var(--white);
  font-family: 'Tajawal', sans-serif;
  outline: none;
  transition: var(--transition-smooth);
  width: 100%;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

.form-input-container {
  position: relative;
  width: 100%;
}

.form-input-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  transition: var(--transition-smooth);
  pointer-events: none;
}

.textarea-icon {
  top: 18px;
  transform: none;
}

.form-input:focus ~ .form-input-icon {
  color: var(--accent);
}

.modal-trust-badge {
  display: inline-block;
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 50px;
  margin-top: 10px;
  font-weight: 600;
}

.btn-form-submit {
  background: var(--accent-gradient);
  border: none;
  color: var(--bg-deep);
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.2);
  transition: var(--transition-smooth);
  margin-top: 10px;
}

.btn-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* --- RESPONSIVE DESIGN --- */

/* === TABLET: 1024px and below === */
@media (max-width: 1024px) {
  .hero-grid, .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-tag {
    justify-content: center;
    text-align: center;
  }

  .hero p {
    margin: 0 auto 35px;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .about-text {
    align-items: center;
    text-align: center;
  }

  .about-text p {
    text-align: center;
  }

  .about-visual {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-row.reverse .feature-visual-panel,
  .feature-row.reverse .feature-info {
    order: unset;
  }

  .feature-info {
    align-items: center;
    text-align: center;
  }

  .feature-info h3,
  .feature-info p {
    text-align: center;
  }

  .feature-points-list {
    text-align: right;
  }

  .about-stats {
    gap: 14px;
  }

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

  .footer-info-col {
    grid-column: span 2;
    align-items: center;
    text-align: center;
  }

  .footer-desc {
    max-width: 500px;
  }

  .footer-input-group {
    margin: 0 auto;
  }
}

/* === MOBILE: 768px and below === */
@media (max-width: 768px) {
  .modal-overlay {
    align-items: flex-start;
    overflow-y: auto;
    padding: 30px 0;
  }

  .modal-content-card {
    margin: auto;
  }

  header {
    padding: 6px 0;
  }

  .nav-container {
    padding: 12px 5%;
  }

  /* Sections */
  section {
    padding: 60px 5%;
  }

  .hero {
    min-height: auto;
    padding: 110px 5% 70px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-image-wrapper {
    max-width: 100%;
  }

  /* Mobile Nav */
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75vw;
    max-width: 280px;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 90px 30px 30px;
    gap: 24px;
    align-items: flex-start;
    transition: var(--transition-smooth);
    z-index: 999;
    box-shadow: -20px 0 40px rgba(0,0,0,0.5);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.05rem;
  }

  .nav-cta-btn {
    margin-right: 0;
    margin-top: 10px;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Section badges & titles centered */
  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  /* Why cards */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .why-card {
    padding: 24px 20px;
  }

  /* About */
  .about-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }

  .stat-card {
    padding: 16px 10px;
  }

  .stat-num {
    font-size: 1.4rem;
  }

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

  /* Features */
  .feature-info {
    align-items: center;
    text-align: center;
  }

  .feature-badge-index {
    top: -15px;
    right: -10px;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .feature-info h3 {
    font-size: 1.4rem;
    text-align: center;
  }

  .features-container {
    gap: 60px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer-info-col {
    grid-column: span 1;
    align-items: center;
  }

  .footer-links-col, .footer-contact-col {
    align-items: center;
  }

  .footer-links-col h4::after, .footer-contact-col h4::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .footer-links {
    align-items: center;
  }

  .contact-item {
    justify-content: center;
    flex-direction: row;
    gap: 10px;
  }

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

  /* Modal */
  .modal-content-card {
    width: 95%;
    padding: 28px 20px;
    margin: 10px;
  }

  /* Section CTA button */
  .section-cta-container .btn-premium {
    width: auto;
    min-width: 240px;
  }
}

/* === SMALL MOBILE: 480px and below === */
@media (max-width: 480px) {
  section {
    padding: 50px 4%;
  }

  .hero {
    padding: 100px 4% 60px;
  }

  .hero h1 {
    font-size: 1.55rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 0.92rem;
  }

  .hero-tag {
    font-size: 0.78rem;
    padding: 5px 12px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-premium {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.92rem;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat-card:last-child {
    grid-column: span 2;
  }

  .stat-num {
    font-size: 1.3rem;
  }

  .why-card {
    padding: 20px 16px;
  }

  .why-icon-box {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }

  .why-icon-svg {
    width: 22px;
    height: 22px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-desc {
    font-size: 0.93rem;
  }

  .feature-info h3 {
    font-size: 1.25rem;
  }

  .feature-info p {
    font-size: 0.93rem;
  }

  .feature-point-desc {
    font-size: 0.9rem;
  }

  .modal-content-card {
    padding: 20px 16px;
    width: 96%;
  }

  .modal-header h3 {
    font-size: 1.3rem;
  }

  .about-feat-item {
    padding: 10px 12px;
  }

  .about-feat-text {
    font-size: 0.88rem;
  }

  .footer-grid {
    gap: 24px;
  }

  .footer-desc {
    font-size: 0.88rem;
  }

  .footer-input-group {
    max-width: 100%;
  }

  .copyright-text {
    font-size: 0.8rem;
  }
}

/* === VERY SMALL: 360px and below === */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.35rem;
  }

  .nav-container {
    padding: 10px 4%;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .stat-card:last-child {
    grid-column: span 2;
  }
}

/* 
   ==========================================================================
   ENTRANCE AND SCROLL REVEAL ANIMATIONS
   ========================================================================== 
*/

/* Keyframe Animations for Hero Section Load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Page Load Animation triggers */
.hero-tag {
  animation: fadeInDown 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 {
  animation: shake3d 3s ease-in-out 0.5s infinite;
}

.hero p {
  opacity: 0;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-buttons {
  opacity: 0;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-image-wrapper {
  animation: shake3d 4s ease-in-out 0s infinite;
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* حركة الكرت - طفو خفيف مثل الكرت اللي وقع */
@keyframes shake3d {
  0%, 100% { transform: perspective(500px) translateY(0) rotateX(0deg) rotateY(0deg); }
  25% { transform: perspective(500px) translateY(-3px) rotateX(0.5deg) rotateY(-0.5deg); }
  50% { transform: perspective(500px) translateY(0) rotateX(0deg) rotateY(0deg); }
  75% { transform: perspective(500px) translateY(-2px) rotateX(-0.3deg) rotateY(0.3deg); }
}

/* Delay modifiers for staggered entry */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }
.delay-700 { transition-delay: 700ms; }

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  cursor: pointer;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25d366;
  opacity: 0.5;
  z-index: -1;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  background-color: #20ba5a;
  color: #20ba5a;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  display: block;
}

@keyframes pulse-whatsapp {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Adjust floating button position for small mobile screens if needed */
@media (max-width: 480px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 15px;
    bottom: 15px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

