body {
  background-color: white !important;
}


.header-section {
  background-color: white;
  /* width: 100vw; */
}


.header-main-div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  letter-spacing: 1px;
  height: 50px;
}

.rightside-header-div p:hover .services-dropdown {
  display: block;
}

.rightside-header-div {
  width: fit-content !important;
  border-radius: 10px;
  transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
    background-color 0.3s ease;
  /* Smooth easing */
  will-change: transform, width, height, padding;
  transform-origin: right center;
  /* Grows/shrinks from the right side */
  backface-visibility: hidden;
  /* Improves animation smoothness */
  transform: translateZ(0);
  /* Forces GPU acceleration */
}

/* Default state (fully grown) */
.rightside-header-div.grown {
  transform: scale(1);
  padding: 0 15px;
  /* Adjust as needed */
}

/* Scrolled state (shrunk) */
.rightside-header-div.shrunk {
  transform: scale(0.85);
  /* Slightly smaller */
  padding: 0 8px;
  /* Tighter padding when shrunk */
}

.rightside-header-div.scaled {
  transform: scale(0.9);
  /* Adjust scale factor as needed */
  padding: 0 10px;
  /* Adjust padding to match your design */
}

.rightside-header-div p {
  position: relative;
}

.logo-div {
  overflow: hidden;
  /* Ensures no overflow during animation */
  display: inline-block;
  transition: transform 0.3s ease;
  will-change: transform;
}

.logo-img {
  width: 200px;
  opacity: 1;
  transition: width 0.5s ease, opacity 0.5s ease;
  display: block;
}

/* Add this to your CSS */
.rightside-header-div.scrolled-bg p.navItems a {
  color: white !important;
}

.rightside-header-div.scrolled-bg p.navItems {
  color: white;
}

.mbl-header-main-div {
  display: none;
}

.rightside-header-div p.navItems a {
  color: black !important;
  transition: color 0.3s ease;
}

/* .fa-times {
  color: black !important;
} */

@media (max-width: 768px) {
  .header-main-div {
    display: none;
  }

  .mbl-header-main-div {
    display: block;
    color: black;
  }

  .mbl-header-main-div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 2%; */
  }

  .rightside-header-div.scaled {
    transform: scale(0.95);
    /* Slightly less scaling on mobile */
  }

  .rightside-header-div.shrunk {
    transform: scale(0.9);
    /* Less shrinkage on mobile */
    padding: 0 10px;
  }
}

/* Sections after Navbar */

#section1 {
  height: 100%;
  background-color: white;
  color: #141515;
  position: relative;
  /* margin-top: 40px; */
  /* padding: 8% 8%; */
  width: 80%;
  padding-top: 10%;
  padding-bottom: 10%;
  margin-left: auto;
  margin-right: auto;
  /* background-color: red */
}

.hero-section {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transform: none;
  animation: fadeInLeftItem 3s ease-out forwards;
  /* padding: 10% 0; */
}

.hero-section h1 {
  font-size: 3rem;
  /* margin-bottom: 10px; */
}

.text-line {
  display: inline-block;
}

.hero-section p {
  font-size: 3.5em;
  /* margin-bottom: 18px; */
  line-height: 1.2em;
}

.card {
  /* position: relative; */
  height: 100vh;
  overflow: hidden;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  opacity: 1;
  will-change: transform;
  border: 1px white;
}


.card:nth-child(1)::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: white;
  /* This creates the initial black cover */
  z-index: 2;
  animation: revealFromLeft 1.2s ease-out forwards;
}

.card:nth-child(2) {
  height: 120vh;
}


.wrapper {
  padding: 0 2% !important;
}

/* .animated-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards;
}

.animated-text span:nth-child(n) {
  animation-delay: calc(0.05s * var(--i));
} */

/* .hero-section p:nth-child(2) span {
  opacity: 0;
  transform: translateY(20px);
  display: inline-block;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-section p:nth-child(2).animate-in span {
  opacity: 1;
  transform: translateY(0);
} */

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.card img {
  position: absolute;
  z-index: 1;
  /* Below the ::after element initially */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  will-change: transform;
  transform: scale(1.2);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes revealFromLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}

.content-after-card {
  height: 200vh;
  background: #f5f5f5;
}

.content-after-card {
  height: 200vh;
  background: #f5f5f5;
}

.card2 {
  display: flex;
  justify-content: space-between;
}

.section3-hero {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 1rem;
  padding: 4%;
  justify-content: flex-start;
  align-items: flex-start;
  font-size: 2rem !important;
}

.column {
  flex: 1 1 1;
  min-width: 150px;
  /* Prevent columns from getting too narrow */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.column hr {
  height: 2px;
  background-color: #aaa;
  border: none;
  margin-bottom: 1rem;
}

.section31-hero {
  display: grid;
  grid-template-rows: 50% 50%;
  padding: 4%;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 2rem;
}

.row11 {
  display: grid;
  grid-template-columns: 40vw 20vw 20vw;
  gap: 2rem;
}

.row2 {
  display: grid;
  grid-template-columns: 40vw 20vw;
  gap: 2rem;
}

.row2 hr {
  display: none;
}


.row1 div {
  min-width: 150px;
  width: 100%;
  box-sizing: border-box;
}

.row2 div {
  min-width: 150px;
  box-sizing: border-box;
}

.tall {
  flex: 2 1 auto;
  justify-content: space-between;
}

.label-text {
  color: #e5e8e8;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.big-text {
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: 300;
  color: white;
}

.big-number {
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  color: white;
}

/* Button styles */
.project-button-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4% 2%;
}

.project-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  /* Space between text and arrow */
  width: 100%;
  padding: 0 60px;
  background-color: #bfff4f;
  color: #141515;
  text-decoration: none;
  font-size: 4rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.project-button span {
  font-size: 2rem;
}

.project-button i {
  font-size: 4rem;
}

.explore_button {
  width: 20rem;
}

.switch-button {
  position: relative;
  font-size: 2.5rem;
  font-weight: 500;
  /* color: white; */
  padding: 0 20px;
  overflow: hidden;
  cursor: pointer;
  display: inline-block;
  height: 3rem;
  width: 100%;
  letter-spacing: normal;
}

.text-layer {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
  justify-content: center;
}

.text-layer span {
  display: inline-block;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.text-b span {
  transform: translateY(100%);
}


@keyframes fadeInLeftItem {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 768px) {
  #section1 {
    height: 100%;
    background-color: white;
    color: #141515;
    position: relative;
    width: 80% !important;
    padding-top: 10%;
    padding-bottom: 10%;
    margin-left: auto;
    margin-right: auto;
    /* margin-top: 10px; */
    /* padding: 10% 10%; */
  }

  .hero-section h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .hero-section p {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .card:nth-child(1) {
    max-height: 200px;
  }

  .card:nth-child(2) {
    height: 100vh;
  }

  .section3-hero {
    gap: 0.5rem;
    padding: 0.5rem;
    height: 100% !important;
  }

  .column {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .section31-hero {
    display: grid;
    grid-template-rows: 1fr 1fr;
    padding: 4%;
  }

  .row11 {
    display: grid;
    grid-template-columns: 80vw;
    width: 100%;
    /* background-color: cyan; */
    gap: 2rem;
  }

  .row2 {
    display: grid;
    grid-template-columns: 80vw;
    gap: 2rem;
  }

  .row11 div {
    min-width: 150px;
    width: 100%;
    box-sizing: border-box;
  }

  .row2 div {
    min-width: 150px;
    box-sizing: border-box;
  }

  .row11 div hr {
    display: none;
  }

  .row2 hr {
    display: block;
  }

  .tall {
    flex-direction: column;
    gap: 1.5rem;
  }

  .big-number {
    font-size: 3rem;
  }

  .big-text {
    font-size: 1.1rem;
  }

  .project-button {
    padding: 16px;
    font-size: 1rem;
    gap: 10px;
  }

  .arrow {
    width: 16px;
    height: 16px;
  }

  .project-button span {
    font-size: 1rem;
  }

  .project-button-container {
    padding: 4% 2%;
  }

  .explore_button {
    width: 10rem;
  }

  .switch-button {
    position: relative;
    font-size: 2.5rem;
    font-weight: 400;
    /* color: white; */
    padding: 0 20px;
    overflow: hidden;
    cursor: pointer;
    height: 28px;
    display: flex !important;
    justify-content: left !important;
    align-items: flex-start !important;
  }
}

@media (min-width: 769px) and (max-width: 1259px) {
  .hero-section p {
    font-size: 3rem;
  }
}

@media (min-width: 1260px) and (max-width: 1440px) {
  .hero-section p {
    font-size: 3rem;
  }
}

@media (min-width: 1441px) and (max-width: 1640px) {
  .hero-section p {
    font-size: 4.4rem;
  }
}

@media (min-width: 1641px) and (max-width: 1920px) {
  .hero-section p {
    font-size: 4.6rem;
  }

  .section3-hero {
    gap: 4rem;
    padding: 3%;
  }

  .column {
    gap: 3rem;
  }

  .big-number {
    font-size: 5rem;
  }

  .big-text {
    font-size: 1.5rem;
  }

  .project-button {
    padding: 25px 30px;
    font-size: 1.5rem;
  }

  .project-button span {
    font-size: 2rem;
  }

  .arrow {
    width: 32px;
    height: 32px;
  }

  .project-button i {
    font-size: 2rem;
  }

  /* .animated-text {
    font-size: 14rem;
  } */
}

@media (min-width: 1920px) {
  .hero-section p {
    font-size: 5rem;
  }
}

/* Arrow icon */
.project-button i {
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.project-button:hover i {
  transform: translate(3px, -3px);
  /* Move diagonally on hover */
}

@media (max-width: 768px) {
  .project-button {
    padding: 16px;
    font-size: 1rem;
  }

  .project-button i {
    font-size: 1.2rem;
  }


  .projectDes1 {
    font-size: 1.5rem;
    width: 100% !important;
    line-height: 3rem;
    font-weight: 200 !important;
    color: white;
    transition: color 0.9s linear;
  }
}

.thirdDiv-pro1 {
  background-color: white;
  color: #141515;
  padding: 2% 0 6% 0;
  border-bottom: solid gray 0.1cap;
}

.thirdhead-pro1 {
  background-color: white;
  color: #141515;
  padding: 6% 0;
  /* width: 80%; */
  margin-left: auto;
  margin-right: auto;
  /* padding-top: 10%;
  padding-bottom: 10%; */
}

.projectDes1 {
  font-size: 36px;
  width: 100% !important;
  line-height: 50px;
  font-weight: 200 !important;
  color: white;
  transition: color 0.9s linear;
}
.section {
  display: flex;
  flex-wrap: wrap;
  
  margin-bottom: 60px;
}

.section-title,
.section-content {
  width: 50%;
  box-sizing: border-box;
}

.sticky-div{
  position: sticky !important;
  top: 50px;
  height: 100%;
  width:50%;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 400;
  padding-right: 20px;
}


  .animation {
    background: linear-gradient(90deg, rgba(19, 199, 139, 1) 0%, rgba(0, 186, 255, 1) 100%);
    background-clip: text; 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    animation: animate-gradient 16.5s linear infinite;
    animation-direction: reverse;
    background-size: 200%;
    font-size: 42px;
}

.section-content {
  font-size: 1.2rem;
  color: #444;
  padding-left: 20px;
  line-height: 35px;
  font-weight: 300;
}




/* box-content styles */

.box-content-section{
   width: 100%; 
   min-height: 500px; 
   background-color: black; 
   color: white; 
   margin-bottom: 6%; 
   padding: 0 4%;
  display: flex; 
  align-items: center;
  border-radius: 20px;
}

.box-content-main-div{
  width: 100%;  
  padding: 100px 0; 
  display: flex; 
  justify-content: space-between;
}

.box-content-div{
  width: 250px;
}

.box-content-div>h1{
font-size: 98px; 
color: #2E312A;
font-weight: 500;
}

.box-content-div>h3{
font-size: 26px; 
margin-top: -50px; 
margin-bottom: 30px; 
font-weight: 500;
  color: #f5f5f5;

}

.box-content-div>p{
  line-height: 15px; 
  font-size: 16px;
  color: #d6d6d6;
}

@media (max-width: 768px) {

  .section-title,
  .section-content {
    width: 100%;
    padding: 0;
  }

  .section-title {
    margin-bottom: 10px;
  }
}

@media (min-width: 769px) and (max-width: 1259px) {
  .thirdhead-pro1 {
    background-color: white;
    color: #141515;
    padding: 10% 0;
    /* width: 80%; */
    margin-left: auto;
    margin-right: auto;
    /* padding-top: 10%;
  padding-bottom: 10%; */
  }

  .projectDes1 {
    font-size: 36px;
    width: 100% !important;
    line-height: 50px;
    font-weight: 200 !important;
    color: white;
    transition: color 0.9s linear;
  }


}

@media (min-width: 1440px) and (max-width: 1919px) {
  /* .challenge .wrapper{
    padding: 2% 12% !important;
  } */

  .challenge{
    padding: 0 4%;
  }
  .thirdhead-pro1{
    padding: 2% 4%;
    width: 100%;
    padding-bottom: 5%;

  }
  .thirdDiv-pro1 {
  padding: 6% 0 6% 0;

}
}

@media (min-width: 1920px) {
  .thirdhead-pro1 {
    background-color: white;
    color: #141515;
    padding: 5% 0;
    padding-bottom: 3%;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .projectDes1 {
    font-size: 36px;
    width: 100% !important;
    line-height: 50px;
    font-weight: 200 !important;
    color: white;
    transition: color 0.9s linear;
  }
  .challenge .wrapper{
    padding: 2% 12% !important;
  }

  .container {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100%;
  }
  .section{
    display: flex;
  }
}

.arrow-container {
  width: 24px;
  height: 24px;
  position: relative;
  overflow: hidden;
}

.arrow {
  position: absolute;
  transition: transform 0.3s ease, opacity 0.3s ease;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
}


.static-arrow {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(0, 0);
  opacity: 1;
  z-index: 2;
}

.sliding-arrow {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-24px, 24px);
  /* Offscreen initially */
  opacity: 0;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}



.circularSection {
  background-color: white;
  padding: 10% 10%;
}

.main-circle {
  position: relative;
}

.content-circle {
  object-fit: contain;
  height: 60vh;
  width: 100%;
  border: 1px red solid;
  border-radius: 35% / 100%;
}

.circleContents {
  position: absolute;
  color: white;
  background-color: black;
  background-image: radial-gradient(rgba(200, 168, 137, 0.4) 1px, transparent 0);
  background-size: 20px 20px;
  height: 56vh;
  border-radius: 35% / 100%;
  width: 98%;
  bottom: -2%;
  left: 1%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.circleContents h1 {
  font-size: 36px;
  font-weight: 400;
}

.circleContents p {
  width: 60%;
  font-size: 20px;
  text-align: center;
  font-weight: 200;
}
.circleContents .founder {
  font-size: 14px;
}

@media (max-width:768px) {
  .circularSection {
    background-color: white;
    padding: 10% 2% 10% 2%;
  }

  .content-circle {
    border-radius: 60%/100%;
    height: 30vh;
  }

  .circleContents h1 {
    font-size: 20px;
  }

  .circleContents p {
    width: 90%;
    font-size: 14px;
  }

  .circleContents .founder {
    font-size: 12px;
  }

  .circleContents {
    height: 30vh;
    width: 96%;
    left: 2%;
    border-radius: 60%/100%;
    flex-direction: column;
    justify-content: center;
    padding: 4%;
    align-items: center;
  }
}

.collabrate-section {
  background-color: black !important;
 
  position: relative;
  /* opacity: 0; */
  /* transform: translateY(100px); */
  /* transition: opacity 1s ease-out, transform 0.5s ease-out; */
}

.collabrate-section.visible {
  /* opacity: 1; */
  /* transform: translateY(0); */
}

.collabrate-main-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow: hidden;
}

.collaborate-heading {
  font-weight: 400 !important;
  font-size: 90px !important;
  line-height: 1 !important;
  letter-spacing: 1px !important;
  text-align: center;
  margin: 10px 0;
  margin-bottom: 20px;
}

/* Subheading Styles */
.collaborate-content {
  font-weight: 300;
  font-size: 60px !important;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
  margin: 10px 0;
  color: #d6d6d6;
}



.mbl-collaborate-content {
  display: none;
}

.letter {
  transition: color 0.3s ease;
  white-space: pre;
  color: rgb(113, 113, 113);
  /* initially gray */
}

.spacer {
  height: 300vh;
}


.collaborate-content>span {
  display: inline-block !important;
}

.discussion-btn-div {
  margin-top: 20px;
}

.mbl-collaborate-heading {
  display: none;
}

@media screen and (max-width: 1280px) {
  .collaborate-heading {
    font-size: 60px;

    line-height: 60px;
  }

  .collaborate-content {
    font-size: 60px !important;
    letter-spacing: 1px;
    line-height: 60px;
  }

  .thirdhead-pro1 {
  padding: 6% 4%;
}

  .challenge{
  padding: 0 4%;
}

}


@media screen and (max-width: 800px) {

  .collabrate-main-div {
    height: 100vh;
  }

  .spacer {
    height: 90vh;
  }


  .collaborate-heading {
    display: none !important;
  }

  .collaborate-content {
    display: none !important;
  }

  .mbl-collaborate-heading {
    display: block !important;
    font-size: 56px !important;
    font-weight: 400;
    text-align: center;
    line-height: 56px !important;

  }

  .tow-mbl-collaborate-heading {
    padding-bottom: 26px !important;
  }

  .mbl-collaborate-content {
    display: block;
  }

  #sub2 {
    margin-bottom: 22px;
  }

  .mbl-collaborate-content {
    font-size: 56px !important;
    line-height: 56px !important;
    margin-top: 0px !important;
    text-align: center !important;
  }

  .collaborate-content-two {
    margin-top: 0px !important;
  }

  .collaborate-content>span {
    display: inline !important;
  }

  .discussion-btn-div {
    margin: 50px 0 !important;
    display: flex !important;
    justify-content: center !important;
  }

  .collabrate-main-div>button {
    font-size: 56px !important;
  }

  .section-title{
  width: 100%;

}

.sticky-div{
  width:100%;
  top:0;
    background-color: white;
}
  
}


@media screen and (max-width: 800px) {
  
  /* box-content styles */

.box-content-section{
   width: 100%; 
   min-height: auto; 
   background-color: black; 
   color: white; 
   margin-bottom: 6%; 
   padding: 0 4%;
  display: flex; 
  align-items: center;
  border-radius: 20px;
}

.box-content-main-div{
  width: 100%;  
  padding: 50px 0; 
  display: block; 
}

.box-content-div{
  width: 250px;
}

.box-content-div>h1{
font-size: 98px; 
color: #2E312A;
font-weight: 500;
}

.box-content-div>h3{
font-size: 26px; 
margin-top: -50px; 
margin-bottom: 30px; 
font-weight: 500;
  color: #f5f5f5;

}

.box-content-div>p{
  line-height: 15px; 
  font-size: 16px;
  color: #d6d6d6;
}

  .animation {
    font-size: 32px;
}
}