/* Alumni Unite - corporate one-page style inspired by the JD Ohio Joomla template */

:root {
  --primary: #0084ca;
  --primary-dark: #006aa3;
  --navy: #0e2240;
  --navy-light: #16325c;
  --text: #4a5568;
  --heading: #1a202c;
  --muted: #718096;
  --bg-alt: #f5f8fc;
  --border: #e2e8f0;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(14, 34, 64, 0.08);
  --container: 1170px;
  --font-heading: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--heading);
  line-height: 1.3;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.3px;
  border: 2px solid var(--primary);
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
}

.logo img {
  height: 80px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  color: var(--heading);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 140px 0 150px;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(14, 34, 64, 0.92), rgba(0, 132, 202, 0.85)),
    radial-gradient(circle at 20% 20%, #1a6fa8, #0e2240);
}

.hero h1 {
  color: var(--white);
  font-size: 52px;
  font-weight: 700;
  max-width: 820px;
  margin: 0 auto 20px;
}

.hero p {
  font-size: 19px;
  max-width: 720px;
  margin: 0 auto 36px;
  opacity: 0.92;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-banner {
  padding: 90px 0;
  text-align: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--primary));
}

.page-banner h1 {
  color: var(--white);
  font-size: 44px;
  margin-bottom: 10px;
}

.page-banner p {
  margin: 0;
  opacity: 0.9;
}

/* ---------- Sections ---------- */

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 38px;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 18px auto 0;
}

/* ---------- Grids & cards ---------- */

.grid {
  display: grid;
  gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(14, 34, 64, 0.14);
}

.card h3 {
  font-size: 20px;
}

.card p {
  margin: 0;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: rgba(0, 132, 202, 0.1);
  color: var(--primary);
}

.icon svg {
  width: 32px;
  height: 32px;
}

.feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature .icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  margin: 0;
}

.feature .icon svg {
  width: 26px;
  height: 26px;
}

.feature h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.feature p {
  margin: 0;
}

/* ---------- How it works steps ---------- */

.step {
  position: relative;
  text-align: center;
  padding: 0 10px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
}

/* ---------- Split / about ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split h2 {
  font-size: 36px;
}

.highlight-box {
  background: linear-gradient(135deg, var(--navy), var(--primary));
  color: var(--white);
  border-radius: var(--radius);
  padding: 50px 40px;
  box-shadow: var(--shadow);
}

.highlight-box h3 {
  color: var(--white);
  font-size: 24px;
}

.highlight-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlight-box li {
  padding: 10px 0 10px 32px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.highlight-box li:last-child {
  border-bottom: 0;
}

.highlight-box li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* ---------- Stats ---------- */

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 54px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 17px;
  margin-top: 8px;
}

.stats-text {
  max-width: 820px;
  margin: 50px auto 0;
  text-align: center;
}

/* ---------- CTA band ---------- */

.cta-band {
  padding: 80px 0;
  background: var(--primary);
  color: var(--white);
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 {
  color: var(--white);
  font-size: 32px;
}

.cta-band p {
  margin: 0;
  max-width: 720px;
  opacity: 0.92;
}

.cta-band .btn {
  flex-shrink: 0;
  background: var(--white);
  border-color: var(--white);
  color: var(--primary);
}

.cta-band .btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ---------- Contact page ---------- */

.contact-card a {
  font-weight: 600;
  word-break: break-word;
}

.contact-note {
  max-width: 720px;
  margin: 60px auto 0;
  text-align: center;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #0a1a31;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 16px;
}

.site-footer .logo {
  color: var(--white);
  margin-bottom: 14px;
}

.site-footer .logo img {
  height: 68px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 40px; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .nav-toggle { display: block; }

  .header-inner { height: 84px; }
  .logo img { height: 52px; }

  .main-nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    display: none;
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 20px;
  }

  .main-nav li a {
    display: block;
    padding: 10px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .section { padding: 70px 0; }
  .hero { padding: 100px 0 110px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 17px; }
  .section-title h2 { font-size: 30px; }
  .page-banner h1 { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr; }
}
