/* ================================================== 
   SOMALI LANDING PAGE STYLES
   Extended global.css with exact homepage styling for Somali content
================================================== */

/* =========================
   HERO SECTION
========================= */
.hero {
  position: relative;
  text-align: center;
  padding: 100px 20px;
  background: url(/shared/images/modern-east-african-city-skyline.jpg) no-repeat center/cover;
  color: var(--light);
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 15px;
  color: var(--accent-brand-blue-light);
}

.hero p {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 15px auto;
  line-height: 1.6;
  color: var(--light);
}

/* =========================
   SERVICES OVERVIEW
========================= */
.services-overview {
  padding: 60px 40px;
  text-align: center;
}

.services-overview h2 {
  font-size: 1.75rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.services-overview p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: #555;
  text-align: center;
}

/* =========================
   SERVICES GRID
========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  display: block;
  background: #fff;
  padding: 25px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-top: 3px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.service-card.bg-brand-blue:hover   { border-top-color: var(--brand-blue); }
.service-card.bg-accent-coral:hover { border-top-color: var(--accent-coral); }
.service-card.bg-brand-green:hover  { border-top-color: var(--brand-green); }
.service-card.bg-brand-yellow:hover { border-top-color: var(--brand-yellow); }
.service-card.bg-brand-navy:hover   { border-top-color: var(--brand-navy); }

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* =========================
   TRUST SECTION
========================= */
.trust {
  display: flex;
  justify-content: center;
  background: #f4f4f4;
  padding: 60px 20px;
  width: 100%;
  box-sizing: border-box;
}

.trust .container {
  max-width: 800px;
  width: 100%;
  text-align: left;
}

.trust h2 {
  font-size: 1.625rem;
  margin-bottom: 20px;
  color: var(--primary, #118AB2);
}

.trust ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust li {
  position: relative;
  padding-left: 25px;
  margin: 10px 0;
  font-size: 1rem;
  line-height: 1.6;
}

.trust li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary, #118AB2);
  position: absolute;
  left: 0;
  top: 0.2rem;
}

/* =========================
   INSIGHTS / RESOURCES
========================= */
#resources.insights {
  background: var(--light);
  padding: 25px 20px;
  border-radius: 20px;
  margin-bottom: 25px;
}

#resources.insights h2 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--brand-navy);
  margin-bottom: 40px;
  font-weight: 700;
}

.insight-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  justify-content: center;
}

.insight-card {
  background: var(--light, #fff);
  padding: 25px 20px;
  border-radius: 12px;
  border-left: 5px solid var(--brand-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.insight-card h3 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 15px;
}

.insight-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.insight-card ul li {
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 8px;
  padding-left: 2rem;
}

.insight-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--brand-green, #06D6A0);
}

.insight-card.brand-blue   { border-left-color: var(--brand-blue); }
.insight-card.brand-green  { border-left-color: var(--brand-green); }
.insight-card.accent-coral { border-left-color: var(--accent-coral); }

/* =========================
   SUCCESS STORIES
========================= */
.success-stories {
  padding: 4rem 2rem;
  background-color: #f9fafb;
  text-align: center;
}

.success-stories h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 600;
  margin-bottom: 2.5rem;
  color: var(--primary);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.story {
  background: var(--light, #fff);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 2rem;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.story h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--dark, #333);
}

.story p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--dark, #333);
}

/* =========================
   PROGRESS BARS
========================= */
.progress {
  margin-bottom: 1.2rem;
}

.progress span {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary, #118AB2);
  margin-bottom: 0.5rem;
}

.progress-bar {
  width: 100%;
  height: 22px;
  background-color: #e9ecef;
  border-radius: 20px;
  overflow: hidden;
}

.progress-bar div {
  height: 100%;
  line-height: 22px;
  font-size: 0.85rem;
  font-weight: bold;
  color: #fff;
  text-align: right;
  padding-right: 10px;
  border-radius: 20px 0 0 20px;
  background: linear-gradient(90deg, var(--primary, #118AB2), var(--brand-green, #21B6A8));
  transition: width 1s ease-in-out;
}

.success-cta {
  margin-top: 3rem;
  text-align: center;
}

.success-cta p {
  font-size: 1.125rem;
  color: var(--brand-blue-text);
  margin: 0 auto 2rem;
  max-width: 600px;
}

.success-cta .cta-btn {
  background: var(--brand-green, #21B6A8);
  transition: background 0.3s ease, transform 0.2s ease;
}

.success-cta .cta-btn:hover {
  background: #1a9c8d;
  transform: translateY(-3px);
}

/* =========================
   CTA BUTTONS & CONTACT CTA
========================= */
.cta-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  background: var(--cta-base);
  color: #fff;
  transition: background 0.25s ease;
}

.cta-btn:hover {
  background: var(--accent);
}

.cta-btn.secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.contact-cta {
  text-align: center;
  padding: 70px 20px;
  background: var(--brand-blue);
  color: #fff;
}

.contact-cta h2 {
  font-size: 1.875rem;
  margin-bottom: 15px;
}

.contact-cta p {
  font-size: 1rem;
  margin-bottom: 20px;
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 768px) {
  .hero {
    padding: 60px 15px;
  }

  .hero h1 { font-size: 32px; }
  .hero p  { font-size: 1rem; }

  .services-overview,
  .trust,
  .insights,
  .success-stories {
    padding: 40px 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    padding: 0 5px;
  }

  .stories-grid {
    grid-template-columns: 1fr;
  }

  .contact-cta { padding: 50px 15px; }
  .trust h2 { font-size: 1.4rem; }
}
