:root {
    --primary: #4246bb;
    --primary-dark: #2e3196;
    --accent: #26c9f2;
    --accent-light: #4dd4f5;
    --text: #101019;
    --text-light: #5a5a5a;
    --bg: #ffffff;
    --bg-alt: #fafafa;
    --border: #ebebeb;
}

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

html {
    transform: none !important;
    will-change: auto !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-size: clamp(15px, 1rem, 17px);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: -0.01em;
    transform: none !important;
    will-change: auto !important;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}


#nav-container {
    position: relative;
    width: 100%;
    z-index: 100;
}

nav {
    background: var(--primary-dark);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

nav > * {
    flex-shrink: 0;
}


.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    letter-spacing: -0.03em;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 2.5rem;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
 background 0.2s ease;
    border-radius: 2px;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
 all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-item-has-dropdown {
    position: relative;
}

.nav-item-has-dropdown::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 2rem;
    z-index: 1000;
}

.nav-link-main {
    color: white;
    text-decoration: none;
    font-weight: 400;
 color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link-main:hover {
    color: var(--accent-light);
}

/* Remove underline animation on dropdown nav items only */
.nav-item-has-dropdown .nav-link-main::after {
    display: none;
}

.dropdown-arrow {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
 transform 0.3s ease, color 0.3s ease;
    display: inline-block;
    transform: rotate(180deg); /* Start pointing down (⌄) */
}

.nav-item-has-dropdown:hover .dropdown-arrow {
    color: var(--accent-light);
    transform: rotate(0deg); /* Point up (⌃) on hover */
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 0.75rem 0;
    min-width: 280px;
    max-width: 320px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
 opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1001;
    margin-top: 0;
    padding-top: 2rem;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 0;
    right: 0;
    height: 2rem;
    width: 100%;
}

.nav-item-has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown li {
    margin: 0;
}

.nav-dropdown a {
    display: block;
    padding: 1.25rem 1.5rem;
    color: var(--text);
    text-decoration: none;
 background 0.2s ease;
    text-align: left;
}

.nav-dropdown-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.25rem;
 color 0.2s ease;
}

.nav-dropdown-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.4;
    font-weight: 400;
 color 0.2s ease;
}

.nav-dropdown a:hover {
    background: #f8f8f8;
}

.nav-dropdown a:hover .nav-dropdown-title {
    color: var(--accent);
}

.nav-dropdown a:hover .nav-dropdown-desc {
    color: var(--text);
}

.nav-dropdown a.disabled {
    cursor: not-allowed;
}

.nav-dropdown a.disabled .nav-dropdown-title {
    color: var(--text-light);
}

.nav-dropdown a.disabled .nav-dropdown-desc {
    color: #9ca3af;
}

.nav-dropdown a.disabled:hover {
    background: transparent;
}

.nav-dropdown a.disabled:hover .nav-dropdown-title,
.nav-dropdown a.disabled:hover .nav-dropdown-desc {
    color: var(--text-light);
}

.nav-links > li:not(.nav-item-has-dropdown) > a {
    color: white;
    text-decoration: none;
    font-weight: 400;
 all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links > li:not(.nav-item-has-dropdown) > a:hover {
    color: var(--accent-light);
}

.nav-links > li:not(.nav-item-has-dropdown) > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
 width 0.3s ease;
    border-radius: 2px;
}

.nav-links > li:not(.nav-item-has-dropdown) > a:hover::after {
    width: 100%;
}

/* Navigation CTA Button */
.nav-links > li > a.nav-cta-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    background: white;
    color: var(--primary-dark);
    border-radius: 2px;
    text-decoration: none;
 background 0.2s ease;
    display: inline-block;
    border: none;
}

.nav-links > li > a.nav-cta-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
}

.nav-links > li > a.nav-cta-btn::after {
    display: none; /* Remove underline animation for button */
}

.hero {
    margin-top: 0;
    min-height: 65vh;
    padding-top: 4rem;
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 5%;
    padding-right: 5%;
    position: relative;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--text) 100%);
    overflow: hidden;
}

.hero-wireframe {
    display: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}


.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 2px;
 all 0.2s ease;
    display: inline-block;
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background: var(--accent-light);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.hero .btn-primary {
    background: white;
    color: var(--primary-dark);
}

.hero .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-partner {
    background: var(--primary-dark);
    color: white !important;
    text-decoration: none !important;
}

.btn-partner:hover {
    background: var(--primary);
    color: white !important;
    text-decoration: none !important;
}

.section {
    padding: 5rem 5%;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.section-alt {
    background: var(--bg);
    position: relative;
}


#programs .section-header,
#program-structure .section-header {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

#programs .section-header h2,
#program-structure .section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 1rem 0;
    letter-spacing: -0.03em;
    line-height: 1.2;
    width: 100%;
}

#programs .section-header .subtitle,
#program-structure .section-header .subtitle {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.7;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    max-width: 1200px;
    padding-left: 0;
}

.section-header {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-header.center .subtitle,
.section-header.center p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.section-header p:last-child {
    margin-bottom: 0;
}

.section-header a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.section-header a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Events Section - Marquee */
.events-section {
    padding: 5rem 0;
    background: var(--bg);
    overflow: hidden;
    max-width: none !important;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.events-section .section-header {
    padding: 0 5%;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.events-marquee-container {
    margin-top: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.events-marquee {
    display: flex;
    gap: 2rem;
    animation: scroll-marquee 30s linear infinite;
    will-change: transform;
    padding: 0 2rem;
    width: fit-content;
}


.events-marquee.manual-control {
    animation: none !important;
    animation-play-state: paused !important;
}

.event-card {
    flex: 0 0 420px;
    width: 420px;
    height: 275px;
    padding: 0;
    background: linear-gradient(180deg, var(--primary) 0%, var(--text) 100%);
    border-radius: 2px;
    border: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.event-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-start;
}

.event-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.event-description {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0 0 0.5rem 0;
    flex-grow: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-top: auto;
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.event-date-time {
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
    color: #ffffff;
}

.event-date-time .event-date,
.event-date-time .event-time {
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.event-venue {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.event-action {
    display: flex;
    align-items: flex-start;
}

.event-rsvp {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: #ffffff;
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
 background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.event-rsvp:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
}

.event-rsvp.coming-soon {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    cursor: not-allowed;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.event-rsvp.coming-soon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: none;
}

.event-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    width: fit-content;
    margin-top: 0.5rem;
}

@keyframes scroll-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Ensure smooth infinite loop with no visible restart */
.events-marquee {
    animation: scroll-marquee 30s linear infinite;
    will-change: transform;
}

/* About Section - Two Column Layout */
.about-section {
    padding: 5rem 5%;
    background: #ffffff !important;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-header {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 3rem 0;
    letter-spacing: -0.03em;
    line-height: 1.2;
    width: 100%;
}

.about-columns {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2.5rem;
    align-items: start;
}

.about-left {
    display: flex;
    flex-direction: column;
}

.about-body {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.7;
    margin: 0 0 2rem 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-support-text {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.7;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.about-support-text a {
    color: var(--primary);
    text-decoration: none;
 color 0.2s ease;
}

.about-support-text a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.about-support-logos {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    margin: 0;
    align-items: center;
    justify-content: flex-start;
}

.about-support-logo {
    padding: 0;
    background: transparent;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    box-shadow: none;
}

.about-support-logo img {
    width: 150px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Mission Blockquote */
.about-mission-quote {
    margin: 0;
    padding: 0;
    border: none;
    position: relative;
}

.about-mission-quote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.about-mission-quote p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    padding-left: 1.5rem;
    font-style: normal;
    font-weight: 400;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.focus-card {
    padding: 2.5rem;
    background: var(--bg);
    border-radius: 2px;
    border: 1px solid var(--border);
    position: relative;
    text-align: center;
}


.card-icon {
    width: 36px;
    height: 36px;
    color: var(--primary);
    stroke-width: 1.75;
    margin: 0 auto 1.5rem;
    display: block;
}

/* Pathway Cards - Premium Style */
.pathway-card {
    padding: 3rem;
    overflow: hidden;
 transform 0.3s ease, box-shadow 0.3s ease;
}

.pathway-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.pathway-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--accent) 100%);
}

.pathway-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 2rem;
    stroke-width: 1.5;
}

.focus-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.focus-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.card-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}

.opportunity-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.opportunity-item {
    padding: 2rem;
    background: var(--bg);
    border-radius: 2px;
    border: 1px solid var(--border);
}


.opportunity-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.1rem, 3vw, 1.25rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.opportunity-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

#programs {
    background: linear-gradient(180deg, var(--text) 0%, var(--primary-dark) 50%, var(--accent) 100%) !important;
    padding: 5rem 5%;
}

#programs .section-header h2,
#programs .section-header .subtitle {
    color: #ffffff;
}

#why-join {
    background: var(--bg) !important;
    padding: 5rem 5%;
}

#why-join .section-header h2 {
    color: var(--primary);
}

#why-join .focus-grid {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
    #why-join .focus-grid {
        grid-template-columns: 1fr;
    }
}

.programs-container {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}


.program-card {
    background: #ffffff;
    border-radius: 2px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
 border-color 0.2s ease, background 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.program-card:hover {
    border-color: var(--border);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.program-card h3 {
    color: var(--primary);
}

.program-card p {
    color: var(--text-light);
}

#programs .program-card .btn-primary {
    background: var(--primary);
    color: #ffffff;
}

#programs .program-card .btn-primary:hover {
    background: var(--primary-dark);
    color: #ffffff;
}

#programs .program-card .btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

#programs .program-card .btn-secondary:hover {
    background: var(--primary);
    color: #ffffff;
}


.program-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}


.program-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.program-card p strong {
    color: var(--primary);
    font-weight: 600;
}

.program-card .coming-soon {
    color: var(--primary);
    font-weight: 600;
    font-style: normal;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.event-highlight {
    background: var(--primary);
    color: white;
    padding: 5rem 5%;
    position: relative;
    overflow: hidden;
}


.event-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.event-highlight h2 {
    color: white;
    margin-bottom: 2rem;
}

.event-highlight .subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.event-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 2rem;
}

.event-details h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.event-details p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.speakers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.speaker {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.speaker h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.speaker p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.support {
    text-align: center;
    background: var(--bg);
}

.support-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.support-logo {
    padding: 1.75rem 2rem;
    background: var(--bg);
    border-radius: 2px;
    border: 1px solid var(--border);
    text-decoration: none;
    display: inline-block;
 border-color 0.2s ease;
}

.support-logo:hover {
    border-color: var(--primary);
}


.support-logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

footer {
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--text) 100%);
    color: #ffffff;
    padding: 5rem 5% 2.5rem;
    border-top: none;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #ffffff;
    position: relative;
    display: block;
    letter-spacing: -0.01em;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.25rem;
    text-decoration: none;
}

.footer-logo img {
    height: 2.5rem;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.875rem;
}

.footer-section ul li:last-child {
    margin-bottom: 0;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
 color 0.2s ease;
    font-size: 0.95rem;
    display: inline-block;
    line-height: 1.6;
}

.footer-section a:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
 color 0.2s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--accent);
    color: white;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tablet Styles (769px - 1024px) */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1rem;
    }

    .section {
        padding: 4rem 5%;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 5.5vw, 4rem);
    }

    .projects-grid {
        gap: 1.5rem;
    }

    .fellows-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem 1.5rem;
    }

    .fellow-photo {
        width: 72px;
        height: 72px;
        font-size: 1.35rem;
    }
}

/* Mobile and Tablet (up to 768px) */
@media (max-width: 768px) {
    nav {
        padding: 1rem 5%;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .nav-dropdown {
        display: none;
    }

    .mobile-menu-content {
        padding: 2rem;
    }

    .hero {
        min-height: 55vh;
        padding-top: 3rem;
        padding-bottom: 3rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 7vw, 3.5rem);
    }

    .hero p {
        font-size: 1.15rem;
    }

    .section {
        padding: 3rem 5%;
    }

    .section-header {
        padding: 0;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        text-align: center;
        width: 100%;
    }

    .focus-grid {
        grid-template-columns: 1fr;
    }

    .focus-card {
        padding: 1.5rem;
    }

    .pathway-card {
        padding: 2rem;
    }

    .pathway-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1.5rem;
    }

    .events-section {
        padding: 3rem 0;
        width: 100vw;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }

    .events-section .section-header {
        padding: 0 5%;
        margin-bottom: 2rem;
    }

    #programs {
        padding: 3rem 5%;
    }
    
    #why-join {
        padding: 3rem 5%;
    }

    #programs .section-header h2,
    #program-structure .section-header h2 {
        font-size: 2rem;
        margin: 0 0 0.75rem 0;
    }

    #programs .section-header .subtitle,
    #program-structure .section-header .subtitle {
        font-size: 1rem;
    }

    .events-marquee-container {
        margin-top: 0;
    }

    .events-marquee {
        padding: 0 1.5rem;
    }

    .event-card {
        flex: 0 0 360px;
        width: 360px;
        height: 275px;
        padding: 0;
    }

    .event-content {
        padding: 1.25rem;
    }

    .event-title {
        font-size: 1.25rem;
    }

    .about-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
        padding-left: 5%;
        padding-right: 5%;
    }

    .about-header {
        font-size: 2rem;
        margin: 0 0 2rem 0;
    }

    .about-columns {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-left {
        display: flex;
        flex-direction: column;
    }

    .about-body {
        font-size: 1rem;
        margin: 0 0 1.5rem 0;
    }

    .about-mission-quote {
        margin: 0;
    }

    .about-mission-quote p {
        font-size: 1rem;
        padding-left: 1.5rem;
    }

    .about-right {
        gap: 2rem;
        margin-top: 0.5rem;
    }

    .about-support-text {
        font-size: 1rem;
        margin: 0;
    }

    .about-support-logos {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
        margin: 0.5rem 0 0 0;
    }

    .about-support-logo {
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        width: 140px;
    }

    .about-support-logo img {
        width: 140px;
        max-height: none;
    }

    .program-card {
        padding: 1.5rem;
    }

    .support-logos {
        gap: 1.5rem;
    }

    footer {
        padding: 3rem 5% 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .fellows-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }

    .fellow-photo {
        width: 64px;
        height: 64px;
        font-size: 1.25rem;
    }

    .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .project-card {
        width: 100%;
        max-width: 100%;
    }

    .project-card-image {
        height: 200px;
    }

    .project-card-content {
        padding: 1.5rem;
    }

    .project-card h3 {
        font-size: clamp(1.3rem, 3vw, 1.6rem);
    }
}

@media (max-width: 480px) {
    .mobile-menu-content {
        padding: 2rem 1.5rem 2rem 1.5rem;
    }

    .mobile-menu-top-header {
        padding: 1.25rem;
        height: 70px;
    }

    .mobile-menu-logo {
        font-size: 1.1rem;
    }

    .mobile-menu-section:not(:first-child) {
        margin-top: 2rem;
    }

    .mobile-menu-cta {
        margin-top: 2rem;
        padding: 0.9rem 2.5rem;
    }
}

/* Small Mobile (up to 640px) */
@media (max-width: 640px) {
    .hero {
        padding-top: 3rem;
        padding-bottom: 3rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        min-height: 55vh;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 8vw, 4rem);
        line-height: 1.05;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .events-section {
        padding: 2.5rem 0;
        width: 100vw;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }

    .events-section .section-header {
        padding: 0 1.5rem;
        margin-bottom: 1.5rem;
    }

    #programs {
        padding: 2.5rem 1.5rem;
    }
    
    #why-join {
        padding: 2.5rem 1.5rem;
    }

    #programs .section-header h2,
    #program-structure .section-header h2 {
        font-size: 2rem;
        margin: 0 0 0.75rem 0;
    }

    #programs .section-header .subtitle,
    #program-structure .section-header .subtitle {
        font-size: 1rem;
    }

    .events-marquee-container {
        margin-top: 0;
    }

    .events-marquee {
        padding: 0 1rem;
    }

    .event-card {
        flex: 0 0 300px;
        width: 300px;
        height: 275px;
        padding: 0;
    }

    .event-content {
        padding: 1rem;
    }

    .event-title {
        font-size: 1.125rem;
    }

    .event-description {
        font-size: 0.9375rem;
    }

    .about-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .about-header {
        font-size: 2rem;
        margin: 0 0 1.5rem 0;
    }

    .about-columns {
        gap: 2rem;
    }

    .about-body {
        font-size: 1rem;
        margin: 0 0 1.5rem 0;
    }

    .about-mission-quote p {
        font-size: 1rem;
        padding-left: 1.25rem;
    }

    .about-right {
        gap: 1.5rem;
        margin-top: 0.5rem;
    }

    .about-support-text {
        font-size: 1rem;
    }

    .about-support-logos {
        gap: 0.75rem;
    }

    .about-support-logo {
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        width: 130px;
    }

    .about-support-logo img {
        width: 130px;
        max-height: none;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .section-header {
        max-width: 100%;
    }

    .accordion-container,
    .projects-grid {
        max-width: 100%;
    }

    nav {
        padding: 1rem 1.5rem;
    }

    footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    .cta-section {
        padding: 4rem 1.5rem;
    }
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accordion Styles */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

.accordion-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}


.accordion-item[data-expanded="true"] {
    border-color: var(--primary);
}

.accordion-header {
    width: 100%;
    background: var(--bg);
    border: none;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
 background 0.3s ease;
    min-height: 44px;
    position: relative;
}

.accordion-header:hover {
    background: #fafafa;
}

.accordion-header[aria-expanded="true"] {
    border-bottom: 1px solid var(--border);
}

.accordion-header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.accordion-header-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.15rem, 3vw, 1.35rem);
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.accordion-duration {
    font-size: 1.05rem;
    color: var(--text-light);
    font-weight: 400;
}

.accordion-icon {
    width: 28px;
    height: 28px;
    color: var(--primary);
 opacity 0.3s ease;
    flex-shrink: 0;
    margin-left: 1.5rem;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.accordion-header[aria-expanded="true"] .accordion-icon:not(.accordion-icon-close) {
    opacity: 0;
    pointer-events: none;
}

.accordion-icon.accordion-icon-close {
    position: absolute;
    right: 2rem;
    opacity: 0;
    pointer-events: none;
}

.accordion-header[aria-expanded="true"] .accordion-icon-close {
    opacity: 1;
    pointer-events: auto;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
 max-height 0.3s ease;
    background: var(--bg);
}

.accordion-content-inner {
    padding: 2rem 2.5rem 2rem 2rem;
}

.accordion-content-inner p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.accordion-content-inner h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.accordion-content-inner h4:first-of-type {
    margin-top: 0;
}

.accordion-content-inner h4 .accordion-date {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    margin-left: 0.5rem;
}

.accordion-content-inner ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.accordion-content-inner ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    line-height: 1.6;
}

.accordion-content-inner ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 400;
}

.project-examples {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.project-examples h4 {
    margin-top: 0;
}

/* Research Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
 border-color 0.2s ease;
    width: 100%;
    min-width: 0;
}

.project-card:hover {
    border-color: var(--primary);
}


.project-card-image {
    width: 100%;
    height: 160px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-card-content {
    padding: 1.75rem;
}

.project-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.1rem, 3vw, 1.25rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.project-card-author {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.project-card p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.project-card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
 color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.project-card-link:hover {
    color: var(--accent);
}

/* Fellows Section */
.fellows-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem 2rem;
    margin-top: 3rem;
    justify-items: center;
}

.fellow-card {
    text-align: center;
    width: 100%;
    max-width: 100%;
}


.fellow-photo {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    margin: 0 auto 1rem;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.fellow-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.95rem, 2vw, 1rem);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.fellow-card-descriptor {
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: var(--bg);
    padding: 6rem 5%;
    text-align: center;
}

.cta-section .btn-primary {
    background: var(--primary);
    color: white;
    text-decoration: none !important;
}

.cta-section .btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    text-decoration: none !important;
}

.cta-section .btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
    text-decoration: none !important;
}

.cta-section .btn-secondary:hover {
    background: var(--primary);
    color: white;
    text-decoration: none !important;
}

/* Mobile Menu */
.mobile-menu-backdrop {
    display: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    z-index: 1002;
    transform: translateX(100%);
 transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    height: 80px;
    flex-shrink: 0;
}

.mobile-menu-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    letter-spacing: -0.03em;
}

.mobile-menu-logo:hover {
    opacity: 0.8;
 opacity 0.2s ease;
}

.mobile-menu-logo img {
    height: 2rem;
    width: auto;
    display: block;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text);
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
 background 0.2s ease;
    padding: 0;
}

.mobile-menu-close:hover {
    background: #f8f8f8;
}

.mobile-menu-content {
    padding: 2rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
}

.mobile-menu-section {
    margin-bottom: 0;
}

.mobile-menu-section:not(:first-child) {
    margin-top: 2.5rem;
}

.mobile-menu-section:first-child {
    margin-top: 1rem;
}

.mobile-menu-header {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin: 0 0 1rem 0;
    font-family: 'Inter', sans-serif;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin: 0;
}

.mobile-nav-links a {
    display: block;
    padding: 1rem 0;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 400;
 color 0.2s ease;
    text-align: left;
}

.mobile-nav-links a:hover {
    color: var(--accent);
}

.mobile-nav-links a.disabled {
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.6;
}

.mobile-nav-links a.disabled:hover {
    color: var(--text-light);
}

.mobile-menu-cta {
    margin-top: 2.5rem;
    width: fit-content;
    text-align: left;
    display: inline-block;
    padding: 0.9rem 3rem;
}

body.menu-open {
    overflow: hidden;
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .fellows-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
    }
}

/* Accordion responsive styles */
@media (max-width: 768px) {
    .accordion-header {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .accordion-header-content h3 {
        font-size: clamp(1.2rem, 3vw, 1.4rem);
    }

    .accordion-content-inner {
        padding: 1.5rem 1rem;
    }

    .accordion-icon {
        width: 24px;
        height: 24px;
        margin-left: 1rem;
        font-size: 24px;
    }

    .accordion-icon.accordion-icon-close {
        right: 1rem;
    }

    .accordion-item[data-expanded="true"] {
        border-color: var(--primary);
    }

    .cta-section {
        padding: 4rem 5%;
    }
}

@media (max-width: 640px) {
    .accordion-header {
        padding: 1rem;
    }

    .accordion-content-inner {
        padding: 1.5rem 1rem;
    }
}

/* Utility Classes */
.max-width-900 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.max-width-1100 {
    max-width: 1100px;
}

.margin-top-3 {
    margin-top: 3rem;
}

.flex-wrap {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.flex-wrap.margin-top-1-5 {
    margin-top: 1.5rem;
}

.justify-center {
    justify-content: center;
}

.margin-top-2 {
    margin-top: 2rem;
}

/* Project card color variants */
.project-card-image-gradient-1 {
    background: var(--primary-dark);
}

.project-card-image-gradient-2 {
    background: var(--accent);
}

.project-card-image-gradient-3 {
    background: #3a3e9e;
}

/* Icon sizing utility */
.icon-sm {
    width: 16px;
    height: 16px;
}
