/* -------------------------------
   About Section (Responsive + Clean)
---------------------------------- */
.about-section {
  background: #ffffff;
  padding: 100px 20px;
  font-family: 'Poppins', sans-serif;
}

.about-container {
  display: flex;
  max-width: 1300px;
  margin: auto;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

/* Left Side Images */
.about-images {
  flex: 1 1 45%;
  display: flex;
  gap: 15px;
  height: 500px;
}

.big-img {
  flex: 1;
  height: 100%;
}

.big-img img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.small-imgs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.small-imgs img {
  width: 100%;
  height: 50%;
  border-radius: 8px;
  object-fit: cover;
}

/* Right Side Content */
.about-content {
  flex: 1 1 50%;
  text-align: left;
}

.about-subtitle {
  font-style: italic;
  font-size: 35px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: -15px;
}

.about-subtitle .dot {
  width: 12px;
  height: 12px;
  background: #7a0a0a;
  border-radius: 50%;
}

.about-title {
  font-size: 38px;
  font-weight: 400;
  color: #7a0a0a;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 0;
  margin-right: 0;
}

.divider {
  width: 90%;
  border: none;
  border-bottom: 3px solid #C08A00;
  margin-bottom: 10px;
}

.about-text {
  font-size: 16px;
  font-weight: 450;
  line-height: 1.8;
  color: #444;
  margin-bottom: 25px;
  max-width: 90%;
  text-align: justify;
}

/* Counters */
.about-counters {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.counter-box {
  border: 1px solid #7a0a0a;
  padding: 12px 20px;
  border-radius: 6px;
  background: #fff;
  flex: 1;
  min-width: 160px;
  max-width: 220px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.counter-number {
  font-size: 28px;
  font-weight: 525;
  color: #c08a00;
}

.counter-text div {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 350;
  color: #6D6D6D;
  letter-spacing: 0.5px;
}

/* CTA Button */
.legacy-btn {
  display: inline-block;
  padding: 6px 130px;
  background: #7a0a0a;
  color: #fff;
  border-radius: 6px;
  font-size: 20px;
  text-decoration: none;
  transition: 0.3s;
  text-align: center;
  font-weight: 400;
}

.legacy-btn:hover {
  background: #5a0606;
}

.legacy-divider {
  width: 100%;
  border: none;
  border-bottom: 5px solid #C08A00;
  opacity: 0.85;
  margin-top: 20px;
}

/* ========================
   Tablet View
======================== */
@media (max-width: 1024px) {
  .about-section {
    margin: 220px 30px 1px 0px; /* margin: top right bottom left | Added margin bottom and right */
  }
  .about-container {
    flex-direction: column;
    gap: 30px;
  }

  .about-images {
    width: 100%;
    height: 400px;
  }

  .about-title {
    font-size: 30px;
  }

  .about-text {
    font-size: 15px;
    max-width: 100%;
  }

  .counter-box {
    min-width: 200px;
    max-width: 100%;
  }

  .legacy-btn {
    width: 100%;
    font-size: 18px;
  }
}

/* ========================
   Mobile View
======================== */
@media (max-width: 768px) {
  .about-section {
    padding: 20px 15px;
    margin: 40px 12px 40px 12px; /* Added margin: top, right, bottom, left */
  }

  .about-images {
    flex-direction: column;
    /* height: auto; */
    margin: 0 0 0 0; /* No extra margin here */
  }

  .big-img {
    width: 100%;           /* Keep full width for mobile */
    height: 40px;          /* Further reduce height for compact layout */
    margin: 0 auto 5px auto; /* Center horizontally, space below */
  }

  .big-img img {
    width: 100%;
    height: 70%;
    object-fit: cover;
    border-radius: 8px;
  }

  .small-imgs {
    width: 100%;
    height: auto;
    flex-direction: row;
    gap: 10px;
  }

  .small-imgs img {
    width: 49%;
    height: auto;
  }

  .about-title {
    font-size: 24px;
  }

  .about-text {
    font-size: 14px;
  }

  .counter-number {
    font-size: 22px;
  }

  .legacy-btn {
    width: 100%;
    padding: 12px;
    font-size: 18px;
  }
}

/* ========================
   Small Mobile View
======================== */
@media (max-width: 480px) {
  .about-section {
    padding: 250px 20px;
    margin-bottom: -200px;
  }

  .about-subtitle {
    font-size: 25px;
  }

  .about-title {
    font-size: 20px;
  }

  .about-text {
    font-size: 13px;
    line-height: 1.6;
  }

  .about-counters {
    flex-direction: column;
    align-items: center;
  }

  .counter-box {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 0;
    padding-right: 0;
  }

  .counter-text div {
    font-size: 10px;
  }

  .counter-number {
    font-size: 20px;
  }

  .legacy-btn {
    width: 100%;
    font-size: 13px;
  }
}