/* CSS Variables are now defined in nlc-theme.css */

* {
  box-sizing: border-box;
}


/* Navbar Styles */
.navbar {
  transition: all 0.3s ease;
}

.navbar-brand img {
  height: 50px;
  width: auto;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--nlc-text-primary);
}

/* Hero Section styles removed - not used in current design */

/* Card Styles */
.card {
  border: none;
  border-radius: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem 0.5rem 0 0;
}

/* Button Styles */
.btn {
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1.5rem;
}

/* Button styles are now handled by nlc-theme.css */

/* Form Styles */
.form-control,
.form-select {
  border-radius: 0.375rem;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--nlc-primary-green);
  box-shadow: 0 0 0 0.2rem rgba(28, 83, 38, 0.25);
}

/* Footer Styles */
footer {
  background-color: var(--nlc-dark);
  color: #cbd5e0;
}

footer a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--nlc-primary-green);
  transform: translateY(-3px);
}

/* Activity Cards */
.activity-card {
  overflow: hidden;
}

.activity-card .card-img-wrapper {
  position: relative;
  overflow: hidden;
}

.activity-card:hover .card-img-wrapper img {
  transform: scale(1.1);
}

.activity-card .card-img-wrapper img {
  transition: transform 0.5s ease;
}

/* Member Cards */
.member-card {
  padding: 2rem;
  text-align: center;
  height: 100%;
}

.member-card img {
  max-height: 100px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* Resource Items styles removed - not used in current design */

.resource-item:hover {
  border-color: var(--primary-color);
  background-color: #f8fafc;
}

/* Badge Styles */
.badge {
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

/* Pagination */
.pagination {
  margin-top: 2rem;
}

.page-link {
  color: var(--primary-color);
  border: 1px solid #e2e8f0;
  margin: 0 0.25rem;
  border-radius: 0.375rem;
}

.page-link:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .card-img-top {
    height: 150px;
  }

  .navbar-brand img {
    height: 40px;
  }
}

/* Loading Spinner */
.spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.3em;
}

/* Utility Classes */
.bg-light-gradient {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.text-gradient {
  background: linear-gradient(
    135deg,
    var(--nlc-primary-green) 0%,
    var(--nlc-tertiary-green) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Admin Styles */
.border-left-primary {
  border-left: 0.25rem solid var(--nlc-primary-green);
}

.border-left-success {
  border-left: 0.25rem solid var(--nlc-secondary-green);
}

.border-left-info {
  border-left: 0.25rem solid var(--nlc-tertiary-green);
}

.border-left-warning {
  border-left: 0.25rem solid var(--nlc-yellow);
}

.text-xs {
  font-size: 0.7rem;
}

.text-gray-800 {
  color: #2d3748;
}

.text-gray-300 {
  color: #e2e8f0;
}

/* RTL Specific Styles */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .navbar-nav {
  margin-right: auto !important;
  margin-left: 0 !important;
}

[dir="rtl"] .dropdown-menu {
  text-align: right;
}

[dir="rtl"] .card-footer {
  text-align: right;
}

[dir="rtl"] .list-group-item {
  text-align: right;
}

[dir="rtl"] .border-left-primary,
[dir="rtl"] .border-left-success,
[dir="rtl"] .border-left-info,
[dir="rtl"] .border-left-warning {
  border-left: none;
  border-right-width: 0.25rem;
  border-right-style: solid;
}

[dir="rtl"] .border-left-primary {
  border-right-color: var(--primary-color);
}

[dir="rtl"] .border-left-success {
  border-right-color: var(--success-color);
}

[dir="rtl"] .border-left-info {
  border-right-color: var(--info-color);
}

[dir="rtl"] .border-left-warning {
  border-right-color: var(--warning-color);
}

[dir="rtl"] .me-2 {
  margin-right: 0.5rem !important;
  margin-left: 0 !important;
}

[dir="rtl"] .ms-2 {
  margin-left: 0.5rem !important;
  margin-right: 0 !important;
}

[dir="rtl"] .text-end {
  text-align: left !important;
}

[dir="rtl"] .text-start {
  text-align: right !important;
}

/* RTL Form Adjustments */
[dir="rtl"] .form-label {
  text-align: right;
}

[dir="rtl"] .form-check {
  padding-right: 1.25rem;
  padding-left: 0;
}

[dir="rtl"] .form-check-input {
  margin-right: -1.25rem;
  margin-left: 0;
}

