:root {
  --blue: #0A2E5C; /* Deep CAC Blue */
  --gold: #D4AF37; /* Gold Accent */
  --white: #ffffff;
  --light: #F5F7FA;
  --text: #333333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; color: var(--text); line-height: 1.7; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--blue); }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
ul { list-style: none; }
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag { color: var(--gold); font-weight: 600; text-transform: uppercase; font-size: 14px; }

/* Buttons */
.btn-primary { background: var(--gold); color: var(--white); padding: 12px 25px; border-radius: 50px; text-decoration: none; font-weight: 600; transition: 0.3s; display: inline-block; }
.btn-primary:hover { background: var(--blue); }
.btn-secondary { background: var(--blue); color: var(--white); padding: 12px 25px; border-radius: 50px; text-decoration: none; font-weight: 600; }
.btn-outline { border: 2px solid var(--white); color: var(--white); padding: 10px 20px; border-radius: 50px; text-decoration: none; font-weight: 600; }
.btn-outline:hover { background: var(--white); color: var(--blue); }

/* Top Bar */
.top-bar { background: var(--blue); color: var(--white); font-size: 14px; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; flex-wrap: wrap; }

/* Header */
header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 50px; height: 50px; object-fit: contain; }
.logo h2 { font-size: 18px; color: var(--blue); }
.logo span { font-size: 12px; color: var(--gold); }
.nav-menu { display: flex; gap: 30px; }
.nav-menu a { text-decoration: none; color: var(--blue); font-weight: 500; }
.nav-menu a.active, .nav-menu a:hover { color: var(--gold); }
.menu-btn { display: none; font-size: 24px; background: none; border: none; color: var(--blue); cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(rgba(10,46,92,0.8), rgba(10,46,92,0.8)), url('../images/church-building.jpg') center/cover; color: var(--white); text-align: center; padding: 160px 20px; }
.hero h1 { font-size: 52px; color: var(--white); }
.hero .slogan { color: var(--gold); font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.hero-text { max-width: 700px; margin: 20px auto; font-size: 18px; }
.hero-btns { display: flex; gap: 15px; justify-content: center; margin-top: 30px; }

/* Service Bar */
.service-bar { background: var(--gold); padding: 30px 0; }
.service-bar .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.service-item { display: flex; gap: 15px; align-items: center; color: var(--blue); }
.service-item i { font-size: 32px; }

/* Welcome */
.welcome { background: var(--light); }
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.welcome img { width: 100%; border-radius: 10px; }

/* Ministries */
.ministry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.ministry-card { background: var(--white); padding: 30px; text-align: center; border-radius: 10px; border-top: 4px solid var(--gold); box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.ministry-card i { font-size: 40px; color: var(--blue); margin-bottom: 15px; }

/* Events */
.event-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.event-card { display: flex; gap: 20px; background: var(--white); padding: 20px; border-left: 5px solid var(--gold); box-shadow: 0 2px 10px rgba(0,0,0,0.1); border-radius: 5px; }
.event-date { background: var(--blue); color: var(--white); padding: 10px 15px; text-align: center; border-radius: 5px; min-width: 70px; }
.event-date span { font-size: 18px; font-weight: 700; }

/* Giving */
.giving { background: var(--blue); color: var(--white); text-align: center; }
.giving h2 { color: var(--gold); }
.bank-details { background: rgba(255,255,255,0.1); padding: 20px; border-radius: 10px; margin: 20px auto; max-width: 400px; }

/* Footer */
footer { background: var(--blue); color: var(--white); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
footer h3 { color: var(--gold); margin-bottom: 15px; }
footer a { color: var(--white); text-decoration: none; }
footer a:hover { color: var(--gold); }
.socials a { font-size: 20px; margin-right: 10px; }
.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 20px; }

/* WhatsApp */
.whatsapp { position: fixed; bottom: 20px; right: 20px; background: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; text-decoration: none; z-index: 99; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }

/* Responsive */
@media(max-width: 992px) {
  .ministry-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 768px) {
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: var(--white); padding: 20px; }
  .menu-btn { display: block; }
  .welcome-grid, .footer-grid, .event-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .service-bar .container { flex-direction: column; align-items: center; }
}

/* Page Header */
.page-header { background: linear-gradient(rgba(10,46,92,0.85), rgba(10,46,92,0.85)), url('../images/church-building.jpg') center/cover; color: var(--white); text-align: center; padding: 100px 20px; }
.page-header h1 { color: var(--white); font-size: 48px; }
.page-header p { color: var(--gold); font-size: 18px; }

/* General */
.light-bg { background: var(--light); }
.reverse { direction: rtl; }
.reverse > * { direction: ltr; }
.leader-img img { width: 100%; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.quote { font-style: italic; color: var(--gold); font-size: 18px; margin-top: 20px; border-left: 3px solid var(--gold); padding-left: 15px; }
.tags { display: flex; gap: 10px; margin-top: 15px; flex-wrap: wrap; }
.tags span { background: var(--gold); color: var(--white); padding: 5px 15px; border-radius: 20px; font-size: 14px; font-weight: 500; }

/* Founder */
.founder { background: var(--white); }
.founder-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; align-items: center; }
.founder-img img { width: 100%; border-radius: 15px; border: 5px solid var(--gold); }
.founder-img p { text-align: center; margin-top: 10px; color: var(--blue); }
.legacy-badge { display: flex; align-items: center; gap: 10px; background: var(--light); padding: 15px; border-radius: 10px; margin-top: 20px; border-left: 4px solid var(--gold); }
.legacy-badge i { color: var(--gold); font-size: 24px; }

/* Tenets */
.tenets { background: var(--light); }
.tenets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.tenet-card { background: var(--white); padding: 25px; border-radius: 10px; display: flex; gap: 15px; align-items: flex-start; border-left: 5px solid var(--gold); box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: 0.3s; }
.tenet-card:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.tenet-card span { font-size: 32px; font-weight: 700; color: var(--gold); font-family: 'Playfair Display', serif; }
.tenet-card i { color: var(--blue); font-style: normal; font-size: 13px; }

/* Rules Section */
.rules { background: var(--blue); color: var(--white); }
.rules h2 { color: var(--gold); }
.rules .section-header p { color: rgba(255,255,255,0.8); margin-top: 10px; }
.rules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.rule-item { display: flex; gap: 20px; align-items: flex-start; background: rgba(255,255,255,0.05); padding: 25px; border-radius: 10px; border-left: 4px solid var(--gold); transition: 0.3s; }
.rule-item:hover { background: rgba(255,255,255,0.1); transform: translateX(5px); }
.rule-item span { font-size: 28px; font-weight: 700; color: var(--gold); font-family: 'Playfair Display', serif; min-width: 45px; }
.rule-item i { color: var(--gold); font-style: normal; font-size: 13px; }

/* VMV + Structure */
.vmv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.vmv-card { background: var(--white); padding: 30px; text-align: center; border-radius: 10px; border-top: 4px solid var(--gold); }
.vmv-card i { font-size: 40px; color: var(--blue); margin-bottom: 15px; }
.structure { background: var(--white); }
.structure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.structure-grid div { background: var(--light); padding: 20px; border-radius: 10px; }
.structure-grid h4 { color: var(--gold); margin-bottom: 5px; }

@media(max-width: 992px) {
  .tenets-grid { grid-template-columns: 1fr 1fr; }
  .vmv-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 768px) {
  .founder-grid, .tenets-grid, .rules-grid, .vmv-grid, .structure-grid { grid-template-columns: 1fr; }
  .reverse { direction: ltr; }
}

/* Services Page */
.services { background: var(--light); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.service-card { background: var(--white); padding: 40px; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); border-top: 5px solid var(--gold); }
.service-icon { width: 70px; height: 70px; background: var(--blue); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; margin-bottom: 20px; }
.service-card h3 { color: var(--blue); margin-bottom: 20px; }
.service-list { list-style: none; }
.service-list li { display: grid; grid-template-columns: 120px 1fr 120px; gap: 15px; padding: 15px 0; border-bottom: 1px solid #eee; align-items: center; }
.service-list li:last-child { border-bottom: none; }
.service-list .day { font-weight: 700; color: var(--gold); }
.service-list .program { font-weight: 500; }
.service-list .time { color: var(--blue); font-weight: 600; text-align: right; }
.note { display: flex; gap: 10px; align-items: center; margin-top: 20px; background: var(--light); padding: 15px; border-radius: 10px; color: var(--blue); }
.note i { color: var(--gold); font-size: 20px; }

/* Map */
.map-section { background: var(--white); }
.map-wrapper { border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); margin-bottom: 30px; }
.location-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.location-info div { display: flex; gap: 15px; align-items: flex-start; }
.location-info i { font-size: 28px; color: var(--gold); }
.location-info p { margin: 0; }

/* CTA */
.cta { background: linear-gradient(rgba(10,46,92,0.9), rgba(10,46,92,0.9)), url('../images/church-bg.jpg') center/cover; color: var(--white); text-align: center; padding: 80px 20px; }
.cta h2 { color: var(--white); font-size: 36px; }
.cta p { color: rgba(255,255,255,0.9); margin: 15px 0 30px; }

@media(max-width: 992px) {
  .services-grid, .location-info { grid-template-columns: 1fr; }
}
@media(max-width: 768px) {
  .service-list li { grid-template-columns: 1fr; text-align: left; }
  .service-list .time { text-align: left; }
}

/* Contact Page */
.contact { background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card { background: var(--white); padding: 40px; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
.prayer-card { border-top: 5px solid var(--gold); }
.contact-card h3 { color: var(--blue); margin-bottom: 10px; }
.contact-card p { margin-bottom: 20px; color: #666; }
.contact-card input, .contact-card select, .contact-card textarea { width: 100%; padding: 12px 15px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 8px; font-family: 'Poppins'; }
.contact-card button { width: 100%; }

/* Giving */
.give { background: var(--white); }
.give-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; align-items: start; }
.give-info h3 { color: var(--blue); }
.account-details { background: var(--light); padding: 20px; border-radius: 10px; margin-top: 20px; border-left: 4px solid var(--gold); }
.give-card { background: var(--blue); color: var(--white); padding: 30px; text-align: center; border-radius: 15px; }
.give-card i { font-size: 40px; color: var(--gold); margin-bottom: 10px; }
.give-card h4 { color: var(--white); }

.btn-secondary { background: var(--blue); color: var(--white); padding: 12px 30px; border-radius: 8px; border: none; font-weight: 600; cursor: pointer; }

@media(max-width: 992px) {
  .contact-grid, .give-grid { grid-template-columns: 1fr; }
}