@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100;200;300;400;500;600;700;800&display=swap');

/* Two line Header */
.two-tier-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    gap: 12px;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
    width: 100%;
}
.two-tier-header h1{
    font-family: 'Crimson Text', serif;
    font-size: 38px;
    font-weight: 500;
}
.two-tier-header p{
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    color: grey;
    max-width: 70%;
}

/* three line Header */
.three-tier-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    gap: 12px;
    text-align: center;
    padding-block: 50px;
}
.three-tier-header h4{
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    background: #F6F6F6;
    color: #6D6D6D;
    padding: 8px;
    display: block;
    width: fit-content;
    margin-bottom: 30px;
    margin: 0 auto;
}
.three-tier-header h1{
    font-family: 'Crimson Text', serif;
    font-size: 36px;
    font-weight: 500;
}
.three-tier-header h1 span{
    font-family: 'Crimson Text', serif;
    font-size: 36px;
    font-style: italic; 
    font-weight: 600
}
.three-tier-header p{
    font-family: "DM Sans", sans-serif;
    max-width: 80%;
    font-size: 16px;
    color: grey

}

/* three line Header */
.three-tier-leftheader{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center; 
    gap: 12px;
    text-align: left;
    padding-block: 50px;
}
.three-tier-leftheader h4{
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    background: #F6F6F6;
    color: #6D6D6D;
    padding: 8px;
    display: block;
    width: fit-content;
    margin-bottom: 30px;
    margin-bottom: 0;
}
.three-tier-leftheader h1{
    font-family: 'Crimson Text', serif;
    font-size: 48px;
    font-weight: 600;
}
.three-tier-leftheader h1 span{
    font-family: 'Crimson Text', serif;
    font-size: 36px;
    font-style: italic; 
    font-weight: 600
}
.three-tier-leftheader p{
    font-family: "DM Sans", sans-serif;
    max-width: 60%;
    font-size: 16px;
    color: grey

}

/* Noise background */

.noise-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  width: 100%;
  height: 100%;
  padding: 40px;
  border-radius: 12px;
}

/* Section1 */
.section1 {
  width: 100%;
  padding: 30px 120px;
  box-sizing: border-box;
  overflow-x: hidden; /* safety net */
}

.section1container {
  /* margin: 0 auto; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap: 40px; */
}

.about-image {
  flex: 0 0 35%;
  display: flex;
  height: auto;
  border-radius: 8px;
}

.right_Container {
  flex: 0 0 55%;
  display: flex;
  align-items: center;
  height: auto;
}

.founder-message-box {
  width: 100%;
  padding: 32px;
  box-sizing: border-box;
}
.founder-message-box h3{
  font-size: 24px;
}
.founder-message-box p{
  font-family: "DM Sans", sans-serif;
  color: #4d4a4a;
  line-height: 1.2;
  font-size: 20px;
}

/* ---------- TABLET ---------- */
@media (max-width: 1500px) {
    .section1container {
    flex-direction: column;
  }

}
@media (max-width: 992px) {
  .section1 {
    padding: 60px 40px;
  }
    .section1container {
    flex-direction: column;
  }


  .about-image {
    flex: 0 0 100%;
  }

  .right_Container {
    flex: 0 0 100%;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  .section1container {
    flex-direction: column;
  }

  .about-image,
  .right_Container {
    width: 100%;
  }

  .about-image {
    aspect-ratio: 16 / 9;
  }
}

/* ---------- SMALL MOBILE ---------- */
@media (max-width: 480px) {
  .section1 {
    padding: 40px 16px;
  }

  .founder-message-box {
    padding: 20px;
  }

  .right_Container p {
    font-size: 14px;
  }
}




/* Section 2 */
.section2 {
  padding: 30px 120px;
}

.values-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch ;
}

.values-cards {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  font-family: "DM Sans", sans-serif;
}

.value-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
}

.value-divider {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2px;
}

.value-dot {
  width: 8px;
  height: 8px;
  border: 1px solid black;
  border-radius: 50%;
  background-color: black;
}

.value-line {
  width: 180px;
  border: 1px solid black;
}

.value-number {
  font-size: 42px;
  margin: 0;
  font-weight: 100;
}

.value-heading {
  margin: 0;
  font-weight: 600;
}

.value-text {
  max-width: 200px;
}
.section1container {
  display: flex;
  gap: 40px;
  align-items: stretch;
  height: auto; /* CRITICAL FIX */
}

.about-image {
  flex: 0 0 35%;
  max-height: 500px;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.right_Container {
  flex: 0 0 55%;
  display: flex;
  align-items: center;
  height: auto;
}

.founder-message-box {
  padding: 32px;
  overflow-wrap: break-word;
}

@media (max-width:768px) {
  .section2 {
  padding: 30px 0px;
}
}


/* section 3  */
.section3 {
  padding: 30px 120px;
}

/* divider */
.separator {
  width: 100%;
  border: none;
  border-top: 1px solid #ccc;
  margin-bottom: 30px;
}

/* left description alignment */
.descriptionalignright{
    text-align: right;
    position: relative;
    left: 200px;
}

/* layout */
.story-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}

/* LEFT */
.three-tier-leftheader {
  position: sticky;
  top: 120px;
  height: fit-content;
}

/* RIGHT */
.story-right {
  overflow: hidden;
}

.story-slider {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
  border: 1px solid #CECECE;
  border-radius: 6px;
  background-color: #F2F2F2;
}

.story-slider::-webkit-scrollbar {
  display: none;
}

.story-card {
  flex: 0 0 420px;
  /* border: 1px solid #e5e5e5; */
  border-radius: 12px;
  padding: 32px;
  background: #F2F2F2;
  scroll-snap-align: start;
}

/* timeline */
.story-line {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.story-line .dot {
  width: 8px;
  height: 8px;
  background: black;
  border-radius: 50%;
}

.story-line .line {
  flex: 1;
  height: 1.5px;
  background: black;
  margin-left: 12px;
}

.story-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.story-card p {
  font-size: 16px;
  color: #444;
  line-height: 1.5;
}

.story-card img {
  width: 100%;
  border-radius: 12px;
  margin-top: 20px;
}
@media (max-width: 1200px) {
  .section3 {
    padding: 70px 80px;
  }

  .story-layout {
    gap: 60px;
  }
}
@media (max-width: 992px) {
  .section3 {
    padding: 60px 48px;
  }

  .story-layout {
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
  }

  .story-card {
    flex: 0 0 380px;
  }
}
@media (max-width: 768px) {
  .section3 {
    padding: 60px 24px;
  }

  .story-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .three-tier-leftheader {
    position: relative;
    top: auto;
  }

  .story-slider {
    gap: 24px;
  }

  .story-card {
    flex: 0 0 320px;
  }
  .descriptionalignright{
    padding-inline: 15px;
    left: 120px;
  }
}
@media (max-width: 480px) {
  .section3 {
    padding: 40px 16px;
  }

  .story-card {
    flex: 0 0 280px;
    padding: 24px;
  }

  .story-card h3 {
    font-size: 18px;
  }

  .story-card p {
    font-size: 14px;
  }

  .separator {
    margin-bottom: 20px;
  }
}


/* section4 */
.section4 {
  padding: 30px 120px;
}

.team-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: Arial, sans-serif;
  padding: 40px 0;
}

/* Header */
.team-container > p.title {
  font-weight: 400;
  font-size: 36px;
  margin: 0 0 8px 0;
}

.team-container > p.subtitle {
  color: #787878;
  margin: 0 0 40px 0;
  text-align: center;
}

.team-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: stretch;
  gap: 50px;
  width: 90%;
}

.about-profile-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  padding: 16px;
  width: 300px;
  text-align: left;
  transition: transform 0.3s ease;
}

.about-profile-card:hover {
  transform: translateY(-6px);
}

.about-profile-card img.scale {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s ease;
}

.about-profile-card:hover img.scale {
  transform: scale(1.05);
}

.about-profile-card p.name {
  margin: 10px 0 2px 0;
  font-weight: 600;
  font-size: 16px;
  color: #222;
}

.about-profile-card p.position {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.about-profile-card a {
  margin-top: auto;
}

.linkedin-hover {
  width: 24px;
  height: 24px;
  margin-top: 8px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
  cursor: pointer;
}

.linkedin-hover:hover {
  filter: grayscale(0%);
}

/* Large laptops */
@media (max-width: 1200px) {
  .section4 {
    padding: 30px 80px;
  }

  .team-cards {
    gap: 60px;
    width: 100%;
  }
}

/* Small laptops / tablets landscape */
@media (max-width: 992px) {
  .section4 {
    padding: 30px 60px;
  }

  .team-cards {
    justify-content: center;
    gap: 40px;
  }

  .about-profile-card {
    width: 280px;
  }
}

/* Tablets portrait */
@media (max-width: 768px) {
  .section4 {
    padding: 24px 40px;
  }

  .team-cards {
    gap: 32px;
  }

  .about-profile-card {
    width: calc(50% - 32px);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .section4 {
    padding: 20px;
  }

  .team-cards {
    flex-direction: column;
    gap: 24px;
  }

  .about-profile-card {
    width: 100%;
  }

  .team-container h1 {
    font-size: 28px;
    text-align: center;
  }

  .team-container p {
    text-align: center;
  }
}


    /* section 5 */
    .board-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      font-family: Arial, sans-serif;
      padding: 30px 20px;
      background-color: #ffffff;
    }

    .board-container > p.title {
      font-weight: 400;
      font-size: 36px;
      margin: 0 0 8px 0;
      text-align: center;
    }

    .board-container > p.subtitle {
      color: #787878;
      margin: 0 0 50px 0;
      text-align: center;
      max-width: 600px;
    }

    .board-cards {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
      width: 100%;
      max-width: 1200px;
    }

    .about-profile-card {
      background: #ffffff;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      padding: 16px;
      width: 280px;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .about-profile-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    .about-profile-card img.scale {
      border-radius: 10px;
      width: 100%;
      height: auto;
      display: block;
      transition: transform 0.3s ease;
    }

    .about-profile-card:hover img.scale {
      transform: scale(1.05);
    }

    .about-profile-card p.name {
      margin: 10px 0 4px 0;
      font-weight: 600;
      font-size: 18px;
      color: #222;
    }

    .linkedin-hover {
      width: 28px;
      height: 28px;
      margin-top: 10px;
      filter: grayscale(100%);
      transition: filter 0.3s ease;
      cursor: pointer;
    }

    .linkedin-hover:hover {
      filter: grayscale(0%);
    }

    @media (max-width: 768px) {
      .about-profile-card {
        width: 45%;
      }
    }

    @media (max-width: 480px) {
      .about-profile-card {
        width: 90%;
      }
    }