* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
   background: linear-gradient(#d5f2ee, #d7edea, #dfeae9);
  padding: 30px;
  color: #1a3f34;
}


/* Premium Navbar */
.navbar-wrapper {
  height: 80px;
  width: 100%;
}

.navbar {
  position: fixed;
  top: 5px;

  max-width: 1250px;    /* ← main fix */
  margin: 0 auto;       /* ← center with gap */
  left: 0; right: 0;     /* ← equal space left-right */

  height: 70px;

  background: linear-gradient(
      to right,
      rgba(198, 241, 231, 0.9),
      rgba(193, 224, 249, 0.9)
  );
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.4);

  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 30px;
  z-index: 999;
  
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: #0b8d5c;
}

.navbar ul {
  display: flex;
  gap: 28px;
}

.navbar ul li {
  list-style: none;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

.navbar ul li:hover {
  color: #0b8d5c;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.navbar a {
  text-decoration: none;
  color: inherit;
}
.navbar a:hover {
  text-decoration: none;
  color: inherit;
}



.wrapper {
  max-width: 1100px;
  margin: auto;
}

.wrapper p{
  font-size: 18px;
}
.page-title {
  text-align: left;
  font-size: 2.8rem;
  color: #0b8d5c;
}

.page-subtitle {
  text-align: left;
  margin-bottom: 40px;
  opacity: 0.8;
}

/* Layout */
.story-block {
  display: flex;
  align-items: flex-start;   /* FIXED */
  gap: 40px;
  margin: 60px 0;
  opacity: 0;
  transform: translateY(50px);
  transition: 0.9s ease;
}


.story-block.show {
  opacity: 1;
  transform: translateY(0);
}

.story-block.reverse {
  flex-direction: row-reverse;
}

.story-image img {
  width: 300px;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
  opacity: 0;
  transition: 1s ease;
}

/* Image animations */
.story-image.left img.show {
  transform: translateX(0);
  opacity: 1;
}

.story-image.left img {
  transform: translateX(-60px);
}

.story-image.right img.show {
  transform: translateX(0);
  opacity: 1;
}

.story-image.right img {
  transform: translateX(60px);
}

/* Text */
.story-text {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(14px);
  padding: 25px;
  border-radius: 18px;
  opacity: 0;
  transform: translateY(30px);
  transition: 1s ease 0.2s;
  
}

.story-text.show {
  opacity: 1;
  transform: translateY(0);
}

.story-text h2 {
  color: #0b8d5c;
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.story-text p {
     font-size: 18px;
}
 /* Footer */
    footer {
      margin-top: auto;
      padding: 15px;
      font-size: 0.8rem;
      color: #140f0f;
     
      display: flex;
      align-items: center;
      justify-content: center;
      
       
     
    
    }
/* ================================
   RESPONSIVE DESIGN (FINAL VERSION)
================================ */

/* Large Tablets & Small Laptops */
@media (max-width: 1100px) {
 

  .story-image img {
    width: 400px;
  }

  .story-block {
    gap: 30px;
  }
}

/* Tablets */
@media (max-width: 900px) {

  body {
    padding: 20px;
  }

  .navbar {
    height: 65px;
    padding: 0 18px;
    border-radius: 15px;
  }

  .navbar ul {
    gap: 20px;
  }

  .navbar ul li {
    font-size: 15px;
  }

  .story-image img {
    width: 350px;
  }

  .story-text h2 {
    font-size: 1.4rem;
  }
}

/* Mobile — MAIN RESPONSIVE BREAKPOINT */
@media (max-width: 768px) {

  

 

  /* Story Sections Become Vertical */
  .story-block,
  .story-block.reverse {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .story-image img {
    width: 100%;
    max-width: 300px;
  }

  .story-text {
    width: 100%;
    padding: 18px;
  }

  .story-text h2 {
    font-size: 1.3rem;
  }

  .story-text ul {
    text-align: left;
    padding-left: 25px;
  }

  .page-title {
    font-size: 2rem;
  }
}

/* Small Phones */
@media (max-width: 450px) {

 
 
  /* body {
    padding: 10px;
  } */

.wrapper p{
  font-size: 12px;
}

.story-image img {
 display: flex;
 align-items: center;
 justify-content: center;
}


.story-text p {
     font-size: 12px;
}
 
.logo{
  padding: 10px;
}
  
      .navbar ul li {
  
  font-size: 15px;
  font-weight: 400;

}

.navbar ul {

  gap: 10px;
  
}

  .story-image img {
    max-width: 260px;
  }

  .story-text {
    padding: 15px;
  }

  .story-text h2 {
    font-size: 1.2rem;
  }

  .page-title {
    font-size: 1.8rem;
  }
}

