/* ============================================================
   ConferenceMind Trust — Page-Specific Styles
   ============================================================ */

/* ══ HOME — Hero (FULLY FIXED) ═════════════════════════════════════════════ */
.hero {
  min-height: calc(100vh - var(--nav-h));
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 55%, #062820 100%);
  display: flex;
  align-items: center;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(242,166,58,0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(250,247,242,0.04) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: heroFadeUp 0.9s ease both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242,166,58,0.15);
  border: 1px solid rgba(242,166,58,0.35);
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 1.5rem;
}

.hero-tag::before {
  content: '★';
  font-size: 0.6rem;
}

.hero h1 {
  color: var(--ivory);
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.hero h1 em {
  color: var(--amber);
  font-style: normal;
}

.hero-lead {
  font-size: 1rem;
  color: rgba(250,247,242,0.72);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
  max-width: 90%;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-bottom {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-mini-stat .num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--amber);
}

.hero-mini-stat .lbl {
  font-size: 0.7rem;
  color: rgba(250,247,242,0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Hero Image - COMPLETE FIX */
.hero-image-wrap {
  position: relative;
  z-index: 2;
  animation: heroFadeUp 0.9s 0.2s ease both;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  min-height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.hero-img-badge {
  position: absolute;
  bottom: 20px;
  left: -15px;
  background: var(--white);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
}

.hero-img-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.hero-img-badge-text .val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal);
}

.hero-img-badge-text .lbl {
  font-size: 0.65rem;
  color: var(--gray);
}

/* Responsive Fixes */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-lead {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .hero-bottom {
    justify-content: center;
  }
  
  .hero-image-wrap {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .hero-img-badge {
    left: 10px;
    bottom: 10px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 2rem 0;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero-lead {
    font-size: 0.9rem;
  }
  
  .hero-bottom {
    gap: 1rem;
  }
  
  .hero-mini-stat .num {
    font-size: 1.2rem;
  }
  
  .hero-mini-stat .lbl {
    font-size: 0.6rem;
  }
  
  .hero-image-wrap {
    max-width: 300px;
  }
  
  .hero-image-wrap img {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .hero .container {
    padding: 0 1rem;
  }
  
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .hero-tag {
    font-size: 0.6rem;
  }
  
  .hero-btns .btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
  
  .hero-bottom {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .hero-image-wrap img {
    min-height: 250px;
  }
}

/* ══ ABOUT page ════════════════════════════════════════════════ */
.founder-section {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: start;
}
.founder-photo-wrap { position: relative; }
.founder-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.founder-photo-badge {
  position: absolute;
  bottom: 20px;
  left: -16px;
  background: var(--amber);
  color: var(--dark);
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.founder-quote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--dark);
  border-left: 4px solid var(--amber);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
}
.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.legal-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}
.legal-item .key { font-size: 0.72rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.legal-item .val { font-size: 0.92rem; font-weight: 600; color: var(--dark); }

@media (max-width: 768px) {
  .founder-section { grid-template-columns: 1fr; }
  .founder-photo-wrap { max-width: 280px; margin: 0 auto; }
}

/* ══ DONATE page ═══════════════════════════════════════════════ */
.donate-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: start;
}
.donate-form-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.donate-form-wrap h2 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.donate-form-wrap > p { margin-bottom: 1.75rem; font-size: 0.9rem; }
.amount-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 1rem;
}
.amount-preset {
  padding: 10px 6px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
}
.amount-preset:hover,
.amount-preset.active {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.donate-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.donate-trust-card {
  background: var(--teal);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.donate-trust-card h3 { color: var(--ivory); font-size: 1.2rem; margin-bottom: 1rem; }
.trust-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}
.trust-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  color: var(--amber);
}
.trust-item-text .label { font-size: 0.85rem; font-weight: 600; color: var(--ivory); }
.trust-item-text .sub   { font-size: 0.76rem; color: rgba(250,247,242,0.55); }
.fund-split {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.fund-split p { font-size: 0.78rem; color: rgba(250,247,242,0.55); margin-bottom: 8px; }
.split-bar { display: flex; height: 8px; border-radius: 10px; overflow: hidden; margin-bottom: 8px; }
.split-bar-segment { height: 100%; }
.split-bar-segment.programs { background: var(--amber); width: 80%; }
.split-bar-segment.fundraise { background: rgba(255,255,255,0.35); width: 11%; }
.split-bar-segment.admin     { background: rgba(255,255,255,0.15); width: 9%; }
.split-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.split-legend-item { font-size: 0.7rem; color: rgba(250,247,242,0.6); display: flex; align-items: center; gap: 4px; }
.split-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.bank-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 1.5rem;
}
.bank-card h4 { font-size: 0.9rem; margin-bottom: 1rem; }
.bank-row { display: flex; justify-content: space-between; font-size: 0.82rem; padding: 6px 0; border-bottom: 1px solid var(--border); }
.bank-row:last-child { border-bottom: none; }
.bank-row .bk { color: var(--gray); }
.bank-row .bv { font-weight: 600; color: var(--dark); }

@media (max-width: 900px) {
  .donate-grid { grid-template-columns: 1fr; }
  .donate-sidebar { position: static; }
  .amount-presets { grid-template-columns: repeat(2, 1fr); }
}

/* ══ BLOG page ════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.blog-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card-img {
  height: 200px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
}
.blog-card-meta .date { font-size: 0.76rem; color: var(--gray); }
.blog-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.blog-card p { font-size: 0.85rem; flex: 1; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: 1rem;
}
.blog-read-more::after { content: '→'; }

/* ══ CONTACT page ═════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
}
.contact-form-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid var(--border);
}
.contact-info-card {
  background: var(--teal);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.contact-info-card h3 { color: var(--ivory); margin-bottom: 1.25rem; font-size: 1.1rem; }
.contact-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.contact-detail-text .label { font-size: 0.72rem; color: rgba(250,247,242,0.5); letter-spacing: 0.08em; text-transform: uppercase; }
.contact-detail-text .val   { font-size: 0.88rem; color: var(--ivory); font-weight: 500; margin-top: 1px; }
.map-wrap {
  border-radius: 20px;
  overflow: hidden;
  height: 260px;
  background: var(--gray-light);
  border: 1px solid var(--border);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ══ PURI REEL page ═══════════════════════════════════════════ */
.reel-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #0a2a26 100%);
  padding: 8rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.reel-hero h1  { color: var(--ivory); margin-bottom: 1rem; }
.reel-hero p   { color: rgba(250,247,242,0.68); max-width: 520px; margin: 0 auto 2rem; }
.reel-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.reel-feature-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 1.75rem 1.25rem;
  text-align: center;
}
.reel-feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.reel-feature-card h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.reel-feature-card p  { font-size: 0.84rem; }

/* ══ FAQ page ════════════════════════════════════════════════ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: var(--transition);
}
.faq-question:hover { color: var(--teal); }
.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--teal);
  flex-shrink: 0;
  transition: var(--transition);
  font-weight: 700;
  line-height: 1;
}
.faq-item.open .faq-icon {
  background: var(--teal);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ══ THANKYOU page ════════════════════════════════════════════ */
.thankyou-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.thankyou-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 3.5rem 2.5rem;
  max-width: 560px;
  box-shadow: var(--shadow-lg);
}
.thankyou-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.5rem;
}
.thankyou-card h1 { font-size: 2rem; margin-bottom: 0.75rem; }
.thankyou-card p  { margin-bottom: 1.5rem; }
.thankyou-details {
  background: var(--ivory);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  text-align: left;
}
.thankyou-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 5px 0;
}
.thankyou-detail-row .dk { color: var(--gray); }
.thankyou-detail-row .dv { font-weight: 600; color: var(--dark); }

/* ══ 404 page ════════════════════════════════════════════════ */
.notfound-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.notfound-num {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 700;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 1rem;
}

/* FIX HERO IMAGE - ADD THIS */
.hero .container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  flex: 1;
}

.hero-image-wrap {
  flex: 1;
  position: relative;
}

.hero-image-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  display: block;
}

@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
  }
  
  .hero-image-wrap img {
    height: 300px;
  }
}
/* HERO FIX - FORCE IMAGE TO FILL RIGHT SIDE */
.hero .container {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 3rem !important;
}

.hero-content {
  flex: 1 !important;
}

.hero-image-wrap {
  flex: 1 !important;
  position: relative !important;
}

.hero-image-wrap img {
  width: 100% !important;
  height: 400px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 20px !important;
  display: block !important;
}

@media (max-width: 768px) {
  .hero .container {
    flex-direction: column !important;
  }
  
  .hero-image-wrap img {
    height: 300px !important;
  }
}