:root {
  --primary: #1C1A2C;
  --primary-light: #2D2A42;
  --primary-dark: #0F0E16;
  --accent: #2D2A42;
  --accent-light: #2D2A42;
  --accent-dark: #1C1A2C;
  --text-primary: #1C1A2C;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  --bg-white: #FFFFFF;
  --bg-light: #F9FAFB;
  --bg-gray: #F3F4F6;
  --border-light: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-accent: 0 8px 24px rgba(108, 99, 255, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent);
}

.btn-cta {
  background: var(--accent);
  padding: 10px 24px;
  border-radius: 8px;
  color: white !important;
}

.btn-cta:hover {
  background: var(--accent-dark);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #FFFFFF 0%, #F3F4F6 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(108, 99, 255, 0.08), transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(108, 99, 255, 0.05), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.2);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--accent);
  font-weight: 500;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.typing-wrapper {
  display: inline-block;
  min-height: 1.2em;
}

.typing-text {
  display: inline-block;
  background: linear-gradient(135deg, #FFA500 0%, #FFD700 50%, #FF8C00 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInOut 3s ease-in-out infinite, gradientShift 2s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes fadeInOut {
  0%, 100% {
    opacity: 0;
    transform: translateY(10px);
  }
  10%, 90% {
    opacity: 1;
    transform: translateY(0);
  }
}

.gradient-text {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
}

.btn {
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
  cursor: pointer;
  border: none;
  font-size: 16px;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(108, 99, 255, 0.3);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-primary);
  border: 2px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-large {
  padding: 20px 48px;
  font-size: 18px;
}

.btn-full {
  width: 100%;
}

.hero-stats {
  display: flex;
  gap: 60px;
  justify-content: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 5px;
}

.hero-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--bg-light));
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.2);
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--accent);
  font-weight: 500;
}

.section-header h2 {
  font-size: 42px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.problem-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.problem-card {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}

.problem-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.problem-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.problem-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

.solution-intro {
  text-align: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow-accent);
}

.solution-intro h3 {
  font-size: 32px;
  margin-bottom: 16px;
  color: white;
}

.solution-intro p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto;
}

.services-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  transition: all 0.3s;
  position: relative;
}

.service-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.05), var(--bg-white));
}

.service-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--accent);
  color: white;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.service-card > p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  padding-right: 24px;
}

.service-features li:before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--accent);
  font-weight: bold;
}

.service-features li:last-child {
  border-bottom: none;
}

.benefits-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  transition: all 0.3s;
  position: relative;
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.benefit-number {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 80px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.1;
}

.benefit-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  color: var(--text-primary);
}

.benefit-card p {
  color: var(--text-secondary);
  font-size: 15px;
  position: relative;
  z-index: 1;
}

.tools-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.tools-scroll-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.tools-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.tool-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all 0.3s;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    transparent 40%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 60%,
    transparent
  );
  animation: shine 3s ease-in-out infinite;
  animation-delay: calc(var(--card-index) * 0.2s);
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  20% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.tool-card:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.tool-card:hover::before {
  animation: none;
}

.tool-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.tool-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.process-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.process-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  right: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, 
    rgba(108, 99, 255, 0.2), 
    rgba(108, 99, 255, 0.5), 
    rgba(108, 99, 255, 0.2));
}

.process-step {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  position: relative;
}

.step-number {
  min-width: 80px;
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: white;
  box-shadow: var(--shadow-accent);
  position: relative;
  z-index: 1;
}

.step-content {
  flex: 1;
  background: var(--bg-light);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}

.step-content:hover {
  border-color: var(--accent);
  transform: translateX(-5px);
  box-shadow: var(--shadow-md);
}

.step-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.step-content p {
  color: var(--text-secondary);
  font-size: 15px;
}

.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  text-align: center;
}

.cta-section .btn-primary {
  background: white;
  color: var(--accent-dark);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-primary:hover {
  background: var(--bg-light);
  color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: white;
}

.cta-content p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.cta-note {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.contact-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 1.8;
}

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-feature {
  display: flex;
  gap: 16px;
  align-items: start;
}

.feature-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: bold;
  color: white;
}

.contact-feature div:last-child {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.contact-form {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 15px;
  transition: all 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 12px;
  margin-top: 16px;
}

.footer {
  background: var(--bg-white);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-light);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  margin-bottom: 16px;
  font-size: 16px;
  color: var(--text-primary);
}

.footer-column a,
.footer-column p {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 14px;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-white);
  padding: 50px;
  border-radius: 24px;
  text-align: center;
  max-width: 500px;
  border: 1px solid var(--border-light);
  animation: modalSlideIn 0.3s ease-out;
  box-shadow: var(--shadow-lg);
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-icon {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin: 0 auto 24px;
  color: white;
}

.modal-content h3 {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.modal-content p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 1.6;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-accent);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
}

.industries-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.industry-card {
  background: var(--bg-light);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.3s;
}

.industry-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.industry-header {
  display: flex;
  align-items: center;
  padding: 30px;
  cursor: pointer;
  gap: 20px;
  transition: background 0.3s;
}

.industry-header:hover {
  background: var(--bg-white);
}

.industry-icon {
  font-size: 48px;
  flex-shrink: 0;
}

.industry-title {
  flex: 1;
}

.industry-title h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.industry-brief {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.industry-toggle {
  font-size: 32px;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  width: 32px;
  text-align: center;
  transition: transform 0.3s;
}

.industry-card.active .industry-toggle {
  transform: rotate(45deg);
}

.industry-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.industry-card.active .industry-content {
  max-height: 1000px;
  padding: 0 30px 30px 30px;
}

.solutions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solutions-list li {
  padding: 16px;
  margin-bottom: 12px;
  background: var(--bg-white);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  line-height: 1.6;
  font-size: 15px;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.solutions-list li:hover {
  border-color: var(--accent);
  transform: translateX(-5px);
  box-shadow: var(--shadow-sm);
}

.solutions-list li strong {
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 968px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-links.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    border-top: 1px solid var(--border-light);
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 30px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline::before {
    right: 40px;
  }

  .process-step {
    gap: 20px;
  }

  .step-number {
    min-width: 60px;
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .problems-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .solution-intro {
    padding: 30px 20px;
  }

  .solution-intro h3 {
    font-size: 24px;
  }

  .back-to-top {
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
  }
}
/* Styling for form validation errors */
.form-group input.error,
.form-group textarea.error {
  border-color: #e74c3c; /* Red border for errors */
}

.error-message {
  color: #e74c3c;
  font-size: 0.875em;
  margin-top: 5px;
}

/* Styling for the Success Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-content {
  background-color: #ffffff;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 400px;
  width: 90%;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 600;
  /* Using your theme color for the title */
  color: #1C1A2C; 
}

.modal-content p {
  margin-bottom: 25px;
  color: #555;
  line-height: 1.6;
}

/* You can style the modal button to match your site's primary button */
#closeModal {
  /* Inherits from .btn.btn-primary, or you can add custom styles */
  background-color: #1C1A2C;
  border-color: #1C1A2C;
}
#successModal {
  /* Hide the modal by default */
  visibility: hidden;
  opacity: 0;
  
  /* Centering styles */
  display: flex;
  justify-content: center;
  align-items: center;

  /* Other styles */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* This class is added by JavaScript to show the modal */
#successModal.is-visible {
  visibility: visible;
  opacity: 1;
}
.contact-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  flex-direction: row; /* ديسكتوب: أفقي */
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 260px;
  justify-content: center;
}

.contact-btn .btn-icon {
  font-size: 22px;
  background-color: #ffffff;
}

.phone-btn {
  background: #0f172a;
  color: #fff;
}

.phone-btn:hover {
  background: #020617;
  transform: translateY(-3px);
}

.whatsapp-btn {
  background: #25D366;
  color: #fff;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-3px);
}
/* موبايل */
@media (max-width: 768px) {
  .contact-buttons {
    flex-direction: column; /* موبايل: رأسي */
  }
}