@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lexend:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ----------------------------
   BW Gradual Font Import
----------------------------- */
@font-face {
  font-family: 'BwGradual';
  src: url('./fonts/BwGradualDEMO-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'BwGradual';
  src: url('./fonts/BwGradualDEMO-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'BwGradual';
  src: url('./fonts/BwGradualDEMO-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'BwGradual';
  src: url('./fonts/BwGradualDEMO-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'BwGradual';
  src: url('./fonts/BwGradualDEMO-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}
 
.main-about-banner{
    /* background-color: #f5f5f5; */
    padding: 0 0;
    text-align: center;
    display: flex;
    align-items: center;
    height: 100vh;
    justify-content: center;
}

.main-heading {
    color: black;
    font-size: 70px;
    font-family: 'BwGradual', sans-serif ;
    font-weight: 300;
}
.main-heading span {
        font-family: 'BwGradual', sans-serif ;
    font-style: italic;
    font-weight: 700;
}



.content p {
    font-size: 14px;
    padding-top: 24px;
    width: 50%;
    font-size: 1rem;
    color: #555;
}
.content {
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}







/* about 2 */
/* Wrapper */
.aboutsection2_wrapper {
  background-color: white;
  color: #fff;
  padding: 50px 20px;
  min-width: 320px;
}

/* Banner layout */
.aboutsection2_banner {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
}

/* Text block */
.aboutsection2_textblock {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.aboutsection2_heading {
  font-family: 'BwGradual', sans-serif !important;
  font-weight: 300;
  font-size: 80px;
  display: flex;
  flex-wrap: wrap;
}

.aboutsection2_subheading {
  font-family: 'BwGradual', sans-serif;
  font-weight: 200;
  font-style: italic;
  font-size: 25px;
  color: #0CC49F;
  padding-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
}

.aboutsection2_letter {
  opacity: 0; /* animate with GSAP */
  transform: translateY(50px);
  display: inline-block;
}

/* Paragraphs */
.aboutsection2_text {
  font-family: 'Lexend', sans-serif;
  font-weight: 200;
  font-size: 16px;
  line-height: 22px;
  width: 84%;
}

/* Quote + Image */
.aboutsection2_quote_image {
  display: flex;
  flex-direction: row;
  gap: 30px;
  flex-wrap: wrap;
}

.aboutsection2_quote {
  flex: 1 1 400px;
  display: flex;
  height: 270px;
  flex-direction: column;
  gap: 15px;
  background: linear-gradient(184deg, rgba(255, 255, 255, 0.2) 9%, rgba(255, 255, 255, 0) 50%),
              linear-gradient(34deg, rgba(200, 219, 255, 0) 50%, #0CC49F 100%);
  border-radius: 14px;
  padding: 20px;
}
.aboutsection2_image {
    flex: 1 1 400px;
    align-items: inherit;
    justify-content: end;
    display: flex;
}

.aboutsection2_quote h3 {
  font-size: 40px;
  font-family: Inter;
  font-style: italic;
  font-weight: 700;
}

.aboutsection2_image {
  flex: 1 1 400px;
}

.aboutsection2_image img {
  width: 100%;
  border-radius: 15px;
  width: 200px;
}

.aboutsection2_text {
    /* font-family: inter, sans-serif; */
    font-weight: 300 !important;
    font-size: 16px;
    line-height: 22px;
}
/* ends */



/* 3rd seciotn */
.aboutsection3_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 108px;
  width: 100%;
  max-width: 1360px;
  margin: auto;
  padding: 80px 15px;
  box-sizing: border-box;
  min-width: 800px;
}

.aboutsection3_heading {
  display: flex;
  flex-wrap: wrap;
  font-style: italic;
  font-family: 'BwGradual', sans-serif;
  font-weight: 700;
  font-size: 80px;
  justify-content: center;
  gap: 25px;
  color: black;
  padding-bottom: 20px;
  line-height: 79px;
}

.aboutsection3_letter {
  opacity: 0;
  transform: translateY(50px) rotate(3deg);
  display: inline-block;
}

.aboutsection3_subheading {
  max-width: 600px;
  text-align: center;
  font-family: Lexend, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  color: #545454;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.aboutsection3_images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.aboutsection3_img {
  border-radius: 15px;
  width: 100%;
  max-width: 422px;
  height: auto;
}

/* Mobile responsive */
@media screen and (max-width: 800px) {
  .aboutsection3_wrapper {
    min-width: unset;
    width: 80%;
    padding: 20px;
  }

  .aboutsection3_heading {
    font-size: 50px;
  }

  .aboutsection3_subheading {
    font-size: 14px;
  }

  .aboutsection3_images {
    gap: 15px;
  }

  .aboutsection3_img {
    max-width: 100%;
  }
}

.aboutsection3_wrapper {
    flex-direction: row;
}

.image1 {
    /* background: red; */
    width: 69%;
}
p.aboutsection3_text {
    text-align: left;
}
.image2 {
    width: 100%;
    display: flex;
    justify-content: end;
}
.image3 {
    width: 100%;
    display: flex;
    justify-content: start;
}
.image3 img {
    width: 260px;
}
.aboutsection3_images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

/* mobile */
/* Mobile responsive for 480px */
@media screen and (max-width: 480px) {

  .aboutsection3_wrapper {
    flex-direction: column !important;
    width: 100%;
    padding: 25px 15px;
    gap: 40px;
  }

  .aboutsection3_heading {
    font-size: 38px !important;
    line-height: 44px !important;
    gap: 10px;
    text-align: center;
    flex-wrap: wrap;
  }

  .aboutsection3_subheading {
    font-size: 14px;
    line-height: 20px;
    max-width: 100%;
    padding: 0 10px;
    text-align: center;
  }

  .aboutsection3_images {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
  }

  .aboutsection3_img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto;
  }

  /* Custom layouts */
  .image1,
  .image2,
  .image3 {
    width: 100% !important;
    justify-content: center !important;
  }

  .image3 img {
    width: 200px !important;
  }

  p.aboutsection3_text {
    text-align: center !important;
    padding: 0 10px;
  }
}

/* ends */


 
 /* 4th */
.aboutsection4_wrapper {
  width: 100%;
  padding: 80px 0;
  overflow: hidden;
}

.aboutsection4_track {
  display: flex;
  gap: 40px;
  width: max-content;
  padding-left: 40px;
  border-top: none;
}

.aboutsection4_card {
  min-width: 300px;
  padding: 40px;
  background: white;
  border-radius: 0;
  width: 370px;
  /* box-shadow: 0 10px 30px rgba(0,0,0,0.1); */
  border-right: 1px solid #e7e4e4;
}

.aboutsection4_card h2 {
  font-size: 36px;
  font-family: 'BwGradual', sans-serif;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 10px;
}

.aboutsection4_sub {
  font-size: 16px;
  color: #545454;
  margin-bottom: 25px;
  font-weight: 300;
  font-family: 'Lexend', sans-serif;
}

.aboutsection4_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.aboutsection4_tags span {
  background: #F7F7F7;
  padding: 10px 22px;
  border-radius: 26px;
  font-size: 12px;
  font-weight: 200;
  font-family: 'Lexend', sans-serif;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .aboutsection4_card {
    min-width: 85vw;
    padding: 30px;
  }
}

 /* ends */





 /* fifth section */
 /* Layout */
.aboutsection5_wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
  background: transparent;
}

/* Container with min width 800 on large screens */
.aboutsection5_container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
  max-width: 1289.99px;
  min-width: 800px; /* requested minimum width */
  box-sizing: border-box;
}

/* Card */
.aboutsection5_card {
  background: #ededed;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(10,10,10,0.06);
  transform-origin: center center;
}

/* Media area (image + overlay) */
.aboutsection5_card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 383 / 450; /* keeps similar proportion */
  overflow: hidden;
  background: #eaeaea;
}

.aboutsection5_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px 15px 0 0;
  transform: scale(1.02);
}

/* overlay that fades in */
.aboutsection5_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,0.75) 100%);
  opacity: 0;
  transition: opacity .3s ease;
}

/* Body */
.aboutsection5_card-body {
  padding: 20px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: transparent;
}

.aboutsection5_name {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #ffffff;
  margin: 0;
  transform-origin: left center;
  /* start hidden for animation */
  opacity: 0;
}

.aboutsection5_role {
  font-family: "Lexend", sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin: 0;
  opacity: 0;
}

/* Make text readable over overlay by moving text into absolute bottom area */
.aboutsection5_card-body {
  position: relative;
  margin-top: -110px; /* pull into overlay area */
  z-index: 2;
  color: white;
  text-align: center;
}

/* Small-screen / responsive rules */
@media (max-width: 1100px) {
  .aboutsection5_container {
    grid-template-columns: repeat(2, 1fr);
    min-width: unset;
    width: 100%;
    max-width: 980px;
  }
}

@media (max-width: 800px) {
  .aboutsection5_container {
    grid-template-columns: 1fr;
    width: 80%; /* use 80% width on mobile as requested */
    min-width: unset;
    gap: 20px;
  }

  .aboutsection5_card-body {
    margin-top: -90px;
  }

  .aboutsection5_name { font-size: 24px; }
  .aboutsection5_role { font-size: 15px; }
}

/* Reduce bottom white-gap possibility by ensuring wrapper padding-bottom small */
.aboutsection5_wrapper { padding-bottom: 20px; }
 /* ends */

 .aboutsection4_tags span:hover {
    background:#0CC49F !important;
    color: white !important;
}