:root {
    /* Brand Colors - based on PDF specification */
    --brand-blue-1: #003366;
    --brand-blue-2: #004488;
    --brand-blue-3: #0055AA;
    --brand-blue-4: #0070E0;
    --brand-blue-5: #0077EE;

    /* Secondary Yellow Colors */
    --yellow-1: #FFD700;
    --yellow-2: #FFE233;
    --yellow-3: #FFEB66;
    --yellow-4: #FFF499;
    --yellow-5: #FFFCCC;

    /* Secondary Red Colors */
    --red-1: #FF4444;
    --red-2: #FF6666;
    --red-3: #FF8888;
    --red-4: #FFAAAA;
    --red-5: #FFCCCC;

    /* Neutral Colors */
    --neutral-title: #333333;
    --neutral-text: #666666;
    --neutral-hint: #999999;
    --neutral-divider: #E0E0E0;
    --neutral-bg: #F5F5F5;

    /* Spacing from grid system */
    --grid-unit: 36px;
    --container-width: 124px;

    /* Original variables maintained for compatibility */
    --primary-blue: var(--brand-blue-1);
    --secondary-blue: var(--brand-blue-4);
    --accent-orange: #FF6835;
    --accent-green: #00A859;
    --white: #FFFFFF;
    --light-gray: var(--neutral-bg);
    --dark-gray: var(--neutral-title);
}

/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Chinese font: Noto Sans SC, English/Numbers: DIN */
    font-family: 'DIN', 'Noto Sans SC', 'Microsoft YaHei', 'SimHei', sans-serif;
}

body {
    color: var(--neutral-text);
    background-color: white;
    line-height: 1.6;
    font-weight: 400;
    font-size: 14px;
}

/* Typography scale */
h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--neutral-title);
}

h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--neutral-title);
}

h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--neutral-title);
}

h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--neutral-title);
}

p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 120px;
    margin-right: 20px;
}

.logo img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 28px;
    color: var(--brand-blue-1);
    margin-bottom: 5px;
    font-weight: 700;
}

.logo-text p {
    font-size: 20px;
    color: var(--brand-blue-4);
    font-weight: 400;
    margin-bottom: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 2rem;
    position: relative;
}

nav a {
    text-decoration: none;
    color: var(--neutral-title);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--brand-blue-4);
}

.header-utils {
    display: flex;
    align-items: center;
}

.login-btn {
    padding: 8px 20px;
    margin-left: 10px;
    border: 1px solid var(--brand-blue-4);
    background-color: var(--brand-blue-4);
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 14px;
}

.login-btn:hover {
    background-color: var(--brand-blue-3);
}

/* Page Content Styles */
.page-content {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 60vh;
}

.page-content h1 {
    color: var(--brand-blue-1);
    margin-bottom: 2rem;
    font-size: 28px;
    text-align: center;
}

.page-content h2 {
    color: var(--brand-blue-1);
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--brand-blue-4);
    font-size: 24px;
}

.page-content h3 {
    color: var(--brand-blue-1);
    margin: 2rem 0 1rem;
    font-size: 18px;
}

.page-content section {
    margin-bottom: 3rem;
}

/* Hero Section */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 112, 224, 0.8)), url('hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 5%;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    color: white;
}

.hero p {
    font-size: 32px;
    margin-bottom: 2rem;
    color: white;
    font-weight: 700;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.cta-primary {
    background-color: var(--brand-blue-4);
    color: white;
}

.cta-primary:hover {
    background-color: var(--brand-blue-3);
}

.cta-secondary {
    background-color: white;
    color: var(--brand-blue-1);
    border: 2px solid white;
}

.cta-secondary:hover {
    background-color: white;
    color: var(--brand-blue-1);
}

/* Stats Section with Wave Animation */
.stats {
    background: linear-gradient(135deg, var(--brand-blue-1) 0%, var(--brand-blue-2) 100%);
    color: white;
    padding: 3rem 5%;
    position: relative;
    overflow: hidden;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item h3 {
    font-size: 28px;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: white;
}

.stat-item p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 0;
    color: white;
}

/* Wave Animation */
@keyframes waveFlow {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.wave-line {
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--red-1) 20%,
            var(--red-1) 80%,
            transparent 100%);
    background-size: 200% 100%;
    animation: waveFlow 3s linear infinite;
    margin: 10px auto;
    width: 80px;
    border-radius: 2px;
}

/* Value Propositions */
.value-props {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--brand-blue-1);
}

.section-title h2 {
    font-size: 24px;
    margin-bottom: 1rem;
    color: var(--brand-blue-1);
}

.section-title p {
    color: var(--neutral-text);
    max-width: 600px;
    margin: 0 auto;
}

.props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.prop-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    background: white;
    border: 1px solid var(--neutral-divider);
}

.prop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.prop-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--brand-blue-4);
}

.prop-card h3 {
    margin-bottom: 1rem;
    color: var(--brand-blue-1);
    font-size: 18px;
}

/* Add this new class specifically for the about page */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1200px) {
    .mission-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }
}

/* News & Events */
.news-events {
    background-color: var(--neutral-bg);
    padding: 4rem 5%;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card,
.event-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.news-card:hover,
.event-card:hover {
    transform: translateY(-5px);
}

.news-img,
.event-img {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.news-content,
.event-content {
    padding: 1.5rem;
}

.news-date,
.event-date {
    color: var(--neutral-hint);
    font-size: 14px;
    margin-bottom: 0.5rem;
}

.news-title,
.event-title {
    margin-bottom: 1rem;
    color: var(--brand-blue-1);
    font-size: 18px;
}

.read-more {
    color: var(--brand-blue-4);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.read-more:hover {
    color: var(--brand-blue-3);
}

/* ===== HORIZONTAL NEWS LAYOUT ===== */
.news-horizontal-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    cursor: pointer;
    display: flex;
    min-height: 180px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-horizontal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.news-horizontal-image {
    width: 250px;
    min-width: 250px;
    height: 180px;
    overflow: hidden;
    background-color: var(--neutral-bg);
    flex-shrink: 0;
}

.news-horizontal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-horizontal-card:hover .news-horizontal-image img {
    transform: scale(1.05);
}

.news-horizontal-image.no-image {
    background: linear-gradient(135deg, var(--brand-blue-1) 0%, var(--brand-blue-4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.news-horizontal-image.no-image::after {
    content: "📰 新闻图片";
}

.news-horizontal-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-horizontal-date {
    font-size: 14px;
    color: var(--neutral-hint);
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.news-horizontal-title {
    font-size: 18px;
    color: var(--neutral-title);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.news-horizontal-category {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f7ff;
    color: var(--brand-blue-4);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 8px;
}

.news-horizontal-summary {
    font-size: 14px;
    color: var(--neutral-text);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Style for external link indicator */
.news-horizontal-link {
    font-size: 12px;
    color: var(--brand-blue-4);
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-horizontal-link::before {
    content: "🔗";
    font-size: 10px;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .news-horizontal-card {
        flex-direction: column;
        min-height: auto;
    }

    .news-horizontal-image {
        width: 100%;
        height: 200px;
        min-width: auto;
    }

    .news-horizontal-content {
        padding: 1rem 1.5rem 1.5rem;
    }
}

/* Members */
.members {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.member-logo {
    height: 120px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 0.5rem 0.5rem;
    font-size: 14px;
    text-align: center;
    border: 1px solid var(--neutral-divider);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.member-logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-blue-4);
    border-radius: 0 0 12px 12px;
}

.member-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 112, 224, 0.15);
}

.member-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--brand-blue-1);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--neutral-divider);
    border-radius: 6px;
    font-size: 16px;
    /* Prevents zoom on iOS */
    font-family: 'DIN', 'Noto Sans SC', sans-serif;
    background-color: white;
    transition: all 0.3s ease;
    min-height: 48px;
    /* Better touch targets */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brand-blue-4);
    box-shadow: 0 0 0 2px rgba(0, 112, 224, 0.1);
}

/* Remove all automatic browser validation styling */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: var(--neutral-divider) !important;
    box-shadow: none !important;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: var(--neutral-divider) !important;
    box-shadow: none !important;
}

/* Footer */
footer {
    background-color: var(--neutral-title);
    color: white;
    padding: 3rem 5% 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1.5fr 2fr;
    gap: 2rem;
}

.footer-services-group {
    display: flex;
    gap: 0.5rem;
}

.footer-services-group .footer-col {    
    min-width: 100px;
}

.footer-col h3 {
    margin-bottom: 1.5rem;
    color: white;
    font-size: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-col a:hover {
    color: white;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
    font-size: 14px;
}

/* Login Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--neutral-hint);
}

.sms-code {
    display: flex;
    gap: 10px;
}

.sms-code input {
    flex: 1;
}

.sms-code button {
    padding: 0.8rem 1rem;
    background-color: var(--brand-blue-4);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
}

.sms-code button:disabled {
    background-color: var(--neutral-hint);
    cursor: not-allowed;
}

/* User Space - Simplified */
.user-space {
    display: none;
}

.user-info {
    background: var(--neutral-bg);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.user-info h2 {
    color: var(--brand-blue-1);
    margin-bottom: 1rem;
}

/* News page specific styles */
.news-container .news-list {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.news-item {
    padding: 24px 30px;
    border-bottom: 1px solid var(--neutral-divider);
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: var(--neutral-bg);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-date {
    font-size: 14px;
    color: var(--neutral-hint);
    margin-bottom: 8px;
    font-weight: 400;
}

.news-title {
    font-size: 18px;
    color: var(--neutral-title);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.news-item:hover .news-title {
    color: var(--brand-blue-4);
}

.news-summary {
    font-size: 14px;
    color: var(--neutral-text);
    line-height: 1.6;
    margin-bottom: 0;
}

.news-category {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f7ff;
    color: var(--brand-blue-4);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 8px;
}

/* Admin page styles */
.admin-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.admin-section {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--neutral-divider);
}

.config-item {
    margin-bottom: 1.5rem;
}

.config-item label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--brand-blue-1);
    font-size: 14px;
}

.config-item input,
.config-item textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--neutral-divider);
    border-radius: 4px;
    font-size: 14px;
    font-family: 'DIN', 'Noto Sans SC', sans-serif;
}

.news-item-admin {
    border: 1px solid var(--neutral-divider);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.login-container {
    max-width: 400px;
    margin: 10% auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hidden {
    display: none;
}

.admin-links {
    text-align: center;
    margin: 2rem 0;
}

/* Service module specific styles */
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.module-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    background: white;
    border: 1px solid var(--neutral-divider);
}

.module-card:hover {
    transform: translateY(-5px);
}

.module-status {
    font-size: 12px;
    font-weight: 500;
    margin-top: 1rem;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
}

/* Contact page specific styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .header-container {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 1rem;
    }

    nav li {
        margin: 0.5rem;
    }

    .hero h1 {
        font-size: 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }

    .page-content {
        padding: 2rem 5%;
    }

    .page-content h1 {
        font-size: 24px;
    }

    .props-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-services-group {
        flex-direction: column;
        gap: 1rem;
    }

    .news-item {
        padding: 20px;
    }

    .news-title {
        font-size: 16px;
    }

    .news-summary {
        font-size: 13px;
    }
}

/* Add DIN font fallback */
@font-face {
    font-family: 'DIN';
    src: local('DIN Alternate'), local('DIN');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DIN';
    src: local('DIN Alternate Bold'), local('DIN-Bold');
    font-weight: bold;
    font-style: normal;
}

/* Particles container for stats section */
#stats-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.stats {
    position: relative;
    overflow: hidden;
}

.org-chart-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.org-chart-title {
    color: var(--brand-blue-1);
    margin-bottom: 2rem;
    font-size: 24px;
    font-weight: 700;
}

.org-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.org-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1200px) {
    .stats-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Contact page specific styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.login-required {
    background: var(--neutral-bg);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    border: 2px dashed var(--neutral-divider);
}

.login-required h3 {
    color: var(--neutral-title);
    margin-bottom: 1rem;
    font-size: 18px;
}

.login-required p {
    color: var(--neutral-text);
    margin-bottom: 1.5rem;
    font-size: 14px;
}

.user-info-prefill {
    background: #f0f7ff;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--brand-blue-4);
}

.user-info-prefill p {
    margin: 0.3rem 0;
    font-size: 13px;
    color: var(--brand-blue-1);
}

.contact-form {
    transition: all 0.3s ease;
}

.contact-form.disabled {
    opacity: 0.6;
    pointer-events: none;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Contact Page Styles */
.login-required {
    background: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px dashed #ddd;
}

.login-required h3 {
    color: #0070e0;
    margin-bottom: 1rem;
}

.login-required p {
    margin: 0.5rem 0;
    color: #666;
}

.user-info-prefill {
    margin-bottom: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Form validation styles */
.form-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: var(--neutral-hint);
}

.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #155724;
}

.error-message {
    display: none;
    font-size: 12px;
    color: var(--red-1);
    margin-top: 5px;
    padding: 5px 8px;
    background: var(--red-5);
    border-radius: 4px;
    border-left: 3px solid var(--red-1);
    animation: fadeIn 0.3s ease;
}

.error-message.visible,
.login-error.error-message {
    display: block !important;
}

/* status update 20251220185002 */

.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Math CAPTCHA Styles */
.captcha-container {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
}

.captcha-challenge {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.captcha-question {
    font-weight: bold;
    color: #0070e0;
    margin: 0 0.5rem;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
}

.captcha-refresh {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    margin-left: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.captcha-refresh:hover {
    background: #f0f0f0;
    border-color: #0070e0;
}

/* Animation for error messages */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Required field indicator */
.form-group label.required::after {
    content: " *";
    color: var(--red-1);
}

#captchaAnswer {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
}

/* ===== FAQ PAGE STYLES ===== */
.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-page-header h1 {
    font-size: 32px;
    color: var(--brand-blue-1);
    margin-bottom: 12px;
    font-weight: 600;
}

.faq-page-header p {
    font-size: 16px;
    color: var(--neutral-text);
    margin: 0;
}

/* FAQ Search Section */
.faq-search-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.faq-search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.faq-search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--neutral-divider);
    border-radius: 8px;
    font-size: 16px;
    font-family: 'DIN', 'Noto Sans SC', sans-serif;
    transition: all 0.3s ease;
}

.faq-search-input:focus {
    border-color: var(--brand-blue-4);
    box-shadow: 0 0 0 3px rgba(0, 112, 224, 0.1);
    outline: none;
}

.faq-search-btn {
    padding: 12px 24px;
    background: var(--brand-blue-4);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.faq-search-btn:hover {
    background: var(--brand-blue-3);
}

.faq-clear-search {
    padding: 12px 16px;
    background: var(--neutral-bg);
    color: var(--neutral-text);
    border: 1px solid var(--neutral-divider);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-clear-search:hover {
    background: var(--neutral-divider);
}

.faq-search-results {
    margin-top: 1rem;
    font-size: 14px;
    color: var(--neutral-text);
}

.faq-search-results span {
    color: var(--brand-blue-4);
    font-weight: 500;
}

/* FAQ Category Filter */
.faq-category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}

.faq-category-btn {
    padding: 8px 16px;
    background: var(--neutral-bg);
    color: var(--neutral-text);
    border: 1px solid var(--neutral-divider);
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-category-btn:hover {
    background: var(--neutral-divider);
}

.faq-category-btn.active {
    background: var(--brand-blue-4);
    color: white;
    border-color: var(--brand-blue-4);
}

/* FAQ List */
.faq-list-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--neutral-divider);
    overflow: hidden;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 24px 30px;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--neutral-bg);
}

.faq-question h3 {
    font-size: 18px;
    color: var(--neutral-title);
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.faq-category-badge {
    background: #f0f7ff;
    color: var(--brand-blue-4);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 16px;
    white-space: nowrap;
}

.faq-toggle {
    color: var(--brand-blue-4);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--neutral-bg);
}

.faq-item.active .faq-answer {
    padding: 24px 30px;
    max-height: 1000px;
}

.faq-answer p {
    font-size: 16px;
    color: var(--neutral-text);
    line-height: 1.6;
    margin: 0;
}

.faq-answer p+p {
    margin-top: 1rem;
}

.faq-no-results {
    text-align: center;
    padding: 3rem;
    color: var(--neutral-text);
}

.faq-no-results p {
    font-size: 16px;
    margin-bottom: 1rem;
}

/* FAQ Loading State */
.faq-loading {
    text-align: center;
    padding: 3rem;
    color: var(--neutral-text);
}

.faq-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--neutral-divider);
    border-top-color: var(--brand-blue-4);
    border-radius: 50%;
    animation: faq-spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes faq-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .faq-question {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-question h3 {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .faq-category-badge {
        margin-bottom: 10px;
    }

    .faq-answer,
    .faq-item.active .faq-answer {
        padding: 20px;
    }

    .faq-search-container {
        flex-direction: column;
    }

    .faq-search-input,
    .faq-search-btn,
    .faq-clear-search {
        width: 100%;
    }
}

/* New button style for light backgrounds */
.cta-outline {
    background-color: transparent;
    color: var(--brand-blue-1);
    border: 2px solid var(--brand-blue-1);
}

.cta-outline:hover {
    background-color: var(--brand-blue-1);
    color: white;
}
