
:root {
    --primary-color: #E61E15;
    --secondary-color: #333333;
    --dark-bg: #1a1a1a;
    --light-gray: #f8f8f8;
    --text-muted: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

/* Top Bar */
.about-top-bar {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.about-top-bar a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.about-top-bar a:hover {
    color: rgba(255,255,255,0.8);
}

/* Navbar */
.about-navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.about-navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.about-navbar .navbar-brand span {
    color: var(--primary-color);
}

.about-navbar .nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 8px 16px;
    transition: color 0.3s;
}

.about-navbar .nav-link:hover,
.about-navbar .nav-link.active {
    color: var(--primary-color);
}

/* Breadcrumb */
.about-breadcrumb {
    background: var(--light-gray);
    padding: 12px 0;
    margin-bottom: 0;
}

.about-breadcrumb .breadcrumb {
    margin: 0;
    font-size: 14px;
}

.about-breadcrumb .breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
}

.about-breadcrumb .breadcrumb-item.active {
    color: var(--primary-color);
}

/* Banner Section */
.about-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),url('../images/s3.webp') bottom/cover;
}

.about-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-banner-content {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.about-banner-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.about-banner-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

@media (max-width: 767px) {
    .about-banner {
        height: 300px;
    }
    .about-banner-content h3 {
        font-size: 1.5rem;
    }
    .about-banner-content p {
        font-size: 1rem;
    }
}

/* Hero Section */
.about-hero {
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}


.about-hero-content {
    position: relative;
    z-index: 1;
}

.about-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.about-hero .about-tagline {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.about-hero .about-desc {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 900px;
}

.about-hero-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.about-hero-image img {
    width: 100%;
    display: block;
}

/* Section Title */
.about-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.about-section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.about-section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.about-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 20px auto 0;
}

/* Factory Section */
.about-factory {
    padding: 80px 0;
    background: #fff;
}

.about-factory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.about-factory-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-factory-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.about-factory-item img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.about-factory-item .about-factory-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px 20px 20px;
    color: #fff;
}

.about-factory-item .about-factory-name {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Stats Section */
.about-stats {
    background: url(../images/a1.png) no-repeat center center / cover;
    padding: 60px 0;
    color: #fff;
}

.about-stat-item {
    text-align: center;
    padding: 20px;
}

.about-stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.about-stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Advantages Section */
.about-advantages {
    padding: 80px 0;
    background: var(--light-gray);
}

.about-advantage-card {
    background: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.about-advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.about-advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.about-advantage-icon i {
    font-size: 2rem;
    color: #fff;
}

.about-advantage-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.about-advantage-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Certifications Section */
.about-certifications {
    padding: 80px 0;
    background: #fff;
}

.about-cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.about-cert-item {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: transform 0.3s;
    cursor: pointer;
}

.about-cert-item:hover {
    transform: scale(1.05);
}

.about-cert-item img {
    max-width: 100%;
    object-fit: contain;
}

/* Partner Section */
.about-partner {
    padding: 80px 0;
    background: var(--dark-bg);
    color: #fff;
}

.about-partner .about-section-title h2 {
    color: #fff;
}

.about-partner .about-section-title p {
    color: rgba(255,255,255,0.7);
}

.about-partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.about-partner-item {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.about-partner-item:hover {
    transform: translateY(-5px);
}

.about-partner-item img {
    width: 100%;
    object-fit: cover;
}

/* Culture Section */
.about-culture {
    padding: 80px 0;
    background: var(--light-gray);
}

.about-culture-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
}

.about-culture-image {
    overflow: hidden;
}

.about-culture-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.about-culture-card:hover .about-culture-image img {
    transform: scale(1.1);
}

.about-culture-content {
    padding: 30px;
}

.about-culture-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.about-culture-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* CTA Section */
.about-cta {
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

.about-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.about-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.about-cta .btn {
    background: #fff;
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 40px;
    border-radius: 50px;
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: var(--primary-color);
}

/* Footer */
.about-footer {
    background: var(--dark-bg);
    color: #fff;
    padding: 60px 0 30px;
}

.about-footer h5 {
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.about-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.about-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-footer-links li {
    margin-bottom: 12px;
}

.about-footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.about-footer-links a:hover {
    color: var(--primary-color);
}

.about-footer-contact p {
    margin-bottom: 12px;
    color: rgba(255,255,255,0.7);
}

.about-footer-contact i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.about-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 991px) {
    .about-factory-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-cert-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 50px 0;
    }

    .about-hero h1 {
        font-size: 1.4rem;
    }
    .about-factory{padding:0 0 30px;}
    .about-section-title h2 {
        font-size: 1.5rem;
    }

    .about-factory-grid {
        grid-template-columns: 1fr;
    }

    .about-stat-number {
        font-size: 1.5rem;
    }

    .about-cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-partner-grid {
        grid-template-columns: 1fr;
    }
}

/* Lightbox */
.about-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.about-lightbox.active {
    display: flex;
}

.about-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.about-lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.about-lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.about-lightbox-close:hover {
    background: #c4180f;
}

.about-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.about-lightbox-nav:hover {
    background: rgba(255,255,255,0.4);
}

.about-lightbox-prev {
    left: -70px;
}

.about-lightbox-next {
    right: -70px;
}

@media (max-width: 767px) {
    .about-lightbox-prev {
        left: 10px;
    }
    .about-lightbox-next {
        right: 10px;
    }
}
