/* AVO - Association of VinFast Owners North America */

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

:root {
    /* VinFast Vehicle Colors - VF8/VF9 Color Palette */
    --vf-crimson-red: #A91E2C;
    --vf-neptune-grey: #7A8691;
    --vf-vinfast-blue: #0F4C99;
    --vf-sunset-orange: #FF6B35;
    --vf-deep-ocean: #1F4D3D;
    --vf-brahminy-white: #F8F8F8;
    --vf-jet-black: #1C1C1C;
    --vf-desat-silver: #C0C5C9;

    /* Legacy colors (maintained for compatibility) */
    --vinfast-blue: var(--vf-vinfast-blue);
    --electric: #00A3FF;
    --adventure: var(--vf-sunset-orange);
    --urban: #2C3E50;
    --light: #F8F9FA;
    --dark: var(--vf-jet-black);
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--urban);
}

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

/* Language Toggle */
.lang-toggle {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 1001;
    background: white;
    border-radius: 20px;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    gap: 5px;
}

.lang-toggle button {
    padding: 5px 15px;
    border: none;
    background: transparent;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.lang-toggle button.active {
    background: var(--vinfast-blue);
    color: white;
}

/* Bilingual text */
[lang="fr"] {
    display: none;
}

body.fr [lang="fr"] {
    display: inline-block;
}

body.fr [lang="en"] {
    display: none;
}

/* Navigation */
nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 2rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--vinfast-blue);
    letter-spacing: 2px;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--adventure);
    font-weight: 500;
    line-height: 1;
}

/* Hamburger Menu for Mobile */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--vinfast-blue);
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.nav-links > a,
.nav-links > .nav-dropdown {
    position: relative;
}

nav a {
    color: var(--urban);
    text-decoration: none;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    display: block;
}

nav a:hover {
    color: var(--vinfast-blue);
    background: rgba(15, 76, 153, 0.05);
}

/* Active Page Highlighting */
nav a.active {
    color: var(--vinfast-blue);
    background: rgba(15, 76, 153, 0.1);
    font-weight: 600;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-dropdown > a::after {
    content: '▾';
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.nav-dropdown:hover > a::after {
    transform: rotate(-180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    min-width: 220px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 0.5rem;
}

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

.dropdown-menu a {
    padding: 0.75rem 1.25rem;
    display: block;
    color: var(--urban);
    border-radius: 0;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background: rgba(15, 76, 153, 0.08);
    color: var(--vinfast-blue);
    padding-left: 1.5rem;
}

/* Join CTA Button */
.btn-join-cta {
    background: linear-gradient(135deg, var(--vf-sunset-orange) 0%, #d93f0b 100%);
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 25px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.btn-join-cta:hover {
    background: linear-gradient(135deg, #d93f0b 0%, var(--vf-sunset-orange) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* Mobile Responsive Navigation */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 300px;
        max-width: 85%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem 0;
        box-shadow: -2px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links > a,
    .nav-links > .nav-dropdown {
        border-bottom: 1px solid #f0f0f0;
    }

    nav a {
        border-radius: 0;
        padding: 1rem 1.5rem;
    }

    .nav-dropdown > a::after {
        margin-left: auto;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(15, 76, 153, 0.03);
        margin: 0;
        padding: 0;
        display: none;
    }

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

    .dropdown-menu a {
        padding-left: 2.5rem;
        font-size: 0.9rem;
    }

    .dropdown-menu a:hover {
        padding-left: 2.75rem;
    }

    .btn-join-cta {
        margin: 1rem 1.5rem;
        text-align: center;
        border-radius: 8px;
    }
}

/* Hero - VinFast Vehicle Color Design */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--vf-vinfast-blue) 0%, var(--vf-deep-ocean) 100%);
    /* Background image will be added here:
    background-image: url('../images/backgrounds/hero.jpg');
    background-size: cover;
    background-position: center;
    */
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: linear-gradient(
        to right,
        var(--vf-crimson-red) 0%,
        var(--vf-crimson-red) 12.5%,
        var(--vf-neptune-grey) 12.5%,
        var(--vf-neptune-grey) 25%,
        var(--vf-vinfast-blue) 25%,
        var(--vf-vinfast-blue) 37.5%,
        var(--vf-sunset-orange) 37.5%,
        var(--vf-sunset-orange) 50%,
        var(--vf-deep-ocean) 50%,
        var(--vf-deep-ocean) 62.5%,
        var(--vf-brahminy-white) 62.5%,
        var(--vf-brahminy-white) 75%,
        var(--vf-jet-black) 75%,
        var(--vf-jet-black) 87.5%,
        var(--vf-desat-silver) 87.5%,
        var(--vf-desat-silver) 100%
    );
    z-index: 10;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 76, 153, 0.8) 0%,
        rgba(31, 77, 61, 0.7) 100%
    );
    /* Adjust opacity when background image is added */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    font-weight: 900;
}

.tagline {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Stats Bar */
.stats-bar {
    background: white;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

.stats-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(
        to right,
        var(--vf-crimson-red) 0%,
        var(--vf-vinfast-blue) 25%,
        var(--vf-sunset-orange) 50%,
        var(--vf-deep-ocean) 75%,
        var(--vf-neptune-grey) 100%
    );
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    /* Colors are now assigned per item via nth-child selectors at the end of CSS */
}

/* Main Content */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

h2 {
    color: var(--dark);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.section-description {
    text-align: center;
    color: var(--urban);
    opacity: 0.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: transform 0.3s;
    border-top: 4px solid var(--vinfast-blue);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.card h3 {
    color: var(--vinfast-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Governance Section */
.governance-section {
    background: var(--light);
    padding: 4rem 2rem;
    position: relative;
}

.governance-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(
        to right,
        var(--vf-crimson-red) 0%,
        var(--vf-crimson-red) 25%,
        var(--vf-vinfast-blue) 25%,
        var(--vf-vinfast-blue) 50%,
        var(--vf-sunset-orange) 50%,
        var(--vf-sunset-orange) 75%,
        var(--vf-deep-ocean) 75%,
        var(--vf-deep-ocean) 100%
    );
}

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

.governance-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

.governance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.governance-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.governance-card h3 {
    color: var(--vinfast-blue);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.governance-card p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

/* Events Section */
.events-section {
    padding: 4rem 2rem;
    background: white;
    position: relative;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(
        to right,
        var(--vf-crimson-red) 0%,
        var(--vf-vinfast-blue) 33.33%,
        var(--vf-sunset-orange) 66.66%,
        var(--vf-deep-ocean) 100%
    );
}

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

.event-card {
    background: var(--light);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-left: 4px solid var(--electric);
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.event-date {
    background: var(--vinfast-blue);
    color: white;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    min-width: 80px;
    flex-shrink: 0;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 900;
}

.event-details {
    flex: 1;
}

.event-details h3 {
    color: var(--vinfast-blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.event-info {
    color: var(--urban);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.event-time,
.event-location {
    margin-right: 1rem;
}

.event-actions {
    margin-top: 1rem;
}

.events-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--vinfast-blue);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin: 0.25rem;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background: #003d99;
}

.btn-outline {
    background: transparent;
    color: var(--vinfast-blue);
    border-color: var(--vinfast-blue);
}

.btn-outline:hover {
    background: var(--vinfast-blue);
    color: white;
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Communities Section */
.communities-section {
    background: var(--light);
    padding: 4rem 2rem;
    position: relative;
}

.communities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(
        to right,
        var(--vf-vinfast-blue) 0%,
        var(--vf-vinfast-blue) 33.33%,
        var(--vf-crimson-red) 33.33%,
        var(--vf-crimson-red) 66.66%,
        var(--vf-sunset-orange) 66.66%,
        var(--vf-sunset-orange) 100%
    );
}

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

.platform {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

.platform:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.platform-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.platform-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--electric);
    margin: 0.5rem 0;
}

.platform h3 {
    color: var(--vinfast-blue);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* Resources Section */
.resources-container {
    max-width: 1200px;
    margin: 2rem auto;
}

.resource-category {
    margin-bottom: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.resource-category:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.category-toggle {
    width: 100%;
    background: linear-gradient(135deg, var(--vf-vinfast-blue), var(--electric));
    color: white;
    border: none;
    padding: 1.5rem 2rem;
    font-size: 1.4rem !important;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: background 0.3s;
    font-family: inherit;
}

.category-toggle span {
    font-size: 1.4rem !important;
}

.category-toggle:hover {
    background: linear-gradient(135deg, var(--electric), var(--vf-vinfast-blue));
}

/* Individual Category Colors */
.category-crimson .category-toggle {
    background: linear-gradient(135deg, var(--vf-crimson-red), #8a1723);
}

.category-crimson .category-toggle:hover {
    background: linear-gradient(135deg, #8a1723, var(--vf-crimson-red));
}

.category-blue .category-toggle {
    background: linear-gradient(135deg, var(--vf-vinfast-blue), var(--electric));
}

.category-blue .category-toggle:hover {
    background: linear-gradient(135deg, var(--electric), var(--vf-vinfast-blue));
}

.category-ocean .category-toggle {
    background: linear-gradient(135deg, var(--vf-deep-ocean), #2d7359);
}

.category-ocean .category-toggle:hover {
    background: linear-gradient(135deg, #2d7359, var(--vf-deep-ocean));
}

.category-sunset .category-toggle {
    background: linear-gradient(135deg, var(--vf-sunset-orange), #ff8555);
}

.category-sunset .category-toggle:hover {
    background: linear-gradient(135deg, #ff8555, var(--vf-sunset-orange));
}

.category-neptune .category-toggle {
    background: linear-gradient(135deg, var(--vf-neptune-grey), #9aa5b0);
}

.category-neptune .category-toggle:hover {
    background: linear-gradient(135deg, #9aa5b0, var(--vf-neptune-grey));
}

.category-jet .category-toggle {
    background: linear-gradient(135deg, var(--vf-jet-black), #3a3a3a);
}

.category-jet .category-toggle:hover {
    background: linear-gradient(135deg, #3a3a3a, var(--vf-jet-black));
}

.category-electric .category-toggle {
    background: linear-gradient(135deg, var(--electric), #4dd4ac);
}

.category-electric .category-toggle:hover {
    background: linear-gradient(135deg, #4dd4ac, var(--electric));
}

.category-silver .category-toggle {
    background: linear-gradient(135deg, var(--vf-desat-silver), #d5dade);
    color: var(--text-color);
}

.category-silver .category-toggle:hover {
    background: linear-gradient(135deg, #d5dade, var(--vf-desat-silver));
}

.category-toggle:active {
    transform: scale(0.99);
}

.toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
    display: inline-block;
    min-width: 1.2rem;
}

.resource-category.collapsed .toggle-icon {
    transform: rotate(0deg);
}

.resources-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    padding: 0 1.5rem;
    background: linear-gradient(to bottom, #fafafa, white);
}

.resource-category.expanded .resources-list {
    max-height: 5000px;
    padding: 1.5rem;
}

.resource-item {
    background: white;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--vf-vinfast-blue);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.resource-item:last-child {
    margin-bottom: 0;
}

.resource-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-left-color: var(--vf-crimson-red);
}

.resource-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.resource-item a:hover {
    color: var(--vf-crimson-red);
}

.item-description {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0.5rem 0 0 0;
    opacity: 0.85;
}

/* Resource Helpful Rating System */
.resource-helpful {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: flex-end;
}

.helpful-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: transparent;
    border: 1px solid var(--vf-neptune-grey);
    border-radius: 20px;
    color: var(--vf-neptune-grey);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.helpful-btn:hover {
    background: var(--vf-vinfast-blue);
    border-color: var(--vf-vinfast-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(15, 76, 153, 0.2);
}

.helpful-btn.voted {
    background: var(--vf-vinfast-blue);
    border-color: var(--vf-vinfast-blue);
    color: white;
    pointer-events: none;
}

.helpful-btn.voted .helpful-icon {
    animation: thumbsUp 0.4s ease;
}

@keyframes thumbsUp {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.helpful-icon {
    font-size: 1rem;
    line-height: 1;
}

.helpful-count {
    font-weight: 600;
    min-width: 1.2rem;
    text-align: center;
}

.attribution {
    text-align: center;
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 3rem;
}

/* Mobile responsive adjustments for resources */
@media (max-width: 768px) {
    .category-toggle {
        font-size: 1.1rem !important;
        padding: 1.25rem 1.5rem;
    }

    .category-toggle span {
        font-size: 1.1rem !important;
    }

    .toggle-icon {
        font-size: 1rem !important;
    }

    .resources-list {
        padding: 1rem;
    }

    .resource-category.expanded .resources-list {
        padding: 1rem;
    }

    .resource-item {
        padding: 1rem;
    }

    .resource-item:hover {
        transform: translateX(4px);
    }
}

/* Membership Section */
.membership-section {
    background: linear-gradient(135deg, var(--vf-sunset-orange), var(--vf-crimson-red));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
}

.membership-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(
        to right,
        var(--vf-brahminy-white) 0%,
        var(--vf-brahminy-white) 20%,
        var(--vf-desat-silver) 20%,
        var(--vf-desat-silver) 40%,
        var(--vf-neptune-grey) 40%,
        var(--vf-neptune-grey) 60%,
        var(--vf-jet-black) 60%,
        var(--vf-jet-black) 80%,
        var(--vf-deep-ocean) 80%,
        var(--vf-deep-ocean) 100%
    );
}

.membership-content {
    max-width: 900px;
    margin: 0 auto;
}

.membership-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.membership-section > div > p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.membership-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.benefit-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

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

.membership-cta .btn {
    background: white;
    color: var(--adventure);
}

.membership-cta .btn:hover {
    background: var(--light);
}

.small-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 3rem 2rem 2rem;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding: 0.3rem 0;
}

.footer-links a:hover {
    color: var(--electric);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .lang-toggle {
        top: auto;
        bottom: 20px;
        right: 10px;
    }

    nav {
        padding: 1rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }

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

    .logo-text {
        font-size: 1.3rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        font-size: 0.85rem;
    }

    nav a {
        padding: 0.5rem 0.75rem;
    }

    .hero {
        padding: 4rem 1.5rem;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

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

    .stat-item strong {
        font-size: 2rem;
    }

    .content-section {
        padding: 3rem 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

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

    .event-card {
        flex-direction: column;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

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

/* VinFast Vehicle Color Panels */
.color-accent-bar {
    height: 8px;
    background: linear-gradient(
        to right,
        var(--vf-crimson-red) 0%,
        var(--vf-crimson-red) 12.5%,
        var(--vf-neptune-grey) 12.5%,
        var(--vf-neptune-grey) 25%,
        var(--vf-vinfast-blue) 25%,
        var(--vf-vinfast-blue) 37.5%,
        var(--vf-sunset-orange) 37.5%,
        var(--vf-sunset-orange) 50%,
        var(--vf-deep-ocean) 50%,
        var(--vf-deep-ocean) 62.5%,
        var(--vf-brahminy-white) 62.5%,
        var(--vf-brahminy-white) 75%,
        var(--vf-jet-black) 75%,
        var(--vf-jet-black) 87.5%,
        var(--vf-desat-silver) 87.5%,
        var(--vf-desat-silver) 100%
    );
}

.color-panel-border-left {
    border-left: 6px solid var(--vf-crimson-red);
}

.color-panel-border-top {
    border-top: 6px solid var(--vf-vinfast-blue);
}

.color-panel-bg-overlay {
    position: relative;
    overflow: hidden;
}

.color-panel-bg-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        var(--vf-vinfast-blue) 0%,
        var(--vf-deep-ocean) 50%,
        var(--vf-neptune-grey) 100%
    );
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.color-panel-bg-overlay > * {
    position: relative;
    z-index: 1;
}

/* Color-coded card borders */
.governance-card:nth-child(1) {
    border-left: 5px solid var(--vf-crimson-red);
}

.governance-card:nth-child(2) {
    border-left: 5px solid var(--vf-vinfast-blue);
}

.governance-card:nth-child(3) {
    border-left: 5px solid var(--vf-sunset-orange);
}

.governance-card:nth-child(4) {
    border-left: 5px solid var(--vf-deep-ocean);
}

/* Event card color accents */
.event-card:nth-child(1) .event-date {
    background: var(--vf-crimson-red);
}

.event-card:nth-child(2) .event-date {
    background: var(--vf-vinfast-blue);
}

.event-card:nth-child(3) .event-date {
    background: var(--vf-sunset-orange);
}

.event-card:nth-child(1) {
    border-left-color: var(--vf-crimson-red);
}

.event-card:nth-child(2) {
    border-left-color: var(--vf-vinfast-blue);
}

.event-card:nth-child(3) {
    border-left-color: var(--vf-sunset-orange);
}

/* Stats with vehicle color accents */
.stat-item:nth-child(1) strong {
    color: var(--vf-crimson-red);
}

.stat-item:nth-child(2) strong {
    color: var(--vf-vinfast-blue);
}

.stat-item:nth-child(3) strong {
    color: var(--vf-sunset-orange);
}

.stat-item:nth-child(4) strong {
    color: var(--vf-deep-ocean);
}

/* Community platform color panels */
.platform:nth-child(1) {
    border-top: 4px solid var(--vf-vinfast-blue);
}

.platform:nth-child(2) {
    border-top: 4px solid var(--vf-crimson-red);
}

.platform:nth-child(3) {
    border-top: 4px solid var(--vf-sunset-orange);
}

/* Board Members Page */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.board-member-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--vf-vinfast-blue);
    text-align: center;
}

.board-member-card:nth-child(1) {
    border-top-color: var(--vf-crimson-red);
}

.board-member-card:nth-child(2) {
    border-top-color: var(--vf-vinfast-blue);
}

.board-member-card:nth-child(3) {
    border-top-color: var(--vf-deep-ocean);
}

.board-member-card:nth-child(4) {
    border-top-color: var(--vf-sunset-orange);
}

.board-member-card:nth-child(5) {
    border-top-color: var(--vf-neptune-grey);
}

.board-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.board-member-photo {
    margin-bottom: 1.5rem;
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--vf-vinfast-blue), var(--vf-deep-ocean));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.board-member-card:nth-child(1) .photo-placeholder {
    background: linear-gradient(135deg, var(--vf-crimson-red), #d02f3d);
}

.board-member-card:nth-child(2) .photo-placeholder {
    background: linear-gradient(135deg, var(--vf-vinfast-blue), #1a5fb3);
}

.board-member-card:nth-child(3) .photo-placeholder {
    background: linear-gradient(135deg, var(--vf-deep-ocean), #2d6b51);
}

.board-member-card:nth-child(4) .photo-placeholder {
    background: linear-gradient(135deg, var(--vf-sunset-orange), #ff8454);
}

.board-member-card:nth-child(5) .photo-placeholder {
    background: linear-gradient(135deg, var(--vf-neptune-grey), #8d9aa6);
}

.initials {
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.board-member-info {
    text-align: center;
}

.board-member-name {
    color: var(--dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.board-member-title {
    color: var(--vf-vinfast-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.board-member-vehicle {
    color: var(--urban);
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.board-member-bio {
    color: var(--urban);
    line-height: 1.6;
    opacity: 0.85;
    font-size: 0.95rem;
}

.board-info-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--light);
}

/* Board member photos - when ready to add real photos */
.board-member-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .board-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .photo-placeholder {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }
}

/* Documents Page */
.documents-section {
    margin-top: 3rem;
}

.document-category {
    margin-bottom: 4rem;
}

.document-category h3 {
    color: var(--dark);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--vf-vinfast-blue);
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.document-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 5px solid var(--vf-vinfast-blue);
    display: flex;
    gap: 1.5rem;
}

.document-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.document-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.document-info {
    flex: 1;
}

.document-title {
    color: var(--dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.document-description {
    color: var(--urban);
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.document-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.document-date {
    color: var(--urban);
    opacity: 0.7;
}

.document-type {
    background: var(--vf-vinfast-blue);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
}

.document-status {
    background: var(--vf-neptune-grey);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
}

.document-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .document-grid {
        grid-template-columns: 1fr;
    }

    .document-card {
        flex-direction: column;
        text-align: center;
    }

    .document-icon {
        font-size: 2.5rem;
    }
}

/* Membership Join Page */
.membership-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: transform 0.3s;
    border-top: 4px solid var(--vf-vinfast-blue);
}

.benefit-card:nth-child(1) {
    border-top-color: var(--vf-crimson-red);
}

.benefit-card:nth-child(2) {
    border-top-color: var(--vf-vinfast-blue);
}

.benefit-card:nth-child(3) {
    border-top-color: var(--vf-sunset-orange);
}

.benefit-card:nth-child(4) {
    border-top-color: var(--vf-deep-ocean);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.benefit-icon-large {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--urban);
    opacity: 0.85;
    font-size: 0.95rem;
}

/* Membership Form */
.membership-form-container {
    max-width: 700px;
    margin: 4rem auto 0;
}

.membership-form {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-top: 6px solid var(--vf-vinfast-blue);
}

.membership-form h3 {
    color: var(--dark);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--vf-vinfast-blue);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-actions {
    margin-top: 2rem;
    text-align: center;
}

.form-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--urban);
    opacity: 0.7;
    text-align: center;
    line-height: 1.6;
}

.form-note a {
    color: var(--vf-vinfast-blue);
    text-decoration: underline;
}

.signup-alternatives {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light);
    border-radius: 12px;
    text-align: center;
}

.signup-alternatives h3 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.signup-alternatives p {
    color: var(--urban);
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .membership-benefits-grid {
        grid-template-columns: 1fr;
    }

    .membership-form {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .signup-alternatives {
        padding: 1.5rem;
    }
}

/* Bylaws Page */
.bylaws-page {
    max-width: 900px;
    margin: 0 auto;
}

.document-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--vf-vinfast-blue);
}

.document-header h1 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.bylaws-content {
    line-height: 1.8;
}

.bylaws-article {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--light);
}

.bylaws-article:last-child {
    border-bottom: none;
}

.bylaws-article h2 {
    color: var(--vf-vinfast-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--vf-vinfast-blue);
}

.bylaws-section {
    margin-bottom: 2.5rem;
}

.bylaws-section h3 {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.bylaws-section p {
    margin-bottom: 1rem;
    color: var(--urban);
}

.bylaws-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.bylaws-section li {
    margin-bottom: 0.75rem;
    color: var(--urban);
}

.bylaws-toc {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    margin: 4rem 0;
}

.bylaws-toc h3 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.bylaws-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bylaws-toc li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.bylaws-toc li:last-child {
    border-bottom: none;
}

/* Privacy Policy Page */
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.privacy-section {
    margin-bottom: 3rem;
}

.privacy-section h2 {
    color: var(--vf-vinfast-blue);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--vf-vinfast-blue);
}

.privacy-section h3 {
    color: var(--dark);
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.privacy-section p {
    margin-bottom: 1rem;
    color: var(--urban);
}

.privacy-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.privacy-section li {
    margin-bottom: 0.75rem;
    color: var(--urban);
}

.contact-info {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--vf-vinfast-blue);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Issue Reporting Page */
.issue-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.issue-type-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: all 0.3s;
    cursor: pointer;
    border-top: 4px solid var(--vf-vinfast-blue);
}

.issue-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.issue-type-card:nth-child(1) {
    border-top-color: var(--vf-crimson-red);
}

.issue-type-card:nth-child(2) {
    border-top-color: var(--vf-vinfast-blue);
}

.issue-type-card:nth-child(3) {
    border-top-color: var(--vf-sunset-orange);
}

.issue-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.issue-type-card h3 {
    color: var(--dark);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.issue-type-card p {
    color: var(--urban);
    opacity: 0.85;
}

.notice-box {
    background: #FFF3CD;
    border-left: 5px solid #FFC107;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.notice-box h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.notice-box p {
    color: #856404;
}

.notice-box a {
    color: #856404;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .issue-types-grid {
        grid-template-columns: 1fr;
    }

    .bylaws-article h2 {
        font-size: 1.6rem;
    }

    .document-header h1 {
        font-size: 2rem;
    }
}
