/* =================================================================
   About Us Page Styles (about.css)
   ================================================================= */

/* CSS Variables */
:root {
    --primary-color-light: #8e6ff7;
    --dark-bg-gradient: linear-gradient(145deg, #1d2b4e, #0f172a);
    --light-grey-bg: #f4f6f9;
    --title-color: #333333;
    --text-color-light: #666666;
}

/* General Section Styling */
.about-section {
    padding: 80px 0;
    position: relative; /* For decorations */
    overflow: hidden; /* Hide overflow from decorations */
}

.about-section .section-header {
    margin-bottom: 60px;
}

.bg-light {
    background-color: #f9fafb;
}

/* Section Decorations */
#methodology {
    background: var(--dark-bg-gradient);
    color: #fff;
}

#methodology .section-header p {
    color: rgba(255,255,255,0.8);
}

#methodology h4 {
    color: #fff;
}

#methodology .methodology-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

#methodology .triangle-item {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

#methodology .triangle-item strong {
    color: var(--primary-color-light);
}

#methodology::before, #methodology::after {
    display: none;
}

#endorsements .container {
    position: relative;
    z-index: 1;
}

#endorsements::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(30deg);
    width: 60%;
    height: 120%;
    background-color: white;
    border-radius: 40px;
    opacity: 0.7;
    z-index: 0;
}

#case-studies::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, var(--primary-color-light), transparent);
    border-radius: 50%;
    opacity: 0.3;
}

#social-value {
    background: 
        linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
        url('../images/bg-pattern.svg');
    background-size: cover;
}

/* Hero Section Additions */
.about-hero .subhero-content {
    max-width: 650px;
}

.about-hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.about-hero-stats .stat-item {
    text-align: left;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.about-hero-stats .stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color, #6a44f2);
}

.about-hero-stats .stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color-light);
}

/* Stats Section - 成果数据统计 */
.stats-section {
    padding: 80px 0;
    background-color: var(--light-grey-bg);
}

.stats-header {
    text-align: center;
    margin-bottom: 50px;
}

.stats-header .stats-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 15px;
    position: relative;
}

.stats-header .stats-title .highlight {
    background: linear-gradient(135deg, #8e6ff7 0%, #6a44f2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-header .stats-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color-light), var(--primary-color));
    border-radius: 2px;
}

.stats-subtitle {
    font-size: 1.1rem;
    color: var(--text-color-light);
    max-width: 560px;
    margin: 20px auto 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    align-items: stretch;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(106, 68, 242, 0.12);
}

/* 三维业务矩阵 .matrix-icon 为 3rem，此处略大：3.5rem */
.stat-icon {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 3.5rem;
    color: var(--primary-color-light, #8e6ff7);
    background: linear-gradient(135deg, rgba(142, 111, 247, 0.12) 0%, rgba(106, 68, 242, 0.08) 100%);
    border-radius: 16px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color-light, #8e6ff7);
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-color, #333333);
    margin-top: 12px;
    font-weight: 500;
}

/* Company Intro Section */
.intro-container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.07);
}

.intro-icon {
    font-size: 4rem;
    color: var(--primary-color, #6a44f2);
    margin-top: 10px;
}

.intro-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-color, #333333);
}

/* Business Matrix Section */
.matrix-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.matrix-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}

.matrix-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.matrix-card .matrix-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.matrix-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--title-color);
}

.matrix-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.matrix-list li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.matrix-list li strong {
    color: var(--primary-color, #6a44f2);
}

/* Methodology Section */
.methodology-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.methodology-item {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.methodology-item h4 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.methodology-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    text-align: center;
    flex-wrap: wrap;
}

.methodology-steps span {
    flex: 1;
    position: relative;
    padding: 10px;
}

.methodology-steps span:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

.methodology-triangle {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 20px;
}

.triangle-item {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid var(--primary-color-light);
}

.triangle-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Endorsements Section */
.endorsements-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.endorsement-card {
    background: #f9fafb;
    padding: 30px;
    border-radius: 12px;
}

.endorsement-card h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color-light);
    padding-bottom: 10px;
}

.endorsement-card ul {
    list-style-type: '✓ ';
    padding-left: 20px;
}

.endorsement-card li {
    margin-bottom: 10px;
}

.partners-table {
    width: 100%;
    border-collapse: collapse;
}

.partners-table th, .partners-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.partners-table th {
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    font-weight: 600;
}

/* Case Studies Section */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-study-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.case-study-card:hover {
    transform: scale(1.03);
}

.case-study-card .case-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.case-study-card h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.case-study-card p {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* Founder Section */
.founder-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.founder-video img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.founder-quote blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 25px;
    margin: 0;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
}

.founder-quote footer {
    margin-top: 20px;
    font-weight: 600;
    font-style: normal;
    color: var(--title-color);
}

.founder-quote footer small {
    display: block;
    font-weight: 400;
    color: var(--text-color);
    margin-top: 5px;
}

/* Social Value Section */
.social-value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.social-value-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.social-value-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.social-value-item p {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.social-value-item p strong {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Founder Values Section */
#founder-values {
    background: var(--dark-bg-gradient, linear-gradient(145deg, #0f172a, #1d2b4e));
    color: #fff;
}

#founder-values .founder-quote blockquote {
    color: #fff;
}

#founder-values .founder-quote footer {
    color: rgba(255,255,255,0.9);
}

#founder-values .founder-quote footer small {
    color: rgba(255,255,255,0.7);
}

/* Stats Section Responsive */
@media (max-width: 992px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-section {
        padding: 50px 0;
    }
    .stats-header {
        margin-bottom: 35px;
    }
    .stats-header .stats-title {
        font-size: 1.8rem;
    }
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .stat-item {
        padding: 25px 15px;
    }
    .stat-icon {
        width: 76px;
        height: 76px;
        font-size: 3rem;
    }
    .stat-number {
        font-size: 2.8rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .endorsements-grid {
        grid-template-columns: 1fr;
    }
    .founder-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .founder-video {
        margin-bottom: 30px;
    }
    .founder-quote blockquote {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    .intro-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .intro-icon {
        margin: 0 auto;
    }
    .methodology-steps {
        flex-direction: column;
        gap: 15px;
    }
    .methodology-steps span:not(:last-child)::after {
        content: '↓';
        right: 50%;
        bottom: -20px;
        top: auto;
        transform: translateX(50%);
    }
    .about-hero-stats {
        justify-content: center;
    }
}


/* =================================================================
   Contact Us Section Styles (contact-us.php)
   ================================================================= */

/* Contact Section Container */
.contact-section {
    padding: 80px 0;
    background-color: #f9fafb;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(106, 68, 242, 0.05) 0%, transparent 70%);
    transform: rotate(30deg);
    z-index: 0;
}

.contact-container {
    position: relative;
    z-index: 1;
}

/* Contact Header */
.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--title-color);
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--text-color-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

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

/* Contact Info Card */
.contact-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--title-color);
    position: relative;
    padding-bottom: 15px;
}

.contact-info-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color-light));
    border-radius: 3px;
}

/* Contact Items */
.contact-items {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 12px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.contact-item:hover {
    background: #e0e7ff;
    transform: translateX(5px);
}

.contact-item-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(106, 68, 242, 0.2);
}

.contact-item-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--title-color);
    font-weight: 600;
}

.contact-item-content p {
    color: var(--text-color-light);
    margin: 0;
    line-height: 1.6;
}

.contact-item-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item-content a:hover {
    color: var(--primary-color-light);
    text-decoration: underline;
}

/* Social Media Section */
.social-section {
    margin-top: 40px;
}

.social-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--title-color);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

/* Social Item */
.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.social-item:hover {
    background: #e0e7ff;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(106, 68, 242, 0.15);
}

.social-qr {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.social-item:hover .social-qr {
    transform: scale(1.05);
}

.social-qr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--title-color);
}

/* Map and Office Section */
.map-office-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

/* Map Container */
.map-container {
    height: 300px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Office Image */
.office-image {
    padding: 30px;
    text-align: center;
    background: #f8f9ff;
}

.office-image h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--title-color);
}

.office-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.map-office-card:hover .office-image img {
    transform: scale(1.03);
}

/* QR Code Modal */
.qr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.qr-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.qr-modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.qr-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color-light);
    transition: color 0.3s ease;
}

.qr-modal-close:hover {
    color: var(--primary-color);
}

.qr-modal-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--title-color);
}

.qr-modal-img {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.qr-modal-content p {
    color: var(--text-color-light);
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .contact-info-card {
        padding: 30px;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .social-qr {
        width: 100px;
        height: 100px;
    }
    
    .map-container {
        height: 250px;
    }
    
    .office-image {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .contact-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-info-card {
        padding: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .contact-item-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}