/* ============================================================================
   AMANAQAR - MODERN RESPONSIVE STYLING
   ============================================================================ */

:root {
  --primary-color: #1e3a8a;
  --secondary-color: #0f766e;
  --accent-color: #dc2626;
  --light-bg: #f8fafc;
  --dark-text: #1e293b;
  --border-color: #e2e8f0;
  --success-color: #16a34a;
  --warning-color: #ea580c;
  --danger-color: #dc2626;
  --info-color: #0284c7;
}

/* ============================================================================
   GLOBAL STYLES
   ============================================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-text);
  background-color: var(--light-bg);
  line-height: 1.6;
  direction: rtl;
  text-align: right;
}

/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: #475569;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}
.card-header> h5 {
    color: white;
}

/* ============================================================================
   HEADER & NAVIGATION
   ============================================================================ */

.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: white !important;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-link:hover {
  color: white !important;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 0.5rem 1rem;
}

.nav-link.active {
  color: white !important;
  background-color: var(--accent-color);
  border-radius: 5px;
  padding: 0.5rem 1rem;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: #0d9488;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(15, 118, 110, 0.3);
}

.btn-success {
  background-color: var(--success-color);
  color: white;
}

.btn-success:hover {
  background-color: #15803d;
  transform: translateY(-2px);
}

.btn-danger {
  background-color: var(--danger-color);
  color: white;
}

.btn-danger:hover {
  background-color: #b91c1c;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

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

/* ============================================================================
   CARDS
   ============================================================================ */

.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

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

.card-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border: none;
  padding: 1.5rem;
  font-weight: 600;
}

.card-body {
  padding: 1.5rem;
}

.card-footer {
  background-color: var(--light-bg);
  border-top: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
}

/* ============================================================================
   FORMS
   ============================================================================ */

.form-control, .form-select {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
  outline: none;
}

.form-label {
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

/* ============================================================================
   ALERTS
   ============================================================================ */

.alert {
  border: none;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.alert-success {
  background-color: #dcfce7;
  color: #166534;
  border-left: 4px solid var(--success-color);
}

.alert-danger {
  background-color: #fee2e2;
  color: #991b1b;
  border-left: 4px solid var(--danger-color);
}

.alert-warning {
  background-color: #fef3c7;
  color: #92400e;
  border-left: 4px solid var(--warning-color);
}

.alert-info {
  background-color: #cffafe;
  color: #0c4a6e;
  border-left: 4px solid var(--info-color);
}

/* ============================================================================
   TABLES
   ============================================================================ */

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

.table thead {
  background-color: var(--primary-color);
  color: white;
}

.table th {
  padding: 1rem;
  font-weight: 600;
  text-align: right;
  border: none;
}

.table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.table tbody tr:hover {
  background-color: var(--light-bg);
}

/* ============================================================================
   FOOTER
   ============================================================================ */

footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 3rem;
}

footer h5 {
  color: white;
  margin-bottom: 1rem;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
}

footer a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .card {
    margin-bottom: 1rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 14px;
  }
  
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1rem; }
  
  .container {
    padding: 0 1rem;
  }
  
  .table {
    font-size: 0.9rem;
  }
  
  .table th, .table td {
    padding: 0.75rem 0.5rem;
  }
}

/* ============================================================================
   UTILITIES
   ============================================================================ */

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-success { color: var(--success-color); }
.text-danger { color: var(--danger-color); }
.text-warning { color: var(--warning-color); }

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-light { background-color: var(--light-bg); }

.shadow { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); }

.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 12px; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.partnersSection {
    background-image: url("../../../../assets/VectorPartners.png");
    background-position: top left;
    background-size: 7%;
    background-repeat: no-repeat;
    overflow: hidden;
}

    .partnersSection .overlaysWrapper {
        margin-top: -4.25rem;
        overflow: hidden;
    }

.partner-wrapper,
.logo-wrapper {
    width: 6.8rem;
    min-height: 200px;
    display: flex;
    min-width: 200px;
    border: 1px solid transparent;
    border-radius: 20px;
    margin: 0 20px;
    box-shadow: 0px 3px 5px -2px rgba(0, 0, 0, 0.4);
    background: var(--white);
    align-items: center;
    justify-content: center;
    /* width: 6.8rem;
  border: 1px solid transparent;
  border-radius: 20px;
  margin: 0 20px;
  box-shadow: 0px 3px 5px -2px rgba(0, 0, 0, 0.4);
  background: var(--white); */
}

.logo-wrapper {
    width: 9.37rem;
    height: 9.37rem;
    top: 42%;
    left: 49%;
    z-index: 12;
    transform: translateX(-55%);
}

    .logo-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 20px;
    }

.partner-wrapper img {
    width: 100%;
    height: 6.25rem;
    object-fit: contain;
    border-radius: 20px;
}

@media (max-width: 1024px) {
    .partnersSection {
        background-size: 14%;
    }
}

@media (max-width: 47.9375em) {
    .partnersSection {
        background-size: 20%;
    }
}

/* OverlayComponent.css */
.overlay-container {
    width: 100%;
}

    .overlay-container .header {
        position: relative;
        top: 75px;
        z-index: 10;
    }

.top-overlay,
.bottom-overlay {
    height: 190px;
    width: 100%;
    z-index: 9;
}

.left-overlay,
.right-overlay {
    width: 245px;
    height: 100%;
    z-index: 10;
}

.top-overlay {
    background: linear-gradient( 180deg, rgba(255, 255, 255, 1) 44%, rgba(236, 233, 233, 0) 100% );
}

.bottom-overlay {
    background: linear-gradient( 0deg, rgba(255, 255, 255, 1) 44%, rgba(236, 233, 233, 0) 100% );
}

.right-overlay {
    background: linear-gradient( 270deg, rgba(255, 255, 255, 1) 44%, rgba(251, 251, 251, 0) 100% );
}

.left-overlay {
    background: linear-gradient( 90deg, rgba(255, 255, 255, 1) 58%, rgba(251, 251, 251, 0) 100% );
}

.center-content {
    position: relative;
    z-index: 8;
    text-align: center;
}

@media (max-width: 1024px) {
    .left-overlay,
    .right-overlay {
        width: 120px;
    }
}

@media (max-width: 47.9375em) {
    .left-overlay,
    .right-overlay {
        width: 60px;
    }
}

.images-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 40px 0;
}

.normal-slider:hover,
.reverse-slider:hover {
    animation-play-state: paused;
}

.normal-slider {
    animation: moveSlideshow 20s linear infinite;
}

.reverse-slider {
    animation: moveSlideshow 20s linear infinite;
    animation-direction: reverse;
}

@keyframes moveSlideshow {
    to {
        transform: translateX(calc(var(--item-width) * var(--items-count) * -1));
    }
}
.MainContent_header {
    font-size: 2.1rem;
    font-weight: 700;
    color: #1e3a8a;
}
