* { box-sizing: border-box; }
body {
  font-family: 'Poppins', Arial, sans-serif;
  color: #333;
  margin: 0;
  overflow-x: hidden;
}
h1, h2, h3, h4, .brand-text { font-family: 'Playfair Display', serif; }

a { color: var(--primary); }
a:hover { color: var(--secondary); }

/* Top contact bar */
.top-bar { background: var(--dark); color: #ddd; font-size: .82rem; padding: 8px 0; }
.top-bar a { color: #ddd; text-decoration: none; }
.social-icons a { color: #ddd; margin-left: 10px; text-decoration: none; }
.social-icons a:hover { color: var(--secondary); }

/* Header */
.main-header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 200; }
.navbar-brand img { max-height: 56px; }
.brand-text { font-weight: 700; color: var(--primary); font-size: 1.4rem; }
.nav-link { font-weight: 500; color: #333 !important; padding: 8px 14px !important; }
.nav-link:hover { color: var(--primary) !important; }
.btn-brand-outline { border: 2px solid var(--primary); color: var(--primary); border-radius: 30px; padding: 6px 20px; font-weight: 600; text-decoration:none; }
.btn-brand-outline:hover { background: var(--primary); color: #fff; }

.btn-brand { background: var(--primary); border-color: var(--primary); color: #fff; border-radius: 30px; padding: 10px 26px; font-weight: 600; }
.btn-brand:hover { background: var(--secondary); border-color: var(--secondary); color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 90px 0;
  text-align: center;
  position: relative;
}
.hero h1 { font-size: 2.6rem; font-weight: 700; }
.hero .accent { color: var(--secondary); }
.hero p.lead { max-width: 700px; margin: 20px auto 30px; opacity: .9; }

.page-hero {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  color: #fff; padding: 60px 0; text-align: center;
}

/* Section titles */
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-weight: 700; color: var(--dark); }
.section-title .divider { width: 70px; height: 3px; background: var(--secondary); margin: 14px auto; }

/* Project / feature cards */
.feature-card {
  border: 1px solid #eee; border-radius: 12px; padding: 30px; height: 100%;
  transition: .25s ease; background: #fff;
}
.feature-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.08); transform: translateY(-4px); }
.feature-card i.icon { font-size: 2.2rem; color: var(--primary); margin-bottom: 16px; }
.feature-card h3 { font-size: 1.2rem; }
.feature-card a.read-more { font-weight: 600; text-decoration: none; color: var(--primary); }

/* Message blocks (patron/ambassador style) */
.message-block { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 40px; }
.message-block img { width: 130px; height: 130px; object-fit: cover; border-radius: 50%; border: 4px solid var(--secondary); flex-shrink: 0; }
.message-block h5 { color: var(--primary); text-transform: uppercase; letter-spacing: .5px; }

/* Cards - posts / galleries */
.content-card { border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); background:#fff; height: 100%; }
.content-card img { width: 100%; height: 200px; object-fit: cover; }
.content-card .body { padding: 20px; }
.content-card .meta { font-size: .78rem; color: #999; text-transform: uppercase; letter-spacing: .5px; }

/* Gallery grid */
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; cursor: pointer; transition: .2s; }
.gallery-grid img:hover { opacity: .85; }

/* Footer */
.main-footer { background: var(--dark); color: #ccc; }
.footer-logo { max-height: 60px; filter: brightness(0) invert(1); }
.text-secondary-accent { color: var(--secondary) !important; }
.main-footer a { color: #ccc; text-decoration: none; }
.main-footer a:hover { color: var(--secondary); }
.footer-bottom { background: rgba(0,0,0,.25); font-size: .85rem; }

/* Forms */
.dynamic-form .form-control, .dynamic-form .form-select { border-radius: 8px; padding: 10px 14px; }
.dynamic-form label { font-weight: 500; margin-bottom: 6px; }

@media (max-width: 767px) {
  .hero { padding: 60px 0; }
  .hero h1 { font-size: 1.9rem; }
  .message-block { flex-direction: column; text-align: center; }
  .message-block img { margin: 0 auto; }
}
