/* --- Câu chuyện thương hiệu --- */
.brand-story {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.brand-story img.logo {
    max-width: 250px;
}

.brand-story h1 {
    font-size: 38px;
    color: #004400;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 60px;
}

.timeline {
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #004400;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item .circle {
    position: absolute;
    top: 50px;
    width: 24px;
    height: 24px;
    background-color: #d32f2f;
    border: 4px solid #ff7043;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left .circle {
    right: -12px;
}

.timeline-item.right .circle {
    left: -12px;
}

.content-box {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
}

.content-box::before {
    content: "";
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border: 20px solid transparent;
}

.timeline-item.left .content-box {
    margin-right: 40px;
}

.timeline-item.left .content-box::before {
    right: -30px;
    top: 22px;
    border-left-color: #004400;
}

.timeline-item.right .content-box {
    margin-left: 40px;
}

.timeline-item.right .content-box::before {
    left: -27px;
    top: 22px;  
    border-right-color: #004400;
}

.content-title {
    background-color: #004400;
    color: white;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.content-text {
    font-size: 16px;
    color: #222;
    text-align: justify;
    line-height: 20px;
}

/* --- Vươn tầm thế giới --- */
.banner-section {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 80px;
}

.banner-section img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-content {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 70%;
    color: #004400;
    text-align: center;
}

.banner-content h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    color: #004400;
}

.info-box {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px 30px;
    text-align: left;
    font-size: 18px;
    line-height: 1.8;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #B71C1C;
}
@media (max-width: 768px) {
    .brand-story h1 {
    font-size: 28px;
    }

    .timeline::before {
    left: 8px;
    transform: none;
    }

    .timeline-item {
    width: 100%;
    padding-left: 30px;
    padding-right: 10px;
    text-align: left !important;
    }

    .timeline-item.left,
    .timeline-item.right {
    left: 0;
    }

    .timeline-item .circle {
    left: 0;
    right: auto;
    }

    .timeline-item .content-box {
    margin: 10px 0 30px 30px;
    }

    .timeline-item .content-box::before {
    left: -20px;
    right: auto;
    border-left-color: transparent;
    border-right-color: #004400;
    }

    .banner-content {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 90%;
    }

    .banner-content h2 {
    font-size: 30px;
    }

    .info-box {
    font-size: 16px;
    line-height: 1.6;
    }
}

/* xưởng */
.factory-section {
  background: #fff;
  padding: 80px 20px;
}

.factory-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.factory-text {
  flex: 1 1 400px;
}

.factory-text h2 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 30px;
  line-height: 1.2;
}

.factory-text .blue {
  color: #004400;
}

.factory-text .red {
  color: #861313;
}

.factory-text ul {
  list-style: none;
  padding-left: 0;
  font-size: 18px;
  line-height: 1.8;
}

.factory-text ul li::before {
  content: "– ";
  margin-right: 5px;
}

.factory-image {
  flex: 1 1 500px;
}

.factory-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .factory-container {
    flex-direction: column;
    text-align: center;
  }

  .factory-text h2 {
    font-size: 28px;
  }

  .factory-text ul {
    font-size: 16px;
  }

  .factory-image {
    margin-top: 30px;
  }
}

/* nút liên hệ */
.floating-contact {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.circle-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
  text-decoration: none;
}

.circle-button:hover {
  transform: scale(1.1);
}

.call {
  background-color: #e53935;
}

.messenger {
  background-color: #0078ff;
}

.facebook {
  background-color: #1877f2;
}

.map {
  background-color: #fdd835;
  color: #000;
}

