/* ==========================================================================
   Landing Page Stylesheet (index.html)
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: 
    linear-gradient(135deg, rgba(5, 14, 29, 0.94) 0%, rgba(10, 25, 47, 0.88) 50%, rgba(13, 35, 66, 0.93) 100%),
    url('../assets/images/hero-background.jpg') center center / cover no-repeat;
  color: var(--white);
  padding: 6.5rem 0 5.5rem 0;
  overflow: hidden;
}

/* Subtle background grid / ambient glow */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(197, 147, 58, 0.15) 0%, transparent 70%);
  top: -100px;
  right: -50px;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background: rgba(197, 147, 58, 0.15);
  border: 1px solid rgba(197, 147, 58, 0.35);
  border-radius: var(--radius-full);
  color: var(--gold-300);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  align-self: flex-start;
  backdrop-filter: blur(8px);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--gold-400);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(223, 171, 78, 0.7);
  animation: pulse-ring 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(223, 171, 78, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(223, 171, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(223, 171, 78, 0); }
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.4rem, 4.2vw, 3.75rem);
  line-height: 1.15;
  margin-bottom: 1.35rem;
  font-weight: 800;
}

.hero-title span.highlight {
  background: linear-gradient(120deg, #fcebc5 0%, var(--gold-300) 50%, var(--gold-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--slate-300);
  margin-bottom: 2.25rem;
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Hero Stats Row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-300);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.825rem;
  color: var(--slate-400);
  line-height: 1.4;
  font-weight: 500;
}

/* Hero Visual / Card Preview */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
}

/* Featured Hero Image Showcase */
.hero-image-showcase {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid rgba(223, 171, 78, 0.45);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 30px rgba(197, 147, 58, 0.2);
  margin-bottom: 1rem;
  background: var(--navy-950);
}

.hero-showcase-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-smooth);
}

.hero-image-showcase:hover .hero-showcase-img {
  transform: scale(1.04);
}

.hero-showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(5, 14, 29, 0.96) 0%, rgba(5, 14, 29, 0.7) 65%, transparent 100%);
  padding: 1.5rem 1.25rem 0.85rem 1.25rem;
  color: var(--white);
}

.showcase-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-300);
  background: rgba(197, 147, 58, 0.2);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.35rem;
  border: 1px solid rgba(243, 199, 116, 0.3);
}

.showcase-caption {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--slate-200);
  margin: 0;
  font-weight: 500;
}

/* Glass mini card beneath showcase image */
.hero-glass-mini-card {
  background: rgba(13, 35, 66, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.5rem;
}

.hero-glass-mini-card .mini-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.hero-glass-mini-card .mini-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.hero-glass-mini-card .mini-content h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.hero-glass-mini-card .mini-content p {
  color: var(--slate-300);
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.35;
}

.hero-glass-card {
  background: rgba(13, 35, 66, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

.card-header-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 16px rgba(197, 147, 58, 0.3);
}

.card-header-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.hero-glass-card h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.hero-glass-card p {
  color: var(--slate-300);
  font-size: 0.935rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-pills {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-pill-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  color: var(--slate-200);
}

.feature-pill-item svg {
  width: 18px;
  height: 18px;
  fill: var(--gold-400);
  flex-shrink: 0;
}

/* Floating badge on hero card */
.hero-floating-badge {
  position: absolute;
  bottom: -20px;
  right: -15px;
  background: #ffffff;
  color: var(--navy-900);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid var(--slate-200);
  z-index: 3;
}

.hero-floating-badge .badge-icon {
  width: 34px;
  height: 34px;
  background: var(--gold-100);
  color: var(--gold-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-floating-badge .badge-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   MISSION SECTION (OUR MISSION)
   -------------------------------------------------------------------------- */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.mission-text-block {
  display: flex;
  flex-direction: column;
}

.mission-lead {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--navy-900);
  font-weight: 600;
  margin-bottom: 1.25rem;
  position: relative;
}

.mission-subtext {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate-600);
  margin-bottom: 1.75rem;
}

.mission-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.pillar-card:hover {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.pillar-card:hover .pillar-icon-box {
  background: var(--navy-900);
  color: var(--gold-300);
}

.pillar-icon-box svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.pillar-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.pillar-content p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   LEGAL AID CENTER & ASK-A-LAWYER SECTION
   -------------------------------------------------------------------------- */
.legal-aid-wrapper {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.legal-aid-wrapper::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(197, 147, 58, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.legal-aid-header {
  max-width: 800px;
  margin-bottom: 3rem;
}

.legal-aid-header h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.legal-aid-header p {
  color: var(--slate-300);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* 3-Step Process Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(197, 147, 58, 0.4);
  transform: translateY(-4px);
}

.step-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-400);
  opacity: 0.8;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.step-card p {
  color: var(--slate-300);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   REQUEST LEGAL AID FORM SECTION
   -------------------------------------------------------------------------- */
.form-section-container {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.form-info-side {
  display: flex;
  flex-direction: column;
}

.info-bullet-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-bullet-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-bullet-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.info-bullet-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.info-bullet-text p {
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-bottom: 0;
}

.confidentiality-notice {
  background: var(--slate-100);
  border-left: 4px solid var(--gold-500);
  padding: 1.15rem 1.35rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.85rem;
  color: var(--slate-700);
  line-height: 1.6;
}

/* The Form Container */
.legal-aid-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  box-shadow: 0 15px 35px -5px rgba(10, 25, 47, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--slate-200);
  position: relative;
}

.form-title-group {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: 1.25rem;
}

.form-title-group h3 {
  font-size: 1.65rem;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.form-required-note {
  font-size: 0.825rem;
  color: var(--slate-500);
}

.form-required-note span.req {
  color: #dc2626;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label .required-star {
  color: #dc2626;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  color: var(--slate-900);
  background-color: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  background-color: var(--white);
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(197, 147, 58, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-check-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem 0;
  font-size: 0.85rem;
  color: var(--slate-600);
  cursor: pointer;
}

.form-check-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-500);
  margin-top: 2px;
  cursor: pointer;
}

.form-submit-btn {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
}

/* Success Alert Modal / Box */
.form-alert-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  margin-top: 1.5rem;
  animation: fadeIn 0.4s ease forwards;
}

.form-alert-success h4 {
  color: #065f46;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* --------------------------------------------------------------------------
   PROGRAMS / KEY INITIATIVES PREVIEW
   -------------------------------------------------------------------------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--slate-300);
}

.program-thumb {
  height: 190px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
}

.program-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.program-card:hover .program-thumb img {
  transform: scale(1.05);
}

.program-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(8px);
  color: var(--gold-300);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(243, 199, 116, 0.3);
}

.program-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.program-body p {
  font-size: 0.925rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-900);
  transition: all var(--transition-fast);
}

.program-link:hover {
  color: var(--gold-500);
  gap: 0.75rem;
}

.program-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   COALITION & PARTNERS STRIP
   -------------------------------------------------------------------------- */
.partners-strip {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 2.5rem 0;
}

.partners-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-500);
  margin-bottom: 1.5rem;
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-800);
  padding: 0.6rem 1.15rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.partner-badge:hover {
  background: var(--white);
  border-color: var(--gold-500);
  color: var(--navy-950);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   RESPONSIVE (Landing Page)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 3rem;
  }
  .hero-visual {
    justify-content: flex-start;
  }
  .mission-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .form-section-container {
    grid-template-columns: 1fr;
  }
  .programs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 4rem 0 3.5rem 0;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .legal-aid-wrapper {
    padding: 2.25rem 1.5rem;
  }
  .legal-aid-card {
    padding: 1.75rem 1.25rem;
  }
}
