/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ========== MAIN CONTAINER ========== */
.abt-main-cont {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  align-items: center;
  justify-content: flex-start;
  overflow-x: hidden;
}

/* ========== HEADER ========== */
.abt-header {
  width: 70%;
  margin-top: 50px;
  gap: 20px;
  padding: 25px 0;
  animation: fadeSlideDown 1.2s ease forwards;
  opacity: 0;
}

.abt-heading-cont {
  width: 166px;
  height: 53px;
  background: #000000;
  color: #CEDF56;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  font-weight: 600;
  font-family: Raleway, sans-serif;
}

.abt-subheading {
  font-size: 48px;
  color: #000000;
  font-weight: 700;
  font-family: Raleway, sans-serif;
  max-width: 850px;
  margin: 30px 0px;
  line-height: 56px;
  animation: textReveal 1.5s ease forwards;
  opacity: 0;
}

.abt-para {
  max-width: 850px;
  margin: 20px 0px;
  font-size: 24px;
  color: #000000;
  font-family: Inter, sans-serif;
  line-height: 32px;
  animation: fadeUpScale 1.5s ease forwards;
  opacity: 0;
}

/* ========== HERO IMAGE ========== */
.abt-hero-img {
  width: 100%;
  height: 369px;
  object-fit: cover;
  animation: zoomFade 2s ease forwards;
  opacity: 0;
  transform: scale(1.1);
}

/* ========== WHO WE ARE ========== */


/* Container */
.abt-who-cont {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* ✅ makes image match text height in row mode */
  width: 70%;
  margin: 70px auto;
  gap: 50px;
  flex-wrap: nowrap;
  animation: fadeIn 1.2s ease-in-out;
}

/* Paragraph container */
.abt-para-cont {
  flex: 1 1 55%; /* text side */
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: slideInLeft 1.2s ease-in-out;
}

/* Paragraph text */
.abt-para {
  font-size: 16px;
  color: #000;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  text-align: justify;
  line-height: 1.7;
}

/* ✅ Responsive Image */
.abt-img {
  flex: 1 1 45%;
  width: 100%;
  align-self: center;
  max-width: 500px;
  height: 600px; /* ✅ matches parent height */
  border-radius: 10px;
  object-fit: cover; /* keeps proportion inside */
  animation: slideInRight 1.2s ease-in-out;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* ✅ Hover Effect */
.abt-img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* 📱 Media Queries */

/* Ultra-wide screens (2000px+) */
@media (min-width: 2000px) {
  .abt-who-cont {
    width: 65%;
    gap: 60px;
  }
  .abt-para {
    font-size: 16px;
  }
  .abt-img {
    max-width: 500px;
  }
}

/* Between 1700px → 1000px */
@media (max-width: 1700px) and (min-width: 1001px) {
  .abt-who-cont {
    width: 80%;
    gap: 40px;
  }
  .abt-para {
    font-size: 16px;
  }
  .abt-img {
    max-width: 400px;
        height: 800px;
  }
}

/* ✅ Switch to column ONLY below 1000px */
@media (max-width: 1000px) {
  .abt-who-cont {
    flex-direction: column;
    text-align: center;
    width: 90%;
    align-items: center; /* centers image */
  }
  .abt-para-cont {
    flex: 1 1 100%;
  }
  .abt-para {
    font-size: 15px;
  }
  .abt-img {
    flex: unset;
    width: 100%;
    max-width: 100%;
    height: auto; /* ✅ natural height in column */
  }
}

/* Smaller phones */
@media (max-width: 480px) {
  .abt-para {
    font-size: 16px;
  }
  .abt-img {
    border-radius: 6px;
  }
}




/* .abt-who-cont {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 60px 0;
}

.abt-who-heading {
  font-size: 48px;
  font-weight: 700;
  font-family: Raleway, sans-serif;
  margin-bottom: 30px;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}

.abt-who-content-cont {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  min-height: 500px;
}

.inner-abt-content-cont {
  flex: 1;
  padding: 25px;
  background-color: #CEDF56;
  border: 3px solid #4aa3df;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateX(-80px); 
  transition: all 0.8s ease;
}

.inner-abt-content-cont {
  opacity: 1;
  transform: translateX(0);
  animation: bounceIn 1s ease forwards;
}

@keyframes bounceIn {
  0% {
    transform: translateX(-80px);
    opacity: 0;
  }
  60% {
    transform: translateX(20px);
    opacity: 1;
  }
  80% {
    transform: translateX(-10px);
  }
  100% {
    transform: translateX(0);
  }
}

.inner-abt-para {
  font-size: 20px;
  line-height: 28px;
  font-family: Inter, sans-serif;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}


.inner-abt-img-cont {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inner-abt-img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  animation: slideInRight 1.3s ease forwards;
  opacity: 0;
} */

/* ========== CORE VALUES ========== */
.abt-core-cont {
  width: 70%;
  margin-top: 50px;
  margin-bottom: 40px;
}

.abt-core-cont > h1 {
  font-size: 48px;
  font-weight: 700;
  font-family: Raleway, sans-serif;
  margin-bottom: 50px;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}

.abt-values-cont {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

/* Inner cards */
.inner-abt-values-cont {
  flex: 1 1 calc(25% - 30px);
  max-width: 239px;
  min-width: 200px;
  height: 314px;
  background-color: #CEDF56;
  border-radius: 12px;
  padding: 25px 0;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
}

/* Scroll reveal class */
.inner-abt-values-cont.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Hover effects */
.inner-abt-values-cont:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  background: linear-gradient(145deg, #ffffff, #f3f7ff);
}

.inner-abt-values-cont h3 {
  font-size: 20px;
  font-weight: 600;
  font-family: Inter, sans-serif;
  margin-top: 10px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.inner-abt-values-cont:hover h3 {
  color: #0073e6;
  text-shadow: 0 0 6px rgba(0, 115, 230, 0.4);
}

.inner-abt-values-cont p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  transition: color 0.3s ease;
}

.inner-abt-values-cont:hover p {
  color: #111;
}

.abt-num-cont {
  width: 47px;
  height: 49px;
  border-radius: 50%;
  background-color: #fff;
  margin: 0 auto 20px;
  font-size: 24px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
}

.abt-core-img {
  width: 97px;
  height: 97px;
  margin: 20px auto;
  object-fit: cover;
}

/* ========== TEAM SECTION ========== */
.abt-team-cont {
  width: 100%;
  background-color: #E9F2F4;
  padding: 40px 20px;
}

.abt-team-h1 {
  font-size: 48px;
  font-weight: 700;
  font-family: Raleway, sans-serif;
  text-align: center;
  margin-bottom: 15px;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}

.abt-team-para {
  max-width: 1185px;
  margin: 0 auto 30px;
  font-size: 22px;
  line-height: 32px;
  font-family: Inter, sans-serif;
  text-align: center;
  animation: fadeIn 1.5s ease forwards;
  opacity: 0;
}

.abt-team-mem-cont {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1185px;
  margin: 30px auto;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeUpScale 1.3s ease forwards;
  opacity: 0;
}

.abt-img-h2-cont {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 245px;
  transform: translateY(30px);
  /* animation: floatUp 2s ease infinite alternate; */
}

.abt-team-img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
}

.abt-team-img-caption {
  font-size: 20px;
  font-weight: 600;
  margin-top: 10px;
}

.abt-mem-cont {
  flex: 1;
  min-width: 300px;
}

.abt-mem-name {
  margin-top: 15px;
  font-size: 24px;
  font-weight: 600;
  color: #94A800;
}

.abt-mem-para {
  font-size: 18px;
  font-style: italic;
  margin-top: 10px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUpScale {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-60px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeftBounce {
  0% { opacity: 0; transform: translateX(-80px); }
  70% { opacity: 1; transform: translateX(15px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(80px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes zoomFade {
  from { opacity: 0; transform: scale(1.1); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes textReveal {
  0% { opacity: 0; transform: translateY(40px) skewY(5deg); }
  100% { opacity: 1; transform: translateY(0) skewY(0); }
}

@keyframes floatUp {
  from { transform: translateY(0); }
  to { transform: translateY(-15px); }
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 1200px) {
  .abt-header { width: 80%; }
  .abt-core-cont { width: 80%; }
}

@media (max-width: 992px) {
  .abt-subheading { font-size: 36px; line-height: 44px; }
  .abt-para { font-size: 20px; }

  .abt-who-content-cont { flex-direction: column; min-height: auto; gap: 20px; }
  .inner-abt-content-cont { width: 100%; }
  .inner-abt-img-cont { width: 100%; }
  .inner-abt-img { max-width: 90%; }

  .abt-values-cont { justify-content: center; }
}

@media (max-width: 768px) {
  .abt-subheading { font-size: 28px; }
  .abt-para { font-size: 18px; }
  .abt-values-cont { gap: 20px; }
  .inner-abt-values-cont { flex: 1 1 calc(50% - 20px); max-width: none; }
  .abt-team-mem-cont { flex-direction: column; text-align: center; }
  .abt-mem-cont { text-align: center; }
}

@media (max-width: 576px) {
  .abt-subheading { font-size: 24px; line-height: 32px; }
  .abt-para { font-size: 16px; line-height: 24px; }
  .abt-core-cont > h1, .abt-team-h1, .abt-who-heading { font-size: 32px; }
  .inner-abt-values-cont { flex: 1 1 100%; }
}

@media (max-width: 420px) {
  .abt-heading-cont { font-size: 20px; width: auto; padding: 10px 20px; }
  .abt-subheading { font-size: 20px; }
  .abt-para { font-size: 14px; }
  .abt-mem-name { font-size: 20px; }
  .abt-mem-para { font-size: 14px; }
}
