/*
Theme Name: OII Theme v2
Theme URI: https://ontariointegration.ca
Description: Next-generation theme for the Ontario Integration Initiative (OII)
Author: OII
Version: 2.0
Text Domain: oii
*/

/* ============================================================
   0. CSS VARIABLES & DESIGN TOKENS
   ------------------------------------------------------------ */

:root {
    /* Brand Colors */
	--brand-navy: #00273f;
  	--brand-amber: #D95A00;
  	--brand-burgundy: #590c05;
  	--white: #ffffff;
    --oii-navy:       #00273f;
    --oii-orange:     #d95a00;
    --oii-burgundy:   #590c05;
    --oii-cream:      #faf7f3;
    --oii-soft-blue:  #eef4f8;

    /* Neutrals */
    --oii-white:      #ffffff;
    --oii-black:      #0f1216;
    --oii-grey-50:    #f9fafb;
    --oii-grey-100:   #f3f4f6;
    --oii-grey-200:   #e5e7eb;
    --oii-grey-300:   #d1d5db;
    --oii-grey-400:   #9ca3af;
    --oii-grey-500:   #6b7280;
    --oii-grey-600:   #4b5563;
    --oii-grey-700:   #374151;
    --oii-grey-800:   #1f2937;
    --oii-grey-900:   #111827;

    /* Gradient bases */
    --oii-grad-navy: linear-gradient(135deg, #00273f, #021220);
    --oii-grad-orange: linear-gradient(135deg, #d95a00, #a14100);
    --oii-grad-burgundy: linear-gradient(135deg, #590c05, #2e0a04);

    /* Typography */
    --font-body: "Inter", "Plus Jakarta Sans", Arial, sans-serif;
    --font-heading: "Sora", system-ui, sans-serif;

    /* Sizes */
    --fs-base: 1rem;
    --fs-sm: 0.875rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.45rem;

    /* Layout */
    --section-padding: 4.5rem;
    --container-width: 1200px;

    /* Effects */
    --shadow-soft: 0 6px 20px rgba(0,0,0,0.08);
    --shadow-card: 0 14px 36px rgba(0,0,0,0.12);
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.25s ease;
}


/* ============================================================
   1. RESET & BASE
   ------------------------------------------------------------ */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--oii-grey-800);
    background-color: var(--oii-white);
    margin: 0;
    padding: 0;
}

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

a {
    color: var(--oii-navy);
    text-decoration: none;
    transition: var(--transition);
}
a:hover, a:focus-visible {
    color: var(--oii-orange);
}

button {
    font-family: inherit;
    cursor: pointer;
}

hr {
    border: 0;
    height: 1px;
    background: var(--oii-grey-200);
}


/* ============================================================
   2. GLOBAL LAYOUT UTILITIES
   ------------------------------------------------------------ */

/* GLOBAL CONTAINER — consistent everywhere */
.oii-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
}

/* Mobile spacing fix */
@media (max-width: 768px) {
    .oii-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.oii-section {
    padding-block: var(--section-padding);
}

.oii-centered {
    text-align: center;
}

.oii-grid {
    display: grid;
    gap: 2rem;
}


/* ============================================================
   3. TYPOGRAPHY
   ------------------------------------------------------------ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--oii-grey-900);
    font-weight: 700;
    line-height: 1.25;
    margin-top: 0;
}

h1 { font-size: clamp(2.2rem, 3vw, 3rem); }
h2 { font-size: clamp(1.8rem, 2.5vw, 2.25rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--oii-grey-700);
}


/* ============================================================
   4. BUTTONS
   ------------------------------------------------------------ */

.oii-button,
button.oii-button,
a.oii-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-md);
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: var(--transition);
    background: var(--oii-grad-navy);
    color: var(--oii-white);
}

.oii-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}


/* Alt buttons */
.oii-button-orange {
    background: var(--oii-grad-orange);
    color: var(--oii-white);
}
.oii-button-burgundy {
    background: var(--oii-grad-burgundy);
    color: var(--oii-white);
}

.oii-button-outline {
    background: transparent;
    border: 2px solid var(--oii-navy);
}


/* ============================================================
   5. CARD SYSTEM
   ------------------------------------------------------------ */

.oii-card {
    background: var(--oii-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.oii-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.oii-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.oii-card-body {
    padding: 1.25rem;
}

.oii-card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.oii-card-meta {
    font-size: 0.85rem;
    color: var(--oii-grey-500);
}


/* ============================================================
   6. GRID LAYOUTS
   ------------------------------------------------------------ */

.oii-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}


/* ============================================================
   7. HERO COMPONENTS
   ------------------------------------------------------------ */

.oii-hero-simple {
    border-bottom: 1px solid var(--oii-grey-200);
	position: relative;
  padding: 92px 0 64px;
  color:#fff;
  overflow:hidden;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(217,90,0,.35), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(89,12,5,.35), transparent 55%),
    linear-gradient(135deg, #001a2b, var(--oii-navy));
}

.oii-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}

.oii-hero-subtitle {
    font-size: 1.1rem;
    color: var(--oii-grey-600);
}


/* ============================================================
   8. PAGINATION
   ------------------------------------------------------------ */

.oii-pagination {
    margin-top: 3rem;
}

.oii-pagination .page-numbers {
    display: inline-block;
    padding: 0.6rem 1rem;
    margin-inline: 0.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--oii-navy);
    background: var(--oii-grey-100);
    transition: var(--transition);
}

.oii-pagination .page-numbers.current {
    background: var(--oii-orange);
    color: var(--oii-white);
}

.oii-pagination .page-numbers:hover {
    background: var(--oii-grey-200);
}


/* ============================================================
   9. EMPTY STATE
   ------------------------------------------------------------ */

.oii-empty-state {
    text-align: center;
    padding: 4rem 1rem;
}

.oii-empty-inner h2 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.oii-empty-inner p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}


/* ============================================================
   10. FORMS
   ------------------------------------------------------------ */

input[type="text"],
input[type="email"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--oii-grey-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 1rem;
    transition: var(--transition);
    background: var(--oii-grey-50);
}

input:focus,
textarea:focus,
select:focus {
    outline: 0;
    border-color: var(--oii-orange);
    background: var(--oii-white);
}


/* ============================================================
   11. MISC UTILITIES
   ------------------------------------------------------------ */

.spacer {
    margin-block: 2rem;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.w-100 {
    width: 100%;
}

.d-none {
    display: none !important;
}


@media (max-width: 768px) {
    .oii-section {
        padding-block: 3rem;
    }
}

/* ============================================================
   FRONT PAGE — GLOBAL SECTION SPACING
   ============================================================ */

/* ============================================================
   HERO — LEFT-ALIGNED VERSION
   ============================================================ */

.oii-hero-left {
  position: relative;
  width: 100%;
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  color: #ffffff;
  padding: 0;
}

.oii-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.oii-hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) brightness(0.95);
}

.oii-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,0.1), rgba(0,0,0,0.45)),
    linear-gradient(to bottom right, rgba(0,0,0,0.05), rgba(0,0,0,0.45));
  z-index: 2;
}

.oii-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 600px;
  padding: 0 2rem;
  margin-left: 2rem;
  animation: fadeUp 1.2s ease forwards;
  opacity: 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.oii-hero-title {
  font-size: clamp(2.2rem, 4vw, 5rem);
  color: #ffffff;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

/* Buttons */
.oii-hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-oii {
  display: inline-flex;
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

/* Primary Button */
.btn-primary {
  background: var(--oii-navy);
  color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 10px 24px rgba(217,90,0,0.32);
}

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

/* Outline Button */
.btn-outline {
  border-color: rgba(255,255,255,0.75);
  color: #ffffff;
}

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

/* Mobile Adjustments */
@media (max-width: 768px) {
  .oii-hero-left {
    min-height: 80vh;
    justify-content: center;
  }

  .oii-hero-inner {
    margin-left: 0;
    text-align: center;
    padding: 0 1rem;
  }

  .oii-hero-buttons {
    justify-content: center;
  }
}
/* --------------------------------------------------------------
   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%;
  }
}

/* ==========================================================
   IMPACT SECTION (VIDEO + METRICS)
========================================================== */
.oii-voices-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.oii-voices-header .oii-kicker {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--brand-amber);
}

.oii-voices-header h2 {
  font-size: 32px;
  margin: 10px 0;
  color: var(--brand-navy);
}

.oii-voices-header p {
  color: #555;
  font-size: 18px;
}

.oii-impact {
  background: linear-gradient(135deg,#00273f,#03172d);
  color: #fff;
  padding: 5.5rem 0;
}

.oii-impact-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.oii-impact-header h2 {
  font-size: 2.4rem;
	color:#ffffff;
}

.oii-impact-header p {
  color: rgba(255,255,255,0.72);
  margin-top: .5rem;
}

/* Layout */
.oii-impact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* Video */
.oii-impact-video {
  width: 100%;
  border-radius: 1.25rem;
  box-shadow: 0 22px 50px rgba(0,0,0,0.35);
}

/* Metrics */
.oii-impact-metrics {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 2rem;
}

.oii-stat {
  border-left: 2px solid var(--oii-orange);
  padding-left: 1rem;
}

.oii-stat strong {
  display: block;
  font-size: 2rem;
}

.oii-stat span {
  font-size: .85rem;
  color: rgba(255,255,255,0.7);
}

.oii-impact-report {
  grid-column: span 2;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--oii-orange);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 900px){
  .oii-impact-grid{
    grid-template-columns:1fr;
  }
}

/* --------------------------------------------------------------
   FEATURE SNAPSHOT (Homepage)
-------------------------------------------------------------- */
.oii-feature-snapshot {
  padding: 100px 0;
}

.snapshot-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.snapshot-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.snapshot-content {
  padding-right: 20px;
}

.snapshot-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-amber);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.snapshot-title {
  font-size: 34px;
  font-weight: 700;
  margin: 12px 0 18px;
  color: var(--brand-navy);
}

.snapshot-excerpt {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #333;
}

.snapshot-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.snapshot-date {
  font-size: 14px;
  color: #777;
}

.snapshot-btn {
  background: var(--brand-navy);
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s ease;
}

.snapshot-btn:hover {
  background: var(--brand-amber);
  color: #fff;
}

.snapshot-image {
  display:block;
  border-radius:14px;
  overflow:hidden;
}

.snapshot-image img {
  transition: transform .4s ease;
}

.snapshot-image:hover img {
  transform: scale(1.04);
}

.snapshot-title a {
  color: inherit;
  text-decoration: none;
}

.snapshot-title a:hover {
  text-decoration: underline;
}

@media(max-width: 900px) {
  .snapshot-wrapper {
    grid-template-columns: 1fr;
  }
  .snapshot-image img {
    height: 260px;
  }
}


/* --------------------------------------------------------------
   9. Donate & Volunteer Section
-------------------------------------------------------------- */
.donate-volunteer {
  background: #00273f;
  color: #ffffff;
  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: 'Sora', Sanserif;
  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;
  }
}

/* =========================================================
   ABOUT US — PREMIUM INSTITUTIONAL STYLES
========================================================= */

.oii-eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .7rem;
  font-weight: 700;
  color: var(--brand-amber);
  margin-bottom: .8rem;
  display: inline-block;
}

/* HERO */
.oii-about-hero-premium {
  background: linear-gradient(180deg,#00273f 0%,#001b2e 100%);
  color: #fff;
  padding: 6rem 0 5rem;
}

.oii-hero-title {
  font-size: clamp(2.6rem,4vw,3.4rem);
  line-height: 1.15;
  max-width: 900px;
}

.oii-hero-lead {
  max-width: 720px;
  font-size: 1.05rem;
  opacity: .9;
  margin-top: 1.5rem;
}

/* TRUST BAR */
.oii-about-trust {
  background: #f6f7f9;
  padding: 2.2rem 0;
}

.oii-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 1.5rem;
  text-align: center;
}

.oii-trust-grid strong {
  display: block;
  font-size: .9rem;
}

/* SPLITS */
.oii-split-premium {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}

.oii-video-frame video {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}

/* MODEL */
.oii-model-premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 2rem;
}

.oii-model-premium-card {
  background: #fff;
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

/* PILLARS */
.oii-pillars-premium-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2rem;
}

/* BUTTONS */
.oii-btn-premium {
  background: var(--brand-amber);
  color: #fff;
  padding: .9rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.oii-btn-outline {
  border: 2px solid var(--brand-amber);
  color: var(--brand-amber);
  padding: .8rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
}

/* CTA */
.oii-about-cta-premium {
  background: #00273f;
  color: #fff;
  padding: 5rem 0;
}

/* Responsive */
@media (max-width: 900px) {
  .oii-split-premium {
    grid-template-columns: 1fr;
  }
  .oii-pillars-premium-grid {
    grid-template-columns: repeat(2,1fr);
  }
}
/* =========================================================
 ABOUT US — PREMIUM UPGRADE
========================================================= */

.oii-bg-navy {
  background: #00273f;
  color: #ffffff;
}

.oii-section-light {
  background: #ffffff;
  padding: 6rem 0;
}

.oii-section-soft {
  background: #f5f7fa;
  padding: 6rem 0;
}

.oii-container.oii-narrow {
  max-width: 820px;
}

.oii-eyebrow {
  font-size: 0.75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .7;
}

.oii-eyebrow-amber {
  color: #D95A00;
}

.oii-accent-bar {
  width: 70px;
  height: 4px;
  background: #D95A00;
  margin: 1.5rem 0 2.5rem;
}

/* HERO */
.oii-about-hero {
  padding: 3rem 0 6rem;
}

.oii-hero-title {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  margin-bottom: 1.2rem;
}

.oii-hero-lead {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.oii-hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
}

/* BUTTONS */
.oii-btn-primary {
  background: #D95A00;
  color: #fff;
  padding: .9rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.oii-btn-secondary {
  border: 2px solid #D95A00;
  color: #D95A00;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
}

.oii-btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
}

/* TRUST */
.oii-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 2rem;
}

.oii-trust-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,.06);
}

/* CARDS */
.oii-card {
  background: #ffffff;
  padding: 2.2rem;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}

/* GRIDS */
.oii-model-grid,
.oii-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 2rem;
}

.oii-pillar {
  background: #00273f;
  color: #fff;
  padding: 2rem;
  border-radius: 18px;
  text-align: center;
  font-weight: 600;
}

/* VIDEO */
.oii-video-wrapper video {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 25px 80px rgba(0,0,0,.25);
}

/* SPLIT */
.oii-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}

/* CTA */
.oii-about-cta {
  padding: 6.5rem 0;
  text-align: center;
}

/* =========================================
   LEGITIMACY BAND
========================================= */

.oii-legitimacy-band {
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 3.5rem 0;
}

.oii-legitimacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 2rem;
  text-align: center;
}

.oii-legitimacy-grid strong {
  display: block;
  font-size: 1rem;
  color: #00273f;
  margin-bottom: .4rem;
}

.oii-legitimacy-grid span {
  font-size: .85rem;
  color: #475569;
}

/* ===============================
   FEATURE VIDEO — EDITORIAL STYLE
================================ */

.oii-video-feature {
  padding: 5rem 0;
  color: #00273f;
}

.oii-video-intro {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.oii-video-intro h2 {
  color: #D95A00;
  margin-bottom: .6rem;
}

.oii-video-intro p {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: .9;
}

.oii-video-card {
  max-width: 880px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
  background: #000;
}

.oii-video-card video {
  width: 100%;
  display: block;
}
/* Leadership */

.oii-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 2rem;
}

.oii-team-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  transition: transform .2s ease;
}

.oii-team-card:hover {
  transform: translateY(-4px);
}

.oii-team-meta {
  padding: 1.2rem;
  text-align: center;
}

.oii-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: none;
  align-items: center;
  justify-content: center;
}

.oii-modal-content {
  background: #fff;
  max-width: 900px;
  border-radius: 18px;
  padding: 2rem;
}

/* ==========================================
   OII BLOG POST CARD (POSTS ONLY)
========================================== */

.oii-post-card {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 18px 42px rgba(0,39,63,0.10);
  margin-bottom: 32px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.oii-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 64px rgba(0,39,63,0.18);
}

/* IMAGE */
.oii-post-media {
  background: #00273f;
}

.oii-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BODY */
.oii-post-body {
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
}

.oii-post-title {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.25;
}

.oii-post-title a {
  color: #00273f;
  text-decoration: none;
}

.oii-post-title a:hover {
  color: #D95A00;
}

/* META */
.oii-post-meta {
  display: flex;
  gap: 14px;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 16px;
}

.oii-post-tag {
  font-weight: 600;
  color: #D95A00;
}

/* EXCERPT */
.oii-post-excerpt {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #334155;
  flex: 1;
}

/* CTA */
.oii-post-footer {
  margin-top: 18px;
}

.oii-post-cta {
  font-weight: 700;
  text-decoration: none;
  color: #D95A00;
  display: inline-flex;
  align-items: center;
}

.oii-post-cta:hover {
  color: #590c05;
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .oii-post-card {
    grid-template-columns: 1fr;
  }

  .oii-post-media {
    height: 220px;
  }
}

/* ================================
   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;
  color: #fff;
  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); }
}

/* === 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 */
  }
}

/* ============================
   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;
}

.program-hero .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, 0.55); /* overlay color */
  z-index: 2;
}

/* 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;
}
.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;
}

.program-hero .hero-overlay {
  position: relative;
  z-index: 3;
}

.program-hero .hero-content,
.program-hero .hero-title {
  position: relative;
  z-index: 4;
}


/* 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: 1rem;
  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:600;
	font-size: .90rem;
}

/* 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 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;
}

/* 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;
}

/* ===============================
   SINGLE POST — OII STANDARD
================================ */

.oii-post-hero {
  background: linear-gradient(180deg, #00273f, #001a2a);
  color: #fff;
  padding: 5rem 0 3rem;
}

.oii-post-eyebrow {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #D95A00;
  margin-bottom: .75rem;
}

.oii-post-title {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 900px;
	color:#fff;
}

.oii-post-meta {
  margin-top: 1rem;
  font-size: .85rem;
  opacity: .85;
}

.oii-post-media {
  background: #000;
}

.oii-media-frame img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
}

.oii-post-content {
  padding: 4rem 0;
}

.oii-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 3rem;
}

.oii-article {
  font-size: 1.05rem;
  line-height: 1.75;
}

.oii-article-aside h4 {
  margin-bottom: .5rem;
  font-size: .9rem;
  text-transform: uppercase;
}

.oii-tag-list a {
  display: inline-block;
  margin: 0 .25rem .5rem 0;
  padding: .35rem .6rem;
  background: rgba(0,39,63,.08);
  border-radius: 999px;
  font-size: .75rem;
}

.oii-related-posts {
  background: #f7f9fb;
  padding: 4rem 0;
}

.oii-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 2rem;
}

@media (max-width: 900px) {
  .oii-content-grid {
    grid-template-columns: 1fr;
  }
}
