/* Global Shared Styles for Human Rights Screened Foundation */

/* Initial navbar style */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  transition: background-color 0.4s ease, padding 0.3s ease;
  z-index: 999;
  box-sizing: border-box;
}

/* Change on scroll */
nav.scrolled {
  background-color: #333;
  padding: 10px 30px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ffcc00;
}

/* Special styling for donate button */
.donate-btn {
  background-color: #ff6b35 !important;
  color: white !important;
  padding: 8px 16px !important;
  border-radius: 25px !important;
  font-weight: bold !important;
  transition: all 0.3s ease !important;
}

.donate-btn:hover {
  background-color: #e55a2b !important;
  transform: scale(1.05) !important;
  color: white !important;
}

nav.scrolled .donate-btn {
  background-color: #ff6b35 !important;
}

.logo img {
  height: 40px;
  transition: height 0.3s ease;
}

/* Optional: shrink logo when scrolling */
nav.scrolled .logo img {
  height: 30px;
}

/* Global Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Mobile Responsive Navbar */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 15px 20px;
  }

  nav ul {
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  nav ul li a {
    font-size: 0.9rem;
  }

  .donate-btn {
    padding: 6px 12px !important;
    font-size: 0.9rem !important;
  }
}

/* Global Typography */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
}

/* Global Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #667eea;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #5a6fd8;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #667eea;
  color: #667eea;
}

.btn-secondary:hover {
  background-color: #667eea;
  color: white;
}

/* Global Utilities */
.text-center {
  text-align: center;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}
