/* ============================================================
   CAST-SF — Shared stylesheet (polish pass)
   Structure, classes and content are unchanged.
   This pass refines typography, color, surfaces and states only.
   ============================================================ */

:root {
    --blue:        #2a6fc0;   /* primary accent */
    --blue-deep:   #1d5290;   /* accent hover / press */
    --blue-soft:   #e7f0fb;   /* accent tint surface */
    --navy:        #203448;   /* deep ink for headings */
    --ink:         #2b3541;   /* body text */
    --muted:       #5d6a78;   /* secondary text */
    --line:        #e3e8ee;   /* hairlines */
    --surface:     #ffffff;   /* card surface */
    --surface-soft:#f5f7fa;   /* section background */
    --red:         #c93b3b;   --red-deep: #a72f2f;
    --green:       #2f8b4f;   --green-deep: #22693a;
    --yellow:      #f2b518;   --yellow-deep: #d99c07;
    --shadow-sm:   0 1px 2px rgba(18, 52, 72, .06);
    --shadow-md:   0 1px 2px rgba(18, 52, 72, .05), 0 8px 24px -12px rgba(18, 52, 72, .22);
    --radius:      14px;
    --radius-sm:   10px;
    --font-body:   -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-mono:   ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
}

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

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--ink);
    background-color: var(--surface-soft);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ---- focus: visible ring on every focusable element ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid rgba(42, 111, 192, .45);
    outline-offset: 2px;
    border-radius: 4px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   Header
   ============================================================ */
.main-header {
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(18, 52, 72, .03), 0 10px 30px -22px rgba(18, 52, 72, .35);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 16px;
    border-left: 1px solid var(--line);
}

.subtitle {
    font-size: 0.9rem;
    color: var(--ink);
    margin: 0;
    font-weight: 600;
}

.chapter {
    font-size: 0.78rem;
    color: var(--muted);
    margin: 0;
    font-weight: 500;
}

.since {
    font-size: 0.68rem;
    color: var(--blue);
    margin: 0;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 26px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 2px;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.22s ease;
    list-style: none;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 14px;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.88rem;
    border-radius: 8px;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.dropdown-link:hover {
    background-color: var(--blue-soft);
    color: var(--blue);
}

.language-switcher {
    display: flex;
    gap: 4px;
    margin-left: 22px;
}

.lang-btn {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    padding: 7px 13px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background: #eef2f6;
    border-color: #cdd6df;
    color: var(--ink);
}

.lang-btn.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background-color: var(--navy);
    transition: 0.3s;
}

/* ============================================================
   Shared layout
   ============================================================ */
.main-content {
    margin-top: 118px;
    min-height: calc(100vh - 200px);
}

.page-section {
    padding: 56px 0;
}

/* ---- Section titles: soft underline accent ---- */
.section-title {
    font-size: 2.4rem;
    color: var(--navy);
    margin-bottom: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

section:not(.donate-section) > .section-title,
.page-section > .section-title,
.about-section > .section-title {
    position: relative;
    padding-bottom: 14px;
}

section:not(.donate-section) > .section-title::after,
.page-section > .section-title::after,
.about-section > .section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 56px;
    height: 3px;
    border-radius: 3px;
    background: var(--blue);
}

/* ============================================================
   About / hero section
   ============================================================ */
.about-section {
    padding: 56px 0 64px;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, var(--surface-soft) 100%);
    border-bottom: 1px solid var(--line);
}

.donate-section {
    margin-bottom: 34px;
}

.donate-button {
    display: inline-block;
    background: var(--red);
    color: #fff;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 24px -10px rgba(201, 59, 59, .55);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.donate-button:hover {
    background: var(--red-deep);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -10px rgba(201, 59, 59, .6);
}

.donate-button:active {
    background: #8f2626;
    transform: translateY(0);
}

.about-list {
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: left;
    list-style: none;
    padding: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
}

.about-list li {
    position: relative;
    padding-left: 28px;
    margin: 12px 0;
    line-height: 1.8;
    color: var(--ink);
}

.about-list li:before {
    content: "•";
    position: absolute;
    left: 6px;
    top: 0;
    color: var(--blue);
    font-weight: bold;
    line-height: 1.8;
}

.about-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    background: var(--blue-soft);
    border: 1px dashed var(--blue);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.placeholder-content {
    text-align: center;
}

.placeholder-text {
    color: var(--muted);
    font-size: 1.15rem;
    font-weight: 500;
}

/* ============================================================
   Footer
   ============================================================ */
.main-footer {
    background: #fff;
    padding: 48px 0 40px;
    border-top: 1px solid var(--line);
    margin-top: 48px;
}

.donate-section-footer {
    text-align: center;
    margin-bottom: 20px;
}

.donate-btn-footer {
    background: var(--yellow);
    color: #1d1d1b;
    border: none;
    padding: 14px 34px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 22px -12px rgba(248, 181, 24, .7);
    transition: all 0.2s ease;
}

.donate-btn-footer:hover {
    background: var(--yellow-deep);
    color: #1d1d1b;
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -12px rgba(248, 181, 24, .75);
}

.donate-btn-footer:active {
    transform: translateY(0);
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.payment-icon {
    background: var(--surface-soft);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    border: 1px solid var(--line);
}

.footer-main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left {
    display: flex;
    align-items: center;
}

.association-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.association-logo-img {
    height: 76px;
    width: auto;
    display: block;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(160deg, var(--blue), var(--blue-deep));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    position: relative;
    box-shadow: 0 8px 18px -8px rgba(42, 111, 192, .6);
}

.globe-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.usa-text {
    font-size: 10px;
    font-weight: bold;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.chinese-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.english-text {
    font-size: 0.9rem;
    color: var(--blue);
    font-weight: 600;
}

.footer-divider {
    width: 1px;
    height: 80px;
    background: var(--line);
    margin: 0 24px;
}

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

.copyright {
    color: var(--muted);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
}

.social-section {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.follow-text {
    color: var(--navy);
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

.instagram-text {
    font-family: 'Brush Script MT', 'Segoe Script', cursive;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
}

.icon-placeholder {
    color: white;
    font-size: 16px;
}

/* ============================================================
   Team
   ============================================================ */
.team-intro {
    text-align: center;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--muted);
    font-size: 1.05rem;
}

.team-directory-link-wrap {
    text-align: center;
    margin-bottom: 40px;
}

.team-directory-link {
    display: inline-block;
    padding: 12px 24px;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 8px 18px -10px rgba(42, 111, 192, .6);
}

.team-directory-link:hover {
    background: var(--blue-deep);
    transform: translateY(-1px);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.team-doc-link-wrap {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.team-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
    padding: 11px 22px;
    border: 1.5px solid var(--navy);
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.team-doc-link-icon {
    display: inline-flex;
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
}

.team-doc-link-icon svg {
    width: 100%;
    height: 100%;
}

.team-doc-link:hover {
    background-color: var(--navy);
    color: #fff;
}

.team-member {
    background: var(--surface);
    padding: 30px;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.member-photo {
    margin-bottom: 20px;
}

.member-photo-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
    border: 3px solid #fff;
    box-shadow: 0 6px 16px -8px rgba(18, 52, 72, .4);
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(150deg, #e7edf3, #d6dfe9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3px solid #fff;
    box-shadow: 0 6px 16px -8px rgba(18, 52, 72, .4);
}

.placeholder-text {
    color: var(--muted);
    font-weight: 500;
}

.member-name {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 5px;
    font-weight: 700;
}

.member-title {
    color: var(--blue);
    font-weight: 700;
    margin-bottom: 15px;
}

.member-bio {
    color: var(--muted);
    line-height: 1.6;
}

/* ============================================================
   Conference
   ============================================================ */
.conference-intro {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--muted);
    font-size: 1.05rem;
}

.conference-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

.detail-card {
    background: var(--surface);
    padding: 30px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.detail-card h3 {
    color: var(--navy);
    margin-bottom: 20px;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 12px;
}

.detail-card h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: var(--blue);
}

.detail-item {
    margin-bottom: 10px;
    padding: 5px 0;
    color: var(--ink);
}

.speaker-list, .track-list {
    list-style: none;
}

.speaker-item, .track-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.track-item {
    background: var(--blue-soft);
    margin: 6px 0;
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    color: var(--blue-deep);
    font-weight: 600;
}

.conference-actions {
    text-align: center;
    margin: 40px 0;
}

.action-button {
    display: inline-block;
    padding: 13px 26px;
    margin: 0 8px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.action-button.primary {
    background: var(--blue);
    color: white;
    box-shadow: 0 8px 18px -10px rgba(42, 111, 192, .6);
}

.action-button.primary:hover {
    background: var(--blue-deep);
    transform: translateY(-1px);
}

.action-button.secondary {
    background: #fff;
    color: var(--ink);
    border: 1.5px solid var(--line);
}

.action-button.secondary:hover {
    background: var(--surface-soft);
    border-color: #cdd6df;
}

.action-button.success {
    background: var(--green);
    color: white;
    box-shadow: 0 8px 18px -10px rgba(47, 139, 79, .6);
}

.action-button.success:hover {
    background: var(--green-deep);
    transform: translateY(-1px);
}

.conference-schedule {
    margin-top: 40px;
}

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

.schedule-day {
    background: var(--surface);
    padding: 22px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.schedule-day h4 {
    color: var(--navy);
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.1rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

.schedule-item:last-child {
    border-bottom: none;
}

.time {
    font-weight: 700;
    color: var(--blue);
    min-width: 80px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.event {
    color: var(--muted);
}

/* ============================================================
   Handbook
   ============================================================ */
.handbook-intro {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--muted);
    font-size: 1.05rem;
}

.handbook-content {
    max-width: 1000px;
    margin: 0 auto;
}

.handbook-section {
    margin-bottom: 40px;
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.handbook-section h3 {
    color: var(--navy);
    margin-bottom: 20px;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--blue);
    padding-bottom: 12px;
    display: inline-block;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.info-item {
    padding: 14px 16px;
    background: var(--surface-soft);
    border-radius: 8px;
    border-left: 4px solid var(--blue);
}

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

.info-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    position: relative;
    padding-left: 20px;
    color: var(--ink);
}

.info-list li:before {
    content: "•";
    color: var(--blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.venue-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.venue-item {
    background: var(--surface-soft);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--line);
}

.venue-item h4 {
    color: var(--navy);
    margin-bottom: 10px;
}

.guidelines h4 {
    color: var(--navy);
    margin-top: 20px;
    margin-bottom: 10px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-item {
    background: var(--surface);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--green);
    border: 1px solid var(--line);
}

.emergency-info {
    background: #fff8e1;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--yellow);
}

.handbook-actions {
    text-align: center;
    margin-top: 40px;
}

/* ============================================================
   Sponsor
   ============================================================ */
.sponsor-intro {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--muted);
    font-size: 1.05rem;
}

.sponsorship-benefits {
    margin-bottom: 40px;
}

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

.benefit-item {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.benefit-item h4 {
    color: var(--navy);
    margin-bottom: 15px;
}

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

.package-card {
    background: white;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 30px;
    text-align: center;
    transition: all 0.25s ease;
}

.package-card:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: 0 14px 30px -14px rgba(42, 111, 192, .4);
}

.package-card h4 {
    color: var(--navy);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.package-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.package-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.package-button {
    display: inline-block;
    background: var(--blue);
    color: white;
    padding: 11px 22px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 8px 16px -10px rgba(42, 111, 192, .6);
}

.package-button:hover {
    background: var(--blue-deep);
    transform: translateY(-1px);
}

.custom-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.custom-item {
    background: var(--surface);
    padding: 22px;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid var(--line);
}

.custom-item h4 {
    color: var(--navy);
    margin-bottom: 10px;
}

.sponsor-contact {
    margin-top: 40px;
}

.contact-details {
    background: var(--surface);
    padding: 22px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    border: 1px solid var(--line);
}

.contact-details h4 {
    color: var(--navy);
    margin-bottom: 15px;
}

.contact-form {
    background: white;
    padding: 32px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.sponsor-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(42, 111, 192, .15);
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    background: var(--green);
    color: white;
    padding: 13px 26px;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 18px -10px rgba(47, 139, 79, .6);
    transition: background 0.2s ease, transform 0.2s ease;
    justify-self: start;
}

.submit-button:hover {
    background: var(--green-deep);
    transform: translateY(-1px);
}

/* ============================================================
   Activities
   ============================================================ */
.activities-intro {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--muted);
    font-size: 1.05rem;
}

.category-section {
    margin-bottom: 50px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 30px;
}

.event-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.event-card h4 {
    color: var(--navy);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.event-details {
    margin-bottom: 15px;
}

.event-details p {
    margin: 5px 0;
    color: var(--muted);
}

.event-description {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--ink);
}

.event-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.highlight {
    background: var(--blue-soft);
    color: var(--blue-deep);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.upcoming-events {
    margin-top: 50px;
}

.events-timeline {
    margin-top: 30px;
}

.timeline-item {
    display: flex;
    margin-bottom: 26px;
    padding: 22px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.timeline-date {
    min-width: 120px;
    font-weight: 800;
    color: var(--blue);
    margin-right: 24px;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    padding-top: 4px;
}

.timeline-content h4 {
    color: var(--navy);
    margin-bottom: 10px;
}

.event-registration {
    text-align: center;
    margin-top: 50px;
    padding: 44px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.registration-actions {
    margin-top: 20px;
}

/* ============================================================
   Past conferences
   ============================================================ */
.conferences-intro {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--muted);
    font-size: 1.05rem;
}

.conferences-timeline {
    margin-top: 40px;
}

.conference-year {
    margin-bottom: 50px;
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.conference-year h3 {
    color: var(--navy);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: -0.3px;
}

.conference-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.conference-info h4 {
    color: var(--blue);
    margin-bottom: 15px;
}

.conference-highlights h5 {
    color: var(--navy);
    margin-bottom: 10px;
}

.conference-highlights ul {
    list-style: none;
    padding: 0;
}

.conference-highlights li {
    padding: 6px 0;
    border-bottom: 1px solid var(--line);
    position: relative;
    padding-left: 20px;
    color: var(--ink);
}

.conference-highlights li:before {
    content: "•";
    color: var(--blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.conference-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    background: var(--surface-soft);
    border-radius: var(--radius-sm);
    padding: 20px;
    border: 1px solid var(--line);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue);
    font-family: var(--font-mono);
    letter-spacing: -0.5px;
}

.stat-label {
    color: var(--muted);
    font-size: 0.9rem;
}

.conference-archive {
    margin-top: 50px;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.archive-item {
    background: white;
    padding: 22px;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.archive-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.archive-item h4 {
    color: var(--navy);
    margin-bottom: 10px;
}

.conference-materials {
    text-align: center;
    margin-top: 50px;
    padding: 44px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.materials-actions {
    margin-top: 20px;
}

/* ============================================================
   More / membership / resources
   ============================================================ */
.more-intro {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--muted);
    font-size: 1.05rem;
}

.more-sections {
    max-width: 1000px;
    margin: 0 auto;
}

.info-section {
    margin-bottom: 50px;
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.info-section h3 {
    color: var(--navy);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.4rem;
}

.membership-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.membership-benefits ul {
    list-style: none;
    padding: 0;
}

.membership-benefits li {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    position: relative;
    padding-left: 24px;
    color: var(--ink);
}

.membership-benefits li:before {
    content: "✓";
    color: var(--green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.membership-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.membership-card {
    background: var(--surface-soft);
    padding: 22px;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid var(--line);
}

.membership-card h5 {
    color: var(--navy);
    margin-bottom: 10px;
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 10px;
}

.membership-actions {
    text-align: center;
}

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

.resource-item {
    background: var(--surface-soft);
    padding: 22px;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid var(--line);
}

.resource-item h4 {
    color: var(--navy);
    margin-bottom: 15px;
}

.resource-link {
    display: inline-block;
    background: var(--blue);
    color: white;
    padding: 9px 18px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    margin-top: 10px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.resource-link:hover {
    background: var(--blue-deep);
    transform: translateY(-1px);
}

.partnerships-info p {
    text-align: center;
    margin-bottom: 30px;
    color: var(--muted);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.partner-item {
    background: var(--surface-soft);
    padding: 22px;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid var(--line);
}

.partner-item h4 {
    color: var(--navy);
    margin-bottom: 15px;
}

.partner-item ul {
    list-style: none;
    padding: 0;
}

.partner-item li {
    padding: 5px 0;
    color: var(--muted);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-details {
    background: var(--surface-soft);
    padding: 22px;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid var(--line);
}

.contact-details h4 {
    color: var(--navy);
    margin-bottom: 15px;
}

.social-media {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.25s ease, color 0.25s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    color: var(--blue);
}

.social-link .social-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(160deg, var(--blue), var(--blue-deep));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 24px;
    color: #fff;
    box-shadow: 0 8px 18px -8px rgba(42, 111, 192, .6);
    transition: box-shadow 0.25s ease;
}

.social-link:hover .social-icon {
    box-shadow: 0 12px 22px -8px rgba(42, 111, 192, .7);
}

.newsletter-signup {
    text-align: center;
}

.newsletter-form {
    max-width: 420px;
    margin: 20px auto 0;
}

.newsletter-form .form-group {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 11px 14px;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-form input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(42, 111, 192, .15);
    outline: none;
}

.subscribe-button {
    background: var(--green);
    color: white;
    padding: 11px 22px;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.subscribe-button:hover {
    background: var(--green-deep);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--blue);
    font-weight: 700;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    /* On mobile the fixed header stacks taller than on desktop, so give the
       content more top clearance to stop it covering the first element
       (e.g. the donate button). */
    .main-content {
        margin-top: 210px;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .logo-section {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .logo-subtitle {
        border-left: none;
        padding-left: 0;
    }

    .main-nav {
        width: 100%;
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .main-nav {
        display: none;
    }

    .main-nav.active {
        display: block;
        width: 100%;
    }

    .language-switcher {
        margin-left: 0;
        margin-top: 15px;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .association-logo-img { height: 64px; }
    .footer-divider { height: 64px; }
    .copyright { font-size: 1rem; }

    .conference-details {
        grid-template-columns: 1fr;
    }

    .membership-info {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-date {
        margin-bottom: 10px;
        margin-right: 0;
    }

    .conference-stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .logo {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .association-logo-img { height: 56px; }
    .footer-divider { height: 56px; }

    .image-placeholder {
        height: 200px;
    }

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

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

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form .form-group {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: 10px;
    }
}
