body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background: #ffffff;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.background-wrapper {
  min-height: 100vh;
  position: relative;
  width: 100%;
}
.background-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40vw;
  height: 40vh;
  background: rgba(41, 225, 207, 0.3);
  filter: blur(150px);
  z-index: -1;
}
.background-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40vw;
  height: 40vh;
  background: rgba(246, 246, 112, 0.3);
  filter: blur(150px);
  z-index: -1;
}

.navbar {
  background: #29e1cf;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.navbar .nav-link {
  color: white;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  position: relative;
  transition: color 0.3s, transform 0.3s;
}
.navbar .nav-link:hover {
  color: #fff;
  transform: translateY(-2px);
}
.navbar .nav-link:hover:after {
  width: 100%;
}
.navbar .nav-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #fff;
  transition: width 0.3s;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  margin-bottom: 2rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #333;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.hero h1 span {
  display: inline-block;
  margin: 0 0.5rem;
}
.hero p.subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #555;
  margin: 1rem 0;
  max-width: 80%;
}
.hero .nav-boxes {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}
.hero .nav-box {
  padding: 1.5rem 2rem;
  background: #f5f5f5;
  color: #1A2A44;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s, color 0.3s;
}
.hero .nav-box:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  color: rgb(11.8936170213, 19.2127659574, 31.1063829787);
}
.hero .gradient-btn {
  font-size: 1.2rem;
}

.container {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 1rem;
}

.dashboard-container {
  max-width: 90%;
  margin: 2rem auto;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dashboard-container.bounce-in {
  animation: fadeInScale 0.5s ease-out forwards;
}

.form-container {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: 2rem auto 0;
  width: 90%;
}

.flash {
  background: #29e1cf;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  color: white;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

h1, h2, h3 {
  color: #29e1cf;
  font-weight: 700;
}

button, .btn, .gradient-btn {
  background: #29e1cf;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
button:hover, .btn:hover, .gradient-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
button:hover:after, .btn:hover:after, .gradient-btn:hover:after {
  width: 100%;
}
button:after, .btn:after, .gradient-btn:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #fff;
  transition: width 0.3s;
}

.btn-danger {
  background: #e74c3c;
}
.btn-danger:hover {
  background: rgb(213.698630137, 43.8356164384, 26.301369863);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.glass {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 1rem;
  box-sizing: border-box;
  resize: vertical;
}
.form-control:focus {
  border-color: #29e1cf;
  outline: none;
}

.checkbox {
  margin-top: 0.5rem;
}

.error {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.card h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 1rem;
}
.card p {
  margin: 0.5rem 0;
  color: #555;
}
.card .action {
  margin-top: 1rem;
}
.card .card-image {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.card .no-image {
  height: 150px;
  background: #f0f0f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  margin-bottom: 1rem;
}
.card .card-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.table th, .table td {
  padding: 1.2rem;
  border: 1px solid #ddd;
  text-align: left;
}
.table th {
  background: #29e1cf;
  color: white;
  font-weight: 600;
}
.table tr:nth-child(even) {
  background: #f9f9f9;
}

.opportunity-image, .charity-opportunity-image, .preview-image {
  max-width: 100%;
  max-height: 120px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.opportunity-image:hover, .charity-opportunity-image:hover, .preview-image:hover {
  transform: scale(1.1);
}

.gradient-link {
  color: #29e1cf;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s, transform 0.3s;
}
.gradient-link:hover {
  color: rgb(26.4344262295, 188.5655737705, 172.7049180328);
  transform: translateY(-2px);
}
.gradient-link:hover:after {
  width: 100%;
}
.gradient-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: rgb(26.4344262295, 188.5655737705, 172.7049180328);
  transition: width 0.3s;
}
.gradient-link#create-event-link:after {
  background: linear-gradient(90deg, #ffd700, #ff4500) !important;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal.modal-open {
  animation: modalFadeIn 0.3s ease-out;
}
.modal .modal-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  max-width: 90%;
  max-height: 90vh;
  position: relative;
  overflow: auto;
}
.modal .modal-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.modal .modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2.5rem;
  color: #e74c3c;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
}
.modal .modal-close:hover {
  color: rgb(213.698630137, 43.8356164384, 26.301369863);
  transform: scale(1.2);
}

.bounce-in {
  animation: fadeInScale 0.5s ease-out forwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes bounceIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  60% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.opportunity-list {
  list-style: none;
  padding: 0;
}
.opportunity-list .opportunity-item {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.opportunity-list .opportunity-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.opportunity-list .opportunity-item p {
  margin: 0.5rem 0;
  color: #555;
}
.opportunity-list .opportunity-item .opportunity-image {
  max-width: 100%;
  max-height: 120px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.opportunity-list .opportunity-item .opportunity-image:hover {
  transform: scale(1.1);
}
.opportunity-list .opportunity-item .opportunity-actions {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.charity-opportunity-item {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 300px;
}
.charity-opportunity-item .charity-opportunity-image {
  max-width: 100%;
  max-height: 150px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.charity-opportunity-item .charity-opportunity-image:hover {
  transform: scale(1.1);
}
.charity-opportunity-item p {
  margin: 0.5rem 0;
  color: #555;
  text-align: center;
}
.charity-opportunity-item .applicant-count {
  margin-top: 1rem;
  color: #1A2A44;
  font-weight: 600;
}

.comment-box {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.3s;
}
.comment-box:focus {
  border-color: #29e1cf;
  outline: none;
}

.submit-comment-btn {
  background: #29e1cf;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.submit-comment-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.submit-comment-btn:hover:after {
  width: 100%;
}
.submit-comment-btn:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #fff;
  transition: width 0.3s;
}

/* New Underline Text Style (for Edit/Delete Buttons) */
.underline-text {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  color: #29e1cf;
  position: relative;
  display: inline-block;
  transition: color 0.3s, transform 0.3s;
  box-shadow: none !important;
  outline: none !important;
}
.underline-text:hover {
  color: rgb(26.4344262295, 188.5655737705, 172.7049180328);
  transform: translateY(-2px);
}
.underline-text:hover:after {
  width: 100%;
}
.underline-text:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: rgb(26.4344262295, 188.5655737705, 172.7049180328);
  transition: width 0.3s;
}
.underline-text:focus {
  box-shadow: none !important;
  outline: none !important;
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }
  .navbar .nav-link {
    margin: 0 0.5rem;
    font-size: 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero .nav-boxes {
    flex-direction: column;
    align-items: center;
  }
  .form-container {
    padding: 1rem;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .card .card-actions {
    justify-content: center;
  }
  .opportunity-item .opportunity-actions {
    justify-content: center;
  }
  .charity-opportunity-item {
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .form-container {
    margin: 1rem auto;
  }
  .card .card-image, .card .no-image {
    height: 100px;
  }
  button, .btn, .gradient-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  .opportunity-item {
    padding: 1rem;
  }
  .charity-opportunity-item {
    padding: 1rem;
  }
}/*# sourceMappingURL=styles.css.map */