/* About us */
.heading-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.custom-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  position: relative;
  display: inline-block;
  margin-bottom: 50px;
}
.custom-heading::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0095cc, #00b8e6);
  border-radius: 10px;
  animation: underlineMove 3s infinite ease-in-out;
}

@keyframes underlineMove {
  0%,
  100% {
    width: 80px;
  }
  50% {
    width: 140px;
  }
}

.welcome-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.heading-container {
  width: 100%;
  text-align: center;
  margin-bottom: 50px;
}

.custom-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  position: relative;
  display: inline-block;
}

.custom-heading .highlight {
  background: linear-gradient(90deg, #0095cc, #00b8e6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.custom-heading::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0095cc, #00b8e6);
  border-radius: 10px;
  animation: underlineMove 3s infinite ease-in-out;
}

@keyframes underlineMove {
  0%,
  100% {
    width: 80px;
  }
  50% {
    width: 140px;
  }
}

.content-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.text-section {
  flex: 1 1 500px;
}

.text-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #0095cc;
  margin-bottom: 20px;
  text-align: left;
}

.text-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.image-section {
  flex: 1 1 450px;
  text-align: center;
}

.image-section img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.image-section img:hover {
  transform: scale(1.03);
}

@media (max-width: 1024px) {
  .content-container {
    gap: 40px;
  }
  .custom-heading {
    font-size: 2.2rem;
  }
  .text-section h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .content-container {
    flex-direction: column;
    text-align: center;
  }
  .text-section h3 {
    text-align: center;
  }
  .custom-heading {
    font-size: 1.9rem;
  }
}

@media (max-width: 480px) {
  .welcome-section {
    padding: 50px 15px;
  }
  .custom-heading {
    font-size: 1.6rem;
  }
  .text-section p {
    font-size: 0.9rem;
  }
}

/* Our Story Section */

/* Dark overlay for contrast */
.our-story::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* White Text Box */
.story-content {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 40px 50px;
  max-width: 650px;
  margin-left: 8%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: slideUp 1.2s ease-in-out;
}

/* Heading styles */
.story-content h2 {
  margin-bottom: 10px;
}

.story-content h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Paragraph styles */
.story-content p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 16px;
}

/* Animation */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .our-story {
    justify-content: center;
    padding: 80px 20px;
  }

  .story-content {
    margin-left: 0;
    max-width: 90%;
    padding: 30px;
  }

  .story-content h2 {
    font-size: 30px;
  }

  .story-content h3 {
    font-size: 20px;
  }
}

/* Mission */
.mv-section {
  padding: 100px 40px;
  background: #f6fbff;
  display: flex;
  justify-content: center;
}

.mv-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  width: 100%;
}

/* Card Styling */
.mv-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 60px 30px 40px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 191, 255, 0.2);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(50px);
}

/* Hover Effect */
.mv-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 191, 255, 0.4);
}

/* Folded Top Label */
.mv-tab {
  position: absolute;
  top: -20px;
  left: 0;
  background: linear-gradient(90deg, #007acc, #00bfff);
  color: #fff;
  font-weight: 600;
  padding: 10px 25px;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 191, 255, 0.3);
}

/* Icons */
.mv-icon {
  font-size: 55px;
  margin: 30px 0 20px;
  color: #00bfff;
  filter: drop-shadow(0 0 8px rgba(0, 191, 255, 0.3));
}

/* Text */
.mv-card h2 {
  font-size: 22px;
  color: #007acc;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.mv-card p {
  color: #444;
  font-size: 15px;
  line-height: 1.8;
}

/* Fade-in Animation */
.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: all 0.8s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .mv-section {
    padding: 60px 20px;
  }
  .mv-card {
    padding: 50px 20px;
  }
  .mv-card h2 {
    font-size: 20px;
  }
  .mv-icon {
    font-size: 45px;
  }
}
