﻿/* ==========================================================
   ILM SOCIETY — GLOBAL / SHARED STYLES (styles.css)
   Theme: Navy Blue, Gold/Orange, Crisp White
   Page-specific: index.css (home), about.css, media.css
========================================================== */

:root {
    /* Color Palette */
    --clr-navy: #0f172a;
    /* Deep, trustworthy blue */
    --clr-navy-light: #1e293b;
    --clr-gold: #f59e0b;
    /* Warm, hopeful orange/gold */
    --clr-gold-hover: #d97706;
    --clr-white: #ffffff;
    --clr-bg-soft: #f8fafc;
    /* Soft off-white for sections */
    --clr-text-main: #334155;
    /* Very readable dark slate */
    --clr-text-muted: #64748b;
    --clr-border: #e2e8f0;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    /* Classic, authoritative, human */
    --font-body: 'Inter', sans-serif;
    /* Clean, modern, highly readable */

    /* Aesthetics */
    --shadow-soft: 0 10px 40px -10px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 20px 40px -10px rgba(15, 23, 42, 0.15);
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
    --space-section-y: 4rem;
    --space-section-y-mobile: 56px;
    --space-section-y-mobile-sm: 48px;
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-main);
    background-color: var(--clr-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
.quote-title {
    font-family: var(--font-heading);
    color: var(--clr-navy);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

.about-hero {
    position: relative;
    min-height: 42vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(15, 23, 42, 0.55) 0%,
            rgba(15, 23, 42, 0.75) 100%);
}

.about-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 24px 3.5rem;
}

.about-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 700;
    color: var(--clr-white);
    margin: 0;
    line-height: 1.15;
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
}

/* --- UTILITIES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}



.bg-soft {
    background-color: var(--clr-bg-soft);
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--clr-text-muted);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-medium {
    margin-top: 2rem;
}

.mt-large {
    margin-top: 5rem;
}

.mb-medium {
    margin-bottom: 2rem;
    display: block;
}

.mb-large {
    margin-bottom: 4rem;
}

.sub-title {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-gold);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--clr-gold);
    border-radius: 2px;
    margin-bottom: 2rem;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.align-center {
    align-items: center;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-donate {
    background-color: var(--clr-gold);
    color: var(--clr-white);
}

.btn-donate i {
    margin-left: 8px;
    font-size: 0.9rem;
}

.btn-donate:hover {
    background-color: var(--clr-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
}

.btn-donate-large {
    background-color: var(--clr-gold);
    color: var(--clr-white);
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-donate-large:hover {
    background-color: var(--clr-gold-hover);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-white);
    border-color: var(--clr-white);
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-outline:hover {
    background-color: var(--clr-white);
    color: var(--clr-navy);
}

/* --- HEADER & TOP BAR --- */
.top-bar {
    background-color: var(--clr-navy);
    color: var(--clr-white);
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.contact-info__line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 20px;
    row-gap: 4px;
}

.contact-info__line--address span {
    line-height: 1.35;
}

.contact-info span {
    opacity: 0.9;
}

.contact-info i {
    margin-right: 8px;
    color: var(--clr-gold);
}

.top-links a {
    margin-left: 20px;
    opacity: 0.9;
}

.top-links a:hover {
    color: var(--clr-gold);
    opacity: 1;
}

.header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--clr-border);
    transition: padding 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.15);
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle__bar {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--clr-navy);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav-actions,
.mobile-nav-backdrop {
    display: none;
}

.header-portal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--clr-navy);
    text-decoration: none;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 2px solid rgba(15, 23, 42, 0.15);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.header-portal-link i {
    font-size: 0.85rem;
    opacity: 0.9;
}

.header-portal-link:hover {
    color: var(--clr-gold-hover);
    border-color: rgba(245, 158, 11, 0.55);
    background: rgba(245, 158, 11, 0.06);
}

.logo img {
    height: 45px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    flex: 1;
}

.nav-menu-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 28px 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu .nav-link {
    color: var(--clr-navy);
    font-weight: 500;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.nav-link--active {
    color: var(--clr-gold) !important;
}

.nav-caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #0f172a;
    vertical-align: middle;
}

.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translate(-50%, 6px);
    min-width: 240px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1001;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.nav-dropdown>li {
    border-bottom: 1px solid var(--clr-border);
}

.nav-dropdown>li:last-child {
    border-bottom: none;
}

.nav-item-dropdown:hover .nav-link-dropdown-toggle,
.nav-item-dropdown:focus-within .nav-link-dropdown-toggle {
    color: var(--clr-gold);
}

.nav-item-dropdown:hover .nav-caret,
.nav-item-dropdown:focus-within .nav-caret {
    border-top: none;
    border-bottom: 5px solid var(--clr-gold);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    margin-top: -2px;
}

.nav-dropdown a {
    display: block;
    padding: 10px 18px;
    color: var(--clr-navy);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
}

.nav-dropdown a:hover {
    background: var(--clr-bg-soft);
    color: var(--clr-gold);
}

.nav-menu .nav-link:not(.nav-link--active)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-gold);
    transition: width 0.3s ease;
}

.nav-menu .nav-link:not(.nav-link--active):hover::after {
    width: 100%;
}

.nav-link--active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--clr-gold);
}

/* In-page anchors: offset for sticky header */
#hero,
#gallery,
#videos,
#success-stories,
#overview,
#vision-mission,
#causes,
#founder,
#quote,
#team,
#forms,
#financial-reports,
#contact,
#featured-in,
#about-hero,
#who-we-are,
#what-we-do,
#about-vision-mission,
#about-leadership,
#our-achievements,
#supporters-ilm,
#international-supporters,
#media-hero,
#ilm-awareness-day,
#media-success-stories,
#videos-hero,
#success-stories-hero,
#forms-hero,
#financial-reports-hero,
#scholarships-hero,
#contact-hero,
#ilm-schools-hero,
#zaib-un-nisa-campus,
#labour-square-campus,
#donate-hero,
#donate-tiers {
    scroll-margin-top: 100px;
}

/* --- HERO SECTION / SLIDER --- */
.hero {
    position: relative;
    min-height: 85vh;
    overflow: hidden;
}

.hero-slider__inner {
    position: relative;
    min-height: inherit;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-text-box {
    max-width: 650px;
}

.badge {
    display: inline-block;
    background-color: rgba(245, 158, 11, 0.2);
    color: var(--clr-gold);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.hero h1 {
    color: var(--clr-white);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    color: #e2e8f0;
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-slider__dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: inline-flex;
    gap: 8px;
}

.hero-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(248, 250, 252, 0.7);
    background: transparent;
    cursor: default;
    opacity: 0.7;
}

.hero-slider__dot.is-active {
    width: 26px;
    background: var(--clr-gold);
    opacity: 1;
}

/* --- CAUSES --- */
.cause-card {
    background: var(--clr-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid var(--clr-border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cause-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.cause-img {
    position: relative;
    /* height: 240px; */
    overflow: hidden;
}

.cause-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.cause-card:hover .cause-img img {
    transform: scale(1.05);
}

.cause-icon {
    position: absolute;
    bottom: -20px;
    right: 24px;
    width: 50px;
    height: 50px;
    background-color: var(--clr-gold);
    color: var(--clr-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 4px solid var(--clr-white);
}

.cause-content {
    padding: 32px 24px 24px;
    flex-grow: 1;
}

.cause-content h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.cause-content p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* --- FOUNDER (aligned with Causes / ILM cards) --- */
.founder .section-header--founder {
    margin-left: auto;
    margin-right: auto;
}

.founder h2.ilm-section__title {
    text-wrap: balance;
}

.founder-tagline {
    font-weight: 600;
    font-size: 1.05rem;
    margin: -0.25rem 0 0.5rem;
    background: linear-gradient(92deg, #d97706 0%, var(--clr-gold) 45%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 2px 14px rgba(245, 158, 11, 0.22));
}

.founder .ilm-section__head .divider {
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.founder .divider--founder {
    width: 4.5rem;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.25), var(--clr-gold), rgba(251, 191, 36, 0.85));
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.35);
}

.founder-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
    gap: clamp(1.75rem, 4vw, 3rem);
    align-items: stretch;
    
    margin: 0 auto;
    padding: 1.65rem;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.98) 38%, rgba(255, 255, 255, 0.94) 72%, rgba(255, 251, 245, 0.55) 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: var(--radius-lg);
    box-shadow:
        0 18px 48px -18px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.65) inset,
        0 -1px 0 rgba(245, 158, 11, 0.12) inset;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.35s ease;
}

.founder-panel:hover {
    transform: translateY(-3px);
}

.founder-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(245, 158, 11, 0.15) 18%,
            var(--clr-gold) 42%,
            rgba(251, 191, 36, 0.85) 58%,
            rgba(245, 158, 11, 0.2) 82%,
            transparent 100%);
    opacity: 0.95;
    pointer-events: none;
    z-index: 1;
}

.founder-panel::after {
    content: '';
    position: absolute;
    width: min(120%, 900px);
    height: min(70%, 520px);
    bottom: -28%;
    right: -18%;
    background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.11) 0%, rgba(245, 158, 11, 0.02) 45%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.founder-panel>* {
    position: relative;
    z-index: 2;
}

.founder-panel__visual {
    position: relative;
    padding: 0 8px 10px 0;
}

.founder-photo-shell {
    position: relative;
    height: 100%;
    min-height: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.founder-photo-shell::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(188deg, transparent 35%, rgba(15, 23, 42, 0.08) 100%),
        linear-gradient(to top, rgba(15, 23, 42, 0.28) 0%, transparent 38%);
}

.founder-panel__visual img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-md);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-soft);
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.founder-panel:hover .founder-panel__visual img {
    transform: scale(1.035);
}

.image-accent {
    position: absolute;
    bottom: -10px;
    right: -6px;
    width: 88%;
    height: 88%;
    border: 2px solid var(--clr-gold);
    border-radius: var(--radius-md);
    z-index: 1;
    box-shadow:
        0 0 0 1px rgba(245, 158, 11, 0.12),
        0 10px 26px -6px rgba(245, 158, 11, 0.32),
        0 0 40px -12px rgba(251, 191, 36, 0.35);
}

.founder-panel__main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.25rem 0;
}

.founder-lede {
    color: var(--clr-text-muted);
    font-size: 1.06rem;
    line-height: 1.7;
    margin-bottom: 1.65rem;
    max-width: 42rem;
    letter-spacing: 0.01em;
}

.founder-quote__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--clr-gold-hover);
    opacity: 0.95;
}

.role {
    color: var(--clr-gold);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.founder-quote {
    background:
        linear-gradient(125deg, rgba(255, 255, 255, 0.55) 0%, transparent 42%),
        linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.75) 100%);
    padding: 1.25rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(226, 232, 240, 0.9);
    position: relative;
    margin-bottom: 1.75rem;
    overflow: hidden;
    isolation: isolate;
    box-shadow:
        0 14px 36px -20px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.founder-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #fbbf24 0%, var(--clr-gold) 35%, rgba(217, 119, 6, 0.85) 100%);
    border-radius: 3px 0 0 3px;
    box-shadow: 2px 0 18px rgba(245, 158, 11, 0.35);
    z-index: 1;
}

.founder-quote::after {
    content: '';
    position: absolute;
    top: -45%;
    right: -15%;
    width: min(72%, 280px);
    height: 140%;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.14) 0%, rgba(245, 158, 11, 0.03) 48%, transparent 72%);
    pointer-events: none;
    z-index: 0;
}

.founder-quote>* {
    position: relative;
    z-index: 2;
}

.founder-quote__mark {
    font-size: 1.25rem;
    color: var(--clr-gold);
    margin-bottom: 0.45rem;
    opacity: 0.95;
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.25));
}

.founder-quote__body {
    font-family: var(--font-heading);
    font-size: clamp(1.12rem, 2.1vw, 1.35rem);
    color: var(--clr-navy);
    font-style: italic;
    line-height: 1.55;
    margin: 0 0 0.85rem;
    padding-left: 0.15rem;
    quotes: none;
}

.founder-quote__footer {
    text-align: right;
}

.founder-quote .author {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    font-style: normal;
    color: var(--clr-text-muted);
}

.founder-highlights-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.25rem 0 1rem;
    flex-wrap: wrap;
}

.founder-highlights-head__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--clr-navy);
    white-space: nowrap;
}

.founder-highlights-head__line {
    flex: 1;
    min-width: 4rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.45), rgba(226, 232, 240, 0.9));
    border-radius: 999px;
}

.founder-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.85rem, 2.2vw, 1.35rem);
    margin: 0;
    padding: 0;
}

.founder-highlight {
    list-style: none;
    padding: 1rem 0.8rem 1.05rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 0.92) 55%, rgba(255, 251, 245, 0.35) 100%);
    box-shadow:
        0 8px 22px -14px rgba(15, 23, 42, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.85) inset;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.founder-highlight__step {
    position: absolute;
    top: 0.5rem;
    left: 0.55rem;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(15, 23, 42, 0.07);
    pointer-events: none;
    user-select: none;
}

.founder-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 2px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.5), rgba(251, 191, 36, 0.45), transparent);
    opacity: 0.85;
    pointer-events: none;
}

.founder-highlight:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.38);
    box-shadow:
        0 16px 32px -14px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(245, 158, 11, 0.12) inset,
        0 0 28px -8px rgba(245, 158, 11, 0.15);
}

@media (prefers-reduced-motion: reduce) {

    .founder-panel,
    .founder-panel:hover {
        transition: none;
        transform: none;
    }

    .founder-panel:hover .founder-panel__visual img {
        transform: none;
    }

    .founder-highlight,
    .founder-highlight:hover {
        transition: none;
        transform: none;
    }
}

.founder-highlight__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 auto 0.5rem;
    border-radius: 12px;
    background: linear-gradient(150deg, rgba(251, 191, 36, 0.35) 0%, rgba(245, 158, 11, 0.22) 40%, rgba(217, 119, 6, 0.12) 100%);
    box-shadow: 0 4px 14px -4px rgba(245, 158, 11, 0.35);
    color: var(--clr-gold-hover);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.founder-highlight__label {
    display: block;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--clr-navy);
    margin-bottom: 0.35rem;
}

.founder-highlight__hint {
    display: block;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--clr-text-muted);
}

/* --- QUAID QUOTE --- */
.quaid-quote {
    background-color: var(--clr-navy);
    color: var(--clr-white);
    padding: 80px 0;
    background-image: radial-gradient(circle at center, var(--clr-navy-light) 0%, var(--clr-navy) 100%);
}

.flag-icon {
    font-size: 2.5rem;
    color: var(--clr-gold);
    margin-bottom: 20px;
}

.quote-title {
    color: var(--clr-white);
    margin-bottom: 30px;
}

.large-quote {
    max-width: 900px;
    margin: 0 auto;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.8;
    color: #e2e8f0;
    font-style: italic;
}

/* --- TEAM --- */
.team-member {
    text-align: center;
}

.member-img {
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, var(--clr-border) 0%, var(--clr-white) 100%);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-member:hover .member-img {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--clr-gold) 0%, var(--clr-white) 100%);
}

.team-member h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-member p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.patrons-grid {
    max-width: 700px;
    margin: 0 auto;
}

/* --- FEATURED (Media strip) --- */
.border-bottom {
    border-bottom: 1px solid var(--clr-border);
}

.featured-strip {
    position: relative;
    background: linear-gradient(180deg,
            var(--clr-white) 0%,
            var(--clr-bg-soft) 42%,
            var(--clr-white) 100%);
    overflow: hidden;
}

.featured-strip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(960px, 92vw);
    height: 220px;
    background: radial-gradient(ellipse at center,
            rgba(245, 158, 11, 0.07) 0%,
            transparent 72%);
    pointer-events: none;
}

.featured-strip .container {
    position: relative;
    z-index: 1;
}

.featured-strip__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 0.65rem;
    flex-wrap: wrap;
}

.featured-strip__line {
    flex: 1;
    min-width: 36px;
    max-width: 140px;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--clr-gold) 50%,
            transparent 100%);
    opacity: 0.55;
}

.featured-strip__label {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--clr-gold);
    text-align: center;
}

.featured-strip__tagline {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--clr-text-muted);
    max-width: 26rem;
    margin: 0 auto 2.25rem;
    line-height: 1.55;
}

.featured-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: stretch;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.featured-strip__item {
    margin: 0;
}

.featured-strip__card {
    height: 100%;
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.35rem 1.5rem;
    background: linear-gradient(165deg,
            #dce4ee 0%,
            #c5d0de 48%,
            #b0becf 100%);
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.featured-strip__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(245, 158, 11, 0.4);
}

.featured-strip__card:focus-within {
    outline: 2px solid var(--clr-gold);
    outline-offset: 3px;
}

.featured-strip__card img {
    height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.72;
    transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.featured-strip__card:hover img,
.featured-strip__card:focus-within img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.06);
}

@media (max-width: 768px) {
    .featured-strip__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .featured-strip__line {
        max-width: 56px;
    }

    .featured-strip .ilm-section__lede {
        margin-bottom: 1.75rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 380px) {
    .featured-strip__grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .featured-strip__card,
    .featured-strip__card img {
        transition-duration: 0.01ms;
    }

    .featured-strip__card:hover,
    .featured-strip__card:focus-within {
        transform: none;
    }

    .featured-strip__card:hover img,
    .featured-strip__card:focus-within img {
        transform: none;
    }
}

/* --- FOOTER --- */
.footer {
    background-color: var(--clr-navy);
    color: var(--clr-white);
}

.footer-top {
    padding: 80px 0 60px;
}

.footer-trustbar {
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
    overflow: hidden;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.footer-trustbar__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    align-items: stretch;
}

.footer-trust-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
    padding: 0.58rem 0.7rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    min-width: 0;
    width: 100%;
    text-align: center;
    line-height: 1.2;
}

.footer-trust-pill i {
    color: var(--clr-gold);
}

.footer-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.25fr;
    gap: 2rem;
    align-items: start;
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    height: 60px;
    margin-bottom: 16px;
    margin-left: auto;
    margin-right: auto;
}

.footer-brand-title {
    font-family: var(--font-body);
    color: var(--clr-white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.footer-brand-tagline {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    margin-bottom: 22px;
    padding-right: 20px;
    line-height: 1.65;
    text-align: center;
}

.footer-brand-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin: 0 0 1rem;
}

.footer-meta-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--clr-gold) 0%, var(--clr-gold-hover) 100%);
    color: var(--clr-white);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-cta:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
}

.footer-brand .social-icons {
    justify-content: center;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    color: var(--clr-white);
    transition: var(--transition);
}

.social-icons a:hover {
    border-color: var(--clr-gold);
    color: var(--clr-gold);
    transform: translateY(-3px);
}

.footer h4 {
    color: var(--clr-gold);
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.35rem;
    position: relative;
    padding-bottom: 0;
}

.footer h4::after {
    display: none;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    align-items: start;
}

.footer-links-list li {
    margin-bottom: 11px;
}

.footer-links-col a {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    color: var(--clr-white);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-link-chevron {
    color: var(--clr-gold);
    font-weight: 700;
    flex-shrink: 0;
}

.footer-links-col a:hover {
    color: var(--clr-gold);
}

.footer-links-col a:hover .footer-link-chevron {
    color: #fbbf24;
}

.footer-contact-body {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.92rem;
    line-height: 1.65;
}

.footer-contact-body p {
    margin-bottom: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.footer-contact-item i {
    margin-top: 0.2rem;
    color: var(--clr-gold);
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact-body strong {
    color: var(--clr-white);
    font-weight: 700;
}

.footer-contact-body a {
    color: inherit;
    text-decoration: none;
}

.footer-contact-body a:hover {
    color: var(--clr-gold);
}

.footer-bottom {
    background-color: #0b1120;
    padding: 24px 0;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-bottom__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    align-items: center;
}

.footer-bottom__inner p {
    margin: 0;
}

.footer-bottom__links {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-bottom__links a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-bottom__links a:hover {
    color: var(--clr-gold);
}

/* --- ANIMATIONS (Fade Up) --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.delay-4 {
    transition-delay: 0.6s;
}

/* =========================================
   MODERN IMPACT GALLERY CAROUSEL
========================================= */


.gallery-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    /* Forces full width even inside container */
    display: flex;
    overflow: hidden;
    background-color: var(--clr-navy);
    /* Dark background to make images pop */
    padding: 30px 0;
    box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.1), inset 0 -10px 20px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--clr-gold);
    border-bottom: 4px solid var(--clr-gold);
}

.gallery-track {
    display: flex;
    gap: 20px;
    padding: 0 10px;
    /* The animation duration (40s) controls the speed */
    animation: infiniteScroll 20s linear infinite;
    width: max-content;
}

/* Pause animation when user hovers over the gallery */
.gallery-wrapper:hover .gallery-track {
    animation-play-state: paused;
}

.gallery-item {
    position: relative;
    /* width: 350px; */
    height: 250px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
}

.gallery-item:hover {
    border-color: var(--clr-gold);
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Overlay that appears on hover */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    /* Navy blue semi-transparent overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: var(--clr-gold);
    transform: translateY(20px);
    transition: transform .3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

/* index.html — home-only styles (load after styles.css) */

/* --- OVERVIEW --- */
.lead-text {
    font-size: 1.2rem;
    color: var(--clr-navy);
    font-weight: 500;
}

.overview {
    padding-top: var(--space-section-y);
    padding-bottom: var(--space-section-y);
    position: relative;
    isolation: isolate;
    background-color: var(--clr-white);
    overflow: hidden;
}

.overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 8%, var(--clr-gold) 50%, transparent 92%);
    opacity: 0.85;
    pointer-events: none;
    z-index: 2;
}

.overview__atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.overview__mesh {
    position: absolute;
    inset: 0;
    opacity: 0.55;
    background-image: radial-gradient(rgba(15, 23, 42, 0.045) 1.2px, transparent 1.2px);
    background-size: 22px 22px;
}

.overview__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.overview__orb--gold {
    width: min(55vw, 480px);
    height: min(55vw, 480px);
    top: -12%;
    right: -8%;
    background: rgba(245, 158, 11, 0.16);
}

.overview__orb--navy {
    width: min(45vw, 400px);
    height: min(45vw, 400px);
    bottom: -18%;
    left: -12%;
    background: rgba(15, 23, 42, 0.07);
}

.overview__diagonal {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(12deg,
            transparent 35%,
            rgba(248, 250, 252, 0.95) 35%,
            rgba(241, 245, 249, 0.65) 100%);
    opacity: 0.9;
}

.overview-shell {
    position: relative;
    z-index: 1;
}

.ov-hero,
.ilm-section__head {
    text-align: center;
    /* max-width: 46rem; */
    margin: 0 auto clamp(1.8rem, 4vw, 2.75rem);
}

.ov-hero__badge,
.ilm-section__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--clr-navy);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ov-hero__badge i,
.ilm-section__badge i {
    color: var(--clr-gold);
    font-size: 0.85rem;
}

.ov-hero__title,
h2.ilm-section__title {
    margin: 0 0 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.05;
    font-size: clamp(2.4rem, 6vw, 3.75rem);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0.28em 0.45em;
    color: var(--clr-navy);
}

.ov-hero__title-line,
.ilm-section__title-line {
    font-style: italic;
    font-weight: 500;
    color: var(--clr-navy);
}

.ov-hero__title-accent,
.ilm-section__title-accent {
    position: relative;
    color: var(--clr-gold);
    text-shadow: 0 2px 24px rgba(245, 158, 11, 0.25);
}

.ov-hero__title-accent::after,
.ilm-section__title-accent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.08em;
    height: 0.28em;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.35), rgba(245, 158, 11, 0.08));
    border-radius: 2px;
    z-index: -1;
}

.ov-hero__lede,
.ilm-section__lede {
    margin: 0 auto;
    max-width: 36rem;
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--clr-text-muted);
}

/* Founder name: keep headline weight, not italic (Overview “Brief” is italic) */
.founder .ilm-section__title-line {
    font-style: normal;
    font-weight: 700;
}

.ov-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 56rem;
    margin: 0 auto 3rem;
    list-style: none;
    padding: 0;
}

.ov-metric {
    padding: 1.35rem 1.15rem 1.4rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.ov-metric:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(245, 158, 11, 0.35);
}

.ov-metric--featured {
    background: linear-gradient(145deg, var(--clr-navy) 0%, var(--clr-navy-light) 100%);
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.45);
}

.ov-metric--featured:hover {
    border-color: var(--clr-gold);
}

.ov-metric__value {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-navy);
    margin-bottom: 0.35rem;
}

.ov-metric--featured .ov-metric__value {
    color: var(--clr-white);
}

.ov-metric__label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--clr-text-muted);
}

.ov-metric--featured .ov-metric__label {
    color: rgba(255, 255, 255, 0.65);
}

.ov-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 2.75rem 3rem;
    align-items: start;
}

.ov-stage__main {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.ov-quote {
    position: relative;
    margin: 0;
    padding: 1.75rem 1.5rem 1.75rem 1.65rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-soft);
}

.ov-quote__mark {
    position: absolute;
    top: 0.35rem;
    left: 0.75rem;
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1;
    color: rgba(245, 158, 11, 0.2);
    pointer-events: none;
    user-select: none;
}

.ov-quote p {
    position: relative;
    margin: 0;
    padding-left: 0.25rem;
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    line-height: 1.55;
    font-style: italic;
    font-weight: 500;
    color: var(--clr-navy);
}

.ov-prose {
    padding: 1.65rem 1.6rem 1.75rem;
    background: rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
}

.ov-prose__lead {
    margin: 0 0 0.9rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--clr-navy);
    font-weight: 500;
}

.ov-prose__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.68;
    color: var(--clr-text-muted);
}

.ov-pills {
    list-style: none;
    margin: 1.15rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.ov-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--clr-navy);
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: 999px;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.ov-pill:hover {
    border-color: rgba(245, 158, 11, 0.5);
}

.ov-pill i {
    color: var(--clr-gold);
    font-size: 0.78rem;
}

.ov-stage__visual {
    position: relative;
    padding-top: 0.25rem;
}

.ov-ticket {
    position: absolute;
    top: -0.35rem;
    right: -1.35rem;
    z-index: 4;
    max-width: 11.5rem;
    padding: 0.85rem 1rem 0.95rem;
    background: linear-gradient(155deg, var(--clr-navy) 0%, #0c1222 100%);
    color: var(--clr-white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 18px 36px -10px rgba(15, 23, 42, 0.55);
}

.ov-ticket__eyebrow {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--clr-gold);
    margin-bottom: 0.35rem;
}

.ov-ticket__code {
    margin: 0 0 0.35rem;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--clr-white);
}

.ov-ticket__fine {
    margin: 0;
    font-size: 0.68rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.65);
}

.ov-cinema {
    position: relative;
}

.ov-cinema__ribbon {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.9rem 0.15rem;
    flex-wrap: wrap;
}

.ov-cinema__live {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--clr-gold);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22);
    flex-shrink: 0;
}

.ov-cinema__label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--clr-text-muted);
}

.ov-cinema__label .fab {
    color: var(--clr-gold);
    font-size: 1rem;
    letter-spacing: 0;
}

.ov-cinema__halo {
    padding: 4px;
    border-radius: calc(var(--radius-lg) + 3px);
    background: linear-gradient(128deg,
            var(--clr-gold) 0%,
            #fbbf24 38%,
            var(--clr-gold-hover) 72%,
            var(--clr-gold) 100%);
    box-shadow:
        0 28px 56px -14px rgba(15, 23, 42, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ov-cinema:hover .ov-cinema__halo {
    transform: translateY(-5px) scale(1.008);
    box-shadow:
        0 36px 64px -14px rgba(15, 23, 42, 0.48),
        0 0 0 1px rgba(255, 255, 255, 0.55) inset;
}

.ov-cinema__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--clr-navy);
}

.ov-cinema__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 960px) {
    .ov-metrics {
        grid-template-columns: 1fr;
        max-width: 22rem;
    }

    .ov-stage {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ov-stage__visual {
        padding-top: 0;
    }

    .ov-ticket {
        position: relative;
        top: auto;
        left: auto;
        right: 0;
        max-width: none;
        margin-bottom: 1rem;
    }

    .ov-hero {
        margin-bottom: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .ov-metric:hover,
    .ov-cinema:hover .ov-cinema__halo {
        transform: none;
    }
}

/* --- VISION MISSION (single unified panel — Brief Overview style) --- */
.collapse-gap {
    gap: 0;
}

.vm-section__head {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.vm-section__title {
    margin-bottom: 0.35rem;
}

.vm-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    max-width: 56rem;
    margin: 0 auto;
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    box-shadow:
        0 18px 48px -22px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    overflow: hidden;
    position: relative;
}

.vm-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 5%, rgba(245, 158, 11, 0.4) 35%, var(--clr-gold) 50%, rgba(245, 158, 11, 0.4) 65%, transparent 95%);
    pointer-events: none;
}

.vm-panel__half {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vm-panel__head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.vm-panel__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.1rem;
    color: var(--clr-gold-hover);
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.14), rgba(245, 158, 11, 0.04));
    border: 1px solid rgba(245, 158, 11, 0.22);
}

.vm-panel__head-text {
    min-width: 0;
}

.vm-panel__eyebrow {
    margin: 0 0 0.2rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clr-gold-hover);
}

.vm-panel__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.4vw, 1.65rem);
    font-weight: 700;
    color: var(--clr-navy);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.vm-panel__body {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--clr-text-muted);
}

.vm-panel__divider {
    width: 1px;
    align-self: stretch;
    min-height: 6rem;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(226, 232, 240, 0.95) 12%,
            rgba(245, 158, 11, 0.45) 50%,
            rgba(226, 232, 240, 0.95) 88%,
            transparent 100%);
}

@media (max-width: 768px) {
    .vm-panel {
        grid-template-columns: 1fr;
    }

    .vm-panel__divider {
        width: 100%;
        height: 1px;
        min-height: 0;
        background: linear-gradient(90deg,
                transparent 0%,
                rgba(226, 232, 240, 0.95) 12%,
                rgba(245, 158, 11, 0.45) 50%,
                rgba(226, 232, 240, 0.95) 88%,
                transparent 100%);
    }

    .vm-panel__half {
        padding: 1.65rem 1.35rem;
    }
}

/* --- FORMS / DOCUMENTS LIST --- */
.forms-hub-cta {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 1.75rem;
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--clr-text-muted);
}

.forms-hub-cta a {
    color: var(--clr-gold-hover);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.forms-hub-cta a:hover {
    color: var(--clr-navy);
}

.forms-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--clr-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 1.25rem 1.5rem 1.5rem;
}

.doc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.doc-list__item {
    border-bottom: 1px solid var(--clr-border);
}

.doc-list__item:last-child {
    border-bottom: none;
}

.doc-list__link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0.4rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--clr-navy);
    text-decoration: none;
    transition:
        color 0.2s ease,
        background 0.22s ease;
}

.doc-list__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.14);
    color: var(--clr-gold);
    font-size: 1.2rem;
    transition: background 0.22s ease, color 0.2s ease, transform 0.22s ease;
}

.doc-list__label {
    flex: 1;
    min-width: 0;
    text-align: left;
    line-height: 1.45;
}

.doc-list__chev {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: var(--clr-text-muted);
    font-size: 0.8rem;
    transition: color 0.2s ease, transform 0.25s ease;
}

.doc-list__link:hover {
    color: var(--clr-navy);
}

.doc-list__link:hover .doc-list__icon {
    background: rgba(245, 158, 11, 0.22);
    color: var(--clr-gold-hover);
}

.doc-list__link:hover .doc-list__chev {
    color: var(--clr-gold);
    transform: translateX(4px);
}

.doc-list__link:focus-visible {
    outline: 2px solid var(--clr-gold);
    outline-offset: 2px;
    border-radius: var(--radius-md);
}

/* =========================================
   MODERN IMPACT GALLERY CAROUSEL
========================================= */


.gallery-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    /* Forces full width even inside container */
    display: flex;
    overflow: hidden;
    background-color: var(--clr-navy);
    /* Dark background to make images pop */
    padding: 30px 0;
    box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.1), inset 0 -10px 20px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--clr-gold);
    border-bottom: 4px solid var(--clr-gold);
}

.gallery-track {
    display: flex;
    gap: 20px;
    padding: 0 10px;
    /* The animation duration (40s) controls the speed */
    animation: infiniteScroll 20s linear infinite;
    width: max-content;
}

/* Pause animation when user hovers over the gallery */
.gallery-wrapper:hover .gallery-track {
    animation-play-state: paused;
}

.gallery-item {
    position: relative;
    /* width: 350px; */
    height: 250px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
}

.gallery-item:hover {
    border-color: var(--clr-gold);
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Overlay that appears on hover */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    /* Navy blue semi-transparent overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: var(--clr-gold);
    transform: translateY(20px);
    transition: transform .3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

/* Keyframes for the infinite scrolling */
@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Scrolls exactly half the width to create a seamless loop */
        transform: translateX(calc(-50% - 10px));
    }
}

/* Responsive adjustments for Gallery */
@media (max-width: 768px) {
    .gallery-item {
        width: 280px;
        height: 200px;
    }

    .gallery-wrapper {
        padding: 20px 0;
    }
}

/* Keyframes for the infinite scrolling */
@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Scrolls exactly half the width to create a seamless loop */
        transform: translateX(calc(-50% - 10px));
    }
}

/* Responsive adjustments for Gallery */
@media (max-width: 768px) {
    .gallery-item {
        width: 280px;
        height: 200px;
    }

    .gallery-wrapper {
        padding: 20px 0;
    }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav-container {
        position: relative;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        margin-left: auto;
        z-index: 1202;
    }

    .header.mobile-menu-open .mobile-menu-toggle__bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .header.mobile-menu-open .mobile-menu-toggle__bar:nth-child(2) {
        opacity: 0;
    }

    .header.mobile-menu-open .mobile-menu-toggle__bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav-menu,
    .header-actions {
        display: none;
    }

    .header.mobile-menu-open .nav-menu {
        display: block;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        width: min(82vw, 340px);
        max-height: calc(100vh - 92px);
        background: #fff;
        border: 1px solid var(--clr-border);
        border-radius: 14px;
        box-shadow: var(--shadow-soft);
        padding: 0.9rem 0.8rem 1rem;
        z-index: 1201;
        overflow-y: auto;
        animation: mobileDrawerIn 0.25s ease;
    }

    .header.mobile-menu-open .nav-menu-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
    }

    .header.mobile-menu-open .nav-menu .nav-link {
        font-size: 0.85rem;
        padding: 0.62rem 0.4rem;
        justify-content: space-between;
    }

    .header.mobile-menu-open .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        min-width: 0;
        border: 0;
        box-shadow: none;
        border-radius: 10px;
        margin: 0.15rem 0 0.35rem 0.4rem;
        padding: 0;
        display: none;
        background: #f8fafc;
    }

    .header.mobile-menu-open .nav-item-dropdown.is-open .nav-dropdown {
        display: block;
    }

    .header.mobile-menu-open .nav-dropdown a {
        padding: 0.52rem 0.75rem;
        font-size: 0.82rem;
    }

    .header.mobile-menu-open .mobile-nav-actions {
        display: flex;
        flex-direction: column;
        margin-top: 0.8rem;
        padding-top: 0.8rem;
        border-top: 1px solid var(--clr-border);
        gap: 0.55rem;
    }

    .header.mobile-menu-open .mobile-nav-actions .header-portal-link,
    .header.mobile-menu-open .mobile-nav-actions .btn-donate {
        width: 100%;
        justify-content: center;
    }

    .header.mobile-menu-open .mobile-nav-actions .btn-donate {
        display: inline-flex;
        margin: 0;
    }

    .header.mobile-menu-open .mobile-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        border: 0;
        background: rgba(15, 23, 42, 0.46);
        z-index: 1200;
    }

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .hero {
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-donate-large,
    .btn-outline {
        width: 100%;
        text-align: center;
    }

    .founder-panel {
        grid-template-columns: 1fr;
        padding: 1.35rem 1.15rem 1.5rem;
    }

    .founder-panel__visual {
        padding: 0 0 12px 0;
        max-width: 320px;
        margin: 0 auto;
    }

    .founder-photo-shell {
        min-height: 240px;
    }

    .founder-panel__visual img {
        min-height: 240px;
    }

    .image-accent {
        bottom: -8px;
        right: -4px;
        width: 85%;
        height: 85%;
    }

    .founder-highlights {
        grid-template-columns: 1fr;
    }

    .footer-trustbar__inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-brand {
        text-align: left;
    }

    .footer-logo {
        margin-left: 0;
        margin-right: 0;
    }

    .footer-brand-title,
    .footer-brand-tagline {
        text-align: left;
    }

    .footer-brand-tagline {
        padding-right: 0;
    }

    .footer-brand .social-icons,
    .footer-brand-meta {
        justify-content: flex-start;
    }

    .footer-bottom__inner {
        justify-content: center;
        text-align: center;
    }
}

@keyframes mobileDrawerIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}


/* ==========================================================
   ILM UNIFIED PREMIUM SKIN (layout & visuals only — same copy & assets)
========================================================== */

.text-gold {
    color: var(--clr-gold);
}

body.ilm-site {
    background: linear-gradient(180deg, var(--clr-white) 0%, var(--clr-bg-soft) 45%, var(--clr-white) 100%);
}

/* body.ilm-site .section-padding {
    padding-top: var(--space-section-y);
    padding-bottom: var(--space-section-y);
} */

body.ilm-site :is(.ilm-section__head,
    .ov-hero,
    .forms-hub__head,
    .videos-catalog__head,
    .videos-theater__head,
    .sch-block-head,
    .contact-band .ilm-section__head,
    .contact-cards .ilm-section__head) {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

body.ilm-site .top-bar {
    position: relative;
    background: linear-gradient(90deg, var(--clr-navy) 0%, var(--clr-navy-light) 50%, var(--clr-navy) 100%);
    border-bottom: 1px solid rgba(245, 158, 11, 0.22);
    padding: 11px 0;
}

body.ilm-site .header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

body.ilm-site .header.scrolled {
    box-shadow: 0 10px 36px -12px rgba(15, 23, 42, 0.12);
    border-bottom-color: rgba(245, 158, 11, 0.18);
}

body.ilm-site .btn-donate {
    box-shadow: 0 4px 16px -2px rgba(245, 158, 11, 0.4);
}

body.ilm-site .header-portal-link {
    border-color: rgba(245, 158, 11, 0.35);
}

body.ilm-site .top-link-portal {
    font-weight: 600;
}

body.ilm-site .section-header h2 {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.15rem;
    margin-bottom: 0.35rem;
    font-size: clamp(1.85rem, 4vw, 2.65rem);
}

body.ilm-site .section-header h2::before,
body.ilm-site .section-header h2::after {
    content: '';
    width: clamp(32px, 7vw, 110px);
    height: 2px;
    border-radius: 2px;
    flex-shrink: 0;
}

body.ilm-site .section-header h2::before {
    background: linear-gradient(90deg, transparent, var(--clr-gold));
}

body.ilm-site .section-header h2::after {
    background: linear-gradient(90deg, var(--clr-gold), transparent);
}

body.ilm-site .section-header .divider {
    margin-top: 0.4rem;
}

body.ilm-site .sub-title {
    letter-spacing: 0.18em;
    font-size: 0.8125rem;
}

body.ilm-site .hero-overlay {
    background: linear-gradient(105deg,
            rgba(15, 23, 42, 0.93) 0%,
            rgba(15, 23, 42, 0.58) 50%,
            rgba(15, 23, 42, 0.22) 100%);
}

body.ilm-site .hero {
    position: relative;
}

body.ilm-site .hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 5%, var(--clr-gold) 50%, transparent 95%);
    z-index: 2;
    pointer-events: none;
}

body.ilm-site .badge {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.45);
}

body.ilm-site .hero h1 {
    text-shadow: 0 4px 36px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.02em;
}

body.ilm-site .btn-donate-large {
    background: linear-gradient(135deg, var(--clr-gold) 0%, var(--clr-gold-hover) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 28px -8px rgba(245, 158, 11, 0.55);
}

body.ilm-site .btn-outline {
    border-width: 2px;
    backdrop-filter: blur(6px);
}

body.ilm-site .gallery-section {
    position: relative;
    isolation: isolate;
    padding-top: 3.5rem;
    background: linear-gradient(180deg, var(--clr-bg-soft) 0%, var(--clr-white) 100%) !important;
}

body.ilm-site .gallery-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

body.ilm-site .gallery-section>* {
    position: relative;
    z-index: 1;
}

body.ilm-site .gallery-wrapper {
    border-top-width: 3px;
    border-bottom-width: 3px;
    box-shadow:
        inset 0 12px 28px rgba(0, 0, 0, 0.12),
        inset 0 -12px 28px rgba(0, 0, 0, 0.12),
        0 12px 40px -16px rgba(15, 23, 42, 0.35);
}

body.ilm-site .gallery-item {
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 32px -12px rgba(0, 0, 0, 0.35);
}

body.ilm-site .causes {
    padding-top: var(--space-section-y);
    padding-bottom: var(--space-section-y);
    position: relative;
    isolation: isolate;
    background: linear-gradient(185deg, var(--clr-white) 0%, var(--clr-bg-soft) 50%, #eef2f7 100%) !important;
    overflow: hidden;
}

body.ilm-site .causes::before {
    content: '';
    position: absolute;
    top: -35%;
    right: -18%;
    width: min(58vw, 500px);
    height: min(58vw, 500px);
    background: radial-gradient(circle, rgba(245, 158, 11, 0.09) 0%, transparent 68%);
    pointer-events: none;
}

body.ilm-site .causes .container {
    position: relative;
    z-index: 1;
}

body.ilm-site .cause-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border);
    box-shadow: 0 18px 48px -18px rgba(15, 23, 42, 0.14);
}

body.ilm-site .cause-card:hover {
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: 0 26px 52px -14px rgba(15, 23, 42, 0.2);
}

body.ilm-site .founder.bg-soft {
    padding-top: var(--space-section-y);
    padding-bottom: var(--space-section-y);
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(175deg, var(--clr-white) 0%, var(--clr-bg-soft) 42%, #e8edf5 78%, rgba(255, 250, 240, 0.65) 100%) !important;
    overflow: hidden;
}

body.ilm-site .founder.bg-soft::before {
    content: '';
    position: absolute;
    top: -34%;
    left: -16%;
    width: min(56vw, 460px);
    height: min(56vw, 460px);
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.03) 45%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

body.ilm-site .founder.bg-soft::after {
    content: '';
    position: absolute;
    bottom: -22%;
    right: -12%;
    width: min(58vw, 480px);
    height: min(58vw, 480px);
    background: radial-gradient(circle, rgba(15, 23, 42, 0.07) 0%, rgba(30, 41, 59, 0.03) 42%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body.ilm-site .founder .container {
    position: relative;
    z-index: 1;
}

body.ilm-site .founder h2.ilm-section__title {
    font-size: clamp(1.75rem, 3.4vw, 2.45rem);
    line-height: 1.15;
    margin-bottom: 0.35rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
    .founder h2.ilm-section__title {
        white-space: nowrap;
    }
}

body.ilm-site .founder .divider--founder {
    box-shadow: 0 2px 14px rgba(245, 158, 11, 0.4);
}

body.ilm-site .founder-panel {
    border-radius: var(--radius-lg);
    border-color: rgba(226, 232, 240, 0.9);
    box-shadow:
        0 20px 52px -20px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(255, 255, 255, 0.7) inset,
        0 -2px 24px -12px rgba(245, 158, 11, 0.08) inset;
}

body.ilm-site .founder-panel:hover {
    border-color: rgba(245, 158, 11, 0.28);
    box-shadow:
        0 26px 56px -18px rgba(15, 23, 42, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.75) inset,
        0 0 36px -14px rgba(245, 158, 11, 0.12);
}

body.ilm-site .founder-panel__visual img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 44px -18px rgba(15, 23, 42, 0.28);
}

body.ilm-site .founder .image-accent {
    border-width: 2px;
    border-color: rgba(245, 158, 11, 0.82);
    border-radius: var(--radius-lg);
}

body.ilm-site .founder-quote {
    border-radius: var(--radius-md);
    border-color: rgba(226, 232, 240, 0.88);
    background:
        linear-gradient(118deg, rgba(255, 255, 255, 0.65) 0%, transparent 38%),
        linear-gradient(195deg, rgba(248, 250, 252, 0.98) 0%, rgba(255, 255, 255, 0.92) 55%, rgba(255, 252, 247, 0.5) 100%);
    box-shadow:
        0 16px 40px -22px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.55) inset;
}

body.ilm-site .quaid-quote {
    position: relative;
    overflow: hidden;
}

body.ilm-site .quaid-quote::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 15%, rgba(245, 158, 11, 0.14) 0%, transparent 52%),
        radial-gradient(ellipse at 85% 85%, rgba(255, 255, 255, 0.08) 0%, transparent 48%);
    pointer-events: none;
}

body.ilm-site .quaid-quote .container {
    position: relative;
    z-index: 1;
}

body.ilm-site .large-quote {
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.15);
}

body.ilm-site .team {
    padding-top: var(--space-section-y);
    padding-bottom: var(--space-section-y);
    position: relative;
    background: linear-gradient(180deg, var(--clr-bg-soft) 0%, var(--clr-white) 100%) !important;
}

body.ilm-site .team-member {
    background: var(--clr-white);
    padding: 1.75rem 1.35rem 1.6rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

body.ilm-site .team-member:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.32);
    box-shadow: var(--shadow-hover);
}

body.ilm-site .featured-strip {
    padding-top: var(--space-section-y);
    padding-bottom: var(--space-section-y);
    background: linear-gradient(180deg, var(--clr-white) 0%, #f1f5f9 40%, var(--clr-white) 100%);
}

body.ilm-site .featured-strip__card {
    box-shadow: 0 16px 40px -18px rgba(15, 23, 42, 0.18);
}

body.ilm-site .vm-section {
    position: relative;
    padding: 3.5rem 0;
    background: linear-gradient(180deg, var(--clr-white) 0%, var(--clr-bg-soft) 35%, var(--clr-bg-soft) 100%);
    overflow: hidden;
}

body.ilm-site .vm-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 50% at 50% 0%, rgba(245, 158, 11, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse 70% 40% at 80% 100%, rgba(15, 23, 42, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

body.ilm-site .vm-section .container {
    position: relative;
    z-index: 1;
}

body.ilm-site .vm-panel {
    border-color: rgba(226, 232, 240, 0.95);
    box-shadow:
        0 22px 56px -24px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset;
}

body.ilm-site .vm-panel:hover {
    border-color: rgba(245, 158, 11, 0.22);
    box-shadow:
        0 26px 60px -22px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(255, 255, 255, 1) inset;
}


body.ilm-site .forms {
    padding-top: var(--space-section-y);
    padding-bottom: var(--space-section-y);
    position: relative;
    background: linear-gradient(165deg, var(--clr-bg-soft) 0%, var(--clr-white) 100%) !important;
}

body.ilm-site .forms-wrapper {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--clr-gold);
    padding: 0.5rem 1.1rem 0.65rem;
    box-shadow:
        0 28px 64px -32px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    background: linear-gradient(165deg, #1a2332 0%, #0f172a 52%, #0a101c 100%);
}

body.ilm-site .doc-list__item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.ilm-site .doc-list__link {
    color: rgba(255, 255, 255, 0.92);
    padding: 1.05rem 0.65rem;
    margin: 0.15rem 0;
    border-radius: var(--radius-md);
}

body.ilm-site .doc-list__link:hover {
    color: var(--clr-white);
    background: rgba(245, 158, 11, 0.1);
}

body.ilm-site .doc-list__link:hover .doc-list__icon {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

body.ilm-site .doc-list__icon {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

body.ilm-site .doc-list__link:focus-visible {
    outline: 2px solid rgba(245, 158, 11, 0.75);
    outline-offset: 2px;
}

body.ilm-site .doc-list__chev {
    color: rgba(226, 232, 240, 0.45);
}

body.ilm-site .footer {
    position: relative;
    background: linear-gradient(180deg, var(--clr-navy) 0%, #0a0f1c 100%);
}

body.ilm-site .footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 8%, var(--clr-gold) 50%, transparent 92%);
    opacity: 0.9;
    pointer-events: none;
}

body.ilm-site .footer-top {
    padding-top: 5rem;
}

body.ilm-site .social-icons a {
    background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 768px) {

    body.ilm-site .section-header h2::before,
    body.ilm-site .section-header h2::after {
        width: 28px;
    }

    body.ilm-site .team-member:hover {
        transform: none;
    }

    /* --- Consistent mobile spacing & gutters --- */
    .container {
        padding: 0 16px;
    }

    .section-padding,
    body.ilm-site .section-padding {
        padding-top: var(--space-section-y);
        padding-bottom: var(--space-section-y);
    }

    .ilm-section__head,
    .ov-hero {
        margin-bottom: 2rem;
    }

    .ilm-section__lede,
    .ov-hero__lede {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    /* --- Hero responsiveness --- */
    .hero {
        min-height: 72vh;
    }

    .hero-text-box {
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(1.95rem, 8.6vw, 2.4rem);
    }

    .hero p {
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        gap: 12px;
    }

    /* --- Mid-page cards/panels --- */
    .cause-content {
        padding: 1.35rem 1rem 1rem;
    }

    .founder-tagline {
        font-size: 0.96rem;
    }

    .large-quote {
        font-size: 1.08rem;
        line-height: 1.65;
    }

    .team-member {
        padding: 1.35rem 1rem 1.2rem;
    }

    .member-img {
        width: 128px;
        height: 128px;
    }

    .featured-strip__card {
        min-height: 88px;
        padding: 1rem;
    }

    .featured-strip__card img {
        height: 88px;
    }

    /* --- Overview / Vision / Forms block --- */
    .ov-metric {
        padding: 1rem 0.9rem;
    }

    .ov-quote,
    .ov-prose {
        padding: 1.2rem 1rem;
    }

    .ov-ticket {
        padding: 0.75rem 0.85rem;
    }

    .vm-panel__half {
        padding: 1.35rem 1rem;
    }

    .forms-wrapper {
        padding: 0.45rem 0.7rem 0.6rem;
    }

    .doc-list__link {
        font-size: 0.95rem;
        gap: 0.65rem;
        padding: 0.88rem 0.3rem;
    }

    .doc-list__icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {

    .section-padding,
    body.ilm-site .section-padding {
        padding-top: var(--space-section-y);
        padding-bottom: var(--space-section-y);
    }

    .hero {
        min-height: 66vh;
    }

    .hero-slider__dots {
        bottom: 14px;
    }

    .ov-pill {
        font-size: 0.68rem;
    }

    .footer-trustbar__inner {
        padding: 15px;
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .doc-list__link:hover .doc-list__chev {
        transform: none;
    }

    body.ilm-site .team-member:hover,
    body.ilm-site .cause-card:hover,
    body.ilm-site .vm-panel:hover {
        transform: none;
    }

    body.ilm-site .btn-donate-large:hover,
    body.ilm-site .btn-donate:hover {
        transform: none;
    }
}