/*
 * One World Impact - Main Stylesheet
 * All visual styles for the One World Impact WordPress theme
 */

/* CSS Variables */
:root {
  --navy: #0b1f3a;
  --royal: #286aae;
  --sky: #59a3c0;
  --green: #88ad8e;
  --gold: #e1bb58;
  --bg: #f7f8fa;
  --mist: #eef4f1;
  --cloud: #f4f7fb;
  --ink: #244b78;
}

/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: var(--navy);
  line-height: 1.5;
}

/* Top Banner */
.top-banner {
  padding: 14px 10%;
  font-size: 12px;
  letter-spacing: 2px;
  text-align: center;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 8%;
  background: #fff;
  border-bottom: 1px solid rgba(11, 31, 58, 0.06);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-wrap img {
  height: 54px;
  display: block;
}

.logo-wrap .custom-logo {
  height: 54px !important;
  width: 54px !important;
  max-width: 54px !important;
  object-fit: contain;
}

.logo-wrap .custom-logo-link {
  display: flex;
  align-items: center;
  height: 54px;
  width: 54px;
}

.logo-wordmark {
  height: 34px !important;
}

.menu {
  display: flex;
  gap: 28px;
  font-size: 14px;
  letter-spacing: 0.3px;
  color: var(--ink);
  font-weight: 500;
}

.menu span {
  cursor: pointer;
}

.menu span a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.menu span.active a,
.menu span.current-menu-item a,
.menu span.current_page_item a,
.menu span.current-menu-parent a,
.menu span.current-menu-ancestor a {
  color: var(--navy);
  font-weight: 700;
}

.menu a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.menu a:hover,
.menu a.active {
  color: var(--navy);
  font-weight: 700;
}

/* Sections */
section {
  padding: 88px 8%;
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  padding: 0;
  background: linear-gradient(90deg, rgba(11, 31, 58, 0.78) 0%, rgba(11, 31, 58, 0.42) 38%, rgba(11, 31, 58, 0.12) 100%), 
              linear-gradient(180deg, rgba(89, 163, 192, 0.18), rgba(136, 173, 142, 0.08));
  min-height: 680px;
  display: flex;
  align-items: center;
}

.hero-inner {
  padding: 92px 8%;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: end;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}

.hero h1 {
  font-size: 76px;
  line-height: 0.98;
  margin: 0 0 22px;
  color: #fff;
  max-width: 760px;
}

.hero p {
  font-size: 22px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
  margin: 0 0 30px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
}

.btn-primary:hover {
  background: #d1a94a;
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Globe Panel */
.globe-panel {
  align-self: stretch;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 28%, rgba(89, 163, 192, 0.85), transparent 28%), 
              radial-gradient(circle at 45% 55%, rgba(225, 187, 88, 0.72), transparent 22%), 
              radial-gradient(circle at 72% 38%, rgba(136, 173, 142, 0.7), transparent 28%), 
              linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 430px;
  position: relative;
  overflow: hidden;
}

.globe-panel.has-image {
  background-size: cover;
  background-position: center;
}

.globe-panel.no-gradient {
  background: none;
  backdrop-filter: none;
}

.globe-panel:before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
}

.globe-panel.no-gradient:before {
  display: none;
}

.globe-panel:after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
}

.globe-panel.no-gradient:after {
  display: none;
}

/* Metrics Section */
.metrics {
  padding: 36px 8%;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(11, 31, 58, 0.05);
  border-bottom: 1px solid rgba(11, 31, 58, 0.05);
}

.metric {
  padding: 10px 16px;
  text-align: center;
}

.metric h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1;
  color: var(--navy);
}

.metric p {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 14px;
}

/* Background Colors */
.soft-green {
  background: linear-gradient(180deg, #f8fbf9, var(--mist));
}

.soft-blue {
  background: linear-gradient(180deg, #fbfcfe, var(--cloud));
}

.white {
  background: #fff;
}

/* Section Headers */
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: 48px;
  line-height: 1.02;
  margin: 0;
  color: var(--navy);
  min-width: 98%;
  max-width: 600px;
}

.section-head p {
  margin: 0;
  max-width: 520px;
  color: var(--ink);
}

.kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 10px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

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

.card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.06);
  border: 1px solid rgba(11, 31, 58, 0.04);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 28px;
  color: var(--navy);
}

.card p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

.card .mini {
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 10px;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 18px;
}

.pillar {
  padding: 8px 10px 0;
  text-align: center;
}

.icon-shell {
  width: 132px;
  height: 132px;
  margin: 0 auto 18px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(225, 187, 88, 0.08), rgba(89, 163, 192, 0.03));
  border: 1px solid rgba(225, 187, 88, 0.28);
}

.icon-shell svg {
  width: 86px;
  height: 86px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-shell img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  display: block;
}

.pillar h4 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--navy);
}

.pillar p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

/* News Section */
.news-grid {
  display: grid;
  grid-template-columns: 40px 1fr 1fr 1fr 40px;
  gap: 24px;
  align-items: center;
}

.arrow {
  font-size: 70px;
  color: var(--gold);
  text-align: center;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}

.arrow:hover {
  opacity: 0.8;
}

.news-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 58, 0.06);
  box-shadow: 0 10px 22px rgba(11, 31, 58, 0.05);
}

.news-image {
  height: 220px;
  position: relative;
  background: linear-gradient(135deg, rgba(40, 106, 174, 0.88), rgba(89, 163, 192, 0.5));
  background-size: cover;
  background-position: center;
}

.news-image.alt1 {
  background: linear-gradient(135deg, rgba(11, 31, 58, 0.15), rgba(11, 31, 58, 0.15)), 
              url('../images/news-1.jpg') center/cover;
}

.news-image.alt2 {
  background: linear-gradient(135deg, rgba(11, 31, 58, 0.15), rgba(11, 31, 58, 0.15)), 
              url('../images/news-2.jpg') center top/cover;
}

.news-image.alt3 {
  background: linear-gradient(135deg, rgba(11, 31, 58, 0.15), rgba(11, 31, 58, 0.15)), 
              url('../images/news-3.jpg') center top/cover;
}

.tag {
  position: absolute;
  left: 16px;
  top: 14px;
  background: var(--gold);
  color: #fff;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 12px;
  letter-spacing: 0.6px;
  min-width: 176px;
  text-align: center;
}

.news-body {
  padding: 18px 16px 20px;
}

.date {
  font-size: 12px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.news-body h3 {
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--navy);
}

.news-body p {
  font-size: 14px;
  line-height: 1.48;
  margin: 0;
  color: var(--ink);
}

.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--royal);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.dots span.active {
  opacity: 1;
}

/* About Page - Hero */
.about-hero {
  padding: 78px 8% 48px;
  background: linear-gradient(180deg, #fff, var(--cloud));
}

.about-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.about-visual {
  min-height: 420px;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.12)), 
              url('../images/about-visual.jpg') center top/cover;
  border: 1px solid rgba(11, 31, 58, 0.06);
}

/* Focus Cards */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.focus-card {
  background: linear-gradient(180deg, rgba(36, 75, 120, 0.98), rgba(11, 31, 58, 0.98));
  color: #fff;
  border-radius: 16px;
  padding: 24px;
  min-height: 230px;
}

.focus-card .num {
  font-size: 14px;
  color: var(--sky);
  margin-bottom: 16px;
}

.focus-card h4 {
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.focus-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
  margin-top: 18px;
}

.timeline:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 18px;
  height: 1px;
  background: rgba(11, 31, 58, 0.18);
}

.step {
  position: relative;
  padding-top: 46px;
}

.step-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--royal);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}

.step h4 {
  margin: 0 0 10px;
  font-size: 24px;
}

.step p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

/* Leadership / Team Carousel */
.team-carousel-container {
  position: relative;
  padding: 0 60px;
}

.team-carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.leadership {
  display: flex;
  gap: 30px;
  transition: transform 0.4s ease;
  align-items: stretch;
}

.team-carousel .team-slide {
  flex: 0 0 calc(33.333% - 20px);
  min-width: calc(33.333% - 20px);
  display: flex;
}

.leader {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.06);
  border: 1px solid rgba(11, 31, 58, 0.04);
  width: 100%;
  display: flex;
  flex-direction: column;
}

.leader-photo {
  height: 480px;
  background: #eef2f6;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.leader-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.leader-body h3 {
  margin: 0 0 6px;
  font-size: 28px;
}

.leader-body p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}

.role {
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 14px;
}

/* Team Carousel Arrows */
.team-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid var(--royal);
  color: var(--royal);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-arrow:hover:not(.disabled) {
  background: var(--royal);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.team-arrow.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: #ccc;
  color: #ccc;
}

.team-arrow-left {
  left: 0;
}

.team-arrow-right {
  right: 0;
}

.team-arrow svg {
  width: 24px;
  height: 24px;
}

/* Footer CTA */
.footer-cta {
  padding: 88px 8%;
  text-align: center;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.98), rgba(36, 75, 120, 0.98));
  color: #fff;
}

.footer-cta h2 {
  font-size: 56px;
  line-height: 1.05;
  margin: 0 0 16px;
}

.footer-cta p {
  max-width: 760px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 20px;
  line-height: 1.55;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #355f93, var(--ink));
  color: #fff;
  padding: 44px 8%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer img {
  display: block;
}

.footer-logo-icon {
  height: 80px !important;
}

.footer-logo-wordmark {
  height: 72px !important;
}

.footer .logo-wrap {
  align-items: flex-start;
}

.footer small,
.footer p,
.footer li,
.footer a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.footer h4 {
  margin: 0 0 14px;
  font-size: 24px;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-menu a,
.footer-menu ul li a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-menu a:hover,
.footer-menu ul li a:hover {
  color: #fff;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-menu ul li {
  margin: 0;
  padding: 0;
}

.footer-bottom {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 14px 8%;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

/* Contact Page */
.contact-page {
  padding: 50px 8%;
  background: var(--bg);
  min-height: calc(100vh - 300px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  width: 100%;
  align-items: center;
}

.contact-info h2 {
  font-size: 48px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.1;
}

.contact-info .description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 32px;
}

.contact-details {
  font-size: 16px;
  color: var(--ink);
  line-height: 2;
}

.contact-details div {
  margin-bottom: 8px;
}

.contact-details strong {
  color: var(--navy);
  font-weight: 600;
}

.contact-details a {
  color: var(--royal);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px 28px 16px;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.06);
  border: 1px solid rgba(11, 31, 58, 0.04);
}

.contact-form-card .wpcf7-form-control-wrap {
  display: block;
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card input[type="url"],
.contact-form-card textarea,
.contact-form-card select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(11, 31, 58, 0.15);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 8px;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
  color: rgba(11, 31, 58, 0.4);
}

.contact-form-card input:focus,
.contact-form-card textarea:focus,
.contact-form-card select:focus {
  border-color: var(--royal);
}

.contact-form-card textarea {
  resize: vertical;
  min-height: 50px;
}

.contact-form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 0;
}

.contact-form-card input[type="submit"],
.contact-form-card button[type="submit"] {
  width: 100%;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 0;
  font-family: 'Poppins', sans-serif;
}

.contact-form-card input[type="submit"]:hover,
.contact-form-card button[type="submit"]:hover {
  background: var(--royal);
}

.contact-form-card .wpcf7-spinner {
  margin-left: 10px;
}

.contact-form-card .wpcf7-response-output {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
}

.contact-form-placeholder {
  text-align: center;
  padding: 40px 20px;
}

.contact-image-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.06);
  border: 1px solid rgba(11, 31, 58, 0.04);
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Home Divider */
.home-divider {
  height: 18px;
  background: linear-gradient(90deg, rgba(89, 163, 192, 0.22), rgba(136, 173, 142, 0.22), rgba(225, 187, 88, 0.18));
}

/* Responsive Design */
@media (max-width: 1100px) {
  .hero-inner,
  .about-split,
  .cards,
  .cards.two,
  .pillars,
  .focus-grid,
  .timeline,
  .news-grid,
  .metrics {
    grid-template-columns: 1fr !important;
    display: grid;
  }
  
  .news-grid {
    grid-template-columns: 1fr !important;
  }
  
  .arrow {
    display: none;
  }
  
  /* Team carousel: show 2 slides on tablet */
  .team-carousel .team-slide {
    flex: 0 0 calc(50% - 15px);
    min-width: calc(50% - 15px);
  }
  
  .team-carousel-container {
    padding: 0 50px;
  }
  
  .team-carousel-wrapper {
    overflow: hidden;
  }
  
  .team-arrow {
    width: 40px;
    height: 40px;
  }
  
  .hero h1 {
    font-size: 48px;
  }
  
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .section-head p {
    max-width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
  
  /* Footer logos - medium size on tablet */
  .footer-logo-icon {
    height: 50px !important;
  }
  
  .footer-logo-wordmark {
    height: 55px !important;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .contact-container {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }
  
  .contact-info h2 {
    font-size: 36px;
  }
  
  .contact-form-card {
    padding: 30px 24px;
  }
  
  .contact-form-card .form-row {
    grid-template-columns: 1fr !important;
  }
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
  flex-direction: column;
  gap: 5px;
  transition: all 0.3s ease;
}

.hamburger-line {
  width: 28px;
  height: 3px;
  background-color: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Mobile-only styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 80px 32px 32px;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
  }
  
  .menu.mobile-active {
    right: 0;
  }
  
  .menu span {
    display: block;
    padding: 0;
  }
  
  .menu span a {
    display: block;
    padding: 14px 16px;
    font-size: 16px;
    color: var(--navy);
    border-radius: 6px;
    transition: all 0.2s ease;
  }
  
  .menu span a:hover,
  .menu span a.active {
    background: var(--royal);
    color: white;
  }
  
  /* Mobile menu overlay */
  .menu.mobile-active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 280px;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }
  
  /* Team carousel: show 1 slide on mobile */
  .team-carousel .team-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }
  
  .team-carousel-container {
    padding: 0 45px;
  }
  
  .team-carousel-wrapper {
    overflow: hidden;
  }
  
  .team-arrow {
    width: 36px;
    height: 36px;
  }
  
  .team-arrow svg {
    width: 20px;
    height: 20px;
  }
  
  .leader-photo {
    height: 400px;
  }
  
  /* Footer logos - smaller on mobile */
  .footer-logo-icon {
    height: 35px !important;
  }
  
  .footer-logo-wordmark {
    height: 38px !important;
  }
}
