/* About Main Gradient Background */
.about-main {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  justify-content: center;
  align-items: stretch;
  padding: 4rem 2rem;
  background: linear-gradient(to bottom right, #111111, #1a1a1a);
  border: 1px solid #333;
  border-radius: 24px;
  box-shadow: 0 0 60px rgba(255, 60, 0, 0.15);
  margin: 2rem auto;
  max-width: 1600px;
  overflow: hidden;
}

/* Graphic Panel */
.about-graphic {
  flex: 0 0 30%;
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.about-graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;

  /* Combined Fade: Left, Right, Top, Bottom */
  -webkit-mask-image:
    linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 5%, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
  mask-image:
    linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 5%, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
  
  -webkit-mask-composite: intersect;
  mask-composite: intersect;

  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}





/* About Content Stack */
.about-content {
  flex: 0 0 75%;
  min-width: 300px;
  max-width: 900px;
  padding-right: 2rem;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


/* Section Titles */
.section-title {
  font-size: 2.5rem;
  border-bottom: 2px solid #ff6600;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Paragraphs */
.section-paragraph {
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Founder image */
.founder-img-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.founder-img-wrapper img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 3px solid #ff6600;
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.4);
}


/* 🔥 Mission Title Spacing */
.mission-title {
  margin-top: 4rem;
  text-align: center;
  color: #ff6600;
  font-size: 2rem;
  letter-spacing: 1px;
}

/* 🔥 Mission Grid Container */
.mission-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  padding: 1rem 0;
}

/* 🔥 New Wrapper to Hold Emoji & Box */
.mission-wrap {
  position: relative;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 🔥 Floating Emoji Icon */
.mission-wrap .emoji {
  position: absolute;
  top: -22px;
  right: -22px;
  font-size: 42px;
  opacity: 0.95;
  transition: transform 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

/* 🔥 Animate Emoji on Hover */
.mission-wrap:hover .emoji {
  transform: rotate(5deg) scale(1.1);
}

/* 🔥 Individual Mission Box */
.mission-box {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 30px 24px;
  width: 100%;
  color: white;
  box-shadow: 0 0 15px rgba(255, 100, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* 🔥 Hover Effect - Subtle Pop + Glow */
.mission-wrap:hover .mission-box {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 30px rgba(255, 120, 10, 0.6);
  background: linear-gradient(135deg, #1a1a1a 60%, #2a0a00 100%);
}

/* 🔥 Mission Title Styling */
.mission-box h3 {
  margin-bottom: 12px;
  color: #ffae42;
  font-size: 1.25rem;
  font-weight: bold;
  text-shadow: 0 0 6px rgba(255, 174, 66, 0.3);
}

/* 🔥 Mission Description */
.mission-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #f0f0f0;
  text-align: left;
}





@media (max-width: 768px) {
  .about-main {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 2rem;
    border-radius: 16px;
    margin:.5rem;
  }

  .about-graphic {
    flex: 1 1 100%;
    width: 100%;
    max-height: 300px;
    overflow: hidden;
    border-radius: 12px;
  }

  .about-graphic img {
    width: 100%;
    position: relative;
    top: -150px;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center center;

    /* Remove mask for mobile */
    -webkit-mask-image: none;
    mask-image: none;
  }

  .about-content {
    flex: 1 1 100%;
    padding: 0 0 1rem 0;
    max-width: 100%;
  }

  .section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  .section-paragraph {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
  }

  .founder-img-wrapper {
    margin-top: 2rem;
    justify-content: center;
  }

  .founder-img-wrapper img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px solid #ff6600;
  }

  .mission-title {
    font-size: 1.8rem;
    margin-top: 3rem;
  }

  .mission-grid {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
  }

  .mission-wrap {
    width: 100%;
    max-width: 100%;
    align-items: center;
  }

  .mission-box {
    width: 100%;
    padding: 24px 20px;
  }

  .mission-box h3 {
    font-size: 1.1rem;
  }

  .mission-box p {
    font-size: 0.95rem;
  }

  .mission-wrap .emoji {
    font-size: 36px;
    top: -18px;
    right: -18px;
  }
}
