/* General Reset */
 

body {
  font-family: "Poppins", sans-serif;
  background-color: #f9f9f9;
  color:navy;
  
  /* overflow-x: hidden; */
}

/* Title Styling */
.title {
  text-align: center;
  font-size: 2.5em;
  color:navy;
  margin-top: -3px;
  margin-bottom: 40px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeIn 2s ease-in-out;
  padding-top: 80px;
}

/* Flex Layout */
.history-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  padding: 20px 80px;
}

/* Left and Right Sections */
.history-left, .history-right {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  background-color: #107bd390;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(5, 194, 241, 0.1);
  opacity: 0;
}

.history-left h2, .history-right h2 {
  color: navy;
  margin-bottom: 10px;
  font-size: 1.5em;
}

.history-left p, .history-right p {
  line-height: 1.6;
  color: #333;
}

/* Image Section */
.history-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.history-image img {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(0,0,0,0.15);
  animation: rotateImage 10s linear infinite;
}

/* Animations */
@keyframes slideInLeft {
  from {
    transform: translateX(-150px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(150px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes rotateImage {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(45deg);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Trigger Animations on Load */
.history-left {
  animation: slideInLeft 2s ease forwards;
}

.history-right {
  animation: slideInRight 2s ease forwards;
  animation-delay: 0.5s;
}

/* Sections */
.section {
  margin: 40px auto;
  padding: 0px;
  background-color:white;
  border-left: 5px solid #03031be4;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  width: 100%;
} */

.section h2 {
  font-size: 1.8rem;
  color: navy;
  margin-bottom:;
}

.section img {
  max-width: 100%;
  border-radius: 10px;
  margin-top: 0px;
}
/* General Styling */
body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9fafb;
  color: #333;
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin: 50px 0 30px;
  color: navy;
  font-weight: 700;
}

/* Container */
.formation-container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Each Section */
.formation-item {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.formation-item:hover {
  transform: translateY(-5px);
}

/* Image Styling */
.image-box {
  flex: 1;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text Styling */
.text-box {
  flex: 1;
  padding: 30px;
}

.text-box h2{
  font-size: 1.8rem;
  color:navy;
  margin-bottom: 15px;
}

.text-box p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
  .formation-item {
    flex-direction: column;
  }

  .image-box,
  .text-box {
    width: 100%;
  }

  .text-box {
    text-align: center;
  }
}
body {
  font-family: "Poppins", sans-serif;
  background-color: #f9fafb;
  margin: 0;
  padding: 0;
  color: #333;
}

/* Title */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: navy;
  font-weight: 700;
  margin: 50px 0 40px;
}

/* Container */
.stages-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 25px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 60px;
  overflow-x: auto;
  padding-bottom: 20px;
}

/* Each Stage */
.stage {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  width: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stage:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.stage img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.stage h2 {
  margin: 15px 0;
  font-size: 1.2rem;
  color: black;
}

/* Arrow Styling */
.arrow {
  font-size: 20px;
  color: navy;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
  .stages-container {
    flex-wrap: wrap;
  }

  .arrow {
    transform: rotate(90deg);
    margin: 10px 0;
  }
}



#milestone h2{
  text-align: center;
  margin-left:-50px ;
  margin-top: -20px;
 
}
#milestone p{
  margin-left: 400px;
  text-align: center;
  width: 400px;
   
}
.section #milestone img{
    display: flex;
    margin-left: 20px;
    background-color: rgba(9, 171, 240, 0.628);

}

.continents-grid{
    display: flex;
    margin: 40px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 100px;  
}

/* Founders */
#founders {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: -39px
}
#Founders h2{
  margin-left: 500px;
  font-size: 30px;
  color:navy;
}
.Founder{
  display: flex;
}
.founder {
  flex: 1;
  width: 40%;
  background-color: #fdf6f1;
  padding: 15px;
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 2px 6px rgb(41, 122, 203);
  

}

.founder img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 0px;
  background-color: rgba(9, 171, 240, 0.628);
}
#spiricha{
  display: flex;
  gap: 150px;
  background-color: #1e94f581;
  font-size: 16px;
  margin-top: -40px;

}
.charism{
  width: 40%;
  margin-left: 50px;
  border-radius: 8px;
}
.spirituality{
  width: 40%; 
}
.charism img{
  width: 200px;
  height: 200px;
}
.spirituality img{
  width: 200px;
  height: 200px;
}

/* Values */
#values{
  display: flex;
}
#values img{
  width:200px;
  height: 200px;
}
#values h2{
  text-align: center;
  
}
#values ul {
  list-style: disc;
  padding-left: 40px;
  margin-top: 60px;
  padding: 20px;
  margin-left: 200px;
  font-style: normal;
  font-size: 18px;
  font-family: sans-serif;
  background-color: navy;
  color: #f4f4f4;

}

#values li {
  margin-bottom: 8px;

}

.continents {
row: gap 250px;
padding: 20px;
margin-bottom: 20px;
border: 3px solid #fff1;
}

/* Devotions */
.devotion-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: 20px;
  object-fit: contain;
}

.devotion {
  flex: 1;
  width: 200px;;
  text-align: center;
  background-color: #f4f4f4;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.devotion img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 10px;
}

.devotion h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #4a2e14;
}

/* Footer */
.page-footer {
  text-align: center;
  margin-top: 60px;
  padding: 20px;
  font-size: 0.9rem;
  color: #888;
  border-top: 1px solid #ddd;
}
