@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800;900&display=swap');

/* ===================== BHC GLOBAL STYLES ===================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Open Sans', Arial, sans-serif; color: #2d2d2d; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

:root {
  --blue: #1E8AD2;
  --blue-dark: #1565C0;
  --blue-light: #E3F2FD;
  --orange: #FF8C00;
  --text: #2d2d2d;
  --muted: #777;
  --light: #f5f7fa;
  --white: #ffffff;
}

/* ---- NAVBAR ---- */
.navbar { background: var(--white); border-bottom: 1px solid #e8e8e8; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.nav-inner { position: relative; }
.nav-inner { max-width: 1440px; margin: 0 auto; padding: 0 40px; height: 84px; display: flex; align-items: center; justify-content: space-between; }
.nav-center { display: flex; align-items: center; gap: 4px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo .logo-circle { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); display: flex; align-items: center; justify-content: center; color: white; font-weight: 900; font-size: 16px; letter-spacing: -1px; }
.nav-logo .logo-text { font-size: 15px; font-weight: 800; color: var(--text); line-height: 1.2; }
.nav-logo .logo-text span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 6px; flex: 1; justify-content: center; }
.nav-center a { padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--muted); transition: all 0.15s; }
.nav-center a:hover { background: var(--blue-light); color: var(--blue); }
.nav-center a.active { color: var(--blue); font-weight: 800; }
.nav-links a { padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--muted); transition: all 0.15s; }
.nav-links a:hover { background: var(--blue-light); color: var(--blue); }
.nav-links a.active { color: var(--blue); font-weight: 800; }
.nav-links .nav-portal, .nav-right .nav-portal { background: var(--blue); color: white; border-radius: 8px; padding: 8px 18px; font-weight: 700; }
.nav-links .nav-portal:hover, .nav-right .nav-portal:hover { background: var(--blue-dark); color: white; }
.nav-links .nav-donate, .nav-right .nav-donate { background: var(--orange); color: white; border-radius: 8px; padding: 8px 18px; font-weight: 700; }
.nav-links .nav-donate:hover, .nav-right .nav-donate:hover { opacity: 0.9; color: white; }
.hamburger { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text); }
.mobile-menu { display: none; background: white; border-top: 1px solid #eee; padding: 16px 24px; flex-direction: column; gap: 4px; }
.mobile-menu a { padding: 10px 14px; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--muted); display: block; }
.mobile-menu a:hover { background: var(--blue-light); color: var(--blue); }
.mobile-menu.open { display: flex; }

/* ---- FOOTER ---- */
.footer { background: #1a1a2e; color: #ccc; padding: 50px 24px 24px; }
.footer-inner { max-width: 1440px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-text { font-size: 18px; font-weight: 800; color: white; margin-bottom: 12px; }
.footer-brand .logo-text span { color: var(--blue); }
.footer-brand p { font-size: 13px; line-height: 1.7; color: #aaa; }
.footer-col h4 { font-size: 13px; font-weight: 800; color: white; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: #aaa; margin-bottom: 8px; transition: color 0.15s; }
.footer-col a:hover { color: var(--blue); }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: background 0.15s; }
.social-links a:hover { background: var(--blue); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #666; }

/* ---- NEWSLETTER ---- */
.newsletter { background: url('newsletter_bg.jpg') left center / cover no-repeat; padding: 70px 24px; position: relative; }
.newsletter::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(21,101,192,0.25) 0%, rgba(21,101,192,0.82) 45%, rgba(21,101,192,0.95) 100%); }
.nl-inner { position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; display: flex; justify-content: flex-end; }
.nl-panel { width: 100%; max-width: 520px; }
.newsletter h2 { font-size: 28px; font-weight: 900; color: white; margin-bottom: 10px; }
.newsletter p { font-size: 15px; color: rgba(255,255,255,0.85); margin-bottom: 24px; }
.newsletter-form { width: 100%; }
.nl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.nl-row-full { margin-bottom: 10px; }
.newsletter-form input { width: 100%; padding: 13px 18px; border: none; border-radius: 9px; font-size: 14px; outline: none; box-sizing: border-box; }
.newsletter-form button { width: 100%; padding: 13px 24px; background: var(--orange); color: white; border: none; border-radius: 9px; font-size: 15px; font-weight: 800; cursor: pointer; margin-top: 4px; }
.newsletter-form button:hover { opacity: 0.9; }
.nl-consent { display: flex; align-items: flex-start; gap: 10px; background: rgba(255,255,255,0.12); border-radius: 9px; padding: 12px 14px; margin-bottom: 12px; text-align: left; }
.nl-consent input[type=checkbox] { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; accent-color: var(--orange); cursor: pointer; }
.nl-consent label { font-size: 12px; color: rgba(255,255,255,0.85); line-height: 1.5; cursor: pointer; }
.nl-consent label strong { color: white; }
.newsletter-success { color: white; font-size: 15px; font-weight: 700; display: none; }


/* ---- MEGA MENU ---- */
.nav-item-mega { position: relative; }
.nav-item-mega > a { display: flex; align-items: center; gap: 4px; }
.nav-item-mega > a { cursor: pointer; }
.nav-item-mega > a::after { content: '▾'; font-size: 16px; margin-left: 4px; transition: transform 0.2s; }
.nav-item-mega.open > a::after { transform: rotate(180deg); }

.mega-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.14);
  border: 1px solid #f0f0f0;
  overflow: hidden;
  z-index: 2000;
}
.nav-item-mega.open .mega-menu { display: flex; }

.mega-left {
  flex: 1;
  padding: 28px 24px;
}
.mega-left .mega-heading {
  font-size: 11px; font-weight: 800; color: #aaa;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.mega-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 14px; border-radius: 10px;
  text-decoration: none; transition: background 0.15s;
  margin-bottom: 4px;
}
.mega-item:hover { background: #F0F7FF; }
.mega-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.mega-item:hover .mega-icon { background: var(--blue); }
.mega-item-text .mega-item-title {
  font-size: 14px; font-weight: 800; color: #2d2d2d; margin-bottom: 2px;
}
.mega-item:hover .mega-item-title { color: var(--blue); }
.mega-item-text .mega-item-desc {
  font-size: 12px; color: #aaa; line-height: 1.4;
}

.mega-right {
  width: 220px; flex-shrink: 0;
  background: linear-gradient(160deg, #1565C0, #1E8AD2);
  padding: 28px 24px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.mega-right-title {
  font-size: 16px; font-weight: 900; color: white; margin-bottom: 8px;
}
.mega-right-sub {
  font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: 20px;
}
.mega-right img {
  width: 100%; border-radius: 10px; margin-bottom: 16px;
  object-fit: cover; height: 100px;
}
.mega-cta {
  display: inline-block; background: var(--orange); color: white;
  padding: 10px 18px; border-radius: 8px; font-size: 13px;
  font-weight: 800; text-decoration: none; text-align: center;
}
.mega-cta:hover { opacity: 0.9; }

/* Arrow pointer */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -7px; left: 50%; transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid white;
}

/* ---- BUTTONS ---- */
.btn-blue { display: inline-block; padding: 13px 28px; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: white; border-radius: 10px; font-weight: 800; font-size: 15px; transition: opacity 0.15s; border: none; cursor: pointer; }
.btn-blue:hover { opacity: 0.9; color: white; }
.btn-outline { display: inline-block; padding: 13px 28px; border: 2px solid var(--blue); color: var(--blue); border-radius: 10px; font-weight: 800; font-size: 15px; transition: all 0.15s; }
.btn-outline:hover { background: var(--blue); color: white; }
.btn-orange { display: inline-block; padding: 13px 28px; background: var(--orange); color: white; border-radius: 10px; font-weight: 800; font-size: 15px; transition: opacity 0.15s; border: none; cursor: pointer; }
.btn-orange:hover { opacity: 0.9; color: white; }

/* ---- SECTIONS ---- */
.section { padding: 80px 24px; }
.section-inner { max-width: 1440px; margin: 0 auto; }
.section-tag { font-size: 11px; font-weight: 800; letter-spacing: 3px; color: var(--blue); text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-size: 36px; font-weight: 800; color: var(--text); margin-bottom: 14px; line-height: 1.2; }
.section-sub { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 600px; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ---- CARDS ---- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.bhc-card { background: white; border-radius: 16px; padding: 28px; box-shadow: 0 4px 20px rgba(0,0,0,0.07); border: 1px solid #f0f0f0; transition: transform 0.2s, box-shadow 0.2s; }
.bhc-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.bhc-card .card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }
.bhc-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.bhc-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---- FORM ---- */
.form-group { margin-bottom: 16px; }
.form-group label { font-size: 12px; font-weight: 700; color: #888; display: block; margin-bottom: 5px; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #e8e8e8; border-radius: 9px; font-size: 14px; font-family: inherit; outline: none; transition: border 0.2s; background: #fafafa; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); background: white; }
.form-group textarea { height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-center { display: none; }
  .nav-right { display: none; }
  .hamburger { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .nl-panel { max-width: 100%; }
  .nl-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
