/* ===== NEW HEADER & FOOTER STYLES (Institute of Arusha style) ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif; background: #f4f7f9; color: #2c3e2f; line-height: 1.5; }
.main-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.main-content { flex: 1; padding: 40px 0; background: #f4f7f9; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.top-bar { background: #004d40; color: white; padding: 8px 0; font-size: 14px; }
.top-bar .container { display: flex; justify-content: space-between; flex-wrap: wrap; }
.top-bar .contact-info span { margin-right: 20px; }
.top-bar .contact-info i, .footer-widget i { margin-right: 6px; }
.top-bar .social-links a { color: white; margin-left: 15px; transition: 0.3s; }
.top-bar .social-links a:hover { color: #ffc107; }

/* Main Header */
.main-header { background: white; box-shadow: 0 4px 12px rgba(0,0,0,0.05); border-bottom: 3px solid #00695c; position: sticky; top: 0; z-index: 1000; }
.main-header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 15px 20px; }
.logo-area { display: flex; align-items: center; gap: 15px; }
.logo img { width: 70px; height: 70px; object-fit: contain; }
.institution-name h1 { font-size: 1.5rem; color: #004d40; margin: 0; line-height: 1.2; }
.tagline { font-size: 0.85rem; color: #00695c; margin-top: 4px; }
.main-nav ul { display: flex; list-style: none; gap: 25px; margin: 0; }
.main-nav ul li a { text-decoration: none; color: #2c3e2f; font-weight: 600; transition: 0.3s; font-size: 1rem; }
.main-nav ul li a:hover { color: #00695c; border-bottom: 2px solid #00695c; padding-bottom: 5px; }
.mobile-menu-toggle { display: none; font-size: 26px; cursor: pointer; color: #004d40; }

/* Breadcrumb */
.breadcrumb { background: #e9ecef; padding: 12px 0; font-size: 14px; }
.breadcrumb a { color: #00695c; text-decoration: none; }

/* Footer */
.main-footer { background: #1a2b2a; color: #ddd; padding-top: 40px; margin-top: 40px; }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; padding: 20px 0 30px; }
.footer-widget h3 { color: white; margin-bottom: 20px; font-size: 1.2rem; border-left: 4px solid #00695c; padding-left: 12px; }
.footer-widget ul { list-style: none; }
.footer-widget ul li { margin-bottom: 10px; }
.footer-widget ul li a { color: #bbb; text-decoration: none; transition: 0.3s; }
.footer-widget ul li a:hover { color: #ffc107; padding-left: 5px; }
.footer-widget p { margin-bottom: 10px; line-height: 1.6; }
.footer-bottom { border-top: 1px solid #2c4a48; text-align: center; padding: 20px; font-size: 14px; background: #112120; }
.footer-bottom a { color: #ffc107; text-decoration: none; }

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    .main-nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); z-index: 999; }
    .main-nav ul.show { display: flex; }
    .main-nav ul li { margin: 10px 0; }
    .logo-area { flex-direction: column; text-align: center; }
    .institution-name h1 { font-size: 1.2rem; }
    .top-bar .container { flex-direction: column; text-align: center; gap: 8px; }
    .footer-widgets { grid-template-columns: 1fr; }
}
