/* =========================
   GLOBAL STYLES
========================= */
body { 
  padding-top: 70px; 
  scroll-behavior: smooth; 
  background: #f8f9fa; /* light neutral background */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1a1a1a;
}
   /* Smooth fade-in for community details */
    .community-detail { opacity: 0; transition: opacity 0.5s ease; }
    .community-detail.show { opacity: 1; }

    /* Testimonial layout tweaks */
    .testimonial img { max-width: 150px; margin-bottom: 1rem; }
    blockquote { font-size: 1.05rem; font-style: italic; }
    blockquote-footer { font-size: 0.85rem; color: #a67c00; }

    /* Mobile-friendly */
    @media (max-width: 767px) {
      .testimonial { flex-direction: column !important; }
    }

a {
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: #ffd700;
  text-decoration: underline;
}

footer { 
  background: #f8f9fa; 
  padding: 20px 0; 
  font-size: 0.85rem;
  color: #555;
}

/* =========================
   SECTIONS
========================= */
.section { 
  padding: 100px 0; 
}

.section.bg-white {
  background-color: #ffffff;
}

.section.bg-light {
  background-color: #fff9f0; /* soft cream for alternating sections */
}

.section-title { 
  margin-bottom: 40px; 
  font-weight: 700; 
  font-size: 2rem;
  color: #a67c00; /* bronze heading */
  text-transform: capitalize;
  letter-spacing: 0.5px;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  background-color: #a67c00; /* dark gold / bronze */
}

.navbar .navbar-brand img {
  height: 40px;
}

.navbar .nav-link {
  color: #fff;
  font-weight: 600;
  margin-right: 1rem;
}

.navbar .nav-link:hover {
  color: #ffd700 !important;
}

.navbar .btn-outline-light {
  border-color: #ffd700;
  color: #ffd700;
  font-weight: 600;
}

.navbar .btn-outline-light:hover {
  background-color: #ffd700;
  color: #1a1a1a;
  border-color: #bfa052;
}

/* =========================
   HERO
========================= */
.hero { 
  background: linear-gradient(135deg, #bfa052, #3B71CA); 
  color: #1a1a1a; 
  padding: 80px 0; 
  text-align: center;
}

.hero h1, 
.hero h2, 
.hero h3 {
  font-weight: 700;
}

.hero .lead {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* =========================
   BUTTONS
========================= */
.btn-primary {
  background-color: #ffd700;
  border-color: #bfa052;
  color: #1a1a1a;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: #bfa052;
  border-color: #ffd700;
  color: #fff;
}

.btn-outline-secondary {
  border: 2px solid #a67c00;
  color: #a67c00;
}

.btn-outline-secondary:hover {
  background-color: #ffd700;
  color: #1a1a1a;
}

/* =========================
   CARDS
========================= */
.card {
  background-color: #fff; /* white card surface for contrast */
  color: #1a1a1a;
  border: 1px solid #e0d7a3; 
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.card h5 {
  font-weight: 700;
}

.card p {
  font-size: 0.95rem;
  color: #333;
}

.card-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.25);
  border-color: #ffd700;
}

/* =========================
   COMMUNITY CARDS
========================= */
#community-cards .card {
  cursor: pointer;
}

#community-cards .row {
  gap: 2rem;
}

/* =========================
   PARTNERS
========================= */
#partners .partner-logo {
  transition: transform 0.3s, opacity 0.3s;
  max-height: 100px;
}

#partners .partner-logo:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* =========================
   COUNTERS
========================= */
.counter {
  font-size: 2.5rem; 
  font-weight: bold; 
  color: #a67c00;
}

/* =========================
   HERO IMAGE
========================= */
.makeCoverImage { 
  object-fit: cover; 
  height: 390px; 
  width: 100%; 
  border-radius: 0.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* =========================
   LINKS
========================= */
a {
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: #ffd700;
  text-decoration: underline;
}
