/**
 * Einstein Rising - Custom Styles
 * Fresh design with gold/black palette
 */

:root {
    --er-gold: #d4a028;
    --er-gold-rgb: 212, 160, 40;
    --er-gold-light: #e5c035;
    --er-gold-dark: #b89820;
    --er-black: #231f20;
    --er-dark: #2a2627;
    --er-primary: #d4a028;
    --er-secondary: #231f20;
    --er-radius-sm: 6px;
    --er-radius-md: 10px;
    --er-radius-lg: 12px;
    --er-gray-900: #2D2D2D;
    --er-gray-700: #4A4A4A;
    --er-gray-600: #5A5A5A;
    --er-gray-500: #6B6B6B;
    --er-gray-300: #9E9E9E;
    --er-gray-200: #E0E0E0;
    --er-gray-100: #F5F5F5;
    --er-white: #FFFFFF;
    --er-success: #2E7D32;
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--er-gold);
    color: var(--er-white);
    padding: 8px 16px;
    z-index: 9999;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}
img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: var(--font-primary);
    color: var(--er-gray-700);
    background-color: var(--er-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--er-black);
}

a {
    color: var(--er-gold-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--er-gold);
}

/* Topbar */
.topbar {
    background: var(--er-gold);
    color: var(--er-white);
    font-size: 0.8rem;
    padding: 0.35rem 0;
}
.topbar-brand-text {
    font-weight: 600;
    font-size: 0.8rem;
}
.topbar a {
    color: var(--er-white);
}
.topbar a:hover {
    color: var(--er-white);
    opacity: 0.9;
}
.topbar a.topbar-email,
.topbar a[href^="mailto:"] {
    color: var(--er-white) !important;
}
.topbar a.topbar-email:hover,
.topbar a[href^="mailto:"]:hover {
    color: var(--er-white) !important;
    opacity: 0.9;
}
a[href^="mailto:"]:not(.btn) {
    color: var(--er-gold);
}
a[href^="mailto:"]:not(.btn):hover {
    color: var(--er-gold-light);
}
.topbar-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 0;
}
.topbar-info li {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.topbar-info li i,
.topbar .social-links a i {
    font-size: 0.75rem;
    color: var(--er-white);
}
.topbar .social-links a {
    color: var(--er-white);
}
.topbar .social-links a:hover {
    color: var(--er-white);
    opacity: 0.9;
}
.topbar .social-links a:hover i {
    color: var(--er-white);
}
.btn-donate {
    background: var(--er-gold);
    color: var(--er-white) !important;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--er-radius-md);
    transition: background 0.2s, transform 0.2s;
}
.btn-donate:hover {
    background: var(--er-gold-light);
    color: var(--er-white) !important;
    transform: translateY(-2px);
}
.footer-main .social-links a {
    color: var(--er-white);
}
.footer-main .social-links a:hover {
    color: var(--er-gold);
}
.footer-main .social-links a i {
    font-size: 1.1rem;
    color: var(--er-white);
}
.footer-main .social-links a:hover i {
    color: var(--er-gold);
}
.text-gold-icon {
    color: var(--er-gold);
    font-size: 1.25rem;
}
.social-icon-link {
    color: var(--er-gray-700);
}
.social-icon-link:hover {
    color: var(--er-gold);
}
.social-icon-link i {
    font-size: 1.25rem;
}

/* Header */
.navbar-collapse {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.nav-links-center {
    flex: 1;
    justify-content: center;
}
.site-header {
    background: var(--er-white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1030;
}
.navbar {
    padding: 0.75rem 0;
}
.navbar .btn-donate.btn-donate-header {
    box-shadow: 0 4px 16px rgba(var(--er-gold-rgb), 0.25);
}
.navbar .btn-donate.btn-donate-header:hover {
    box-shadow: 0 6px 24px rgba(var(--er-gold-rgb), 0.35);
}
.navbar .btn-donate.d-lg-none {
    white-space: nowrap;
}
.header-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}
.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--er-gray-700) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--er-radius-sm);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--er-gold) !important;
}
.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border-radius: var(--er-radius-md);
    padding: 0.5rem;
}
.navbar-nav .dropdown-item {
    padding: 0.5rem 1rem;
    border-radius: var(--er-radius-sm);
}
.navbar-nav .dropdown-item:hover {
    background: rgba(var(--er-gold-rgb), 0.1);
    color: var(--er-gold-dark);
}
.navbar-toggler {
    border-color: var(--er-gray-300);
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(var(--er-gold-rgb), 0.25);
}

/* Custom hamburger */
.er-hamburger {
    padding: 0.5rem;
    border-radius: var(--er-radius-sm);
}
.er-hamburger-box {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 20px;
    position: relative;
}
.er-hamburger-inner {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--er-secondary);
    border-radius: 2px;
    position: relative;
    transition: background 0.3s ease;
}
.er-hamburger-inner::before,
.er-hamburger-inner::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--er-secondary);
    border-radius: 2px;
    transition: transform 0.3s ease, background 0.3s ease;
}
.er-hamburger-inner::before { top: -7px; }
.er-hamburger-inner::after { top: 7px; }
.er-hamburger:hover .er-hamburger-inner,
.er-hamburger:hover .er-hamburger-inner::before,
.er-hamburger:hover .er-hamburger-inner::after {
    background: var(--er-gold);
}
.er-hamburger.active .er-hamburger-inner {
    background: transparent;
}
.er-hamburger.active .er-hamburger-inner::before {
    top: 0;
    transform: rotate(45deg);
}
.er-hamburger.active .er-hamburger-inner::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Hero block - contains hero + overlapping widget */
.hero-block {
    position: relative;
}

/* Hero - Clean erovo-style layout */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--er-white);
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.12);
    transition: opacity 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: 
        radial-gradient(ellipse 80% 60% at 50% 45%, rgba(var(--er-gold-rgb), 0.15) 0%, transparent 60%),
        linear-gradient(to bottom, rgba(35, 31, 32, 0.5) 0%, rgba(35, 31, 32, 0.65) 100%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem 0;
}
.hero-tagline {
    color: var(--er-gold);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: capitalize;
    margin-bottom: 0.75rem;
}
.hero-headline {
    position: relative;
    font-family: 'Montserrat', var(--font-primary);
    font-size: clamp(1.75rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0.25rem;
    min-height: 3.2em;
    color: var(--er-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 1px 1px 2px rgba(0, 0, 0, 0.7);
    letter-spacing: -0.02em;
}
.hero-headline-item {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    text-align: center;
    opacity: 0;
    color: var(--er-white);
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.hero-headline-item.active {
    opacity: 1;
    pointer-events: auto;
}
.hero-headline em {
    display: block;
    color: var(--er-gold);
    font-style: normal;
    font-weight: 800;
    margin-top: 0.2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 1px 1px 2px rgba(0, 0, 0, 0.7);
}
.hero-desc {
    position: relative;
    font-family: 'Poppins', var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    max-width: 540px;
    margin: 0 auto 1.5rem;
    line-height: 1.55;
    min-height: 2.8em;
}
.hero-desc-item {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    margin-top: 0;
    font-family: inherit;
    font-weight: inherit;
}
.hero-desc-item.active {
    opacity: 1;
    pointer-events: auto;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.hero-dots {
    display: none;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}
.hero-dot:hover {
    border-color: var(--er-gold);
    background: rgba(255, 255, 255, 0.2);
}
.hero-dot.active {
    background: var(--er-gold);
    border-color: var(--er-gold);
}

.btn-hero {
    background: var(--er-gold);
    color: var(--er-white) !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--er-radius-md);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(var(--er-gold-rgb), 0.3);
}
.btn-hero:hover {
    background: var(--er-gold-light);
    color: var(--er-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--er-gold-rgb), 0.4);
}
.btn-outline-hero {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--er-white);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--er-radius-md);
    background: rgba(255, 255, 255, 0.05);
}
.btn-outline-hero:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--er-gold);
    color: var(--er-white);
}

/* Impact widget - between hero and Top Entrepreneurs, overlaps both */
.impact-widget-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(50%);
    z-index: 10;
    padding: 0 1rem;
}

.impact-widget {
    background: var(--er-black);
    padding: 1.5rem 2rem;
    border-radius: var(--er-radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.impact-widget-counters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem 1.5rem;
}
.impact-counter {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.impact-counter-icon {
    font-size: 2rem;
    color: var(--er-gold);
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 900;
}
.impact-counter-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--er-white);
    line-height: 1;
}
.impact-counter-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.35rem;
    line-height: 1.3;
}

/* Section Styles */
.section {
    padding: 2.5rem 0;
}
.section-after-hero {
    padding-top: 7rem;
}
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 0.5rem;
}
.section-subtitle {
    color: var(--er-gray-500);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Mission, Vision, Goal */
.section-mvg {
    padding: 2rem 0;
}
.section-mvg.section-after-hero {
    padding-top: 6.5rem;
}
.mvg-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.mvg-card {
    padding: 2rem 1.75rem;
    text-align: left;
    border-radius: var(--er-radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mvg-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(35, 31, 32, 0.18);
}
.mvg-card--light {
    background: var(--er-white);
    color: var(--er-secondary);
    box-shadow: 0 8px 32px rgba(35, 31, 32, 0.1);
    border: 1px solid rgba(var(--er-gold-rgb), 0.15);
}
.mvg-card--primary {
    background: var(--er-primary);
    color: var(--er-white);
    box-shadow: 0 8px 32px rgba(var(--er-gold-rgb), 0.3);
}
.mvg-card--secondary {
    background: var(--er-secondary);
    color: var(--er-white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.mvg-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}
.mvg-card--light .mvg-card-title { color: var(--er-secondary); }
.mvg-card--primary .mvg-card-title,
.mvg-card--secondary .mvg-card-title { color: var(--er-white); }
.mvg-card-text {
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}
.mvg-card--light .mvg-card-text { color: var(--er-gray-600); }
.mvg-card--primary .mvg-card-text,
.mvg-card--secondary .mvg-card-text { color: rgba(255, 255, 255, 0.95); }
@media (max-width: 991px) {
    .mvg-cards {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 575px) {
    .mvg-card {
        padding: 1.5rem 1.25rem;
    }
}

/* Cards */
.card {
    border: none;
    border-radius: var(--er-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
/* Programs - clean card grid */
.program-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.program-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.program-card-new {
    background: var(--er-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(35, 31, 32, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.program-card-link:hover .program-card-new {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(35, 31, 32, 0.12);
}
.program-card-new-img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.program-card-new-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.program-card-link:hover .program-card-new-img img {
    transform: scale(1.06);
}
.program-card-new-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    pointer-events: none;
}
.program-card-new-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.program-card-new-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--er-black);
    margin: 0 0 0.5rem;
}
.program-card-new-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--er-gray-600);
    margin: 0 0 1rem;
    flex: 1;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.program-card-new-cta {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--er-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.25s;
}
.program-card-link:hover .program-card-new-cta {
    gap: 0.6rem;
}
.program-card-new {
    position: relative;
}
.program-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--er-gold), var(--er-gold-light));
    opacity: 0;
    transition: opacity 0.3s;
}
.program-card-link:hover .program-card-new::before {
    opacity: 1;
}

@media (max-width: 1199px) {
    .program-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .program-cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .program-card-new-body {
        padding: 1.25rem;
    }
}
.btn-program {
    background: var(--er-gold);
    color: var(--er-white) !important;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--er-radius-md);
    transition: all 0.25s ease;
    display: inline-block;
    align-self: flex-start;
}
.btn-program:hover {
    background: var(--er-gold-light);
    color: var(--er-white) !important;
    transform: translateY(-2px);
}
.btn-outline-program {
    background: transparent;
    color: var(--er-gold) !important;
    border: 2px solid var(--er-gold);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--er-radius-md);
    transition: all 0.25s ease;
    display: inline-block;
}
.btn-outline-program:hover {
    background: var(--er-gold);
    color: var(--er-white) !important;
    border-color: var(--er-gold);
    transform: translateY(-2px);
}


/* Event cards - photo sliders */
.section-events {
    background: linear-gradient(180deg, #faf9f7 0%, #ffffff 100%);
}
.event-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.event-card {
    background: var(--er-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(35, 31, 32, 0.08);
    border: 1px solid rgba(var(--er-gold-rgb), 0.15);
    transition: all 0.35s ease;
}
.event-card:hover {
    box-shadow: 0 12px 40px rgba(35, 31, 32, 0.12);
    transform: translateY(-4px);
}
.event-card-slider {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.event-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}
.event-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.event-slide.active {
    opacity: 1;
    z-index: 1;
}
.event-slider-prev,
.event-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--er-black);
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.event-slider-prev { left: 12px; }
.event-slider-next { right: 12px; }
.event-slider-prev:hover,
.event-slider-next:hover {
    background: var(--er-gold);
    color: var(--er-white);
}
.event-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}
.event-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s;
}
.event-slider-dot.active,
.event-slider-dot:hover {
    background: var(--er-gold);
}
.event-card-body {
    padding: 1.5rem 1.75rem;
}
.event-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--er-black);
    margin: 0 0 0.5rem;
}
.event-card-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--er-gray-600);
    margin: 0 0 1.25rem;
}
.btn-event {
    background: var(--er-gold);
    color: var(--er-white) !important;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--er-radius-md);
    transition: all 0.25s ease;
}
.btn-event:hover {
    background: var(--er-gold-light);
    color: var(--er-white) !important;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .event-cards {
        grid-template-columns: 1fr;
    }
}

/* Corporate Social Responsibility - People, Planet, Profit */
.section-csr {
    background: linear-gradient(180deg, var(--er-white) 0%, var(--er-gray-100) 100%);
    padding: 4rem 0;
}
.csr-header {
    margin-bottom: 3rem;
}
.csr-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}
.csr-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--er-gold-dark), var(--er-gold-light));
    border-radius: 2px;
}
.csr-subtitle {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.csr-pillar-badges {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}
.csr-pillar-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 100px;
}
.csr-pillar-badge--people { background: rgba(var(--er-gold-rgb), 0.15); color: var(--er-gold-dark); }
.csr-pillar-badge--planet { background: rgba(var(--er-gold-rgb), 0.25); color: var(--er-gold); }
.csr-pillar-badge--profit { background: rgba(var(--er-gold-rgb), 0.2); color: var(--er-gold-light); }
.csr-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.csr-card {
    background: var(--er-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(35, 31, 32, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
}
.csr-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 48px rgba(35, 31, 32, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
}
.csr-card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--er-gray-200);
}
.csr-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.csr-card:hover .csr-card-image img {
    transform: scale(1.05);
}
.csr-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    pointer-events: none;
}
.csr-card-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.04em;
    z-index: 1;
}
.csr-card-body {
    padding: 2rem 1.75rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.csr-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--er-secondary);
    margin: 0 0 0.85rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}
.csr-card-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--er-gray-600);
    margin: 0 0 1.5rem;
    flex: 1;
}
.csr-card-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--er-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease, color 0.3s ease;
}
.csr-card-link:hover {
    color: var(--er-gold-dark);
    gap: 0.75rem;
}
.csr-card-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}
.csr-card-link:hover i {
    transform: translateX(3px);
}
.csr-cta .btn-program {
    padding: 0.75rem 2rem;
}
@media (max-width: 991px) {
    .section-csr { padding: 3rem 0; }
    .csr-cards { gap: 1.5rem; }
}
@media (max-width: 767px) {
    .section-csr { padding: 2.5rem 0; }
    .csr-header { margin-bottom: 2rem; }
    .csr-cards {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Partners logo marquee - continuous scroll right to left */
.partners-section {
    padding: 2.5rem 0;
    background: var(--er-gray-100);
    border-top: 1px solid var(--er-gray-200);
}
.partners-section .section-title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}
.partners-marquee-wrap {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.partners-marquee {
    width: 100%;
    overflow: hidden;
}
.partners-track {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: max-content;
    padding: 0 1rem;
    animation: partnersScroll 40s linear infinite;
}
.partners-track:hover {
    animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
    .partners-track {
        animation: none;
    }
}
@keyframes partnersScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 100px;
    background: var(--er-white);
    border-radius: var(--er-radius-lg);
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 16px rgba(35, 31, 32, 0.06);
    border: 1px solid var(--er-gray-200);
    border-top: 3px solid var(--er-primary);
    border-bottom: 3px solid var(--er-secondary);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.partner-logo:hover {
    box-shadow: 0 8px 24px rgba(35, 31, 32, 0.1);
    transform: translateY(-2px);
}
.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.partner-logo a,
.partner-logo .partner-logo-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* ========== Programs Page ========== */
.programs-hero {
    height: 400px;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.programs-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.programs-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(35, 31, 32, 0.82) 0%, rgba(35, 31, 32, 0.6) 50%, rgba(35, 31, 32, 0.75) 100%);
}
.programs-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--er-white);
}
.programs-hero-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--er-gold);
    margin: 0 0 0.5rem;
}
.programs-hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    margin: 0 0 0.75rem;
    color: var(--er-white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.programs-hero-subtitle {
    font-size: 1.05rem;
    opacity: 0.95;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.55;
}
.programs-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--er-gold), transparent);
    opacity: 0.6;
}

/* Programs nav cards - quick jump */
.programs-nav-cards {
    background: var(--er-white);
    padding: 2.5rem 0 3rem;
}
.programs-nav-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--er-gold-dark);
    text-align: center;
    margin-bottom: 1.5rem;
}
.programs-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}
.programs-nav-card {
    display: flex;
    flex-direction: column;
    background: var(--er-white);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(35, 31, 32, 0.08);
    border: 1px solid rgba(212, 160, 40, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.programs-nav-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(35, 31, 32, 0.14);
    border-color: rgba(212, 160, 40, 0.4);
}
.programs-nav-card-img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.programs-nav-card-img > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.programs-nav-card:hover .programs-nav-card-img > img {
    transform: scale(1.08);
}
.programs-nav-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(35, 31, 32, 0.85) 100%);
    transition: background 0.3s ease;
}
.programs-nav-card:hover .programs-nav-card-overlay {
    background: linear-gradient(180deg, rgba(212, 160, 40, 0.2) 0%, rgba(35, 31, 32, 0.9) 100%);
}
.programs-nav-card-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--er-white);
    padding: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.programs-nav-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: none !important;
}
.programs-nav-card:hover .programs-nav-card-logo {
    transform: translate(-50%, -50%) scale(1.05);
}
.programs-nav-card-body {
    padding: 1.25rem 1rem;
    text-align: center;
}
.programs-nav-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--er-black);
    margin: 0 0 0.35rem;
    line-height: 1.3;
}
.programs-nav-card-hint {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--er-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.25s ease;
}
.programs-nav-card:hover .programs-nav-card-hint {
    gap: 0.5rem;
}
.programs-nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--er-gold), var(--er-gold-light));
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}
.programs-nav-card:hover::before {
    opacity: 1;
}
.programs-nav-card { position: relative; }

@media (max-width: 991px) {
    .programs-nav-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .programs-nav-card-title { font-size: 0.95rem; }
}
@media (max-width: 767px) {
    .programs-nav-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .programs-nav-cards { padding: 2rem 0 2.5rem; }
    .programs-nav-card-logo { width: 52px; height: 52px; }
}
@media (max-width: 480px) {
    .programs-nav-grid { grid-template-columns: 1fr; max-width: 280px; margin-left: auto; margin-right: auto; }
}

.section-programs-list { background: var(--er-gray-100); }
.program-detail-card {
    position: relative;
    scroll-margin-top: 100px;
    background: var(--er-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(35, 31, 32, 0.08);
    margin-bottom: 2rem;
}
.program-detail-card:last-of-type { margin-bottom: 0; }
.program-detail-logo {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 2;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(35, 31, 32, 0.15);
    background: var(--er-white);
}
.program-detail-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.program-detail-logo--left {
    right: auto;
    left: 1rem;
}
.program-detail-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 0;
    align-items: stretch;
}
.program-detail-card--photo-right .program-detail-grid {
    grid-template-columns: 1fr 380px;
}
.program-detail-card--photo-right .program-detail-photo { grid-column: 2; grid-row: 1; }
.program-detail-card--photo-right .program-detail-body { grid-column: 1; grid-row: 1; }
.program-detail-photo {
    position: relative;
    min-height: 260px;
    overflow: hidden;
}
.program-detail-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.program-detail-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--er-gold-dark), var(--er-gold));
}
.program-detail-body {
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.program-detail-body .program-detail-btn {
    align-self: center;
}
.program-detail-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--er-secondary);
    margin: 0 0 1rem;
}
.program-detail-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--er-gray-600);
    margin: 0 0 1.5rem;
}
/* Primary (gold) - odd cards */
.program-detail-card--primary .program-detail-body {
    background: var(--er-primary);
}
.program-detail-card--primary .program-detail-title { color: var(--er-white); }
.program-detail-card--primary .program-detail-desc { color: rgba(255, 255, 255, 0.9); }
.program-detail-card--primary .btn-program {
    background: var(--er-secondary);
    color: var(--er-white) !important;
}
.program-detail-card--primary .btn-program:hover {
    background: var(--er-dark);
}
/* Secondary (dark) - even cards */
.program-detail-card--secondary .program-detail-body {
    background: var(--er-secondary);
}
.program-detail-card--secondary .program-detail-title { color: var(--er-white); }
.program-detail-card--secondary .program-detail-desc { color: rgba(255, 255, 255, 0.88); }
.program-detail-card--secondary .btn-program {
    background: var(--er-primary);
    color: var(--er-white) !important;
}
.program-detail-card--secondary .btn-program:hover {
    background: var(--er-gold-light);
    color: var(--er-white) !important;
}
.programs-cta { background: linear-gradient(180deg, var(--er-white) 0%, var(--er-gray-100) 100%); }

/* Program single page */
.program-single-hero {
    height: 360px;
    min-height: 360px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}
.program-single-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(35, 31, 32, 0.85) 0%, rgba(35, 31, 32, 0.6) 100%);
}
.program-single-hero-inner {
    position: relative;
    z-index: 1;
    color: var(--er-white);
    text-align: center;
}
.program-single-back {
    display: inline-block;
    color: var(--er-gold);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.program-single-back:hover { color: var(--er-gold-light); }
.program-single-logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    background: var(--er-white);
}
.program-single-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.program-single-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--er-white);
    margin: 0;
}
.program-single-body { background: var(--er-white); }
.program-single-content { max-width: 720px; margin: 0 auto; }
.program-single-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--er-gray-600);
    margin-bottom: 2rem;
}
.program-single-cta { text-align: center; }

@media (max-width: 991px) {
    .programs-hero { height: 340px; min-height: 340px; }
    .program-detail-grid { grid-template-columns: 1fr; grid-auto-flow: row; }
    .program-detail-card--photo-right .program-detail-grid { grid-template-columns: 1fr; }
    .program-detail-card--photo-right .program-detail-photo { grid-column: 1; grid-row: 2; }
    .program-detail-card--photo-right .program-detail-body { grid-column: 1; grid-row: 1; }
    .program-detail-photo { min-height: 220px; aspect-ratio: 16/9; }
    .program-detail-body { padding: 1.75rem 1.5rem; }
    .program-detail-logo { width: 56px; height: 56px; bottom: 0.75rem; right: 0.75rem; }
    .program-detail-logo--left { left: 0.75rem; right: auto; }
}
@media (max-width: 767px) {
    .programs-hero { height: 300px; min-height: 300px; }
    .program-detail-title { font-size: 1.25rem; }
    .program-detail-body { padding: 1.5rem 1.25rem; }
}
@media (max-width: 575px) {
    .programs-hero { height: 260px; min-height: 260px; }
}

/* ========== Entrepreneurs Page ========== */
.entrepreneurs-hero {
    height: 400px;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.entrepreneurs-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.entrepreneurs-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(35, 31, 32, 0.82) 0%, rgba(35, 31, 32, 0.6) 50%, rgba(35, 31, 32, 0.75) 100%);
}
.entrepreneurs-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--er-white);
}
.entrepreneurs-hero-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--er-gold);
    margin: 0 0 0.5rem;
}
.entrepreneurs-hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    margin: 0 0 0.75rem;
    color: var(--er-white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.entrepreneurs-hero-subtitle {
    font-size: 1.05rem;
    opacity: 0.95;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.55;
}
.entrepreneurs-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--er-gold), transparent);
    opacity: 0.6;
}

.section-entrepreneurs-list {
    background: linear-gradient(180deg, var(--er-gray-100) 0%, var(--er-white) 100%);
}
@media (max-width: 991px) {
    .entrepreneurs-hero { height: 340px; min-height: 340px; }
    .entrepreneurs-hero-title { font-size: 2rem; }
    .entrepreneurs-hero-subtitle { font-size: 1rem; }
}
@media (max-width: 767px) {
    .entrepreneurs-hero { height: 300px; min-height: 300px; }
    .entrepreneurs-hero-label { font-size: 0.75rem; letter-spacing: 0.15em; }
    .entrepreneurs-hero-title { font-size: 1.75rem; }
    .entrepreneurs-hero-subtitle { font-size: 0.95rem; }
}
@media (max-width: 575px) {
    .entrepreneurs-hero { height: 260px; min-height: 260px; }
    .entrepreneurs-hero-title { font-size: 1.5rem; }
}

/* Entrepreneurs - 2 column layout */
.section-entrepreneurs {
    background: linear-gradient(180deg, #faf9f7 0%, #ffffff 100%);
}
.entrepreneur-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.entrepreneur-col-card {
    display: flex;
    flex-direction: row;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(35, 31, 32, 0.08);
    transition: all 0.35s ease;
}
.entrepreneur-col-card--secondary {
    background: var(--er-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.entrepreneur-col-card--primary {
    background: var(--er-gold);
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.entrepreneur-col-card:hover {
    box-shadow: 0 12px 40px rgba(35, 31, 32, 0.2);
    transform: translateY(-4px);
}
.entrepreneur-col-photo {
    position: relative;
    flex: 0 0 220px;
    min-height: 220px;
    overflow: hidden;
    cursor: pointer;
}
.entrepreneur-col-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.entrepreneur-col-card:hover .entrepreneur-col-photo img {
    transform: scale(1.05);
}
.entrepreneur-col-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s;
}
.entrepreneur-col-photo:hover .entrepreneur-col-play,
.entrepreneur-col-photo:focus .entrepreneur-col-play {
    opacity: 1;
}
.entrepreneur-col-play i {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--er-gold);
    color: var(--er-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    padding-left: 4px;
}
.entrepreneur-col-content {
    flex: 1;
    padding: 1.5rem 1.75rem;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
/* Secondary card (dark) - light text */
.entrepreneur-col-card--secondary .entrepreneur-col-name { color: var(--er-white); }
.entrepreneur-col-card--secondary .entrepreneur-col-company { color: var(--er-gold); }
.entrepreneur-col-card--secondary .entrepreneur-col-desc { color: rgba(255, 255, 255, 0.85); }
/* Primary card (gold) - white text */
.entrepreneur-col-card--primary .entrepreneur-col-name { color: var(--er-white); }
.entrepreneur-col-card--primary .entrepreneur-col-company { color: var(--er-white); opacity: 0.9; }
.entrepreneur-col-card--primary .entrepreneur-col-desc { color: rgba(255, 255, 255, 0.9); }
.entrepreneur-col-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}
.entrepreneur-col-company {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.entrepreneur-col-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0 0 1rem;
    flex: 1;
}
/* Primary button (on secondary/dark cards) - white outline */
.entrepreneur-col-btn--primary,
.entrepreneur-col-btn--secondary {
    background: var(--er-white);
    border: 2px solid var(--er-white);
    color: var(--er-secondary) !important;
}
.entrepreneur-col-btn--primary:hover,
.entrepreneur-col-btn--secondary:hover {
    background: var(--er-gray-100);
    border-color: var(--er-gray-200);
    color: var(--er-secondary) !important;
}
.entrepreneur-col-btn {
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--er-radius-md);
    cursor: pointer;
    transition: all 0.25s ease;
    align-self: flex-start;
    border: none;
}
.entrepreneur-col-btn i {
    margin-right: 0.35rem;
    font-size: 0.75em;
}

@media (max-width: 991px) {
    .entrepreneur-cols {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 575px) {
    .entrepreneur-col-card {
        flex-direction: column;
    }
    .entrepreneur-col-photo {
        flex: none;
        min-height: 200px;
    }
}

/* Video modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.video-modal[hidden] {
    display: none !important;
}
.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}
.video-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
}
.video-modal-content {
    background: var(--er-black);
    border-radius: var(--er-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.video-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--er-dark);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.video-modal-title {
    margin: 0;
    font-size: 1.1rem;
    color: var(--er-white);
}
.video-modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--er-gray-300);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    border-radius: var(--er-radius-sm);
    transition: color 0.2s, background 0.2s;
}
.video-modal-close:hover {
    color: var(--er-white);
    background: rgba(255,255,255,0.1);
}
.video-modal-body {
    padding: 0;
}
.video-modal-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.video-modal-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
@media (max-width: 575px) {
    .video-modal { padding: 0.5rem; }
    .video-modal-dialog { max-height: 85vh; }
    .video-modal-header { padding: 0.75rem 1rem; }
    .video-modal-title { font-size: 0.95rem; }
    .video-modal-close { width: 36px; height: 36px; font-size: 1.5rem; }
}

.card-body {
    padding: 1.5rem;
}
.card-title {
    font-weight: 700;
    color: var(--er-black);
}
/* Footer */
.site-footer {
    background: var(--er-black);
    color: var(--er-gray-300);
    border-top: 3px solid var(--er-gold);
}
.footer-main {
    padding: 4rem 0 3rem;
}
.footer-brand .footer-logo {
    height: 70px;
    width: auto;
    max-width: 220px;
    filter: brightness(1.1);
}
.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
}
.footer-main h5 {
    color: var(--er-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.footer-links a {
    color: var(--er-gray-300);
    font-size: 0.95rem;
    text-decoration: none;
}
.footer-links a:hover {
    color: var(--er-gray-300);
}
.footer-address a {
    color: var(--er-gray-300);
    font-size: 0.95rem;
}
.footer-address a:hover {
    color: var(--er-gray-300);
}
.footer-address p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.footer-address p i {
    color: var(--er-white);
    margin-right: 0.35rem;
    width: 1rem;
}
.footer-bottom {
    border-top: 1px solid var(--er-gray-900);
    padding: 1.25rem 0;
}
.footer-bottom p {
    font-size: 0.875rem;
    margin: 0;
}
.footer-bottom a {
    color: var(--er-gold);
}

/* ========== About Page ========== */
.about-hero {
    height: 480px;
    min-height: 480px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.about-hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.about-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.about-hero-slide.active {
    opacity: 1;
    z-index: 1;
}
.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(35, 31, 32, 0.7) 0%, rgba(35, 31, 32, 0.5) 100%);
}
.about-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--er-white);
}
.about-hero-title {
    position: relative;
    min-height: 1.2em;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: var(--er-white);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.about-hero-title-item,
.about-hero-subtitle-item {
    position: absolute;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.about-hero-title-item.active,
.about-hero-subtitle-item.active {
    position: relative;
    opacity: 1;
}
.about-hero-subtitle {
    position: relative;
    font-size: 1.15rem;
    opacity: 0.95;
    margin: 0;
    min-height: 2.5em;
}
@media (max-width: 991px) {
    .about-hero { height: 420px; min-height: 420px; }
    .about-hero-title { font-size: clamp(1.75rem, 4vw, 2.5rem); }
    .about-hero-subtitle { font-size: 1rem; }
}
@media (max-width: 767px) {
    .about-hero { height: 380px; min-height: 380px; }
    .about-hero-inner .container { padding-left: 1rem; padding-right: 1rem; }
    .about-hero-subtitle { min-height: 2.2em; font-size: 0.95rem; }
}
@media (max-width: 575px) {
    .about-hero { height: 340px; min-height: 340px; }
    .about-hero-title { font-size: 1.5rem; }
    .about-hero-subtitle { font-size: 0.9rem; min-height: 2em; }
}
@media (max-width: 380px) {
    .about-hero { height: 300px; min-height: 300px; }
}

/* Who We Are intro */
.about-intro { background: var(--er-gray-100); }
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-intro-content .section-title { margin-bottom: 1rem; }
.about-intro-text { margin-bottom: 1rem; color: var(--er-gray-600); }
.about-shape {
    overflow: hidden;
    position: relative;
}
.about-shape--circle {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    margin: 0 auto;
    background: var(--er-white);
    padding: 2rem;
    box-shadow: 0 16px 48px rgba(35, 31, 32, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-shape--circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.about-shape--rounded {
    border-radius: 24px;
    overflow: hidden;
}
.about-shape--blob {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    overflow: hidden;
}

/* About MVG - reuse mvg-cards, ensure spacing */
.about-mvg { background: var(--er-white); }

/* What We Do */
.about-what { background: var(--er-gray-100); }
.about-what-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.about-what-card--photo {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(35, 31, 32, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-what-card--photo:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(35, 31, 32, 0.12);
}
.about-what-photo {
    flex: 1 1 50%;
    min-height: 180px;
    overflow: hidden;
}
.about-what-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.about-what-card--photo:hover .about-what-photo img {
    transform: scale(1.05);
}
.about-what-body {
    flex: 1 1 50%;
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-what-card--light {
    background: var(--er-white);
}
.about-what-card--light .about-what-title { color: var(--er-secondary); }
.about-what-card--light .about-what-desc { color: var(--er-gray-600); }
.about-what-card--secondary {
    background: var(--er-secondary);
}
.about-what-card--secondary .about-what-title { color: var(--er-white); }
.about-what-card--secondary .about-what-desc { color: rgba(255, 255, 255, 0.9); }
.about-what-card--primary {
    background: var(--er-primary);
}
.about-what-card--primary .about-what-title { color: var(--er-white); }
.about-what-card--primary .about-what-desc { color: rgba(255, 255, 255, 0.95); }
.about-what-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}
.about-what-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* About Programs */
.about-programs { background: var(--er-white); }
.about-programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.about-program-card {
    display: flex;
    flex-direction: column;
    background: var(--er-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(35, 31, 32, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(35, 31, 32, 0.12);
}
.about-program-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.about-program-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.about-program-card:hover .about-program-img img {
    transform: scale(1.05);
}
.about-program-body { padding: 1.25rem; }
.about-program-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--er-secondary);
    margin: 0 0 0.5rem;
}
.about-program-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--er-gray-600);
    margin: 0 0 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.about-program-cta {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--er-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* About Events */
.about-events { background: var(--er-gray-100); }
.about-events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.about-event-card {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: var(--er-white);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(35, 31, 32, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(35, 31, 32, 0.1);
}
.about-event-img {
    flex: 0 0 200px;
    aspect-ratio: 1;
    overflow: hidden;
}
.about-event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-event-body { flex: 1; }
.about-event-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--er-secondary);
    margin: 0 0 0.5rem;
}
.about-event-desc {
    font-size: 0.95rem;
    color: var(--er-gray-600);
    margin: 0 0 1rem;
}

/* About Entrepreneurs */
.about-entrepreneurs { background: var(--er-white); }
.about-entrepreneurs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.about-ent-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.about-ent-card:hover {
    transform: translateY(-6px);
}
.about-ent-photo {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--er-gray-200);
}
.about-ent-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
    transition: transform 0.4s ease;
}
.about-ent-card:hover .about-ent-photo img {
    transform: scale(1.08);
}
.about-ent-play {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.about-ent-photo:hover .about-ent-play,
.about-ent-photo:focus .about-ent-play {
    opacity: 1;
}
.about-ent-play i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--er-primary);
    color: var(--er-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    padding-left: 3px;
}
.about-ent-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--er-secondary);
    margin: 0 0 0.25rem;
}
.about-ent-company {
    font-size: 0.8rem;
    color: var(--er-gray-500);
}

@media (max-width: 1199px) {
    .about-intro-grid { gap: 2rem; }
    .about-shape--circle { width: 260px; height: 260px; }
    .about-programs-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
    .about-entrepreneurs-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .about-what-body { padding: 1.25rem 1.5rem; }
    .about-what-photo { min-height: 160px; }
}
@media (max-width: 991px) {
    .about-page .section { padding: 2rem 0; }
    .about-intro-grid { gap: 1.75rem; }
    .about-shape--circle { width: 240px; height: 240px; padding: 1.5rem; }
    .about-what-grid { gap: 1.25rem; }
    .about-events-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .about-event-card { flex-direction: column; text-align: center; gap: 1.25rem; }
    .about-event-img { flex: none; width: 100%; max-width: 240px; margin: 0 auto; }
}
@media (max-width: 767px) {
    .about-page .section { padding: 1.75rem 0; }
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .about-intro-content { order: 1; }
    .about-intro-visual { order: 2; }
    .about-shape--circle { width: 200px; height: 200px; padding: 1.25rem; }
    .about-intro-text { font-size: 0.95rem; }
    .about-what-grid { grid-template-columns: 1fr; gap: 1rem; }
    .about-what-card--photo { flex-direction: column; }
    .about-what-photo { flex: none; min-height: 180px; }
    .about-what-body { padding: 1.25rem 1.5rem; }
    .about-what-title { font-size: 1.1rem; }
    .about-what-desc { font-size: 0.9rem; }
    .about-programs-grid { grid-template-columns: 1fr; gap: 1rem; }
    .about-program-body { padding: 1rem; }
    .about-program-title { font-size: 1rem; }
    .about-program-desc { font-size: 0.85rem; -webkit-line-clamp: 3; line-clamp: 3; }
    .about-events-grid { gap: 1.25rem; }
    .about-event-card { padding: 1.25rem; }
    .about-event-title { font-size: 1.1rem; }
    .about-event-desc { font-size: 0.9rem; }
    .about-entrepreneurs-grid { grid-template-columns: 1fr; gap: 1.5rem; max-width: 280px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 575px) {
    .about-page .section { padding: 1.5rem 0; }
    .about-page .section-title { font-size: 1.5rem; }
    .about-page .section-subtitle { font-size: 0.9rem; margin-bottom: 1.25rem; padding: 0 0.5rem; }
    .about-shape--circle { width: 180px; height: 180px; padding: 1rem; }
    .about-what-photo { min-height: 160px; }
    .about-event-img { max-width: 200px; }
    .about-ent-photo { width: 150px; height: 150px; }
}
@media (max-width: 380px) {
    .about-page .section { padding: 1.25rem 0; }
    .about-page .section-title { font-size: 1.35rem; }
    .about-shape--circle { width: 160px; height: 160px; }
    .about-what-photo { min-height: 140px; }
    .about-what-body { padding: 1rem 1.25rem; }
    .about-ent-photo { width: 130px; height: 130px; }
    .about-ent-name { font-size: 0.95rem; }
    .about-ent-company { font-size: 0.75rem; }
    .about-page .btn { padding: 0.6rem 1.25rem; font-size: 0.95rem; }
}
@media (prefers-reduced-motion: reduce) {
    .about-hero-slide { transition: opacity 0.3s ease; }
    .about-hero-title-item,
    .about-hero-subtitle-item { transition: none; }
    .about-program-card:hover,
    .about-what-card:hover,
    .about-event-card:hover,
    .about-ent-card:hover {
        transform: none;
    }
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--er-black), var(--er-dark));
    color: var(--er-white);
    padding: 2.5rem 0 2rem;
}
.page-header h1 {
    color: var(--er-white);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

/* CSR page */
.csr-page .csr-hero .program-single-title { font-size: clamp(1.5rem, 4vw, 2.25rem); }
.csr-page .csr-hero-lead { font-size: 1.1rem; opacity: 0.95; }
.csr-page .csr-intro-text {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.csr-page .csr-initiative--alt {
    background-color: rgba(0,0,0,0.03);
}
.csr-page .csr-initiative-card {
    border-radius: var(--er-radius-lg);
}
.csr-page .csr-initiative-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.25rem;
    height: 100%;
    min-height: 260px;
    overflow: hidden;
    background: var(--er-gray-200);
}
.csr-page .csr-initiative-photo:first-child {
    grid-column: span 2;
}
.csr-page .csr-initiative-photo {
    overflow: hidden;
}
.csr-page .csr-initiative-photo img {
    width: 100%;
    height: 100%;
    min-height: 100px;
    object-fit: cover;
}
.csr-page .csr-initiative-photo:first-child img {
    min-height: 140px;
}
.csr-page .csr-initiative-title {
    color: var(--er-black);
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--er-gold);
}
.csr-page .csr-initiative-p {
    color: var(--er-gray-600);
    line-height: 1.6;
}
@media (max-width: 991px) {
    .csr-page .csr-initiative-photos { min-height: 220px; }
    .csr-page .csr-initiative-photo:first-child img { min-height: 120px; }
}

/* Events page - see assets/css/events.css for full styles */

/* Projects page */
.projects-page .section--gray {
    background-color: rgba(0,0,0,0.04);
}

/* Project expandable cards */
.projects-page .projects-list {
    max-width: 900px;
    margin: 0 auto;
}
.projects-page .project-card {
    margin-bottom: 1.5rem;
}
.projects-page .project-card-outer {
    background: var(--er-white);
    border-radius: var(--er-radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}
.projects-page .project-card-outer:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.projects-page .project-card-clickable {
    cursor: pointer;
    padding: 0;
}
.projects-page .project-card-header {
    display: flex;
    align-items: stretch;
    min-height: 140px;
}
.projects-page .project-card-img-wrap {
    width: 180px;
    min-width: 180px;
    overflow: hidden;
}
.projects-page .project-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.projects-page .project-card-main {
    flex: 1;
    padding: 1.25rem 1.5rem;
    min-width: 0;
}
.projects-page .project-card-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--er-white);
    background: var(--er-gold);
    padding: 0.25em 0.6em;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 0.5rem;
}
.projects-page .project-card-badge--finished {
    background: var(--er-gray-500);
}
.projects-page .project-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--er-black);
    margin-bottom: 0.35rem;
}
.projects-page .project-card-teaser {
    font-size: 0.9rem;
    color: var(--er-gray-600);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.projects-page .project-card-partner,
.projects-page .project-card-region {
    font-size: 0.8rem;
    color: var(--er-gray-500);
    display: inline-block;
    margin-right: 1rem;
}
.projects-page .project-card-expand {
    font-size: 0.85rem;
    color: var(--er-gold);
    font-weight: 600;
    margin-top: 0.5rem;
}
.projects-page .project-card-expand i {
    transition: transform 0.2s ease;
}
.projects-page .project-card-clickable[aria-expanded="true"] .project-card-expand i {
    transform: rotate(180deg);
}
.projects-page .project-card-details {
    border-top: 1px solid rgba(0,0,0,0.08);
}
.projects-page .project-card-body {
    padding: 1.5rem 1.5rem 1.5rem calc(180px + 1.5rem);
}
.projects-page .project-card-full {
    color: var(--er-gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.projects-page .project-card-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.projects-page .project-card-highlights li {
    padding: 0.25rem 0;
    font-size: 0.95rem;
}

@media (max-width: 767px) {
    .projects-page .project-card-header {
        flex-direction: column;
        min-height: auto;
    }
    .projects-page .project-card-img-wrap {
        width: 100%;
        min-width: 100%;
        height: 160px;
    }
    .projects-page .project-card-body {
        padding: 1.25rem 1.25rem;
    }
}

.projects-page .projects-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    min-height: 100px;
    background: var(--er-white);
    border-radius: var(--er-radius-lg);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease;
}
.projects-page .projects-partner-logo:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.projects-page .projects-partner-logo img {
    max-height: 60px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(30%);
}
.projects-page .projects-partner-logo a:hover img {
    filter: grayscale(0);
}

/* Publications page */
.publications-page .publications-card .card-title {
    font-weight: 600;
}
.publications-empty-icon {
    opacity: 0.6;
}
.publications-empty code {
    background: rgba(0,0,0,0.06);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Utilities */
.text-gold { color: var(--er-gold) !important; }
.bg-gold {
    background-color: var(--er-gold) !important;
    color: var(--er-white) !important;
}
.bg-dark-custom { background-color: var(--er-dark) !important; }

/* Header mobile */
@media (max-width: 991px) {
    .navbar {
        position: relative;
    }
    .navbar-collapse {
        flex-direction: column;
        align-items: stretch;
        background: linear-gradient(180deg, var(--er-secondary) 0%, #1a1819 100%);
        box-shadow: 0 12px 32px rgba(0,0,0,0.2);
        padding: 1rem 1.25rem 1.5rem;
        margin-top: 0.75rem;
        margin-left: -0.75rem;
        margin-right: -0.75rem;
        border-radius: var(--er-radius-md);
        border-top: 3px solid var(--er-gold);
        position: relative;
    }
    .nav-links-center {
        flex: none;
        flex-direction: column;
        align-items: stretch;
    }
    .navbar-nav {
        flex-direction: column;
    }
    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    .navbar-nav .nav-link {
        color: var(--er-white) !important;
        padding: 0.85rem 0.5rem !important;
    }
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--er-gold) !important;
    }
    .navbar-collapse.show {
        overflow: visible;
    }
    .navbar-nav .dropdown .dropdown-menu {
        position: static !important;
        transform: none !important;
        float: none;
        width: 100%;
        background: transparent;
        box-shadow: none;
        padding: 0.25rem 0 0.5rem 1.5rem;
        border-radius: 0;
        border: none;
        border-left: 2px solid rgba(var(--er-gold-rgb), 0.4);
        margin-top: 0.25rem;
        margin-bottom: 0.5rem;
    }
    .navbar-nav .dropdown-item {
        color: rgba(255,255,255,0.9) !important;
        padding: 0.5rem 0.75rem !important;
    }
    .navbar-nav .dropdown-item:hover {
        background: rgba(var(--er-gold-rgb), 0.2) !important;
        color: var(--er-gold) !important;
    }
    .navbar-nav .dropdown-toggle::after {
        color: rgba(255,255,255,0.6);
    }
    .navbar-collapse .btn-donate {
        margin: 1rem 0 0 !important;
        text-align: center;
    }
    .navbar .navbar-toggler.er-hamburger .er-hamburger-inner,
    .navbar .navbar-toggler.er-hamburger .er-hamburger-inner::before,
    .navbar .navbar-toggler.er-hamburger .er-hamburger-inner::after {
        background: var(--er-secondary);
    }
    .navbar .navbar-toggler.er-hamburger:hover .er-hamburger-inner,
    .navbar .navbar-toggler.er-hamburger:hover .er-hamburger-inner::before,
    .navbar .navbar-toggler.er-hamburger:hover .er-hamburger-inner::after {
        background: var(--er-gold);
    }
    .navbar .navbar-toggler.er-hamburger.active .er-hamburger-inner::before,
    .navbar .navbar-toggler.er-hamburger.active .er-hamburger-inner::after {
        background: var(--er-gold);
    }
}

/* Responsive - Tablets and below */
@media (max-width: 991px) {
    .hero-donate-btn { display: none !important; }
    .section-subtitle { margin-bottom: 1.5rem; }
    .footer-main { padding: 3rem 0 2rem; }
}

/* Responsive - Mobile landscape / small tablets */
@media (max-width: 767px) {
    .topbar-info { display: none; }
    .topbar-brand-text { font-size: 0.75rem; }
    .topbar .container .row { justify-content: center; }
    .hero { min-height: 65vh; }
    .hero-inner { padding: 2rem 1rem 3.5rem; }
    .hero-headline { min-height: 2.8em; font-size: clamp(1.5rem, 6vw, 2.25rem); }
    .hero-desc { font-size: 0.85rem; min-height: 2.5em; padding: 0 0.5rem; }
    .hero-buttons { margin-bottom: 2rem; gap: 0.75rem; }
    .impact-widget-wrap { transform: translateY(35%); padding: 0 0.75rem; }
    .impact-widget { padding: 1.25rem 1rem; }
    .impact-widget-counters { gap: 0.75rem 1rem; justify-content: space-between; }
    .impact-counter { min-width: 90px; flex: 1 1 auto; }
    .impact-counter-num { font-size: 1.5rem; }
    .impact-counter-label { font-size: 0.75rem; }
    .impact-counter-icon { font-size: 1.5rem; }
    .section { padding: 2rem 0; }
    .section-after-hero { padding-top: 3.5rem; }
    .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
    .section-subtitle { font-size: 0.95rem; margin-bottom: 1.5rem; padding: 0 0.5rem; }
    .card-body { padding: 1.25rem; }
}

/* Responsive - Mobile portrait */
@media (max-width: 576px) {
    .hero { min-height: 60vh; }
    .hero-inner { padding: 1.5rem 0.75rem 3rem; }
    .hero-headline { min-height: 2.5em; }
    .hero-buttons { flex-direction: column; margin-bottom: 1.5rem; }
    .btn-outline-hero { width: 100%; text-align: center; }
    .impact-widget-wrap { transform: translateY(30%); padding: 0 0.5rem; }
    .impact-widget { padding: 1rem 0.75rem; }
    .impact-widget-counters { gap: 0.5rem; }
    .impact-counter { min-width: 70px; }
    .impact-counter-num { font-size: 1.35rem; }
    .impact-counter-label { font-size: 0.7rem; }
    .section-after-hero { padding-top: 3.5rem; }
    .footer-main { padding: 2.5rem 0 1.5rem; }
}

/* Extra small screens */
@media (max-width: 380px) {
    .hero-headline { font-size: 1.35rem; }
    .impact-counter { min-width: 60px; }
}

/* Container padding on mobile */
@media (max-width: 576px) {
    .container { padding-left: 1rem; padding-right: 1rem; }
}
@media (max-width: 380px) {
    .container { padding-left: 0.75rem; padding-right: 0.75rem; }
    .events-page .events-recap-card { padding: 1.25rem 1rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: opacity 0.5s ease; transform: none !important; }
    .hero-headline-item, .hero-desc-item { transition: none; }
}

/* ========== Contact Page ========== */
.contact-hero {
    height: 360px;
    min-height: 360px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.contact-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(35, 31, 32, 0.82) 0%, rgba(35, 31, 32, 0.6) 50%, rgba(35, 31, 32, 0.75) 100%);
}
.contact-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--er-white);
}
.contact-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: var(--er-white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.contact-hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
}
.contact-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--er-gold), transparent);
    opacity: 0.6;
}
.contact-map-section {
    padding: 0 0 3rem;
}
.contact-map-wrap {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: var(--er-gray-200);
}
.contact-map {
    width: 100%;
    height: 100%;
    border: none;
}
@media (max-width: 767px) {
    .contact-hero { height: 280px; min-height: 280px; }
    .contact-map-wrap { height: 300px; }
}

/* ========== Team Page ========== */
.team-hero {
    height: 420px;
    min-height: 420px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.team-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.team-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(35, 31, 32, 0.82) 0%, rgba(35, 31, 32, 0.6) 50%, rgba(35, 31, 32, 0.75) 100%);
}
.team-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--er-white);
}
.team-hero-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--er-gold);
    margin: 0 0 0.5rem;
}
.team-hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    margin: 0 0 0.75rem;
    color: var(--er-white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.team-hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.5;
}
.team-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--er-gold), transparent);
    opacity: 0.6;
}

/* Board section - nice cards */
.team-board {
    background: linear-gradient(180deg, var(--er-white) 0%, var(--er-gray-100) 100%);
}
.team-grid--board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    max-width: 1200px;
    margin: 0 auto;
}
.team-card--board {
    background: var(--er-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(35, 31, 32, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    text-align: center;
}
.team-card--board:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 48px rgba(35, 31, 32, 0.12);
}
.team-card--board .team-card-photo {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}
.team-card--board .team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.team-card--board:hover .team-card-photo img {
    transform: scale(1.04);
}
.team-card--board .team-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--er-gold-dark), var(--er-gold), var(--er-gold-light));
}
.team-card--board .team-card-body {
    padding: 1.5rem 1.25rem;
}
.team-card--board .team-card-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--er-secondary);
    margin: 0 0 0.35rem;
}
.team-card--board .team-card-role {
    font-size: 0.9rem;
    color: var(--er-gray-600);
    line-height: 1.4;
}

/* Staff section */
.team-staff { background: var(--er-white); }
.team-grid--staff {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.75rem;
}
.team-card--staff {
    background: var(--er-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(35, 31, 32, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card--staff:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(35, 31, 32, 0.12);
}
.team-card--staff .team-card-photo {
    aspect-ratio: 1;
    overflow: hidden;
}
.team-card--staff .team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.team-card--staff:hover .team-card-photo img { transform: scale(1.05); }
.team-card--staff .team-card-body {
    padding: 1.25rem 1rem;
}
.team-card--staff .team-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--er-secondary);
    margin: 0 0 0.25rem;
}
.team-card--staff .team-card-role {
    font-size: 0.8rem;
    color: var(--er-gray-600);
    line-height: 1.4;
}

/* Team CTA */
.team-cta { background: linear-gradient(180deg, var(--er-gray-100) 0%, var(--er-white) 100%); }

/* Team page responsive */
@media (max-width: 1199px) {
    .team-grid--board { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .team-grid--staff { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}
@media (max-width: 991px) {
    .team-hero { height: 360px; min-height: 360px; }
    .team-hero-title { font-size: 2.25rem; }
    .team-hero-subtitle { font-size: 1rem; }
    .team-grid--staff { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
    .team-hero { height: 320px; min-height: 320px; }
    .team-hero-label { font-size: 0.75rem; letter-spacing: 0.15em; }
    .team-hero-title { font-size: 1.85rem; }
    .team-hero-subtitle { font-size: 0.95rem; }
    .team-grid--board {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    .team-grid--staff { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
    .team-card--staff .team-card-body { padding: 1rem; }
}
@media (max-width: 575px) {
    .team-hero { height: 280px; min-height: 280px; }
    .team-hero-title { font-size: 1.6rem; }
    .team-grid--staff { gap: 1rem; }
}
@media (max-width: 380px) {
    .team-hero { height: 260px; min-height: 260px; }
    .team-grid--staff { grid-template-columns: 1fr; max-width: 260px; margin: 0 auto; }
}

/* Scroll animations */
.animate-in { opacity: 1 !important; transform: translateY(0) !important; }

/* ========== Skills for Change Page ========== */
.skills-for-change-page { padding-bottom: 0; }
.skills-hero-tagline {
    color: rgba(255,255,255,0.95);
    font-size: 1.05rem;
    margin: 0.5rem 0 0;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* Intro: text left, photos right */
.skills-intro { background: var(--er-gray-100); }
.skills-intro-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--er-black);
    margin-bottom: 1rem;
}
.skills-intro-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--er-gray-600);
    margin: 0;
}
.skills-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    width: 100%;
    max-width: 480px;
    margin-left: auto;
}
.skills-photo-cell {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(35,31,32,0.1);
}
.skills-photo-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tailoring - main featured section */
.skills-tailoring-featured { padding: 0; }
.skills-tailoring-bg {
    background: linear-gradient(135deg, var(--er-secondary) 0%, #1a1718 100%);
    color: var(--er-white);
    padding: 4rem 0;
    position: relative;
}
.skills-tailoring-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--er-gold), transparent);
    opacity: 0.5;
}
.skills-badge {
    display: inline-block;
    background: var(--er-gold);
    color: var(--er-white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}
.skills-tailoring-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--er-white);
}
.skills-tailoring-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 2rem;
}
.skills-tailoring-cta .btn-program {
    background: var(--er-gold);
    color: var(--er-white) !important;
    border-color: transparent;
}
.skills-tailoring-cta .btn-program:hover {
    background: var(--er-gold-light);
    color: var(--er-white) !important;
}
.skills-tailoring-cta .btn-outline-light {
    border-color: rgba(255,255,255,0.6);
    color: var(--er-white);
}
.skills-tailoring-cta .btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--er-white);
    color: var(--er-white);
}
.skills-tailoring-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.skills-tailoring-main-img {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.skills-tailoring-thumbs {
    display: flex;
    gap: 0.75rem;
}
.skills-tailoring-thumb {
    flex: 1;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* Other activities - compact cards */
.skills-other-activities { background: var(--er-white); }
.skills-other-card {
    background: var(--er-gray-100);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(35,31,32,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.skills-other-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(35,31,32,0.1);
}
.skills-other-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}
.skills-other-body {
    padding: 1.5rem;
}
.skills-other-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--er-black);
}
.skills-other-body p {
    font-size: 0.95rem;
    color: var(--er-gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Shop */
.skills-shop {
    background: var(--er-gray-100);
    scroll-margin-top: 100px;
}
.skills-product-card {
    background: var(--er-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(35,31,32,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.skills-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(35,31,32,0.12);
}
.skills-product-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.skills-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.skills-product-body { padding: 1.25rem; }
.skills-product-name { font-size: 1.1rem; margin-bottom: 0.25rem; }
.skills-product-price { color: var(--er-gold-dark); font-weight: 700; margin: 0; }
.skills-order-cta { padding: 1rem 0; }

/* Donate */
.skills-donate { background: var(--er-white); }
.skills-donate-card {
    background: var(--er-gray-100);
    border-radius: 12px;
    padding: 1.75rem;
    height: 100%;
}
.skills-donate-card h4 {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    color: var(--er-black);
}
.skills-donate-card .table th { width: 40%; color: var(--er-gray-600); font-weight: 500; }
.skills-momo-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--er-gray-200);
}
.skills-momo-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.skills-momo-item h5 { font-size: 1rem; margin-bottom: 0.5rem; }

/* Fashion show - looping photo carousel */
.skills-fashion-show { background: var(--er-gray-100); }
.skills-fashion-gallery {
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(35,31,32,0.12);
}
.skills-fashion-slider {
    display: flex;
    animation: skills-fashion-scroll 30s linear infinite;
}
.skills-fashion-slider:hover { animation-play-state: paused; }
.skills-fashion-slide {
    flex: 0 0 300px;
    height: 220px;
}
.skills-fashion-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@keyframes skills-fashion-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Previous campaigns */
.skills-campaigns { background: var(--er-white); }
.skills-campaign-card {
    background: var(--er-gray-100);
    border-radius: 12px;
    padding: 1.75rem;
    height: 100%;
}
.skills-campaign-card h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.skills-campaign-card p { margin: 0; color: var(--er-gray-600); line-height: 1.65; }

@media (max-width: 991px) {
    .skills-tailoring-bg { padding: 3rem 0; }
    .skills-tailoring-gallery { margin-top: 1rem; }
}
@media (max-width: 767px) {
    .skills-tailoring-bg { padding: 2.5rem 0; }
    .skills-tailoring-cta .btn-lg { font-size: 1rem; padding: 0.65rem 1.25rem; }
    .skills-photo-grid { max-width: 320px; margin: 0 auto; }
}

/* ========== ST4A Program Page ========== */
.st4a-page { padding-bottom: 0; }
.st4a-intro {
    background: linear-gradient(180deg, var(--er-white) 0%, var(--er-gray-100) 100%);
    padding: 3rem 0;
}
.st4a-lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--er-black);
    margin-bottom: 1rem;
    line-height: 1.6;
    max-width: 800px;
}
.st4a-body {
    font-size: 1.05rem;
    color: var(--er-gray-600);
    line-height: 1.75;
    margin-bottom: 0;
}
.st4a-pill {
    display: inline-block;
    background: var(--er-gold);
    color: var(--er-white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
}
.st4a-pill--dark {
    background: var(--er-secondary);
    color: var(--er-white);
}

/* Section headings (01, 02, 03, 04) */
.st4a-section-heading {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--er-black);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 4px solid var(--er-gold);
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}
.st4a-section-heading-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--er-gold);
    opacity: 0.9;
}

/* Component cards with images (intro) */
.st4a-component-cards { margin-top: 2rem; }
.st4a-component-card {
    display: block;
    background: var(--er-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(35, 31, 32, 0.06);
    border: 2px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
    text-decoration: none;
    color: inherit;
}
a.st4a-component-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(212, 160, 40, 0.15);
    border-color: var(--er-gold);
}
.st4a-component-card--no-link { cursor: default; }
.st4a-component-card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}
.st4a-component-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--er-gold), var(--er-gold-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}
a.st4a-component-card:hover .st4a-component-card-img::after { opacity: 1; }
.st4a-component-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
a.st4a-component-card:hover .st4a-component-card-img img { transform: scale(1.06); }
.st4a-component-card-label {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: var(--er-black);
    padding: 1rem 1.25rem 0.25rem;
}
.st4a-component-card-meta {
    display: block;
    font-size: 0.8rem;
    color: var(--er-gold-dark);
    font-weight: 600;
    padding: 0 1.25rem 1.25rem;
}

/* Main card: image + body (photo left or right) */
.st4a-section { padding-top: 3rem; padding-bottom: 3rem; }
.st4a-main-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--er-white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(35, 31, 32, 0.08);
    border: 1px solid var(--er-gray-200);
    transition: box-shadow 0.3s ease;
}
.st4a-main-card:hover { box-shadow: 0 16px 48px rgba(35, 31, 32, 0.12); }
.st4a-main-card--photo-right { grid-template-columns: 1fr 1fr; }
.st4a-main-card--photo-right .st4a-main-card-body { order: 1; }
.st4a-main-card--photo-right .st4a-main-card-photo { order: 2; }
.st4a-main-card--photo-left .st4a-main-card-body { border-left: 4px solid var(--er-gold); }
.st4a-main-card--photo-right .st4a-main-card-body { border-right: 4px solid var(--er-gold); }
.st4a-main-card--accent .st4a-main-card-body { border-right-color: var(--er-gold); }

/* Gallery: 2 photos up, 1 photo middle bottom – card style, same size */
.st4a-main-card-gallery {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.5rem;
    min-height: 320px;
    overflow: visible;
    padding: 0.5rem;
}
.st4a-main-card-photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(35, 31, 32, 0.1);
    background: var(--er-gray-200);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.st4a-main-card-photo-item:hover {
    box-shadow: 0 8px 28px rgba(35, 31, 32, 0.14);
}
.st4a-main-card-photo-item:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 0.25rem);
    align-self: stretch;
}
.st4a-main-card-photo-item img {
    width: 100%;
    height: 100%;
    min-height: 140px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
/* Seed: 5-photo layout - 2 top, 1 middle, 2 bottom */
.st4a-seed-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 0.4rem 0.75rem;
    min-height: 280px;
}
.st4a-seed-photo-card:nth-child(1),
.st4a-seed-photo-card:nth-child(2) {
    grid-row: 1;
}
.st4a-seed-photo-card:nth-child(3) {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    width: 50%;
}
.st4a-seed-photo-card:nth-child(4),
.st4a-seed-photo-card:nth-child(5) {
    grid-row: 3;
}

/* Grow: 4-photo 2x2 grid */
.st4a-seed-photo-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(35, 31, 32, 0.1);
    aspect-ratio: 4 / 3;
    background: var(--er-gray-200);
}
.st4a-seed-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}
.st4a-seed-photo-card:hover,
.st4a-grow-photo-card:hover {
    box-shadow: 0 8px 28px rgba(35, 31, 32, 0.14);
}

/* Grow: same 4-photo 2x2 layout */
.st4a-grow-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.75rem;
    min-height: 240px;
}
.st4a-grow-photo-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(35, 31, 32, 0.1);
    aspect-ratio: 4 / 3;
    background: var(--er-gray-200);
}
.st4a-grow-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}
.st4a-main-card:hover .st4a-seed-photo-card img,
.st4a-main-card:hover .st4a-grow-photo-card img { transform: scale(1.04); }
.st4a-main-card-photo-item:nth-child(1) img,
.st4a-main-card-photo-item:nth-child(2) img {
    min-height: 150px;
}
.st4a-main-card-photo-item:nth-child(3) img {
    min-height: 0;
    height: 100%;
}
.st4a-main-card:hover .st4a-main-card-photo-item img { transform: scale(1.05); }
.st4a-sub-cards-row { margin-top: 2rem; }
.st4a-card-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    z-index: 2;
}
.st4a-main-card-body {
    padding: 2.25rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.st4a-main-card-title {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: var(--er-black);
    margin-bottom: 1rem;
    line-height: 1.25;
}
.st4a-main-card-desc {
    font-size: 1.02rem;
    color: var(--er-gray-600);
    line-height: 1.75;
    margin-bottom: 1rem;
}

/* Info box (light background) */
.st4a-info-box--light {
    background: var(--er-gray-100);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    border: 1px solid var(--er-gray-200);
}
.st4a-info-box--light h4 { font-size: 0.95rem; color: var(--er-black); margin-bottom: 0.35rem; }
.st4a-info-box--light p { margin: 0; color: var(--er-gray-600); font-size: 0.9rem; }

/* Sub-cards (image on top, body below) */
.st4a-sub-card {
    background: var(--er-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(35, 31, 32, 0.07);
    border: 1px solid var(--er-gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}
.st4a-sub-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(35, 31, 32, 0.1);
    border-color: rgba(212, 160, 40, 0.3);
}
.st4a-sub-card-img {
    height: 170px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.st4a-sub-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--er-gold), var(--er-gold-light));
    opacity: 0.7;
}
.st4a-sub-card-body {
    padding: 1.35rem 1.5rem;
    flex: 1;
}
.st4a-sub-card-body h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--er-black);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--er-gray-200);
}
.st4a-sub-card--primary .st4a-sub-card-body {
    background: var(--er-gold);
    color: var(--er-white);
}
.st4a-sub-card--primary .st4a-sub-card-body h3 {
    color: var(--er-white);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}
.st4a-sub-card--secondary .st4a-sub-card-body {
    background: var(--er-secondary);
    color: var(--er-white);
}
.st4a-sub-card--secondary .st4a-sub-card-body h3 {
    color: var(--er-white);
    border-bottom-color: rgba(255, 255, 255, 0.25);
}

/* Lists in cards */
.st4a-process--light,
.st4a-topic-list--light,
.st4a-criteria--light {
    padding-left: 1.25rem;
    margin-bottom: 0;
    color: var(--er-gray-600);
    line-height: 1.7;
    font-size: 0.9rem;
}
.st4a-process--light li,
.st4a-criteria--light li { margin-bottom: 0.4rem; }
.st4a-topic-list--light {
    display: block;
    grid: none;
}
.st4a-topic-list--light li { margin-bottom: 0.35rem; }
.st4a-criteria--white {
    padding-left: 1.25rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.65;
    font-size: 0.9rem;
}
.st4a-criteria--white li { margin-bottom: 0.4rem; }
.st4a-docs {
    padding-left: 1.25rem;
    margin-bottom: 0;
    color: var(--er-gray-600);
    line-height: 1.65;
    font-size: 0.9rem;
}
.st4a-docs li { margin-bottom: 0.4rem; }
.st4a-services-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--er-black);
    margin: 1.25rem 0 0.5rem;
}
.st4a-services-list {
    padding-left: 1.25rem;
    margin-bottom: 0;
    color: var(--er-gray-600);
    line-height: 1.75;
}
.st4a-services-list li { margin-bottom: 0.35rem; }

/* Section backgrounds */
.st4a-section--light {
    background: var(--er-white);
}
.st4a-section--gray {
    background: var(--er-gray-100);
}
.st4a-section--gray .st4a-section-heading { border-bottom-color: var(--er-gold-dark); }

/* Partners (light section) */
.st4a-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.st4a-partner-tag {
    display: inline-block;
    background: var(--er-gray-100);
    color: var(--er-gray-700);
    font-size: 0.78rem;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    border: 1px solid var(--er-gray-200);
}

.st4a-section { scroll-margin-top: 100px; }
.st4a-cta {
    background: linear-gradient(180deg, var(--er-gray-100) 0%, var(--er-white) 100%);
    padding: 3.5rem 0;
}
.st4a-cta .btn-program { color: var(--er-white) !important; }
.st4a-cta .section-title { margin-bottom: 0.5rem; }

@media (max-width: 991px) {
    .st4a-main-card,
    .st4a-main-card--photo-right {
        grid-template-columns: 1fr;
    }
    .st4a-main-card--photo-right .st4a-main-card-body,
    .st4a-main-card--photo-right .st4a-main-card-gallery { order: unset; }
    .st4a-main-card-gallery { min-height: 280px; padding: 0.5rem; }
    .st4a-main-card-photo-item:nth-child(3) { width: calc(50% - 0.25rem); }
    .st4a-main-card-photo-item:nth-child(1) img,
    .st4a-main-card-photo-item:nth-child(2) img { min-height: 120px; }
    .st4a-main-card-body { padding: 1.5rem 1.75rem; }
    .st4a-seed-gallery { min-height: 240px; }
    .st4a-seed-photo-card:nth-child(3) { width: 60%; }
    .st4a-grow-gallery { grid-template-columns: repeat(2, 1fr); min-height: 200px; }
}
@media (max-width: 575px) {
    .st4a-main-card-gallery { min-height: 260px; gap: 0.4rem; padding: 0.4rem; }
    .st4a-main-card-photo-item:nth-child(3) { width: calc(50% - 0.2rem); }
    .st4a-main-card-photo-item:nth-child(1) img,
    .st4a-main-card-photo-item:nth-child(2) img { min-height: 100px; }
    .st4a-seed-gallery { gap: 0.5rem; min-height: 220px; }
    .st4a-seed-photo-card:nth-child(3) { width: 70%; }
    .st4a-grow-gallery { gap: 0.5rem; min-height: 180px; }
}
@media (max-width: 575px) {
    .st4a-component-card-label { font-size: 0.85rem; }
    .st4a-sub-card-img { height: 140px; }
}

/* Shared Service Centre page */
.shared-service-centre-page .ssc-intro { background: var(--er-gray-100); }
.shared-service-centre-page .ssc-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--er-white);
    background: var(--er-black);
    padding: 0.35em 0.8em;
    border-radius: 6px;
    margin-bottom: 1rem;
}
.shared-service-centre-page .ssc-title {
    font-size: clamp(1.5rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: var(--er-black);
    margin-bottom: 1rem;
}
.shared-service-centre-page .ssc-desc {
    font-size: 1.02rem;
    color: var(--er-gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.shared-service-centre-page .ssc-services-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--er-black);
    margin: 1.25rem 0 0.5rem;
}
.shared-service-centre-page .ssc-services-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1rem;
}
.shared-service-centre-page .ssc-services-list li {
    font-size: 1rem;
    color: var(--er-gray-600);
    line-height: 1.75;
    margin-bottom: 0.5rem;
}
.shared-service-centre-page .ssc-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    border-radius: var(--er-radius-lg);
    overflow: hidden;
}
.shared-service-centre-page .ssc-gallery-item:first-child {
    grid-column: span 2;
}
.shared-service-centre-page .ssc-gallery-item {
    overflow: hidden;
    border-radius: 8px;
}
.shared-service-centre-page .ssc-gallery-item:not(:first-child) { min-height: 120px; }
.shared-service-centre-page .ssc-gallery-item:first-child { min-height: 200px; }
.shared-service-centre-page .ssc-gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 120px;
    object-fit: cover;
}
.shared-service-centre-page .ssc-gallery-item:first-child img { min-height: 200px; }
.shared-service-centre-page .ssc-cta { background: var(--er-white); }
.shared-service-centre-page .ssc-cta-text {
    font-size: 1rem;
    color: var(--er-gray-600);
    margin-bottom: 1rem;
}
@media (max-width: 767px) {
    .shared-service-centre-page .ssc-gallery-item:first-child { grid-column: span 2; min-height: 180px; }
}
@media (max-width: 575px) {
    .shared-service-centre-page .ssc-gallery { grid-template-columns: 1fr; }
    .shared-service-centre-page .ssc-gallery-item:first-child { grid-column: span 1; min-height: 200px; }
}
