/* CSS Variables */
:root {
  --primary-teal: #1aa88d;
  --primary-orange: #ff9500;
  --white: #ffffff;
  --dark-gray: #2c3e50;
  --light-gray: #f5f7fa;
  --border-gray: #e8eaed;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", "Poppins", sans-serif;
  color: var(--text-primary);
  background-color: var(--white);
  line-height: 1.6;
  direction: rtl;
  padding-top: 0 !important; /* To account for fixed header */
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  font-family: "Cairo", sans-serif;
}

/* Header Navigation */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  direction: rtl;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 15px;
  transition: color var(--transition);
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-teal);
  border-bottom-color: var(--primary-teal);
}

.menu-toggle {
  display: none;
  background: none;
  font-size: 24px;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--dark-gray);
  transition: var(--transition);
}

/* Promotional Banner */
.promo-banner {
  background: linear-gradient(135deg, #1aa88d 0%, #0f8b6f 100%);
  padding: 15px 30px;
  display: block !important;
  position: relative;
  width: 100%;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(26, 168, 141, 0.2);
}

.promo-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.promo-content {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  color: white;
}

.promo-badge {
  background: rgba(255, 255, 255, 0.3);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
}

.promo-text {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: white;
}

.promo-subtext {
  display: none !important;
}

.promo-close {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
}

.promo-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Main Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

main {
  margin-top: 100px;
}

/* Section Styling */
.section {
  padding: 80px 30px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--dark-gray);
  margin-bottom: 15px;
  text-align: center;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 50px;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf9 50%, #fffbf0 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px 0;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 10% 30%,
      rgba(26, 168, 141, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(255, 149, 0, 0.12) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 15% 100%,
      rgba(26, 168, 141, 0.08) 0%,
      transparent 50%
    );
  pointer-events: none;
  animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-content h1 {
  font-size: 64px;
  font-weight: 800;
  color: var(--dark-gray);
  line-height: 1.25;
  margin-bottom: 25px;
  position: relative;
  background: linear-gradient(
    135deg,
    var(--dark-gray) 0%,
    var(--primary-teal) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  animation: slideUp 0.9s ease-out 0.2s both;
}

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

.btn {
  padding: 16px 40px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.4s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-teal) 0%, #0f8b78 100%);
  color: white;
  box-shadow: 0 10px 30px rgba(26, 168, 141, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 45px rgba(26, 168, 141, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--primary-teal);
  border: 2.5px solid var(--primary-teal);
}

.btn-secondary:hover {
  background: var(--primary-teal);
  color: white;
  transform: translateY(-3px);
}

.hero-illustration {
  position: relative;
  height: 500px;
  animation: fadeInLeft 0.8s ease-out 0.4s both;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.floating-card {
  position: absolute;
  width: 100px;
  height: 100px;
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  animation: float 4s ease-in-out infinite;
  border: 3px solid transparent;
}

.floating-card.card-1 {
  top: 20px;
  left: 0;
  color: var(--primary-teal);
  animation-delay: 0s;
  background: linear-gradient(
    135deg,
    rgba(26, 168, 141, 0.1),
    rgba(26, 168, 141, 0.05)
  );
  border-color: rgba(26, 168, 141, 0.2);
}

.floating-card.card-2 {
  top: 100px;
  right: 60px;
  color: var(--primary-orange);
  animation-delay: 0.6s;
  background: linear-gradient(
    135deg,
    rgba(255, 149, 0, 0.1),
    rgba(255, 149, 0, 0.05)
  );
  border-color: rgba(255, 149, 0, 0.2);
}

.floating-card.card-3 {
  bottom: 30px;
  left: 80px;
  color: var(--success);
  animation-delay: 1.2s;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1),
    rgba(16, 185, 129, 0.05)
  );
  border-color: rgba(16, 185, 129, 0.2);
}

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

/* Services Section */
.services {
  background: var(--light-gray);
}

.service-category {
  margin-bottom: 60px;
}

.category-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark-gray);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.category-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-teal), #0f8b78);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid var(--border-gray);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-teal);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-teal), #0f8b78);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.service-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Timeline Section */
.timeline-section {
  background: white;
}

.timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow-x: auto;
  padding: 40px 0;
}

.timeline-item {
  flex: 0 0 auto;
  text-align: center;
  min-width: 180px;
}

.timeline-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-teal), #0f8b78);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 15px;
}

.timeline-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--text-secondary);
}

.timeline-arrow {
  color: var(--primary-teal);
  font-size: 28px;
  font-weight: bold;
}

/* Features Section */
.features-section {
  background: var(--light-gray);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-teal), #0f8b78);
  color: white;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Request Form Section */
.request-section {
  background: white;
}

.request-form-wrapper {
  background: var(--light-gray);
  border-radius: 20px;
  padding: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.request-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

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

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid var(--border-gray);
  border-radius: 10px;
  font-family: "Cairo", sans-serif;
  font-size: 15px;
  transition: var(--transition);
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 4px rgba(26, 168, 141, 0.1);
}

.file-input-wrapper {
  position: relative;
  overflow: hidden;
  border: 2px dashed var(--primary-teal);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(26, 168, 141, 0.05);
}

.file-input-wrapper:hover {
  background: rgba(26, 168, 141, 0.1);
}

.file-input-wrapper input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
  height: 50px;
  font-size: 16px;
}

/* Dashboard Section */
.dashboard-section {
  background: var(--light-gray);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  display: flex;
  gap: 15px;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  flex-shrink: 0;
}

.stat-icon.total {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.stat-icon.new {
  background: linear-gradient(135deg, var(--primary-orange), #d97706);
}

.stat-icon.pending {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.stat-icon.completed {
  background: linear-gradient(135deg, var(--success), #059669);
}

.stat-icon.urgent {
  background: linear-gradient(135deg, var(--danger), #dc2626);
}

.stat-content h3 {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 5px;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark-gray);
}

/* Dashboard Controls */
.dashboard-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  margin-bottom: 30px;
  align-items: center;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box i {
  position: absolute;
  right: 15px;
  color: var(--text-secondary);
  font-size: 18px;
}

.search-box input {
  width: 100%;
  padding: 12px 16px 12px 45px;
  border: 2px solid var(--border-gray);
  border-radius: 10px;
  font-size: 14px;
}

.filters {
  display: flex;
  gap: 15px;
}

.filters select {
  padding: 12px 16px;
  border: 2px solid var(--border-gray);
  border-radius: 10px;
  font-size: 14px;
  min-width: 150px;
}

/* Table Styling */
.table-wrapper {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.requests-table {
  width: 100%;
  border-collapse: collapse;
}

.requests-table thead {
  background: var(--light-gray);
  border-bottom: 2px solid var(--border-gray);
}

.requests-table th {
  padding: 16px;
  text-align: right;
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.requests-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-gray);
  font-size: 14px;
}

.requests-table tbody tr {
  transition: var(--transition);
}

.requests-table tbody tr:hover {
  background: var(--light-gray);
}

.empty-state {
  text-align: center;
  color: var(--text-secondary);
}

.empty-state td {
  padding: 50px !important;
}

/* Status Badges */
.status-badge {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
}

.status-new {
  background: rgba(26, 168, 141, 0.1);
  color: var(--primary-teal);
}

.status-review {
  background: rgba(59, 130, 246, 0.1);
  color: var(--info);
}

.status-execution {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.status-waiting {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.status-completed {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.status-cancelled {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

.priority-normal {
  color: var(--text-secondary);
}

.priority-medium {
  color: var(--warning);
  font-weight: 700;
}

.priority-urgent {
  color: var(--danger);
  font-weight: 700;
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  border-bottom: 1px solid var(--border-gray);
}

.modal-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark-gray);
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--primary-teal);
}

.modal-body {
  padding: 30px;
}

.notes-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.note-item {
  background: var(--light-gray);
  padding: 15px;
  border-radius: 10px;
  border-right: 4px solid var(--primary-teal);
}

.note-item .note-time {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.note-item .note-text {
  font-size: 14px;
  color: var(--text-primary);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: var(--success);
  color: white;
  padding: 16px 24px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  animation: slideInUp 0.3s ease;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
}

@keyframes slideInUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: var(--text-secondary);
  padding: 60px 30px 30px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto 40px;
}

.footer-section h4 {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

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

.footer-section li {
  font-size: 14px;
  line-height: 1.8;
}

.footer-section i {
  /* margin-left: 8px; */
  /* color: var(--primary-teal); */
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 12px 20px;
  }

  .logo-img {
    height: 36px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    flex-direction: column;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 10px;
    z-index: 999;
  }

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

  .menu-toggle {
    display: flex;
  }

  .promo-banner {
    top: 50px;
    padding: 10px 20px;
  }

  .promo-container {
    flex-direction: column;
    gap: 12px;
  }

  .promo-content {
    flex-direction: column;
    text-align: center;
    width: 100%;
  }

  .promo-text {
    font-size: 18px;
    white-space: normal;
  }

  .promo-subtext {
    display: block;
    margin-top: 5px;
  }

  .promo-close {
    position: absolute;
    top: 10px;
    right: 20px;
  }

  main {
    margin-top: 90px;
  }

  .section {
    padding: 50px 20px;
  }

  .section-title {
    font-size: 32px;
  }

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

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-illustration {
    display: none;
  }

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

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

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

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

  .request-form-wrapper {
    padding: 30px;
  }

  .dashboard-controls {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .filters {
    flex-direction: column;
  }

  .filters select {
    width: 100%;
  }

  .requests-table {
    font-size: 12px;
  }

  .requests-table th,
  .requests-table td {
    padding: 12px;
  }

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

  .timeline {
    flex-direction: column;
    gap: 30px;
  }

  .timeline-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 480px) {
  .section {
    padding: 30px 15px;
  }

  .container {
    padding: 0 15px;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

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

  .category-title {
    font-size: 20px;
  }

  .stat-card {
    flex-direction: column;
    text-align: center;
  }

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

  .stat-value {
    font-size: 24px;
  }

  .modal-content {
    width: 95%;
  }

  .modal-header,
  .modal-body {
    padding: 20px;
  }

  .toast {
    left: 10px;
    right: 10px;
    bottom: 20px;
  }
}

/* ============================================
   PAGE ROUTING & NAVIGATION
   ============================================ */

.page {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

.page {
  display: none;
}

.page:not(.hidden) {
  display: block !important;
}

.page.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0.8;
  }
  to {
    opacity: 1;
  }
}

.nav-link[data-page] {
  cursor: pointer;
}

/* ============================================
   SERVICE OVERVIEW CARDS (Home Page)
   ============================================ */

.service-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 60px;
}

.service-overview-card {
  background: white;
  border-radius: 15px;
  padding: 35px 25px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid var(--border-gray);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-overview-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-teal);
  box-shadow: 0 12px 35px rgba(26, 168, 141, 0.15);
}

.overview-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-teal), #0f8b78);
  color: white;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 20px;
}

.service-overview-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 10px;
}

.service-overview-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing-section {
  margin-bottom: 60px;
}

.pricing-intro {
  text-align: center;
  margin-bottom: 50px;
}

.pricing-intro h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.pricing-intro p {
  font-size: 16px;
  color: var(--text-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.pricing-package {
  background: white;
  border: 2px solid var(--border-gray);
  border-radius: 15px;
  padding: 30px 25px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-package::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-teal),
    var(--primary-orange)
  );
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.pricing-package:hover,
.pricing-package.selected {
  border-color: var(--primary-teal);
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(26, 168, 141, 0.15);
}

.pricing-package:hover::before,
.pricing-package.selected::before {
  transform: scaleX(1);
}

.pricing-package h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 20px;
  line-height: 1.5;
}

.pricing-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-teal);
  margin-bottom: 10px;

  display: flex;
  justify-content: center;
  margin: auto;
  align-items: center;
  width: 100%;
}

.pricing-price span {
  font-size: 16px;
  margin:0 8px;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-period {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
  text-align: right;
}

.pricing-features li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.pricing-cta {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--primary-teal), #0f8b78);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.pricing-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 168, 141, 0.3);
}

.pricing-contact {
  background: var(--light-gray);
  color: var(--dark-gray);
  border: 2px solid var(--border-gray);
}

.pricing-contact:hover {
  border-color: var(--primary-orange);
}

/* ============================================
   SERVICE PAGE HERO
   ============================================ */

.service-page-hero {
  background: linear-gradient(
    135deg,
    rgba(26, 168, 141, 0.1),
    rgba(255, 149, 0, 0.05)
  );
  padding: 60px 30px;
  margin-bottom: 50px;
  border-radius: 15px;
}

.service-page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.service-page-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 700px;
}

/* ============================================
   SERVICE DETAIL CARDS
   ============================================ */

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 60px;
}

.service-detail-card {
  background: white;
  border: 2px solid var(--border-gray);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}

.service-detail-card:hover {
  border-color: var(--primary-teal);
  box-shadow: 0 12px 35px rgba(26, 168, 141, 0.1);
  transform: translateY(-8px);
}

.service-detail-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.service-detail-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-teal);
  margin-bottom: 20px;
}

.service-detail-price span {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
}

.service-detail-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-request-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--primary-teal), #0f8b78);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.service-request-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 168, 141, 0.3);
}

/* ============================================
   WHATSAPP MODAL
   ============================================ */

#whatsappModal .modal-body {
  text-align: right;
}

.whatsapp-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

.whatsapp-form label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}

.whatsapp-form input {
  padding: 12px 15px;
  border: 2px solid var(--border-gray);
  border-radius: 8px;
  font-size: 14px;
  font-family: "Cairo", sans-serif;
  transition: var(--transition);
}

.whatsapp-form input:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 4px rgba(26, 168, 141, 0.1);
}

.whatsapp-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   ACTION BUTTONS IN TABLE
   ============================================ */

.action-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.action-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 16px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover {
  background: rgba(26, 168, 141, 0.1);
  color: var(--primary-teal);
}

/* ============================================
   REQUEST DETAILS
   ============================================ */

.request-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-item.full-width {
  grid-column: 1 / -1;
}

.detail-item label {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 13px;
  text-transform: uppercase;
}

.detail-item p {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.6;
  word-break: break-word;
}

/* Consultation Offers */
.consultation-offer {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  padding: 0;
}

.consultation-offer .pricing-features {
  flex: 1;
}

.corner-ribbon {
  position: absolute;
  top: 18px;
  left: -42px;
  width: 150px;
  padding: 5px 0;
  text-align: center;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, #1f2937, #0f172a);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.consultation-offer .pricing-cta {
  margin-top: auto;
}

.consultation-offer:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.pricing-price {
  padding: 20px 30px;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-teal);
  text-align: center;
  background: #fafbfc;
  border-bottom: 1px solid #e8eaed;
}

.pricing-price span {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  padding: 12px 30px;
  border-bottom: 1px solid #f5f7fa;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.6;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-cta {
  display: block;
  width: calc(100% - 60px);
  margin: 30px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--primary-teal) 0%, #0f8b6f 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.pricing-cta:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(26, 168, 141, 0.3);
}

/* Service Page Hero */
.service-page-hero {
  text-align: center;
  padding: 60px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  border-radius: 12px;
  margin-bottom: 40px;
}

.service-page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.service-page-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Service Detail Cards */
.service-detail-card {
  background: white;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition);
}

.service-detail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-teal);
}

.service-detail-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.service-detail-price {
  color: var(--primary-teal);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 20px;
}

.service-detail-description {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.service-request-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-teal) 0%, #0f8b6f 100%);
  color: white;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  font-size: 14px;
}

.service-request-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(26, 168, 141, 0.3);
}

.service-request-btn.whatsapp-btn {
  background: #25d366;
}

.service-request-btn.whatsapp-btn:hover {
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* Contact Section */
.contact-section {
  padding: 100px 30px !important;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.contact-card {
  background: white;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  margin: 0 auto 25px;
}

.contact-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.contact-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-card a {
  transition: all var(--transition);
}

.contact-card a:hover {
  opacity: 0.8;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 1200px) {
  .service-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

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

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-card {
    padding: 30px 20px;
  }

  .contact-section {
    padding: 60px 20px !important;
  }

  .service-page-hero h1 {
    font-size: 28px;
  }

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

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

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-2 {
  margin-top: 20px;
}

.mb-2 {
  margin-bottom: 20px;
}

.form-control {
  padding: 12px 16px;
  border: 2px solid var(--border-gray);
  border-radius: 10px;
  font-family: "Cairo", sans-serif;
  font-size: 15px;
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 4px rgba(26, 168, 141, 0.1);
}
