/* ===== BASE ===== */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  background: #f4f6f8;
  color: #315270;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
}

section {
  padding: 10px 8%;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  position: relative;
  overflow: hidden;
  padding: 120px 8% 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.tag {
  background: transparent;
  color: #00a3da;
  padding: 0;
  border-radius: 0;
  display: inline-block;
  margin-bottom: 25px;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero h1 span {
  color: #00a3da;
}

.hero p {
  font-size: 17px;
  line-height: 1.9;
  color: #66788a;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-buttons .donate-btn {
  padding: 14px 26px;
  border-radius: 50px;
  text-decoration: none;
  color: #fff;
  background: #00a3da;
  box-shadow: 0 15px 30px rgba(0, 163, 218, 0.35);
  display: inline-block;
  transition: 0.3s;
  font-size: 16px;
  font-weight: 600;
}

.hero-buttons .donate-btn:hover {
  transform: translateY(-4px);
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  height: 350px;
  object-fit: contain;
  border-radius: 40px;
  transform: perspective(1000px) rotateY(-10deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
  transition: 0.6s ease;
  animation: floatImage 4s ease-in-out infinite;
  background: linear-gradient(to right, #009BD4 0%, #0285C3 25%, #046FB1 50%, #074D97 75%, #083D8B 100%);
  padding: 20px;
}

.hero-image img:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.05);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.25);
}

@keyframes floatImage {
  0%   { transform: perspective(1000px) rotateY(-10deg) translateY(0); }
  50%  { transform: perspective(1000px) rotateY(-10deg) translateY(-12px); }
  100% { transform: perspective(1000px) rotateY(-10deg) translateY(0); }
}

.hero-image::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(0, 163, 218, 0.25), transparent);
  z-index: -1;
  filter: blur(10px);
}

.floating-card {
  position: absolute;
  padding: 15px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  animation: floatUpDown 3s ease-in-out infinite;
  z-index: 10;
}

.floating-card h3 {
  color: #00a3da;
  font-size: 34px;
  margin: 0;
}

.floating-card p {
  color: #66788a;
  margin: 0;
  font-size: 14px;
}

.card1 { top: 40px; left: -60px; }
.card2 { bottom: 50px; right: -40px; }

@keyframes floatUpDown {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.blur1 {
  width: 350px;
  height: 350px;
  background: #00a3da33;
  top: 0;
  left: 0;
}

.blur2 {
  width: 350px;
  height: 350px;
  background: #3152702b;
  bottom: 0;
  right: 0;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header span {
  color: #00a3da;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 30px;
}

.section-header h2 {
  font-size: 42px;
  margin: 10px 0;
  color: #315270;
}

.section-header p {
  color: #6b7d8f;
  font-size: 16px;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
  padding: 40px 8% 60px;
}

/* ===== TABS ===== */
.tabs-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}

.tab-link {
  padding: 12px 22px;
  border: none;
  background: #fff;
  color: #315270;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}

.tab-link:hover {
  background: #00a3da;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 163, 218, 0.3);
}

.tab-link.active {
  background: #00a3da;
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 163, 218, 0.35);
}

/* ===== TAB CONTENT ===== */
.tab-content {
  display: none;
  animation: fadeUp 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== PROJECT CARD ===== */
.project-card {
  background: #fff;
  padding: 35px;
  border-radius: 25px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  transition: 0.4s;
}

.project-card:hover {
  transform: translateY(-8px) rotateX(4deg);
}

.card-icon {
  width: 140px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00a3da, #315270);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: #fff;
  transition: 0.4s;
}

.project-card:hover .card-icon {
  transform: scale(1.1);
}

.project-card h3 {
  font-size: 24px;
  color: #315270;
  margin-bottom: 12px;
}

.project-card p {
  color: #6b7d8f;
  line-height: 1.8;
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== IFRAME ===== */
.donation-frame {
  width: 100%;
  min-height: 550px;
  border: none;
  display: block;
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* ===== TAX BOX ===== */
.tax-box {
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(to right, #009BD4 0%, #0285C3 25%, #046FB1 50%, #074D97 75%, #083D8B 100%);
  color: #fff;
  border-radius: 0;
  margin: 20px 0;
  padding: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  transition: 0.4s ease;
}

.tax-box::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent);
  top: -50%;
  left: -50%;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.tax-box p {
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.tax-box:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 25px 60px rgba(0, 163, 218, 0.35);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 140px 8% 40px;
    text-align: center;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    margin-top: 30px;
  }

  .hero-image img {
    height: 260px;
  }

  .card1 { top: 10px; left: 10px; }
  .card2 { bottom: 30px; right: 10px; }

  .floating-card h3 { font-size: 24px; }
  .floating-card p  { font-size: 12px; }

  .section-header span { font-size: 22px; }
  .section-header h2   { font-size: 30px; }

  .tabs-wrapper {
    gap: 6px;
  }

  .tab-link {
    font-size: 12px;
    padding: 10px 16px;
  }

  .project-card {
    padding: 25px 20px;
  }

  .project-card h3 {
    font-size: 20px;
  }

  .tax-box p {
    font-size: 13px;
  }

  section {
    padding: 10px 5%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-image img {
    height: 200px;
  }

  .card1 { top: 0; left: 0; }
  .card2 { bottom: 20px; right: 0; }

  .tab-link {
    font-size: 11px;
    padding: 8px 12px;
  }

  .project-card h3 {
    font-size: 18px;
  }
}
