/*
Theme Name: HDF Enterprise Theme
Theme URI: https://hdfbd.com
Author: HDF Tech Team
Description: Official professional institutional theme for Human Development Foundation Bangladesh based on legacy design frameworks.
Version: 15.0.0
Text Domain: hdf-wordpress-theme
*/

:root {
    --primary: #0b2545;
    --primary-light: #134074;
    --secondary: #c59b27;
    --accent: #e2bc43;
    --dark: #1d2d44;
    --muted: #555555;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--dark); background-color: var(--white); line-height: 1.8; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
a { color: var(--primary); text-decoration: none; transition: 0.2s ease; }
a:hover { color: var(--secondary); text-decoration: none; }

/* Top Bar */
.top-bar { background: #07192e; color: #cbd5e1; padding: 0.75rem 0; font-size: 0.9rem; border-bottom: 3px solid var(--secondary); }
.top-container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.top-contact { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.top-contact li { display: flex; align-items: center; gap: 0.5rem; }
.top-contact a { color: #cbd5e1; font-weight: 600; }
.top-contact a:hover { color: var(--secondary); }
.top-ticker { background: rgba(197, 155, 39, 0.15); color: var(--secondary); padding: 0.2rem 1rem; border-radius: 4px; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

/* Main Header */
.main-header { background: var(--white); box-shadow: 0 4px 20px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.header-wrap { max-width: 1300px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.site-logo span { font-weight: 800; font-size: 1.25rem; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; }

.nav-menu { list-style: none; display: flex; gap: 1.75rem; align-items: center; margin: 0; padding: 0; }
.nav-menu li { position: relative; }
.nav-menu a { font-weight: 600; color: var(--dark); font-size: 0.96rem; padding: 0.5rem 0; display: block; }
.nav-menu a:hover { color: var(--secondary); }

/* Hero */
.hero {
    background: linear-gradient(135deg, rgba(11, 37, 69, 0.94), rgba(19, 64, 116, 0.90)), center/cover no-repeat;
    color: var(--white);
    padding: 8.5rem 2rem 7.5rem;
    text-align: center;
}
.hero-inner { max-width: 900px; margin: 0 auto; }
.hero-badge { display: inline-block; background-color: rgba(197, 155, 39, 0.25); color: var(--secondary); border: 1px solid var(--secondary); padding: 0.4rem 1.25rem; border-radius: 50px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 1.5rem; }
.hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.2; }
.hero p { font-size: 1.25rem; opacity: 0.92; margin-bottom: 2.5rem; line-height: 1.8; }
.btn-primary { background-color: var(--secondary); color: var(--primary); padding: 0.9rem 2.5rem; border-radius: 6px; font-weight: 700; font-size: 1.05rem; display: inline-block; box-shadow: 0 4px 15px rgba(197, 155, 39, 0.3); }
.btn-primary:hover { background-color: #d4a729; color: var(--primary); }

/* Page Header */
.page-header-banner { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); padding: 5rem 2rem; text-align: center; }
.page-header-banner h1 { font-size: 3rem; font-weight: 800; margin-bottom: 0.5rem; }
.breadcrumb-menu { list-style: none; display: flex; gap: 0.5rem; align-items: center; margin-bottom: 2.5rem; padding: 0; font-size: 0.95rem; font-weight: 600; }
.breadcrumb-menu li a { color: var(--muted); }
.breadcrumb-menu li a.active { color: var(--primary); }

/* Containers */
.container { max-width: 1300px; margin: 0 auto; padding: 6rem 2rem; }
.container-alt { background-color: var(--light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.content-area { max-width: 1100px; margin: 0 auto; padding: 6rem 2rem; }

/* Grids & Cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2.5rem; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform 0.3s ease; }
.card:hover { transform: translateY(-6px); }
.card-body { padding: 2.25rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { color: var(--primary); font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.card-body p { color: var(--muted); flex: 1; margin-bottom: 1.5rem; font-size: 1.05rem; }
.notice-card { border-top: 4px solid var(--secondary); }
.notice-date { font-size: 0.85rem; color: var(--secondary); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.75rem; display: block; }
.read-more { font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 0.4rem; }
.read-more:hover { color: var(--secondary); }

/* Member & Staff */
.member-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 2.5rem; margin-bottom: 2rem; box-shadow: var(--shadow); }
.member-card h3 { color: var(--primary); font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; }
.member-card p { color: var(--muted); font-size: 1.05rem; }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.staff-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 2.5rem 1.5rem; text-align: center; box-shadow: var(--shadow); }
.staff-card h4 { color: var(--primary); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.3rem; }
.staff-card h5 { color: var(--secondary); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

/* Footer */
.site-footer { background: var(--primary); color: var(--white); padding: 5rem 2rem 2.5rem; border-top: 5px solid var(--secondary); margin-top: auto; }
.footer-wrap { max-width: 1300px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 3rem; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 3.5rem; margin-bottom: 2.5rem; }
.footer-info h5 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; color: var(--white); }
.footer-info p { opacity: 0.85; font-size: 1.05rem; max-width: 450px; line-height: 1.7; }
.footer-social { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; justify-content: center; }
.footer-social a { width: 45px; height: 45px; background: rgba(255,255,255,0.1); color: var(--white); display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: 0.2s; }
.footer-social a:hover { background: var(--secondary); color: var(--primary); }
.footer-bottom { text-align: center; font-size: 0.95rem; opacity: 0.75; }

@media (max-width: 768px) {
    .header-wrap { flex-direction: column; gap: 1rem; }
    .nav-menu { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
    .hero h1 { font-size: 2.5rem; }
    .footer-wrap { flex-direction: column; text-align: center; align-items: center; }
}
