/* ============================================================
   style.css – Complete styles for ERA-SS multi-page website
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --era-primary: #C62828;
  --era-primary-dark: #8B0000;
  --era-secondary: #F4A825;
  --era-dark: #1F1F1F;
  --era-light: #F9F9F9;
  --era-white: #FFFFFF;
  --font-primary: 'Archivo', sans-serif;
  --container-max: 1280px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, .10);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, .14);
  --shadow-xl: 0 30px 70px rgba(0, 0, 0, .18);
  --transition: 250ms ease;
  --transition-slow: 400ms ease;
  --text-dark: #1e1e1e;
  --text-muted: #555;
  --border-light: #E0E0E0;
  --border-lighter: #EEEEEE;
  --topbar-height: 48px;
}

/* ---------- Reset & Base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--topbar-height) + 90px);
}
body {
  font-family: var(--font-primary);
  background: var(--era-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  min-width: 320px;
  padding-top: calc(var(--topbar-height) + 80px);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   TOP BAR – BIG, CLEAN, RESPONSIVE
   ============================================================ */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-height);
  background: var(--era-primary);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1002;
  transition: transform 0.35s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.top-bar.hidden {
  transform: translateY(-100%);
}
.top-bar a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 1rem;
}
.top-bar a:hover {
  color: #000;
}
.top-bar .donate-btn {
  background: #fff;
  color: var(--era-primary) !important;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: background 0.25s, transform 0.2s;
}
.top-bar .donate-btn:hover {
  background: #e0e0e0;
  transform: scale(1.04);
}
.top-bar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.top-bar-inner.left {
  gap: 18px;
}
.top-bar-inner.right {
  gap: 18px;
}

/* Top bar nav links (Career, Reports, Team) */
.top-bar .nav-link-top {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 2px 0;
  transition: color 0.2s;
}
.top-bar .nav-link-top i {
  margin-right: 6px;
  font-size: 1.05rem;
}
.top-bar .nav-link-top:hover {
  color: #000;
}
.top-bar .label {
  display: inline;
}

/* Tablet: slightly smaller */
@media (max-width: 820px) {
  .top-bar {
    padding: 0 16px;
    height: 44px;
    font-size: 0.85rem;
  }
  .top-bar a {
    font-size: 0.85rem;
  }
  .top-bar .nav-link-top {
    font-size: 0.82rem;
  }
  .top-bar .nav-link-top i {
    font-size: 0.85rem;
  }
  .top-bar .donate-btn {
    font-size: 0.78rem;
    padding: 4px 12px;
  }
  .top-bar-inner {
    gap: 14px;
  }
  .top-bar-inner.left {
    gap: 12px;
  }
  .top-bar-inner.right {
    gap: 12px;
  }
  .top-bar-inner.left .label {
    display: none; /* hide email/phone text, show only icons */
  }
  .top-bar-inner.left a i {
    font-size: 0.95rem;
  }
}

/* Mobile: Career, Reports, Team spread evenly, email/phone hidden, Donate hidden */
@media (max-width: 520px) {
  .top-bar {
    padding: 0 8px;
    height: 38px;
    font-size: 0.7rem;
  }
  .top-bar-inner.left {
    display: none !important;
  }
  .top-bar-inner.right {
    width: 100%;
    justify-content: space-around;
    gap: 0;
  }
  .top-bar .nav-link-top {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 0;
  }
  .top-bar .nav-link-top i {
    font-size: 0.65rem;
    margin-right: 4px;
  }
  .top-bar .donate-btn {
    display: none !important;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .top-bar .nav-link-top {
    font-size: 0.6rem;
  }
  .top-bar .nav-link-top i {
    font-size: 0.55rem;
    margin-right: 2px;
  }
}

/* ============================================================
   NAVBAR – SOLID WHITE
   ============================================================ */
.navbar {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  height: 80px;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  z-index: 1001;
  transition: top 0.35s ease, box-shadow 0.35s ease;
}
.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
@media (max-width: 768px) {
  .navbar {
    height: 68px;
    top: 0;
  }
  body {
    padding-top: 68px;
  }
}
@media (max-width: 520px) {
  .navbar {
    height: 60px;
  }
  body {
    padding-top: 60px;
  }
}

.navbar .container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
@media (max-width: 1100px) {
  .navbar .container {
    gap: 20px;
  }
}
@media (max-width: 1024px) {
  .navbar .container {
    gap: 0;
  }
}
@media (max-width: 520px) {
  .navbar .container {
    padding: 0 12px;
  }
}

/* ----- LOGO (Three-line: ERA, EMPOWERING, WITH EQUALITY) ----- */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 6px;
}
.logo-fallback {
  width: 52px;
  height: 52px;
  background: var(--era-primary);
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  align-items: flex-start;
}
.logo-text {
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-sub {
  font-size: 0.45rem;
  letter-spacing: 0.15em;
  color: var(--era-primary);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.2;
}
.logo-sub-line2 {
  font-size: 0.4rem;
  letter-spacing: 0.12em;
  color: var(--era-primary);
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .logo img {
    width: 44px;
    height: 44px;
  }
  .logo-fallback {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
  .logo-text {
    font-size: 1.3rem;
  }
  .logo-sub {
    font-size: 0.38rem;
  }
  .logo-sub-line2 {
    font-size: 0.34rem;
  }
  .logo {
    gap: 10px;
  }
}
@media (max-width: 520px) {
  .logo img {
    width: 38px;
    height: 38px;
  }
  .logo-fallback {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .logo-text {
    font-size: 1.1rem;
  }
  .logo-sub {
    font-size: 0.32rem;
  }
  .logo-sub-line2 {
    font-size: 0.28rem;
  }
  .logo {
    gap: 8px;
  }
}
@media (max-width: 400px) {
  .logo img {
    width: 30px;
    height: 30px;
  }
  .logo-fallback {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
  .logo-text {
    font-size: 0.95rem;
  }
  .logo-sub {
    font-size: 0.28rem;
  }
  .logo-sub-line2 {
    font-size: 0.24rem;
  }
  .logo {
    gap: 6px;
  }
}

/* ----- NAV LINKS (Uppercase, larger) ----- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.3s;
  cursor: pointer;
  white-space: nowrap;
}
.nav-link.active {
  color: var(--era-primary);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--era-primary);
  transition: width 0.3s ease;
  border-radius: 1px;
}
.nav-link:hover {
  color: var(--era-primary);
}
.nav-link:hover::after {
  width: 100%;
}
@media (max-width: 1100px) {
  .nav-link {
    font-size: 0.85rem;
    letter-spacing: 0.03em;
  }
  .nav-links {
    gap: 14px;
  }
}
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
}

/* ----- DROPDOWN (Desktop) ----- */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: -10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-xl);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
  padding: 8px 0;
  z-index: 999;
  pointer-events: none;
}
.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}
.dropdown-menu a {
  display: block;
  padding: 11px 22px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: normal;
}
.dropdown-menu a:hover {
  background: #f5f5f5;
  color: var(--era-primary);
  padding-left: 26px;
}
.dropdown-menu hr {
  margin: 4px 12px;
  border: none;
  border-top: 1px solid #eee;
}

/* ----- NAV DONATE ----- */
.nav-donate {
  background: var(--era-primary);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 700;
  transition: background 0.3s, transform 0.2s;
  display: inline-block;
  text-transform: none !important;
  letter-spacing: normal !important;
}
.nav-donate:hover {
  background: var(--era-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 40, 40, 0.35);
}
.nav-donate::after {
  display: none !important;
}
@media (max-width: 1100px) {
  .nav-donate {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* ----- MOBILE TOGGLE ----- */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--era-primary);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.35s, transform 0.2s;
  padding: 6px 8px;
  border-radius: 4px;
  line-height: 1;
}
.mobile-toggle:hover {
  color: var(--era-primary-dark);
  transform: scale(1.1);
}
@media (max-width: 1024px) {
  .mobile-toggle {
    display: block;
  }
}
@media (max-width: 520px) {
  .mobile-toggle {
    font-size: 1.6rem;
    padding: 4px 6px;
  }
}

/* ============================================================
   MOBILE OVERLAY & MENU
   ============================================================ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: #1A1A1A;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 20px 30px;
  overflow-y: auto;
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 8px;
}
.mobile-menu-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px;
}
.mobile-logo-fallback {
  width: 48px;
  height: 48px;
  background: var(--era-primary);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.mobile-logo-text-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  align-items: flex-start;
}
.mobile-logo-text {
  font-weight: 900;
  font-size: 1.6rem;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.mobile-logo-sub {
  font-size: 0.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--era-secondary);
  font-weight: 700;
  line-height: 1.2;
}
.mobile-logo-sub-line2 {
  font-size: 0.36rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  line-height: 1.2;
}
@media (max-width: 520px) {
  .mobile-logo-text {
    font-size: 1.3rem;
  }
  .mobile-logo-sub {
    font-size: 0.35rem;
  }
  .mobile-logo-sub-line2 {
    font-size: 0.3rem;
  }
}
.mobile-menu a {
  display: block;
  padding: 13px 4px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  transition: color 0.2s, padding-left 0.2s;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.mobile-menu a:hover {
  color: var(--era-secondary);
  padding-left: 8px;
}
.mobile-menu .mobile-donate {
  background: var(--era-primary);
  text-align: center;
  border-radius: 4px;
  margin-top: 12px;
  padding: 14px;
  font-weight: 700;
  border-bottom: none;
  text-transform: none !important;
  letter-spacing: normal !important;
}
.mobile-menu .mobile-donate:hover {
  background: var(--era-primary-dark);
  padding-left: 14px;
}
.mobile-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 8px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mobile-dropdown-btn:hover {
  color: var(--era-secondary);
}
.dropdown-chevron {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 8px;
}
.mobile-dropdown-btn.active .dropdown-chevron {
  transform: rotate(-180deg);
  color: var(--era-secondary);
}
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  margin-left: 8px;
}
.mobile-submenu.open {
  max-height: 2000px !important;
  overflow: visible !important;
}
.mobile-submenu a {
  padding: 10px 16px !important;
  font-size: 0.85rem !important;
  border-bottom: none !important;
  opacity: 0.85;
  text-transform: none !important;
  letter-spacing: normal !important;
}
.mobile-submenu a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
}

/* ============================================================
   HERO – STARTS BELOW NAVBAR, FULL WIDTH, BRIGHT IMAGES
   ============================================================ */
.hero {
  position: relative;
  margin-top: 0;
  height: calc(100vh - var(--topbar-height) - 80px);
  min-height: 500px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .hero {
    height: calc(100vh - var(--topbar-height) - 68px);
    min-height: 400px;
  }
}
@media (max-width: 520px) {
  .hero {
    height: calc(100vh - var(--topbar-height) - 60px);
    min-height: 350px;
  }
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity;
  filter: brightness(1.1);
}
.slide.active {
  opacity: 1;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 2;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 0;
}
.hero-text {
  max-width: 780px;
  color: #fff;
  padding: 0 20px;
  width: 100%;
}
.hero-text h1 {
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  color: #fff;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 16px;
  }
}
@media (max-width: 520px) {
  .hero-text h1 {
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    margin-bottom: 14px;
  }
}
/* Hero badge hidden */
.hero-badge {
  display: none !important;
}
/* Hero description hidden */
.hero-text .hero-description {
  display: none;
}
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 4;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.35s ease;
  border: 2px solid transparent;
}
.dot.active {
  background: #fff;
  width: 34px;
  border-radius: 12px;
  border-color: rgba(255, 255, 255, 0.6);
}
.dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}
@media (max-width: 768px) {
  .slider-dots {
    bottom: 24px;
    gap: 8px;
  }
  .dot {
    width: 10px;
    height: 10px;
  }
  .dot.active {
    width: 26px;
  }
}
@media (max-width: 520px) {
  .slider-dots {
    bottom: 16px;
    gap: 6px;
  }
  .dot {
    width: 8px;
    height: 8px;
  }
  .dot.active {
    width: 20px;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.95rem;
  margin-right: 12px;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--era-primary);
  color: #fff;
  border: 2px solid var(--era-primary);
}
.btn-primary:hover {
  background: var(--era-primary-dark);
  border-color: var(--era-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  background: transparent;
}
.btn-outline:hover {
  background: #fff;
  color: var(--era-primary);
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.btn-secondary {
  background: var(--era-secondary);
  color: #000;
  border: 2px solid var(--era-secondary);
}
.btn-secondary:hover {
  background: #e0a61a;
  border-color: #e0a61a;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(244, 168, 37, 0.35);
}
.btn-light {
  background: #fff;
  color: var(--era-primary);
  border: 2px solid #fff;
}
.btn-light:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--era-primary);
  border-color: #fff;
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-3px);
}
@media (max-width: 768px) {
  .btn {
    padding: 12px 22px;
    font-size: 0.85rem;
    margin-right: 8px;
    margin-bottom: 8px;
  }
}
@media (max-width: 520px) {
  .btn {
    padding: 10px 18px;
    font-size: 0.8rem;
    margin-right: 4px;
    margin-bottom: 6px;
  }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 100px 0;
}
.section-sm {
  padding: 70px 0;
}
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.section-subtitle {
  color: var(--era-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: #111;
}
.bg-light {
  background: var(--era-light);
}
.bg-white {
  background: #fff;
}
.text-muted {
  color: var(--text-muted);
}
.text-center {
  text-align: center;
}
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .container {
    padding: 0 16px;
  }
  .section-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
  }
}
@media (max-width: 520px) {
  .section {
    padding: 40px 0;
  }
  .container {
    padding: 0 12px;
  }
  .section-title {
    font-size: clamp(1.3rem, 3vw, 1.7rem);
  }
}

/* ============================================================
   GRIDS
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}
@media (max-width: 520px) {
  .grid-2 {
    gap: 20px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #eee;
}
.card h3 i {
  margin-right: 10px;
  color: var(--era-primary);
}
@media (max-width: 520px) {
  .card {
    padding: 20px 16px;
  }
}

/* ---------- VALUE CARDS ---------- */
.value-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all 0.35s ease;
  cursor: default;
}
.value-card:hover {
  background: var(--era-primary);
  color: #fff;
  border-color: var(--era-primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.value-card .icon-wrap {
  font-size: 2.2rem;
  margin-bottom: 10px;
  display: block;
  transition: transform 0.35s;
  color: var(--era-primary);
}
.value-card:hover .icon-wrap {
  transform: scale(1.2);
  color: #fff;
}
.value-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}
@media (max-width: 520px) {
  .value-card {
    padding: 20px 16px;
  }
  .value-card h3 {
    font-size: 1.1rem;
  }
}

/* ---------- CHALLENGE CARDS ---------- */
.why-era-section {
  background: #fafafa;
  position: relative;
  overflow: hidden;
}
.why-era-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(198, 40, 40, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.challenge-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--border-lighter);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.challenge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #ddd;
}
.challenge-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fef5f5;
  border-radius: 12px;
  transition: transform 0.3s;
  color: var(--era-primary);
}
.challenge-card:hover .challenge-icon {
  transform: scale(1.1);
}
.challenge-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #111;
}
.challenge-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 768px) {
  .challenge-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 16px;
  }
  .challenge-icon {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }
}
@media (max-width: 520px) {
  .challenge-card {
    padding: 14px 12px;
  }
}

/* ---------- COVERAGE ---------- */
.coverage-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.coverage-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
  border-radius: var(--radius-xl);
}
.coverage-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 3px solid rgba(198, 40, 40, 0.15);
  pointer-events: none;
}
@media (max-width: 768px) {
  .coverage-image-wrapper img {
    min-height: 240px;
  }
}
@media (max-width: 520px) {
  .coverage-image-wrapper img {
    min-height: 180px;
  }
}
.coverage-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}
.coverage-stat {
  background: #fef5f5;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: center;
  flex: 1;
  min-width: 70px;
  border: 1px solid rgba(198, 40, 40, 0.1);
}
.coverage-stat strong {
  display: block;
  font-size: 1.6rem;
  color: var(--era-primary);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.coverage-stat span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
@media (max-width: 520px) {
  .coverage-stat {
    padding: 10px 12px;
    min-width: 60px;
  }
  .coverage-stat strong {
    font-size: 1.2rem;
  }
}

/* ---------- PARTNER MARQUEE ---------- */
.partner-marquee-section {
  background: #fff;
  padding: 50px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  position: relative;
  overflow: hidden;
}
.partner-marquee-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 30px;
  padding: 10px 0;
}
.partner-marquee-wrapper::before,
.partner-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.partner-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}
.partner-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}
.partner-track {
  display: flex;
  gap: 40px;
  animation: scrollPartners 35s linear infinite;
  width: max-content;
}
.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  min-width: 150px;
  background: #f8f8f8;
  border-radius: 10px;
  padding: 12px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #eee;
  transition: all 0.3s;
  flex-shrink: 0;
}
.partner-item img {
  max-height: 52px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: filter 0.3s, transform 0.3s;
}
.partner-item:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  border-color: var(--era-primary);
}
.partner-item:hover img {
  filter: grayscale(0);
  transform: scale(1.04);
}
@keyframes scrollPartners {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .partner-item {
    height: 60px;
    min-width: 110px;
    padding: 8px 14px;
  }
  .partner-item img {
    max-height: 38px;
    max-width: 80px;
  }
  .partner-track {
    gap: 24px;
  }
}
@media (max-width: 520px) {
  .partner-item {
    min-width: 80px;
    height: 50px;
    padding: 6px 10px;
  }
  .partner-item img {
    max-height: 30px;
    max-width: 60px;
  }
  .partner-track {
    gap: 16px;
  }
  .partner-marquee-wrapper::before,
  .partner-marquee-wrapper::after {
    width: 30px;
  }
}

/* ---------- CONTACT ---------- */
.contact-section {
  position: relative;
  background: #fafafa;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(198, 40, 40, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.contact-info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-lighter);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
}
.contact-info-icon {
  width: 46px;
  height: 46px;
  background: #fef5f5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--era-primary);
}
.contact-info-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: #111;
}
.contact-info-item p,
.contact-info-item a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s;
}
.contact-info-item a:hover {
  color: var(--era-primary);
}
.contact-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-lighter);
  height: 100%;
}
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #fafafa;
  resize: vertical;
}
.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: var(--era-primary);
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.08);
  background: #fff;
}
.contact-form-card textarea {
  min-height: 120px;
}
@media (max-width: 768px) {
  .contact-info-card {
    padding: 20px 16px;
  }
  .contact-form-card {
    padding: 22px 16px;
  }
}
@media (max-width: 520px) {
  .contact-info-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .contact-info-item {
    gap: 10px;
    padding: 6px 0;
  }
}

/* ---------- SOCIAL ICONS ---------- */
.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--era-primary);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  margin-right: 8px;
  transition: all 0.3s;
  font-size: 1.1rem;
}
.social-icon-link:hover {
  background: var(--era-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(198, 40, 40, 0.3);
}
@media (max-width: 520px) {
  .social-icon-link {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
    margin-right: 4px;
  }
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: var(--era-primary);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 12px;
}
.cta-banner p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
  color: #fff;
}
.cta-banner .btn {
  margin: 0 8px;
}
@media (max-width: 768px) {
  .cta-banner {
    padding: 35px 0;
  }
  .cta-banner h2 {
    font-size: 1.5rem;
  }
  .cta-banner .btn {
    margin: 4px;
  }
}
@media (max-width: 520px) {
  .cta-banner {
    padding: 25px 0;
  }
  .cta-banner h2 {
    font-size: 1.2rem;
  }
  .cta-banner p {
    font-size: 0.9rem;
  }
}

/* ---------- FOOTER ---------- */
.footer {
  background: #111;
  color: #ccc;
  padding: 60px 0 30px;
}
.footer a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s;
}
.footer a:hover {
  color: var(--era-secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}
.footer-col {
  min-width: 0;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px;
}
.footer-brand-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  align-items: flex-start;
}
.footer-brand-name {
  font-weight: 900;
  font-size: 1.6rem;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.footer-brand-sub {
  font-size: 0.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--era-primary);
  font-weight: 700;
  line-height: 1.2;
}
.footer-brand-sub-line2 {
  font-size: 0.36rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  line-height: 1.2;
}
.footer-description {
  font-size: 0.85rem;
  margin-bottom: 16px;
  color: #aaa;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.footer-social-icon:hover {
  background: var(--era-primary);
  color: #fff;
  transform: translateY(-2px);
}
.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
  font-weight: 700;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links li a {
  font-size: 0.9rem;
  transition: padding-left 0.2s;
}
.footer-links li a:hover {
  padding-left: 5px;
  color: var(--era-secondary);
}
.footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}
.footer-contact-info li {
  margin-bottom: 8px;
  line-height: 1.4;
}
.footer-contact-info a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #888;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
.footer-legal a {
  color: #888;
  margin: 0 2px;
}
.footer-legal a:hover {
  color: var(--era-secondary);
}
@media (max-width: 768px) {
  .footer {
    padding: 40px 0 20px;
  }
  .footer-grid {
    gap: 30px;
  }
  .footer-brand-name {
    font-size: 1.4rem;
  }
  .footer-brand-sub {
    font-size: 0.36rem;
  }
  .footer-brand-sub-line2 {
    font-size: 0.32rem;
  }
}
@media (max-width: 520px) {
  .footer {
    padding: 30px 0 16px;
  }
  .footer-grid {
    gap: 24px;
  }
  .footer-brand-name {
    font-size: 1.2rem;
  }
  .footer-brand-sub {
    font-size: 0.3rem;
  }
  .footer-brand-sub-line2 {
    font-size: 0.26rem;
  }
  .footer-logo-img {
    width: 36px;
    height: 36px;
  }
}

/* ---------- TEAM PAGE STYLES ---------- */
.team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.team-img-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 4px solid var(--era-primary);
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-img-wrapper .initials {
  font-size: 3rem;
  color: var(--era-primary);
  font-weight: 700;
  text-transform: uppercase;
}
.team-card h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: #111;
}
.team-card .role {
  color: var(--era-primary);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.team-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
@media (max-width: 520px) {
  .team-img-wrapper {
    width: 100px;
    height: 100px;
  }
  .team-img-wrapper .initials {
    font-size: 2.2rem;
  }
  .team-card h3 {
    font-size: 1rem;
  }
  .team-card .role {
    font-size: 0.85rem;
  }
}

/* ---------- CAREER PAGE STYLES ---------- */
.job-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ---------- RESOURCE CARDS ---------- */
.resource-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ---------- AIMS/OBJECTIVES ICON ---------- */
.aim-icon {
  color: var(--era-primary);
  margin-right: 10px;
  font-size: 1rem;
}

/* ---------- COVERAGE SELECT DROPDOWN ---------- */
#coverageSelect {
  width: 100%;
  padding: 16px 24px;
  font-size: 1rem;
  font-family: var(--font-primary);
  border: 2px solid var(--era-primary);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text-dark);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#coverageSelect:focus {
  outline: none;
  border-color: var(--era-primary-dark);
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.15);
}
#coverageSelect optgroup {
  font-weight: 700;
  color: var(--text-dark);
}
#coverageSelect option {
  font-weight: 400;
  padding: 4px 8px;
}
#coverageInfo {
  margin-top: 30px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: #fef5f5;
  border: 1px solid rgba(198, 40, 40, 0.15);
  display: none;
  transition: all 0.3s ease;
}
#coverageInfo h3 {
  color: var(--era-primary);
  font-size: 1.3rem;
  margin-bottom: 4px;
}
#coverageInfo p {
  color: var(--text-muted);
  line-height: 1.7;
}
@media (max-width: 520px) {
  #coverageSelect {
    padding: 12px 18px;
    font-size: 0.9rem;
  }
  #coverageInfo {
    padding: 16px 14px;
  }
}


/* ============================================================
   FORCE LOGO SUBTEXT VISIBLE ON WHITE NAVBAR - FIX FOR HOMEPAGE
   ============================================================ */

/* Force subtext to be visible in default navbar state */
.navbar .logo-sub,
.navbar .logo-sub-line2 {
  color: var(--era-primary) !important;
}

/* Also ensure scrolled state matches */
.navbar.scrolled .logo-sub,
.navbar.scrolled .logo-sub-line2 {
  color: var(--era-primary) !important;
}

/* Reduce ERA size */
.navbar .logo-text {
  font-size: 1.4rem !important;
}
.navbar.scrolled .logo-text {
  color: var(--text-dark) !important;
}

/* Keep subtext sizes consistent */
.navbar .logo-sub {
  font-size: 0.4rem !important;
  letter-spacing: 0.12em;
}
.navbar .logo-sub-line2 {
  font-size: 0.35rem !important;
  letter-spacing: 0.1em;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .navbar .logo-text {
    font-size: 1.2rem !important;
  }
  .navbar .logo-sub {
    font-size: 0.35rem !important;
  }
  .navbar .logo-sub-line2 {
    font-size: 0.3rem !important;
  }
}
@media (max-width: 520px) {
  .navbar .logo-text {
    font-size: 1rem !important;
  }
  .navbar .logo-sub {
    font-size: 0.3rem !important;
  }
  .navbar .logo-sub-line2 {
    font-size: 0.26rem !important;
  }
}

