/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Outfit", sans-serif;
}

body {
  line-height: 1.6;
  background-color: #f4f4f4;
  font-family: "Outfit", sans-serif;
}

/* Admin login page styles */
.admin-login-body {
  background-color: #f5f5f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.login-form {
  margin: 60px auto;
  max-width: 400px;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-form h2 {
  text-align: center;
  color: #1a237e;
  margin-bottom: 30px;
}

.login-form footer {
  margin-top: auto;
}

/* Status badge styles */
.status-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.status-draft {
  background-color: #f0f0f0;
  color: #666;
}

.status-published {
  background-color: #d4edda;
  color: #155724;
}

.status-closed {
  background-color: #fff3cd;
  color: #856404;
}

.status-archived {
  background-color: #f8d7da;
  color: #721c24;
}

/* Rest of the existing styles */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: #1a237e;
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
  display: flex;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 5px 0;
  position: relative;
}

nav ul li a:hover {
  color: #4facfe;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 101;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background-color: #4facfe;
  border-radius: 2px;
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* No scroll class for body when mobile menu is active */
body.no-scroll {
  overflow: hidden;
}

/* Mobile menu overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

/* Hero section - adjust top margin to account for fixed header */
.hero {
  margin: 90px auto 20px;
  padding: 40px 0;
  text-align: center;
}

.hero h1 {
  color: #1a237e;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  color: #222;
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.filter-form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}

/* Arrange the first three dropdowns horizontally */
.filter-form .primary-filters {
  display: flex;
  gap: 15px;
  align-items: stretch;
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
}

/* Place the second (self) row under the first row and above the button on desktop */
.filter-form .self-filter-row {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Custom Dropdown */
.custom-select-container {
  position: relative;
  transition: all 0.3s ease;
  max-width: 100%;
}

.custom-select-trigger {
  padding: 12px 15px;
  font-size: 0.9rem;
  border-radius: 5px;
  cursor: pointer;
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-trigger:after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23e0e0e0%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: all 0.3s ease;
}

.custom-select-trigger.active:after {
  transform: translateY(-50%) rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  max-height: 228px;
  border-radius: 5px;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 35, 126, 0.5) rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.custom-select-options::-webkit-scrollbar {
  width: 6px;
}

.custom-select-options::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.custom-select-options::-webkit-scrollbar-thumb {
  background-color: rgba(26, 35, 126, 0.5);
  border-radius: 3px;
  overflow: auto;
}

.custom-select-options.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  overflow-y: auto;
}

.custom-select-option {
  padding: 10px 15px;
  cursor: pointer;
  position: relative;
  z-index: 10000;
  white-space: normal;
  overflow-wrap: anywhere;
}

.custom-select-option.selected {
  background-color: rgb(61, 81, 100);
  font-weight: 500;
}

.custom-select-option:not(:last-child) {
  border-bottom: none;
}

.custom-select-option:first-child {
  border-radius: 4px 4px 0px 0px;
}

.filter-form {
  display: flex;
  justify-content: center;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.filter-form .custom-select-container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
}

/* Hide native select */
/* Hide native select only when JS enhanced is active */
html.js .custom-select-container select {
  display: none;
}

/* Filter summary */
.filter-summary {
  background-color: rgba(26, 35, 126, 0.05);
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 1px solid rgba(26, 35, 126, 0.1);
}

.filter-summary h2 {
  color: #1a237e;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.filter-summary p {
  color: #555;
  font-size: 0.95rem;
}

/* Search results */
.search-results h2 {
  color: #1a237e;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.scholarship-grid,
.scholarships {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.no-scholarships {
  text-align: center;
  padding: 30px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  grid-column: 1 / -1;
}

.no-scholarships p {
  color: #555;
  font-size: 1.1rem;
}

/* Filter section */
.filter-section {
  background-color: #fff;
  padding: 20px;
  margin: 20px 0;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Scholarship cards */
.scholarship-card {
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.card-image {
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 15px;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #1a237e;
}

.card-info {
  margin-bottom: 10px;
}

.card-info span {
  display: inline-block;
  margin-right: 10px;
  background-color: #e8eaf6;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.9rem;
}

.card-deadline {
  color: #d32f2f;
  font-weight: bold;
  margin-top: 10px;
}

/* Scholarship detail */
.scholarship-detail {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.detail-header {
  display: flex;
  margin-bottom: 20px;
}

.detail-image {
  width: 300px;
  height: 200px;
  overflow: hidden;
  margin-right: 20px;
  border-radius: 5px;
}

.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-title h1 {
  color: #1a237e;
  margin-bottom: 10px;
}

.detail-university {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 5px;
}

.detail-location {
  color: #777;
  margin-bottom: 10px;
}

.detail-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.badge {
  padding: 5px 10px;
  background-color: #e8eaf6;
  border-radius: 3px;
}

.detail-info {
  margin-bottom: 20px;
}

.detail-info h2 {
  color: #1a237e;
  margin-bottom: 10px;
}

.detail-info p {
  margin-bottom: 10px;
  line-height: 1.8;
}

.requirements-list {
  list-style: none;
  margin-bottom: 20px;
}

.requirements-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.requirements-list li:last-child {
  border-bottom: none;
}

/* Admin styles */
.login-form {
  max-width: 400px;
  margin: 100px auto;
  background-color: #fff;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.login-form h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #1a237e;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.form-button {
  width: 100%;
  padding: 12px;
  background-color: #1a237e;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

/* Admin dashboard */
.dashboard {
  display: flex;
  min-height: calc(100vh - 70px);
}

.sidebar {
  width: 250px;
  background-color: #1a237e;
  color: #fff;
  padding: 20px;
}

.sidebar-menu {
  list-style: none;
}

.sidebar-menu li {
  margin-bottom: 10px;
}

.sidebar-menu a {
  display: block;
  padding: 10px;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
  background-color: #303f9f;
}

.main-content {
  flex-grow: 1;
  padding: 20px;
}

.dashboard-header {
  margin-bottom: 20px;
}

.dashboard-header h1 {
  color: #1a237e;
}

.dashboard-header p {
  color: #555;
  font-size: 1.1rem;
  margin-top: 5px;
}

/* Dashboard stats */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.stat-card h3 {
  color: #555;
  margin-bottom: 10px;
  font-size: 1rem;
}

/* Dashboard sections */
.dashboard-section {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.dashboard-section h2 {
  color: #1a237e;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/* Dashboard table */
.dashboard-table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.dashboard-table th {
  background-color: #f8f9fa;
  color: #333;
  font-weight: bold;
}

.dashboard-table tr:hover {
  background-color: #f8f9fa;
}

/* Quick actions */
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.dashboard-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1a237e;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.dashboard-button:hover {
  background-color: #303f9f;
}

/* Publish form */
.publish-form {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-col {
  flex: 1;
}

.publish-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.publish-form input,
.publish-form select,
.publish-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 15px;
}

.publish-form textarea {
  height: 150px;
}

.publish-form h3 {
  margin: 20px 0 10px;
  color: #1a237e;
}

.checkbox-group {
  margin-bottom: 15px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  font-weight: normal;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
}

/* Image source selector */
.image-source-selector {
  margin-bottom: 20px;
}

.radio-group {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.radio-group label {
  display: flex;
  align-items: center;
  font-weight: normal;
  cursor: pointer;
}

.radio-group input[type="radio"] {
  width: auto;
  margin-right: 8px;
}

#file-upload-section,
#url-upload-section {
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 4px;
  margin-bottom: 20px;
}

.alert {
  padding: 10px 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Form help text */
.form-help {
  color: #6c757d;
  font-size: 0.9rem;
  margin-top: -10px;
  margin-bottom: 15px;
}

/* Invalid feedback for form validation */
.invalid-feedback {
  color: #dc3545;
  font-size: 0.9rem;
  display: block;
  margin-top: 5px;
}

.is-invalid {
  border-color: #dc3545;
}

/* No results message */
.no-results {
  text-align: center;
  padding: 30px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.no-results h3 {
  color: #1a237e;
  margin-bottom: 10px;
}

/* Scholarship Management Styles */
.scholarship-list {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.dashboard-table th,
.dashboard-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.dashboard-table th {
  background-color: #f8f9fa;
  font-weight: bold;
  color: #333;
}

.dashboard-table tr:hover {
  background-color: #f8f9fa;
}

.action-buttons {
  display: flex;
  gap: 10px;
}

.edit-button,
.delete-button {
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  border: none;
}

.edit-button {
  background-color: #4caf50;
  color: white;
}

.delete-button {
  background-color: #f44336;
  color: white;
  height: 35px;
}

.edit-button:hover {
  background-color: #45a049;
}

.dashboard-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1a237e;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.dashboard-button:hover {
  background-color: #303f9f;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-col {
  flex: 1;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-help {
  color: #666;
  font-size: 0.9em;
  margin-top: 5px;
}

.checkbox-group {
  margin: 10px 0;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

/* Responsive styles */
@media (max-width: 768px) {
  * {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
  }
  header .container {
    justify-content: space-between;
    padding: 10px;
  }

  .hamburger {
    display: block;
    z-index: 101;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  nav ul li a {
    color: #4facfe;
  }

  .hero {
    margin-top: 90px;
    padding: 30px 15px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .filter-form {
    flex-direction: column;
    width: 90%;
    gap: 10px;
  }

  /* Stack the first three dropdowns vertically on mobile */
  .filter-form .primary-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .filter-form .self-filter-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .filter-form .custom-select-container {
    width: 100%;
    max-width: 100%;
  }

  /* Ensure mobile selects and triggers take full width */
  .filter-form select,
  .filter-form .primary-filters .custom-select-container,
  .filter-form .self-filter-row .custom-select-container,
  .filter-form .custom-select-trigger {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .filter-summary {
    padding: 12px 15px;
  }

  .filter-summary h2 {
    font-size: 1.2rem;
  }

  .filter-summary p {
    font-size: 0.9rem;
  }

  .scholarship-grid,
  .scholarships {
    grid-template-columns: 1fr;
  }

  .filter-form {
    flex-direction: column;
  }

  .detail-header {
    flex-direction: column;
  }

  .detail-image {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .dashboard {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    margin-bottom: 20px;
  }

  .form-row {
    flex-direction: column;
  }

  .radio-group {
    flex-direction: column;
    gap: 10px;
  }
}

/* Desktop widths for primary filters */
@media (min-width: 769px) {
  .filter-form .primary-filters .custom-select-container {
    width: 220px;
    max-width: 220px;
  }
  .filter-form .self-filter-row .custom-select-container {
    width: 220px;
    max-width: 220px;
  }
}

/* Admin specific styles */
.admin-body {
  display: flex;
  min-height: 100vh;
}

.admin-body .dashboard {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

.admin-body .sidebar {
  width: 250px;
  background-color: #1a237e;
  color: #fff;
  padding: 0;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  overflow-y: auto;
  transition: all 0.3s ease;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.admin-body .sidebar-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.admin-body .sidebar-header h2 {
  color: #fff;
  font-size: 1.5rem;
  margin: 0;
}

.admin-body .sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-body .sidebar-menu li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-body .sidebar-menu a {
  display: block;
  padding: 15px 20px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.admin-body .sidebar-menu a:hover,
.admin-body .sidebar-menu a.active {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.admin-body .logout-item {
  margin-top: 20px;
}

.admin-body .logout-item a {
  color: #ff5252;
}

.admin-body .logout-item a:hover {
  background-color: rgba(255, 82, 82, 0.1);
}

.admin-body .main-content {
  flex: 1;
  padding: 20px;
  margin-left: 250px;
  width: calc(100% - 250px);
  transition: all 0.3s ease;
}

/* Admin responsive styles */
@media (max-width: 768px) {
  .admin-body .sidebar {
    width: 70px;
    overflow: hidden;
  }

  .admin-body .sidebar-header {
    padding: 10px 5px;
  }

  .admin-body .sidebar-header h2 {
    font-size: 0;
  }

  .admin-body .sidebar-header h2::first-letter {
    font-size: 1.5rem;
  }

  .admin-body .sidebar-menu a {
    padding: 15px 10px;
    text-align: center;
    white-space: nowrap;
  }

  .admin-body .main-content {
    margin-left: 70px;
    width: calc(100% - 70px);
  }
}

.admin-body .admin-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  text-align: center;
  color: #777;
  font-size: 0.9rem;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  header {
    width: 100%;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(79, 172, 254, 0.2);
    border-top: none;
    border-left: none;
    border-right: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  header .container {
    padding: 0 15px;
    justify-content: space-between;
  }

  .hamburger {
    display: block;
    padding: 5px;
  }

  /* .nav-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    gap: 0;
    flex-direction: column;
    width: 100%;
    text-align: left;
    transition: 0.3s;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px 0;
    border-top: 1px solid rgba(79, 172, 254, 0.2);
  } */
  /* 
  .nav-menu.active {
    left: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .nav-menu li {
    margin: 0;
    width: 100%;
  }

  .nav-link {
    padding: 15px 20px;
    display: block;
    border-bottom: 1px solid rgba(79, 172, 254, 0.1);
  } */

  .hero {
    margin-top: 60px;
    padding-top: 20px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .filter-form {
    flex-direction: column;
    gap: 10px;
  }

  .filter-form .custom-select-container {
    width: 100%;
  }

  .custom-select-options {
    background: rgba(51, 57, 72, 255);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 5px;
  }

  .filter-summary {
    padding: 15px;
  }

  .filter-summary h2 {
    font-size: 1.5rem;
  }

  .filter-summary p {
    font-size: 0.9rem;
  }

  .scholarship-grid,
  .dashboard-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .scholarship-card {
    background: #0a0a0a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.rtl-arabic {
  direction: rtl;
  text-align: right;
}
.rtl-arabic * {
  direction: rtl;
  text-align: right;
}
