/* Common styles for all pages (partners, news, events, publications, community) */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; color: #1a1a2e; background: #f9f9fb; overflow-y: scroll; min-height: 100vh; display: flex; flex-direction: column; }

/* SCROLL ANIMATIONS */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* NAV */
nav { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 4rem; background: #000; position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
a.nav-logo { display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; }
a.nav-logo img { height: 40px; width: auto; object-fit: contain; display: block; }
nav ul { list-style: none; display: flex; gap: 2rem; }
nav ul li a { text-decoration: none; color: rgba(255,255,255,0.85); font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
nav ul li a:hover, nav ul li a.active { color: #1a8cff; }
.nav-cta { background: #1a8cff; color: #fff !important; padding: 0.5rem 1.2rem; border-radius: 6px; }
.nav-cta:hover { background: #0a6cd4 !important; }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }

/* MOBILE MENU */
.mobile-menu { display: none; flex-direction: column; background: #000; position: fixed; top: 60px; left: 0; right: 0; padding: 1.5rem 2rem; z-index: 99; gap: 1rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 1rem; font-weight: 500; padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); transition: color 0.2s; }
.mobile-menu a:hover { color: #1a8cff; }
.mobile-menu .nav-cta { background: #1a8cff; color: #fff; padding: 0.6rem 1.2rem; border-radius: 6px; text-align: center; border-bottom: none; }

/* PAGE HERO */
.page-hero { background: linear-gradient(135deg, #0a3d6b 0%, #1a8cff 100%); color: #fff; padding: 8rem 4rem 4rem; text-align: center; }
.page-hero h1 { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; opacity: 0.9; max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* PAGE CONTENT */
.page-content { max-width: 1100px; margin: 0 auto; padding: 5rem 4rem; flex: 1; width: 100%; }

/* SECTION LABELS & TITLES */
.section-label { font-size: 0.8rem; font-weight: 700; color: #1a8cff; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.6rem; }
.section-title { font-size: 2rem; font-weight: 800; color: #0a3d6b; margin-bottom: 2rem; line-height: 1.2; }

/* BUTTONS */
.btn-white { background: #fff; color: #0a3d6b; padding: 0.85rem 2rem; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 1rem; transition: background 0.2s, transform 0.2s; display: inline-block; }
.btn-white:hover { background: #e8f2ff; transform: translateY(-2px); }

/* FOOTER */
footer { background: #0a1628; color: #fff; padding: 3rem 4rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; max-width: 1100px; margin: 0 auto 2rem; }
a.footer-logo { display: inline-block; margin-bottom: 0.8rem; text-decoration: none; }
a.footer-logo img { height: 36px; width: auto; object-fit: contain; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; color: #fff; opacity: 0.85; margin-top: 0.5rem; }
footer h4 { color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.5rem; }
footer ul li a { color: #fff; opacity: 0.85; text-decoration: none; font-size: 0.88rem; transition: opacity 0.2s; }
footer ul li a:hover { opacity: 1; }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; color: #fff; transition: background 0.2s, color 0.2s; text-decoration: none; }
.footer-social a:hover { background: #1a8cff; color: #fff; }
.footer-bottom { border-top: 1px solid #1e2d42; padding-top: 1.5rem; text-align: center; font-size: 0.82rem; color: #fff; opacity: 0.85; max-width: 1100px; margin: 0 auto; }
