/* ==========================
   Homepage Hero Section
   ========================== */
   
  .hero {
  position: relative;
  flex: 1;
  min-height: calc(100svh - var(--nav-height));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  color: white;
  }


/* Image section */
.hero_image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit:cover;
}

.hero_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.45)
  );
}

/* Text section */
.hero_content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

.hero_content h1 {
  font-size: clamp(2rem, 4vw, 4.5rem);
  letter-spacing: 0.05em;
  margin: 0;
}

.hero_content p {
  font-size: clamp(1rem, 2vw, 2.5rem);
  
}

.hero_content p * {
  font-size: clamp(1rem, 2vw, 2.5rem) !important;
  margin-bottom: 2rem;
  color: white !important;
}

/* About Vani section*/
h2 {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1.2;
  color: maroon;
  text-align: center;
}

.detailed-description{
  min-height: 100vh;
  width: 70%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  font-size: clamp(1rem, 1.2vw, 2rem) !important;
  text-align: justify !important;
  
}

/*About Vani articles*/

.mv-container { 
  max-width: 100vw;
  padding: 0;
  margin: 0;
}



.stack-wrapper {
  max-width: 100vw;
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.stack{
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding-top: 1rem;
}


.panel {
  position: sticky;
  top: var(--nav-height);
  height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.about-article-1 {
  background: #bfb3f2; /*Initially -> #9589d3;*/
  z-index: 1;
}

.about-article-2 {
  background: #F8F8F8;
  z-index: 2;
}

.about-article-3 {
  background: #6dc9bc;
  z-index: 3;
}

.about-article-4 {
  background: #ffdce0;
  z-index: 4;
}

.about-article-5 {
  background: #f19ec2;
  z-index: 5;
}

.about-article-6 {
  background: lightgray;
  z-index: 6;
}

.article-title-section{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  margin: 0 auto;
  font-weight: 700;
  padding-bottom: 1rem;
}

.article-title-section h3{
  font-size: 7vw;
  line-height: 0;
  letter-spacing: 0;
}


.article-counter{
  width: clamp(32px, 5vw, 80px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(14px, 2vw, 40px);
  font-weight: 700;
}

.article-image-section{
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 80%;
  margin: 0 auto;
  padding-bottom: 1rem;
}


.article-image-section img{
  border-radius: 3%;
}


.article-desc-section{
  display: block;
  text-align: justify;
  width: 80%;
  margin: 0 auto;
  font-size: clamp(1rem, 1.1vw, 2rem);
}

.article-desc-section *{
  background-color: inherit !important;
}

.about-article-end {
  background: black;
  color: #ffffff;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-article-end h3 {
 width: 80%;
 margin: 0 auto 2rem auto;
 text-align: center;
 font-size: 7vw;
}



/* ==========================
   Tablet & Up
   ========================== */

@media (min-width: 1024px) {
  .hero_content {
    max-width: 1000px;
  }

  .hero_image {
    object-fit:cover;
  }

  .detailed-description{
  width: 50%;
  
}

  .mv-container { 
      max-width: 100vw;
    }

    .mv_profile {
      width: 90%;
      min-height: 70vh;
      flex-direction: row;
      gap: 1em ;
    }

    .mv_profile img{
      max-width: 40%;
      height: auto;
    }

    h1 {
      text-align:center;
    }

    .stack{
      width: 70%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      margin: 0 auto;
      padding: 0;
    }

    .article-title-section,
    .article-image-section,
    .article-desc-section{
      width: 100%;
    }

    .article-title-section{
      display: flex;
      flex-direction: row-reverse;
      justify-content: flex-end;
      align-items: center;
      gap: 2rem;
      font-weight: 700;
      padding-bottom: 5rem;
    }

    .article-image-and-desc{
      display: flex;
      flex-direction: row-reverse;
      justify-content: space-between;
      align-items:center;
      gap: 2rem;
    }

    .article-image-section{
      margin: 0 auto;
      padding: 0;
      width: 50%;
    }


    .article-title-section h3{
      font-size: 7vw;
      line-height: 0;
      letter-spacing: 0;
      margin: 0;
    }

    .about-article-end h3 {
      font-size: 4vw;
    }
  
}

@media (min-width: 1540px) {
    .mv-container { 
      max-width: 100vw;
    }
    
}