
:root {
  --primary-color: #002f6c;
  --primary-dark: #001d42;
  --primary-light: #0047a0;
  --accent-color: #00b4d8;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --text-dark: #1a1a1a;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

#loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-text {
  color: white;
  margin-top: 20px;
  font-size: 18px;
  font-weight: 500;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Scroll to Top Button */
#scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 47, 108, 0.3);
}

#scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

#scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 47, 108, 0.4);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero-section h1 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  animation: fadeInUp 1s ease 0.1s both;
}

.hero-section .lead {
  font-size: 22px;
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.6;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta {
  animation: fadeInUp 1s ease 0.3s both;
}

.btn-hero {
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  margin: 10px;
  transition: all 0.3s ease;
}

.btn-light-custom {
  background: white;
  color: var(--primary-color);
  border: none;
}

.btn-light-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Styling */
.section {
  padding: 80px 0;
}

.section-white {
  background: white;
}

.section-gray {
  background: var(--bg-light);
}

.section-primary {
  background: var(--primary-color);
  color: white;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.section-primary .section-title {
  color: white;
}

.section-subtitle {
  font-size: 20px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-primary .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

/* Problem Cards */
.problem-card {
  background: white;
  border-left: 5px solid var(--danger-color);
  padding: 35px;
  border-radius: 10px;
  height: 100%;
  transition: all 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(220, 53, 69, 0.15);
}

.problem-icon {
  width: 60px;
  height: 60px;
  background: var(--danger-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.problem-card h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.problem-card p {
  color: var(--text-dark);
  line-height: 1.7;
  margin: 0;
}

/* Info Box */
.info-box {
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 47, 108, 0.08);
  margin-bottom: 40px;
}

.info-box h3 {
  color: var(--primary-color);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.info-box p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.info-box ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}

.info-box li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  font-size: 17px;
  line-height: 1.6;
}

.info-box li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: 700;
  font-size: 20px;
}

/* Comparison Table */
.comparison-table {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 47, 108, 0.1);
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--primary-color);
  color: white;
}

.comparison-header-cell {
  padding: 25px;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-header-cell:last-child {
  border-right: none;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid #e9ecef;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-cell {
  padding: 20px;
  border-right: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.comparison-cell:last-child {
  border-right: none;
}

.comparison-label {
  font-weight: 600;
  color: var(--text-dark);
}

.check-icon {
  color: var(--success-color);
  font-size: 24px;
}

.times-icon {
  color: var(--danger-color);
  font-size: 24px;
}

/* Architecture Cards */
.architecture-card {
  background: white;
  border-radius: 15px;
  padding: 35px;
  height: 100%;
  transition: all 0.3s ease;
  border-top: 5px solid var(--primary-color);
}

.architecture-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 47, 108, 0.15);
}

.architecture-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 20px;
}

.architecture-card h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.architecture-card p {
  color: var(--text-dark);
  line-height: 1.7;
  margin: 0;
}

/* Use Case Cards */
.usecase-card {
  background: white;
  border-radius: 15px;
  padding: 40px;
  height: 100%;
  border-left: 5px solid var(--accent-color);
  transition: all 0.3s ease;
}

.usecase-card:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 180, 216, 0.15);
}

.usecase-badge {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.usecase-card h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.usecase-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.usecase-card p, .usecase-card ul {
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 15px;
}

.usecase-card ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.usecase-card li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.usecase-card li:before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
}

/* Risk Cards */
.risk-section {
  background: var(--bg-light);
}

.risk-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 25px;
  border-left: 5px solid var(--warning-color);
  transition: all 0.3s ease;
}

.risk-card:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.15);
}

.risk-card h5 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.risk-card h5 i {
  margin-right: 10px;
  color: var(--warning-color);
}

.risk-subtitle {
  font-size: 14px;
  font-weight: 700;
  color: var(--success-color);
  text-transform: uppercase;
  margin-top: 15px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.risk-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.risk-card li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: var(--text-dark);
  font-size: 15px;
}

.risk-card li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: 700;
}

/* Advantage Cards */
.advantage-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 35px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.advantage-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-10px);
}

.advantage-icon {
  width: 80px;
  height: 80px;
  background: white;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 20px;
}

.advantage-card h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.advantage-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin: 0;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-section .lead {
  font-size: 22px;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .contact-info {
  margin-top: 40px;
  font-size: 18px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 992px) {
  .comparison-header,
  .comparison-row {
    grid-template-columns: 1fr;
  }
  
  .comparison-header-cell,
  .comparison-cell {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .comparison-row .comparison-cell {
    border-bottom: 1px solid #e9ecef;
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 36px;
  }
  
  .hero-section .lead {
    font-size: 18px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .btn-hero {
    padding: 12px 30px;
    font-size: 16px;
  }
  
  .info-box {
    padding: 30px;
  }
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background-color: #002f6c;
  color: #fff;
  text-align: center;
  font-weight: 700;
  border-radius: 12px 12px 0 0;
}

.comparison-header-cell {
  padding: 16px;
  border-right: 1px solid #fff;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.comparison-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* المسافة بين الأيقونة والنص */
  padding: 12px;
}

.comparison-label {
  font-weight: 600;
  justify-content: flex-start;
}

.check-icon {
  color: #28a745;
  font-size: 20px;
}

.times-icon {
  color: #dc3545;
  font-size: 20px;
}

.comparison-row:nth-child(even) {
  background-color: #f9f9f9;
}

.comparison-table {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.btn-color{
  border: 1px solid #001d42;
  color: #001d42;
}
.btn-color:hover{
  background-color: #001d42;
  color: white;
}