* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    background: #464646;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

h1 {
  color: #ffc107;
}

p {
  color: #b7b7b7;
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background: #333232;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    width: 180px;
    height: auto;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.main-nav a {
    color: #fff;
    font-weight: 600;
    padding: 0.5rem;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ffc107;
}

.hero-carousel {
    position: relative;
    overflow: hidden;
    height: 75vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.slides {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease;
    width: calc(100% * 6);
}

.slide {
    flex: 0 0 100%;
    background-size: cover;
    background-position: center;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.arrow.left {
    left: 1rem;
}

.arrow.right {
    right: 1rem;
}

.dots {
    position: absolute;
    bottom: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(90, 88, 88, 0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #ffc107;
}

.hero-text {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    max-width: 80%;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 2px;
    background: #464646;
    text-align: center;
}

.features h2 {
    margin-bottom: 1rem;
    color: #ffc107;
}

.features p {
    color: #b7b7b7;
}

footer {
    background: #222;
    color: #bbb;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}


.footer-nav {
    margin-top: 0.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.footer-nav a:hover {
    color: #fff;
}

@media(max-width:768px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .arrow {
        font-size: 1.5rem;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        margin-top: 1.5rem;
    }
}


.about-hero {
    position: relative;
    height: 50vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero .hero-text {
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem 2rem;
    border-radius: 5px;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.about-img {
    width: 20%;
    max-width: 480px;
    border-radius: 8px;
    object-fit: cover;
}

.about-text {
    flex: 1;
    color: #444;
    font-size: 1.1rem;
    line-height: 1.6;
}

.chi-hero {
    height: 40vh;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chi-hero h1 {
    color: #ffc107;
    font-size: 2.2rem;
    text-align: center;
    background: rgba(0, 0, 0, .45);
    padding: .8rem 1.6rem;
    border-radius: 6px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .6);
}


.intro {
    padding: 3rem 0;
    text-align: center;
}

.intro p {
    font-size: 1.2rem;
   color: #b7b7b7;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    padding: 4rem 0;
    text-align: center;
}

.values article {
    background: #333232;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
    padding: 2rem 1.2rem;
    transition: transform .3s;
}

.values article:hover {
    transform: translateY(-6px);
}

.values h3 {
    color: #ffc107;
    margin-bottom: .8rem;
}

.values p {
    color: #b7b7b7;
}

.values ul {
    color: #b7b7b7;
    line-height: 1.7;
    margin-bottom: 1rem;
    padding: 2rem 1.2rem;
    text-align: left;
}

.factory {
    padding: 3%;
    display: flex;
    flex-wrap: wrap;
    min-height: 400px;
}

.factory-img {
    flex: 1 1 50%;
    background-size: cover;
    background-position: center;
}


.factory-text {
    flex: 1 1 50%;
    background: #333232;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.factory-text h2 {
    margin-bottom: 1rem;
    color: #ffc107;
}

.factory-text p {
    color: #b7b7b7;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* responsive */
@media(max-width:992px) {
    .chi-hero h1 {
        font-size: 1.8rem;
    }

    .timeline .year {
        font-size: 1.1rem;
    }
}

@media(max-width:768px) {
    .factory {
        flex-direction: column;
    }

    .factory-img,
    .factory-text {
        flex: 1 1 100%;
    }
}
