/*
Theme Name: One Page Arabic Theme
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A modern one-page WordPress theme with RTL support inspired by the Arab Digi Launchpad landing page.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onepage-arabic
Tags: one-column, rtl-language-support, custom-colors, custom-menu, featured-images, translation-ready
*/

:root {
  --primary: #0a0d1c;
  --primary-dark: #020617;
  --primary-light: #1d4ed8;
  --secondary: #f97316;
  --muted: #f1f5f9;
  --card-bg: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.2);
  --shadow-soft: 0 10px 40px rgba(2, 6, 23, 0.15);
  font-size: 16px;
}


body {
  font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  direction: rtl;
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #0f172a;
  line-height: 1.7;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  }

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
 padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-icon {
  font-size: 1.2rem;
}

.btn-primary {
  background: linear-gradient(120deg, #f97316, #fb923c);
  color: #fff;
  box-shadow: 0 15px 30px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

.btn-outline:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn.full {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 50px;
  height: 50px;
}

.brand-title {
  font-weight: 800;
  font-size: 1rem;
  display: block;
}

.brand-subtitle {
  font-size: 0.85rem;
  color: #475569;
}

.primary-nav .menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-nav a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
}
}

.primary-nav a:hover {
  color: var(--secondary);
}

/* Hero */
.hero-section {
    position: relative;

  min-height: 100vh;
  display: flex;
  align-items: center;
background-size: cover;
  background-position: center;
  overflow: hidden;
  }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.9), rgba(15, 23, 42, 0.75));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 4rem 0 3rem;
}

.hero-logo img {
  width: 90px;
  height: 90px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
  }

.hero-content h1 {
 font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
  font-weight: 900;
}

.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero-stat {
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding: 0.6rem 0;
}

.scroll-indicator span {
  width: 6px;
  height: 12px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
   margin-bottom: 3rem;
}

.section-eyebrow {
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.5rem 0;
  font-weight: 900;
}

.section-description {
  color: #475569;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.section-header.light .section-description,
.section-header.light h2 {
  color: #fff;
}

/* Services */
.services-section {
  background: var(--muted);
}

.services-grid {
  display: grid;
 grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.service-card h3 {
  margin: 0.5rem 0;
  font-size: 1.5rem;
color: #0f172a;
}

.service-card p {
  color: #475569;
  margin: 0;
  }

.service-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: #475569;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Why us */
.why-us-section {
  background: var(--primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.why-us-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.25), transparent 50%);
  opacity: 0.5;
}

.why-us-section > .container {
  position: relative;
  z-index: 2;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.why-us-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.75rem;
  backdrop-filter: blur(12px);
}

.why-us-card h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  color: #fff;
}

.why-us-card p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.icon-pill {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.4);
}

.stats-bar {
  margin-top: 3rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.stat-block {
  text-align: center;
}

.stat-block .stat-value {
  color: var(--secondary);
  font-size: 2.5rem;
}

.stat-block .stat-label {
  color: rgba(255, 255, 255, 0.8);
}

/* CTA */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-form-card,
.contact-info {
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.15);
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}

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

.form-note {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 1rem;
}

.contact-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.contact-card h4 {
  margin: 0 0 0.35rem;
}

.contact-card a {
  color: var(--primary-light);
  font-weight: 700;
  text-decoration: none;
  
}

.contact-card.highlight {
  background: #fef2e4;
  border-color: rgba(249, 115, 22, 0.35);
}

.cta-banner {
  margin-top: 1rem;
  padding: 1.75rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--primary-light), #38bdf8);
  color: #fff;
  text-align: center;
}

/* Footer */
.site-footer {
 background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-logo {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.site-footer h4,
.site-footer h3 {
  margin-top: 0;
  color: #fff;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--secondary);
}

.site-footer p span {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.social-links {
  display: flex;
  gap: 0.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

/* WhatsApp */
.whatsapp-button {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  background: #25d366;
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.35);
  z-index: 50;
}

/* Responsive */
@media (max-width: 900px) {
  .primary-nav {
    display: none;
  }

  .header-inner {
    flex-wrap: wrap;
  }
  
  }

@media (max-width: 640px) {
  .hero-content p {
    font-size: 1.05rem;
  }

  .header-cta {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
}
