@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');
:root {
  --primary-color: #1a73e8;
  --secondary-color: #e8f0fe;
  --background-color: #f9f9fb;
  --card-bg: #ffffff;
  --text-color: #212529;
  --muted-text: #6c757d;
  --border-radius: 12px;
  --font-family-base: 'Cairo', sans-serif;
  --transition-speed: 0.3s;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}





/* ───── Navbar Styles ───── */
.navbar {
  background-color: var(--card-bg);
  border-bottom: 1px solid #dee2e6;
  padding: 1rem 2rem;
}

/* Logo / Brand */
.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: color var(--transition-speed);
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: #0056b3; /* Slightly darker shade for hover */
  text-decoration: none;
}

/* Navigation Links */
.navbar .nav-link {
  color: var(--muted-text);
  transition: color var(--transition-speed);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--primary-color);
  text-decoration: none;
}




.lang-switch {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.lang-switch__link {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  transition: color var(--transition-speed), text-decoration var(--transition-speed);
}

.lang-switch__link:hover,
.lang-switch__link:focus {
  color: #0a1f44;
  text-decoration: underline;
  outline: none;
}

.lang-switch__link--active {
  text-decoration: underline;
  font-weight: 700;
}

.container {
  padding: 2rem 1.5rem;
}

.card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.card-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--muted-text);
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

.btn-primary:hover {
  background-color: #155ab6;
  border-color: #0a1f44;
}

.btn-outline-secondary {
  border-color: #ced4da;
  color: #6c757d;
  transition: all var(--transition-speed);
}

.btn-outline-secondary:hover {
  background-color: #f8f9fa;
   color: #0a1f44;
}

@media (max-width: 768px) {
  .navbar .nav-link,
  .lang-switch {
    font-size: 0.875rem;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-text {
    font-size: 0.875rem;
  }
  
  /* === Typography Enhancements === */
h1, h2, h3, h4, h5, h6 {
  color: #002752;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

/* === Card Styling & Interaction === */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* === Button Enhancement === */
.btn-primary {
  background-color: #002752;
  border-color: #002752;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #001f3f;
  transform: scale(1.02);
}

/* === Section Title Styling === */
.section-title {
  font-size: 1.5rem;
  color: #002752;
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

/* === Responsive Typography === */
html {
  font-size: 16px;
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
}

/* === Footer Style (Optional) === */
.footer {
  margin-top: 4rem;
  padding: 1.5rem 0;
  background-color: #f8f9fa;
  text-align: center;
  font-size: 0.875rem;
  color: #1a237e;
}

  /* Body style (already partially included, but update background if needed) */
body {
  font-family: 'Cairo', sans-serif;
  background-color: #f8f9fa; /* updated from white to light gray */
}

/* Language switch links */
.lang-switch a {
  text-decoration: none;
  margin: 0 0.5rem;
  color: var(--primary-color);
}

.lang-switch a.active {
  font-weight: 600;
  text-decoration: underline;
}

/* Modal textareas */
.modal textarea {
  resize: vertical;
}

.table {
  border-radius: 8px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}


.table {
  border-collapse: separate;
  border-spacing: 0 8px;
}

.table thead {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #343a40;
}

.table-striped tbody tr {
  background-color: #ffffff;
  transition: all 0.2s ease-in-out;
}

.table-striped tbody tr:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transform: scale(1.01);
}

.table td, .table th {
  vertical-align: middle;
  padding: 1rem;
  border: none;
}

.badge.bg-secondary {
  background-color: #6c757d;
  font-size: 0.75rem;
  padding: 0.4em 0.6em;
}






  
  .btn-sm {
  font-size: 0.75rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
}

.btn-warning {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #000;
}

.btn-danger {
  background-color: #dc3545;
  border-color: #dc3545;
}
.modal-content {
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.modal-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.modal-footer {
  border-top: 1px solid #dee2e6;
}

.table-striped tbody tr {
  background-color: #ffffff;
}
.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f5f5f5;
}
.table thead {
  background-color: var(--primary-color-light);
  color: var(--primary-color-dark);
}
.table th, .table td {
  border-color: #dee2e6;
}



.footer {
  margin-top: 4rem; /* Increase spacing above the footer */
}







