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

body {
  line-height: 1.6;
  background: #ffffff;
  color: #222222;
}

/* Header */
header {
  background: linear-gradient(135deg, #34d399 0%, #059669 50%, #0d9488 100%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

header h1 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 1.8rem;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* Navbar */
header nav {
  flex: 1;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

nav ul li {
  margin: 5px 4px;
}

nav ul li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

nav ul li a.active {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-bottom: 2px solid #672577;
  border-radius: 6px 6px 0 0;
}

/* Main content */
main {
  padding: 20px;
  text-align: center;
}

/* Hero Section */
.hero {
  width: 100%;
  height: 480px;
  background-image: url('/assets/image/hero/hero.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  margin: 0 0 30px 0;
}

/* Slider */
.slider {
  position: relative;
  max-width: 800px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
}

.slides {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease-in-out;
}

.slides img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 10px;
}

/* Navigation buttons */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  z-index: 1;
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.8);
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
}

.footer-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px 0;
}

.footer-menu li {
  margin: 0 10px;
}

.footer-menu a {
  color: #d1fae5;
  text-decoration: none;
}

.footer-menu a:hover {
  text-decoration: underline;
}

/* Responsive slider height */
@media (max-width: 600px) {
  .slides img {
    height: 250px;
  }
}

/* Logo image */
header .logo-img {
  height: 70px;
  width: auto;
  display: block;
  flex-shrink: 0;
  margin-left: 150px;
}

/* Activities Page */
.activities-heading {
  color: #10b981;
  text-align: center;
  margin: 20px 0 6px;
}

.activities-subtext {
  text-align: center;
  color: #555;
  margin-bottom: 20px;
}

.year-label {
  text-align: center;
  color: #10b981;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

/* Content sections (Goals & Volunteer) */
.content h2 {
  color: #10b981;
}

/* Mission & Vision Page */
.mission-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 30px 20px;
}

.mission-img {
  width: 100%;
  max-width: 750px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Founders Page */
.founders-table {
  width: 100%;
  max-width: 720px;
  margin: 30px auto;
  border-collapse: collapse;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.founders-table thead {
  background: #10b981;
  color: #fff;
}

.founders-table thead th {
  padding: 14px 20px;
  text-align: center;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.founders-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: background 0.2s;
}

.founders-table tbody tr:last-child {
  border-bottom: none;
}

.founders-table tbody tr:hover {
  background: #f0fdf4;
}

.founders-table tbody td {
  padding: 13px 20px;
  font-size: 15px;
  color: #333;
  text-align: center;
}

.founders-table tbody td:first-child {
  color: #6b7280;
  font-weight: bold;
  width: 40px;
}

.founders-table tbody td:nth-child(2) {
  font-weight: 600;
  color: #111827;
}

.founders-table tbody td:nth-child(3) {
  color: #10b981;
  font-weight: 500;
}

.founders-section {
  text-align: center;
}

.founders-section h2 {
  color: #10b981;
  margin-bottom: 8px;
}

.founders-section p {
  color: #555;
  max-width: 620px;
  margin: 0 auto 10px;
}

/* Donation Page */
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

#modalOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.modal-icon {
  font-size: 48px;
}

.modal-content h2 {
  color: #10b981;
  margin: 12px 0 8px;
}

.modal-content p {
  color: #555;
  margin-bottom: 8px;
}

.modal-ref {
  font-size: 13px;
  color: #888;
}

.modal-close-btn {
  margin-top: 20px;
  padding: 10px 28px;
  background: #10b981;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}

.donation-section {
  max-width: 560px;
  margin: 30px auto;
  text-align: left;
}

.donation-section h2 {
  text-align: center;
  color: #10b981;
  margin-bottom: 6px;
}

.donation-intro {
  text-align: center;
  color: #555;
  margin-bottom: 24px;
}

.bkash-info {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 22px;
}

.amount-label {
  font-weight: bold;
  display: block;
  margin-bottom: 8px;
}

.preset-amount-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.preset-btn {
  padding: 10px 20px;
  border: 2px solid #10b981;
  background: #fff;
  color: #10b981;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.preset-btn.active,
.preset-btn:hover {
  background: #10b981;
  color: #fff;
}

#customAmount {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 15px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-field {
  margin-bottom: 14px;
}

.form-field-last {
  margin-bottom: 22px;
}

.form-field label,
.form-field-last label {
  font-size: 13px;
  font-weight: bold;
}

.required {
  color: red;
}

.form-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 4px;
  font-size: 14px;
}

select.form-input {
  background: #fff;
}

.donate-submit-btn {
  width: 100%;
  padding: 13px;
  background: #10b981;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

/* Apply Page */
.apply-section {
  max-width: 620px;
  margin: 30px auto;
  text-align: left;
  padding: 0 16px;
}

.apply-heading {
  text-align: center;
  color: #10b981;
  margin-bottom: 6px;
}

.apply-subtext {
  text-align: center;
  color: #555;
  margin-bottom: 28px;
}

.apply-form {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.apply-field {
  margin-bottom: 20px;
}

.apply-field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #374151;
  margin-bottom: 6px;
}

.apply-optional {
  font-weight: 400;
  color: #9ca3af;
  font-size: 13px;
}

.apply-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: #111827;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.apply-input:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.apply-textarea {
  resize: vertical;
  min-height: 64px;
}

.apply-submit-btn {
  width: 100%;
  padding: 13px;
  background: #10b981;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 8px;
}

.apply-submit-btn:hover {
  background: #059669;
}
