/* ==========================================================================
   PAGE-SPECIFIC STYLES FOR WAWEZESHE WASOME FOUNDATION
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HOME PAGE
   -------------------------------------------------------------------------- */
.home {
  width: 100%;
}

.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--text-light);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(11, 47, 82, 0.9), rgba(11, 47, 82, 0.4));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
  text-align: left;
}

.hero h1 {
  font-size: 4rem;
  color: var(--surface-color);
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero h1 span {
  color: var(--secondary-color);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 600px;
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

.mission-snapshot .lead-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.mission-snapshot p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Donate Stripe Section */
.stripe-section {
  background-color: #476ba2;
  padding: 3.5rem 0;
  color: var(--surface-color);
}

.stripe-content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.stripe-text h2 {
  color: var(--surface-color);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.stripe-text p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 0;
  color: var(--surface-color);
}

.stripe-button {
  flex-shrink: 0;
}

/* Unified Marquee Section for Team & Partners */
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 1rem 0 2rem 0;
  position: relative;
  white-space: nowrap;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 50px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #F8FAFC 0%, rgba(248, 250, 252, 0) 100%);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #F8FAFC 0%, rgba(248, 250, 252, 0) 100%);
}

.marquee-track {
  display: inline-flex;
  gap: 2rem;
  animation: scrollMarquee 30s linear infinite;
  padding-left: 2rem;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 1rem));
  }
}

.team-card,
.partner-logo-container {
  white-space: normal;
  flex: 0 0 auto;
}

.team-card {
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  min-width: 280px;
}

.team-avatar {
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  color: var(--surface-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 auto 1rem auto;
}

/* Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pillar-card {
  background-color: var(--surface-color);
  border-radius: 8px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border-bottom: 4px solid transparent;
}

.pillar-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--secondary-color);
}

.pillar-icon {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.pillar-icon svg {
  width: 40px;
  height: 40px;
}

.pillar-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.pillar-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Chairperson Highlight */
.chairperson-card {
  display: flex;
  background-color: var(--surface-color);
  border-radius: 12px;
  overflow: hidden;
  align-items: center;
}

.chairperson-image {
  flex: 0 0 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  background-color: var(--primary-light);
}

.chairperson-avatar {
  width: 150px;
  height: 150px;
  background-color: var(--surface-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  font-weight: bold;
  box-shadow: var(--shadow-lg);
}

.chairperson-text {
  flex: 1;
  padding: 3rem;
}

.chairperson-title {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.chairperson-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  border-left: 4px solid var(--secondary-color);
  padding-left: 1rem;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: var(--surface-color);
  padding: 2.5rem;
  border-radius: 12px;
  position: relative;
}

.testimonial-quote-icon {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--secondary-light);
  opacity: 0.3;
  line-height: 1;
  position: absolute;
  top: 10px;
  left: 20px;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author h4 {
  color: var(--primary-color);
  margin-bottom: 0.2rem;
}

.testimonial-author p {
  color: var(--secondary-color);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Partners Section */
.partner-logo-container {
  background-color: var(--surface-color);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  min-width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-logo-img {
  max-width: 100%;
  height: 80px;
  object-fit: contain;
}

/* Home News Section */
.home-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.home-news-card {
  background-color: var(--surface-color);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.home-news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.home-news-img-wrapper {
  position: relative;
  height: 200px;
  width: 100%;
}

.home-news-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-news-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.home-news-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.home-news-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: block;
}

.home-news-content h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.home-news-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.home-news-link {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  align-self: flex-start;
  text-decoration: none;
}

.home-news-link:hover {
  color: var(--primary-color);
}


/* --------------------------------------------------------------------------
   2. ABOUT US PAGE
   -------------------------------------------------------------------------- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.about-text h2 span {
  color: var(--secondary-color);
}

.about-text p {
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.story-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.story-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: rgba(197, 160, 89, 0.1);
  color: var(--secondary-color);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.story-icon-badge svg {
  width: 32px;
  height: 32px;
}

.story-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-grid .team-card {
  min-width: unset;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.team-grid .team-card:hover {
  transform: translateY(-5px);
}

.team-title {
  color: var(--secondary-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-nat {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.objectives-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 850px;
  margin: 2rem auto 0 auto;
}

.objective-item {
  display: flex;
  align-items: center;
  background-color: var(--surface-color);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  gap: 2rem;
  transition: transform var(--transition-fast);
}

.objective-item:hover {
  transform: translateX(5px);
}

.objective-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary-color);
  background-color: rgba(197, 160, 89, 0.1);
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.objective-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.6;
}

.values-list {
  font-weight: 500;
  color: var(--primary-color);
}


/* --------------------------------------------------------------------------
   3. PROJECTS & CAMPAIGNS PAGE
   -------------------------------------------------------------------------- */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.project-row {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.project-row.reverse {
  flex-direction: row-reverse;
}

.project-image-col {
  flex: 1;
}

.project-text-col {
  flex: 1;
}

.project-image {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.project-icon-badge {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.project-text-col h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.project-text-col p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

.bg-dark {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.text-white {
  color: #FFFFFF !important;
}

.nanja-section {
  padding: 6rem 0;
}

.nanja-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: rgba(197, 160, 89, 0.15);
  color: var(--secondary-color);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.nanja-badge svg {
  width: 32px;
  height: 32px;
}

.nanja-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.bg-primary-dark {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card {
  padding: 3rem;
  border-radius: 12px;
}

.info-card h4 {
  color: var(--secondary-color);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.info-card p {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.challenge-item {
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--secondary-color);
  padding-left: 1rem;
}

.challenge-item h5 {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.challenge-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.intervention-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.intervention-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.bullet-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.intervention-list strong {
  color: var(--secondary-color);
}

.impact-quote {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.gold-text {
  color: var(--secondary-color) !important;
}

.gold-subtitle {
  color: var(--secondary-color);
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

/* Campaign Section */
.campaign-section {
  padding: 6rem 0;
}

.campaign-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem;
  border-radius: 16px;
  text-align: center;
  position: relative;
  background-color: var(--surface-color);
  border-top: 5px solid var(--secondary-color);
}

.campaign-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: rgba(197, 160, 89, 0.1);
  color: var(--secondary-color);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.campaign-badge svg {
  width: 32px;
  height: 32px;
}

.campaign-wrapper h3 {
  color: var(--secondary-color);
  font-size: 1.4rem;
  margin-top: 0.5rem;
  margin-bottom: 3rem;
}

.campaign-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  text-align: left;
}

.campaign-desc p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.campaign-details {
  background-color: var(--bg-color);
  padding: 2rem;
  border-radius: 8px;
}

.campaign-details h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.donation-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.donation-items li {
  font-size: 1rem;
  color: var(--text-secondary);
}

.collection-drive h5 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.collection-drive p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.call-to-action {
  padding: 6rem 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.cta-mini-card {
  background-color: var(--surface-color);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.cta-mini-card:hover {
  transform: translateY(-3px);
}

.cta-mini-card span {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.cta-mini-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  font-weight: 500;
}


/* --------------------------------------------------------------------------
   4. GALLERY PAGE
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 47, 82, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: var(--surface-color);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  padding: 0 1rem;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}


/* --------------------------------------------------------------------------
   5. NEWS & EVENTS PAGE
   -------------------------------------------------------------------------- */
.news-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background-color: var(--surface-color);
  color: var(--primary-color);
  border: 1px solid rgba(11, 47, 82, 0.15);
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}

.tab-btn:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.tab-btn.active {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
}

.news-card {
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--surface-color);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.news-card-image {
  position: relative;
  height: 240px;
  width: 100%;
  overflow: hidden;
}

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

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
}

.news-card-body {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.news-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.news-meta-item svg {
  width: 14px;
  height: 14px;
}

.news-card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  line-height: 1.35;
}

.news-excerpt {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.news-details-expanded {
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  padding-top: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.read-more-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--secondary-color);
  align-self: flex-start;
  transition: gap var(--transition-fast);
  text-decoration: none;
}

.read-more-btn:hover {
  gap: 0.75rem;
  color: var(--primary-color);
}


/* --------------------------------------------------------------------------
   6. CONTACT US PAGE
   -------------------------------------------------------------------------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 24px;
  height: 24px;
}

.info-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.info-item p {
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-form-container {
  background-color: var(--surface-color);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background-color: #F8FAFC;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  background-color: var(--surface-color);
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.15);
}

.w-100 {
  width: 100%;
}


/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media screen and (max-width: 960px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .chairperson-card {
    flex-direction: column;
  }

  .stripe-content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .marquee-track {
    gap: 1rem;
    padding-left: 1rem;
  }

  .project-row, 
  .project-row.reverse {
    flex-direction: column;
    gap: 2rem;
  }

  .nanja-grid, 
  .campaign-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .campaign-wrapper {
    padding: 2rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .contact-form-container {
    padding: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .objective-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   7. CUSTOM 404 NOT FOUND PAGE
   -------------------------------------------------------------------------- */
.custom-404-section {
  padding: 4rem 0 6rem 0;
}

.error-404-card {
  background-color: var(--surface-color);
  border-radius: 16px;
  padding: 4rem 2rem;
  max-width: 780px;
  margin: 0 auto;
  border-top: 5px solid var(--secondary-color);
  text-align: center;
}

.error-code-badge {
  font-family: var(--font-heading);
  font-size: 6.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  text-shadow: 0 4px 12px rgba(197, 160, 89, 0.25);
  animation: pulse404 2s infinite ease-in-out;
}

@keyframes pulse404 {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.error-heading {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.error-description {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 580px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.7;
}

.redirect-counter-box {
  background-color: var(--bg-color);
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 2rem;
  max-width: 500px;
  margin: 0 auto 3rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.redirect-counter-box.paused {
  background-color: #FEF3C7;
  border-color: #FDE68A;
}

.counter-pulse-ring {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  box-shadow: 0 0 0 8px rgba(11, 47, 82, 0.1);
  animation: ringPulse 1s infinite alternate;
}

@keyframes ringPulse {
  from { box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.2); }
  to { box-shadow: 0 0 0 12px rgba(197, 160, 89, 0.35); }
}

.counter-text {
  font-size: 1.05rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.counter-text strong {
  color: var(--secondary-color);
}

.counter-progress-track {
  width: 100%;
  height: 6px;
  background-color: #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
}

.counter-progress-bar {
  height: 100%;
  width: 0%;
  background-color: var(--secondary-color);
  border-radius: 10px;
}

.error-buttons-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

