
/* Header */
.about-header {
  background: #ffffff;
  padding: 30px 60px;
}

.about-header h1 {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  margin-top: 80px;
  margin-left: 90px;
}

/* Section */
.about-section {
  padding: 80px 60px;
  background: #fff;
}

.about-container {
  max-width: 1220px;
  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: 44px;
  font-weight: 800;
  margin-bottom: 25px;
  color: #000;
}

.about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #121111;
  max-width: 520px;
  font-weight: 500;
}

/* Image */
.about-image {
  flex: 1;
}

.about-image img {
  width: 700px;
  border-radius: 6px;
  object-fit: cover;
  height: 450px;
  margin-top: 50px;
}

/* 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: 16px;
  }
  .about-image img {
  width: 700px;
  border-radius: 6px;
  object-fit: cover;
  height: 450px;
  margin-top: 0px;
}
}
/* 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: 100px 0;
}

/* --- WAVES --- */
.mv-waves {
  position: absolute;
  left: 0;
  width: 100%;
  height: 150px; 
  z-index: 1;
  pointer-events: none; 
}


.mv-top { top: -20px; } 
.mv-bottom { bottom: -1px; } 

.mv-waves svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* --- CONTENT CONTAINER --- */
.mv-container {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: auto;
  padding: 0 30px;
}

/* --- FLEX ROWS --- */
.mv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px; 
  margin-bottom: 60px;
}

.mv-row:last-child {
  margin-bottom: 0;
}

.mv-reverse {
  flex-direction: row-reverse;
}

/* --- TEXT STYLES --- */
.mv-text {
  flex: 1; 
  max-width: 800px;
  text-align: justify;
}

.mv-text h2 {
  font-size: 44px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.mv-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #d6d6d6;
  font-weight: 500;
  margin: 0;
}

/* --- IMAGE STYLES --- */
.mv-image {
  width: 340px;
  height: 240px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0; 
  margin-top: 0; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
}

.mv-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Optional: Slight zoom on hover */
.mv-image:hover img {
  transform: scale(1.05);
}

/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */

/* --- TABLETS & SMALL LAPTOPS  --- */
@media (max-width: 991px) {
  .mv-wrap {
    padding: 60px 0;
  }

  .mv-row {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
    text-align: center; 
  }
  .mv-reverse {
    flex-direction: column; 
  }

  .mv-text {
    width: 100%;
    max-width: 100%;
    text-align: center; 
  }

  .mv-text h2 {
    font-size: 36px;
  }

 
  .mv-image {
    width: 100%;
    max-width: 400px; 
    height: 300px; 
    margin: 0 auto; 
  }
}

/* --- MOBILE PHONES (Max Width: 576px) --- */
@media (max-width: 576px) {
  .mv-wrap {
    padding: 50px 0;
  }

  .mv-container {
    padding: 0 20px;
  }

  .mv-waves {
    height: 120px;
  }
  
  .mv-text h2 {
    font-size: 28px; 
    margin-bottom: 15px;
  }

  .mv-text p {
    font-size: 16px; 
    line-height: 1.5;
  }

  .mv-image {
    height: 220px;
    width: 100%;
    border-radius: 12px;
  }
}

/* ===== 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;
  font-weight: 500;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  font-size: 17px;
}

.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;
  }
}
