:root {
    --primary-color: #2176c1;
    --bg-light: #f7fafd;
    --bg-gray: #f8f9fa;
    --secondary-color: #007bff;
}

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 双语支持样式 */
.bilingual .en {
    display: block;
}

.bilingual .zh {
    display: none;
}

html {
    scroll-behavior: smooth;
}

/* 为锚点section添加偏移，避免被固定导航栏遮挡 */
section[id] {
    scroll-margin-top: 80px;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #1a1a1a;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text-en {
    font-size: 16px;
    color: #666;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s ease;
}

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

/* 语言切换按钮样式 */
.language-switch {
    display: flex;
    align-items: center;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid #eee;
}

.lang-btn {
    background: none;
    border: none;
    padding: 5px 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.lang-btn.active {
    color: var(--secondary-color);
    font-weight: 500;
}

.lang-btn:hover {
    color: var(--secondary-color);
}

.divider {
    color: #ddd;
    margin: 0 2px;
    font-size: 14px;
}

.contact-btn {
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    color: white !important;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease !important;
    font-weight: 500;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #1a5f9e, #3a7bc8);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 118, 193, 0.3);
}

/* 公司简介部分 */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 80px;
    position: relative;
}

.hero-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    padding: 0 20px;
}

.hero-left {
    flex: 1;
    padding-right: 60px;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-align: left;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
    text-align: left;
}

.hero-content .subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: left;
}

.hero-content .description {
    font-size: 18px;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 40px;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.image-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.image-placeholder p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

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

.hero-cta {
    text-align: left;
}

.cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.cta-button:hover {
    background: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

/* 滚动指示器样式 */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    margin-top: 8px;
    animation: scroll 2s infinite;
}

.arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrow span {
    width: 2px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    margin: 2px 0;
    animation: arrow 2s infinite;
}

.arrow span:nth-child(1) { animation-delay: 0s; }
.arrow span:nth-child(2) { animation-delay: 0.2s; }
.arrow span:nth-child(3) { animation-delay: 0.4s; }

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

@keyframes arrow {
    0% { opacity: 0; transform: translateY(-10px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(10px); }
}

/* 技术优势部分 */
.advantages-section {
    padding: 80px 0;
    background: var(--bg-gray);
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.pain-points, .our-advantages {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.pain-points h3, .our-advantages h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.pain-points ul, .our-advantages ul {
    list-style: none;
}

.pain-points li, .our-advantages li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.pain-points i {
    color: #dc3545;
    margin-right: 10px;
}

.our-advantages i {
    color: #28a745;
    margin-right: 10px;
}

/* 技术平台简介 */
.tech-platform {
    padding: 80px 0;
    background: var(--bg-gray);
}

.tech-platform-desc {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #333;
}

.tech-platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.tech-platform-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-platform-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.tech-platform-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #0056b3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.tech-platform-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.tech-platform-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* 现代公司新闻区 */
.news-modern {
    background: var(--bg-light);
    padding: 80px 0;
}
.news-container {
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 48px;
}
.news-left {
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 10px;
}
.news-logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: #2a7db8;
    margin-bottom: 10px;
}
.news-logo-icon {
    font-size: 2.2rem;
    margin-right: 10px;
    color: #f5a623;
}
.news-logo-text {
    font-size: 1.3rem;
    color: #2a7db8;
    font-weight: 700;
}
.news-title-main {
    font-size: 1.5rem;
    color: #222;
    letter-spacing: 2px;
    font-weight: 600;
    margin-left: 2px;
}
.news-list-modern {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}
.news-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(42,125,184,0.08);
    padding: 32px 36px;
    text-decoration: none;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
}
.news-card:hover {
    box-shadow: 0 8px 32px rgba(42,125,184,0.16);
    transform: translateY(-4px) scale(1.02);
}
.news-card-title {
    font-size: 1.18rem;
    color: #1a2a3a;
    font-weight: 600;
    flex: 1;
}
.news-card-meta {
    color: #f5a623;
    font-size: 1rem;
    margin-left: 32px;
    min-width: 180px;
    text-align: right;
}
.news-card-arrow {
    margin-left: 32px;
}
.news-card-arrow span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #eaf2fb;
    border-radius: 50%;
    color: #2a7db8;
    font-size: 1.5rem;
    transition: background 0.3s, color 0.3s;
}
.news-card:hover .news-card-arrow span {
    background: #2a7db8;
    color: #fff;
}
@media (max-width: 900px) {
    .news-container { flex-direction: column; gap: 24px; }
    .news-left { flex-direction: row; align-items: center; min-width: unset; }
    .news-title-main { margin-left: 16px; }
}
@media (max-width: 600px) {
    .news-modern { padding: 40px 0; }
    .news-card { flex-direction: column; align-items: flex-start; padding: 20px 16px; }
    .news-card-meta, .news-card-arrow { margin-left: 0; margin-top: 12px; }
    .news-card-arrow span { width: 36px; height: 36px; font-size: 1.1rem; }
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .nav-right {
        flex-direction: row;
        width: auto;
        gap: 0;
    }
    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background: #fff;
        box-shadow: 0 8px 32px rgba(0,0,0,0.10);
        border-radius: 0 0 12px 12px;
        flex-direction: column;
        width: 180px;
        display: none;
        z-index: 1001;
        padding: 16px 0;
    }
    .nav-links li {
        margin: 0;
        padding: 12px 24px;
        text-align: left;
    }
    .mobile-menu-button {
        display: block;
    }
    .language-switch {
        margin-left: 0;
        border-left: none;
        padding-left: 0;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    .tech-platform-grid {
        grid-template-columns: 1fr;
    }
    .platform-icons {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    /* Hero section 响应式 */
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }
    .hero-left {
        padding-right: 0;
        margin-bottom: 40px;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-content h1 {
        font-size: 36px;
        text-align: center;
    }
    .hero-content h2 {
        font-size: 28px;
        text-align: center;
    }
    .hero-content .subtitle {
        text-align: center;
    }
    .hero-content .description {
        text-align: center;
    }
    .hero-cta {
        text-align: center;
    }
    .hero-right {
        width: 100%;
    }
    .hero-image {
        max-width: 100%;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .platform-icons {
        grid-template-columns: 1fr;
    }
    .nav-links {
        flex-direction: column;
        text-align: center;
    }
    .nav-links li {
        margin: 5px 0;
    }
    /* Hero section 小屏幕响应式 */
    .hero-content h1 {
        font-size: 28px;
    }
    .hero-content h2 {
        font-size: 22px;
    }
    .hero-content .subtitle {
        font-size: 18px;
    }
    .hero-content .description {
        font-size: 16px;
    }
    .hero-image {
        height: 250px;
    }
    .image-placeholder i {
        font-size: 3rem;
    }
    .image-placeholder p {
        font-size: 1rem;
    }
}

/* 产品管线样式 */
.pipeline-section {
    background: var(--bg-light);
    padding: 40px 0 60px 0;
}
.pipeline-table-wrap {
    overflow-x: auto;
    margin-top: 24px;
}
.pipeline-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 16px;
    background: none;
}
.pipeline-table th, .pipeline-table td {
    background: #fff;
    padding: 16px 8px;
    text-align: center;
    font-size: 1rem;
    border: none;
}
.pipeline-table th {
    color: var(--primary-color);
    font-weight: 700;
    background: #f4f8fb;
    border-radius: 8px 8px 0 0;
}
.pipeline-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #1a2a3a;
    min-width: 180px;
}
.pipeline-moa {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 400;
}
.pipeline-bar {
    width: 60px;
    height: 16px;
    border-radius: 8px;
    background: #e9eef5;
    margin: 0 auto;
}
.pipeline-bar.yellow { background: #ffe082; }
.pipeline-bar.green { background: #7ed957; }
.pipeline-bar.blue { background: #5bb6f9; }
.pipeline-bar.purple { background: #b388ff; }
@media (max-width: 900px) {
    .pipeline-table th, .pipeline-table td { padding: 10px 4px; font-size: 0.95rem; }
    .pipeline-table td:first-child { min-width: 120px; }
}
@media (max-width: 600px) {
    .pipeline-section { padding: 20px 0 30px 0; }
    .pipeline-table th, .pipeline-table td { padding: 8px 2px; font-size: 0.9rem; }
}

/* 技术对照表格样式 */
.tech-compare-section {
    background: var(--bg-light);
    padding: 40px 0 40px 0;
}
.tech-compare-table-wrap {
    overflow-x: auto;
    margin-top: 24px;
}
.tech-compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(42,125,184,0.06);
}
.tech-compare-table th, .tech-compare-table td {
    padding: 16px 8px;
    text-align: center;
    font-size: 1rem;
    border: 1px solid #e0e6ed;
}
.tech-compare-table th {
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 1.08rem;
}
.tech-compare-table td {
    background: #fff;
    color: #222;
    font-weight: 500;
}
.tech-compare-table .yes {
    color: #28a745;
    font-size: 1.2rem;
    font-weight: bold;
}
.tech-compare-table .no {
    color: #dc3545;
    font-size: 1.2rem;
    font-weight: bold;
}
.tech-compare-table td, .tech-compare-table th {
    min-width: 120px;
}
.tech-compare-table td {
    font-size: 1rem;
}
.tech-compare-table td:contains('Limited'),
.tech-compare-table td:contains('Moderate'),
.tech-compare-table td:contains('Variable'),
.tech-compare-table td:contains('High'),
.tech-compare-table td:contains('Lower'),
.tech-compare-table td:contains('Good'),
.tech-compare-table td:contains('Excellent') {
    color: #888;
    font-weight: 500;
}
@media (max-width: 900px) {
    .tech-compare-table th, .tech-compare-table td { padding: 10px 4px; font-size: 0.95rem; }
}
@media (max-width: 600px) {
    .tech-compare-section { padding: 20px 0 20px 0; }
    .tech-compare-table th, .tech-compare-table td { padding: 8px 2px; font-size: 0.9rem; }
}

/* 关于我们时间线样式 */
.about-timeline-section {
    background: var(--bg-light);
    padding: 40px 0 40px 0;
}
.about-timeline-desc {
    max-width: 800px;
    margin: 0 auto 36px auto;
    font-size: 1.08rem;
    color: #333;
    text-align: center;
}
.timeline-wrap {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 0 20px 0;
}
.timeline-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}
.timeline-list::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}
.timeline-list li {
    position: relative;
    margin-bottom: 40px;
    padding-left: 60px;
}
.timeline-date {
    position: absolute;
    left: -10px;
    top: 0;
    width: 80px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.05rem;
    text-align: right;
}
.timeline-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 6px;
}
.timeline-desc {
    font-size: 1rem;
    color: #555;
}
@media (max-width: 600px) {
    .about-timeline-section { padding: 20px 0 20px 0; }
    .timeline-wrap { padding: 10px 0; }
    .timeline-list li { padding-left: 50px; margin-bottom: 28px; }
    .timeline-date { width: 60px; font-size: 0.98rem; }
    .timeline-title { font-size: 1rem; }
    .timeline-desc { font-size: 0.92rem; }
}

/* 优化后的关于我们时间线竖向样式 */
.timeline-vertical { padding-top: 10px; }
.timeline-list-vertical {
    position: relative;
    margin: 0;
    padding: 0;
}
.timeline-list-vertical::before {
    content: '';
    position: absolute;
    left: 44px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}
.timeline-row {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 36px;
    min-height: 60px;
}
.timeline-date {
    width: 90px;
    text-align: right;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.05rem;
    margin-right: 16px;
    flex-shrink: 0;
    line-height: 1.6;
    position: relative;
    left: 0;
}
.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    position: relative;
    left: 0;
    top: 2px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(42,125,184,0.10);
    margin-right: 24px;
}
.timeline-content {
    background: #fafdff;
    border-radius: 8px;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(42,125,184,0.06);
    min-width: 180px;
    max-width: 420px;
    margin-left: 0;
}
.timeline-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 6px;
}
.timeline-desc {
    font-size: 1rem;
    color: #555;
}
@media (max-width: 700px) {
    .timeline-row { flex-direction: column; align-items: flex-start; }
    .timeline-date { text-align: left; margin: 0 0 6px 0; left: 0; }
    .timeline-dot { left: 0; top: 2px; margin-right: 0; }
    .timeline-content { margin-left: 0; max-width: 100%; }
    .timeline-list-vertical::before { left: 44px; }
}

/* 汉堡按钮样式 */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    margin-left: 16px;
    z-index: 1100;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .nav-right {
        flex-direction: row;
        width: auto;
        gap: 0;
    }
    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background: #fff;
        box-shadow: 0 8px 32px rgba(0,0,0,0.10);
        border-radius: 0 0 12px 12px;
        flex-direction: column;
        width: 180px;
        display: none;
        z-index: 1001;
        padding: 16px 0;
    }
    .nav-links li {
        margin: 0;
        padding: 12px 24px;
        text-align: left;
    }
    .mobile-menu-button {
        display: block;
    }
    .language-switch {
        margin-left: 0;
        border-left: none;
        padding-left: 0;
    }
}

#backToTopBtn {
    position: fixed;
    right: 32px;
    bottom: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(33,118,193,0.15);
    font-size: 2rem;
    cursor: pointer;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, box-shadow 0.2s;
}
#backToTopBtn:hover {
    background: #155a8a;
    box-shadow: 0 8px 24px rgba(33,118,193,0.25);
}

.section-title {
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    margin: 8px 0 18px 0;
}

/* 图片放大modal样式 */
#image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.32);
  transition: background 0.2s;
}
#image-modal[style*="display: flex"] {
  display: flex !important;
}
.image-modal-backdrop {
  position: absolute;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.32);
}
.image-modal-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(33,118,193,0.13);
  padding: 18px 18px 32px 18px;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}
#image-modal-img {
  max-width: 80vw;
  max-height: 70vh;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(42,125,184,0.12);
  margin-bottom: 12px;
}
.image-modal-caption {
  font-size: 1rem;
  color: #333;
  margin-bottom: 0;
  text-align: center;
  max-width: 70vw;
  word-break: break-all;
}
.image-modal-close {
  position: absolute;
  top: 8px; right: 16px;
  font-size: 2.2rem;
  color: var(--primary-color);
  cursor: pointer;
  font-weight: bold;
  z-index: 2;
  transition: color 0.2s;
}
.image-modal-close:hover {
  color: #c12a2a;
}
@media (max-width: 600px) {
  .image-modal-content {padding: 8px 2vw 18px 2vw;}
  #image-modal-img {max-width: 98vw; max-height: 60vh;}
  .image-modal-caption {font-size: 0.92rem;}
} 
/* Utility Classes */
.section-bg-light { background: var(--bg-light); padding: 60px 0; }
.section-bg-white { background: #fff; padding: 56px 0 40px 0; }
.flex-wrap-center { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.flex-column-center { display: flex; flex-direction: column; align-items: center; gap: 32px; justify-content: center; }
.text-center-mb24 { text-align: center; margin-bottom: 24px; }
.content-font-large { font-size: 1.1rem; color: #222; line-height: 2; }
