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

:root {
    /* Colors */
    --orange: #F39200;
    --dark-blue: #003D82;
    --teal: #1BA29B;
    --purple: #6B3E5B;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-text: #1A1A1A;
    --medium-gray: #666666;
    --banner-blue: #004798;
    --border-light: #E5E5E5;
    --red-dark: #C53030;
    --red-light: #E53E3E;
    --teal-dark: #158D84;
    --purple-dark: #5A2D47;
    --input-border: #D0D0D0;
    --placeholder: #999;
    --navy-dark: #0B1F3A;
    --navy-light: #1A3558;
    --text-secondary: #3A4D63;
    --text-muted: #555555;
    --gray-light: #f4f6fa;
    --gray-medium: #4A5568;
    --green-dark: #1A501A;
    --green-medium: #276827;
    --teal-medium: #0F5258;
    --accent-pink: #8B3A52;
    --accent-purple: #6B3A8B;
    --accent-brown: #C8922A;
    --accent-brown-light: #FDF3E3;
    --accent-brown-dark: #8B6010;

    /* Spacing */
    --container-max: 1400px;
    --section-padding: 80px 40px;
    --border-radius-lg: 12px;
    --border-radius-md: 6px;
    --gap-lg: 40px;
    --transition-default: all 0.3s;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    color: var(--dark-text);
    background: var(--white);
    line-height: 1.6;
}

/* ===== HEADER ===== */
.top-banner {
    background: var(--red-dark);
    color: var(--white);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.banner-left {
    flex: 1;
    text-align: center;
}

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

.banner-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    opacity: 0.95;
    justify-content: flex-end;
}

.banner-countdown span[id] {
    font-weight: 700;
    font-size: 14px;
}

@media (max-width: 768px) {
    .top-banner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .banner-left {
        text-align: center;
    }

    .banner-right {
        text-align: center;
    }

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

header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap-lg);
}

.header-left {
    display: flex;
    align-items: center;
    gap: var(--gap-lg);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-blue);
    text-decoration: none;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.logo span {
    color: var(--orange);
}

.logo-img,
.associated-logo {
    height: 72px;
    width: auto;
    object-fit: contain;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue);
}

.menu-toggle .bar {
    display: block;
    width: 26px;
    height: 3px;
    margin: 5px 0;
    background: var(--dark-blue);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

nav {
    display: flex;
    gap: 32px;
    align-items: center;
    background: var(--banner-blue);
    padding: 12px 24px;
    border-radius: 8px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    transition: color 0.3s;
    position: relative;
}

nav a:hover {
    color: var(--orange);
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle:hover {
    color: var(--orange);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--banner-blue);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--banner-blue);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    font-size: 15px;
    color: var(--white);
    text-decoration: none;
    transition: background 0.2s;
    position: relative;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--orange);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.ticker-item {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    text-align: center;
    transform: translateY(-50%);
    pointer-events: none;
}

.ticker-item.active {
    opacity: 1;
    pointer-events: auto;
}

.ticker-dots {
    position: absolute;
    bottom: 14px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.ticker-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
}

.ticker-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.ticker-dot.active {
    background: var(--orange);
}

.hero {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 0;
    min-height: 380px;
    align-items: stretch;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero-banner {
    position: relative;
    min-height: 380px;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
    cursor: pointer;
    pointer-events: none;
    z-index: 1;
}

.banner-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.banner-arrow:hover {
    background: var(--dark-blue);
}

.banner-arrow-left {
    left: 12px;
}

.banner-arrow-right {
    right: 12px;
}


.hero-content {
    background: var(--dark-blue);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    height: 100%;
    max-height: 380px;
}

.hero-content-text {
    z-index: 1;
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.hero-content p {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 24px;
    opacity: 0.95;
    line-height: 1.5;
}

.ticker-text {
    margin-top: 0;
    font-size: 34px;
    font-family: 'Roboto Condensed', sans-serif;
}

.ticker-link {
    color: var(--orange);
    text-decoration: underline;
    font-weight: 400;
}

/* ===== TEAM SECTION ===== */
.section {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 30px 40px 80px;
}

.section-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark-blue);
    letter-spacing: -1px;
    line-height: 1;
    margin: 0 0 30px 0;
}

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

.team-compact .team-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.team-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition-default) ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: var(--teal);
}

.team-compact .team-card {
    padding: 18px 15px;
    max-width: 85%;
    margin-inline: auto;
}

.team-avatar {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #E8E8E8 0%, #333333 100%);
    border-radius: var(--border-radius-lg);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--white);
    overflow: hidden;
}

.team-avatar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: var(--border-radius-lg);
}

.team-compact .team-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 16px;
    border-radius: 18px;
    border: 2px solid var(--banner-blue);
    flex-shrink: 0;
}

.team-compact .team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 16px;
}

.team-card h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--dark-blue);
}

.team-role {
    font-family: 'Roboto Condensed', sans-serif;
    color: var(--teal);
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    display: block;
}

.team-card h3 a,
.team-role a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.team-card h3 a:hover,
.team-role a:hover {
    color: var(--orange);
}

.team-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--banner-blue);
    text-decoration: none;
    border: 1px solid rgba(0, 71, 152, 0.25);
    border-radius: 999px;
    padding: 4px 14px;
    transition: var(--transition-default);
}

.team-read i {
    font-size: 13px;
}

.team-read:hover {
    background: var(--banner-blue);
    color: var(--white);
    border-color: var(--banner-blue);
}

.team-card p {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 17px;
    color: var(--medium-gray);
    line-height: 1.7;
}

.read-more-btn {
    background: var(--teal);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition-default);
    margin: 12px 0 4px;
    display: inline-block;
    text-decoration: none;
}

.read-more-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27, 162, 155, 0.3);
}

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

/* ===== WELCOME NOTE ===== */
.welcome-section {
    background: var(--light-gray);
    padding: 30px 40px;
}

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

.welcome-content h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 32px;
}

.welcome-content p {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 19px;
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ===== THREE ACTION BOXES ===== */
.action-boxes {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 5px 40px 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.action-box {
    padding: 28px 40px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    color: var(--white);
    transition: var(--transition-default) ease;
    cursor: pointer;
    text-decoration: none;
}

.action-box:nth-child(1) {
    background: linear-gradient(135deg, #1B3B6F 0%, #0B1D3A 100%);
}

.action-box:nth-child(2) {
    background: linear-gradient(135deg, var(--text-muted) 0%, #2F2F2F 100%);
}

.action-box:nth-child(3) {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
}

.action-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.action-box-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
}

.action-box h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.action-box p {
    font-size: 18px;
    opacity: 0.95;
    line-height: 1.6;
}

/* ===== TWO COLUMN SECTIONS ===== */
.two-column-section {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--section-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-column-section.reverse {
    direction: rtl;
}

.two-column-section.reverse > * {
    direction: ltr;
}

.section-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--dark-blue) 100%);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-text h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.section-text p {
    font-size: 16px;
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.section-text ul {
    list-style: none;
    margin: 24px 0;
}

.section-text li {
    font-size: 16px;
    color: var(--medium-gray);
    padding-left: 28px;
    margin-bottom: 14px;
    position: relative;
    line-height: 1.7;
}

.section-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: bold;
    font-size: 18px;
}

.teal-section {
    background: var(--dark-blue);
    color: var(--white);
    padding: 24px 40px;
    margin-bottom: 80px;
}

.teal-section .section-text h2 {
    color: var(--white);
}

.teal-section .section-text p,
.teal-section .section-text li {
    color: rgba(255, 255, 255, 0.95);
}

.teal-section .section-text h2 {
    font-size: 48px;
}

.teal-section .section-text li {
    font-size: 22px;
    line-height: 1.6;
}

.purple-section {
    background: var(--light-gray);
    color: var(--dark-text);
    padding: 32px 40px;
    margin-bottom: 80px;
}

.purple-section .section-text h2 {
    color: var(--dark-blue);
}

.purple-section .section-text p,
.purple-section .section-text li {
    color: var(--medium-gray);
}

.purple-section .section-text h2 {
    font-size: 48px;
}

.purple-section .section-text p {
    font-size: 22px;
    line-height: 1.7;
}

/* ===== LEADERBOARD ===== */
.leaderboard-section {
    background: linear-gradient(135deg, var(--banner-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 80px;
}

.leaderboard-content {
    max-width: 800px;
    margin: 0 auto;
}

.leaderboard-content h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.leaderboard-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 32px;
}

.leaderboard-btn {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 14px 36px;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition-default);
}

.leaderboard-btn:hover {
    background: #E58700;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 146, 0, 0.3);
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
    background: var(--light-gray);
    padding: var(--section-padding);
    text-align: center;
    display: none;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.newsletter-content p {
    font-size: 16px;
    color: var(--medium-gray);
    margin-bottom: 32px;
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.newsletter-form input {
    padding: 14px 16px;
    border: 1px solid var(--input-border);
    border-radius: var(--border-radius-md);
    font-size: 14px;
    font-family: 'Roboto Condensed', sans-serif;
    transition: var(--transition-default);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 8px rgba(27, 162, 155, 0.2);
}

.newsletter-form input::placeholder {
    color: var(--placeholder);
}

.newsletter-email {
    grid-column: 1 / -1;
}

.newsletter-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.newsletter-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.signup-btn {
    background: var(--teal);
    color: var(--white);
    border: none;
    padding: 14px 40px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
    transition: var(--transition-default);
}

.signup-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27, 162, 155, 0.3);
}

/* ===== CONTACT US ===== */
.contact-section {
    padding: var(--section-padding);
    background: #FFFFFF;
}

.contact-section .section-title {
    display: block;
    background: linear-gradient(135deg, var(--banner-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    text-align: left;
    padding: 16px 48px;
    border-radius: 10px;
    margin-bottom: 32px;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-text {
    text-align: center;
    margin-bottom: 32px;
}

.contact-text p {
    font-size: 20px;
    color: var(--medium-gray);
    line-height: 1.8;
}

.contact-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-top: 6px solid var(--orange);
    margin-bottom: 80px;
}

.contact-card h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--banner-blue);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.contact-card p {
    font-size: 20px;
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 4px;
}

.contact-card .contact-name {
    font-size: 26px;
    color: var(--dark-blue);
}

.contact-card p:last-of-type {
    margin-bottom: 0;
}

.contact-card a {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 400;
}

.contact-card a:hover {
    color: var(--orange);
    text-decoration: underline;
}

/* ===== COMMITTEE PAGE ===== */
.committee-section {
    background: var(--light-gray);
    padding: 30px 0;
}

.committee-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 30px 40px 80px;
}

/* ===== PLACES TO VISIT ===== */
.places-hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--banner-blue) 100%);
    padding: 64px 40px;
    text-align: center;
}

.places-hero h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.places-hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.places-hero .hero-writeup {
    font-size: 17px;
    max-width: 920px;
    margin: 16px auto 0;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.places-category {
    padding: 10px 40px;
    background: var(--white);
    margin: 0;
}

.places-category:not(:last-child) {
    padding-bottom: 0;
}

.places-bg-teal { background: var(--white); }
.places-bg-purple { background: var(--white); }
.places-bg-blue { background: var(--white); }

.places-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.places-category-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: var(--dark-blue);
    margin: 0 0 8px 0;
}

.places-category-intro {
    font-size: 20px;
    color: var(--medium-gray);
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.places-category-title.places-white { color: var(--dark-blue); }
.places-category-intro.places-white { color: var(--medium-gray); }

.places-subtitle {
    font-weight: 400;
    font-size: 32px;
    opacity: 0.85;
}

.places-small { font-size: 18px; opacity: 0.8; }

.places-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.places-grid-2 { grid-template-columns: repeat(2, 1fr); }
.places-grid-3 { grid-template-columns: repeat(3, 1fr); }

.place-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: var(--transition-default) ease;
}

.place-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.place-image {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.place-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.place-card:hover .place-image img {
    transform: scale(1.05);
}

.place-content {
    padding: 24px;
}

.place-content h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.place-content p {
    font-size: 16px;
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 8px;
}

.place-content p:last-child { margin-bottom: 0; }

.place-distance {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 10px;
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 60px 40px 30px;
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--gap-lg);
    margin-bottom: var(--gap-lg);
    padding-bottom: var(--gap-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--orange);
}

.footer-section p,
.footer-section a {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--orange);
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

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

.social-icons a:hover {
    background: var(--orange);
    color: var(--dark-blue);
}

.footer-bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-top: 20px;
    text-align: center;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-link {
    color: inherit;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-content {
        padding: 16px 20px;
        flex-direction: column;
        gap: 12px;
    }

    .header-left {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 16px;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        order: 3;
    }

    nav.nav-open {
        display: flex;
    }

    nav a {
        padding: 14px 16px;
        width: 100%;
        color: var(--white);
        text-decoration: none;
        text-align: left;
        font-size: 15px;
        transition: background-color 0.2s ease;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    nav a:active {
        background-color: rgba(0, 0, 0, 0.1);
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        display: none;
        margin-top: 0;
        box-shadow: none;
        padding: 0;
        background-color: rgba(0, 0, 0, 0.1);
        border-left: 3px solid rgba(255, 255, 255, 0.2);
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-menu a {
        padding: 12px 16px 12px 32px;
        display: block;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.9);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: background-color 0.2s ease, padding-left 0.2s ease;
    }

    .dropdown-menu a:last-child {
        border-bottom: none;
    }

    .dropdown-menu a:active {
        background-color: rgba(0, 0, 0, 0.15);
        padding-left: 36px;
    }

/* On touch devices only the .open class (JS-controlled) should reveal the menu — :hover/:focus-within stick after a tap and prevent closing */
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    display: none;
}

.nav-dropdown.open .dropdown-menu {
    display: block;
}

    .associated-logo {
        height: 60px;
        width: auto;
    }

    .hero {
        display: block;
        min-height: 0;
    }

    /* Match the banner artwork's real aspect ratio (1440x540) so the
       full image shows at any mobile width instead of getting cropped
       by background-size: cover in a too-short container. Plain block
       stacking (rather than CSS grid auto-row sizing) is used here so
       the banner's height is reliable even when .hero-content is hidden. */
    .hero-banner {
        width: 100%;
        min-height: 0;
        aspect-ratio: 1440 / 540;
    }

    .hero-content {
        width: 100%;
        padding: 60px 30px;
        word-wrap: break-word;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 42px;
        margin-bottom: 40px;
    }

    .two-column-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 20px;
    }

    .two-column-section.reverse {
        direction: ltr;
    }

    .section-image {
        height: 300px;
    }

    .section-text h2 {
        font-size: 28px;
    }

    .action-boxes {
        padding: 60px 20px;
        gap: 24px;
    }

    .action-box {
        padding: 36px 24px;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .newsletter-email {
        grid-column: 1;
    }

    .team-compact .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .places-hero { padding-top: 16px; padding-bottom: 16px; }
    .places-hero h1 { font-size: 36px; }
    .places-hero p { font-size: 17px; }
    .places-grid { grid-template-columns: 1fr; }
    .places-category-title { font-size: 32px; }
    .places-category-title .places-subtitle { font-size: 24px; }

    .top-banner {
        font-size: 12px;
        padding: 8px 16px;
    }
}

/* ===== SCROLL REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: scale(0.94) translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: opacity, transform;
}

.reveal.in-view {
    opacity: 1;
    transform: scale(1) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== COMMITTEE MEMBERS PAGE ===== */
.committee-widget {
    background: var(--white);
}

.committee-widget .controls-bar {
    position: static;
    top: auto;
    z-index: 1;
}

/* ===== MESSAGE PAGES ===== */
.message-section {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.message-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    padding: 48px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: start;
}

.message-photo {
    text-align: center;
    position: sticky;
    top: 130px;
}

.message-photo img {
    width: 100%;
    max-width: 260px;
    height: auto;
    border-radius: 18px;
    border: 3px solid var(--banner-blue);
}

.message-photo h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 24px;
    color: var(--dark-blue);
    margin: 18px 0 4px;
}

.message-photo .team-role {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: var(--teal);
}

.message-body h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 34px;
    color: var(--dark-blue);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--orange);
}

.message-body p {
    font-size: 20px;
    line-height: 1.9;
    color: var(--medium-gray);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .message-card {
        grid-template-columns: 1fr;
        padding: 28px;
        gap: 28px;
    }
    .message-photo {
        position: static;
    }
    .message-body h2 {
        font-size: 28px;
    }
}

/* ===== HIGHLIGHTS PAGE ===== */
.highlights-section {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.highlights-intro {
    font-size: 18px;
    line-height: 1.9;
    color: var(--medium-gray);
    background: var(--light-gray);
    border-left: 5px solid var(--teal);
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    padding: 24px 32px;
    margin-bottom: 48px;
}

.highlights-subtitle {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 48px 0 24px;
    padding-left: 16px;
    border-left: 6px solid var(--orange);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.program-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 28px;
    transition: var(--transition-default) ease;
}

.program-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: var(--teal);
}

.program-card .card-icon {
    font-size: 34px;
    margin-bottom: 12px;
}

.program-card h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 22px;
    color: var(--dark-blue);
    margin-bottom: 16px;
}

.program-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-card li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--medium-gray);
}

.program-card li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

.program-card > a {
    display: block;
    text-decoration: none;
}

.program-card a {
    text-decoration: none;
}

.program-thumb {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: var(--light-gray);
    display: block;
}

.program-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.highlight-box {
    background: #F0F7F7;
    border-radius: var(--border-radius-lg);
    padding: 28px 32px;
    margin-bottom: 28px;
}

.highlight-box p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--medium-gray);
    margin-bottom: 12px;
}

.highlight-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-box li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--medium-gray);
}

.highlight-box li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
}

.note {
    background: #FFF6E5;
    border-left: 5px solid var(--orange);
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    padding: 22px 28px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--medium-gray);
}

.guidelines-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.guidelines-nav a {
    padding: 10px 22px;
    border: 2px solid var(--white);
    border-radius: 999px;
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition-default);
}

.guidelines-nav a:hover,
.guidelines-nav a.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.guidelines-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.guidelines-cta {
    text-align: center;
    margin-top: 40px;
}

.guidelines-related-links {
    margin: 12px 0 24px;
}

.guidelines-related-links p {
    margin: 8px 0;
}

.guidelines-related-links a {
    color: var(--dark-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.guidelines-related-links a:hover {
    color: var(--teal-dark);
}

@media (max-width: 768px) {
    .highlights-section { padding: 40px 20px 60px; }
    .highlights-subtitle { font-size: 26px; }
    .program-grid { grid-template-columns: 1fr; }
}
/* Contact Page Styles */
.contact-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    max-width: 100%;
    margin: 0 auto;
}
.contact-info {
    flex: 1.2 1.2 auto;
}
.contact-image {
    text-align: center;
    overflow: hidden;
    border-radius: 0;
}

.contact-image img {
    width: auto;
    height: auto;
    max-width: 50%;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(11,31,58,0.15);
}

/* 70/30 Layout for new Rajendran panel */
.contact-wrapper-70-30 {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    max-width: 100%;
    margin: 0 auto;
}

.contact-info-70 {
    flex: 0 0 70%;
}

.contact-image-30 {
    flex: 0 0 30%;
    text-align: center;
    overflow: hidden;
    border-radius: 20px;
}

.contact-image-30 img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(11,31,58,0.15);
}

/* Separate CSS for Numero Technologies Logo (5th child - 3rd contact-card) */
.contact-card:nth-child(5) .contact-image {
    flex: 0 0 auto;
    text-align: center;
}

.contact-card:nth-child(5) .contact-image img {
    width: auto;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

/* Separate CSS for B2B Hospitality Logo (6th child - 4th contact-card) */
.contact-card:nth-child(6) .contact-image {
    flex: 0 0 auto;
    text-align: center;
}

.contact-card:nth-child(6) .contact-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

/* Separate CSS for Medivision Logo (7th child - 5th contact-card) */
.contact-card:nth-child(7) .contact-image {
    flex: 0 0 auto;
    text-align: center;
}

.contact-card:nth-child(7) .contact-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
}

.tech-support-section {
    margin-top: 60px;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 12px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.tech-support-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.tech-support-logo {
    flex: 0 0 200px;
    text-align: center;
}
.tech-support-logo img {
    width: 100%;
    height: auto;
    max-width: 180px;
}
.accommodation-logo {
    flex: 0 0 100px;
}
.accommodation-logo img {
    max-width: 90px;
}
.event-manager-logo {
    margin-top: 20px;
}
.tech-support-info {
    flex: 1;
}
.tech-support-info h3 {
    color: var(--navy-dark);
    font-size: 31px;
    margin-top: 0;
    margin-bottom: 16px;
}
.tech-support-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 21px;
}
.support-category {
    margin-top: 16px;
    margin-bottom: 16px;
}
.support-category strong {
    color: var(--navy-dark);
    display: block;
    margin-bottom: 8px;
    font-size: 21px;
}
.support-category p {
    margin: 4px 0;
    padding-left: 16px;
    font-size: 21px;
}
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
        gap: 24px;
    }
    .contact-image {
        flex: 0 0 auto;
        max-width: 250px;
        margin: 0 auto;
    }
    .tech-support-wrapper {
        flex-direction: column;
        gap: 24px;
    }
    .tech-support-logo {
        flex: 0 0 auto;
        max-width: 150px;
        margin: 0 auto;
    }
}
  :root {
    --navy: var(--navy-dark);
    --navy-mid: var(--navy-light);
    --navy-light: #2A4D7A;
    --gold: var(--accent-brown);
    --gold-light: #E8B84B;
    --gold-pale: var(--accent-brown-light);
    --teal: #1B6B72;
    --teal-light: #E6F4F5;
    --rose: #8B3A52;
    --rose-light: #F7EEF1;
    --slate: var(--gray-medium);
    --slate-light: #EEF2F7;
    --white: #FFFFFF;
    --bg: #F4F6FA;
    --border: rgba(11,31,58,0.1);
    --border-strong: rgba(11,31,58,0.2);
    --text: var(--navy-dark);
    --text-mid: var(--text-secondary);
    --text-soft: #6B7E94;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 2px 12px rgba(11,31,58,0.08);
    --shadow-hover: 0 6px 24px rgba(11,31,58,0.14);
  }

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

  .committee-widget {
    font-family: 'Roboto Condensed', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    font-size: 15px;
    line-height: 1.6;
  }

  /* HEADER */
  .page-header {
    background: var(--navy);
    padding: 48px 40px 40px;
    position: relative;
    overflow: hidden;
  }
  .page-header::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: rgba(200,146,42,0.08);
    pointer-events: none;
  }
  .page-header::after {
    content: '';
    position: absolute;
    bottom: -60px; left: 30%;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(27,107,114,0.1);
    pointer-events: none;
  }
  .header-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
  .header-kicker {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 10px;
  }
  .header-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 38px;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 10px;
  }
  .header-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 32px;
    font-weight: 300;
  }
  .header-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
  }
  .stat-item { text-align: left; }
  .stat-num {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 28px;
    color: var(--gold-light);
    line-height: 1;
  }
  .stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 400;
  }
  .stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.12);
    align-self: stretch;
  }

  /* CONTROLS */
  .controls-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(11,31,58,0.06);
  }
  .controls-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
  }
  .search-wrap {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 320px;
  }
  .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-soft);
    pointer-events: none;
    font-size: 16px;
  }
  .search-input {
    width: 100%;
    padding: 9px 12px 9px 36px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .search-input:focus {
    border-color: var(--navy-light);
    box-shadow: 0 0 0 3px rgba(11,31,58,0.08);
    background: var(--white);
  }
  .search-input::placeholder { color: var(--text-soft);
    padding-left: 20px;
}

  .filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
  }
  .filter-label {
    font-size: 12px;
    color: var(--text-soft);
    font-weight: 500;
    margin-right: 4px;
    white-space: nowrap;
  }
  .filter-btn {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-strong);
    background: transparent;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 13px;
    color: var(--text-mid);
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
    font-weight: 400;
  }
  .filter-btn:hover { background: var(--bg); border-color: var(--navy-light); color: var(--navy); }
  .filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); font-weight: 500; }

  /* MAIN CONTENT */
  .main { max-width: 1100px; margin: 0 auto; padding: 32px 40px 60px; }

  /* SECTION */
  .committee-section {
    margin-bottom: 48px;
    animation: fadeUp 0.4s ease both;
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border);
    vertical-align: middle;
  }
  .section-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
  }
  .section-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 30px;
    color: var(--navy);
    flex: 1;
  }
  .section-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.04em;
  }

  /* ROLE GROUP within committee */
  .role-group { margin-bottom: 20px; }
  .role-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 10px;
    padding-left: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .role-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
  }

  /* CARDS GRID */
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
  }
  .member-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }
  .member-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-strong);
  }
  .member-card.hidden { display: none; }
  .card-top { display: flex; align-items: center; gap: 10px; }

  .avatar-wrap {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
  }

  .avatar-img {
    width: 100%;
    height: 100%;
    min-width: 120px;
    min-height: 120px;
    max-width: 120px;
    max-height: 120px;
    object-fit: cover;
    object-position: top;
    border-radius: 16px;
    border: 1px solid #D3D3D3;
  }

  .avatar {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    flex-shrink: 0;
    letter-spacing: 0.02em;
  }
  .card-name-wrap { width: 100%; }
  .card-name {
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
  }
  .card-role-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 4px;
    letter-spacing: 0.03em;
  }

  /* Committee color themes */
  /* National Advisors */
  .theme-advisor .section-icon { background: var(--accent-brown-light); color: var(--accent-brown); }
  .theme-advisor .section-badge { background: var(--accent-brown-light); color: var(--accent-brown-dark); }
  .theme-advisor .section-header { border-color: #E8B84B40; }
  .theme-advisor .avatar { background: var(--accent-brown-light); color: var(--accent-brown-dark); }
  .theme-advisor .card-role-tag { background: var(--accent-brown-light); color: var(--accent-brown-dark); }

  /* Patrons */
  .theme-patron .section-icon { background: #F7EEF1; color: #8B3A52; }
  .theme-patron .section-badge { background: #F7EEF1; color: #6B2A3E; }
  .theme-patron .section-header { border-color: #8B3A5240; }
  .theme-patron .avatar { background: #F7EEF1; color: #6B2A3E; }
  .theme-patron .card-role-tag { background: #F7EEF1; color: #6B2A3E; }

  /* State Advisors */
  .theme-state .section-icon { background: #EEF2F7; color: var(--text-secondary); }
  .theme-state .section-badge { background: #EEF2F7; color: #2A3D53; }
  .theme-state .section-header { border-color: var(--gray-medium)40; }
  .theme-state .avatar { background: #EEF2F7; color: #2A3D53; }
  .theme-state .card-role-tag { background: #EEF2F7; color: #2A3D53; }

  /* Scientific */
  .theme-scientific .section-icon { background: #E8EDF8; color: #2A4D7A; }
  .theme-scientific .section-badge { background: #E8EDF8; color: var(--navy-light); }
  .theme-scientific .section-header { border-color: #2A4D7A40; }
  .theme-scientific .avatar { background: #E8EDF8; color: var(--navy-light); }
  .theme-scientific .card-role-tag { background: #E8EDF8; color: var(--navy-light); }

  /* Workshop */
  .theme-workshop .section-icon { background: #E6F4F5; color: #1B6B72; }
  .theme-workshop .section-badge { background: #E6F4F5; color: #0F5258; }
  .theme-workshop .section-header { border-color: #1B6B7240; }
  .theme-workshop .avatar { background: #E6F4F5; color: #0F5258; }
  .theme-workshop .card-role-tag { background: #E6F4F5; color: #0F5258; }

  /* Finance */
  .theme-finance .section-icon { background: #EBF5EB; color: #276827; }
  .theme-finance .section-badge { background: #EBF5EB; color: #1A501A; }
  .theme-finance .section-header { border-color: #27682740; }
  .theme-finance .avatar { background: #EBF5EB; color: #1A501A; }
  .theme-finance .card-role-tag { background: #EBF5EB; color: #1A501A; }

  /* Paper */
  .theme-paper .section-icon { background: #F3EBF7; color: #6B3A8B; }
  .theme-paper .section-badge { background: #F3EBF7; color: #4E2A6E; }
  .theme-paper .section-header { border-color: #6B3A8B40; }
  .theme-paper .avatar { background: #F3EBF7; color: #4E2A6E; }
  .theme-paper .card-role-tag { background: #F3EBF7; color: #4E2A6E; }


/* Hall */
  .theme-hall .section-icon { background: #F7EEF1; color: #8B3A52; }
  .theme-hall .section-badge { background: #F7EEF1; color: #6B2A3E; }
  .theme-hall .section-header { border-color: #8B3A5240; }
  .theme-hall .avatar { background: #F7EEF1; color: #6B2A3E; }
  .theme-hall .card-role-tag { background: #F7EEF1; color: #6B2A3E; }


  /* Accommodation */
  .theme-accommodation .section-icon { background: var(--accent-brown-light); color: var(--accent-brown); }
  .theme-accommodation .section-badge { background: var(--accent-brown-light); color: var(--accent-brown-dark); }
  .theme-accommodation .section-header { border-color: #E8B84B40; }
  .theme-accommodation .avatar { background: var(--accent-brown-light); color: var(--accent-brown-dark); }
  .theme-accommodation .card-role-tag { background: var(--accent-brown-light); color: var(--accent-brown-dark); }



  /* Registration */
  .theme-registration .section-icon { background: #E8EDF8; color: #2A4D7A; }
  .theme-registration .section-badge { background: #E8EDF8; color: var(--navy-light); }
  .theme-registration .section-header { border-color: #2A4D7A40; }
  .theme-registration .avatar { background: #E8EDF8; color: var(--navy-light); }
  .theme-registration .card-role-tag { background: #E8EDF8; color: var(--navy-light); }




   /* Reception */
  .theme-reception .section-icon { background: #E6F4F5; color: #1B6B72; }
  .theme-reception .section-badge { background: #E6F4F5; color: #0F5258; }
  .theme-reception .section-header { border-color: #1B6B7240; }
  .theme-reception .avatar { background: #E6F4F5; color: #0F5258; }
  .theme-reception .card-role-tag { background: #E6F4F5; color: #0F5258; }



/* Cultural */
  .theme-cultural .section-icon { background: #EBF5EB; color: #276827; }
  .theme-cultural .section-badge { background: #EBF5EB; color: #1A501A; }
  .theme-cultural .section-header { border-color: #27682740; }
  .theme-cultural .avatar { background: #EBF5EB; color: #1A501A; }
  .theme-cultural .card-role-tag { background: #EBF5EB; color: #1A501A; }


  /* Media */
  .theme-media .section-icon { background: #F3EBF7; color: #6B3A8B; }
  .theme-media .section-badge { background: #F3EBF7; color: #4E2A6E; }
  .theme-media .section-header { border-color: #6B3A8B40; }
  .theme-media .avatar { background: #F3EBF7; color: #4E2A6E; }
  .theme-media .card-role-tag { background: #F3EBF7; color: #4E2A6E; }



/* Exhibition */
  .theme-exhibition .section-icon { background: #F7EEF1; color: #8B3A52; }
  .theme-exhibition .section-badge { background: #F7EEF1; color: #6B2A3E; }
  .theme-exhibition .section-header { border-color: #8B3A5240; }
  .theme-exhibition .avatar { background: #F7EEF1; color: #6B2A3E; }
  .theme-exhibition .card-role-tag { background: #F7EEF1; color: #6B2A3E; }




  /* Sports */
  .theme-sports .section-icon { background: var(--accent-brown-light); color: var(--accent-brown); }
  .theme-sports .section-badge { background: var(--accent-brown-light); color: var(--accent-brown-dark); }
  .theme-sports .section-header { border-color: #E8B84B40; }
  .theme-sports .avatar { background: var(--accent-brown-light); color: var(--accent-brown-dark); }
  .theme-sports .card-role-tag { background: var(--accent-brown-light); color: var(--accent-brown-dark); }




  /* Audiovisuals */
  .theme-audiovisuals .section-icon { background: #E8EDF8; color: #2A4D7A; }
  .theme-audiovisuals .section-badge { background: #E8EDF8; color: var(--navy-light); }
  .theme-audiovisuals .section-header { border-color: #2A4D7A40; }
  .theme-audiovisuals .avatar { background: #E8EDF8; color: var(--navy-light); }
  .theme-audiovisuals .card-role-tag { background: #E8EDF8; color: var(--navy-light); }




   /* Memento */
  .theme-memento .section-icon { background: #E6F4F5; color: #1B6B72; }
  .theme-memento .section-badge { background: #E6F4F5; color: #0F5258; }
  .theme-memento .section-header { border-color: #1B6B7240; }
  .theme-memento .avatar { background: #E6F4F5; color: #0F5258; }
  .theme-memento .card-role-tag { background: #E6F4F5; color: #0F5258; }




  /* Food */
  .theme-food .section-icon { background: #EBF5EB; color: #276827; }
  .theme-food .section-badge { background: #EBF5EB; color: #1A501A; }
  .theme-food .section-header { border-color: #27682740; }
  .theme-food .avatar { background: #EBF5EB; color: #1A501A; }
  .theme-food .card-role-tag { background: #EBF5EB; color: #1A501A; }



  /* Safety */
  .theme-safety .section-icon { background: #F3EBF7; color: #6B3A8B; }
  .theme-safety .section-badge { background: #F3EBF7; color: #4E2A6E; }
  .theme-safety .section-header { border-color: #6B3A8B40; }
  .theme-safety .avatar { background: #F3EBF7; color: #4E2A6E; }
  .theme-safety .card-role-tag { background: #F3EBF7; color: #4E2A6E; }


  /* Souvenir */
  .theme-souvenir .section-icon { background: #F7EEF1; color: #8B3A52; }
  .theme-souvenir .section-badge { background: #F7EEF1; color: #6B2A3E; }
  .theme-souvenir .section-header { border-color: #8B3A5240; }
  .theme-souvenir .avatar { background: #F7EEF1; color: #6B2A3E; }
  .theme-souvenir .card-role-tag { background: #F7EEF1; color: #6B2A3E; }


  /* Sustainability */
  .theme-sustainability .section-icon { background: var(--accent-brown-light); color: var(--accent-brown); }
  .theme-sustainability .section-badge { background: var(--accent-brown-light); color: var(--accent-brown-dark); }
  .theme-sustainability .section-header { border-color: #E8B84B40; }
  .theme-sustainability .avatar { background: var(--accent-brown-light); color: var(--accent-brown-dark); }
  .theme-sustainability .card-role-tag { background: var(--accent-brown-light); color: var(--accent-brown-dark); }






  /* Lead role highlight */
  .member-card.is-lead { border-left: 3px solid currentColor; }
  .theme-scientific .member-card.is-lead { border-left-color: #2A4D7A; }
  .theme-workshop .member-card.is-lead { border-left-color: #1B6B72; }
  .theme-finance .member-card.is-lead { border-left-color: #276827; }
  .theme-paper .member-card.is-lead { border-left-color: #6B3A8B; }
  .theme-hall .member-card.is-lead { border-left-color: #8B3A52; }
  .theme-accommodation .member-card.is-lead { border-left-color: var(--accent-brown); }
  .theme-registration .member-card.is-lead { border-left-color: #2A4D7A; }
  .theme-reception .member-card.is-lead { border-left-color: #1B6B72; }
  .theme-cultural .member-card.is-lead { border-left-color: #276827; }
  .theme-media .member-card.is-lead { border-left-color: #6B3A8B; }
  .theme-exhibition .member-card.is-lead { border-left-color: #8B3A52; }
  .theme-sports .member-card.is-lead { border-left-color: var(--accent-brown); }
  .theme-audiovisuals .member-card.is-lead { border-left-color: #2A4D7A; }
  .theme-memento .member-card.is-lead { border-left-color: #1B6B72; }
  .theme-food .member-card.is-lead { border-left-color: #276827; }
  .theme-safety .member-card.is-lead { border-left-color: #276827; }
  .theme-souvenir .member-card.is-lead { border-left-color: #6B3A8B; }
  .theme-sustainability .member-card.is-lead { border-left-color: #8B3A52; }




  /* No results */
  .no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-soft);
    display: none;
  }
  .no-results svg { margin-bottom: 12px; opacity: 0.3; }
  .no-results p { font-size: 16px; margin-bottom: 6px; }
  .no-results small { font-size: 13px; }

  /* Responsive */
  @media (max-width: 640px) {
    .page-header { padding: 32px 20px 28px; }
    .header-title { font-size: 28px; }
    .controls-bar { padding: 12px 20px; }
    .main { padding: 24px 20px 48px; }
    .header-stats { gap: 20px; }
    .cards-grid { grid-template-columns: 1fr; }
  }

  /* Divider between sections */
  .section-divider {
    height: 1px;
    background: linear-gradient(to right, var(--border), transparent);
    margin: 8px 0 40px;
  }

  /* Results count */
  .results-info {
    font-size: 13px;
    color: var(--text-soft);
    padding: 8px 0 0;
    margin-left: auto;
  }

/* Form Accessibility Styles */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #003D82;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-group input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}
.form-group input:focus {
    outline: none;
    border-color: #003D82;
    box-shadow: 0 0 0 3px rgba(0,61,130,0.1);
}

/* ===== MOBILE OPTIMIZATION: Extra Small Devices (375px) ===== */
@media (max-width: 480px) {
    :root {
        --section-padding: 40px 16px;
        --gap-lg: 20px;
    }

    * {
        -webkit-tap-highlight-color: transparent;
    }

    html {
        font-size: 14px;
    }

    body {
        overflow-x: hidden;
    }

    .top-banner {
        padding: 10px 16px;
        font-size: 12px;
        flex-direction: column;
        gap: 8px;
    }

    .banner-countdown {
        font-size: 11px;
        justify-content: center;
    }

    header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .header-content {
        padding: 12px 16px;
        flex-direction: column;
        gap: 12px;
    }

    .header-left {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .logo img {
        max-height: 40px;
    }

    nav {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        order: 3;
    }

    nav a {
        padding: 12px 16px;
        width: 100%;
        font-size: 14px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        transition: background-color 0.2s ease;
    }

    nav a:active {
        background-color: rgba(0, 0, 0, 0.1);
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        padding: 0;
        margin-top: 0;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.1);
        border-left: 3px solid rgba(255, 255, 255, 0.2);
    }

    .dropdown-menu a {
        padding: 11px 16px 11px 32px;
        font-size: 13px;
        display: block;
        color: rgba(255, 255, 255, 0.9);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: background-color 0.2s ease, padding-left 0.2s ease;
    }

    .dropdown-menu a:last-child {
        border-bottom: none;
    }

    .dropdown-menu a:active {
        background-color: rgba(0, 0, 0, 0.15);
        padding-left: 36px;
    }

    .associated-logo {
        max-height: 40px;
        width: auto;
    }

    h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    h2 {
        font-size: 22px;
        line-height: 1.3;
    }

    h3 {
        font-size: 18px;
    }

    .hero {
        min-height: 0;
    }

    .hero-content {
        display: none;
    }

    .section {
        padding: 40px 16px;
    }

    .section-title {
        font-size: 34px;
        margin-bottom: 30px;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px;
    }

    .team-card {
        padding: 16px;
    }

    .team-avatar {
        height: 200px;
    }

    .team-avatar img {
        height: 100%;
    }

    .team-card h3 {
        font-size: 14px;
        margin: 12px 0 6px;
    }

    .team-role {
        font-size: 12px;
    }

    .action-boxes {
        flex-direction: column;
        gap: 16px;
        padding: 40px 16px;
    }

    .action-box {
        padding: 24px 16px;
    }

    .action-box h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .action-box p {
        font-size: 16px;
    }

    .two-column-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 16px;
    }

    .section-image {
        height: 250px;
    }

    .section-text h2 {
        font-size: 22px;
    }

    .section-text p {
        font-size: 14px;
    }

    .section-text ul li {
        font-size: 14px;
        padding-left: 18px;
    }

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

    .form-group {
        width: 100%;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 16px;
    }

    button {
        min-height: 44px;
        min-width: 44px;
        font-size: 14px;
        padding: 12px 16px;
    }

    .signup-btn {
        width: 100%;
    }

    .read-more-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    footer {
        padding: 40px 16px 20px;
    }

    .footer-content {
        gap: 24px;
    }

    .footer-section {
        padding: 0;
    }

    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .footer-section p {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .social-icons {
        gap: 12px;
    }

    .social-icons a {
        width: 36px;
        height: 36px;
    }

    .footer-bottom {
        text-align: center;
        font-size: 12px;
    }

    .footer-link {
        font-size: 12px;
    }

    /* Contact page optimizations */
    .contact-card {
        padding: 20px;
        flex-direction: column;
    }

    .contact-image {
        flex: 0 0 100%;
        height: 200px;
        margin-bottom: 16px;
    }

    .contact-text {
        flex: 1;
    }

    .contact-text h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .contact-text p {
        font-size: 13px;
        margin-bottom: 8px;
    }

    /* Places to visit optimizations */
    .places-hero h1 {
        font-size: 24px;
    }

    .places-hero p {
        font-size: 14px;
    }

    .places-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .places-card {
        padding: 16px;
    }

    .places-card h3 {
        font-size: 16px;
    }

    .places-card p {
        font-size: 13px;
    }

    /* Message card optimizations */
    .message-card {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .message-photo {
        height: 250px;
    }

    .message-body h2 {
        font-size: 20px;
    }

    .message-body p {
        font-size: 18px;
    }

    /* Committee members optimizations */
    .member-card {
        padding: 12px;
    }

    .member-name {
        font-size: 13px;
    }

    .member-role {
        font-size: 12px;
    }

    .photo-container {
        height: 150px;
    }

    /* Highlights optimizations */
    .highlights-intro {
        padding: 16px 20px;
        font-size: 14px;
        margin-bottom: 32px;
    }

    .highlights-subtitle {
        font-size: 20px;
        margin: 32px 0 16px;
        padding-left: 12px;
    }

    .program-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .program-card {
        padding: 16px;
    }

    .program-card h3 {
        font-size: 16px;
    }

    .program-card li {
        font-size: 13px;
        padding-left: 18px;
    }

    /* Sports, events, newsletter pages */
    .ticker-text {
        font-size: 13px;
    }

    .team-compact .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .team-compact .team-card {
        max-width: none;
    }

    .team-compact .team-avatar {
        width: 100%;
        max-width: 150px;
        height: auto;
        aspect-ratio: 1;
    }
}

/* ===== MOBILE OPTIMIZATION: Small Devices (375px) ===== */
@media (max-width: 375px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
    }

    nav a {
        font-size: 13px;
        padding: 10px 12px;
    }

    .top-banner {
        padding: 8px 12px;
        font-size: 11px;
    }

    .section-title {
        font-size: 30px;
    }

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

    .action-boxes {
        padding: 30px 12px;
    }

    .action-box {
        padding: 16px 12px;
    }

    .footer-content {
        gap: 16px;
    }

    .social-icons {
        gap: 8px;
    }

    .social-icons a {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .photo-container {
        height: 120px;
    }
}

/* Consistent header logo sizing across the site. */
header .logo .logo-img,
header .associated-logo {
    height: 96px;
    max-height: none;
    width: auto;
}

@media (max-width: 768px) {
    header .logo .logo-img,
    header .associated-logo {
        height: 64px;
    }
}

/* Shared desktop menu sizing, matching the homepage. */
@media (min-width: 769px) {
    header .header-content,
    header .header-left { gap: 24px; }
    header nav { gap: 16px; padding: 12px 16px; flex-wrap: nowrap; }
    header nav > a,
    header nav > .nav-dropdown > a { font-size: 18px; white-space: nowrap; }
}
