/* ==================== About Page Styles ==================== */
/* Theme Color: #c8362d */
/* Secondary Color: #e9e5e3 */

/* ==================== Page Header ==================== */

/* ==================== About Intro Section ==================== */
.rongrui-about-intro {
    padding: 100px 0;
    background: #fff;
}

.rongrui-about-intro-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.rongrui-about-intro-content {
    max-width: 600px;
}

.rongrui-about-intro-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #c8362d;
    letter-spacing: 3px;
    margin-bottom: 15px;
    padding: 5px 15px;
    background: rgba(200, 54, 45, 0.1);
    border-radius: 20px;
}

.rongrui-about-intro-title {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 25px;
    line-height: 1.3;
}

.rongrui-about-intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.rongrui-about-intro-features {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9e5e3;
}

.rongrui-about-intro-feature {
    text-align: center;
}

.rongrui-about-intro-feature-num {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #c8362d;
    line-height: 1;
    margin-bottom: 8px;
}

.rongrui-about-intro-feature-text {
    font-size: 14px;
    color: #666;
}

.rongrui-about-intro-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(200, 54, 45, 0.15);
}

.rongrui-about-intro-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.rongrui-about-intro-image:hover img {
    transform: scale(1.05);
}

.rongrui-about-intro-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid #c8362d;
    border-radius: 10px;
    z-index: -1;
}

/* ==================== Company History Section ==================== */
.rongrui-about-history {
    padding: 100px 0;
    background: #e9ebee;
}

.rongrui-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.rongrui-section-title {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.rongrui-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #c8362d;
}

.rongrui-section-subtitle {
    font-size: 16px;
    color: #666;
    margin-top: 20px;
}

.rongrui-about-history-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
}

.rongrui-about-history-prev,
.rongrui-about-history-next {
    width: 44px;
    height: 44px;
    background: #fff;
    border: 2px solid #c8362d;
    border-radius: 50%;
    color: #c8362d;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}

.rongrui-about-history-prev:hover,
.rongrui-about-history-next:hover {
    background: #c8362d;
    color: #fff;
    transform: scale(1.05);
}

.rongrui-about-history-prev:disabled,
.rongrui-about-history-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f5f5f5;
    color: #999;
    border-color: #ddd;
}

.rongrui-about-history-timeline {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.rongrui-about-history-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
	margin-top:10px;
}

.rongrui-about-history-track > a {
    flex-shrink: 0;
    width: calc(25% - 15px);
    height: 100%;
    display: block;
    text-decoration: none;
    color: inherit;
}

.rongrui-about-history-item {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #4b5159;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rongrui-about-history-item.active {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(75, 81, 89, 0.3);
}

.rongrui-about-history-thumb {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.rongrui-about-history-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.rongrui-about-history-track > a:hover .rongrui-about-history-thumb img {
    transform: scale(1.06);
}

.rongrui-about-history-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px 12px;
    text-align: left;
}

.rongrui-about-history-year {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 3px 10px;
    background: rgba(75, 81, 89, 0.9);
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

.rongrui-about-history-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rongrui-about-history-content p {
    flex: 1;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 16px;
}

.rongrui-about-history-more {
    align-self: flex-start;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    transition: all 0.3s ease;
}

.rongrui-about-history-track > a:hover .rongrui-about-history-more {
    background: #fff;
    color: #1e2a4a;
}

.rongrui-about-history-dots {
    display: none;
}

/* ==================== Core Values Section ==================== */
.rongrui-about-values {
    padding: 100px 0;
    background: #fff;
}

.rongrui-about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.rongrui-about-values-card {
    display: block;
    text-decoration: none;
    color: inherit;
    text-align: center;
    padding: 50px 35px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e9e5e3;
    transition: all 0.3s ease;
}

.rongrui-about-values-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(200, 54, 45, 0.1);
    border-color: #c8362d;
}

.rongrui-about-values-icon {
    font-size: 48px;
    margin-bottom: 25px;
}

.rongrui-about-values-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
}

.rongrui-about-values-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* ==================== Factory Section ==================== */
.rongrui-about-factory {
    padding: 100px 0;
    background: #f8f9fa;
}

.rongrui-about-factory-map {
    width: 100%;
    text-align: center;
}

.rongrui-about-factory-map img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

/* ==================== Certifications Section ==================== */
.rongrui-about-certs {
    padding: 100px 0;
    background: #fff;
}

.rongrui-about-certs-slider {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 400px;
    margin: 0 auto;
    perspective: 1200px;
}

.rongrui-about-certs-item {
    display: block;
    text-decoration: none;
    color: inherit;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    height: 360px;
    margin-left: -140px;
    margin-top: -180px;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.6;
    cursor: pointer;
}

.rongrui-about-certs-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.rongrui-about-certs-item.active {
    opacity: 1;
    z-index: 3;
}

.rongrui-about-certs-item.prev-1 {
    transform: translateX(-280px) translateZ(-150px) rotateY(25deg);
}

.rongrui-about-certs-item.prev-2 {
    transform: translateX(-480px) translateZ(-300px) rotateY(40deg);
    opacity: 0.4;
}

.rongrui-about-certs-item.next-1 {
    transform: translateX(280px) translateZ(-150px) rotateY(-25deg);
}

.rongrui-about-certs-item.next-2 {
    transform: translateX(480px) translateZ(-300px) rotateY(-40deg);
    opacity: 0.4;
}

.rongrui-about-certs-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rongrui-about-certs-item.active .rongrui-about-certs-title {
    opacity: 1;
}

.rongrui-about-certs-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #c8362d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(200, 54, 45, 0.4);
    transition: all 0.3s ease;
}

.rongrui-about-certs-btn:hover {
    background: #e26054;
    transform: translateY(-50%) scale(1.1);
}

.rongrui-about-certs-prev {
    left: -60px;
}

.rongrui-about-certs-next {
    right: -60px;
}

/* ==================== Team Section ==================== */
.rongrui-about-team {
    padding: 100px 0;
    background: #f8f9fa;
}

.rongrui-about-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.rongrui-about-team-card {
    text-align: center;
    padding: 40px 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rongrui-about-team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.rongrui-about-team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #e9e5e3;
    transition: border-color 0.3s ease;
}

.rongrui-about-team-card:hover .rongrui-about-team-avatar {
    border-color: #c8362d;
}

.rongrui-about-team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rongrui-about-team-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

.rongrui-about-team-position {
    display: block;
    font-size: 14px;
    color: #c8362d;
    font-weight: 500;
    margin-bottom: 15px;
}

.rongrui-about-team-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ==================== CTA Section ==================== */
.rongrui-about-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #332d31 0%, #6b3630 100%);
    position: relative;
    overflow: hidden;
}

.rongrui-about-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: ctaPulse 4s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.rongrui-about-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.rongrui-about-cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.rongrui-about-cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.rongrui-about-cta-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.rongrui-about-cta-btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #c8362d;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.rongrui-about-cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.rongrui-about-cta-btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.rongrui-about-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1200px) {
    .rongrui-about-factory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rongrui-about-certs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .rongrui-page-header {
        height: 300px;
    }
    
    .rongrui-page-header-title {
        font-size: 36px;
    }
    
    .rongrui-about-intro {
        padding: 60px 0;
    }
    
    .rongrui-about-intro-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .rongrui-about-intro-content {
        max-width: 100%;
        order: 2;
    }
    
    .rongrui-about-intro-image {
        order: 1;
    }
    
    .rongrui-about-intro-title {
        font-size: 28px;
    }
    
    .rongrui-about-intro-features {
        justify-content: center;
    }
    
    .rongrui-about-history-item {
        width: calc(50% - 10px);
    }
    
    .rongrui-about-history-wrapper {
        gap: 10px;
    }
    
    .rongrui-about-history-prev,
    .rongrui-about-history-next {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .rongrui-about-history-year {
        top: 8px;
        right: 8px;
        font-size: 11px;
        padding: 2px 8px;
    }
    
    .rongrui-about-history-thumb {
        height: 160px;
    }
    
    .rongrui-about-history-content {
        padding: 16px;
    }
    
    .rongrui-about-history-content h4 {
        font-size: 16px;
    }
    
    .rongrui-about-history-content p {
        font-size: 12px;
    }
    
    .rongrui-about-values-grid {
        grid-template-columns: 1fr;
    }
    
    .rongrui-about-factory-card {
        width: calc(50% - 12px);
    }
    
    .rongrui-about-factory-wrapper {
        gap: 10px;
    }
    
    .rongrui-about-factory-prev,
    .rongrui-about-factory-next {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .rongrui-about-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rongrui-about-certs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rongrui-section-title {
        font-size: 28px;
    }
    
    .rongrui-about-cta-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .rongrui-page-header {
        height: 250px;
    }
    
    .rongrui-page-header-title {
        font-size: 28px;
    }
    
    .rongrui-about-intro-features {
        flex-direction: column;
        gap: 25px;
    }
    
    .rongrui-about-intro-feature-num {
        font-size: 32px;
    }
    
    .rongrui-about-team-grid {
        grid-template-columns: 1fr;
    }
    
    .rongrui-about-certs-grid {
        grid-template-columns: 1fr;
    }
    
    .rongrui-about-cta-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .rongrui-about-cta-btn-primary,
    .rongrui-about-cta-btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .rongrui-about-intro-title {
        font-size: 24px;
    }
    
    .rongrui-about-history-content h4 {
        font-size: 15px;
    }
    
    .rongrui-about-values-card {
        padding: 35px 25px;
    }
    
    .rongrui-about-factory-info {
        padding: 20px;
    }
    
    .rongrui-about-cta-content h2 {
        font-size: 24px;
    }
    
    .rongrui-about-cta-content p {
        font-size: 16px;
    }
}
