/* ========================================
   ABOUT PAGE STYLES
   Industrial Aesthetic Design
   ======================================== */

/* ========== Section 1: About Banner ========== */
.about-banner {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-banner__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-banner__bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(26,26,26,0.7) 0%, rgba(26,26,26,0.4) 50%, rgba(26,26,26,0.2) 100%);
}

.about-banner .container {
  position: relative;
  z-index: 2;
}

.about-banner__content {
  max-width: 800px;
}

.about-breadcrumb {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.about-banner__slogan {
  font-size: 32px;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.4;
  padding-left: 20px;
  border-left: 4px solid var(--color-primary);
}

/* ========== Section 2: Capabilities ========== */
.about-capabilities {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.about-capabilities__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-capabilities__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26,26,26,0.75);
}

.about-capabilities .container {
  position: relative;
  z-index: 2;
}

.about-capabilities__box {
  background: rgba(245,245,245,0.95);
  padding: 48px;
  max-width: 720px;
  border-left: 6px solid var(--color-primary);
}

.about-capabilities__title {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-capabilities__text {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
}

.about-capabilities__text ul {
  list-style: none;
  margin-top: 16px;
}

.about-capabilities__text li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
}

.about-capabilities__text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
}

.about-capabilities__text strong {
  color: var(--color-dark);
  font-weight: 600;
}

/* ========== Section 2b: What We Do ========== */
.about-whatwedo {
  padding: 80px 0;
  background: #FFFFFF;
}

.about-whatwedo__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-whatwedo__title {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 24px;
}

.about-whatwedo__text {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-whatwedo__text p {
  margin-bottom: 16px;
}

.about-whatwedo__media {
  position: relative;
}

.about-whatwedo__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.about-video-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.about-video-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.about-video-btn svg circle {
  fill: #FFFFFF;
}

/* ========== Section 2c: Four Cards ========== */
.about-cards {
  padding: 80px 0;
  background: #FFFFFF;
}

.about-cards__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.about-cards__item {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  height: 260px;
  border-radius: 0;
}

.about-cards__img-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.about-cards__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-cards__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(26,60,100,0.5) 0%, rgba(26,26,26,0.7) 100%);
  transition: background 0.3s ease;
}

.about-cards__item:hover .about-cards__overlay {
  background: linear-gradient(to bottom, rgba(245,166,35,0.4) 0%, rgba(26,26,26,0.8) 100%);
}

.about-cards__item:hover img {
  transform: scale(1.05);
}

.about-cards__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  color: #FFFFFF;
  transition: transform 0.3s ease;
}

.about-cards__item:hover .about-cards__icon {
  transform: translate(-50%, -60%) scale(1.1);
}

.about-cards__title {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== Section 3: OEM / Private Label ========== */
.about-oem {
  padding: 100px 0;
  background: #FAFAFA;
}

.about-oem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-oem__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 32px;
  line-height: 1.2;
}

.about-oem__title span {
  color: var(--color-primary);
}

.about-oem__list {
  list-style: none;
  margin-bottom: 40px;
}

.about-oem__list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  font-size: 18px;
  color: #444;
  font-weight: 500;
}

.about-oem__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--color-primary);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.about-oem__image img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 30px 80px rgba(0,0,0,0.12);
}

/* ========== Section 4: Core Products ========== */
.about-products {
  padding: 100px 0;
  background: #FFFFFF;
}

.about-products__title {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 60px;
}

.about-products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.about-products__item {
  text-align: center;
}

.about-products__img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #F5F5F5;
}

.about-products__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-products__item:hover img {
  transform: scale(1.08);
}

.about-products__name {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.about-products__desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  padding: 0 20px;
}

.about-products__info {
  background: #E8F4FC;
  padding: 48px;
  text-align: center;
}

.about-products__info p {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-products__info p:last-child {
  margin-bottom: 0;
}

.about-products__info strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* ========== Section 5: R&D ========== */
.about-rd {
  padding: 100px 0;
  background: #2A2A2A;
}

.about-rd__title {
  font-size: 28px;
  font-weight: 600;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 60px;
}

.about-rd__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.about-rd__item {
  text-align: center;
}

.about-rd__img-wrap {
  width: 100%;
  height: 280px;
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: 0;
}

.about-rd__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.about-rd__item:hover img {
  filter: grayscale(0%);
}

.about-rd__desc {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  padding: 0 20px;
}

/* ========== Video Modal ========== */
.about-video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
}

.about-video-modal--active {
  display: flex;
}

.about-video-modal__close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: transparent;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.about-video-modal__close:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.about-video-modal iframe {
  width: 80%;
  height: 70%;
  max-width: 1200px;
}

/* ========== Responsive ========== */
@media (max-width: 1200px) {
  .about-products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .about-banner__slogan {
    font-size: 26px;
  }
  
  .about-whatwedo__grid,
  .about-oem__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-cards__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-rd__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-banner {
    height: 320px;
  }
  
  .about-banner__slogan {
    font-size: 22px;
    padding-left: 16px;
    border-left-width: 3px;
  }
  
  .about-capabilities__box {
    padding: 32px;
  }
  
  .about-products__grid {
    grid-template-columns: 1fr;
  }
  
  .about-cards__grid {
    grid-template-columns: 1fr;
  }
  
  .about-rd__grid {
    grid-template-columns: 1fr;
  }
  
  .about-oem__title {
    font-size: 28px;
  }
}

/* ========================================
   PAGE BANNER STYLES (for about_page.html)
   300px Banner Template
   ======================================== */

.page-banner {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-banner__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-banner__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(26,26,26,0.75) 0%, rgba(26,26,26,0.5) 60%, rgba(26,26,26,0.3) 100%);
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner__content {
  max-width: 700px;
}

.page-breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-breadcrumb a:hover {
  color: var(--color-primary);
}

.page-breadcrumb span {
  margin: 0 8px;
  color: rgba(255,255,255,0.4);
}

.page-breadcrumb__current {
  color: var(--color-primary);
}

.page-banner__title {
  font-size: 32px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-banner__slogan {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  max-width: 560px;
}

/* Page Content Section */
.page-content {
  padding: 80px 0;
  background: #FFFFFF;
  min-height: 400px;
}

/* Responsive */
@media (max-width: 768px) {
  .page-banner {
    height: 240px;
  }
  
  .page-banner__title {
    font-size: 28px;
  }
  
  .page-banner__slogan {
    font-size: 14px;
  }
  
  .page-content {
    padding: 60px 0;
    min-height: 300px;
  }
}
