/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f8fafc;
  color: #1f2937;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =========================
   HEADER
========================= */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-wrapper {
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 26px;
  font-weight: 800;
  color: #0f766e;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.main-nav a {
  color: #374151;
  font-weight: 600;
}

.main-nav a:hover {
  color: #0f766e;
}

.donate-btn {
  background: #f97316;
  color: white !important;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
}

.donate-btn:hover {
  background: #ea580c;
}

/* =========================
   HERO SECTION
========================= */

.hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 118, 110, 0.78);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 60px;
  line-height: 1.1;
  max-width: 850px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  max-width: 700px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
}

.btn-primary {
  background: #f97316;
  color: white;
}

.btn-primary:hover {
  background: #ea580c;
}

.btn-secondary {
  background: white;
  color: #0f766e;
}

/* =========================
   SECTIONS
========================= */

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 15px;
  color: #111827;
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: auto;
  margin-bottom: 50px;
  color: #6b7280;
}

/* =========================
   GRID SYSTEM
========================= */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* =========================
   CARDS
========================= */

.card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card h3 {
  color: #0f766e;
  margin-bottom: 15px;
}

.card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 15px;
}

/* =========================
   IMPACT SECTION
========================= */

.impact-section {
  background: #0f766e;
  color: white;
}

.impact-card {
  background: rgba(255, 255, 255, 0.12);
  text-align: center;
  padding: 30px;
  border-radius: 20px;
}

.impact-card h3 {
  color: #fbbf24;
  font-size: 40px;
  margin-bottom: 10px;
}

/* =========================
   PAGE HERO
========================= */

.page-hero {
  background: #0f766e;
  color: white;
  text-align: center;
  padding: 100px 0;
}

.page-hero h1 {
  font-size: 50px;
  margin-bottom: 15px;
}

/* =========================
   DONATION BOX
========================= */

.donation-box {
  background: #ecfdf5;
  padding: 35px;
  border-radius: 20px;
  border: 1px solid #99f6e4;
}

.account-line {
  background: white;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 18px;
}

/* =========================
   FORMS
========================= */

form {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

input,
textarea,
select {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 15px;
}

textarea {
  min-height: 150px;
}

button {
  border: none;
  cursor: pointer;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}

.site-footer h3,
.site-footer h4 {
  color: white;
  margin-bottom: 15px;
}

.site-footer a {
  display: block;
  color: #d1d5db;
  margin-bottom: 8px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #374151;
  text-align: center;
}

/* =========================
   ALERTS
========================= */

.success {
  background: #dcfce7;
  color: #166534;
  padding: 15px;
  border-radius: 10px;
}

.error {
  background: #fee2e2;
  color: #991b1b;
  padding: 15px;
  border-radius: 10px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .hero h1 {
    font-size: 40px;
  }

  .page-hero h1 {
    font-size: 36px;
  }
}

/* ==========================
   ADMIN PANEL
========================== */

.admin-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: #0f766e;
  color: white;
  padding: 30px;
}

.sidebar h2 {
  margin-bottom: 30px;
}

.sidebar a {
  display: block;
  color: white;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 10px;
}

.sidebar a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.admin-content {
  padding: 35px;
}

.admin-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-box {
  background: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.stat-box h2 {
  color: #0f766e;
  font-size: 40px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 15px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th {
  background: #0f766e;
  color: white;
  padding: 12px;
}

table td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.table-wrapper {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.action-btn {
  padding: 8px 15px;
  border-radius: 6px;
  color: white;
  font-size: 14px;
}

.edit-btn {
  background: #2563eb;
}

.delete-btn {
  background: #dc2626;
}
