/* About Us Page Styles */

/* Hero Section */
.about-hero {
    position: relative;
    height: 500px;
    background-image: url('../img/about/hero_bg.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Overlay for better text readability */
}

.about-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding-left: 50px;
}

.about-hero h1 {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.4;
    letter-spacing: 1px;
}

.about-hero p {
    font-size: 24px;
    font-weight: 300;
    opacity: 0.9;
}

/* Origin Section */
.about-origin {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.origin-layout {
    display: flex;
    align-items: center;
    gap: 30px;
}

.origin-image {
    flex: 0 0 40%;
    position: relative;
    z-index: 1;
}

.origin-image img {
    width: 100%;
    box-shadow: 20px 20px 0 #0d1520;
    /* Dark blue shadow effect */
}

.origin-text {
    flex: 1;
    padding-bottom: 0px;
}

.origin-text h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 20px;
    position: relative;
    font-weight: 300;
}

.origin-text .desc {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-top: 20px;
}

/* Philosophy Section */
.about-philosophy {
    position: relative;
    padding: 120px 0;
    background-image: url('../img/about/philosophy_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.philosophy-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
}

.philosophy-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #bfa15f;
    /* Gold accent */
    position: relative;
}

.philosophy-card h3 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    font-weight: normal;
}

.philosophy-card h3 span {
    font-size: 60px;
    color: #e0e0e0;
    position: absolute;
    right: 40px;
    top: 20px;
    font-family: serif;
    font-style: italic;
    opacity: 0.5;
}

.philosophy-card p {
    font-size: 16px;
    color: #555;
    margin: 0;
}

.bg-caligraphy {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    font-size: 200px;
    opacity: 0.1;
    font-family: "Kaiti SC", serif;
    pointer-events: none;
    writing-mode: vertical-rl;
}

/* Cooperation Section */
.about-cooperation {
    padding: 100px 0;
    background-color: #fff;
    background-image: url('../img/product/aichat_sec1_bg.png');
    background-size: cover;
    background-position: center;
}

.section-title {
    font-size: 32px;
    color: #222;
    margin-bottom: 20px;
    font-weight: 300;
}

.sub-title {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
    font-weight: normal;
}

.cooperation-text {
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.cooperation-form-box {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s;
    font-weight: 300;
}

.tab-btn:hover {
    color: #bfa15f;
}

.tab-btn.active {
    color: #bfa15f;
    font-weight: 400;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #bfa15f;
}

.form-content {
    display: block;
    animation: fadeIn 0.5s;
}

.form-content.hidden {
    display: none;
}

textarea.form-control {
    height: auto;
    min-height: 100px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 14px;
}

.btn-gold {
    background-color: #bfa15f;
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.btn-gold:hover {
    background-color: #a88d4d;
}

/* Contact Section */
.about-contact {
    padding: 100px 0;
    background-color: #f5f5f5;
}

.contact-info-block {
    margin-top: 40px;
}

.contact-label {
    font-size: 32px;
    color: #222;
    margin-bottom: 20px;
    display: block;
    font-weight: 300;
}

.contact-value {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    font-family: inherit;
    line-height: 1.8;
}

/* Onboarding Flowchart */
.onboarding-flow {
    margin-top: 60px;
    margin-bottom: 40px;
    position: relative;
    padding: 0 20px;
}

.flow-line {
    position: absolute;
    top: 105px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: repeating-linear-gradient(to right, #ccc, #ccc 5px, transparent 5px, transparent 10px);
    z-index: 1;
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.flow-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-icon-box {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #0d1520;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.flow-step:hover .step-icon-box {
    transform: translateY(-5px);
}

.step-dot {
    width: 8px;
    height: 8px;
    background: #0d1520;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px rgba(13, 21, 32, 0.1);
}

.step-text {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-top: 10px;
}

@media (max-width: 991px) {
    .flow-line {
        display: none;
    }

    .flow-steps {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
    }

    .flow-step {
        flex-direction: row;
        gap: 20px;
        text-align: left;
    }

    .step-icon-box {
        margin-bottom: 0;
    }

    .step-dot {
        display: none;
    }

    .step-text {
        max-width: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .origin-layout {
        flex-direction: column;
    }

    .origin-image {
        width: 100%;
        margin-bottom: 40px;
    }

    .philosophy-cards {
        width: 100%;
    }

    .about-hero-content {
        padding: 0 20px;
    }

    .bg-caligraphy {
        display: none;
    }
}