/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

/* Header */
.about-header {
  background: #b3001b;
  padding: 30px 60px;
}

.about-header h1 {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  margin-top: 80px;
  margin-left: 50px;
}

/* Section */
.about-section {
  padding: 80px 60px;
  background: #fff;
}

.about-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

/* Content */
.about-content {
  flex: 1;
}

.about-label {
  font-size: 14px;
  letter-spacing: 2px;
  color: #000;
  margin-bottom: 20px;
  display: inline-block;
}

.about-content h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 25px;
  color: #000;
}

.about-content p {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  max-width: 520px;
}

/* Image */
.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  height: 450px;
}

/* Animations */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.animate.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
  }

  .about-content h2 {
    font-size: 36px;
  }

  .about-section {
    padding: 60px 30px;
  }
}

@media (max-width: 576px) {
  .about-header h1 {
    font-size: 28px;
  }

  .about-content h2 {
    font-size: 28px;
  }

  .about-content p {
    font-size: 15px;
  }
}
/* Left to Right Reveal Animation */
.animate {
  opacity: 0;
  transform: translateX(-80px);
  transition: none;
}

.animate.active {
  animation: slideReveal 0.9s ease-out forwards;
}

@keyframes slideReveal {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.delay-1.active {
  animation-delay: 0s;
}

.delay-2.active {
  animation-delay: 0.2s;
}
/* ================================
   IMAGE PAPER UNFOLD ANIMATION
================================ */

.about-image {
  overflow: hidden;
}

/* Wrapper that unfolds */
.image-unfold {
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  transition: none;
}

.image-unfold img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

/* Trigger animation */
.about-image.active .image-unfold {
  animation: unfoldImage 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Keyframes */
@keyframes unfoldImage {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* ================================
   TEXT SLIDE FROM LEFT
================================ */

.about-content {
  opacity: 0;
  transform: translateX(-80px);
}

.about-content.active {
  animation: textSlide 0.8s ease-out forwards;
}

@keyframes textSlide {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ================= Mission Vision ================= */
.mv-wrap {
  position: relative;
  background-color: #000;
  overflow: hidden;
  color: #fff;
  padding: 90px 0;
  overflow: hidden;
}

/* Waves */
.mv-waves {
  position: absolute;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 1;
}

.mv-top { top: 0; top: -20px;   }
.mv-bottom { bottom: 0; }

.mv-waves svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Content */
.mv-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: auto;
  padding: 0 30px;
}

.mv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.mv-row:last-child {
  margin-bottom: 0;
}

.mv-reverse {
  flex-direction: row-reverse;
}

/* Text */
.mv-text {
  max-width: 900px;
  text-align: justify;
}

.mv-text h2 {
  font-size: 42px;
  margin-bottom: 15px;
  font-weight: 700;
}

.mv-text p {
  font-size: 20px;
  line-height: 1.6;
  color: #d6d6d6;
  font-weight: 400;
  
}

/* Image */
.mv-image {
  width: 340px;
  height: 240px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  margin-top: 50px;
  
}

.mv-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  
}

/* ===== TESTIMONIALS SAFE BLOCK ===== */
.tst-wrap {
  position: relative;
  min-height: 600px;
  padding: 120px 20px;
  overflow: hidden;
}

/* Background image layer */
.tst-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/business-team-connecting.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Overlay layer */
.tst-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.78);
  z-index: 2;
}

/* Content */
.tst-container {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

/* Title */
.tst-title {
  font-size: 42px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.tst-subtitle {
  max-width: 650px;
  margin: 0 auto 60px;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

/* Grid */
.tst-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Cards */
.tst-card {
  background: #fff;
  padding: 45px 38px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
}

.tst-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.18);
}

/* Active Card */
.tst-active {
  background: #b00024;
  color: #fff;
}

.tst-active p {
  color: #fff;
}

/* User */
.tst-user {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  color: #777;
}

.tst-active .tst-user {
  color: #fff;
}

/* Avatar */
.tst-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #eee url("../images/avatar_icon.jpg") center/cover no-repeat;
}

/* Responsive */
@media (max-width: 992px) {
  .tst-grid {
    grid-template-columns: 1fr;
  }

  .tst-card {
    text-align: center;
  }

  .tst-user {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .tst-title {
    font-size: 32px;
  }
}
