* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 100%;
  margin: 0 auto;
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  height: 70vh;
  min-height: 400px;
  width: 100%;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
  z-index: 2;
}

.hero-title {
  color: #ff8430;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.hero-subtitle {
  color: white;
  font-size: 1rem;
  max-width: 48rem;
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* Responsive hero text */
@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

/* Decorative Line */
.decorative-line {
  display: flex;
  justify-content: center;
  margin: 2.5rem 0;
}

.line {
  width: 5rem;
  height: 0.25rem;
  background: linear-gradient(to right, #ff8430, #002147);
  border-radius: 9999px;
}

/* Informational Section */
.info-section {
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.info-content {
  width: 100%;
  max-width: 64rem;
  text-align: center;
}

.info-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #d97706;
  margin-bottom: 1.5rem;
}

.info-subtitle {
  font-size: 1.125rem;
  color: #1e3a8a;
  line-height: 1.75;
}

@media (min-width: 640px) {
  .info-title {
    font-size: 3rem;
    margin-bottom: 2rem;
  }
  .info-subtitle {
    font-size: 1.25rem;
  }
}

/* Expandable Card Styles */
.card-section {
  padding: 3rem 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

.card {
  background: linear-gradient(to bottom right, #f2ebdc, #fef9ef);
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: all 0.5s ease;
}

.card-content {
  padding: 1.5rem;
  padding-bottom: 0;
}

.card-title {
  color: #ff8430;
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-align: center;
}

.card-short-content {
  color: #002147;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.75;
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.card-details {
  margin-top: 2.5rem;
  opacity: 0.8;
  transform: translateY(32px);
  transition: all 1s ease-out;
}

.card-details.visible {
  opacity: 0.8;
  transform: translateY(0);
}

.details-content {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 33, 71, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.details-text {
  color: #002147;
  font-size: 1.125rem;
  line-height: 1.75;
  font-weight: 300;
}

@media (min-width: 640px) {
  .card-content {
    padding: 2.5rem;
    padding-bottom: 0;
  }
  .card-title {
    font-size: 2.25rem;
  }
  .details-content {
    padding: 2rem;
  }
}

/* Gallery Styles */
.gallery-section {
  padding: 3rem 1rem;
  max-width: 80rem;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-image-container {
  position: relative;
  height: 12rem;
  width: 100%;
  overflow: hidden;
}

@media (min-width: 640px) {
  .gallery-image-container {
    height: 16rem;
  }
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

.gallery-caption {
  padding: 0.75rem 1rem;
  background: transparent;
}

.gallery-caption-text {
  font-size: 0.875rem;
  color: #002147;
}

@media (min-width: 640px) {
  .gallery-caption-text {
    font-size: 0.875rem;
  }
}

/* Animation classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

.cta-section {
  width: 100%;
  padding: 4rem 1rem;
}

.cta-content {
  max-width: 64rem; /* same as Tailwind's max-w-4xl */
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 2.25rem; /* text-4xl */
  font-family: monospace;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #001f3f; /* navy */
  letter-spacing: 0.05em;
}

.cta-text {
  font-size: 1.125rem; /* text-lg */
  margin-bottom: 2.5rem;
  color: #000;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .cta-text {
    font-size: 1.25rem; /* sm:text-xl */
  }
}

.cta-highlight {
  display: block;
  font-weight: bold;
  background-color: #fcd34d; /* yellow-300 */
  color: #000;
  padding: 0.25rem 0.5rem;
  margin-top: 1rem;
  border-radius: 0.375rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (max-width: 640px) {
  .cta-buttons {
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.btn {
  font-weight: bold;
  transition: all 0.3s ease;
  transform: scale(1);
}

.btn:hover {
  transform: scale(1.05);
}

.btn-donate {
  background-color: #f59e0b; /* yellow-500 */
  color: #000;
  border: none;
}

.btn-donate:hover {
  background-color: #d97706; /* yellow-600 */
}

.btn-volunteer {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
}

.btn-volunteer:hover {
  background-color: #e5e7eb; /* gray-200 */
}

/* Equivalent to: text-lg text-gray-700 mb-8 font-semibold */
.history-subheading {
  font-size: 1.125rem; /* 18px */
  line-height: 1.75rem; /* 28px */
  margin-bottom: 2rem; /* 32px */
  margin-top: 3rem;
  font-weight: 600;
  text-align: center;
  color: #002147;
}

/* Equivalent to: space-y-6 text-gray-600 text-lg text-left */
.history-content-area {
  font-size: 1.125rem; /* 18px */
  line-height: 1.75rem; /* 28px */
  color: #002147;
  text-align: left;
  font-weight: 300;
  margin-top: 1.5rem;
  opacity: 0.8;
}

.history-content {
  padding: 4.5rem 4rem;
}

@media (max-width: 640px) {
  .history-content {
    padding: 3rem 2rem;
  }
}

/* latest causes */

/* Card Link Container */
.card-link {
  text-decoration: none;
  display: block;
  height: 100%;
}

/* Card Container */
.card {
  border-radius: 0.75rem; /* rounded-xl */
  border: 1px solid transparent;
  color: inherit;
  height: 100%;
  background-color: transparent;
  border: none;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card:hover,
.card:active {
  transform: scale(1.02);
}

/* Image Container */
.card-image-container {
  position: relative;
  height: 10rem; /* h-40 */
  width: 100%;
}

@media (min-width: 640px) {
  .card-image-container {
    height: 12rem; /* sm:h-48 */
  }
}

/* Card Image */
.card-image {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  max-width: 100%;
}

/* Card Content */
.causes-card-content {
  padding: 1rem; /* p-4 */
}

@media (min-width: 640px) {
  .causes-card-content {
    padding: 1.5rem; /* sm:p-6 */
  }
}

/* Card Title */
.causes-card-title {
  color: #09cc7f;
  font-size: 1.125rem; /* text-lg */
  font-weight: 700; /* font-bold */
  margin-bottom: 0.5rem;
  word-break: break-word;
}

@media (min-width: 640px) {
  .causes-card-title {
    font-size: 1.25rem; /* sm:text-xl */
  }
}

/* Card Description */
.card-description {
  color: #002147;
  font-size: 0.875rem; /* text-sm */
}

@media (min-width: 640px) {
  .card-description {
    font-size: 1rem; /* sm:text-base */
  }
}

/* Card Action Container */
.card-action {
  margin-top: 1rem;
}

/* Learn More Link */
.learn-more-link {
  display: inline-flex;
  align-items: center;
  color: #002147;
  font-weight: 500;
  min-height: 44px;
  transition: color 0.3s ease;
}

.learn-more-link:hover,
.learn-more-link:active {
  color: #09cc7f;
}

/* Arrow Icon */
.arrow-icon {
  margin-left: 0.5rem;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
