/* Base Styles */
.about-section {
  padding: 80px 20px;
  background-color: #0e0e0e;
  color: #fff;
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1300px;
  margin: auto;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-section.show .about-container {
  opacity: 1;
  transform: translateY(0);
}

.about-text {
  flex: 1;
}

.about-title {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: #00c2ff;
}

.about-tagline {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ccc;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.feature-box {
  flex: 1 1 250px;
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  transition: background-color 0.3s;
}

.feature-box h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #00c2ff;
}

.feature-box p {
  font-size: 0.95rem;
  color: #aaa;
}

.feature-box:hover {
  background-color: #222;
}

.about-mission {
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.7;
  color: #bbb;
}

.about-cta {
  display: inline-block;
  padding: 12px 28px;
  background-color: #00c2ff;
  color: #000;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.about-cta:hover {
  background-color: #00a0d1;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
}

/* === Compressed Media Queries === */

/* Extra Large Desktops */
@media (min-width: 1280px) {
  .about-title {
    font-size: 3rem;
  }
}

/* Desktop & Large Tablets */
@media (min-width: 1024px) and (max-width: 1279px) {
  .about-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .about-title {
    font-size: 2.5rem;
  }

  .about-cta {
    width: 100%;
    text-align: center;
    padding: 14px 0;
  }

  .about-image {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 1rem;
  }

  .about-image img {
    width: 100%;
    max-width: 800px;
    border-radius: 15px;
  }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 1023px) {
  .about-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-tagline {
    font-size: 1rem;
  }

  .about-features {
    flex-direction: column;
    gap: 20px;
  }

  .feature-box {
    flex: 1 1 100%;
  }

  .about-mission {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .about-cta {
    width: 100%;
    text-align: center;
    padding: 14px 0;
  }

  .about-image {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 1rem;
  }

  .about-image img {
    min-width: 600px;
    width: 100%;
  }
}

/* Large Phones (phablets) */
@media (min-width: 576px) and (max-width: 767px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 100%;
    width: auto;
  }

  .about-title {
    font-size: 1.8rem;
  }

  .about-tagline {
    font-size: 0.95rem;
  }

  .about-features {
    flex-direction: column;
    gap: 16px;
  }

  .feature-box {
    flex: 1 1 100%;
  }

  .about-mission {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .about-cta {
    width: 100%;
    text-align: center;
    padding: 14px 0;
  }

  .about-image {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .about-image img {
    min-width: 300px;
    width: 90%;
  }
}

/* Standard Mobile Phones */
@media (max-width: 575px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 100%;
    width: auto;
  }

  .about-title {
    font-size: 1.6rem;
  }

  .about-tagline {
    font-size: 0.9rem;
  }

  .about-features {
    flex-direction: column;
    gap: 16px;
  }

  .feature-box {
    flex: 1 1 100%;
  }

  .about-mission {
    font-size: 0.85rem;
  }

  .about-cta {
    font-size: 0.95rem;
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }

  .about-image {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 1rem;
  }

  .about-image img {
    min-width: 200px;
    width: 80%;
  }
}

/* Small Phones */
@media (max-width: 375px) {
  .about-title {
    font-size: 1.5rem;
  }

  .about-cta {
    font-size: 0.9rem;
    padding: 12px 0;
  }
}