/* ============================================
   strength.foundation - Luxury Modern Stylesheet
   Version: 5.0.0 (2025-2026 Design Trends)
   Approach: Mobile-first, luxury minimalism
   ============================================ */

/* === 1. CSS VARIABLES (Design Tokens) === */
:root {
    /* Refined Color Palette */
    --main-green: #4a4b32;
    --main-green-light: #5d5e42;
    --accent: #c9a227;
    --accent-light: #e8d48a;
    --accent-glow: rgba(201, 162, 39, 0.3);
    --beige: #faf8f3;
    --off-white: #f5f3ed;
    --white: #ffffff;
    --dark: #1a1a1a;
    --text: #2d2d2d;
    --text-muted: #6b6b6b;
    --olive-color: #5a5b3d;
    --olive-dark: #484934;

    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);

    /* Fluid Typography Scale - Refined */
    --fs-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
    --fs-sm: clamp(0.875rem, 0.82rem + 0.25vw, 0.9375rem);
    --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
    --fs-md: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
    --fs-lg: clamp(1.25rem, 1.1rem + 0.75vw, 1.625rem);
    --fs-xl: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
    --fs-2xl: clamp(1.875rem, 1.5rem + 1.875vw, 3rem);
    --fs-3xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.75rem);

    /* Fluid Spacing */
    --space-xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem);
    --space-sm: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
    --space-md: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
    --space-lg: clamp(1rem, 0.75rem + 1.25vw, 1.75rem);
    --space-xl: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
    --space-2xl: clamp(2.5rem, 1.75rem + 3.75vw, 5rem);

    /* Layout */
    --container-max: 1400px;
    --header-height: 80px;

    /* Transitions - Luxury feel */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Shadows - Layered depth */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.06), 0 5px 10px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.08), 0 10px 20px rgba(0, 0, 0, 0.04);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

/* === 2. GLOBAL RESET & BASE === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--text);
    background-color: var(--beige);
    overflow-x: hidden;
    min-height: 100vh;
    font-feature-settings: 'kern' 1, 'liga' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

iframe {
    border: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* === CONTAINER UTILITY === */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* === 3. HEADER - Luxury Sticky Navigation === */
.header-container {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--main-green) 0%, var(--main-green-light) 100%);
    box-shadow: var(--shadow-lg);
}

.site-header {
    max-width: var(--container-max);
    margin: 0 auto;
    color: var(--white);
    padding: var(--space-md) clamp(1.25rem, 5vw, 3rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.header-logo {
    height: 48px;
    fill: var(--white);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.header-logo:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.header-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    width: 100%;
}

.menu-btn {
    width: 100%;
    max-width: 280px;
    height: 42px;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    padding: 0 var(--space-md);
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
    transition: all var(--transition-base);
    text-align: center;
    min-height: 44px;
    backdrop-filter: blur(4px);
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
    transform: translateY(-1px);
}

.menu-btn.active {
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.lang-switcher {
    font-weight: 600;
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
    letter-spacing: 0.05em;
}

.lang-switcher:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* === 4. TOGGLE SECTIONS (Panels) - Glassmorphism === */
.toggle-wrapper {
    width: 100%;
    background: linear-gradient(135deg, rgba(250, 248, 243, 0.95) 0%, rgba(245, 243, 237, 0.9) 100%);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    position: relative;
    overflow: visible;
    transition: all var(--transition-slow);
}

.toggle-wrapper.active {
    opacity: 1;
    pointer-events: auto;
    padding: var(--space-xl) clamp(1.25rem, 5vw, 3rem);
    min-height: clamp(500px, 70vh, 800px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.toggle-section {
    display: none;
    padding: var(--space-lg) clamp(1.25rem, 5vw, 3rem);
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.toggle-section.active {
    display: block;
    animation: fadeSlideIn 0.4s ease-out;
}

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

.toggle-section h2 {
    font-size: var(--fs-xl);
    font-weight: 600;
    color: var(--main-green);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.toggle-section p {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.toggle-close {
    position: absolute;
    top: clamp(1rem, 3vw, 1.5rem);
    right: clamp(1.25rem, 5vw, 3rem);
    font-size: 1.5rem;
    font-weight: 300;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--main-green);
    cursor: pointer;
    z-index: 100;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.toggle-close:hover {
    background: var(--white);
    transform: rotate(90deg);
    box-shadow: var(--shadow-md);
}

/* === 5. DOCUMENT LAYOUTS - Card Style === */
.doc-preview-layout,
.split-docs-layout,
.doc-switcher-columns {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: var(--space-lg);
    padding: var(--space-md);
}

.doc-button-column,
.doc-button-list,
.doc-buttons-vertical {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.doc-switch-btn {
    width: 100%;
    text-align: center;
    padding: var(--space-md) var(--space-lg);
    background: var(--white);
    border: 1.5px solid rgba(74, 75, 50, 0.2);
    color: var(--main-green);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--fs-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.doc-switch-btn:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.doc-switch-btn.active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--dark);
    border-color: var(--accent);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.doc-btn,
.donate-logo-btn {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 500px;
    margin: var(--space-sm) auto;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    color: var(--dark);
    font-weight: 600;
    text-decoration: none;
    gap: var(--space-md);
    min-height: 56px;
}

.doc-btn:hover,
.donate-logo-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.donate-logo-btn img {
    height: 36px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    filter: grayscale(0.05) contrast(1.05);
    transition: filter var(--transition-base);
}

.donate-logo-btn:hover img {
    filter: grayscale(0) contrast(1.1);
}

.doc-iframe-column {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.iframe-container {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.modal-frame {
    width: 100%;
    max-width: 100%;
    display: block;
    height: clamp(400px, 60vh, 650px);
    min-height: 400px;
    background: var(--white);
    border-radius: var(--radius-md);
}

.modal-frame-reports {
    width: 100%;
    height: clamp(400px, 80vh, 100vh);
    min-height: 400px;
    background: var(--white);
    border-radius: var(--radius-md);
}

/* === 6. IFRAME LOADER - Refined === */
.iframe-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 44px;
    height: 44px;
}

.iframe-loader::after {
    content: "";
    width: 44px;
    height: 44px;
    border: 3px solid rgba(74, 75, 50, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    display: block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === 7. FUND SECTION - Hero Style === */
.fund-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
}

.fund-left {
    min-height: 50vh;
    width: 100%;
    background: url('assets/SiteBackImg.png') no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.fund-left::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(74, 75, 50, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.fund-right {
    width: 100%;
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    background: linear-gradient(180deg, var(--olive-color) 0%, var(--olive-dark) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.fund-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.fund-right .section-title {
    font-size: var(--fs-3xl);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fund-right .section-subtitle {
    font-size: var(--fs-lg);
    font-weight: 400;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto var(--space-md);
    line-height: 1.5;
}

.fund-right .section-description {
    font-size: var(--fs-base);
    opacity: 0.85;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-title {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--main-green);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: var(--fs-lg);
    font-weight: 500;
}

.section-description {
    font-size: var(--fs-base);
    color: var(--text-muted);
}

.help-types {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: var(--space-xl) 0;
}

.help-types h3 {
    font-size: var(--fs-md);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--accent);
}

.help-types ul {
    list-style: none;
    padding-left: 0;
    margin: 0 auto;
    max-width: 320px;
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--fs-base);
    line-height: 1.8;
}

.help-types ul li {
    position: relative;
    padding-left: 1.5em;
}

.help-types ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.help-types ul.no-bullets li::before {
    display: none;
}

.help-types ul.no-bullets {
    text-align: center;
}

.help-types ul.no-bullets li {
    padding-left: 0;
}

/* === 8. MEDIA EMBEDS - Modern Cards === */
.media-embed-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.media-item {
    width: 100%;
    max-width: 340px;
}

.media-title {
    text-align: center;
    font-weight: 600;
    font-size: var(--fs-sm);
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.youtube-media-embed,
.spotify-media-embed {
    width: 100%;
    max-width: 280px;
    height: 158px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* === 9. CAROUSEL - Elegant Presentation === */
.presentation-carousel {
    background: linear-gradient(180deg, var(--off-white) 0%, var(--beige) 100%);
    padding: var(--space-2xl) clamp(1.25rem, 5vw, 3rem);
    text-align: center;
    position: relative;
}

.carousel-title,
.projects-title {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--main-green);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
    max-width: var(--container-max);
    margin-inline: auto;
    text-align: left;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    height: clamp(300px, 50vh, 600px);
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    background: var(--white);
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: var(--white);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--space-lg);
    gap: var(--space-md);
}

.carousel-prev,
.carousel-next {
    background: var(--main-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: var(--fs-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--accent);
    transform: scale(1.08);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--main-green);
    opacity: 0.3;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.carousel-indicator:hover {
    opacity: 0.6;
    transform: scale(1.2);
}

.carousel-indicator.active {
    opacity: 1;
    background: var(--accent);
    transform: scale(1.1);
}

.carousel-play-pause {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(74, 75, 50, 0.8);
    backdrop-filter: blur(10px);
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-base);
}

.carousel-play-pause:hover {
    background: var(--accent);
    transform: scale(1.1);
}

.carousel-play-pause svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    pointer-events: none;
}

/* === 10. FOOTER - Sophisticated === */
.site-footer {
    background: linear-gradient(180deg, var(--olive-color) 0%, var(--olive-dark) 100%);
    color: white;
    padding: var(--space-2xl) clamp(1.25rem, 5vw, 3rem);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.footer-columns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-left,
.footer-center,
.footer-right {
    text-align: center;
}

.footer-logo-wrapper,
.footer-contact {
    text-align: center;
}

.footer-logo {
    margin: 0 auto;
    max-width: 140px;
    height: auto;
    opacity: 0.95;
    transition: opacity var(--transition-base);
}

.footer-logo:hover {
    opacity: 1;
}

.footer-email {
    color: var(--accent);
    font-weight: 600;
    font-size: var(--fs-base);
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-block;
}

.footer-email:hover {
    color: var(--accent-light);
    transform: translateY(-1px);
}

.social-icons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    align-items: center;
    margin: var(--space-md) 0;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.social-icons a:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.social-icons a img {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

/* === 11. UTILITIES === */
.desktop-only {
    display: none;
}

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

.doc-links li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-sm) var(--space-lg);
    margin: var(--space-xs) 0;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
    min-height: 48px;
    font-weight: 500;
}

.doc-links li a:hover {
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.donate-options {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}

.donate-card img {
    height: 50px;
    object-fit: contain;
}

.google-drive-embed {
    display: block;
    text-align: center;
    padding: var(--space-xl) 0;
}

/* ============================================
   TABLET BREAKPOINT (640px+)
   ============================================ */
@media (min-width: 640px) {
    .header-menu {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }

    .menu-btn {
        width: auto;
        max-width: none;
        padding: var(--space-sm) var(--space-md);
    }

    .media-embed-row {
        flex-direction: row;
        justify-content: center;
    }

    .footer-columns {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .footer-left {
        text-align: left;
    }

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

    .doc-preview-layout,
    .doc-switcher-columns {
        flex-direction: row;
        align-items: flex-start;
    }
}

/* ============================================
   DESKTOP BREAKPOINT (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    .site-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: var(--space-md) clamp(1.25rem, 5vw, 3rem);
    }

    .header-logo {
        height: 52px;
        flex-shrink: 0;
    }

    .header-menu {
        flex-wrap: nowrap;
        gap: 6px;
        margin-left: auto;
        justify-content: flex-end;
    }

    .menu-btn {
        width: auto;
        max-width: none;
        height: 40px;
        padding: 0 18px;
        font-size: 0.875rem;
    }

    .lang-switcher {
        margin-left: 8px;
    }

    .desktop-only {
        display: block;
    }

    .fund-section {
        flex-direction: row;
        min-height: 90vh;
    }

    .fund-left {
        flex: 1.1;
        min-height: auto;
    }

    .fund-right {
        flex: 0.9;
        text-align: left;
        padding: var(--space-2xl) var(--space-xl);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .fund-right .section-title,
    .fund-right .section-subtitle,
    .fund-right .section-description {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .fund-right .media-embed-row {
        justify-content: flex-start;
    }

    .help-types {
        align-items: flex-start;
    }

    .help-types ul {
        margin: 0;
        text-align: left;
    }

    .toggle-section {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        min-height: 100%;
        transform: translateX(-100%);
        transition: transform var(--transition-slow), opacity var(--transition-slow);
        padding: var(--space-2xl);
    }

    .toggle-section.active {
        transform: translateX(0);
        z-index: 1;
    }

    .toggle-wrapper.active {
        min-height: clamp(600px, 75vh, 850px);
    }

    .modal-frame {
        height: 600px;
    }

    .doc-iframe-column {
        flex: 3;
        min-width: 400px;
    }

    .doc-button-column {
        flex: 0 0 280px;
    }

    .carousel-play-pause {
        position: absolute;
        bottom: 16px;
        right: 16px;
    }

    .footer-right {
        align-items: flex-end;
    }

    .footer-logo-wrapper,
    .footer-contact {
        text-align: right;
    }

    .social-icons {
        justify-content: flex-end;
    }
}

/* ============================================
   LARGE DESKTOP BREAKPOINT (1440px+)
   ============================================ */
@media (min-width: 1440px) {
    .site-header {
        padding: var(--space-md) var(--space-2xl);
    }

    .fund-section {
        min-height: 85vh;
    }

    .fund-right {
        padding: var(--space-2xl);
    }

    .carousel-container {
        height: 550px;
    }

    .toggle-section {
        padding: var(--space-2xl) var(--space-xl);
    }
}

/* ============================================
   ULTRA-WIDE DESKTOP (1920px+)
   ============================================ */
@media (min-width: 1920px) {
    :root {
        --container-max: 1600px;
    }

    .fund-right {
        padding: var(--space-2xl) calc(var(--space-2xl) * 1.5);
    }
}

/* ============================================
   PROGRESSIVE ENHANCEMENT: Container Queries
   ============================================ */
@supports (container-type: inline-size) {
    .toggle-section {
        container-type: inline-size;
        container-name: panel;
    }

    @container panel (min-width: 500px) {
        .doc-preview-layout,
        .doc-switcher-columns {
            flex-direction: row;
            align-items: flex-start;
        }

        .doc-button-column {
            flex: 0 0 240px;
        }

        .doc-iframe-column {
            flex: 1;
            min-width: 300px;
        }
    }

    @container panel (min-width: 800px) {
        .doc-button-column {
            flex: 0 0 300px;
        }
    }

    .fund-right {
        container-type: inline-size;
        container-name: fund-content;
    }

    @container fund-content (min-width: 500px) {
        .media-embed-row {
            flex-direction: row;
            justify-content: flex-start;
        }
    }
}

/* ============================================
   ACCESSIBILITY: Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .header-container,
    .carousel-controls,
    .toggle-close,
    .menu-btn {
        display: none !important;
    }

    .toggle-section {
        display: block !important;
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
    }

    body {
        font-size: 11pt;
        background: white;
        color: black;
    }
}
