/*
Theme Name: Center for Media Innovation Hub
Theme URI: https://cmihub.org
Author: CFMI-Hub Dev Team
Author URI: https://cmihub.org
Description: Custom WordPress theme for the Center for Media Innovation Hub — Empowering young creators, technologists and storytellers to shape the future of media.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cmihub
*/

/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {
    --navy: #071c3c;
    --navy-2: #0c2a5c;
    --blue: #1450c4;
    --blue-bright: #2e6bf0;
    --blaze: #ff4f12;
    --blaze-2: #ff7a3d;
    --ink: #0b1220;
    --slate: #5b6b85;
    --slate-light: #8b98ad;
    --paper: #f5f7fb;
    --line: #e3e8f2;
    --white: #ffffff;
    --card: #ffffff;
    --nav-bg: #071c3c;
}

/* =========================================================
   DARK MODE
   ========================================================= */

body.dark-mode {
    --paper: #000000;
    --white: #000000;
    --card: #000000;
    --ink: #f7f7f7;
    --line: #2b2b2b;
    --slate: #c7c7c7;
    --slate-light: #8f8f8f;
    --nav-bg: #000000;
}

body.dark-mode .navbar {
    background: var(--nav-bg);
}

body.dark-mode .search-box {
    background: #111111;
}

body.dark-mode .socials a {
    border-color: var(--line);
    color: #f7f7f7;
}

body.dark-mode .dropdown {
    background: var(--card);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.8);
}

body.dark-mode .dropdown a {
    color: var(--ink);
}

body.dark-mode .dropdown a:hover {
    background: var(--paper);
    color: var(--blue);
}

body.dark-mode .lab-card,
body.dark-mode .pillar-card,
body.dark-mode .event-card,
body.dark-mode .teaser-card,
body.dark-mode .member-form,
body.dark-mode .contact-panel {
    background: var(--card);
    border-color: var(--line);
}

body.dark-mode .member-form input,
body.dark-mode .member-form select {
    background: #111111;
    border-color: var(--line);
    color: var(--ink);
}

body.dark-mode .chip {
    border-color: var(--line);
    color: var(--ink);
}

body.dark-mode footer {
    background: #000000;
}

body.dark-mode .who-we-are-section,
body.dark-mode .stats-section,
body.dark-mode .member-panel,
body.dark-mode .signal-divider,
body.dark-mode .hero-stage {
    background-color: #000000;
}

body.dark-mode .topbar,
body.dark-mode .ticker-bar {
    background: #000000;
    border-color: var(--line);
}

/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    transition: background 0.25s ease, color 0.25s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
}

.wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

/* =========================================================
   PULSE ANIMATION
   ========================================================= */

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blaze);
    position: relative;
    flex-shrink: 0;
}

.pulse::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1.5px solid var(--blaze);
    animation: pulse-ring 1.8s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.5);
        opacity: 0.9;
    }

    100% {
        transform: scale(2.1);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pulse::after {
        animation: none;
    }

    * {
        animation-duration: 0.001ms !important;
    }
}

/* =========================================================
   TOP UTILITY BAR
   ========================================================= */

.topbar {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-left: 35px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

.socials a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    border: 1px solid var(--line);
    transition: 0.2s;
}

.socials a:hover {
    background: var(--blaze);
    border-color: var(--blaze);
    color: #fff;
}

.socials svg {
    width: 18px;
    height: 18px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 16px;
    background: var(--paper);
    min-width: 220px;
    transition: background 0.25s ease;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    width: 100%;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
}

.search-box svg {
    width: 15px;
    height: 15px;
    color: var(--slate);
    flex-shrink: 0;
}

/* =========================================================
   MAIN NAVIGATION - DESKTOP
   ========================================================= */

.navbar {
    background: var(--nav-bg);
    position: sticky;
    top: 0;
    z-index: 200;
    transition: background 0.25s ease;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
}

.nav-left {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.nav-left > li {
    position: relative;
}

.nav-left > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 16px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #dfe6f5;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.01em;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: 0.15s;
}

.nav-left > li > a svg {
    width: 10px;
    height: 10px;
    opacity: 0.7;
}

.nav-left > li > a:hover,
.nav-left > li.active > a {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-bottom-color: var(--blaze);
}

/* =========================================================
   DROPDOWN
   ========================================================= */

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 210px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 18px 36px rgba(4, 14, 35, 0.22);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: 0.18s ease;
    z-index: 50;
}

.nav-left > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
}

.dropdown a:hover {
    background: var(--paper);
    color: var(--blue);
}

/* =========================================================
   RIGHT SIDE OF NAVIGATION
   ========================================================= */

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 6px;
}

.donate-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #dfe6f5;
}

.donate-link:hover {
    color: #ffffff;
}

.nav-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
}

.partner-btn {
    background: var(--blaze);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 999px;
    transition: 0.2s;
    white-space: nowrap;
}

.partner-btn:hover {
    background: var(--blaze-2);
}

.icon-btn {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dfe6f5;
    border: 1px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
    transition: 0.15s;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.icon-btn svg {
    width: 14px;
    height: 14px;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--blaze);
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle {
    width: 38px;
    height: 21px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    border: none;
    padding: 0;
    transition: background 0.2s ease;
}

.toggle::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--blaze);
    transition: transform 0.2s ease;
}

.toggle.on {
    background: var(--blue-bright);
}

.toggle.on::after {
    transform: translateX(17px);
}

/* =========================================================
   MOBILE MENU ELEMENTS
   ========================================================= */

/* Hidden on desktop */
.mobile-brand,
.mobile-menu-button,
.mobile-menu-panel {
    display: none;
}

/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------------------
       TOP BAR
       ----------------------------------------------------- */

    .topbar {
        display: none;
    }

    /* -----------------------------------------------------
       MOBILE HEADER
       ----------------------------------------------------- */

    .navbar {
        position: relative;
        top: 0;
        width: 100%;
        background: #ffffff;
        z-index: 9999;
        border-bottom: 1px solid var(--line);
    }

    .navbar-inner {
        position: relative;
        width: 100%;
        min-height: 76px;
        padding: 8px 18px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    /* -----------------------------------------------------
       MOBILE LOGO
       ----------------------------------------------------- */

    .mobile-brand {
        display: block;
        width: 190px;
        flex-shrink: 0;
    }

    .mobile-brand img {
        display: block;
        width: 190px;
        height: auto;
        max-height: 60px;
        object-fit: contain;
    }

    /* -----------------------------------------------------
       HAMBURGER BUTTON
       ----------------------------------------------------- */

    .mobile-menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: none;
        border-radius: 8px;
        background: var(--navy);
        color: #ffffff;
        cursor: pointer;
        position: relative;
        z-index: 10002;
        flex-shrink: 0;
    }

    .mobile-menu-button span,
    .mobile-menu-button span::before,
    .mobile-menu-button span::after {
        display: block;
        width: 22px;
        height: 2px;
        background: currentColor;
        position: absolute;
        content: "";
        transition: 0.25s ease;
    }

    .mobile-menu-button span {
        position: relative;
    }

    .mobile-menu-button span::before {
        top: -7px;
    }

    .mobile-menu-button span::after {
        top: 7px;
    }

    /* -----------------------------------------------------
       HIDE DESKTOP MENU ON MOBILE
       ----------------------------------------------------- */

    .navbar .nav-left {
        display: none !important;
    }

    .navbar .nav-right {
        display: none !important;
    }

    /* Hide dropdowns completely */
    .navbar .dropdown {
        display: none !important;
    }

    /* -----------------------------------------------------
       MOBILE MENU PANEL
       ----------------------------------------------------- */

    .mobile-menu-panel {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
        background: var(--navy);
        padding: 25px 24px 30px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
        z-index: 10001;
    }

    /* ONLY SHOW WHEN JAVASCRIPT ADDS .is-open */
    .mobile-menu-panel.is-open {
        display: block;
    }

    /* -----------------------------------------------------
       MOBILE MENU LOGO
       ----------------------------------------------------- */

    .mobile-menu-logo {
        display: block;
        width: 190px;
        max-width: 75%;
        height: auto;
        margin: 0 auto 20px;
    }

    .mobile-menu-divider {
        width: 100%;
        height: 2px;
        background: rgba(255, 255, 255, 0.8);
        margin-bottom: 8px;
    }

    /* -----------------------------------------------------
       MOBILE MENU LINKS
       ----------------------------------------------------- */

    .mobile-menu-panel > a {
        display: block;
        color: #ffffff !important;
        font-family: 'Space Grotesk', sans-serif;
        font-size: 18px;
        font-weight: 600;
        padding: 15px 0;
        text-decoration: none;
    }

    .mobile-menu-panel > a:hover {
        color: var(--blaze) !important;
    }

    /* -----------------------------------------------------
       MOBILE SUPPORT / PARTNER BUTTONS
       ----------------------------------------------------- */

    .mobile-menu-actions {
        display: flex;
        gap: 10px;
        width: 100%;
        margin-top: 18px;
    }

    .mobile-menu-actions a {
        flex: 1;
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        padding: 10px !important;
        border-radius: 8px;
        color: #ffffff !important;
        font-family: 'Space Grotesk', sans-serif;
        font-size: 11px !important;
        font-weight: 700 !important;
        text-align: center;
        text-transform: uppercase;
        line-height: 1.2;
    }

    .mobile-donate {
        background: var(--blue);
    }

    .mobile-partner {
        background: var(--blaze);
    }

    .mobile-donate:hover {
        background: var(--blue-bright);
    }

    .mobile-partner:hover {
        background: var(--blaze-2);
    }

    /* -----------------------------------------------------
       TICKER ON MOBILE
       ----------------------------------------------------- */

    .ticker-bar {
        position: relative;
        z-index: 1;
        background: var(--white);
    }

    .ticker-inner {
        padding: 10px 12px;
        gap: 10px;
    }

    .onair {
        padding: 6px 10px;
        font-size: 10px;
    }

    .ticker-track {
        font-size: 13px;
        gap: 40px;
    }
}

/* =========================================================
   TICKER
   ========================================================= */

.ticker-bar {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.ticker-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
}

.onair {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--blaze);
    color: #fff;
    padding: 6px 12px 6px 10px;
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    flex-shrink: 0;
}

.onair .pulse {
    background: #1f6bff;
    border-color: #1f6bff;
    box-shadow: 0 0 0 0 rgba(31, 107, 255, 0.6);
}

.onair .pulse::after {
    border-color: #1f6bff;
}

.ticker-track-wrap {
    flex: 1;
    overflow: hidden;
}

.ticker-track {
    display: inline-flex;
    gap: 60px;
    white-space: nowrap;
    animation: scroll-left 26s linear infinite;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}

.ticker-track a.ticker-item {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    padding-right: 2rem;
}

.ticker-track a.ticker-item:hover {
    text-decoration: underline;
    cursor: pointer;
}

.ticker-track-wrap:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-track span {
    color: var(--slate);
    margin-right: 8px;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 769px) and (max-width: 1100px) {

    .wrap {
        padding-left: 20px;
        padding-right: 20px;
    }

    .nav-left > li > a {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 12px;
    }

    .nav-right {
        gap: 8px;
    }

    .donate-link {
        font-size: 12px;
    }

    .partner-btn {
        padding: 9px 12px;
        font-size: 12px;
    }
}

/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .navbar-inner {
        min-height: 70px;
        padding: 7px 14px;
    }

    .mobile-brand {
        width: 165px;
    }

    .mobile-brand img {
        width: 165px;
        max-height: 54px;
    }

    .mobile-menu-button {
        width: 42px;
        height: 42px;
    }

    .mobile-menu-panel {
        top: 70px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .mobile-menu-logo {
        width: 170px;
    }

    .mobile-menu-panel > a {
        font-size: 17px;
        padding: 13px 0;
    }

    .mobile-menu-actions {
        gap: 8px;
    }

    .mobile-menu-actions a {
        font-size: 10px !important;
    }

    .ticker-inner {
        padding: 9px 10px;
    }

    .onair {
        font-size: 9px;
        padding: 6px 9px;
    }

    .ticker-track {
        font-size: 12px;
        gap: 30px;
    }
}
  /* ============ HERO ============ */
 .hero-section { padding: 36px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 2.1fr 1fr; gap: 28px; align-items: stretch; }

/* Set border-radius to 0 for sharp rectangular corners */
.hero-stage {position: relative;border-radius: 0px;overflow: hidden;background: radial-gradient(ellipse at 15% 20%, rgba(46,107,240,.35), transparent 55%),
              radial-gradient(ellipse at 85% 85%, rgba(255,79,18,.28), transparent 50%),
              linear-gradient(155deg, var(--navy) 0%, #04122c 60%, #050c1e 100%);
  min-height: 480px;display: flex;flex-direction: column;justify-content: flex-end;background-size: cover;background-position: center;
  transition: background-image 0.5s ease-in-out;}

.hero-stage .signal-art { position: absolute; inset: 0; opacity: .55; pointer-events: none; }
.hero-stage .grain { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 18px 18px; pointer-events: none; }
.hero-copy { position: relative; z-index: 2; padding: 44px 48px 40px; }
.hero-copy .eyebrow { color: var(--blaze-2); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.hero-copy h1 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #fff; font-size: clamp(28px,4vw,48px); line-height: 1.08; letter-spacing: -.01em; max-width: 640px; }
.hero-copy h1 em { font-style: normal; background: linear-gradient(90deg, var(--blaze-2), var(--blaze)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy p { color: #c4cee5; font-size: 15.5px; max-width: 520px; margin-top: 16px; line-height: 1.6; }

.hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; transition: .18s; }
.btn-primary { background: var(--blaze); color: #fff; }
.btn-primary:hover { background: var(--blaze-2); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }

/* Navigation Arrows */
.hero-nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; color: #fff; z-index: 3; cursor: pointer; transition: .15s; }
.hero-nav-arrow:hover { background: var(--blaze); border-color: var(--blaze); }
.hero-nav-arrow.prev { left: 20px; }
.hero-nav-arrow.next { right: 20px; }

/* Slide Indicators (Dots) */
.hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-dots .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); cursor: pointer; transition: all 0.3s ease; }
.hero-dots .dot.active { background: var(--blaze); width: 22px; border-radius: 4px; }

/* Side Column (Our Work) - Sharp corners added as well */
.our-work { display: flex; flex-direction: column; height: 100%; }
.our-work h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px; color: var(--ink); display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.our-work h2 .slash { color: var(--blaze); }
.work-cards { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.work-card { position: relative; border-radius: 0px; /* Sharp corners */ overflow: hidden; flex: 1; min-height: 150px; display: flex; align-items: flex-end; color: #fff; }
.work-card .art { position: absolute; inset: 0; background-size: cover; background-position: center; }
  .work-card .scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,12,30,.92) 5%, rgba(4,12,30,.25) 65%, transparent 100%); }
  .work-card .body { position: relative; z-index: 2; padding: 16px 18px; width: 100%; }
  .work-card .body .cat { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .1em; color: var(--blaze-2); text-transform: uppercase; font-weight: 700; }
  .work-card .body h3 { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; margin-top: 5px; }
  .work-card .body .count { font-size: 12px; color: #c4cee5; margin-top: 3px; }
  .work-card:nth-child(1) .art { background-image: url('assets/DW.featured.jpg'); }
  .work-card:nth-child(2) .art { background-image: url('assets/monarch.featured.jpg'); }

.signal-divider { background: var(--navy); padding: 20px 0; overflow: hidden; }
.signal-divider svg { width: 100%; height: 30px; display: block; }

.who-we-are-section{background:linear-gradient(180deg, #06142f 0%, #071f38 100%);padding:48px 0;}
.who-we-are-wrap{max-width:1200px;padding:0 32px;}
.who-we-are-card{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);border-radius:22px;box-shadow:0 28px 80px rgba(0,0,0,.18);padding:32px;position:relative;}
.who-we-are-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#ff4f12 0%,#ff4f12 25%,#ff4f12 25%,#ff4f12 100%);border-radius:4px 4px 0 0;}
.who-we-are-card::after{content:'';position:absolute;bottom:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#ff4f12 0%,#ff4f12 25%,#ff4f12 25%,#ff4f12 100%);border-radius:4px 4px 0 0;}
.who-label{font-family:'JetBrains Mono',monospace;font-size:16px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:#ffd86a;display:inline-flex;margin-bottom:18px;}
.who-copy p{font-family:'Inter',sans-serif;font-size:15.2px;line-height:1.9;color:#e9eef7;margin-bottom:16px;}
.who-copy p strong{color:#fff;}

 /* ============ SECTION SCAFFOLD ============ */
  .section { padding: 64px 0; }
  
  /* Container layout */
  .section-head { 
    display: flex; 
    align-items: center; 
    gap: 16px; 
    margin-bottom: 32px; 
    width: 100%;
  }

  /* Title styling - inline with line */
  .section-head h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--navy, #06142f); /* Navy Blue text */
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap; /* Keeps title on one line */
    margin: 0;
  }

  /* Navy line extending directly after the title */
  .section-head::after {
    content: '';
    flex: 1; /* Fills remaining horizontal space */
    height: 3px; /* Thickness of the line */
    background-color: var(--navy, #06142f); /* Navy Blue line */
    border-radius: 2px;
  }

  .section-head p { color: var(--slate); font-size: 14px; max-width: 480px; margin-top: 6px; }
  .see-all { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 13.5px; color: var(--blue); display: flex; align-items: center; gap: 6px; }

  /* pillars */
  /* pillars — 2-column, 3-row layout */
#programs .pillar-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:26px;
}

#programs .pillar-card{
  position:relative;
  height:300px;
  border-radius:16px;
  overflow:hidden;
  cursor:pointer;
  background-size:cover;
  background-position:center;
  box-shadow:0 10px 26px rgba(7,28,60,.12);
  transition:transform .3s ease, box-shadow .3s ease;
}
#programs .pillar-card:hover{
  transform:translateY(-5px);
  box-shadow:0 22px 44px rgba(7,28,60,.18);
}

/* darken image so white title stays readable */
#programs .pillar-card::before{
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(6,20,45,.1) 0%, rgba(6,20,45,.7) 100%);
  z-index:1;
  transition:opacity .3s ease;
}
#programs .pillar-card:hover::before{ opacity:0; }

/* centered bold title (default state) */
#programs .pillar-title{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  z-index:2;
  padding:24px;
  text-align:center;
  transition:opacity .3s ease;
}
#programs .pillar-title h3{
  font-family:'Space Grotesk',sans-serif;
  font-weight:700;
  font-size:23px;
  color:#fff;
  text-transform:uppercase;
  letter-spacing:.03em;
  line-height:1.25;
  text-shadow:0 2px 14px rgba(0,0,0,.45);
}
#programs .pillar-card:hover .pillar-title{ opacity:0; }

/* hover panel — white background with objectives */
#programs .pillar-objectives{
  position:absolute; inset:0;
  background:#fff;
  z-index:3;
  display:flex; flex-direction:column; justify-content:center;
  padding:28px 30px;
  opacity:0;
  transform:translateY(14px);
  transition:opacity .3s ease, transform .3s ease;
  pointer-events:none;
}
#programs .pillar-card:hover .pillar-objectives{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
#programs .pillar-objectives h4{
  font-family:'Space Grotesk',sans-serif;
  font-weight:700;
  font-size:14.5px;
  color:var(--navy,#06142f);
  text-transform:uppercase;
  letter-spacing:.05em;
  margin-bottom:16px;
  padding-bottom:10px;
  border-bottom:2px solid var(--blaze,#ca6324);
}
#programs .pillar-objectives ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:11px; }
#programs .pillar-objectives li{
  display:flex; align-items:flex-start; gap:9px;
  font-size:13.5px; color:var(--slate,#334155); line-height:1.45;
}
#programs .pillar-objectives li svg{ width:14px; height:14px; color:var(--blaze,#ca6324); flex-shrink:0; margin-top:2px; }

@media (max-width:640px){
  #programs .pillar-grid{ grid-template-columns:1fr; }
}
  /* labs */
  .lab-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
  .lab-card{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:.2s;}
  .lab-card:hover{transform:translateY(-4px);box-shadow:0 18px 32px rgba(7,28,60,.1);}
  .lab-art{height:150px;}
  .lab-body{padding:18px 20px;position:relative;}
  .lab-body .tag{font-family:'JetBrains Mono',monospace;font-size:10px;color:var(--blaze);letter-spacing:.08em;text-transform:uppercase;font-weight:700;}
  .lab-body h3{font-family:'Space Grotesk',sans-serif;font-size:16px;font-weight:700;color:var(--ink);margin-top:6px;}
  .lab-body p{font-size:13px;color:var(--slate);margin-top:8px;line-height:1.5;}
  .lab-body .go{margin-top:14px;display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--blue);}

  /* partners */
  .partners-strip{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:34px 40px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:26px;}
  .partner-mark{display:flex;flex-direction:column;align-items:center;gap:10px;flex:1;min-width:140px;opacity:.65;transition:.2s;}
  .partner-mark:hover{opacity:1;transform:translateY(-2px);}
  .partner-glyph{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:15px;}
  .partner-mark span{font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:13px;color:var(--ink);}

  /* events + featured */

.split-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:30px;}
.event-card{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;}
.event-art{height:170px;position:relative;}
.event-body{padding:20px;}
.event-body h4{font-family:'Space Grotesk',sans-serif;font-size:16px;font-weight:700;color:var(--ink);margin-bottom:12px;}
.event-meta{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--slate);margin-bottom:8px;}
.event-meta svg{width:14px;height:14px;color:var(--blaze);flex-shrink:0;}
.featured-list{display:flex;flex-direction:column;gap:14px;}
.teaser-card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px;display:flex;gap:14px;align-items:center;transition:.2s;}
.teaser-card:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(7,28,60,.08);}
.teaser-art{width:200px;height:110px;border-radius:10px;flex-shrink:0;}
.teaser-brand{font-family:'JetBrains Mono',monospace;font-size:9.5px;color:var(--blaze);letter-spacing:.08em;text-transform:uppercase;font-weight:700;}
.teaser-card h4{font-family:'Space Grotesk',sans-serif;font-size:14.5px;font-weight:700;color:var(--ink);margin-top:4px;}
.teaser-card p{font-size:12.5px;color:var(--slate);margin-top:4px;line-height:1.4;}

/* ============ SCOPED TICKET BUTTON (ONLY APPLIES INSIDE EVENT CARD) ============ */
.event-body a.go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--blaze);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  margin-top: 12px;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.event-body a.go svg {
  width: 11px;
  height: 11px;
  stroke: #ffffff;
  transition: transform 0.2s ease;
}

.event-body a.go:hover {
  background-color: var(--blaze-2, #b5531a);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.event-body a.go:hover svg {
  transform: translate(2px, -2px);
}

/* ============ ADVERT SIDEBAR ============ */
.sidebar-column {
    width: 100%;
    max-width: 340px;
    margin-top: 74px; /* Pushes the entire sidebar down to align with the main content */
}
.sidebar-column {width: 100%;max-width: 340px;;}
.sidebar-block {background: var(--paper, #f8fafc);border: 1px solid var(--line, #e2e8f0);border-radius: 12px;padding: 20px;box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);}
.sidebar-block h3 {font-family: 'Space Grotesk', sans-serif;font-size: 14px;font-weight: 700;text-transform: uppercase;letter-spacing: 0.05em;color: var(--slate, #64748b);margin-bottom: 16px;padding-bottom: 8px;border-bottom: 1px solid var(--line, #e2e8f0);}

/* Individual Ad Cards */
.sidebar-ad-card {display: flex;align-items: center;gap: 12px;text-decoration: none;background: var(--white, #ffffff);border: 1px solid var(--line, #e2e8f0);border-radius: 8px;padding: 10px;margin-bottom: 12px;position: relative;transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;}
.sidebar-ad-card:last-child {margin-bottom: 0;}

/* Hover Effect for Ads */
.sidebar-ad-card:hover {transform: translateY(-2px);box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);border-color: var(--blaze, #ca6324);}

/* Ad Thumbnail Image */
.sidebar-ad-card img {width: 70px;height: 70px;object-fit: cover;border-radius: 6px;flex-shrink: 0;}

/* Ad Text Content */
.sidebar-ad-card .body {display: flex;flex-direction: column;gap: 4px;}
.sidebar-ad-card .body strong {font-family: 'Space Grotesk', sans-serif;font-size: 14px;color: var(--ink, #0f172a);line-height: 1.2;}
.sidebar-ad-card .body span {font-size: 12px;color: var(--slate, #64748b);line-height: 1.35;}

/* Sponsored Badge (Simulates web ad markup) */
.sidebar-ad-card::after {content: "AD";position: absolute;top: 8px;right: 8px;font-size: 9px;font-weight: 700;background: #f1f5f9;color: #94a3b8;padding: 2px 5px;border-radius: 3px;letter-spacing: 0.05em;}
.sidebar-block {background: #ffffff;border: 2px solid #1e295d; /* Dark accent border */border-radius: 12px;padding: 20px;}
.sidebar-block h3 {font-family: 'Space Grotesk', sans-serif;font-size: 16px;font-weight: 700;color: #1e295d;margin-bottom: 16px;display: flex;justify-content: space-between;align-items: center;}
.sidebar-ad-card {display: flex;align-items: center;gap: 14px;text-decoration: none;background: #f8fafc;border: 1px solid #e2e8f0;border-radius: 10px;padding: 12px;margin-bottom: 12px;transition: all 0.2s ease;}
.sidebar-ad-card:hover {background: #ffffff;border-color: #ca6324; /* Highlight accent on hover */box-shadow: 0 4px 12px rgba(202, 99, 36, 0.15);}
.sidebar-ad-card img {width: 65px;height: 65px;object-fit: cover;border-radius: 8px;}
.sidebar-ad-card .body {display: flex;flex-direction: column;}
.sidebar-ad-card .body strong {font-size: 14px;font-weight: 700;color: #0f172a;}
.sidebar-ad-card .body span {font-size: 12px;color: #64748b;margin-top: 2px;}
.sidebar-ad-card .body::after {content: "Buy Now →";display: inline-block;margin-top: 6px;font-size: 11px;font-weight: 700;color: #ca6324;text-transform: uppercase;}

  /* stats */
  .stats-section{background:var(--navy);padding:48px 0;}
  .stats-title{
    font-family:'Space Grotesk',sans-serif;
    font-weight:700;
    font-size:26px;
    color:#ffffff;
    text-align:center;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin-bottom:36px;
  }
  .stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
  .stat{text-align:left;border-left:2px solid rgba(255,255,255,.14);padding-left:18px;}
  .stat .num{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:36px;color:#fff;display:flex;align-items:baseline;gap:2px;}
  .stat .num .accent{color:var(--blaze-2);}
  .stat .label{font-family:'JetBrains Mono',monospace;font-size:10.5px;color:#a9b6d1;letter-spacing:.08em;text-transform:uppercase;margin-top:8px;}

  /* contact + member */
  .contact-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:40px;}
  .contact-panel{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:32px;}
  .contact-panel h3{font-family:'Space Grotesk',sans-serif;font-size:19px;font-weight:700;margin-bottom:22px;color:var(--ink);}
  .contact-list li{display:flex;align-items:flex-start;gap:14px;margin-bottom:20px;font-size:14.5px;color:var(--ink);}
  .contact-list svg{width:17px;height:17px;color:var(--blaze);flex-shrink:0;margin-top:2px;}
  .member-panel{background:var(--navy);border-radius:16px;padding:32px;color:#fff;position:relative;overflow:hidden;}
  .member-panel::after{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle, rgba(255,79,18,.35), transparent 70%);}
  .member-panel h3{font-family:'Space Grotesk',sans-serif;font-size:19px;font-weight:700;margin-bottom:20px;position:relative;z-index:2;}
  .member-form{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:14px;}
  .member-form .full{grid-column:span 2;}
  .member-form input, .member-form select{padding:12px 14px;border-radius:8px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#fff;font-size:13.5px;outline:none;font-family:'Inter',sans-serif;}
  .member-form input::placeholder{color:#c4cee5;}
  .member-form select option{color:#000;}
  .btn-submit{grid-column:span 2;background:var(--blaze);color:#fff;padding:13px;border-radius:8px;font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:14px;border:none;cursor:pointer;transition:.2s;}
  .btn-submit:hover{background:var(--blaze-2);}

  /* topics chips (reused) */
  .topic-chips{display:flex;gap:12px;flex-wrap:wrap;}
  .chip{padding:10px 18px;border-radius:999px;border:1.5px solid var(--line);font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:13px;color:var(--ink);display:flex;align-items:center;gap:8px;transition:.15s;}
  .chip:hover{border-color:var(--blaze);color:var(--blaze);}
  .chip .dot{width:6px;height:6px;border-radius:50%;background:var(--blue);}

  
  /* ==========================================================================
   PAGE-SPECIFIC STYLES
   Combined from the About Us,Teams,Privacy and Policy,Terms and Condition of Use,Career,Contact Us,Donate and Partnership conversions.
   ========================================================================== */

/* --------------------------------------------------------------------------
   ABOUT US PAGE — about-us.php
   -------------------------------------------------------------------------- */
   /* ABOUT US SECTION SPECIFIC STYLES */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px 32px;
}

.section-title-left {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy, #06142f); /* Navy Blue Title */
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 30px;
  width: 100%;
}

/* Navy Blue Line extending directly after the section title */
.section-title-left::after {
  content: '';
  flex: 1; /* Automatically stretches across remaining space */
  height: 3px; /* Thickness of the line */
  background-color: var(--navy, #06142f); /* Navy Blue Line */
  border-radius: 2px;
}

/* Remove separate old black line divider */
.section-divider {
  display: none; 
}

.about-section { margin-bottom: 80px; }
.about-content { display: flex; gap: 40px; align-items: center; }
.about-text { flex: 1; }
.about-text p { color: #3f3e3e; margin-bottom: 15px; font-size: 16px; }
.about-image { flex: 1;  }
.about-image img { width: 100%; height: 450px; object-fit: cover; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

/* ============ MISSION & VISION SECTION ============ */
.mission-vision-section {
  display: flex;
  background-color: #ebf1fa;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 80px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .mission-vision-section {
  background-color: #111111;
  border-color: var(--line);
}

.mv-box {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mv-box.mission {
  border-right: 1px solid #d4def0;
}

body.dark-mode .mv-box.mission {
  border-right: 1px solid var(--line);
}

.mv-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mv-icon svg {
  width: 100%;
  height: 100%;
  stroke: #ff6b00;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mv-box h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy, #06142f);
  margin-bottom: 16px;
  font-family: 'Space Grotesk', sans-serif;
}

body.dark-mode .mv-box h3 {
  color: #ffffff;
}

.mv-box p {
  color: #4a5568;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto;
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

body.dark-mode .mv-box p {
  color: #a9b6d1;
}

.mv-box.vision { border-right: 2px dashed var(--line); }

/* ============ PILLARS SECTION ============ */
#our-pillars .pillars-section { 
  margin-bottom: 80px; 
}

#our-pillars .pillars-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 30px; 
}

#our-pillars .pillar-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line, #e2e8f0);
}

#our-pillars .pillar-overlay {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(7, 28, 60, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.3s ease;
  z-index: 1;
}

#our-pillars .pillar-title { 
  color: #ffffff; 
  font-size: 24px; 
  font-weight: 700; 
  text-align: center; 
  font-family: 'Space Grotesk', sans-serif; 
}

#our-pillars .pillar-card:hover .pillar-overlay {
  opacity: 0;
  pointer-events: none;
}

#our-pillars .pillar-objectives {
  display: flex;
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background-color: #ffffff;
  padding: 30px 25px;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2;
}

#our-pillars .pillar-card:hover .pillar-objectives,
#our-pillars .pillar-card.active .pillar-objectives {
  opacity: 1;
  visibility: visible;
}

#our-pillars .pillar-objectives h4 { 
  color: var(--navy, #06142f); 
  font-size: 18px; 
  font-weight: 700;
  margin-bottom: 16px; 
  text-transform: capitalize; 
  border-bottom: 2px solid #ff6b00;
  padding-bottom: 8px; 
  font-family: 'Space Grotesk', sans-serif; 
}

#our-pillars .pillar-objectives ol { 
  color: #4a5568; 
  padding-left: 20px; 
  font-size: 14px; 
  margin: 0;
}

#our-pillars .pillar-objectives ol li { 
  margin-bottom: 10px; 
  line-height: 1.5;
  font-weight: 700;
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

#our-pillars .pillar-objectives ol li::marker {
  color: #ff6b00;
  font-weight: 700;
}

/* ============ CORE VALUES SECTION STYLES ============ */
.core-values-section {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  padding-top: 40px !important;
}

/* Configured Core Values section title to match the inline navy line structure */
.core-values-section .section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy, #06142f);
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 30px;
  width: 100%;
}

.core-values-section .section-title::after {
  content: '';
  flex: 1;
  height: 3px;
  background-color: var(--navy, #06142f);
  border-radius: 2px;
}

.core-values-section .section-title span {
  color: var(--navy, #06142f);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-bottom: 0 !important;
}

.value-card {
  padding: 35px 20px;
  border-radius: 0;
  color: var(--white);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 480px;
  box-shadow: none;
}

.value-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  font-family: 'Space Grotesk', sans-serif;
}

.value-card p {
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 18px;
  font-weight: 400;
  opacity: 0.95;
}

.value-card p:last-child {
  margin-bottom: 0;
}

.bg-dark-blue-1 { background-color: #1B4965; }
.bg-blue         { background-color: #00A8E8; }
.bg-green        { background-color: #62C370; }
.bg-yellow       { background-color: #F4D35E; color: #222222; }
.bg-dark-blue-2 { background-color: #133C55; }


/* ============ OUR PARTNERS SMOOTH SCROLLER STYLES ============ */
.partners-section {
 padding: 40px 0 40px 0; 
  margin-top: 0 !important;     
  text-align: center;
  overflow: hidden;
}

.partners-section .section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--navy, #071c3c);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0 !important;
  padding-top: 15px; /* Minimal clean gap directly above the title */
  margin-bottom: 24px;
}

body.dark-mode .partners-section .section-title {
  color: var(--ink, #f7f7f7);
}

.partners-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
}

/* Scroll Container Viewport */
.partners-track-container {
  overflow: hidden;
  width: 100%;
}

/* Smooth Infinite Marquee Track */
.partners-track {
  display: flex;
  gap: 25px;
  width: max-content;
  animation: partnerMarquee 20s linear infinite;
}

/* Pause continuous scrolling on hover */
.partners-track-container:hover .partners-track {
  animation-play-state: paused;
}

/* Infinite Marquee Keyframes */
@keyframes partnerMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Moves exactly half the track to seamlessly loop */
  }
}

/* Double Dark Blue Box Outlook */
.partner-card {
  width: 240px;
  flex-shrink: 0;
  background-color: var(--navy, #071c3c); /* Outer dark blue frame */
  padding: 3px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.partner-inner {
  background-color: #ffffff; /* White interior space */
  border: 2px solid var(--navy, #071c3c); /* Inner dark blue border */
  border-radius: 6px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.partner-inner img {
  max-width: 80%;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.partner-card:hover .partner-inner img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Arrow Navigation Buttons */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid var(--line, #e3e8f2);
  color: var(--ink, #0b1220);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-arrow:hover {
  background-color: var(--paper, #f5f7fb);
  transform: translateY(-50%) scale(1.08);
}

.prev-btn {
  left: 15px;
}

.next-btn {
  right: 15px;
}
/* =========================================================
   ABOUT US — MOBILE RESPONSIVE STYLES
   This section only changes the layout on phones.
   Desktop styles above remain unchanged.
   ========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------------------
       MAIN CONTAINER
       ----------------------------------------------------- */

    .container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 40px 20px;
        overflow: hidden;
    }


    /* -----------------------------------------------------
       SECTION TITLES
       ----------------------------------------------------- */

    .section-title-left,
    .core-values-section .section-title {
        font-size: 25px;
        line-height: 1.2;
        gap: 10px;
        margin-bottom: 24px;
    }

    .section-title-left::after,
    .core-values-section .section-title::after {
        height: 2px;
    }


    /* -----------------------------------------------------
       ABOUT SECTION
       Image and text become one column
       ----------------------------------------------------- */

    .about-section {
        margin-bottom: 50px;
    }

    .about-content {
        display: flex;
        flex-direction: column;
        gap: 25px;
        align-items: stretch;
    }

    .about-text,
    .about-image {
        width: 100%;
        flex: none;
    }

    .about-text p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 14px;
    }

    .about-image img {
        width: 100%;
        height: auto;
        min-height: 250px;
        max-height: 400px;
        object-fit: cover;
    }


    /* -----------------------------------------------------
       MISSION & VISION
       Two columns become one column
       ----------------------------------------------------- */

    .mission-vision-section {
        display: flex;
        flex-direction: column;
        margin-bottom: 50px;
        border-radius: 10px;
    }

    .mv-box {
        width: 100%;
        padding: 40px 25px;
    }

    .mv-box.mission,
    .mv-box.vision {
        border-right: none;
    }

    .mv-box.mission {
        border-bottom: 1px solid #d4def0;
    }

    body.dark-mode .mv-box.mission {
        border-bottom: 1px solid var(--line);
    }

    .mv-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .mv-box h3 {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .mv-box p {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.6;
    }


    /* -----------------------------------------------------
       OUR PILLARS
       Three columns become one column
       ----------------------------------------------------- */

    #our-pillars .pillars-section {
        margin-bottom: 50px;
    }

    #our-pillars .pillars-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #our-pillars .pillar-card {
        width: 100%;
        aspect-ratio: 1 / 1;
        min-height: 280px;
    }

    #our-pillars .pillar-overlay {
        padding: 20px;
    }

    #our-pillars .pillar-title {
        font-size: 21px;
        line-height: 1.3;
    }

    #our-pillars .pillar-objectives {
        padding: 25px 20px;
        overflow-y: auto;
    }

    #our-pillars .pillar-objectives h4 {
        font-size: 17px;
        margin-bottom: 12px;
    }

    #our-pillars .pillar-objectives ol {
        font-size: 13px;
        padding-left: 18px;
    }

    #our-pillars .pillar-objectives ol li {
        margin-bottom: 8px;
        line-height: 1.45;
    }


    /* -----------------------------------------------------
       CORE VALUES
       Five columns become one column
       ----------------------------------------------------- */

    .core-values-section {
        padding-top: 25px !important;
    }

    .values-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .value-card {
        width: 100%;
        min-height: auto;
        padding: 30px 25px;
    }

    .value-card h3 {
        font-size: 22px;
        margin-bottom: 14px;
    }

    .value-card p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 14px;
    }


    /* -----------------------------------------------------
       PARTNERS
       ----------------------------------------------------- */

    .partners-section {
        width: 100%;
        padding: 30px 0;
        overflow: hidden;
    }

    .partners-section .section-title {
        font-size: 23px;
        line-height: 1.3;
        padding: 0 20px;
        margin-bottom: 20px;
    }

    .partners-carousel-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 0 45px;
    }

    .partner-card {
        width: 210px;
    }

    .partner-inner {
        height: 100px;
        padding: 15px;
    }

    .partner-inner img {
        max-width: 80%;
        max-height: 55px;
    }


    /* -----------------------------------------------------
       PARTNER ARROWS
       ----------------------------------------------------- */

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .prev-btn {
        left: 5px;
    }

    .next-btn {
        right: 5px;
    }

}


/* =========================================================
   SMALL PHONES
   For phones around 480px and below
   ========================================================= */

@media (max-width: 480px) {

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-title-left,
    .core-values-section .section-title {
        font-size: 22px;
        gap: 8px;
    }

    .about-text p {
        font-size: 14.5px;
    }

    .about-image img {
        min-height: 220px;
    }

    .mv-box {
        padding: 35px 20px;
    }

    .mv-box h3 {
        font-size: 24px;
    }

    .mv-box p {
        font-size: 14px;
    }

    #our-pillars .pillar-card {
        min-height: 250px;
    }

    #our-pillars .pillar-title {
        font-size: 19px;
    }

    .value-card {
        padding: 25px 20px;
    }

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

    .value-card p {
        font-size: 13.5px;
    }

    .partner-card {
        width: 190px;
    }

    .partners-carousel-wrapper {
        padding-left: 40px;
        padding-right: 40px;
    }

}

/* --------------------------------------------------------------------------
   TEAM PAGE — team.php
   -------------------------------------------------------------------------- */
/* TEAM SECTION SPECIFIC STYLES */
.team-section {
  padding: 60px 0 100px;
  background-color: var(--paper);
  transition: background-color .25s ease;
}

.team-group {
  margin-bottom: 70px;
}

.group-header {
  margin-bottom: 32px;
}

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

.group-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

body.dark-mode .group-title {
  color: var(--ink);
}

.group-sub {
  font-size: 13px;
  color: var(--slate);
  font-weight: 400;
}

/* Leader Card (Hero Style) */
.leader-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.leader-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.leader-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

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

.avatar-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px dashed var(--slate-light);
}

.leader-info {
  flex: 1;
}

.member-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

body.dark-mode .member-name {
  color: var(--ink);
}

.member-role {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-bright);
  margin-bottom: 16px;
}

.member-bio {
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 12px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  background: var(--blue-bright);
  transform: translateY(-2px);
}

/* Team Grids */
.team-grid {
  display: grid;
  gap: 24px;
}

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

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px;
  margin: 0 auto;
}

/* Standard Member Card */
.member-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.member-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.avatar-wrapper {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-wrapper .avatar-placeholder {
  width: 100%;
  height: 100%;
}

.member-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-bright);
  margin-top: 4px;
  margin-bottom: 12px;
}

.member-desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--slate);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .leader-card {
    flex-direction: column;
    text-align: center;
    padding: 30px;
    gap: 24px;
  }
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .team-section {
    padding: 40px 0 60px;
  }
}

/* --------------------------------------------------------------------------
   PRIVACY AND POLICY — privacy-policy.php
   -------------------------------------------------------------------------- */


/* ================= PRIVACY POLICY HERO ================= */

.policy-hero {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.policy-hero img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.policy-hero .hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 40, 104, 0.95),
        rgba(0, 0, 0, 0.5)
    );
}

.policy-hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5%;
    max-width: 750px;
    color: #fff;
}

.policy-hero .hero-content h1 {
    font-size: 58px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
}

.policy-hero .hero-content p {
    font-size: 18px;
    color: #ddd;
    line-height: 1.6;
}


/* ================= MAIN CONTENT ================= */

.policy-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 80px 5%;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
}


/* ================= SIDEBAR ================= */

.policy-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.sidebar-box {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
}

.sidebar-box h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

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

.sidebar-box ul li {
    margin-bottom: 14px;
}

.sidebar-box ul li a {
    text-decoration: none;
    color: #333;
    transition: 0.3s;
    font-weight: 500;
}

.sidebar-box ul li a:hover {
    color: var(--primary-blue);
}


/* ================= POLICY CONTENT ================= */

.policy-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    min-width: 0;
}

.policy-section {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    min-width: 0;
}

.policy-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--dark-blue);
    line-height: 1.25;
}

.policy-section p {
    color: #555;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
}

.policy-section ul {
    padding-left: 20px;
    color: #555;
    margin: 0;
}

.policy-section ul li {
    margin-bottom: 12px;
    line-height: 1.6;
}


/* ================= INFO BOX ================= */

.info-box {
    background: linear-gradient(
        135deg,
        #00A6A8,
        #002868
    );
    color: #fff;
    padding: 35px;
    border-radius: 15px;
}

.info-box h3 {
    margin-bottom: 15px;
    font-size: 28px;
    line-height: 1.3;
    color: #fff;
}

.info-box p {
    color: #eee;
    line-height: 1.6;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    /* ---------- HERO ---------- */

    .policy-hero {
        height: 360px;
    }

    .policy-hero .hero-content {
        padding: 0 6%;
        max-width: 700px;
    }

    .policy-hero .hero-content h1 {
        font-size: 46px;
    }


    /* ---------- MAIN CONTENT ---------- */

    .policy-wrapper {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 60px 5%;
    }


    /* ---------- SIDEBAR ---------- */

    .policy-sidebar {
        position: static;
        width: 100%;
    }

    .sidebar-box {
        padding: 24px;
    }


    /* ---------- POLICY CONTENT ---------- */

    .policy-content {
        gap: 30px;
    }

    .policy-section {
        padding: 32px;
    }

}


/* =========================================================
   MOBILE PHONES
   ========================================================= */

@media (max-width: 600px) {

    /* ---------- HERO ---------- */

    .policy-hero {
        height: 300px;
        min-height: 300px;
    }

    .policy-hero img {
        object-position: center;
    }

    .policy-hero .hero-overlay {
        background: linear-gradient(
            to right,
            rgba(0, 40, 104, 0.92),
            rgba(0, 0, 0, 0.55)
        );
    }

    .policy-hero .hero-content {
        width: 100%;
        max-width: none;
        padding: 0 20px;
    }

    .policy-hero .hero-content h1 {
        font-size: 36px;
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .policy-hero .hero-content p {
        font-size: 15px;
        line-height: 1.5;
    }


    /* ---------- MAIN CONTENT ---------- */

    .policy-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 35px 16px 50px;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 28px;
        overflow: hidden;
    }


    /* ---------- SIDEBAR ---------- */

    .policy-sidebar {
        width: 100%;
        position: static;
    }

    .sidebar-box {
        width: 100%;
        padding: 20px;
        border-radius: 12px;
    }

    .sidebar-box h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .sidebar-box ul {
        padding: 0;
        margin: 0;
    }

    .sidebar-box ul li {
        margin-bottom: 10px;
    }

    .sidebar-box ul li a {
        display: block;
        padding: 5px 0;
        font-size: 15px;
        line-height: 1.4;
    }


    /* ---------- POLICY CONTENT ---------- */

    .policy-content {
        width: 100%;
        min-width: 0;
        gap: 22px;
    }

    .policy-section {
        width: 100%;
        min-width: 0;
        padding: 24px 20px;
        border-radius: 12px;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .policy-section h2 {
        font-size: 25px;
        line-height: 1.25;
        margin-bottom: 15px;
    }

    .policy-section p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 16px;
    }

    .policy-section ul {
        padding-left: 20px;
        margin: 0;
    }

    .policy-section ul li {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 10px;
    }


    /* ---------- INFO BOX ---------- */

    .info-box {
        width: 100%;
        padding: 24px 20px;
        border-radius: 12px;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .info-box h3 {
        font-size: 23px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .info-box p {
        font-size: 15px;
        line-height: 1.6;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .policy-hero {
        height: 280px;
        min-height: 280px;
    }

    .policy-hero .hero-content {
        padding: 0 16px;
    }

    .policy-hero .hero-content h1 {
        font-size: 31px;
    }

    .policy-hero .hero-content p {
        font-size: 14px;
    }

    .policy-wrapper {
        padding-left: 12px;
        padding-right: 12px;
    }

    .policy-section {
        padding: 20px 16px;
    }

    .policy-section h2 {
        font-size: 23px;
    }

    .policy-section p,
    .policy-section ul li {
        font-size: 14px;
    }

    .info-box {
        padding: 20px 16px;
    }

    .info-box h3 {
        font-size: 21px;
    }

}


/* =========================================================
   DARK MODE
   ========================================================= */

body.dark-mode .policy-section {
    background: var(--card, #000);
    border-color: var(--line, #2b2b2b);
}

body.dark-mode .policy-section h2 {
    color: #fff;
}

body.dark-mode .policy-section p,
body.dark-mode .policy-section ul {
    color: #c7c7c7;
}

body.dark-mode .sidebar-box {
    background: #111;
}

body.dark-mode .sidebar-box h3,
body.dark-mode .sidebar-box ul li a {
    color: #fff;
}

body.dark-mode .policy-section,
body.dark-mode .sidebar-box,
body.dark-mode .info-box {
    box-shadow: none;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.policy-section a,
.sidebar-box a {
    overflow-wrap: anywhere;
}

.policy-section img {
    max-width: 100%;
    height: auto;
}
/* --------------------------------------------------------------------------
   TERMS AND CONDITION OF USE — terms-and-conditions-of-use.php
   -------------------------------------------------------------------------- */


/* ================= TERMS HERO ================= */

.terms-hero {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.terms-hero img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.terms-hero .hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 40, 104, 0.95),
        rgba(0, 0, 0, 0.5)
    );
}

.terms-hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5%;
    max-width: 760px;
    color: #fff;
}

.terms-hero .hero-content h1 {
    font-size: 58px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
}

.terms-hero .hero-content p {
    font-size: 18px;
    color: #ddd;
    line-height: 1.6;
}


/* ================= PAGE CONTENT ================= */

.terms-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 80px 5%;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
}


/* ================= SIDEBAR ================= */

.terms-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.sidebar-box {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
}

.sidebar-box h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

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

.sidebar-box ul li {
    margin-bottom: 14px;
}

.sidebar-box ul li a {
    text-decoration: none;
    color: #333;
    transition: 0.3s;
    font-weight: 500;
}

.sidebar-box ul li a:hover {
    color: var(--primary-blue);
}


/* ================= TERMS CONTENT ================= */

.terms-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    min-width: 0;
}

.terms-section {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    min-width: 0;
}

.terms-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--dark-blue);
    line-height: 1.25;
}

.terms-section p {
    color: #555;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
}

.terms-section ul {
    padding-left: 20px;
    color: #555;
}

.terms-section ul li {
    margin-bottom: 12px;
    line-height: 1.6;
}


/* ================= NOTICE BOX ================= */

.notice-box {
    background: linear-gradient(
        135deg,
        #00A6A8,
        #002868
    );
    color: #fff;
    padding: 35px;
    border-radius: 15px;
}

.notice-box h3 {
    margin-bottom: 15px;
    font-size: 28px;
    line-height: 1.3;
    color: #fff;
}

.notice-box p {
    color: #eee;
    line-height: 1.6;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .terms-hero {
        height: 360px;
    }

    .terms-hero .hero-content {
        padding: 0 6%;
        max-width: 700px;
    }

    .terms-hero .hero-content h1 {
        font-size: 46px;
    }

    .terms-wrapper {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 60px 5%;
    }

    .terms-sidebar {
        position: static;
        width: 100%;
    }

    .sidebar-box {
        padding: 24px;
    }

    .terms-content {
        gap: 30px;
    }

    .terms-section {
        padding: 32px;
    }

}


/* =========================================================
   MOBILE PHONES
   ========================================================= */

@media (max-width: 600px) {

    /* ---------- HERO ---------- */

    .terms-hero {
        height: 300px;
        min-height: 300px;
    }

    .terms-hero img {
        object-position: center;
    }

    .terms-hero .hero-overlay {
        background: linear-gradient(
            to right,
            rgba(0, 40, 104, 0.92),
            rgba(0, 0, 0, 0.55)
        );
    }

    .terms-hero .hero-content {
        width: 100%;
        max-width: none;
        padding: 0 20px;
    }

    .terms-hero .hero-content h1 {
        font-size: 36px;
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .terms-hero .hero-content p {
        font-size: 15px;
        line-height: 1.5;
    }


    /* ---------- MAIN CONTENT ---------- */

    .terms-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 35px 16px 50px;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 28px;
        overflow: hidden;
    }


    /* ---------- SIDEBAR ---------- */

    .terms-sidebar {
        width: 100%;
        position: static;
    }

    .sidebar-box {
        width: 100%;
        padding: 20px;
        border-radius: 12px;
    }

    .sidebar-box h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .sidebar-box ul {
        padding: 0;
        margin: 0;
    }

    .sidebar-box ul li {
        margin-bottom: 10px;
    }

    .sidebar-box ul li a {
        display: block;
        padding: 5px 0;
        font-size: 15px;
        line-height: 1.4;
    }


    /* ---------- CONTENT ---------- */

    .terms-content {
        width: 100%;
        min-width: 0;
        gap: 22px;
    }

    .terms-section {
        width: 100%;
        min-width: 0;
        padding: 24px 20px;
        border-radius: 12px;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .terms-section h2 {
        font-size: 25px;
        line-height: 1.25;
        margin-bottom: 15px;
    }

    .terms-section p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 16px;
    }

    .terms-section ul {
        padding-left: 20px;
        margin: 0;
    }

    .terms-section ul li {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 10px;
    }


    /* ---------- NOTICE BOX ---------- */

    .notice-box {
        width: 100%;
        padding: 24px 20px;
        border-radius: 12px;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .notice-box h3 {
        font-size: 23px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .notice-box p {
        font-size: 15px;
        line-height: 1.6;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .terms-hero {
        height: 280px;
        min-height: 280px;
    }

    .terms-hero .hero-content {
        padding: 0 16px;
    }

    .terms-hero .hero-content h1 {
        font-size: 31px;
    }

    .terms-hero .hero-content p {
        font-size: 14px;
    }

    .terms-wrapper {
        padding-left: 12px;
        padding-right: 12px;
    }

    .terms-section {
        padding: 20px 16px;
    }

    .terms-section h2 {
        font-size: 23px;
    }

    .terms-section p,
    .terms-section ul li {
        font-size: 14px;
    }

    .notice-box {
        padding: 20px 16px;
    }

    .notice-box h3 {
        font-size: 21px;
    }

}


/* =========================================================
   DARK MODE
   ========================================================= */

body.dark-mode .terms-section {
    background: var(--card, #000);
    border-color: var(--line, #2b2b2b);
}

body.dark-mode .terms-section h2 {
    color: #fff;
}

body.dark-mode .terms-section p,
body.dark-mode .terms-section ul {
    color: #c7c7c7;
}

body.dark-mode .sidebar-box {
    background: #111;
}

body.dark-mode .sidebar-box h3,
body.dark-mode .sidebar-box ul li a {
    color: #fff;
}

body.dark-mode .terms-section,
body.dark-mode .sidebar-box,
body.dark-mode .notice-box {
    box-shadow: none;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.terms-section a,
.sidebar-box a {
    overflow-wrap: anywhere;
}

.terms-section img {
    max-width: 100%;
    height: auto;
}
/* --------------------------------------------------
   CAREERS — career.php
-------------------------------------------------- */
/* CAREERS SECTION SPECIFIC STYLES */

  .careers-section {
    padding: 48px 0;
    background: var(--paper);
    color: var(--ink);
  }

  .careers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  @media (min-width: 992px) {
    .careers-grid {
      grid-template-columns: 1fr 340px;
      gap: 56px;
    }
  }

  /* Breadcrumbs */
  .breadcrumb-nav {
    margin-bottom: 24px;
  }

  .breadcrumb-list {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 79, 18, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
  }

  .breadcrumb-list a {
    color: var(--slate);
    transition: color 0.2s ease;
  }

  .breadcrumb-list a:hover {
    color: var(--blaze);
  }

  .breadcrumb-list .sep {
    color: var(--blaze);
    font-weight: bold;
  }

  .breadcrumb-list .current {
    color: var(--blaze);
    font-weight: 600;
  }

  /* Main Header & Intro */
  .careers-title {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: normal;
    color: var(--ink);
    margin-bottom: 12px;
  }

  .careers-intro {
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate);
    margin-bottom: 32px;
  }

  /* Job Listings */
  .job-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
  }

  .job-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    transition: transform 0.2s ease;
  }

  .job-item:last-child {
    border-bottom: none;
  }

  .job-item:hover .job-title {
    color: var(--blue-bright);
  }

  .job-title {
    font-size: 16px;
    font-weight: 800;
    text-transform: normal;
    color: var(--navy-2);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
  }

  .job-subtitle {
    font-size: 14px;
    color: var(--slate);
    font-weight: 400;
  }

 /* ============ RIGHT COLUMN: SIDEBAR ============ */
.pw-sidebar {
  background: var(--white);
  padding: 48px 24px 48px 32px;
  min-height: 100%;
  position: sticky;
  top: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
}

/* Sidebar Head (Popular / Main Title): Updated to inline Navy Blue line */
.pw-sb-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy, #06142f);
  font-weight: 700;
  margin-bottom: 30px;
  width: 100%;
}

.pw-sb-head::after {
  content: '';
  flex: 1;
  height: 3px;
  background-color: var(--navy, #06142f);
  border-radius: 2px;
}

.pw-sb-head .pw-dot { background: var(--blaze); }

/* Featured Title Label: Updated to inline Navy Blue line */
.pw-sb-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy, #06142f);
  font-weight: 700;
  margin-bottom: 12px;
  width: 100%;
}

.pw-sb-title::after {
  content: '';
  flex: 1;
  height: 3px;
  background-color: var(--navy, #06142f);
  border-radius: 2px;
}

.pw-news-list {
  list-style: none;
  margin: 0 0 44px;
  padding: 0;
  counter-reset: pw-count;
}
.pw-news-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.pw-news-item:first-child { padding-top: 12px; }
.pw-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  -webkit-text-stroke: none;
  color: #000000;
  line-height: 1;
  min-width: 22px;
  padding-top: 2px;
}
.pw-news-item h5 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}
.pw-news-item a { color: var(--ink); text-decoration: none; }
.pw-news-item a:hover { color: var(--blue); }

.pw-featured-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pw-featured-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.pw-featured-item:first-child { padding-top: 12px; }
.pw-featured-item .pw-num { -webkit-text-stroke: 1px var(--navy); }
.pw-featured-item .pw-tag {
  display: inline-block;
  font-size: 9.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 5px;
}
.pw-featured-item h5 { font-size: 18px; font-weight: 700; line-height: 1.4; }
.pw-featured-item a { color: var(--ink); text-decoration: none; }
.pw-featured-item a:hover { color: var(--blaze); }

.pw-sb-foot {
  margin-top: auto;
  padding-top: 20px;
  font-size: 11px;
  color: var(--slate-light);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

/* Dark Mode Specific Adjustments */
body.dark-mode .job-title {
  color: #ffffff;
}

body.dark-mode .careers-title,
body.dark-mode .sidebar-header {
  border-color: var(--line);
}

/* --------------------------------------------------------------------------
   CONTACT US — contact-us.php
   -------------------------------------------------------------------------- */

/* =========================================================
   CONTACT US SECTION SPECIFIC STYLES
========================================================= */

.pw-contact {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    background-color: var(--paper);
    color: var(--ink);
    overflow: hidden;
}

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

.pw-contact h1,
.pw-contact h2,
.pw-contact h3,
.pw-contact h4,
.pw-contact h5 {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    color: var(--ink);
}

.pw-mono {
    font-family: 'JetBrains Mono', monospace;
}


/* =========================================================
   MAIN GRID
========================================================= */

.pw-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: 32px;
    width: 100%;
    min-width: 0;
}


/* =========================================================
   LEFT COLUMN
========================================================= */

.pw-main {
    min-width: 0;
    padding: 48px 40px 64px 0;
    border-right: 1px solid var(--line);
}

.pw-h1 {
    font-weight: 600;
    font-size: clamp(34px, 3.8vw, 52px);
    line-height: 1.06;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    max-width: 16ch;
    color: var(--navy);
    overflow-wrap: break-word;
}

.pw-h1 em {
    font-style: normal;
    color: var(--blaze);
}

.pw-sub {
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate);
    max-width: 50ch;
    margin-bottom: 48px;
}


/* =========================================================
   SECTION LABEL
========================================================= */

.pw-section-label {
    font-size: 20px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    width: 100%;
    min-width: 0;
}

.pw-section-label::after {
    content: '';
    flex: 1;
    min-width: 20px;
    height: 5px;
    background: #000000;
}


/* =========================================================
   CONTACT INFO BLOCKS
========================================================= */

.pw-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 64px;
    width: 100%;
}

.pw-info-block {
    min-width: 0;
    background: var(--white);
    padding: 22px 24px;
}

.pw-info-block .pw-tag {
    font-size: 16px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink);
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.pw-info-block p {
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pw-info-block a {
    color: var(--navy);
    text-decoration: none;
    border-bottom: 1px solid var(--slate-light);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pw-info-block a:hover {
    color: var(--blaze);
    border-color: var(--blaze);
}


/* =========================================================
   SEND A TRANSMISSION PANEL
========================================================= */

.pw-panel {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    padding: 36px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(7, 28, 60, 0.03);
}

.pw-panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
    min-width: 0;
}

.pw-panel-head h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
}

.pw-panel-head span {
    font-size: 14px;
    color: var(--ink);
    white-space: nowrap;
}

.pw-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.pw-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

.pw-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.pw-field label {
    font-size: 14px;
    color: var(--slate);
    letter-spacing: 0.03em;
}

.pw-field input,
.pw-field select,
.pw-field textarea {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    outline: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.pw-field textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.pw-field input:focus,
.pw-field select:focus,
.pw-field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(20, 80, 196, 0.1);
}

.pw-field input::placeholder,
.pw-field textarea::placeholder {
    color: var(--slate-light);
}


/* =========================================================
   BUTTONS
========================================================= */

.pw-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 8px;
    padding: 13px 22px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .14s ease, background-color .14s ease;
    max-width: 100%;
}

.pw-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.pw-btn-primary {
    background: var(--blaze);
    color: var(--white);
}

.pw-btn-primary:hover {
    background: var(--blaze-2);
    transform: translateY(-1px);
}

.pw-btn-secondary {
    background: var(--navy);
    color: var(--white);
}

.pw-btn-secondary:hover {
    background: var(--navy-2);
    transform: translateY(-1px);
}


/* =========================================================
   FEEDBACK PANEL
========================================================= */

.pw-panel-feedback {
    border: 1px dashed var(--line);
    background: var(--paper);
}

.pw-panel-feedback .pw-panel-head h3 {
    color: var(--ink);
}


/* =========================================================
   RATING
========================================================= */

.pw-rating {
    display: flex;
    gap: 10px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.pw-rating input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pw-rating label {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 17px;
    cursor: pointer;
    color: var(--slate);
    background: var(--white);
    transition: border-color .14s ease,
                color .14s ease,
                background .14s ease;
}

.pw-rating label:hover,
.pw-rating input:checked + label {
    border-color: var(--blaze);
    color: var(--blaze);
    background: rgba(255, 79, 18, 0.08);
}


/* =========================================================
   RIGHT COLUMN — SIDEBAR
========================================================= */

.pw-sidebar {
    background: var(--white);
    padding: 48px 24px 48px 32px;
    min-height: 100%;
    min-width: 0;
    position: sticky;
    top: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--line);
}


/* =========================================================
   SIDEBAR HEAD
========================================================= */

.pw-sb-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy, #06142f);
    font-weight: 700;
    margin-bottom: 30px;
    width: 100%;
    min-width: 0;
}

.pw-sb-head::after {
    content: '';
    flex: 1;
    min-width: 15px;
    height: 3px;
    background-color: var(--navy, #06142f);
    border-radius: 2px;
}

.pw-sb-head .pw-dot {
    background: var(--blaze);
}


/* =========================================================
   FEATURED TITLE
========================================================= */

.pw-sb-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy, #06142f);
    font-weight: 700;
    margin-bottom: 12px;
    width: 100%;
    min-width: 0;
}

.pw-sb-title::after {
    content: '';
    flex: 1;
    min-width: 15px;
    height: 3px;
    background-color: var(--navy, #06142f);
    border-radius: 2px;
}


/* =========================================================
   NEWS LIST
========================================================= */

.pw-news-list {
    list-style: none;
    margin: 0 0 44px;
    padding: 0;
    counter-reset: pw-count;
    width: 100%;
}

.pw-news-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    min-width: 0;
}

.pw-news-item:first-child {
    padding-top: 12px;
}

.pw-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    -webkit-text-stroke: none;
    color: #000000;
    line-height: 1;
    min-width: 22px;
    padding-top: 2px;
    flex-shrink: 0;
}

.pw-news-item h5 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.pw-news-item a {
    color: var(--ink);
    text-decoration: none;
}

.pw-news-item a:hover {
    color: var(--blue);
}


/* =========================================================
   FEATURED LIST
========================================================= */

.pw-featured-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.pw-featured-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    min-width: 0;
}

.pw-featured-item:first-child {
    padding-top: 12px;
}

.pw-featured-item .pw-num {
    -webkit-text-stroke: 1px var(--navy);
}

.pw-featured-item .pw-tag {
    display: inline-block;
    font-size: 9.5px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--navy);
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 5px;
}

.pw-featured-item h5 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.pw-featured-item a {
    color: var(--ink);
    text-decoration: none;
}

.pw-featured-item a:hover {
    color: var(--blaze);
}


/* =========================================================
   SIDEBAR FOOTER
========================================================= */

.pw-sb-foot {
    margin-top: auto;
    padding-top: 20px;
    font-size: 11px;
    color: var(--slate-light);
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}


/* =========================================================
   DARK MODE
========================================================= */

body.dark-mode .job-title {
    color: #ffffff;
}

body.dark-mode .careers-title,
body.dark-mode .sidebar-header {
    border-color: var(--line);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1080px) {

    .pw-contact {
        padding: 0 24px;
    }

    .pw-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pw-main {
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding: 40px 0;
    }

    .pw-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pw-row {
        grid-template-columns: 1fr 1fr;
    }

    .pw-sidebar {
        position: static;
        padding: 40px 0;
        border-left: none;
        min-height: auto;
    }
}


/* =========================================================
   SMALL TABLETS / LARGE PHONES
========================================================= */

@media (max-width: 760px) {

    .pw-contact {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        overflow-x: hidden;
    }

    .pw-main {
        padding: 36px 0 48px;
    }

    .pw-h1 {
        font-size: clamp(32px, 8vw, 44px);
        line-height: 1.08;
        max-width: 100%;
        margin-bottom: 14px;
    }

    .pw-sub {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 36px;
        max-width: 100%;
    }

    .pw-section-label {
        font-size: 16px;
        letter-spacing: 0.08em;
        gap: 8px;
    }

    .pw-section-label::after {
        height: 3px;
    }

    .pw-info-grid {
        grid-template-columns: 1fr;
        margin-bottom: 44px;
    }

    .pw-info-block {
        padding: 20px;
    }

    .pw-info-block .pw-tag {
        font-size: 14px;
    }

    .pw-info-block p {
        font-size: 16px;
    }

    .pw-panel {
        padding: 28px 22px;
        margin-bottom: 32px;
    }

    .pw-panel-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 22px;
    }

    .pw-panel-head h3 {
        font-size: 20px;
    }

    .pw-panel-head span {
        white-space: normal;
        font-size: 13px;
    }

    .pw-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pw-field input,
    .pw-field select,
    .pw-field textarea {
        font-size: 16px;
    }

    .pw-btn {
        width: 100%;
        align-self: stretch;
    }

    .pw-sidebar {
        padding: 36px 0;
    }

    .pw-sb-head {
        font-size: 16px;
        letter-spacing: 0.09em;
    }

    .pw-sb-title {
        font-size: 17px;
        letter-spacing: 0.09em;
    }

    .pw-news-item h5,
    .pw-featured-item h5 {
        font-size: 16px;
    }
}


/* =========================================================
   MOBILE PHONES
========================================================= */

@media (max-width: 560px) {

    .pw-contact {
        padding: 0 16px;
        overflow-x: hidden;
    }

    .pw-main {
        padding: 30px 0 40px;
    }

    .pw-h1 {
        font-size: 34px;
        line-height: 1.08;
        letter-spacing: -0.02em;
    }

    .pw-sub {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 32px;
    }

    .pw-section-label {
        font-size: 14px;
        letter-spacing: 0.06em;
        gap: 8px;
        margin-bottom: 18px;
    }

    .pw-section-label::after {
        height: 3px;
    }

    .pw-info-grid {
        border-radius: 10px;
        margin-bottom: 38px;
    }

    .pw-info-block {
        padding: 18px;
    }

    .pw-info-block .pw-tag {
        font-size: 13px;
        letter-spacing: 0.07em;
    }

    .pw-info-block p {
        font-size: 16px;
        line-height: 1.5;
    }

    .pw-panel {
        padding: 22px 16px;
        border-radius: 12px;
        margin-bottom: 28px;
    }

    .pw-panel-head {
        gap: 7px;
        margin-bottom: 20px;
    }

    .pw-panel-head h3 {
        font-size: 19px;
        line-height: 1.3;
    }

    .pw-panel-head span {
        font-size: 12px;
        line-height: 1.4;
    }

    .pw-form {
        gap: 16px;
    }

    .pw-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pw-field {
        width: 100%;
    }

    .pw-field label {
        font-size: 13px;
    }

    .pw-field input,
    .pw-field select,
    .pw-field textarea {
        width: 100%;
        max-width: 100%;
        padding: 12px;
        font-size: 16px;
    }

    .pw-field textarea {
        min-height: 120px;
    }

    .pw-btn {
        width: 100%;
        min-height: 46px;
        padding: 13px 16px;
        font-size: 12px;
    }

    .pw-rating {
        gap: 7px;
    }

    .pw-rating label {
        width: 38px;
        height: 38px;
    }

    .pw-sidebar {
        padding: 32px 0;
    }

    .pw-sb-head {
        font-size: 15px;
        letter-spacing: 0.07em;
        margin-bottom: 24px;
    }

    .pw-sb-title {
        font-size: 15px;
        letter-spacing: 0.07em;
    }

    .pw-news-item,
    .pw-featured-item {
        gap: 10px;
        padding: 13px 0;
    }

    .pw-num {
        font-size: 18px;
        min-width: 20px;
    }

    .pw-news-item h5,
    .pw-featured-item h5 {
        font-size: 15px;
        line-height: 1.45;
    }

    .pw-featured-item .pw-tag {
        font-size: 8px;
    }

    .pw-sb-foot {
        font-size: 10px;
        gap: 8px;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .pw-contact {
        padding: 0 12px;
    }

    .pw-h1 {
        font-size: 30px;
    }

    .pw-sub {
        font-size: 14px;
    }

    .pw-panel {
        padding: 20px 14px;
    }

    .pw-info-block {
        padding: 16px;
    }

    .pw-info-block p {
        font-size: 15px;
    }

    .pw-section-label {
        font-size: 13px;
    }

    .pw-rating label {
        width: 36px;
        height: 36px;
    }
}


/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pw-dot {
        animation: none;
    }

    .pw-btn,
    .pw-rating label,
    .pw-field input,
    .pw-field select,
    .pw-field textarea {
        transition: none;
    }
}


/* =========================================================
   KEYBOARD FOCUS
========================================================= */

.pw-contact a:focus-visible,
.pw-contact button:focus-visible,
.pw-contact input:focus-visible,
.pw-contact select:focus-visible,
.pw-contact textarea:focus-visible,
.pw-contact label:focus-within {
    outline: 2px solid var(--blaze);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   DONATE PAGE — donate.php
   -------------------------------------------------------------------------- */
/* DONATE SECTION SPECIFIC STYLES */

.donate-section{background:var(--white);padding:40px 32px;position:relative;overflow:hidden;}
.donate-section::before{
  content:"";position:absolute;top:-120px;right:-120px;width:420px;height:420px;
  background:radial-gradient(circle, rgba(255,79,18,.10) 0%, rgba(255,79,18,0) 70%);
  pointer-events:none;
}
.donate-section::after{
  content:"";position:absolute;bottom:-140px;left:-140px;width:420px;height:420px;
  background:radial-gradient(circle, rgba(20,80,196,.09) 0%, rgba(20,80,196,0) 70%);
  pointer-events:none;
}
.donate-head{text-align:center;max-width:640px;margin:0 auto 48px;position:relative;z-index:1;}
.donate-head .eyebrow{color:var(--blaze);margin-bottom:12px;}
.donate-head h2{font-family:'Space Grotesk',sans-serif;font-size:36px;color:var(--ink);margin-bottom:14px;}
.donate-head h2 span{background:linear-gradient(90deg,var(--blaze),var(--blue-bright));-webkit-background-clip:text;background-clip:text;color:transparent;}
.donate-head p{color:var(--slate);font-size:18px;line-height:1.6;}

.donate-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:28px;align-items:start;max-width:1100px;margin:0 auto;position:relative;z-index:1;}

/* -- Giving panel -- */
.give-panel{
  background:var(--white);border:1px solid var(--line);border-radius:18px;padding:30px;
  box-shadow:0 20px 50px rgba(11,18,32,.08);position:relative;
}
.give-panel::before{
  content:"";position:absolute;top:0;left:0;right:0;height:4px;border-radius:18px 18px 0 0;
  background:linear-gradient(90deg,var(--blaze),var(--blue-bright));
}
.freq-toggle{display:flex;background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:4px;margin-bottom:22px;}
.freq-btn{flex:1;text-align:center;padding:10px 0;border-radius:999px;font-family:'Space Grotesk',sans-serif;font-size:13px;font-weight:600;color:var(--slate);cursor:pointer;transition:.2s;user-select:none;}
.freq-btn.active{background:linear-gradient(90deg,var(--blaze),var(--blaze-2));color:#fff;box-shadow:0 4px 14px rgba(255,79,18,.35);}

.amount-label{font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--slate);margin-bottom:10px;}
.amount-chips{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:14px;}
.amount-chip{position:relative;border:1.5px solid var(--line);color:var(--ink);background:var(--white);padding:11px 0;border-radius:10px;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:14px;cursor:pointer;transition:.15s;user-select:none;}
.amount-chip:hover{border-color:var(--blaze);transform:translateY(-2px);}
.amount-chip.active{background:linear-gradient(135deg,var(--blaze),var(--blaze-2));border-color:var(--blaze);color:#fff;box-shadow:0 6px 16px rgba(255,79,18,.3);}
.amount-chip.popular::after{
  content:"POPULAR";position:absolute;top:-9px;left:50%;transform:translateX(-50%);
  background:var(--blue-bright);color:#fff;font-family:'JetBrains Mono',monospace;font-size:8px;font-weight:700;
  letter-spacing:.06em;padding:2px 6px;border-radius:999px;white-space:nowrap;
}

.amount-input-wrap{display:flex;align-items:center;border:1.5px solid var(--line);border-radius:12px;padding:13px 16px;margin-bottom:8px;background:var(--paper);transition:.2s;}
.amount-input-wrap:focus-within{border-color:var(--blue-bright);background:var(--white);box-shadow:0 0 0 4px rgba(46,107,240,.1);}
.amount-input-wrap span{font-family:'Space Grotesk',sans-serif;font-size:21px;font-weight:700;color:var(--blaze);margin-right:6px;}
.amount-input-wrap input{background:transparent;border:none;outline:none;color:var(--ink);font-family:'Space Grotesk',sans-serif;font-size:21px;font-weight:700;width:100%;}
.amount-input-wrap input::placeholder{color:var(--slate-light);}

.impact-note{font-size:12.5px;color:var(--slate);line-height:1.5;margin-bottom:22px;min-height:34px;padding:10px 12px;background:rgba(20,80,196,.06);border-left:2.5px solid var(--blue-bright);border-radius:0 8px 8px 0;}
.impact-note strong{color:var(--ink);}

.give-btn{
  display:block;width:100%;text-align:center;background:linear-gradient(90deg,var(--blaze),var(--blaze-2));
  color:#fff;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:15.5px;padding:16px 0;
  border-radius:12px;border:none;cursor:pointer;transition:.2s;box-shadow:0 10px 24px rgba(255,79,18,.28);
}
.give-btn:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(255,79,18,.38);}
.give-secure{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:14px;font-size:11.5px;color:var(--slate-light);}
.give-secure svg{width:12px;height:12px;}

/* -- Sponsor panel -- */
.sponsor-panel h3{font-family:'Space Grotesk',sans-serif;font-size:18px;color:var(--ink);margin-bottom:6px;}
.sponsor-panel>p{font-size:13px;color:var(--slate);margin-bottom:18px;line-height:1.55;}
.sponsor-list{display:flex;flex-direction:column;gap:12px;}
.sponsor-card{display:flex;align-items:center;gap:14px;background:var(--white);border:1px solid var(--line);border-radius:14px;padding:17px 18px;transition:.2s;cursor:pointer;}
.sponsor-card:hover{border-color:var(--blue-bright);transform:translateY(-3px);box-shadow:0 14px 30px rgba(11,18,32,.08);}
.sponsor-icon{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,rgba(255,79,18,.14),rgba(46,107,240,.14));display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--blue);}
.sponsor-icon svg{width:21px;height:21px;}
.sponsor-body{flex:1;}
.sponsor-body h4{font-family:'Space Grotesk',sans-serif;font-size:14.5px;color:var(--ink);margin-bottom:3px;}
.sponsor-body p{font-size:12.5px;color:var(--slate);line-height:1.45;}
.sponsor-price{font-family:'JetBrains Mono',monospace;font-size:12px;color:#fff;background:var(--blue);white-space:nowrap;font-weight:700;padding:5px 10px;border-radius:999px;}

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

  

/* --------------------------------------------------------------------------
   PARTNERSHIP PAGE — partnership.php
   -------------------------------------------------------------------------- */
/* PARTNERSHIP SECTION SPECIFIC STYLES */
 .footprint-section{background:var(--paper);padding:64px 0;}
  .footprint-title{
    font-family:'Space Grotesk',sans-serif;
    font-weight:700;
    font-size:clamp(26px,3vw,34px);
    color:var(--navy);
    text-align:center;
    margin-bottom:40px;
  }
  .footprint-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
  }
  .footprint-card{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:12px;
    padding:32px 20px;
    text-align:center;
    box-shadow:0 6px 18px rgba(7,28,60,.05);
  }
  .footprint-card .num{
    font-family:'Space Grotesk',sans-serif;
    font-weight:700;
    font-size:34px;
    color:var(--teal-dark);
    margin-bottom:10px;
  }
  .footprint-card .label{
    font-size:13.5px;
    font-weight:600;
    color:var(--slate);
  }

  /* ============ PARTNERSHIP TRACKS ============ */
  .tracks-section{padding:80px 0;}
  .tracks-head{text-align:center;max-width:640px;margin:0 auto 48px;}
  .tracks-head h2{
    font-family:'Space Grotesk',sans-serif;
    font-weight:700;
    font-size:clamp(28px,3.4vw,38px);
    color:var(--navy);
    margin-bottom:14px;
  }
  .tracks-head p{
    font-size:15px;
    color:var(--slate);
    line-height:1.65;
  }
  .tracks-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
  }
  .track-card{
    background:var(--card);
    border:1px solid var(--line);
    border-top:4px solid var(--navy);
    border-radius:14px;
    padding:34px 28px;
    box-shadow:0 12px 30px rgba(7,28,60,.06);
    transition:transform .2s ease, box-shadow .2s ease;
  }
  .track-card:hover{transform:translateY(-4px);box-shadow:0 20px 44px rgba(7,28,60,.1);}
  .track-card:nth-child(2){border-top-color:var(--teal);}
  .track-card:nth-child(3){border-top-color:#f2a71b;}
  .track-icon{
    width:52px;height:52px;
    border-radius:12px;
    display:flex;align-items:center;justify-content:center;
    margin-bottom:22px;
  }
  .track-card:nth-child(1) .track-icon{background:rgba(7,28,60,.08);color:var(--navy);}
  .track-card:nth-child(2) .track-icon{background:rgba(20,184,189,.12);color:var(--teal-dark);}
  .track-card:nth-child(3) .track-icon{background:rgba(242,167,27,.14);color:#c9820d;}
  .track-icon svg{width:26px;height:26px;}
  .track-card h3{
    font-family:'Space Grotesk',sans-serif;
    font-weight:700;
    font-size:19px;
    color:var(--navy);
    line-height:1.3;
    margin-bottom:14px;
  }
  .track-card p{
    font-size:13.8px;
    color:var(--slate);
    line-height:1.65;
    margin-bottom:20px;
  }
  .track-list li{
    display:flex;
    align-items:flex-start;
    gap:9px;
    font-size:13.3px;
    color:var(--ink);
    margin-bottom:11px;
  }
  .track-list li:last-child{margin-bottom:0;}
  .track-list svg{
    width:16px;height:16px;
    color:var(--teal-dark);
    flex-shrink:0;
    margin-top:2px;
  }

  /* ============ INITIATE PARTNERSHIP FORM ============ */
  .partner-form-section{
    background:var(--navy);
    padding:80px 0;
  }
  .form-panel{
    max-width:680px;
    margin:0 auto;
    background:var(--white);
    border-radius:18px;
    padding:44px 48px;
    box-shadow:0 30px 70px rgba(0,0,0,.28);
  }
  .form-panel h2{
    font-family:'Space Grotesk',sans-serif;
    font-weight:700;
    font-size:26px;
    color:var(--navy);
    margin-bottom:14px;
  }
  .form-panel > p{
    font-size:14px;
    color:var(--slate);
    line-height:1.65;
    margin-bottom:30px;
    max-width:520px;
  }
  .form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px 20px;
  }
  .form-grid .full{grid-column:span 2;}
  .field label{
    display:block;
    font-family:'Space Grotesk',sans-serif;
    font-weight:700;
    font-size:12.5px;
    color:var(--ink);
    margin-bottom:8px;
  }
  .field input,
  .field select,
  .field textarea{
    width:100%;
    padding:12px 14px;
    border-radius:8px;
    border:1px solid var(--line);
    background:var(--paper);
    font-size:13.5px;
    font-family:'Inter',sans-serif;
    color:var(--ink);
    outline:none;
    transition:border-color .15s ease;
  }
  .field input::placeholder,
  .field textarea::placeholder{color:var(--slate-light);}
  .field input:focus,
  .field select:focus,
  .field textarea:focus{border-color:var(--teal);}
  .field textarea{resize:vertical;min-height:110px;font-family:'Inter',sans-serif;}
  .btn-pitch{
    grid-column:span 2;
    background:var(--teal);
    color:#fff;
    border:none;
    padding:15px;
    border-radius:8px;
    font-family:'Space Grotesk',sans-serif;
    font-weight:700;
    font-size:13.5px;
    letter-spacing:.06em;
    text-transform:uppercase;
    cursor:pointer;
    margin-top:6px;
    transition:background .2s ease;
  }
  .btn-pitch:hover{background:var(--teal-dark);}

  @media (max-width:980px){
    .footprint-grid{grid-template-columns:1fr 1fr;}
    .tracks-grid{grid-template-columns:1fr;}
  }
  @media (max-width:640px){
    .footprint-grid{grid-template-columns:1fr;}
    .form-panel{padding:34px 24px;}
    .form-grid{grid-template-columns:1fr;}
    .form-grid .full,.btn-pitch{grid-column:span 1;}
  }


  /* --------------------------------------------------------------------------
   FOOTER — footer.php
   -------------------------------------------------------------------------- */
/* FOOTER SECTION SPECIFIC STYLES */

 /* footer */
  footer{background:#040d21;color:#c4cee5;padding:56px 0 24px;transition:background .25s ease;}
  .footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:36px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.08);}
  .footer-brand img{height:56px;width:auto;object-fit:contain;filter:brightness(0) invert(1);margin-bottom:14px;}
  .footer-brand p{font-size:13px;color:#8b98ad;line-height:1.6;max-width:280px;}
  .footer-col h4{font-family:'Space Grotesk',sans-serif;color:#fff;font-size:14px;margin-bottom:16px;}
  .footer-col a{display:block;font-size:13.5px;color:#a9b6d1;margin-bottom:11px;transition:.15s;}
  .footer-col a:hover{color:var(--blaze-2);}
  .footer-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:22px;font-size:12.5px;color:#5b6b85;flex-wrap:wrap;gap:10px;}
  .footer-socials{display:flex;gap:12px;}
  .footer-socials a{width:30px;height:30px;border-radius:50%;border:1px solid rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;color:#c4cee5;transition:.2s;}
  .footer-socials a:hover{background:var(--blaze);border-color:var(--blaze);color:#fff;}
  .footer-socials svg{width:13px;height:13px;}

  .content-shell{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start;}
  .main-column{display:flex;flex-direction:column;gap:0;}
  .sidebar-column{display:flex;flex-direction:column;gap:14px;position:sticky;top:96px;}
  .sidebar-block{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px;}
  .sidebar-block h3{font-family:'Space Grotesk',sans-serif;font-size:14px;font-weight:700;color:var(--ink);margin-bottom:10px;}
  .sidebar-ad-card,.sidebar-insta-card{display:block;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--paper);margin-bottom:8px;}
  .sidebar-ad-card img,.sidebar-insta-card img{width:100%;height:112px;object-fit:cover;display:block;}
  .sidebar-ad-card .body,.sidebar-insta-card .body{padding:9px 10px;}
  .sidebar-ad-card .body strong,.sidebar-insta-card .body strong{font-size:11.5px;color:var(--blue);display:block;}
  .sidebar-ad-card .body span,.sidebar-insta-card .body span{font-size:10.5px;color:var(--slate);display:block;margin-top:3px;line-height:1.35;}

  @media (max-width:980px){
    .hero-grid{grid-template-columns:1fr;}
    .pillar-grid,.lab-grid{grid-template-columns:1fr 1fr;}
    .stats-grid{grid-template-columns:1fr 1fr;}
    .footer-grid{grid-template-columns:1fr 1fr;}
    .split-grid,.contact-grid{grid-template-columns:1fr;}
    .member-form{grid-template-columns:1fr;}
    .member-form .full{grid-column:span 1;}
    .btn-submit{grid-column:span 1;}
    .topbar-right{flex-wrap:wrap;}
    .search-box{min-width:160px;}
    .content-shell{grid-template-columns:1fr;}
    .sidebar-column{position:static;}
  }
  @media (max-width:640px){
    .pillar-grid,.lab-grid,.partners-strip{grid-template-columns:1fr;}
  }

  /* =========================================================
   MOBILE PAGE STABILITY
   Prevent unwanted sideways/left-right page movement
   ========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    position: relative;
    overscroll-behavior-x: none;
}

/* Prevent sections/elements from creating horizontal overflow */
* {
    max-width: 100%;
}

/* Images and media must stay inside the phone screen */
img,
video,
iframe,
svg {
    max-width: 100%;
}

/* Keep WordPress content inside the screen */
@media (max-width: 768px) {
    .wrap {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .ticker-bar,
    .navbar,
    .topbar {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
}