/* ===================================
   مؤسسة الرحاب العربية للتسويق الإلكتروني
   Static Website Stylesheet
   =================================== */

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

/* CSS Variables */
:root {
  --primary: #C2621A;
  --primary-light: #D4782F;
  --primary-dark: #A85215;
  --dark: #1A1A2E;
  --dark-light: #2A2A3E;
  --background: #FDFCF8;
  --foreground: #1A1A2E;
  --card: #FFFFFF;
  --border: #E8E5DD;
  --muted: #6B6B7B;
  --muted-light: #9B9BAB;
  --accent-bg: #F5F0E8;
  --green-whatsapp: #25D366;
  --font-body: 'Cairo', 'Tajawal', sans-serif;
  --font-heading: 'Tajawal', sans-serif;
  --font-numbers: 'Poppins', sans-serif;
  --radius: 0.5rem;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.12);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  direction: rtl;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f0ede5;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ===== HEADER / NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

@media (min-width: 1024px) {
  .navbar-inner {
    height: 80px;
  }
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-link:hover .logo-title {
  color: #1A1A2E !important;
}

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

@media (min-width: 1024px) {
  .logo-img {
    width: 48px;
    height: 48px;
  }
}

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

.logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  color: #1A1A2E !important;
  transition: color 0.2s ease;
}

@media (min-width: 1024px) {
  .logo-title {
    font-size: 1.125rem;
  }
}

.logo-subtitle {
  font-size: 0.625rem;
  color: #1A1A2E !important;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .logo-subtitle {
    font-size: 0.75rem;
  }
}

/* Desktop Nav */
.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  color: rgba(26,26,46,0.8);
}

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

/* Nav Right */
.nav-right {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .nav-right {
    display: flex;
  }
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.nav-phone span {
  font-family: var(--font-numbers);
  direction: ltr;
}

/* CTA Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--primary);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--primary);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s ease;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  border: none;
}

.btn-white:hover {
  background: rgba(255,255,255,0.9);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.3);
  transition: background 0.2s ease;
  cursor: pointer;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
  color: var(--foreground);
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 1rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu .nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  width: 100%;
}

.mobile-menu .mobile-cta {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.mobile-menu .mobile-cta .btn-primary {
  width: 100%;
  text-align: center;
  padding: 0.75rem;
}

/* ===== GRADIENT UTILITIES ===== */
.gradient-orange {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.gradient-dark {
  background: linear-gradient(135deg, var(--dark), var(--dark-light));
}

.text-gradient-orange {
  background: linear-gradient(135deg, var(--primary-light), #E89040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 36, 0.85);
}

.hero-decorative {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.hero-decorative .line-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 60%;
  height: 120%;
  border-right: 2px solid rgba(194, 98, 26, 0.2);
  transform: rotate(7deg);
}

.hero-decorative .line-2 {
  position: absolute;
  top: -10%;
  right: 15%;
  width: 60%;
  height: 120%;
  border-right: 1px solid rgba(194, 98, 26, 0.1);
  transform: rotate(7deg);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 6rem;
  padding-bottom: 4rem;
  max-width: 48rem;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-weight: 900;
  font-size: 2.25rem;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

.hero h1 .gradient-text {
  display: block;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, #D4782F, #E89040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 36rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--dark), var(--dark-light));
  padding-top: 8rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.page-hero .decorative-line {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  border-right: 2px solid var(--primary);
  transform: rotate(7deg);
  opacity: 0.1;
  pointer-events: none;
}

.page-hero .hero-label {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  display: block;
}

.page-hero h1 {
  font-weight: 900;
  font-size: 2.25rem;
  color: #fff;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .page-hero h1 {
    font-size: 3rem;
  }
}

.page-hero .hero-desc {
  color: rgba(255,255,255,0.6);
  max-width: 42rem;
  font-size: 1.125rem;
  margin-bottom: 0;
}

/* ===== STATS BAR ===== */
.stats-bar {
  position: relative;
  z-index: 10;
  margin-top: -4rem;
}

.stats-grid {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.stat-number {
  font-family: var(--font-numbers);
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .stat-number {
    font-size: 2.25rem;
  }
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 6rem 0;
}

.section-label {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  display: block;
  text-align: center;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.875rem;
  margin-bottom: 1rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-desc {
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto 4rem;
  text-align: center;
}

/* ===== CARDS ===== */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-xl);
  border-color: rgba(194, 98, 26, 0.3);
}

.card-body {
  padding: 1.5rem;
}

.card-img {
  width: 100%;
  height: 13rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img {
  transform: scale(1.05);
}

.card-img-wrapper {
  overflow: hidden;
}

/* ===== SERVICE ICON ===== */
.icon-box {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box-lg {
  width: 3.5rem;
  height: 3.5rem;
}

/* ===== DIAGONAL SECTIONS ===== */
.diagonal-section {
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  margin-top: -5rem;
  padding-top: 8rem;
}

.diagonal-section-bottom {
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  padding-bottom: 5rem;
}

/* ===== WHY US CARDS (dark bg) ===== */
.why-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: background 0.3s ease;
}

.why-card:hover {
  background: rgba(255,255,255,0.1);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 3.75rem;
  color: rgba(194, 98, 26, 0.1);
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1;
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  color: var(--primary);
  width: 16px;
  height: 16px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .cta-section {
    padding: 4rem;
  }
}

.cta-section .decorative {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  pointer-events: none;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ===== PRICING CARDS ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

.popular-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.pricing-amount {
  font-family: var(--font-numbers);
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--primary);
}

.pricing-period {
  color: var(--muted);
  font-size: 0.875rem;
}

.pricing-features {
  flex: 1;
  margin-bottom: 2rem;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.375rem 0;
  font-size: 0.875rem;
}

.pricing-feature.included {
  color: var(--foreground);
}

.pricing-feature.excluded {
  color: var(--muted-light);
  opacity: 0.5;
}

.pricing-feature svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pricing-feature.included svg {
  color: var(--primary);
}

/* ===== CONTACT FORM ===== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-label .required {
  color: #EF4444;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  background: var(--background);
  color: var(--foreground);
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(194, 98, 26, 0.1);
}

.form-input.error,
.form-textarea.error {
  border-color: #EF4444;
}

.form-error {
  color: #EF4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.form-textarea {
  resize: none;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 32rem;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 1.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: rgba(255,255,255,0.3);
}

.modal-body {
  padding: 1.5rem;
}

.modal-body .form-input {
  border-width: 2px;
  background: #F9FAFB;
}

.modal-body .form-input:focus {
  background: #fff;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, var(--dark), var(--dark-light));
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.footer-link {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  padding: 0.25rem 0;
  transition: all 0.2s ease;
}

.footer-link:hover {
  color: #fff;
  transform: translateX(-4px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.footer-contact-item:hover {
  color: #fff;
}

.footer-contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.footer-contact-item span {
  font-family: var(--font-numbers);
  direction: ltr;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-legal a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #fff;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 40;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  opacity: 0.9;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--green-whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ===== ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.from-right {
  transform: translateX(30px);
}

.animate-on-scroll.from-left {
  transform: translateX(-30px);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ===== GRID UTILITIES ===== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== CONTACT INFO CARD ===== */
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(194, 98, 26, 0.3);
}

.contact-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* ===== FAQ ACCORDION ===== */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.open {
  border-color: rgba(194, 98, 26, 0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: right;
  background: #fff;
  cursor: pointer;
  border: none;
  color: var(--foreground);
  transition: color 0.2s ease;
}

.faq-item.open .faq-question {
  color: var(--primary);
}

.faq-question svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--muted);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 1.25rem 1rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== PORTFOLIO FILTER ===== */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===== BLOG CARDS ===== */
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.blog-card-img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.blog-card-category {
  background: var(--accent-bg);
  color: var(--primary);
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
}

/* ===== ABOUT PAGE ===== */
.about-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-story {
    grid-template-columns: 1fr 1fr;
  }
}

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vision-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.vision-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(194, 98, 26, 0.3);
}

.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(194, 98, 26, 0.3);
}

/* Timeline */
.timeline {
  position: relative;
  padding-right: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  right: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  padding-right: 2rem;
}

.timeline-dot {
  position: absolute;
  right: -1.5rem;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--background);
}

.timeline-year {
  font-family: var(--font-numbers);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.timeline-desc {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ===== PORTFOLIO PROJECT CARD ===== */
.project-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-card:hover {
  box-shadow: var(--shadow-xl);
}

.project-card-img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.project-card-body {
  padding: 1.5rem;
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

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

.project-stat-value {
  font-family: var(--font-numbers);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary);
}

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

/* ===== LEGAL PAGES ===== */
.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.legal-section h2 .section-num {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.legal-section p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.8;
  white-space: pre-line;
}

/* ===== WHATSAPP CTA BLOCK ===== */
.whatsapp-cta {
  display: block;
  background: var(--green-whatsapp);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: background 0.2s ease;
}

.whatsapp-cta:hover {
  background: #20BD5A;
}

/* ===== SERVICES DETAIL ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .service-detail {
    grid-template-columns: 1fr 1fr;
  }
}

.service-detail.reverse {
  direction: ltr;
}

.service-detail.reverse > * {
  direction: rtl;
}

@media (min-width: 1024px) {
  .service-detail.reverse {
    direction: rtl;
  }
  .service-detail.reverse > *:first-child {
    order: 2;
  }
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.service-feature svg {
  color: var(--primary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.service-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  top: 5rem;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 90%;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast.success {
  border-color: #22C55E;
}

.toast.error {
  border-color: #EF4444;
}

/* ===== PAYMENT SUCCESS ===== */
.payment-success {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin-top: 2rem;
}

.payment-success svg {
  width: 3rem;
  height: 3rem;
  color: #22C55E;
  margin: 0 auto 0.75rem;
}

.payment-success h3 {
  color: #166534;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.payment-success p {
  color: #16A34A;
}

/* ===== LOADING SPINNER ===== */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-primary { color: var(--primary); }
.text-white { color: #fff; }
.text-muted { color: var(--muted); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.font-500 { font-weight: 500; }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }
.font-800 { font-weight: 800; }
.font-900 { font-weight: 900; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.shrink-0 { flex-shrink: 0; }
.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-5xl { max-width: 64rem; }
.rounded { border-radius: var(--radius); }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: var(--radius); }
.hidden { display: none; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.leading-relaxed { line-height: 1.7; }
.leading-tight { line-height: 1.2; }
.border-t { border-top: 1px solid var(--border); }
.pt-4 { padding-top: 1rem; }

/* Contact page grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 3fr 2fr;
  }
}

/* ===== RESPONSIVE HELPERS ===== */
@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }
}
