/* ✅ General Styles */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: white;
  background-color: black;
}

/* ✅ Section Styling */
.our-story {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: -80px;
  padding: 30px;
  max-width: 1200px;
}

/* ✅ Title Styling */
.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  margin-bottom: 40px;
}

/* ✅ Story Container */
.story-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  gap: 30px;
}

/* ✅ First Row (Mission Section) */
.story-row-mission {
  display: flex;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
  border-radius: 10px;
}

/* ✅ Second Row (Story Section) */
.story-row-story {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
  border-radius: 10px;
  flex-direction: row-reverse;
}

/* ✅ Image Styling */
.story-image-mission,
.story-image-story {
  flex: 1;
  display: flex;
  width: 100%;
}

.story-image-mission img,
.story-image-story img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

/* ✅ Text Styling */
.story-text-mission,
.story-text-story {
  flex: 1;
  text-align: left;
  border-radius: 10px;
}

.story-text-mission h3,
.story-text-story h3 {
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 5px;
  margin-bottom: 10px;
  color: white;
}

.story-text-mission p,
.story-text-story p {
  font-size: 1rem;
  border-radius: 5px;
  line-height: 1.6;
  color: white;
}

/* ✅ Responsive Design */

/* 🔹 For Tablets & Small Screens (768px and below) */
@media (max-width: 768px) {
  .story-row-mission,
  .story-row-story {
    flex-direction: column;
    text-align: left;
    width: 1400px;
    margin-bottom: 0;
  }

  .story-image-mission,
  .story-image-story {
    width: 100%;
    order: -1;
    display: flex;
  }

  .story-image-mission img,
  .story-image-story img {
    max-width: 95%;
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .story-text-mission,
  .story-text-story {
    width: 100%;
    text-align: left;
  }

  .story-text-mission h3,
  .story-text-story h3 {
    font-size: 1.3rem;
  }

  .story-text-mission p,
  .story-text-story p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* 🔹 For Small Mobile Devices (576px and below) */
@media (max-width: 576px) {
  .story-row-mission,
  .story-row-story {
    flex-direction: column;
    width: 100%;
    text-align: left;
  }

  .story-text-mission,
  .story-text-story {
    color: white;
  }

  .story-text-mission h3,
  .story-text-story h3 {
    font-size: 1rem;
  }

  .story-text-mission p,
  .story-text-story p {
    font-size: 0.9rem;
  }

  .story-image-mission,
  .story-image-story {
    width: 100%;
    order: -1;
    display: flex;
  }

  .story-image-mission img,
  .story-image-story img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
}

/* 🔹 For Extra Small Devices (480px and below) */
@media (max-width: 480px) {
  .story-row-mission,
  .story-row-story {
    flex-direction: column;
    width: 100%;
    text-align: left;
  }

  .story-text-mission,
  .story-text-story {
    color: white;
  }

  .story-text-mission h3,
  .story-text-story h3 {
    font-size: 1.2rem;
  }

  .story-text-mission p,
  .story-text-story p {
    font-size: 1rem;
  }

  .story-image-mission,
  .story-image-story {
    width: 100%;
    order: -1;
  }

  .story-image-mission img,
  .story-image-story img {
    width: 100%;
    height: auto;
  }
}

/* our approach css */
.text-anime-style-one {
  text-align: center;
  display: block;
  width: 1260px;
  margin: 0 auto;
  padding: 10px 20px;
}

@media (max-width: 480px) {
  .text-anime-style-one {
    width: 95%;
    padding: 6px;
    font-size: 0.9rem;
    text-align: center;
  }
}



/* ---------------------- our Bit css---------------------- */
.bit-one {
  text-align: left;
  font-size: 1rem;
  width: 800px;
  padding: 10px 20px;
}

/* Grid Container */
.new-row-one {
  margin-top: -60px;
  margin-bottom: -30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 30px;
  width: 100%;
  max-width: 1300px;
}

/* ✅ Medium Screens (Tablets, Small Laptops) */
@media (max-width: 992px) {
  .bit-one {
    width: 100%;
    text-align: center;
  }

  .new-row-one {
    grid-template-columns: repeat(2, 1fr); 
    gap: 5px;
    margin-top: -20px;
  }
}

/* ✅ Small Screens (Tablets, Large Phones) */
@media (max-width: 768px) {
  .bit-one {
    font-size: 0.9rem;
  }

  .new-row-one {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }
}

/* ✅ Extra Small Screens (Mobile) */
@media (max-width: 576px) {
  .bit-one {
    font-size: 0.85rem;
    text-align: center;
    padding: 2px;
  }

  .new-row-one {
    grid-template-columns: repeat(1, 1fr);
    gap: 2px;
  }
}