@font-face {
  font-family: "Actay wide";
  src: url("assets/font/ACTAYWIDE-BOLD.OTF") format("opentype");
}
@font-face {
  font-family: "Actay";
  src: url("assets/font/ACTAY-REGULAR.OTF") format("opentype");
}
*,
::before,
::after {
  box-sizing: border-box;
}
html,
body {
  scroll-snap-type: proximity;
  scroll-snap-type: y proximity;
  scroll-snap-stop: always;
  scroll-behavior: smooth;
}
body {
  background: url("./assets/images/bg-all.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  font-family: poppins;
  overflow-x: hidden;
  margin: 0;
  --primary: #d8b89a;
  --secondary: #1786bb;
  --gray: #d9d9d9;
  --dark: #363636;
  --light-gray: #f1f0f0;
  --font-size-one: 0.8rem;
  --font-size-two: 1rem;
  --font-size-three: 2rem;
}
.hero {
  padding: 4rem 5rem 13vw 5rem;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.anchor-div {
  display: flex;
  gap: 5rem;
  align-items: center;
}
.profile-pic {
  background-color: var(--dark);
  color: white;
  font-size: var(--font-size-two);
  width: 4rem;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
}
.heading-div {
  padding: 8rem 0rem;
}
.heading-div > div {
  padding-bottom: 5rem;
}
.main-heading {
  font-size: 3.7rem;
  font-weight: 800;
  font-family: Actay wide;
  color: var(--secondary);
  margin: 0;
}
.intro-lines {
  font-size: 3rem;
  font-weight: 100;
  font-family: Actay;
  margin: 0;
}
.read-anchor {
  text-decoration: none;
  color: var(--light-gray);
  background-color: var(--secondary);
  padding: 0.6rem 3rem;
  border-radius: 10rem;
  font-size: var(--font-size-three);
  font-weight: 700;
}

.pos-relative {
  position: sticky;
  --boat-height: 20rem;
  top: calc(var(--boat-height) / 2);
  display: flex;
  justify-content: center;
  z-index: 50;
}
.boat-div {
  position: relative;
  animation: boat-floating 10s infinite;
}
.boat-img {
  height: 22rem;
}
.paddles {
  position: absolute;
  height: 7rem;
  top: calc(var(--boat-height) / 2 + 1.7rem);
}
@keyframes row-left {
  25% {
    rotate: 0deg;
  }
  65% {
    rotate: 0deg;
    transform: rotateX(-150deg);
  }
  100% {
    transform: rotateX(-180deg);
    rotate: -80deg;
  }
}
@keyframes row-right {
  25% {
    rotate: 0deg;
  }
  65% {
    rotate: 10deg;
    transform: rotateX(-150deg);
  }
  100% {
    transform: rotateX(-180deg);
    rotate: 80deg;
  }
}
.paddle-right {
  right: -55%;
  transform-origin: top left;
  rotate: -40deg;
}
.paddle-left {
  transform-origin: top right;
  left: -60%;
  rotate: 40deg;
}
.paddles-move-left {
  animation: row-left 1200ms 1 ease-in-out;
}
.paddles-move-left-back {
  animation: row-left 1200ms 1 ease-in-out reverse;
}
.paddles-move-right {
  animation: row-right 1200ms 1 ease-in-out;
}
.paddles-move-right-back {
  animation: row-right 1200ms 1 ease-in-out reverse;
}
/* .paddles-move-left {
  transition: transform 1100ms ease-in;
  transform: rotateX(360deg);
}
.paddles-move-right {
  transition: transform 1100ms ease-in;
  transform: rotateX(360deg);
} */

@keyframes boat-floating {
  0% {
    transform: translateX(0);
  }
  33% {
    transform: translateX(5px);
  }
  66% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(0);
  }
}

/*  */
@keyframes leafFloating {
  100% {
    rotate: 45deg;
  }
}
.fish {
  width: 50px;
  height: 40px;
  opacity: 0;
  position: relative;
}
.fish1 {
  margin-left: 500px;
  animation: example 10s 5s infinite linear;
}

@keyframes example {
  0% {
    top: 0px;
    scale: 0.8;
    opacity: 0;
  }
  50% {
    opacity: 1;
    scale: 1;
    top: 200px;
  }
  100% {
    opacity: 0;
    scale: 0.7;
    top: 300px;
  }
}

.fish2 {
  margin-left: 300px;
  animation: example 7s 5s infinite linear;
}
.fish3 {
  margin-left: 400px;
  animation: example 8s 5s infinite linear;
}

@keyframes leafblowing {
  100% {
    rotate: 0deg;
  }
}
@keyframes flowerRotator {
  100% {
    rotate: 360deg;
  }
}
.leaf-lake {
  height: 700px;
  width: 100%;
  position: relative;
}
.leaf-float {
  position: absolute;
  animation: leafFloating 20s infinite linear alternate;
}
.white-flowers {
  position: absolute;
  animation: flowerRotator 30s ease-in-out infinite;
}
.white-flower1 {
  top: 0;
  right: 50%;
}
.white-flower2 {
  top: 50%;
  right: 30%;
}
.white-flower3 {
  bottom: 0;
  left: 20%;
}
.white-flower4 {
  top: 30%;
  left: 30%;
}
.leafNo1 {
  bottom: 0;
  right: 50%;
  transform: translate(30%);
}
.leafNo2 {
  bottom: 60%;
  right: 37%;
  rotate: 60deg;
  scale: 0.9;
  transform: translate(30%);
}
.leafNo3 {
  bottom: 30%;
  left: 30%;
  scale: 0.8;
  rotate: 90deg;
  transform: translate(30%);
}
.leafNo4 {
  bottom: -10%;
  right: 10%;
  scale: 1.1;
  rotate: 180deg;
  transform: translate(30%);
}
.leaf-clump {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 130%;
  overflow: hidden;
  z-index: 100;
}
.leaf-clump > div {
  position: absolute;
  bottom: 0;
}
.leaf-clump-right {
  right: -9%;
  isolation: isolate;
}
.leaf-clump-left {
  left: -9%;
  bottom: 50px;
  transform: rotateY(180deg) rotateZ(-5deg);
}
.big-leaf {
  position: absolute;
  transform-origin: right bottom;
  scale: 0.75;
  bottom: 0;
  right: 0;
  animation: leafblowing 7s infinite alternate ease-in-out;
}
.leaf-clump-left .big-leaf {
  animation: leafblowing 10s infinite alternate ease-in-out;
}
.flower {
  scale: 1;
  bottom: 180px;
  right: 180px;
}
.leaf-clump-left .flower {
  bottom: 0px;
  scale: 1.1;
  right: 450px;
  transform: rotateY(180deg);
}
.big-leaf1 {
  z-index: 6;
  rotate: 2deg;
}
.big-leaf2 {
  z-index: 5;
  rotate: -3deg;
}
.big-leaf3 {
  z-index: 2;
  rotate: -3deg;
}
.big-leaf4 {
  z-index: 3;
  scale: 0.62;
  rotate: 2deg;
}
.flower1 {
  z-index: 1;
  rotate: -3deg;
}
.flower2 {
  z-index: 4;
  rotate: 2deg;
}
.big-leaf5 {
  z-index: 4;
  rotate: 10deg;
}
.big-leaf6 {
  z-index: 5;
  rotate: -6deg;
}
.big-leaf7 {
  z-index: 3;
  scale: 0.62;
  rotate: 5deg;
}
.flower3 {
  z-index: 2;
  rotate: 2deg;
}

/*  */

.data-section {
  position: relative;
  display: flex;
  gap: 13rem;
  padding: 4rem;
  z-index: 100;
  --div-padding: 2rem;
  --svg-height: 4rem;
  --svg-width: calc((100vw - 21rem) / 4 + 9rem);
  --svg-left: calc((100vw - 21rem) / 4 + 6rem);
  scroll-snap-align: start;
}
.data-section-reverse {
  transform: rotateY(180deg);
}
.picture-div {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.picture-title {
  font-size: var(--font-size-three);
  color: #e5f3f4;
  font-weight: 300;
  margin: 0;
}

.picture-num {
  color: #48818b;
  font-size: 3rem;
  font-weight: bold;
}
.leaf-background {
  width: 100%;
  padding-inline: 6rem;
  padding-block-start: 4rem;
}
.round-img {
  position: absolute;
  width: calc(100% - 14rem);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 100%;
  top: 5rem;
  left: 7rem;
}
/*  */

.content-div {
  flex: 1;
}
.data-section-reverse .content-article {
  transform: rotateY(180deg);
}
.data-section-reverse .picture-title {
  transform: rotateY(180deg);
}
.hidden-div {
  scale: 0;
  overflow: hidden;
  translate: -50% -50%;
  transition: all 600ms 450ms;
  border-radius: 2rem;
}
.content-article {
  background-color: white;
  font-size: var(--font-size-two);
  opacity: 0.8;
  padding: 2rem var(--div-padding);
}

.article-title {
  margin-block: 0.5rem;
}
/*  */
.svg-div {
  position: absolute;
  left: var(--svg-left);
  transform: skewX(-45deg);
  z-index: 101;
}
.line-svg {
  width: calc(var(--svg-width));
  height: var(--svg-height);
}
.line-rect {
  position: relative;
  width: 100%;
  height: 100%;
  fill: transparent;
  stroke: white;
  stroke-width: 4px;
  stroke-dashoffset: 4rem;
  stroke-dasharray: 0rem calc((4rem + var(--svg-width)) * 2);
  transition: all 300ms 100ms;
}

.svg-div::after,
.svg-div::before {
  position: absolute;
  content: "";
  --radius: 0rem;
  width: var(--radius);
  height: var(--radius);
  border-radius: var(--radius);
  transform: skewX(45deg);
  background-color: white;
}
.svg-div::before {
  transition: all 100ms;
  bottom: 0;
  left: calc(var(--radius) / -2);
}
.svg-div::after {
  transition: all 100ms 400ms;
  top: calc(var(--radius) / -2);
  right: calc(var(--radius) / -2);
}
.section-animate .line-rect {
  stroke-dasharray: calc(4rem + var(--svg-width));
}
.section-animate .svg-div::after,
.section-animate .svg-div::before {
  --radius: 1.3rem;
}
.section-animate .hidden-div {
  scale: 1;
  translate: 0 0;
}

/*  */
/*  */
.htmlframe {
  width: 100%;
  height: 400px;
}
.article-content {
  font-size: var(--font-size-two);
}
.cardfooter {
  display: flex;
  justify-content: flex-end;
  font-size: 1.2rem;
}
.cardfooter > a {
  text-decoration: none;
}

.chartjs {
  width: 100%;
  height: 400px;
}
.gif-img {
  width: 100%;
  height: 600px;
  /* object-fit: contain; */
}
/*water Ripple */
.circles {
  height: 30vmin;
  position: absolute;
  width: 30vmin;
 top: 4rem;
  z-index: -2;
}
.circle{
   
    animation: growAndFade 4s infinite ease-out;
    background-color:rgb(35, 57, 65);
    border-radius: 50%;
    height: 100%;
    opacity: 0;
    position: absolute;
    width: 100%;
  }
  
  .circle1 {
    animation-delay: 1s;  
  
  }
  .circle2 {
    animation-delay: 2s; 
  }
  .circle3 {
    animation-delay: 3s;
  }

@keyframes growAndFade {
  0% {
    opacity: .25;
    transform: scale(0);
  }
  100% {
    opacity: 0;
    transform: scale(0.9);
  }
}
.ripple-flex{
  
  display: flex;
  /* flex: 1; */
   flex-direction: column;
  align-items: center; 
 
}



/* for Tablet view */
@media screen and (min-width: 700px) and (max-width: 1000px) {
  .heading-div {
    padding: 7rem 0rem;
  }

  .big-leaf {
    transform: scale(0.6);
  }
  .flower {
    transform: scale(0.4);
  }
  .leaf-clump-left > img:nth-child(4) {
    height: 20rem;
    width: 30rem;
  }
  .picture-title {
    font-size: larger;
  }
  .content-article {
    font-size: 1.3rem;
  }
  .data-section {
    flex-direction: column;
    /* flex-wrap: wrap; */
    gap: 10rem;
  }
  .data-section .picture-div {
    flex-basis: 500px;
  }
  .svg-div {
    display: none;
  }
  .pos-relative {
    padding-top: 125px;
  }
  .circles {
 
    top: 12rem;
    
  }
}
/* for mobile view */
@media screen and (max-width: 699px) {
  /* Heading area------------- */

  .heading-div a {
    padding: 0.5rem 1rem;
    font-weight: 400;
    font-size: 1rem;
  }
  .heading-div {
    padding: 2rem 0rem;
  }
  .hero {
    padding: 2rem 2rem 13vw 2rem;
  }
  .iudx-logo {
    height: 4rem;
  }
  .heading-div > div {
    padding-bottom: 2rem;
  }
  .main-heading {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
  }
  .intro-lines {
    font-size: 2.7rem;
    font-weight: 70;
    margin: 0;
  }
  .read-anchor {
    padding: 0.6rem 3rem;
    border-radius: 6rem;
    font-size: 1.5rem;
    font-weight: 700;
  }

  /* ----- */
  /* intial leaf */
  .big-leaf {
    transform: scale(0.3);
  }
  .flower {
    transform: scale(0.3);
    bottom: 100px;
    right: 70px;
  }
  .leaf-clump-left > img:nth-child(4) {
    height: 15rem;
    width: 35rem;
    bottom: 30px;
    right: 400px;
  }
  .picture-title {
    font-size: large;
  }

  .data-section {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    padding: 1rem;
  }

  .svg-div {
    display: none;
  }
  /* leaf */
  .leaf-float {
    transform: scale(0.5);
  }
  .picture-div > .leaf-background {
    width: auto;
    position: relative;
  }

  .picture-div > .round-img {
    width: 9.5rem;
    bottom: auto;
    position: absolute;
    left: auto;
    top: 4.5rem;
  }
  .fish {
    display: none;
  }
  .circles {

    top: 8rem; 
  }
  .circle{
   
    border-radius: 80%;
  
  }

  @keyframes growAndFade {
    0% {
      opacity: .35;
      transform: scale(0);
    }
    100% {
      opacity: 0;
      transform: scale(1.5);
    }
  }
}

