/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Traditional Charity Color Palette */
  --primary-color: #1e3a8a; /* Deep Navy Blue */
  --secondary-color: #d97706; /* Warm Gold */
  --accent-color: #dc2626; /* Charity Red */
  --text-dark: #1f2937; /* Dark Gray */
  --text-light: #6b7280; /* Medium Gray */
  --background-light: #f9fafb; /* Light Gray */
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 300;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: var(--transition);
}

/* ===== HERO SECTION - INNOVATION POINT 1: PARALLAX EFFECT ===== */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: translateY(-10%);
  z-index: -1;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.8) 0%,
    rgba(217, 119, 6, 0.6) 100%
  );
}

.hero-content {
  color: var(--white);
  z-index: 2;
  max-width: 1200px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-text {
  text-align: left;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-announcement {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  display: inline-block;
}

.inline-link {
  color: #fff;
  text-decoration: underline;
}

.hero-quicklinks {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.quicklink {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  transition: var(--transition);
}

.quicklink:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Hero Right-side News */
.hero-panel {
  align-self: start;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-right {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.news-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.15);
  font-weight: 600;
}

.news-viewport {
  height: clamp(200px, 28vh, 240px);
  overflow-y: auto;
  overflow-x: hidden;
}

.news-list {
  list-style: none;
}

.news-item {
  padding: 0.75rem 1rem;
}

.news-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.75rem;
  align-items: center;
}
.news-thumb {
  width: 110px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.news-item a {
  color: #fff;
  text-decoration: none;
}

.news-item a:hover {
  text-decoration: underline;
}

.news-date {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* INNOVATION POINT 4: GRADIENT TEXT ANIMATION */
.gradient-text {
  background: linear-gradient(
    45deg,
    var(--white),
    var(--secondary-color),
    var(--white)
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.stat-item i {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  font-family: "Playfair Display", serif;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ===== SECTIONS ===== */
section {
  padding: 5rem 0;
}

.about {
  background: var(--background-light);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin: 2rem 0 1rem 0;
}

.about-text p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.value-card i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.value-card h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--text-light);
}

/* ===== ACTIVITIES SECTION ===== */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

/* INNOVATION POINT 2: INTERACTIVE CARD HOVER SYSTEM */
.activity-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.activity-card:hover {
  transform: rotateY(5deg) rotateX(5deg) translateZ(20px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  height: 200px;
  overflow: hidden;
}

.activity-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  clip-path: inset(0% 0% 5% 5%);
}

.activity-card:hover .activity-img {
  transform: scale(1.1);
}

.card-content {
  padding: 2rem;
}

.card-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.card-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.card-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

.card-stats span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== GALLERY SECTION - INNOVATION POINT 5: RESPONSIVE IMAGE GRID ===== */
.gallery {
  background: var(--background-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 4/3;
  transition: var(--transition);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  clip-path: inset(0% 0% 5% 5%);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(30, 58, 138, 0.9));
  color: var(--white);
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-overlay h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.gallery-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ===== SUBSCRIBE SECTION ===== */
.subscribe {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
}

.subscribe-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.subscribe-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.subscribe-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.form-input {
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  min-width: 300px;
  outline: none;
}

.form-button {
  padding: 1rem 2rem;
  background: var(--accent-color);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-button:hover {
  background: #b91c1c;
  transform: translateY(-2px);
}

/* ===== CONTACT SECTION ===== */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-top: 0.25rem;
}

.contact-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-light);
  line-height: 1.5;
}

.contact-map {
  background: var(--background-light);
  border-radius: 15px;
  padding: 0;
  text-align: center;
  display: block;
  overflow: hidden;
  min-height: 300px;
}

.map-placeholder i {
  font-size: 4rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.map-placeholder p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.map-embed {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 15px;
  overflow: hidden;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.footer-section p,
.footer-section li {
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  color: var(--white);
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  font-size: 0.9rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-content {
    display: block;
    max-width: 800px;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-news {
    margin-top: 2rem;
  }

  .news-viewport {
    height: 240px;
  }
  .news-card {
    grid-template-columns: 100px 1fr;
  }
}
