/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
  }

  h1, h2, h3, h4, h5, h6 {
    color: #155724;
    font-weight: 600;
  }

  footer {
    font-size: 14px;
  }

  /* Navbar Enhancements */
  .navbar-brand span {
    display: block;
    font-size: 12px;
    line-height: 1.2;
    font-weight: bold;
  }
  .navbar-brand .brand-text {
    line-height: 1.2;
    font-size: 14px;
    color: #333;
  }

  .navbar-brand img {
    display: block;
  }

  .navbar-brand:hover .brand-text {
    color: #007bff;
  }

  .navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .navbar-nav .nav-link:hover {
    color: #fff !important;
  }

  /* Button Enhancements */
  .btn {
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  /* Card Enhancements */
  .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  }

  /* Form Enhancements */
  .form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .form-control:focus, .form-select:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
  }

  /* Alert Enhancements */
  .alert {
    border-radius: 8px;
    border: none;
  }

  /* Loading Animation */
  .loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
  }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }

/* SPMB Styles */
.banner {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 10px;
}

.social-media {
  display: flex;
  gap: 15px;
  font-size: 24px;
  margin-top: 20px;
}

.social-media a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-media a:hover {
  color: #007bff;
  transform: scale(1.1);
}

.portal-section .card {
  height: 100%;
}

.portal-section .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* SPMB Sidebar */
.spmb-sidebar {
  min-height: 400px;
  border-radius: 10px;
}

.spmb-sidebar .nav-link {
  color: #333;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.spmb-sidebar .nav-link:hover {
  background-color: #e9ecef;
  color: #007bff;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .navbar-brand .brand-text {
    font-size: 12px;
  }

  .social-media {
    justify-content: center;
  }

  .banner {
    max-height: 200px;
  }
}
  