/*
Theme Name: OII2
Theme URI: https://ontariointegration.ca
Author: Eliezah Titus
Description: Custom theme for Ontario Integration Initiative
Version: 1.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: oii2
*/

/* --------------------------------------------------------------
   1. CSS Variables (Design Tokens)
-------------------------------------------------------------- */
:root {
  --brand-navy: #00273f;
  --brand-amber: #D95A00;
  --brand-burgundy: #590c05;
  --white: #ffffff;

  --font-heading: 'Sora', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --container-max: 1200px;
  --transition: 0.3s ease;
}

/* --------------------------------------------------------------
   2. Reset & Base Styles
-------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--brand-navy);
  background-color: var(--white);
  line-height: 1.6;
}

a {
  color: var(--brand-amber);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover,
a:focus {
  color: var(--brand-burgundy);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Screen reader utility */
.screen-reader-text {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* --------------------------------------------------------------
   3. Typography
-------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin: 0 0 0.5em;
  color: var(--brand-navy);
  line-height: 1.3;
}

p {
  margin: 0 0 1em;
	font-weight:200;
}

/* --------------------------------------------------------------
   4. Header
-------------------------------------------------------------- */

/* Topbar */
.topbar {
  background: var(--brand-navy);
  color: var(--white);
  font-size: 0.9rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
}

/* Language Selector */
/* Match your style */
#my-translate-dropdown {
  background: #00273f;
  color: #fff;
  font-family: Poppins, sans-serif;
  border: 1px solid #fff;
  border-radius: 4px;
  padding: 3px 12px;
  font-size: 0.7rem;
  cursor: pointer;
  min-width: 180px;
}

.goog-te-gadget-simple {
 background-color: transparent !important;
 font-family: Poppins !important;
}

.goog-te-gadget {
  color: transparent !important;
}

[class^="VIpgJd-ZVi9od-vH1Gmf"] {
  background-color: rgba(255, 255, 0, 0.7) !important;
  text-decoration: none !important;
  border: 1px solid #6B90DA !important;
  overflow: hidden !important;
  font-size: 14px !important;
  padding: 6px 10px !important;
}

.goog-te-gadget-simple .VIpgJd-ZVi9od-xl07Ob-lTBxed span {
  color: #ffffff;
  padding-right: 10px;
  font-size: 0.7rem;
  font-weight:500;
}


/* Hide Google Translate Branding */

.goog-te-balloon-frame,
.goog-te-gadget img,
.goog-te-gadget-icon, 
#goog-gt-tt {
  display: none !important;
}


/* Topbar Right (Menu + Social) */
.topbar__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-menu__list {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.topbar-menu__list a {
  color: var(--white);
  font-weight: 500;
}
.topbar-menu__list a:hover {
  color: var(--brand-amber);
}

/* Social Icons */
.topbar__social {
  display: flex;
  gap: 0.75rem;
}
.topbar__social a {
  color: var(--white);
  font-size: 1rem;
  transition: color var(--transition);
}
.topbar__social a:hover {
  color: var(--brand-amber);
}

/* Main Header */

.site-header {
  background: var(--white);
}
.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}
.site-branding img {
  max-height: 60px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Primary Nav */
.primary-navigation {
  display: flex;
}
.primary-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', San Serif;
}

.primary-navigation a:hover {
  color: var(--brand-amber);
}

/* Hide desktop nav on small screens */
@media (max-width: 991px) {
  #site-navigation {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}

/* Off-canvas drawer */
.oii-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100%;
  background: #00273f; /* your theme color */
  color: #fff;
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.oii-mobile-menu.open {
  right: 0;
}

.oii-mobile-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
}

.oii-mobile-inner ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.oii-mobile-inner li {
  margin-bottom: 1rem;
}

.oii-mobile-inner a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
}

.oii-mobile-inner a:hover {
  text-decoration: underline;
}

/* Submenu toggle buttons */
.submenu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  margin-left: 8px;
  cursor: pointer;
}

.oii-mobile-menu .mobile-cloned ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1rem;
}

.oii-mobile-menu .mobile-cloned li {
  margin: 0.5rem 0;
}

/* --------------------------------------------------------------
   5. Hero Section
-------------------------------------------------------------- */
.hero-fullscreen {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0; left: 0;
}
.hero-overlay {
  position: absolute;
  background: rgba(0, 39, 63, 0.55);
  width: 100%; height: 100%;
  top: 0; left: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
  margin-left: 50px;
  text-align: Left;
}
.hero-content h1 {
  font-size: 4rem;
  color: #ffffff;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}
.scroll-down {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-block;
}

.scroll-icon {
  animation: bounce 2s infinite;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.scroll-icon:hover {
  transform: scale(1.1);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}


/* --------------------------------------------------------------
   6. Impact Section
-------------------------------------------------------------- */
.impact-section {
  background: var(--brand-navy);
  color: var(--white);
  padding: 5rem 1rem;
  text-align: center;
}

.impact-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.impact-header p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.impact-video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.impact-video {
  width: 100%;
  height: auto;
  display: block;
}

.impact-video-embed iframe {
  width: 100%;
  border: 0;
  border-radius: 12px;
}

/* --------------------------------------------------------------
   7. Buttons
-------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background:  var(--brand-navy); /* Blue */
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: #003d80;
  color: #fff;
}

.btn-outline {
  background: #003d80;
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: #00273f;
}

/* --------------------------------------------------------------
   8. Services
-------------------------------------------------------------- */

.services-section {
  background: #ffffff;
  padding:120px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.services-header {
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #d95a00;
  display: block;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.services-title {
  font-size: 32px;
  margin-bottom: 20px;
  color: #00273f;
  font-family: var(--font-heading);
}

.services-header p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #444;
}

.services-header .btn {
  background: #00273f;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
  display: inline-block;
}
.services-header .btn:hover {
  background: #d95a00;
}

/* Columns */
.services-columns {
  display: flex;
  justify-content: space-between;
  gap: 10px; /* tiny gap between the two */
  margin-top: 60px;
}

.service-col {
  flex: 1;
  min-height: 400px;
  position: relative;
  border-radius: 12px;
}

.service-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end; /* overlay at bottom */
}

/* Floating Overlay Box */
.service-overlay-box {
  background: rgba(0, 39, 63, 0.85); /* semi-transparent navy */
  color: #fff;
  padding: 15px 25px;
  border-radius: 12px;
  text-align: center;
  max-width: 90%;
  margin: 0 auto;
  position: absolute;
  bottom: -60px; /* floats below image */
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.service-overlay-box h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #ffffff;
}

.service-overlay-box .btn {
  background: #d95a00;
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  transition: background 0.3s ease;
}
.service-overlay-box .btn:hover {
  background: #590c05;
}

/* Responsive */
@media (max-width: 768px) {
  .services-columns {
    flex-direction: column;
    gap: 40px;
  }
  .service-overlay-box {
    bottom: -20px;
    max-width: 90%;
  }
}
@media (max-width: 768px) {
  .service-col {
    min-height: 250px; /* smaller but still visible */
  }
  .service-img {
    min-height: 250px;
    border-radius: 12px;
    overflow: hidden;
  }
  .service-overlay-box {
    position: absolute;
    bottom: 15px; /* keep it inside the image instead of below */
    max-width: 90%;
  }
}


/* --------------------------------------------------------------
   9. Donate & Volunteer Section
-------------------------------------------------------------- */
.donate-volunteer {
  background: var(--brand-navy);
  color: var(--white);
  padding: 120px 0;
}

.donate-volunteer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}

.donate-volunteer__content {
  flex: 1;
}

.donate-volunteer__content h2 {
  font-size: 28px;
  margin-bottom: 15px;
  font-family: var(--font-heading);
  color: var(--white);
}

.donate-volunteer__content p {
  font-size: 18px;
  line-height: 1.6;
  padding-right:30px;
  color: rgba(255,255,255,0.9);
}

/* Boxes */
.donate-volunteer__boxes {
  flex: 1;
  display: flex;
  gap: 1.5rem;
}

.dv-box {
  flex: 1;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.dv-box:hover {
  border-color: var(--brand-amber);
  transform: translateY(-5px);
}

.dv-box h3 {
  margin-bottom: 10px;
  font-size: 22px;
  color: var(--white);
}

.dv-box p {
  font-size: 16px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.9);
}

.dv-box .btn {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}
.dv-box .btn:hover {
  background: var(--brand-amber);
  border-color: var(--brand-amber);
  color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  .donate-volunteer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .donate-volunteer__boxes {
    flex-direction: column;
    width: 100%;
  }
}

/* --------------------------------------------------------------
   10. Pillars Section (Laurier-style Behavior)
-------------------------------------------------------------- */
/* Pillars Section */
.pillars-section {
  background: #590c05;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.pillars-section .section-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffd6c6;
  display: block;
  margin-bottom: 10px;
}

.pillars-section .section-title {
  font-size: 32px;
  margin-bottom: 15px;
  color: #ffffff;
}

.pillars-section .section-desc {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 50px;
  color: rgba(255,255,255,0.85);
}

/* Container with 4 panels */
.pillars-container {
  display: flex;
  gap: 10px;
  height: 500px;
}

.pillar-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
  position: relative;
  transition: flex 0.6s ease;
  cursor: pointer;
}

.pillar-img {
  flex: 1;
  background-size: cover;
  background-position: center;
  min-height: 200px;
  transition: transform 0.5s ease;
}

.pillar-panel:hover .pillar-img {
  transform: scale(1.05);
}

/* Title strip (default: horizontal) */
.pillar-title {
  background: #00273f;
  color: #fff;
  text-align: center;
  padding: 12px;
  transition: all 0.6s ease;
}

.pillar-title h3 {
  margin: 0;
  font-size: 18px;
  color: #ffffff;
}

/* Hidden content */
.pillar-content {
  display: none;
  padding: 20px;
  text-align: left;
  color: #00273f;
  background: #fff;
  overflow-y: auto;
  flex-shrink: 0;
}

/* Expanded pillar */
.pillar-panel.active {
  flex: 3;
}

.pillar-panel.active .pillar-content {
  display: block;
}

/* Shrunk pillars — only when another is active */
.pillars-container.active-mode .pillar-panel:not(.active) {
  flex: 0.7;
}

.pillars-container.active-mode .pillar-panel:not(.active) .pillar-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 14px;
  height: 100%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 992px) {
  .pillars-container {
    flex-direction: column;
    height: auto;
  }

  .pillar-panel,
  .pillar-panel.active,
  .pillar-panel:not(.active) {
    flex: unset;
    height: auto;
  }

  .pillar-title {
    writing-mode: horizontal-tb !important;
    transform: none !important;
    height: auto !important;
  }

  .pillar-content {
    display: block;
    position: relative;
  }
}

/* --------------------------------------------------------------
   7. About Feature Split
-------------------------------------------------------------- */
.about-feature .split {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.about-feature img {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------
   8. Events & Reports
-------------------------------------------------------------- */
.events-reports .grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.events-reports .card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}
.card-image img {
  width: 100%;
  display: block;
}
.card-body {
  padding: 1.5rem;
}
.card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

/* --------------------------------------------------------------
   9. CTA Strip
-------------------------------------------------------------- */
.cta-strip {
  background: var(--brand-burgundy);
  color: var(--white);
  text-align: center;
  padding: 3rem 1rem;
}
.cta-strip h2 {
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------
   10. Footer
-------------------------------------------------------------- */
.site-footer {
  background: var(--brand-navy);
  color: var(--white);
  padding: 3rem 1rem 1rem;
}
.footer-widgets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h3,
.footer-col h4 {
  margin-bottom: 0.8rem;
  color: var(--white);
}
.footer-col p,
.footer-col a {
  font-size: 12px;
}
.footer-link {
  color: var(--brand-amber);
}
.footer-link:hover {
  color: var(--brand-burgundy);
}
.footer-social a {
  margin-right: 0.5rem;
  color: var(--white);
  font-weight: bold;
  font-size:16px;
}
.newsletter-form {
  margin-top: 1rem;
  display: flex;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.5rem;
  border: none;
  border-radius: 3px 0 0 3px;
}
.newsletter-form button {
  background: var(--brand-amber);
  color: var(--white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
}
.newsletter-form button:hover {
  background: var(--brand-burgundy);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
  font-size: 0.8rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-legal {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.footer-legal li {
  margin-left: 1rem;
}

/* Accessibility Toolbar */
#accessibility-toolbar {
  position: fixed;
  bottom: 15px;
  right: 70px;
  z-index: 9999;
}

#accessibility-toggle {
  background: rgb(0, 61, 104) !important;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: background 0.3s;
}
#accessibility-toggle:hover {
  background: #00273f;
}

#accessibility-panel {
  display: none;
  position: absolute;
  bottom: 60px;
  right: 0;
  background: #fff;
  border: 2px solid #00273f;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  width: 220px;
}
#accessibility-panel.active {
  display: block;
}

#accessibility-panel .a11y-btn {
  display: block;
  width: 100%;
  margin: 5px 0;
  padding: 8px;
  font-size: 14px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
}
#accessibility-panel .a11y-btn:hover {
  background: #00273f;
  color: #fff;
}
#a11y-icon,
#a11y-icon img {
  width: 24px;
  height: 24px;
}

#accessibility-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #590c05; /* maroon */
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: background 0.3s;
}

#accessibility-toggle:hover {
  background: #00273f; /* navy */
}

#a11y-icon {
  width: 28px;
  height: 28px;
  display: block;
}
#accessibility-toggle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  background: #004080; /* example: dark blue */
  border-radius: 50%;   /* makes it circular */
  cursor: pointer;

  transition: background 0.3s ease;
}

#accessibility-toggle:hover,
#accessibility-toggle:focus {
  background: #0066cc;
  outline: 2px solid #fff; /* visible focus */
  outline-offset: 2px;
}


/* High contrast */
.high-contrast {
  background: #000 !important;
  color: #fff !important;
}
.high-contrast a { color: yellow !important; }

/* Grayscale */
.grayscale {
  filter: grayscale(100%);
}

/* Highlight links */
.highlight-links a {
  background: yellow !important;
  color: #000 !important;
  padding: 2px 4px;
}

/* Dyslexia-friendly font */
@font-face {
  font-family: "OpenDyslexic";
  src: url("https://cdn.jsdelivr.net/npm/open-dyslexic@1.0.3/otf/OpenDyslexic3-Regular.otf");
}
.dyslexia-font {
  font-family: "OpenDyslexic", Arial, sans-serif !important;
}

/* Make sure both are truly viewport-fixed */
#accessibility-toggle,
#scroll-top {
  position: fixed !important; /* lock to viewport */
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;   /* large enough for accessibility */
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
}

/* Accessibility button bottom right */
#accessibility-toggle {
  bottom: 15px;
  right: 80px;
}

/* Scroll-to-top button above it */
#scroll-top {
  bottom: 80px; /* stacked above accessibility button */
  right: 15px;
}


/* --------------------------------------------------------------
   11. Responsive
-------------------------------------------------------------- */
@media (max-width: 992px) {
  .pillars-grid { grid-template-columns: repeat(2,1fr); }
  .events-reports .grid { grid-template-columns: repeat(2,1fr); }
  .about-feature .split { flex-direction: column; }
  .footer-widgets { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .primary-navigation {
    display: none;
    flex-direction: column;
    background: var(--white);
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    border-top: 1px solid #eee;
    padding: 1rem;
  }
  .primary-navigation.open { display: flex; }
  .nav-toggle { display: block; }
  .footer-widgets { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pillars-grid, .events-reports .grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2rem; }
}
/* Logo Styling */
.site-branding img {
  max-height: 60px;   /* Adjust this value as needed (50–80px is common) */
  width: auto;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .site-branding img {
    max-height: 45px; /* Slightly smaller logo on mobile */
  }
}

/* ---------------------------
   Footer legal list & layout fixes
   Removes bullets/markers, resets spacing,
   ensures good alignment on desktop + mobile
   --------------------------- */

/* reset and layout for footer bottom + legal links */


/* Remove any list markers, padding, margin and ensure LTR ordering */
.footer-legal {
  list-style: none !important;       /* remove bullets */
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  direction: ltr;                     /* guard against accidental RTL */
}

/* remove any marker pseudoelement left by other rules */
.footer-legal li,
.footer-legal li::marker {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* links styling */
.footer-legal a {
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
}
.footer-legal a:hover,
.footer-legal a:focus {
  text-decoration: underline;
}

/* Mobile: center and stack */
@media (max-width: 767px) {
  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .footer-legal {
    justify-content: center;
    gap: 0.5rem;
  }

  .footer-legal li {
    width: auto;
  }
}

/* ---------------------------
   About Section
---------------------------- */
.about-section {
  background: #00273f; /* same blue as header */
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

.about-title {
  font-size: 32px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  color: #fff;
}

.about-text {
  max-width: 630px;
  margin: 0 auto 40px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Video */
.impact-video-wrapper {
  max-width: 900px;
  margin: 0 auto 60px;
}
.impact-video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

/* Mission & Vision */
.oii-values {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.oii-col {
  background: rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: 12px;
  flex: 1 1 300px;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.oii-col i {
  font-size: 36px;
  margin-bottom: 15px;
  color: #d95a00;
}

.oii-title {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #fff;
}

.oii-content {
  font-size: 14px;
  line-height: 1.6;
  color: #e5e5e5;
}

/* Responsive */
@media (max-width: 768px) {
  .about-title {
    font-size: 26px;
  }
  .about-text {
    font-size: 16px;
  }
  .oii-values {
    flex-direction: column;
    gap: 20px;
  }
}
/* Default (light background) */
.site-header.on-light .primary-navigation a {
  color: #000; /* normal text color */
}

/* Dark backgrounds */
.site-header.on-dark .primary-navigation a {
  color: #fff; /* white text */
}

/* === Our Communities - Abt Us section === */
.oii-communities-section {
  background: #f5f7fa;
  padding: 80px 20px;
  color: #00273f;
}
.oii-communities-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.oii-communities-left,
.oii-communities-right {
  flex: 1 1 500px;
}
.oii-tag-communities {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: #D95A00;
  margin-bottom: 15px;
}
.oii-title-community {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #00273f;
}
.oii-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #333;
}
.oii-btn {
  display: inline-block;
  background: #0077b6;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.oii-btn:hover {
  background: #005b8c;
}
.oii-communities-right img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .oii-communities-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .oii-communities-left,
  .oii-communities-right {
    max-width: 100%;
  }
}

/* === Strategic plan === */
.oii-strategic-section {
  background-color: #590c05;
  padding: 80px 20px;
  color: #ffffff;
}
.oii-strategic-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.oii-strategic-tag {
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #ffb89a;
  margin-bottom: 10px;
  font-weight: 600;
	text-align: center;
}

.oii-strategic-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: 700;
	text-align: center;
}

.oii-strategic-text {
  font-size: 1.1rem;
  line-height: 1.7;
	max-width: 800px;
	margin: 0 auto;
  margin-bottom: 30px;
  color: #f2e8e6;
	text-align: center;
}

.oii-strategic-btn {
  display: inline-block;
  background: #d95a00;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 50px;
  transition: background 0.3s ease;
	text-align: center;
}
.oii-strategic-btn:hover {
  background: #b74700;
}

/* Strategy Cards */
.oii-strategy-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.oii-strategy-card {
  flex: 1 1 300px;
  border: 1px solid #d95a00;
  padding: 30px 20px;
  border-radius: 12px;
  background: transparent;
  text-align: center;
  transition: background 0.3s ease;
}

.oii-strategy-card svg {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  fill: transparent;
}

.oii-strategy-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
	font-family: Antonio, 'Jost', sans-serif;
}

.oii-strategy-text {
  font-size: 1rem;
  color: #e7dcd9;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .oii-strategy-cards {
    flex-direction: column;
    align-items: center;
  }
}

/* === Leadership section abt-us === */
.oii-leadership-section {
  background: #f0f4f8;
  padding: 80px 20px;
  color: #00273f;
}
.oii-leadership-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.oii-leadership-left,
.oii-leadership-right {
  flex: 1 1 500px;
}
.oii-tag-leadership {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: #d95a00;
  margin-bottom: 15px;
}
.oii-title-leadership {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #00273f;
}
.oii-text-leadership {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #333;
}
.oii-btn-leadership {
  display: inline-block;
  background: #d95a00;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.oii-btn-leadership:hover {
  background: #a74500;
}
.oii-leadership-left img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .oii-leadership-wrapper {
    flex-direction: column;
  }
  .oii-leadership-left,
  .oii-leadership-right {
    max-width: 100%;
    text-align: left;
  }
}

/* --------------------------------------------------------------
   Partners Section
-------------------------------------------------------------- */
.partners-section {
  background: #E37B33; /* amber */
  color: #fff;
  padding: 100px 0;
}

.partners-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.partners-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  color: #fff;
}

.partners-header p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
}

/* Grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: start;   /* ensures not centered */
}

.partner img {
  max-height: 80px;
  width: auto;
  display: block;
}

/* ===  Team === */
.oii-teams-hero {
  background-color: #00273f;
  padding: 100px 20px;
  color: #ffffff;
  text-align: center;
}
.oii-teams-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}
.oii-teams-hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #D95A00;
}
.oii-teams-hero p {
  font-size: 1.1rem;
  line-height: 1.7;
}

.oii-teams-section {
  background: #ffffff;
  padding: 80px 20px;
}
.oii-teams-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
.oii-team-group {
  margin-bottom: 60px;
}
.oii-team-group h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: ##D95A00;
}
.oii-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
@media (min-width: 1024px) {
  .oii-team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.oii-team-box {
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  cursor: pointer;
}
.oii-team-image {
  height: 260px;
  overflow: hidden;
}
.oii-team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.oii-team-info {
  background-color: #00273f;
  padding: 20px;
  height: 260px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.oii-team-info h4 {
  margin: 0 0 10px;
  font-size: 1.25rem;
	color:#D95A00;
}
.oii-team-info p {
  margin: 0 0 10px;
  font-size: 1rem;
  opacity: 0.85;
}
.oii-team-info a {
  color: #d95a00;
  font-weight: 600;
  text-decoration: none;
}

/* Modal Styles */
.oii-modal {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.oii-modal-content {
  background: #fff;
  max-width: 600px;
  width: 100%;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  position: relative;
}
.oii-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}
.oii-modal-content img {
  max-width: 200px;
  border-radius: 50%;
  margin-bottom: 20px;
  margin: 0 auto 20px auto;
}
.oii-modal-content h3 {
  font-size: 1.75rem;
  margin-bottom: 10px;
  color: #00273f;
}
.oii-modal-content .oii-role {
  font-weight: 600;
  color: #d95a00;
  margin-bottom: 20px;
}
.oii-modal-content p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.annual-reports {
  background: #590c05;
  padding: 80px 20px;
  color: #ffffff;
  text-align: center;
}

.annual-reports .reports-title {
  font-size: 2.2rem;
  max-width: 500px;
  margin: 0 auto 40px;
  margin-bottom: 40px;
  font-family: var(--font-heading);
  color: #ffffff;
}

.reports-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.report-card {
  width: 280px;
  height: 360px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  position: relative;
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.report-card:hover {
  transform: rotate(0deg) scale(1.03);
}

.report-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 39, 63, 0.65); /* semi-transparent so text is always visible */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  opacity: 1; /* make it visible by default */
  transition: background 0.3s ease;
}

.report-card:hover .report-overlay {
  background: rgba(0, 39, 63, 0.85); /* darken slightly on hover */
}

.report-overlay h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #fff;
}


.report-card:hover .report-overlay {
  opacity: 1;
}

.report-overlay h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #fff;
}


.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.career-card {
  border: 2px solid var(--brand-navy);
  border-radius: 12px;
  padding: 2rem;
  background: #fff;
  color: var(--brand-navy);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.career-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--brand-navy);
}

.career-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.career-card ul li {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.career-card {
  background: #fff;
  border: 2px solid #00273f;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.career-card h3 {
  margin-top: 0;
  color: #00273f;
}

.career-card p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.btn-apply {
  display: inline-block;
  margin-top: 1rem;
  padding: 10px 20px;
  border-radius: 6px;
  background: #D95A00;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-apply:hover {
  background: #590c05;
}

.blog-header {
  background-color: #00273f;
  color: white;
  text-align: center;
  padding: 60px 20px;
}
.blog-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.blog-header p {
  font-size: 1.2rem;
  opacity: 0.85;
}

/* Controls layout */
.blog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 20px;
  gap: 20px;
}
.blog-controls-left,
.blog-controls-right {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}
.blog-controls select,
.blog-controls input[type="search"],
.blog-controls input[type="submit"] {
  padding: 10px;
  font-size: 1rem;
}

.blog-grid-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}
.blog-post {
  background: #00273f;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.blog-post img {
  width: 100%;
  height: auto;
  display: block;
}
.blog-post-content {
  padding: 20px;
  background: #00273f;
}
.blog-pagination {
  text-align: center;
  margin-top: 40px;
}
	
	.blog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 20px;
  gap: 20px;
}

.blog-controls-left select {
  padding: 10px;
  font-size: 1rem;
}

.blog-controls-right {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 15px;
}

.blog-controls-right input[type="search"],
.blog-controls-right select,
.blog-controls-right input[type="submit"] {
  padding: 10px;
  font-size: 1rem;
}

/* Buttons */

input[type="submit"] {
  background-color: #00273f;
  color: #fff;
  padding: 10px 20px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  transition: background 0.3s ease;
  cursor: pointer;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
  background-color: #D95A00;
  color: #fff;
}

/* ================================
   Integration & Belonging Page
================================ */

/* --- Hero --- */
.integration-hero {
  position: relative;
  width: 100%;
  height: 100vh; /* fullscreen */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  overflow: hidden;
}

.integration-hero .hero-video,
.integration-hero .hero-image,
.integration-hero .hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.integration-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 39, 63, 0.55); /* semi-transparent navy overlay */
  z-index: 2;
}

.integration-hero .hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding: 2rem;
}

.integration-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.integration-hero p {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 550px;
}


/* --- Belonging Section (Explore) --- */
.belonging-section {
  padding: 80px 20px;
  color: var(--brand-navy);
}

.belonging-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.belonging-text {
  flex: 1 1 40%;
}

.belonging-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.belonging-text p {
  font-size: 1rem;
  line-height: 1.6;
}

.belonging-cards {
  flex: 1 1 50%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.belonging-card {
  background: transparent;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--brand-navy);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.belonging-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--brand-navy);
}

.belonging-card a {
  font-weight: 600;
  text-decoration: none;
  color: var(--brand-orange);
}

.belonging-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
  .integration-hero h1 {
    font-size: 2rem;
  }
  .integration-hero p {
    font-size: 1rem;
  }
  .belonging-container {
    flex-direction: column;
    text-align: center;
  }
  .belonging-cards {
    grid-template-columns: 1fr;
  }
}

/* Beyond Integration */
.beyond-integration {
  background: #ED9C66;
  padding: 100px 20px;
  color: var(--brand-navy);
}
.beyond-integration h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.beyond-integration .section-intro {
  max-width: 650px;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Tabs Navigation */
.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.tab-link {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 6px;
  background: rgba(255,255,255,0.3);
  color: var(--brand-navy);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.tab-link.active,
.tab-link:hover {
  background: var(--brand-navy);
  color: #fff;
}

/* Tab Content */
.tab-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}
.tab-panel.active {
  display: block;
}

/* Layout Variants */
.tab-layout.two-col {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.tab-layout.two-col.reverse {
  flex-direction: row-reverse;
}
.tab-text {
  flex: 1;
}
.tab-image {
  flex: 1;
}
.tab-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}
.tab-layout.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.tab-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.tab-layout.centered {
  text-align: center;
}
.tab-icons {
  margin-top: 1rem;
  font-size: 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  color: var(--brand-navy);
}

@media (max-width: 768px) {
  .tab-layout.two-col,
  .tab-layout.two-col.reverse {
    flex-direction: column;
  }
  .tab-layout.cards {
    grid-template-columns: 1fr;
  }
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================
   HERO SECTION
============================ */
.project-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--brand-navy);
  overflow: hidden;
}

.project-hero video,
.project-hero img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.project-hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.project-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
  margin-left: 20px;
  text-align: center;
justify-content: flex-start; /* keep content left */
}

.project-hero-content h1 {
  font-size: 2.5rem;
  color:#ffffff;
  margin-bottom: 1rem;
}

.project-hero-content p {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
}

/* ============================
   GOALS ACCORDION
============================ */
.project-goals {
  background: var(--brand-navy);
  padding: 3rem 0;
}

.project-goals .accordion-buttons {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.accordion-buttons button {
  flex: 1;
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 0.75rem 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-buttons button.active {
  background: var(--white);
  color: var(--brand-navy);
}

.accordion-content {
  background: #fff;
  padding: 3rem;

  margin: 0 auto;
  display: none;
}

.accordion-content.active {
  display: block;
  margin-top: 1rem;
  text-align: center;
}



.accordion-content img {
  max-width: 100%;
  margin: 1.5rem 0;
  border-radius: 6px;
}

/* ============================
   ACTIVITIES SECTION
============================ */
.project-activities {
  padding: 3rem 1rem;
  background: #fff;
}

.project-activities h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.activity-cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.activity-card {
  flex: 0 0 300px;
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ============================
   IMPACT VIDEO
============================ */
.project-impact {
  background: var(--brand-navy);
  padding: 4rem 1rem;
  text-align: center;
}

.project-impact video,
.project-impact iframe {
  max-width: 900px;
  width: 100%;
  border-radius: 8px;
}

/* ============================
   SUPPORTERS
============================ */
.project-supporters {
  padding: 3rem 1rem;
  text-align: center;
}

.supporter-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.supporter-logos img {
  max-height: 70px;
  width: auto;
}

.project-supporters p {
  font-size: 1rem;
  font-style: italic;
  margin-top: 1rem;
}

/* ============================
   GALLERY
============================ */
.project-gallery {
  padding: 3rem 1rem;
  background: #fafafa;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

/* Accordion strip (navy background, fullwidth, contained) */
.project-goals .accordion-buttons {
  background: var(--brand-navy);
  padding: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.project-goals .accordion-buttons button {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.project-goals .accordion-buttons button.active,
.project-goals .accordion-buttons button:hover {
  background: var(--brand-amber);
  border-color: var(--brand-amber);
  color: var(--brand-navy);
}

/* Accordion content area (white background, max-width) */
.project-goals .accordion-content {
  display: none;
  background: #fff;
  max-width: 700px;
  margin: 2rem auto;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.project-goals .accordion-content.active {
  display: block;
}

.project-goals .accordion-content img {
  max-width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: 4px;
}

/* ============================
   Programs
============================ */

.program-hero {
  position: relative;
  color: var(--white);
  min-height: 80vh;
  display: block;
  overflow: hidden;
}

.program-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--brand-navy);
  overflow: hidden;
}

/* iframe / video / image fill and cover */
.program-hero .hero-bg iframe,
.program-hero .hero-bg .hero-video-el,
.program-hero .hero-bg .hero-image-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -o-object-fit: cover;
  display: block;
  border: 0;
}

/* small fallback block when no media */
.program-hero .hero-bg .hero-fallback {
  width: 100%;
  height: 100%;
  background: var(--brand-navy);
}

/* overlay content (contained and left aligned) */

.program-hero .hero-overlay-inner {
  display: flex;
  align-items: flex-start;
}
.program-hero .hero-content {
  max-width: 55%;
  text-align: left;
  margin-top: 90px;
  margin-left: 40px;
}
.program-hero .hero-title {
  margin: 0 0 2rem;
  color: #fff;
  font-size: clamp(1.9rem, 4.2vw, 3.4rem); /* responsive */
  line-height: 1.02;
}
.program-hero .hero-intro {
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
}

/* Quick Links */
.quick-links {
  position: absolute;
  left: 0;
  right: 0;
  padding:20px;
  background: var(--brand-amber);
  bottom: 0px;
  z-index: 3;
  pointer-events: auto;
}
.quick-links-inner {
  display:flex;
  align-items:center;
  gap:1rem;
}
.quick-links .ql-label {
  color: rgba(255,255,255,0.95);
  font-weight:600;
  font-size: 1.2rem;
  margin-right: .95rem;
}
.quick-links .ql-list {
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  gap:0.75rem;
  flex-wrap:wrap;
}
.quick-links .ql-list a {
  display:inline-block;
  text-decoration:none;
  color: var(--brand-navy);
  padding: .45rem .99rem;
  border-radius: 6px;
  font-weight:100;
}

/* Responsive */
@media (max-width: 900px) {
  .program-hero .hero-content { max-width: 100%; }
  .program-hero .hero-overlay { padding: 3.5rem 1rem 4rem; }
  .program-hero .hero-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .quick-links { bottom: 12px; }
}

/* ============================
   OBJECTIVES SECTION
   ============================ */
/* General container */
.program-overview {
  background: #ffffff; /* your navy */
  color: #00273f;
  padding: 60px 20px;
}
.program-overview .container {
  max-width: 1200px;
  margin: 0 auto;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 768px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
}

/* Text */
.overview-subheading {
  font-size: 0.9rem;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 10px;
}
.overview-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.overview-content {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #fff;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s, color 0.3s;
}
.btn-outline:hover {
  background: #fff;
  color: #00273f;
}

/* Media */
.overview-media {
  position: relative;
}
.overview-image,
.overview-media video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.video-wrapper {
  position: relative;
}
.video-wrapper::after {
  content: "▶";
  font-size: 40px;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.8;
}

.program-curriculum {
  background: var(--brand-navy);
  color: #fff;
  padding: 60px 20px;
}

.curriculum-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left column */
.curriculum-intro {
  flex: 1 1 30%;
}
.curriculum-intro h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--brand-amber);
}
.curriculum-intro p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Right cards */
.curriculum-cards {
  flex: 1 1 65%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.curriculum-card {
  background: transparent;
  color: #ffffff;
  border: 1px solid #00B5E2;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.curriculum-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}
.curriculum-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 900px) {
  .curriculum-grid {
    flex-direction: column;
  }
}

/* -----------------------------
   Reports Section
----------------------------- */
/* -----------------------------
   Reports Section
----------------------------- */
#program-reports {
  background: var(--brand-navy);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

#program-reports .reports-title {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #ffffff;
}

.reports-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reports-track {
  display: flex;
  gap: 24px;
  overflow: hidden;
  scroll-behavior: smooth;
  max-width: 1200px;
}

.report-card {
  background: #fff;
  color: var(--brand-navy);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform .3s ease;
  position: relative;
}

.report-card.tilt-left { transform: rotate(-3deg); }
.report-card.tilt-right { transform: rotate(3deg); }

.report-card:hover {
  transform: scale(1.05);
  z-index: 10;
}

.report-card .card-image {
  width: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 12px 12px 0 0;
}

.report-card .card-title {
  padding: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}
/* Portrait cards */
.report-card.portrait {
  flex: 0 0 220px;
  height: 340px;
}
.report-card.portrait .card-image {
  height: 220px;
}

/* Landscape cards */
.report-card.landscape {
  flex: 0 0 320px;
  height: 220px;
}
.report-card.landscape .card-image {
  height: 140px;
}

/* Tilt effects */
.report-card.tilt-left { transform: rotate(-3deg); }
.report-card.tilt-right { transform: rotate(3deg); }
.report-card:hover { transform: scale(1.05); z-index: 10; }

/* Slider arrows */
.slider-btn {
  background: var(--brand-amber);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 8px 20px;
  cursor: pointer;
  border-radius: 50%;
  margin: 0 10px;
  transition: background .3s;
}
.slider-btn:hover {
  background: #d67c00;
}

/* Modal */
.report-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.report-modal.active { display: flex; }

.modal-content {
  background: #fff;
  color: var(--brand-navy);
  padding: 20px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: left;
  position: relative;
}

.modal-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
}

.modal-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.modal-excerpt {
  font-size: 1rem;
  margin-bottom: 20px;
}

.modal-link {
  display: inline-block;
  background: var(--brand-amber);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* -----------------------------
   Manager / Quote Section
----------------------------- */
#program-manager {
  padding: 80px 20px;
  background: var(--brand-light);
  color: var(--brand-navy);
}

.manager-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.manager-text {
  flex: 1 1 60%;
}

.quote-icon svg {
  color: var(--brand-amber);
  margin-bottom: 20px;
}

.quote-text {
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--brand-navy);
}

.manager-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--brand-navy);
}

.manager-title {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: var(--brand-amber);
}

.manager-contact {
  font-size: 0.9rem;
  color: var(--brand-navy);
}

.manager-media {
  flex: 0 0 280px;
  max-width: 280px;
  text-align: center;
}

.manager-media img,
.manager-media video {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5; /* keeps portrait frame */
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
  
@media (max-width: 768px) {
  .manager-container {
    flex-direction: column;
    text-align: center;
  }
  .manager-media {
    margin-top: 30px;
    max-width: 220px;
  }
}
/* Quote wrapper with icons */
.quote-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.quote-icon-left,
.quote-icon-right {
  flex-shrink: 0;
  color: var(--brand-amber); /* inherits because SVG uses fill="currentColor" */
}

.quote-text {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--brand-navy);
}

.project-hero-content h3 {
  color: #ffffff;
}

.services-header .wp-block-heading, .reports-header h2 {
  font-size:0.9rem;
  text-transform: uppercase;
  color: #d95a00;
}

/* === STREAM HERO === */
.stream-program-hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
}
.stream-program-hero .hero-bg img,
.stream-program-hero .hero-bg video,
.stream-program-hero .hero-bg iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stream-program-hero .hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}
.stream-program-hero .hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}
.stream-program-hero .hero-intro {
  font-size: 1rem;
	
  font-weight: 300;
  color: #fff;
}

/* === STREAM CURRICULUM === */
/* -------------------------
   STREAM: Curriculum two-column layout
   H2 on left, cards on right (falls back to stacked on mobile)
   ------------------------- */
.stream-program-curriculum {
  padding: 48px 20px;
  background: #d95a00;
  color: #fff;
  box-sizing: border-box;

}

/* container row (left H2 + right cards) */
.stream-program-curriculum .stream-curriculum-grid {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: nowrap; /* keep side-by-side on desktop */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* left column (heading) */
.stream-program-curriculum .stream-curriculum-intro {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
  min-width: 220px; /* prevents collapses */
  display: flex;
  align-items: center; /* center vertically */
  padding-right: 12px;
}
.stream-program-curriculum .stream-curriculum-intro .heading {
  margin: 0;
  font-size: clamp(2.9rem, 2.9vw, 2.9rem);
  line-height: 1.08;
  font-weight: 700;
  color: #ffffff;
	margin-top:150px;
}

/* right column (cards) */
.stream-program-curriculum .stream-curriculum-cards {
  flex: 1 1 66.6667%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 columns desktop */
  gap: 20px;
  align-items: start;
}

/* card */
.stream-program-curriculum .stream-curriculum-card {
  background: transparent;
  color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #ffffff;
  box-shadow: 0  rgba(0,0,0,0.6);
  transition: transform .22s ease, box-shadow .22s ease;
  min-height: 250px;
  display: flex;
  flex-direction: column;
	text-align: center;
  justify-content: center;
}
.stream-program-curriculum .stream-curriculum-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
	font-weight:400;
}

/* If your bullet text includes <strong> or <b>, make it stand out on its own line */
.stream-program-curriculum .stream-curriculum-card strong,
.stream-program-curriculum .stream-curriculum-card b {
  display: block;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.08rem;
  color: #00273f;
}

/* hover */
.stream-program-curriculum .stream-curriculum-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

/* responsive: collapse to single column on smaller screens */
@media (max-width: 980px) {
  .stream-program-curriculum .stream-curriculum-grid {
    flex-direction: column;
    gap: 22px;
  }
  .stream-program-curriculum .stream-curriculum-intro {
    max-width: 100%;
    flex-basis: auto;
    padding-right: 0;
    text-align: left;
  }
  .stream-program-curriculum .stream-curriculum-cards {
    grid-template-columns: 1fr; /* single column on mobile */
  }
}

/* ---------------------------------------
   Communities Teams Section - High-End
--------------------------------------- */
/* Wrapper */
.oii-communities-teams-wrapper {
    padding: 60px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Page featured image at top */
.oii-communities-page-featured {
    text-align: center;
    margin-bottom: 50px;
}

.oii-page-featured-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* Grid layout */
.oii-communities-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* Team card */
.oii-communities-team-box {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.oii-communities-team-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

/* Team image: portrait style */
.oii-team-1-image img.oii-team-portrait {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

/* Title sticker */
.oii-team-info-1 {
    background: #00273f;  /* your primary blue */
    padding: 12px 1px;
    text-align: center;
}

.oii-team-1-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
}

.oii-team-1-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.oii-team-1-title a:hover {
    color: #590c05; /* your accent red */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .oii-communities-team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .oii-team-1-image img.oii-team-portrait {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .oii-communities-team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .oii-team-1-image img.oii-team-portrait {
        height: 250px;
    }
}

.stream-program-curriculum .stream-curriculum-card p a {
	color: #00273f;
}