:root {
    --navy: #0e2a47;
    --steel-blue: #1c4e80;
    --accent: #c0392b;
    --light: #f5f7fa;
    --text: #33404d;
    --border: #e2e7ee;
}
* { box-sizing: border-box; margin:0; padding:0; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); line-height:1.7; }
.container { max-width:1180px; margin:0 auto; padding:0 20px; }
a { text-decoration:none; color:inherit; }
img { max-width:100%; display:block; }
h1,h2,h3,h4 { color: var(--navy); font-weight:700; }

/* Topbar */
.topbar-strip { background: var(--navy); color:#cdd9e5; font-size:13px; padding:8px 0; }
.topbar-inner { display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px; }

/* Header */
.site-header { background:#fff; box-shadow:0 2px 10px rgba(0,0,0,.06); position:sticky; top:0; z-index:100; }
.header-inner { display:flex; align-items:center; justify-content:space-between; padding:14px 20px; }
.brand { display:flex; align-items:center; gap:10px; font-weight:700; color: var(--navy); font-size:17px; }
.brand img { height:42px; }
.main-nav { display:flex; gap:26px; }
.main-nav a { font-weight:600; font-size:14px; color: var(--text); padding:8px 0; border-bottom:2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--steel-blue); border-color: var(--accent); }
.nav-toggle { display:none; background:none; border:none; font-size:22px; cursor:pointer; }

/* Page title / hero banner */
.page-title { background: linear-gradient(rgba(14,42,71,.85), rgba(14,42,71,.85)); background-size:cover; background-position:center; color:#fff; padding:70px 0; text-align:center; }
.page-title h1 { color:#fff; font-size:32px; }
.page-title .crumb { margin-top:8px; font-size:13px; color:#c9d6e3; }
.page-title .crumb a { color:#fff; text-decoration:underline; }

/* Home slider */
.hero-slider { position:relative; height:480px; overflow:hidden; background: var(--navy); }
.hero-slide { position:absolute; inset:0; background-size:cover; background-position:center; opacity:0; transition:opacity 1s ease; }
.hero-slide.active { opacity:1; }
.hero-slide::after { content:''; position:absolute; inset:0; background: linear-gradient(rgba(14,42,71,.55), rgba(14,42,71,.75)); }
.hero-text { position:relative; z-index:2; color:#fff; height:100%; display:flex; flex-direction:column; justify-content:center; max-width:650px; padding:0 20px; margin:0 auto; text-align:center; }
.hero-text h2 { color:#fff; font-size:40px; margin-bottom:12px; }
.hero-text p { font-size:16px; color:#dfe8f1; }

/* Sections */
.section { padding:70px 0; }
.section.alt { background: var(--light); }
.sec-title { text-align:center; max-width:700px; margin:0 auto 40px; }
.sec-title h2 { font-size:28px; margin-bottom:10px; text-transform:uppercase; letter-spacing:1px; }
.sec-title .sep { width:60px; height:3px; background: var(--accent); margin:14px auto; }
.sec-title p { color:#667; }

/* About section */
.about-grid { display:grid; grid-template-columns: 1.2fr 1fr; gap:40px; align-items:center; }
.about-grid img { border-radius:10px; }
.about-grid .strong { font-weight:700; color: var(--navy); margin-bottom:14px; }
.about-grid p { margin-bottom:14px; white-space:pre-line; }

.icon-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:50px; }
.icon-card { background:#fff; border-radius:10px; padding:30px; text-align:center; box-shadow:0 4px 14px rgba(0,0,0,.05); border-top:3px solid var(--accent); }
.icon-card .icon { font-size:34px; margin-bottom:12px; }
.icon-card h3 { font-size:18px; margin-bottom:10px; }

/* Committee / members grid */
.member-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px,1fr)); gap:26px; }
.member-card { background:#fff; border-radius:10px; overflow:hidden; box-shadow:0 4px 14px rgba(0,0,0,.06); text-align:center; }
.member-card .photo { height:220px; background: var(--light); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.member-card .photo img { width:100%; height:100%; object-fit:cover; }
.member-card .photo .placeholder { font-size:60px; color: var(--steel-blue); }
.member-card .info { padding:16px; }
.member-card h3 { font-size:16px; margin-bottom:4px; }
.member-card .desig { color: var(--accent); font-size:13px; font-weight:600; }
.member-card .phone { font-size:13px; color:#777; margin-top:6px; }

.type-heading { margin:50px 0 24px; font-size:22px; text-transform:uppercase; border-left:4px solid var(--accent); padding-left:14px; }
.type-heading:first-of-type { margin-top:0; }

/* Gallery */
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(240px,1fr)); gap:20px; }
.gallery-item { border-radius:10px; overflow:hidden; position:relative; box-shadow:0 4px 14px rgba(0,0,0,.06); }
.gallery-item img { height:200px; width:100%; object-fit:cover; transition:transform .4s; }
.gallery-item:hover img { transform:scale(1.08); }
.gallery-item .cap { padding:10px 14px; background:#fff; font-size:14px; font-weight:600; }

/* Blog */
.blog-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(300px,1fr)); gap:30px; }
.blog-card { background:#fff; border-radius:10px; overflow:hidden; box-shadow:0 4px 14px rgba(0,0,0,.06); }
.blog-card img { height:190px; width:100%; object-fit:cover; }
.blog-card .body { padding:20px; }
.blog-card h3 { font-size:17px; margin-bottom:8px; }
.blog-card .meta { font-size:12px; color:#999; margin-bottom:10px; }
.blog-card .excerpt { font-size:14px; color:#667; margin-bottom:14px; }
.blog-card .read-more { color: var(--accent); font-weight:700; font-size:13px; }

.blog-single img.featured { border-radius:10px; margin-bottom:24px; max-height:420px; width:100%; object-fit:cover; }
.blog-single .meta { color:#999; font-size:13px; margin-bottom:20px; }
.blog-single .content { white-space:pre-line; }

/* Contact */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.contact-info .info-box { display:flex; gap:14px; margin-bottom:26px; }
.contact-info .info-box .icon { font-size:22px; }
.contact-info .info-box h4 { font-size:14px; text-transform:uppercase; margin-bottom:4px; }
.contact-form { background:#fff; padding:30px; border-radius:10px; box-shadow:0 4px 14px rgba(0,0,0,.06); }
.contact-form input, .contact-form textarea { width:100%; padding:12px; margin-bottom:14px; border:1px solid var(--border); border-radius:6px; font-family:inherit; font-size:14px; }
.contact-form button { background: var(--accent); color:#fff; border:none; padding:12px 30px; border-radius:6px; font-weight:700; cursor:pointer; }
.contact-form button:hover { background: var(--navy); }
.map-frame { width:100%; height:320px; border:0; border-radius:10px; margin-top:30px; }

/* Footer */
.site-footer { background: var(--navy); color:#c9d6e3; margin-top:60px; }
.footer-inner { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; padding:50px 20px; }
.footer-logo { height:40px; margin-bottom:12px; filter: brightness(0) invert(1); }
.footer-col h4 { color:#fff; margin-bottom:14px; font-size:15px; }
.footer-col a, .footer-col p { display:block; color:#c9d6e3; font-size:14px; margin-bottom:8px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding:16px 0; text-align:center; font-size:13px; color:#8fa1b3; }

.alert-box { padding:14px 18px; border-radius:6px; margin-bottom:20px; font-size:14px; }
.alert-box.success { background:#e6f7ee; color:#1a7f4e; }
.alert-box.error { background:#fdecea; color:#b03a2e; }

@media (max-width: 860px) {
    .about-grid, .contact-grid, .icon-cards { grid-template-columns:1fr; }
    .footer-inner { grid-template-columns:1fr; }
    .main-nav { position:absolute; top:100%; left:0; right:0; background:#fff; flex-direction:column; padding:10px 20px; display:none; box-shadow:0 6px 14px rgba(0,0,0,.08); }
    .main-nav.open { display:flex; }
    .nav-toggle { display:block; }
}
