/* ==========================================================================
   Sandy Summers — Speaking Site
   SINGLE STYLESHEET. No external CSS, no icon font, no framework.

   Contents
     1. Design tokens & base
     2. Mini framework   — replaces Bootstrap (the ~110 classes in use)
     3. Icons            — original SVG set, replaces Font Awesome
     4. Site theme & components
   ========================================================================== */


/* ===== 1. DESIGN TOKENS & BASE ===== */

:root {
    --primary-color: #2d4a6e;    /* navy */
    --primary-light: #4a7a9c;
    --secondary-color: #e27c2e;  /* orange accent */
    --accent-color: #e27c2e;
    --accent-dark: #c55a1a;
    --gold: #f2c94c;
    --bg-body: #f5f8fb;
    --bg-soft: #f8fafc;
    --border-color: #dee5ea;
    --border-soft: #eef2f5;
    --muted: #64748b;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-body);
    color: var(--primary-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bitter', 'Georgia', serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--primary-color);
}

/* ==========================================================================
   MINI FRAMEWORK
   Hand-written replacement for the ~110 Bootstrap classes this site uses.
   Breakpoints match Bootstrap 5 so existing markup behaves identically:
     sm 576  ·  md 768  ·  lg 992  ·  xl 1200  ·  xxl 1400
   Spacing scale: 0=0  1=.25rem  2=.5rem  3=1rem  4=1.5rem  5=3rem
   ========================================================================== */

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

body { margin: 0; }

img, svg { vertical-align: middle; }
.img-fluid { max-width: 100%; height: auto; }

hr {
    margin: 1rem 0;
    color: inherit;
    border: 0;
    border-top: 1px solid currentColor;
    opacity: 0.25;
}

/* --------------------------------------------------------------------------
   Grid
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

.row {
    --gx: 1.5rem;
    --gy: 0rem;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--gy));
    margin-right: calc(-0.5 * var(--gx));
    margin-left: calc(-0.5 * var(--gx));
}
.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--gx) * 0.5);
    padding-left: calc(var(--gx) * 0.5);
    margin-top: var(--gy);
}
.g-4 { --gx: 1.5rem; --gy: 1.5rem; }

.col-6  { flex: 0 0 auto; width: 50%; }
.col-12 { flex: 0 0 auto; width: 100%; }

@media (min-width: 768px) {
    .col-md-3 { flex: 0 0 auto; width: 25%; }
    .col-md-4 { flex: 0 0 auto; width: 33.33333333%; }
    .col-md-6 { flex: 0 0 auto; width: 50%; }
    .col-md-8 { flex: 0 0 auto; width: 66.66666667%; }
}
@media (min-width: 992px) {
    .col-lg-3  { flex: 0 0 auto; width: 25%; }
    .col-lg-4  { flex: 0 0 auto; width: 33.33333333%; }
    .col-lg-6  { flex: 0 0 auto; width: 50%; }
    .col-lg-8  { flex: 0 0 auto; width: 66.66666667%; }
    .col-lg-10 { flex: 0 0 auto; width: 83.33333333%; }
}

/* --------------------------------------------------------------------------
   Display / flex
   -------------------------------------------------------------------------- */
.d-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.justify-content-center  { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-start  { align-items: flex-start !important; }
.align-items-center { align-items: center !important; }
@media (min-width: 992px) { .align-items-lg-center { align-items: center !important; } }
.gap-2 { gap: 0.5rem !important; }

/* --------------------------------------------------------------------------
   Spacing
   -------------------------------------------------------------------------- */
.mx-auto { margin-right: auto !important; margin-left: auto !important; }
.ms-auto { margin-left: auto !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-1 { margin-left: 0.25rem !important; }
.ms-3 { margin-left: 1rem !important; }

.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }

.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.pt-3 { padding-top: 1rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

@media (min-width: 768px) { .mt-md-0 { margin-top: 0 !important; } }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.display-4 { font-size: calc(1.475rem + 2.7vw); font-weight: 300; line-height: 1.2; }
.display-5 { font-size: calc(1.425rem + 2.1vw); font-weight: 300; line-height: 1.2; }
@media (min-width: 1200px) {
    .display-4 { font-size: 3.5rem; }
    .display-5 { font-size: 3rem; }
}
.lead { font-size: 1.25rem; font-weight: 300; }
.small { font-size: 0.875em; }
.fw-bold { font-weight: 700 !important; }
.fst-italic { font-style: italic !important; }

h1, .h1 { font-size: calc(1.375rem + 1.5vw); }
h2, .h2 { font-size: calc(1.325rem + 0.9vw); }
h3, .h3 { font-size: calc(1.3rem + 0.6vw); }
h4, .h4 { font-size: calc(1.275rem + 0.3vw); }
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }
@media (min-width: 1200px) {
    h1, .h1 { font-size: 2.5rem; }
    h2, .h2 { font-size: 2rem; }
    h3, .h3 { font-size: 1.75rem; }
    h4, .h4 { font-size: 1.5rem; }
}
h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 0.5rem; }
p { margin-top: 0; margin-bottom: 1rem; }

.text-center { text-align: center !important; }
.text-end { text-align: right !important; }
@media (min-width: 768px) { .text-md-end { text-align: right !important; } }

.text-white   { color: #fff !important; }
.text-light   { color: #f8f9fa !important; }
.text-dark    { color: #212529 !important; }
.text-muted   { color: var(--muted) !important; }

.list-unstyled { padding-left: 0; list-style: none; }

.blockquote-footer {
    margin-top: -1rem;
    margin-bottom: 1rem;
    font-size: 0.875em;
    color: var(--muted);
}
.blockquote-footer::before { content: "\2014\00A0"; }

/* --------------------------------------------------------------------------
   Borders / effects
   -------------------------------------------------------------------------- */
.border { border: 1px solid var(--border-color) !important; }
.border-top { border-top: 1px solid var(--border-color) !important; }
.rounded { border-radius: 0.375rem !important; }
.rounded-3 { border-radius: 0.5rem !important; }
.rounded-circle { border-radius: 50% !important; }
.shadow    { box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important; }
.shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075) !important; }
.opacity-25 { opacity: 0.25 !important; }
.opacity-75 { opacity: 0.75 !important; }
.h-100 { height: 100% !important; }
.sticky-top { position: sticky; top: 0; z-index: 1020; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    background-color: transparent;
    font-family: inherit;
}
.btn:disabled { opacity: 0.65; pointer-events: none; }
.btn-lg { padding: 0.5rem 1rem; font-size: 1.25rem; }
.btn-sm { padding: 0.25rem 0.5rem; font-size: 0.875rem; }

.btn-light {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: var(--primary-color);
}
.btn-light:hover { background-color: #fff; border-color: #fff; }

.btn-outline-light { color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background-color: #fff; color: var(--primary-color); }

/* --------------------------------------------------------------------------
   Badges
   -------------------------------------------------------------------------- */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 0.5rem;
}
.card-body { flex: 1 1 auto; padding: 1rem; }
.card-title { margin-bottom: 0.5rem; }
.card-text:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-label { margin-bottom: 0.5rem; display: inline-block; }
.form-control,
.form-select {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.5;
    color: var(--primary-color);
    background-color: #fff;
    border: 1px solid var(--border-color);
    appearance: none;
}
.form-select {
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%232d4a6e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 5l6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}
.form-control:focus,
.form-select:focus { outline: 0; }
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220,53,69,0.15);
}

/* --------------------------------------------------------------------------
   Alerts
   -------------------------------------------------------------------------- */
.alert {
    position: relative;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.5rem;
}
.alert-danger  { color: #842029; background-color: #f8d7da; border-color: #f5c2c7; }
.alert-success { color: #0f5132; background-color: #d1e7dd; border-color: #badbcc; }

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.navbar > .container {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}
.navbar-brand {
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    text-decoration: none;
    white-space: nowrap;
}
.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.navbar-nav .nav-link { text-decoration: none; display: block; }
.nav-item { display: block; }

.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    cursor: pointer;
}
.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.collapse:not(.show) { display: none; }

@media (min-width: 992px) {
    .navbar-expand-lg { flex-wrap: nowrap; justify-content: flex-start; }
    .navbar-expand-lg .navbar-nav { flex-direction: row; }
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
    .navbar-expand-lg .navbar-toggler { display: none; }
}
@media (max-width: 991.98px) {
    .navbar-collapse { flex-basis: 100%; flex-grow: 1; }
    .navbar-nav { padding-top: 0.5rem; }
}

/* ==========================================================================
   ICONS
   Original SVG icon set, delivered as CSS masks so every icon inherits
   currentColor and font-size exactly like a webfont glyph would.
   Usage:  <i class="icon icon-envelope" aria-hidden="true"></i>
   Sizing: add .icon-lg / .icon-2x / .icon-3x
   ========================================================================== */

.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-image: var(--icon);
            mask-image: var(--icon);
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: contain;
            mask-size: contain;
}
.icon-lg { font-size: 1.33em; }
.icon-2x { font-size: 2em; }
.icon-3x { font-size: 3em; }
.icon-10x { font-size: 10em; }
.icon-spin { animation: icon-spin 1s linear infinite; }
@keyframes icon-spin { to { transform: rotate(360deg); } }

.icon-arrow-right { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M4%2012h15M13%206l6%206-6%206'/></svg>"); }
.icon-award { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><circle%20cx='12'%20cy='9'%20r='6'/><path%20d='M8.5%2014.2L7%2022l5-2.5%205%202.5-1.5-7.8'/></svg>"); }
.icon-book { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M12%206.6C10.4%205.1%207.9%204.3%204%204.3v12.4c3.9%200%206.4.8%208%202.3%201.6-1.5%204.1-2.3%208-2.3V4.3c-3.9%200-6.4.8-8%202.3z'/><path%20d='M12%206.6V19'/></svg>"); }
.icon-briefcase { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><rect%20x='2.5'%20y='7'%20width='19'%20height='13'%20rx='2'/><path%20d='M9%207V5a1.5%201.5%200%200%201%201.5-1.5h3A1.5%201.5%200%200%201%2015%205v2M2.5%2012.5h19'/></svg>"); }
.icon-bullhorn { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M4%2010v4a1%201%200%200%200%201%201h3l8%204V5L8%209H5a1%201%200%200%200-1%201z'/><path%20d='M19%209.5a3.5%203.5%200%200%201%200%205M7.5%2015.5V20h3'/></svg>"); }
.icon-calendar-alt { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><rect%20x='3'%20y='5'%20width='18'%20height='16'%20rx='2'/><path%20d='M3%2010h18M8%203v4M16%203v4'/></svg>"); }
.icon-calendar-check { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><rect%20x='3'%20y='5'%20width='18'%20height='16'%20rx='2'/><path%20d='M3%2010h18M8%203v4M16%203v4M9%2015l2%202%204-4'/></svg>"); }
.icon-calendar-plus { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><rect%20x='3'%20y='5'%20width='18'%20height='16'%20rx='2'/><path%20d='M3%2010h18M8%203v4M16%203v4M12%2013v6M9%2016h6'/></svg>"); }
.icon-certificate { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><rect%20x='3'%20y='4'%20width='18'%20height='12'%20rx='2'/><path%20d='M7%208h7M7%2011.5h4'/><circle%20cx='17'%20cy='17.5'%20r='3'/><path%20d='M15.5%2020l-.5%203%202-1%202%201-.5-3'/></svg>"); }
.icon-chevron-left { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M15%204l-8%208%208%208'/></svg>"); }
.icon-chevron-right { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M9%204l8%208-8%208'/></svg>"); }
.icon-envelope { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><rect%20x='3'%20y='5'%20width='18'%20height='14'%20rx='2'/><path%20d='M3.5%207l8.5%206%208.5-6'/></svg>"); }
.icon-expand { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M4%209V4h5M20%209V4h-5M4%2015v5h5M20%2015v5h-5'/></svg>"); }
.icon-external-link-alt { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M14%204h6v6M20%204l-8%208M18%2014v5a1%201%200%200%201-1%201H5a1%201%200%200%201-1-1V7a1%201%200%200%201%201-1h5'/></svg>"); }
.icon-globe { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><circle%20cx='12'%20cy='12'%20r='9'/><path%20d='M3.2%209.5h17.6M3.2%2014.5h17.6M12%203a15%2015%200%200%201%200%2018A15%2015%200%200%201%2012%203z'/></svg>"); }
.icon-globe-americas { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><circle%20cx='12'%20cy='12'%20r='9'/><path%20d='M3.2%209.5h17.6M3.2%2014.5h17.6M12%203a15%2015%200%200%201%200%2018A15%2015%200%200%201%2012%203z'/></svg>"); }
.icon-globe-asia { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><circle%20cx='12'%20cy='12'%20r='9'/><path%20d='M3.2%209.5h17.6M3.2%2014.5h17.6M12%203a15%2015%200%200%201%200%2018A15%2015%200%200%201%2012%203z'/></svg>"); }
.icon-graduation-cap { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M12%204L2%209l10%205%2010-5z'/><path%20d='M6%2011.2V16c0%201.7%202.7%203%206%203s6-1.3%206-3v-4.8M21%209.5v5'/></svg>"); }
.icon-headside-mask { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M3.4%208.6h17.2v4.9a5%205%200%200%201-3.6%204.8L12%2019.8l-5-1.5a5%205%200%200%201-3.6-4.8z'/><path%20d='M3.4%2010.6l-1.9-1M20.6%2010.6l1.9-1M7%2012.2h10M8.4%2015.2h7.2'/></svg>"); }
.icon-heartbeat { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M12%2020.6S3.4%2014.9%203.4%209.3a4.7%204.7%200%200%201%208.6-2.7%204.7%204.7%200%200%201%208.6%202.7c0%205.6-8.6%2011.3-8.6%2011.3z'/><path%20d='M4.2%2011.4h3.3l1.3-2.6%202.3%205.2%201.9-3.6%201.3%201h5.5'/></svg>"); }
.icon-home { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M3.5%2010.5L12%203.5l8.5%207'/><path%20d='M5.5%209.5V20h13V9.5M10%2020v-6h4v6'/></svg>"); }
.icon-landmark { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M2.5%209.5L12%204l9.5%205.5'/><path%20d='M5%2011v7M9.5%2011v7M14.5%2011v7M19%2011v7M3%2020.5h18'/></svg>"); }
.icon-list { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M9%206h11M9%2012h11M9%2018h11'/><circle%20fill='%23000'%20stroke='none'%20cx='4.5'%20cy='6'%20r='1.5'/><circle%20fill='%23000'%20stroke='none'%20cx='4.5'%20cy='12'%20r='1.5'/><circle%20fill='%23000'%20stroke='none'%20cx='4.5'%20cy='18'%20r='1.5'/></svg>"); }
.icon-magnet { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M5%204H9v9a3%203%200%200%200%206%200V4h4v9a7%207%200%200%201-14%200z'/><path%20d='M5%208h4M15%208h4'/></svg>"); }
.icon-map-marker-alt { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M12%2021.5s7-7.2%207-12a7%207%200%201%200-14%200c0%204.8%207%2012%207%2012z'/><circle%20cx='12'%20cy='9.5'%20r='2.5'/></svg>"); }
.icon-medal { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><circle%20cx='12'%20cy='15'%20r='5.5'/><path%20d='M8.5%209.8L6%203h4l2%204%202-4h4l-2.5%206.8'/></svg>"); }
.icon-microphone { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><rect%20x='9'%20y='2.5'%20width='6'%20height='11'%20rx='3'/><path%20d='M5.5%2011.5a6.5%206.5%200%200%200%2013%200M12%2018v3.5M9%2021.5h6'/></svg>"); }
.icon-microphone-alt { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><rect%20x='9'%20y='2.5'%20width='6'%20height='11'%20rx='3'/><path%20d='M5.5%2011.5a6.5%206.5%200%200%200%2013%200M12%2018v3.5M9%2021.5h6M9%206h6M9%209h6'/></svg>"); }
.icon-mobile-alt { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><rect%20x='7'%20y='2'%20width='10'%20height='20'%20rx='2'/><path%20d='M10.5%2018.5h3'/></svg>"); }
.icon-newspaper { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M3%206h14v14H4.5A1.5%201.5%200%200%201%203%2018.5z'/><path%20d='M17%209h3v9a2%202%200%200%201-3%201.7M6%209.5h8M6%2013h8M6%2016.5h5'/></svg>"); }
.icon-paper-plane { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M21%203L2.5%2010.5l7%202.8M21%203l-3%2017-8.5-6.7M21%203L9.5%2013.3v5.2'/></svg>"); }
.icon-pause { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20fill='%23000'%20stroke='none'%20d='M7%204h3.5v16H7zM13.5%204H17v16h-3.5z'/></svg>"); }
.icon-phone { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M6.5%203h3l1.8%204.5-2.3%201.6a13.5%2013.5%200%200%200%205.9%205.9l1.6-2.3L21%2014.5v3a2.5%202.5%200%200%201-2.7%202.5A17.5%2017.5%200%200%201%204%205.7%202.5%202.5%200%200%201%206.5%203z'/></svg>"); }
.icon-plane-arrival { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M3%2019.5h18'/><path%20d='M3.6%2011.3l2.7%201.1%205.6-3.6%201.6%202.1-4.6%203.6%204.4%201.8%202.6-.4%201.8.8-2.4%201.7c-.7.5-1.5.6-2.3.3L4%2013.9z'/></svg>"); }
.icon-plane-departure { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M3%2019.5h18'/><path%20d='M4.5%2013.4l2.8-.8%203.1-5.9%202.6-.7-1.2%205.8%204.5-1.2%201.4-2.3%201.9-.5-.7%202.9c-.2.8-.8%201.4-1.6%201.6L5.6%2016.2z'/></svg>"); }
.icon-play { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20fill='%23000'%20stroke='none'%20d='M7%204.5v15l13-7.5z'/></svg>"); }
.icon-play-circle { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><circle%20cx='12'%20cy='12'%20r='9'/><path%20fill='%23000'%20stroke='none'%20d='M10%208.2v7.6l6-3.8z'/></svg>"); }
.icon-quote-left { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20fill='%23000'%20stroke='none'%20d='M10%206.5C7%207.8%205%2010.4%205%2013.4V18h5.6v-5.6H8.2c0-1.9.7-3.4%202.4-4.4zm9%200c-3%201.3-5%203.9-5%206.9V18h5.6v-5.6h-2.4c0-1.9.7-3.4%202.4-4.4z'/></svg>"); }
.icon-rocket { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M12%202.2c2.6%202.7%204%206.2%204%209.8v2.6l-4%202.8-4-2.8V12c0-3.6%201.4-7.1%204-9.8z'/><circle%20cx='12'%20cy='9.2'%20r='1.8'/><path%20d='M8%2012.8l-3.2%203.1L6%2020l2.9-2M16%2012.8l3.2%203.1L18%2020l-2.9-2M12%2018.5v3'/></svg>"); }
.icon-shield-alt { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M12%202.8l7.5%203v5.6c0%204.4-3%208.3-7.5%209.8-4.5-1.5-7.5-5.4-7.5-9.8V5.8z'/></svg>"); }
.icon-spinner { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M12%203a9%209%200%201%200%209%209'%20opacity='.95'/></svg>"); }
.icon-star { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20fill='%23000'%20stroke='none'%20d='M12%203l2.8%205.7%206.2.9-4.5%204.4%201%206.2-5.5-2.9-5.5%202.9%201-6.2L3%209.6l6.2-.9z'/></svg>"); }
.icon-torii-gate { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M3%205.5h18M4%208.5h16'/><path%20d='M6.5%208.5V20M17.5%208.5V20M6.5%2012.5h11'/></svg>"); }
.icon-trophy { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M7%204h10v5a5%205%200%200%201-10%200z'/><path%20d='M7%205.5H4.5V8a3%203%200%200%200%203%203M17%205.5h2.5V8a3%203%200%200%201-3%203M12%2014v3M8.5%2020h7l-.8-3h-5.4z'/></svg>"); }
.icon-tv { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><rect%20x='2.5'%20y='4'%20width='19'%20height='13'%20rx='2'/><path%20d='M8%2021h8M12%2017v4'/></svg>"); }
.icon-university { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><path%20d='M2.5%209.5L12%204l9.5%205.5'/><path%20d='M5%2011v7M9.5%2011v7M14.5%2011v7M19%2011v7M3%2020.5h18'/></svg>"); }
.icon-users { --icon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'><circle%20cx='9'%20cy='8'%20r='3.5'/><path%20d='M2.5%2020v-1.5A4.5%204.5%200%200%201%207%2014h4a4.5%204.5%200%200%201%204.5%204.5V20'/><path%20d='M16%205a3.5%203.5%200%200%201%200%206.8M18%2014.2a4.5%204.5%200%200%201%203.5%204.3V20'/></svg>"); }

/* ==========================================================================
   Site theme
   Colour/shape treatment layered on top of the framework classes above.
   ========================================================================== */

.text-primary { color: var(--primary-color) !important; }
i.text-primary, .fa.text-primary, .fas.text-primary, .far.text-primary { color: var(--secondary-color) !important; }
.text-warning { color: var(--gold) !important; }

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
}
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5 { color: #fff; }

.bg-light { background-color: #fff !important; }

.btn {
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-primary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background: var(--accent-dark) !important;
    border-color: var(--accent-dark) !important;
    color: #fff;
}
.btn-outline-primary {
    color: var(--secondary-color);
    border: 1.5px solid var(--secondary-color);
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #fff;
}
.btn-light { color: var(--primary-color); }
.btn-outline-light { border-width: 1.5px; }

.badge { border-radius: 20px; font-weight: 600; }
.badge.bg-primary {
    background: var(--primary-color) !important;
}
.badge.bg-light {
    background: var(--bg-soft) !important;
    border: 1px solid var(--border-soft);
    color: var(--primary-color) !important;
}

/* ==========================================================================
   Navigation (white sticky nav with pill links)
   ========================================================================== */

.main-nav {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    padding: 0.75rem 0;
}
.main-nav .navbar-brand {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
}
.main-nav .navbar-brand i { color: var(--secondary-color); }
.main-nav .nav-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.5rem 0.9rem !important;
    border-radius: 40px;
    transition: all 0.2s;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--secondary-color);
    background: #f0f4f8;
}
.main-nav .nav-cta {
    border: 1.5px solid var(--secondary-color);
    color: var(--secondary-color) !important;
    font-weight: 600 !important;
    margin-left: 0.35rem;
}
.main-nav .nav-cta:hover {
    background: var(--secondary-color) !important;
    color: #fff !important;
}
.main-nav .navbar-toggler {
    border-color: var(--border-color);
}
/* Navy burger icon to match the light navbar (Bootstrap's default is white) */
.main-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(45, 74, 110, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 0;
}
.hero-section h1 {
    color: #fff;
    font-weight: 800;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 0.3rem 1.2rem;
    border-radius: 40px;
    font-size: 0.8rem;
    margin-top: 0.75rem;
    backdrop-filter: blur(4px);
}
/* Constrains hero body copy to a comfortable reading measure */
.hero-lead { max-width: 720px; }

/* ==========================================================================
   Section titles (orange left border, Bitter)
   ========================================================================== */

.section-title {
    position: relative;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border-left: 5px solid var(--secondary-color);
    padding-left: 1rem;
}
.section-title::after { content: none; }

/* Intro paragraph directly under a section title — pulls up to sit close to it */
.section-intro { margin-top: -0.75rem; }

/* ==========================================================================
   Stats
   ========================================================================== */

.stat-item {
    padding: 1rem;
    text-align: center;
}
.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary-color) !important;
    margin-bottom: 0.25rem;
}
.stat-item p, .stat-item small {
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.speaking-topic-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    background: var(--bg-soft);
    overflow: hidden;
}
.speaking-topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.engagement-card {
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.engagement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.badge-custom {
    background-color: var(--secondary-color);
    font-size: 0.8rem;
    border-radius: 20px;
}

.highlight-card {
    transition: all 0.2s;
    height: 100%;
    background: var(--bg-soft);
    border: 1px solid var(--border-soft) !important;
    border-radius: 16px !important;
}
.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* ==========================================================================
   Contact form
   ========================================================================== */

.contact-form {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 30px;
}
.form-control, .form-select {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
}
.form-control:focus, .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(226, 124, 46, 0.15);
}
.form-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

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

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border: 1px solid var(--border-soft);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.2s;
    position: relative;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.1;
    font-family: 'Bitter', Georgia, serif;
    line-height: 1;
}

.testimonial-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.badge-type {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.testimonial-event {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.location {
    font-size: 0.875rem;
    color: var(--muted);
}

.testimonial-content { margin: 1.5rem 0; }

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-additional {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--muted);
    border-left: 3px solid var(--secondary-color);
    padding-left: 1rem;
    margin-left: 0.5rem;
}

.testimonial-footer h6 {
    color: var(--primary-color);
    font-weight: 600;
}
.testimonial-footer a { color: var(--secondary-color); }

.testimonial-filters { margin-bottom: 2rem; }

.filter-btn {
    border: 1.5px solid var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    margin: 0.25rem;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
}
.filter-btn.active,
.filter-btn:hover {
    background: var(--secondary-color);
    color: white;
}

/* ==========================================================================
   About page
   ========================================================================== */

.profile-image-container {
    position: relative;
    display: inline-block;
}
.profile-image {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.profile-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.expertise-tags .badge {
    background: var(--bg-soft) !important;
    border: 1px solid var(--border-soft);
    color: var(--primary-color) !important;
    border-radius: 20px;
}

.quick-facts-card {
    background: #fff !important;
    border: 1px solid var(--border-soft);
    border-left: 4px solid var(--secondary-color);
    border-radius: 20px !important;
}
.fact-item h5 {
    font-family: 'Bitter', serif;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}
.fact-item small {
    color: var(--muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.7rem;
}

/* Education */
.education-item {
    padding: 1rem;
    background: var(--bg-soft);
    border-radius: 12px;
    border-left: 3px solid var(--secondary-color);
}

/* Timeline */
.advocacy-timeline {
    position: relative;
    padding-left: 1rem;
}
.advocacy-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--secondary-color);
    opacity: 0.3;
}
.timeline-year { min-width: 70px; }
.timeline-content { flex: 1; }

/* Awards */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}
.award-item {
    background: var(--bg-soft);
    border: 1px solid var(--border-soft) !important;
    border-radius: 16px !important;
    transition: transform 0.2s, box-shadow 0.2s;
}
.award-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Publications */
.publication-category {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-soft);
}
.publication-category ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-soft);
}
.publication-category ul li:last-child { border-bottom: none; }

/* COVID Response */
.covid-response {
    background: #fff !important;
    border: 1px solid var(--border-soft);
    border-left: 4px solid var(--secondary-color);
    border-radius: 20px !important;
}

/* Personal Life */
.personal-life {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
    border-radius: 20px !important;
}
.personal-life h3 { color: #fff; }

/* CTA Card */
.cta-card {
    background: #fff !important;
    border: 1px solid var(--border-soft);
    border-top: 4px solid var(--secondary-color);
    border-radius: 20px !important;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

/* ==========================================================================
   Events page
   ========================================================================== */

.bg-white { background-color: #fff !important; }

/* --- Featured event panel --- */
.featured-event {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-top: 5px solid var(--secondary-color);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}
.featured-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.25;
}
.featured-org {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 500;
}
.featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 500;
}
.featured-meta i { color: var(--secondary-color); }

.featured-publications {
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
}
.featured-publications a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}
.featured-publications a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}
.pub-chevron { color: var(--secondary-color); font-size: 0.7rem; }

.featured-side {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    border-radius: 20px;
    padding: 2rem 1.5rem;
}
.featured-flag {
    font-size: 2.6rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}
.featured-city {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
}
.featured-when {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
    margin-top: 0.25rem;
}
.featured-side hr {
    border-color: rgba(255,255,255,0.25);
    margin: 1.25rem 0;
}
.featured-side p { color: rgba(255,255,255,0.9); }

/* --- Event cards --- */
.event-card {
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.event-card-upcoming {
    background: #fff;
    border-left: 4px solid var(--secondary-color);
}
.event-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}
.event-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.35;
    margin-bottom: 0.35rem;
}
.event-org {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0.75rem;
}
.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 0.75rem;
}
.event-meta i { color: var(--secondary-color); width: 14px; }
.event-summary {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}
.event-when {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--muted);
    white-space: nowrap;
}
.event-link {
    margin-top: auto;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
}
.event-link:hover { color: var(--accent-dark); text-decoration: underline; }

/* --- Event badges --- */
.badge-upcoming {
    background: var(--secondary-color);
    color: #fff;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}
.badge-past {
    background: var(--primary-color);
    color: #fff;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}
.badge-soon {
    background: var(--gold);
    color: var(--primary-color);
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
}

/* --- Photo gallery --- */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

/* Carousel shell: arrows sit outside the scrolling viewport */
.carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.carousel-viewport {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scroll-padding-left: 0;
    padding: 0.5rem 0.25rem 1rem;
    flex: 1;
    min-width: 0;
    /* hide the scrollbar but keep it scrollable/swipeable */
    scrollbar-width: none;
    -ms-overflow-style: none;
    outline: none;
}
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-viewport:focus-visible {
    box-shadow: 0 0 0 3px rgba(226,124,46,0.45);
    border-radius: 16px;
}

/* Four across on desktop, scaling down responsively */
.photo-item {
    position: relative;
    margin: 0;
    flex: 0 0 calc((100% - 3rem) / 4);
    scroll-snap-align: start;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    transition: transform 0.2s, box-shadow 0.2s;
}
.photo-item:hover,
.photo-item:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
    outline: none;
}
.photo-item:focus-visible { box-shadow: 0 0 0 3px var(--secondary-color); }

.photo-item img {
    display: block;
    width: 100%;
    height: 270px;
    object-fit: cover;
    object-position: center 28%;
    transition: transform 0.4s ease;
}
.photo-item:hover img { transform: scale(1.05); }

/* Zoom affordance */
.photo-zoom {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(45,74,110,0.75);
    color: #fff;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s, transform 0.2s;
}
.photo-item:hover .photo-zoom,
.photo-item:focus-visible .photo-zoom { opacity: 1; transform: scale(1); }

/* Arrow buttons */
.car-btn {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--primary-color);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: all 0.2s;
    z-index: 2;
}
.car-btn:hover:not(:disabled) {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}
.car-btn:disabled { opacity: 0.3; cursor: default; }

/* Footer: progress bar + slideshow toggle + counter */
.carousel-footer {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 0.5rem;
    padding: 0 3rem;
}
.car-progress {
    flex: 1;
    height: 4px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}
.car-progress span {
    display: block;
    height: 100%;
    width: 6%;
    background: var(--secondary-color);
    border-radius: 4px;
    transition: width 0.25s ease;
}
.car-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
}
.car-play {
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--muted);
    border-radius: 40px;
    padding: 0.3rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.car-play:hover,
.car-play.is-playing {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}
.car-count {
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.photo-item figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1.6rem 0.85rem 0.7rem;
    font-size: 0.75rem;
    line-height: 1.35;
    color: #fff;
    background: linear-gradient(to top, rgba(45,74,110,0.94) 0%, rgba(45,74,110,0.72) 55%, rgba(45,74,110,0) 100%);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s, transform 0.25s;
}
.photo-item:hover figcaption,
.photo-item:focus-visible figcaption {
    opacity: 1;
    transform: translateY(0);
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(20, 33, 50, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 3.5rem;
}
.lightbox[hidden] { display: none; }

.lb-figure {
    margin: 0;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.lb-image {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    object-fit: contain;
}
.lb-caption {
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
    max-width: 640px;
    line-height: 1.5;
}
.lb-counter {
    position: absolute;
    top: 1.25rem;
    left: 1.5rem;
    color: rgba(255,255,255,0.75);
    font-size: 0.8rem;
    letter-spacing: 1px;
}
.lb-close, .lb-nav {
    position: absolute;
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-close:hover, .lb-nav:hover { background: var(--secondary-color); }
.lb-close { top: 1.25rem; right: 1.5rem; font-size: 1.8rem; }
.lb-prev  { left: 1rem;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Three across on laptops, two on tablets, ~1.2 on phones so the
   next photo peeks in and the carousel reads as swipeable. */
@media (max-width: 1200px) {
    .photo-item { flex: 0 0 calc((100% - 2rem) / 3); }
}
@media (max-width: 900px) {
    .photo-item { flex: 0 0 calc((100% - 1rem) / 2); }
    .photo-item img { height: 230px; }
}

@media (max-width: 768px) {
    .carousel-wrap { gap: 0; }
    .car-btn { display: none; }        /* swipe instead */
    .carousel-viewport { gap: 0.6rem; padding-bottom: 0.75rem; }
    .photo-item { flex: 0 0 78%; }
    .photo-item img { height: 210px; }
    .photo-item figcaption {
        font-size: 0.7rem;
        padding: 1.2rem 0.7rem 0.6rem;
        opacity: 1;                     /* no hover on touch — always show */
        transform: none;
    }
    .photo-zoom { display: none; }
    .carousel-footer { padding: 0; gap: 0.75rem; }
    .car-play span { display: none; }
    .lightbox { padding: 1rem; }
    .lb-image { max-height: 68vh; }
    .lb-close { top: 0.5rem; right: 0.5rem; }
    .lb-prev { left: 0.25rem; }
    .lb-next { right: 0.25rem; }
    .lb-counter { top: 0.9rem; left: 0.9rem; }
}

/* --- Empty upcoming state --- */
.no-events {
    text-align: center;
    background: var(--bg-soft);
    border: 2px dashed var(--border-color);
    border-radius: 20px;
    padding: 3rem 1.5rem;
}
.no-events i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    opacity: 0.6;
}
.no-events p {
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .featured-event { padding: 1.5rem; }
    .featured-title { font-size: 1.4rem; }
    .featured-meta { gap: 0.5rem; flex-direction: column; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--primary-color);
    color: #cddfe6;
    padding: 2rem 0 1.5rem;
    margin-top: 2rem;
}
.site-footer h5, .site-footer h6 { color: #fff; }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer hr { border-color: rgba(255,255,255,0.2); }
.site-footer .social-links a {
    display: inline-flex;
    background: rgba(255,255,255,0.1);
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 0.4rem;
    color: #ffb347;
    transition: 0.2s;
}
.site-footer .social-links a:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* ==========================================================================
   Animations
   ========================================================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease forwards; }
.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
.fade-in:nth-child(5) { animation-delay: 0.5s; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .hero-section { padding: 60px 0; }
    .hero-section h1 { font-size: 2rem; }
    .section-title { font-size: 1.4rem; }
    .profile-image { width: 200px; height: 200px; }
    .awards-grid { grid-template-columns: 1fr; }
    .stat-item h3 { font-size: 1.6rem; }

    .testimonial-card { padding: 1.5rem; }
    .testimonial-header .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .testimonial-header .text-end {
        text-align: left !important;
        margin-top: 1rem;
    }
    .testimonial-footer .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .testimonial-footer .btn { margin-top: 1rem; }

    .timeline-item .d-flex { flex-direction: column; }
    .timeline-year { margin-bottom: 0.5rem; }
    .timeline-content { margin-left: 0 !important; }
}
