@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat/static/Montserrat-Regular.ttf")
    format("truetype");
}

@font-face {
  font-family: "Ubuntu Sans";
  src: url("./fonts/Ubuntu_Sans/static/UbuntuSans-Regular.ttf")
    format("truetype");
}

@font-face {
  font-family: "Questrial";
  src: url("./fonts/Questrial-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "ArialNova";
  src: url("./fonts/ArialNova.ttf") format("truetype");
}

@font-face {
  font-family: NeueLight;
  src: url("./fonts/neue/NeueHaasDisplayMediu.ttf") format("truetype");
}

:root {
  --background-color: black;
  --font-family-1: "Questrial", sans-serif;
  --font-family-2: "Montserrat", sans-serif;
  --font-family-3: "Ubuntu Sans", sans-serif;

  /* hero heading color is the same as the other headings */
  --hero-font-size: 6rem;
  --hero-font-weight: 400;
  --hero-line-height: 0.9;
  --hero-letter-spacing: -7px;

  /* the color and the font-family are the same as other paragraphs */
  --hero-para-font-size: 1.3rem;
  --hero-para-font-weight: 400;
  --hero-para-line-height: 25px;

  --heading-color: rgb(129, 129, 129);
  --heading-font-size: 4.5rem;
  --heading-font-weight: 100;
  --heading-letter-spacing: -3px;
  --heading-line-height: 70px;

  --para-font-color: #5e5e5e;
  --para-font-size: 1.2rem;
  --para-letter-spacing: 0.3px;
  --para-line-height: 20px;
  --para-font-weight: 200;

  --button-size: 8rem;
  --button-border-radius: 50%;
  --button-stroke: #f88c18;
  --button-stroke-width: 1px;
  --button-filler: #f88c18;
  --button-text: #807f7f;

  --bg: #1c27b5;
  --blue: #4e1a9a;
  --blue-s: #07129c;
  --black: #000000;
  --yellow: #ffc333;
  --red-1: #810332;
  --red-2: #400018;
  --pink: #dc1b50;
  --white: #ffffff;

  --mob-main-heading: 2.75rem;
  --mob-sub-heading: 2.4rem;
}

section {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-section {
  background-image: url("../images/cars/car_13.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: relative;
}

.hero-section canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
}

.hero {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 1;
}

.hero-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 80%;
  position: relative;
}

.hero-heading-container {
  margin-top: -70px;
  position: relative;
}

.hero-heading-container h1 {
  color: #868686;
  font-family: var(--font-family-3);
  font-weight: var(--hero-font-weight);
  font-size: clamp(1.5rem, 6vw, 6rem);
  line-height: var(--hero-line-height);
  letter-spacing: var(--hero-letter-spacing);
  width: 60%;
}

.hero-heading-container p {
  margin-top: 2%;
  font-family: var(--font-family-3);
  font-size: 1.3rem;
  font-weight: 400;
  color: #868686;
  width: 55%;
}

.container-but {
  position: absolute;
  left: 0;
  bottom: -160px;
  margin-top: 2%;
}

#rounded-button {
  position: relative;
  width: var(--button-size);
  height: var(--button-size);
  font-family: var(--font-family-3);
  border: none;
  background: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--button-text);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  outline: none;
  text-decoration: none;
}

.button__deco {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: var(--button-stroke-width) solid var(--button-stroke);
  border-radius: var(--button-border-radius);
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
}

.button__deco-filler {
  position: absolute;
  width: 150%;
  height: 200%;
  border-radius: 50%;
  top: -50%;
  left: -25%;
  transform: translateY(75%);
  transition: transform 0.4s ease-out;
}

.button__deco-outline {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--button-stroke);
  border-radius: var(--button-border-radius);
  opacity: 0;
  transition: opacity 0.3s ease-out;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
}

#rounded-button--hover .button__deco-filler {
  transform: translateY(0%);
}

#rounded-button .button__deco-outline {
  opacity: 1;
}

.button__text,
.button__text-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  z-index: 1;
  text-align: center;
  position: relative;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.hero-footer {
  position: absolute;
  bottom: 25px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  width: 100%;
  gap: 2%;
}

.foot-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 30px;
  opacity: 0.8;
}

.hero-footer .foot-wrapper .foot-box {
  color: #777777;
  font-family: var(--font-family-1);
  font-size: 1rem;
}

.foot-wrapper .foot-box a {
  text-decoration: none;
  color: #777777;
}

.foot-wrapper .address,
.foot-wrapper .social_links {
  position: relative; /* Needed for correct ::before positioning */
  padding-left: 4px;
}

/* Add the left-side border */
.foot-wrapper .address::before,
.social_links::before {
  content: "";
  position: absolute;
  left: -7px; /* Change from `right: 0;` to `left: 0;` */
  top: 5px; /* Adjust as needed */
  width: 1px;
  height: 70%; /* Adjust for desired border height */
  background: #777777;
  z-index: 100;
  opacity: 0.7;
}
.foot-wrapper .foot-box {
  position: relative;
  padding-bottom: 5px; /* Adjust spacing as needed */
  z-index: 1000;
}

/* Adding the bottom line using ::after */
.foot-wrapper .foot-box::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px; /* Thickness of the line */
  background-color: #68666c; /* Your specified color */
  opacity: 0.7;
}

.foot-wrapper .social_links {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  margin-right: 50px;
  position: relative;
}

.foot-wrapper .social_links a {
  position: relative; /* Needed for correct positioning of ::after */
  text-decoration: none;
}

/* Underline effect on hover */
.foot-wrapper .social_links a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px; /* Thickness of the underline */
  bottom: 0; /* Correctly places line under each link */
  left: 0;
  background-color: #777777; /* Your specified color */
  display: none;
  /* opacity: 0.4; */
}

/* On hover: Line appears smoothly */
.foot-wrapper .social_links a:hover::after {
  display: block;
}

/* =====================================   CSS FOR THE SECOND SECTION ===================================== */
.second-body {
  width: 95%;
  height: 95vh;
  display: flex;
  align-items: center;
  border-radius: 50px;
  justify-content: center;
  background: linear-gradient(45deg, #5a438dfd, #461ca0);
}

.second-body-wrapper,
.sixth-body-wrapper {
  border: 1px solid #1a1919;
  display: flex;
  border-radius: 30px;
  width: 98%;
  height: 95%;
  align-items: center;
  justify-content: space-around;
}

.second-body-content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: relative;
  width: 40%;
}

.second-body-content h2 {
  /* color: var(--heading-color); */
  color: #dadada;
  line-height: var(--heading-line-height);
  letter-spacing: var(--heading-letter-spacing);
  font-family: var(--font-family-3);
  font-weight: var(--heading-font-weight);
  font-size: clamp(2rem, 4vw, 5rem);
}

.second-body-content p {
  margin-top: 30px;
  font-family: var(--font-family-3);
  /* color: var(--para-font-color); */
  color: #dadada;
  font-size: var(--para-font-size);
  letter-spacing: var(--para-letter-spacing);
  line-height: var(--para-line-height);
  font-weight: 100;
}

/* ---------------------- animated button ----------------------- */
.sec-2-animated-button {
  font-family: var(--font-family-3);
  margin-top: 8%;
}

/* --------------------------- */
.project-modern-btn {
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 250px;
  padding: 13px 20px;
  border: 4px solid;
  border-color: transparent;
  background-color: white;
  border-radius: 100px;
  color: #2c2c2c;
  box-shadow: 0 0 0 2px #ffffff;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-modern-btn svg {
  position: absolute;
  width: 24px;
  fill: #303030;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-modern-btn .modern-arr-1 {
  right: 16px;
}

.project-modern-btn .modern-arr-2 {
  left: -25%;
}

.project-modern-btn .modern-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-modern-btn .modern-text {
  position: relative;
  font-size: 1rem;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-modern-btn:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #1e1e1e;
}

.project-modern-btn:hover .modern-arr-1 {
  right: -25%;
}

.project-modern-btn:hover .modern-arr-2 {
  left: 16px;
}

.project-modern-btn:hover .modern-text {
  transform: translateX(12px);
}

.project-modern-btn:hover svg {
  fill: #424242;
}

.project-modern-btn:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px #ffffff;
}

.project-modern-btn:hover .modern-circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}

.avatar-3d {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  transform-origin: bottom;
  width: 700px;
  position: relative;
}

.monster {
  display: flex;
  justify-content: center;
  position: relative;
  width: 370px;
  height: 490px;
  border-top-left-radius: 200px;
  border-top-right-radius: 200px;
  background-color: var(--blue);
  box-shadow: 80px 80px 0 #210b3c54;
  bottom: 100px;
}

.monster__face {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: absolute;
  top: 19%;
  width: 75%;
  height: 200px;
}

.monster__eyes {
  display: flex;
  justify-content: space-between;
  width: 28%;
  height: auto;
  margin-bottom: 10px;
}

.monster__eye {
  width: 17px;
  height: 30px;
  border-radius: 20px;
  background: var(--black);
}

.monster__mouth {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 0%;
  overflow: hidden;
  border: 25px solid var(--yellow);
  border-radius: 100px;
  background-color: var(--red-1);
  animation: mouth 1.75s infinite;
}

.monster__mouth::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 80px;
  border-radius: 100px;
  background-color: var(--red-2);
}

.monster__mouth::after {
  content: "";
  position: absolute;
  bottom: -80px;
  width: 160px;
  height: 80px;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  background-color: var(--pink);
  animation: tongue 1.75s infinite;
}

.monster__top {
  position: absolute;
  top: -30px;
  width: 170px;
  height: 30px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background-color: var(--white);
  z-index: 100;
  animation: t 1.75s infinite;
}

.monster__bottom {
  position: absolute;
  bottom: 0;
  width: 100px;
  height: 30px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background-color: var(--white);
  z-index: 100;
  animation: b 1.75s infinite;
}

/* Animations */
@keyframes t {
  0%,
  10%,
  80%,
  100% {
    top: -30px;
  }
  20% {
    top: 0px;
  }
  30% {
    top: -20px;
  }
  40% {
    top: -0px;
  }
  50% {
    top: -25px;
  }
  70% {
    top: 0px;
  }
}

@keyframes b {
  0%,
  10%,
  80%,
  100% {
    bottom: -30px;
  }
  20% {
    bottom: 0px;
  }
  30% {
    bottom: -20px;
  }
  40% {
    bottom: -0px;
  }
  50% {
    bottom: -25px;
  }
  70% {
    bottom: 0px;
  }
}

@keyframes mouth {
  0%,
  10%,
  100% {
    width: 100%;
    height: 0%;
  }
  15% {
    width: 90%;
    height: 30%;
  }
  20% {
    width: 50%;
    height: 70%;
  }
  25% {
    width: 70%;
    height: 70%;
  }
  30% {
    width: 80%;
    height: 60%;
  }
  35% {
    width: 60%;
    height: 70%;
  }
  40% {
    width: 55%;
    height: 75%;
  }
  45% {
    width: 50%;
    height: 90%;
  }
  50% {
    width: 40%;
    height: 70%;
  }
  55% {
    width: 70%;
    height: 95%;
  }
  60% {
    width: 40%;
    height: 50%;
  }
  65% {
    width: 100%;
    height: 60%;
  }
  70% {
    width: 100%;
    height: 70%;
  }
  75% {
    width: 90%;
    height: 70%;
  }
  80% {
    width: 50%;
    height: 70%;
  }
  85% {
    width: 90%;
    height: 50%;
  }
  85% {
    width: 40%;
    height: 70%;
  }
  90% {
    width: 90%;
    height: 30%;
  }
  95% {
    width: 100%;
    height: 10%;
  }
}

@keyframes tongue {
  0%,
  20%,
  100% {
    bottom: -80px;
  }
  30%,
  90% {
    bottom: -40px;
  }
  40% {
    bottom: -45px;
  }
  50% {
    bottom: -50px;
  }
  70% {
    bottom: -80px;
  }
  90% {
    bottom: -40px;
  }
}
/* =====================================   CSS FOR THE THIRD SECTION ===================================== */
.third-section {
  height: 100%;
  overflow: hidden !important;
}

.third-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.text-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.text-content h2 {
  margin-top: 5%;
  color: var(--heading-color);
  font-family: var(--font-family-3);
  font-weight: var(--heading-font-weight);
  font-size: clamp(2rem, 4vw, 5rem);
  line-height: var(--heading-line-height);
  letter-spacing: var(--heading-letter-spacing);
  text-align: center;
}

.text-content p {
  margin-top: 1%;
  font-family: var(--font-family-3);
  color: #7c7c7c;
  font-size: var(--para-font-size);
  letter-spacing: var(--para-letter-spacing);
  line-height: var(--para-line-height);
  width: 60%;
}

.blocks {
  width: 100%;
  min-height: 60vh;
}

.blocks .swiper-wrapper {
  margin-top: 3%;
  display: flex;
  width: 100% !important;
  height: 60vh !important;
  justify-content: center;
  gap: 30px;
  margin-right: 0;
}

.parent {
  border-radius: 50px;
  padding: 10px 0;
  width: 20vw;
  max-width: 400px;
  min-width: 350px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.parent::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("/static/images/burger_menu/form_back.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.3;
}

.child {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.child h3,
.child h4 {
  margin-left: 50px;
}

.child h3 {
  line-height: 1;
  font-family: var(--font-family-3);
  color: #b9b9b9;
  font-weight: 100;
  position: relative;
  font-size: 1.5rem;
  display: inline-block;
}

.child p {
  font-family: var(--font-family-3);
  color: var(--para-font-color);
  font-size: 1rem;
  letter-spacing: -1px;
  line-height: 15px;
  margin: 0 20px 0 20px;
}

.block-heading h3:after {
  content: "";
  position: absolute;
  left: 25%;
  bottom: -5px;
  width: 50%;
  height: 4px;
  background: linear-gradient(to right, #f88c18, #f85e21);
  background-size: 200% 100%;
  transform: translateX(-50%);
  animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 0%;
  }
}

.sub-headings {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-headings h4 {
  font-family: var(--font-family-3);
  font-weight: normal;
  line-height: 17px;
}

.sub-headings h4 span {
  color: #919191;
  text-decoration: none;
  position: relative;
  font-size: 1.2rem;
  display: inline-block;
}

.sub-headings h4 span::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: -4px;
  left: 50%;
  background-color: #c0c0c0;
  display: none;
}

.sub-headings h4 span:hover::after {
  display: block;
  transform: translateX(-50%) scaleX(1);
}

/* -------------------------- new button --------------------- */
.animated-button {
  font-family: var(--font-family-3);
}

.button-el {
  --duration: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 16rem;
  height: 3.5rem;
  background: #a8a8a8;
  border: 1px solid transparent;
  border-radius: 3rem;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  transition: background-color 0.5s ease, color var(--duration) ease,
    border-color var(--duration) ease;
  color: #000;
  font-size: 1.2rem;
  font-weight: bold;
}

.button-el:hover {
  background-color: #2b2b2b;
  color: #e7e7e7;
  /* border-color: #dadada; */
}

/* Move inner content when hovered */
.button-el > * {
  transition: transform var(--duration) ease;
}

.button-el:hover > * {
  transform: translateX(-1rem);
}

.button-label-wrap {
  position: relative;
  display: inline-block;
  perspective: 500px;
  overflow: hidden;
  transform: translateX(10px);
  height: 1.2em;
}

.inside-label {
  display: block;
  transform-origin: 50% 100%;
  transition: transform var(--duration) ease-in;
}

.inside-label:nth-child(1) {
  transform: translateY(0) rotateX(0deg);
}

.inside-label:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(100%) rotateX(-90deg);
}

.inside-label:hover {
  transform: translateX(-1.5rem);
}

/* flip on hover */
.button-el:hover .inside-label:nth-child(1) {
  transform: translateY(-100%) rotateX(90deg);
}

.button-el:hover .inside-label:nth-child(2) {
  transform: translateY(0) rotateX(0deg);
}

.--pos-l {
  transform: translateX(10px);
}

.button-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  z-index: 1;
  transform: translateX(1.5rem);
  opacity: 0;
  transition: transform var(--duration) ease, opacity var(--duration) ease,
    background-color var(--duration) ease, color var(--duration) ease;
}

.button-arrow::before {
  content: "";
  position: absolute;
  left: 100%;
  top: 0;
  width: 0;
  height: 100%;
  background-color: white;
  border-radius: 50%;
  opacity: 0;
  z-index: -1;
  transition: left var(--duration) ease-in, opacity var(--duration) ease-in,
    width var(--duration) ease;
}

.button-el:hover .button-arrow {
  transform: translateX(0);
  opacity: 1;
  color: #000000;
}

.button-el:hover .button-arrow::before {
  left: 0;
  opacity: 1;
  width: 100%;
}

.icon {
  display: inline-flex;
  transition: transform var(--duration) ease, opacity var(--duration) ease;
}

.button-el:hover .icon {
  transform: translateX(-2.5rem);
  opacity: 0;
}

.--pos-l svg,
.--pos-r svg {
  width: 1.2em;
  height: 1.2em;
  stroke: currentColor;
}

.indus-card {
  position: absolute;
  left: 50px;
  bottom: 50px;
}

.indus-card-btn {
  font-size: 1rem;
  letter-spacing: -1px;
  width: 13rem !important;
  height: 3rem !important;
}

/* =====================================   CSS FOR THE FOURTH SECTION ===================================== */
.fourth-section {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
}
.fourth-body-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 50px;
}

.fourth-heading {
  z-index: 5;
  margin-top: 150px;
  font-family: var(--font-family-3);
  color: #d9d9d9;
  width: 65%;
}

.fourth-heading h2 {
  color: var(--heading-color);
  font-family: var(--font-family-3);
  font-weight: var(--heading-font-weight);
  font-size: clamp(2rem, 4vw, 5rem);
  line-height: var(--heading-line-height);
  letter-spacing: var(--heading-letter-spacing);
  text-align: center;
}

.projects-container {
  position: relative;
  top: -250px;
  height: 450vh;
  width: 100%;
  padding: 0 6% 1% 6%;
  display: grid;
  align-items: center;
  grid-template-columns: repeat(12, 1fr);
  gap: 3.125rem 2.5625rem;
  grid-column: span 12;
  transition: height 0.5s ease;
}

.project-card {
  grid-column: span 6;
  text-decoration: none;
  color: black;
  font-family: Arial, Helvetica, sans-serif;
  transform: translateY(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: sticky;
  overflow: hidden;
  transform-origin: center bottom;
}

.project-card.left {
  align-self: flex-start;
}

.project-card.right {
  align-self: flex-end;
}

.project-card:nth-child(1) {
  top: 100px;
}
.project-card:nth-child(2) {
  top: 100px;
}
.project-card:nth-child(3) {
  top: 15vh;
}
.project-card:nth-child(4) {
  top: 15vh;
}
.project-card:nth-child(5) {
  top: 20vh;
}
.project-card:nth-child(6) {
  top: 20vh;
}
.project-card:nth-child(7) {
  top: 25vh;
}
.project-card:nth-child(8) {
  top: 35vh;
}

.project-title-container {
  background-color: #0f0f0f;
  display: flex;
  color: #969696;
  justify-content: space-between;
  border-top: 1px solid #2b2b2b;
  border-left: 1px solid #2b2b2b;
  border-right: 1px solid #2b2b2b;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  padding: 1.1rem 1rem 1.7rem 1rem;
  margin-bottom: -1rem;
}

.project-title-container p {
  font-size: 1.2rem;
  font-weight: 100;
}

.project-title-text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.link-to-target {
  color: #969696;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.link-to-target:hover {
  color: #f88c18;
}

.project-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10%;
}

.project-overlay h4 {
  font-family: var(--font-family-3);
  font-size: 2rem;
  font-weight: 100;
  color: #dadada;
}

.overlay-tags {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.__tag {
  font-size: 1.2rem;
  font-weight: 100;
  border: 2px solid #6b6b6b;
  padding: 8px 24px;
  color: #aaaaaa;
  border-radius: 9999px;
  transition: background-color 0.3s ease;
}

.__tag:hover {
  background-color: #3f3f3f;
}

.project-title-text svg {
  transform: rotate(270deg);
}

.project-image-container {
  aspect-ratio: 16 / 9;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}

.project-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
}

.project-image-container:hover .project-image {
  filter: blur(5px);
}

.project-image-container video,
.project-image-container .zoomed-one {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 5% 9%;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 10;
  border-radius: 1rem;
}

.project-image-container:hover .project-overlay {
  opacity: 1;
}

/* =====================================   CSS FOR THE FIFTH SECTION ===================================== */
.fifth-section {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-x: hidden !important;
}

.fifth-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-radial-gradient(#000 0 0.0001%, #464646 0 0.0002%) 60%
      60%/3000px 3000px,
    repeating-conic-gradient(#000 0 0.0001%, #949494 0 0.0002%) 40% 40%/3000px
      3000px;
  background-blend-mode: difference;
  opacity: 0.1;
  z-index: 0;
}

.headings-wrapper {
  width: 100%;
  min-height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.headings-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  margin-left: 1rem;
  position: relative;
  left: 15%;
  height: 100%;
}

.heading-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;
  line-height: 1;
}

.heading-text {
  font-size: clamp(2rem, 4.5vw, 6rem);
  text-transform: uppercase;
  font-family: NeueLight, "ArialNova";
  color: #999999;
  transition: transform 0.3s ease;
}

.heading-wrapper:hover .heading-text {
  transform: translateX(100px);
}

.explanation {
  font-family: "ArialNova";
  position: relative;
  opacity: 0;
  left: -20%;
  width: 20%;
  transition: opacity 0.3s ease;
  color: #999999;
  text-align: center;
  font-size: 1rem;
  border-radius: 100px;
  padding: 8px 20px;
  border: 1px solid orange;
}

.heading-wrapper:hover .explanation {
  opacity: 1;
}

.imageBox {
  width: 20%;
  position: relative;
  height: 100%;
  right: 5%;
}

.imageBox img {
  width: 100%;
  position: sticky;
  top: 150px;
}

.column-display {
  display: none;
}

/* =====================================   CSS FOR THE SIXTH SECTION ===================================== */
.sixth-section-body {
  width: 95%;
  height: 95vh;
  display: flex;
  align-items: center;
  border-radius: 50px;
  justify-content: center;
  background: linear-gradient(45deg, #2c2b2c, #202020);
}

.sixth-body-wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10%;
}

.row-1 {
  margin-top: 150px;
}

.row-1-heading {
  color: var(--heading-color);
  font-family: var(--font-family-3);
  font-weight: var(--heading-font-weight);
  font-size: clamp(2rem, 4vw, 5rem);
  line-height: var(--heading-line-height);
  letter-spacing: var(--heading-letter-spacing);
}

.row-2 {
  margin-top: 30px;
  width: 80%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.row-2 .it1 .int-num,
.it2 .int-num,
.it3 .int-num {
  text-align: center;
  line-height: 20px;
}

.it1 span,
.it2 span,
.it3 span {
  font-family: var(--font-family-3);
  font-size: 6rem;
  font-weight: 900;
  color: #a3a2a2;
}

.it1 .num-details,
.it2 .num-details,
.it3 .num-details {
  font-family: var(--font-family-3);
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: -1px;
  color: #9d9d9d;
  line-height: 25px;
}

.row-3 {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 50px;
  width: 80%;
  height: 300px;
  font-family: var(--font-family-3);
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border: 1px solid #9c9c9c85;
  border-radius: 24px;
  padding: 16px 10px 16px 27px;
  width: 600px;
  perspective: 1000px;
  perspective-origin: center center;
}

.carousel-track {
  display: flex;
  transform-style: preserve-3d;
}

.carousel-item {
  position: relative;
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #9c9c9c85;
  border-radius: 12px;
  overflow: hidden;
  cursor: grab;
  width: 300px;
  height: 200px;
  margin-right: 16px;
  box-sizing: border-box;
  transform-origin: center center;
  backface-visibility: hidden;
}

.carousel-item:last-child {
  margin-right: 0;
}

.carousel-item:active {
  cursor: grabbing;
}

.carousel-container.round {
  border-radius: 50%;
  height: 332px;
}
.carousel-item.round {
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 300px;
}

.carousel-item-header {
  padding: 20px 0 0 20px;
  box-sizing: border-box;
}

.carousel-item-header.round {
  padding: 0;
  margin: 0;
}

.carousel-icon-container {
  display: flex;
  height: 40px;
  width: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #686868;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
}

.carousel-icon {
  height: 20px;
  width: 20px;
  color: #060010;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-item-content {
  padding: 20px;
  padding-bottom: 20px;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}
.carousel-item.round .carousel-item-content {
  text-align: center;
}

.carousel-item-title {
  margin-bottom: 4px;
  font-weight: 900;
  font-size: 1.1rem;
  color: #838383;
}

.carousel-item-description {
  font-size: 14px;
  color: #838383;
}

.carousel-indicators-container {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}

.carousel-indicators-container.round {
  position: absolute;
  z-index: 2;
  bottom: 3em;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
}

.carousel-indicators {
  display: flex;
  justify-content: space-between;
  padding: 0 32px;
  gap: 10px;
}

.carousel-indicator {
  height: 8px;
  width: 50px;
  border-radius: 100px;
  cursor: pointer;
  transition: background-color 150ms, transform 150ms;
  background-color: #646464;
}

.carousel-indicator.active {
  background-color: #4e4e4e;
  transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .carousel-container {
    width: 90vw;
    padding: 10px;
    border-radius: 16px;
  }
  .carousel-item {
    width: calc(90vw - 20px - 16px);
    height: auto;
    margin-right: 10px;
    border-radius: 10px;
  }
  .carousel-item:last-child {
    margin-right: 0;
  }
  .carousel-item-header,
  .carousel-item-content {
    padding: 15px;
  }
  .carousel-item-title {
    font-size: 16px;
  }
  .carousel-item-description {
    font-size: 13px;
  }
  .carousel-indicators {
    padding: 0 16px;
    gap: 6px;
  }
  .carousel-indicator {
    height: 7px;
    width: 7px;
  }

  .carousel-container.round {
    height: 90vw;
  }
  .carousel-item.round {
    height: calc(90vw - 20px - 16px);
  }
}

.row-3-para {
  position: relative;
  top: -20px;
}

.row-3-para::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 30px;
  width: 1px;
  height: 70%;
  background-color: #1a1919;
}

.row-3-para::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 80%;
  height: 1px;
  background-color: #1a1919;
}

.row-3-para p {
  width: 500px;
  font-family: var(--font-family-3);
  color: #838383;
  font-size: var(--para-font-size);
  letter-spacing: var(--para-letter-spacing);
  line-height: var(--para-line-height);
}

.it1,
.it2,
.it3 {
  position: relative;
}

/* Underline for it1 */
.it1::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 60%;
  height: 1px;
  background-color: #1a1919; /* Adjust color if needed */
}

/* Top & bottom line for it2 and it3 */
.it2::before,
.it3::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -50px; /* Adjust spacing from the block */
  width: 1px; /* Makes it a vertical line */
  height: 80%;
  background-color: #1a1919;
}

.it2::after,
.it3::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 60%;
  height: 1px;
  background-color: #1a1919;
}

/* Extra responsive tweaks */
@media (max-width: 1024px) {
  .sixth-section {
    height: 100vh;
    padding: 50px 0;
  }

  .sixth-section-body {
    height: 100%;
    border-radius: 15px;
  }

  .sixth-body-wrapper {
    border: none;
  }

  .row-2 {
    width: 90%;
  }

  .row-3 {
    width: 90%;
    gap: 30px;
  }

  .row-3-para p {
    width: 300px !important;
    line-height: 1;
  }
}

@media (max-width: 786px) {
  .sixth-section {
    height: 100%;
  }
  .row-1-heading {
    margin-top: 3%;
    font-size: 2.5rem;
    letter-spacing: -1px;
    line-height: 1;
  }
  .row-1 {
    margin-top: 5%;
    text-align: center;
  }

  /* Row 2 - Stack vertically */
  .row-2 {
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px !important;
    width: 100%;
    margin: 3rem 1rem;
  }

  .row-2 .it1,
  .row-2 .it2,
  .row-2 .it3 {
    text-align: center;
  }

  .it1 span,
  .it2 span,
  .it3 span {
    font-size: 4rem;
  }

  .it1 .num-details,
  .it2 .num-details,
  .it3 .num-details {
    font-size: 1rem;
    line-height: 1;
  }

  /* Remove desktop connecting lines on mobile */
  .it1::after,
  .it2::before,
  .it2::after,
  .it3::before,
  .it3::after {
    display: none;
  }

  /* Row 3 - Stack vertically */
  .row-3 {
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: 20px;
    width: 100%;
  }

  /* Make paragraph full width */
  .row-3-para {
    top: 0;
    width: 90%;
    margin-bottom: 20px;
  }

  .row-3-para::before,
  .row-3-para::after {
    display: none;
  }

  .row-3-para p {
    width: 100% !important;
    font-weight: 200;
    font-size: 1rem;
    line-height: 1;
  }
}

@media (max-width: 480px) {
  .row-1-heading {
    font-size: 1.5rem;
  }

  .it1 span,
  .it2 span,
  .it3 span {
    font-size: 3rem;
  }

  .it1 .num-details,
  .it2 .num-details,
  .it3 .num-details {
    font-size: 1rem;
  }

  .carousel-container {
    width: 100%;
    padding: 8px;
  }

  .carousel-item {
    width: calc(100% - 16px);
    margin-right: 8px;
  }
}

/* =====================================   CSS FOR THE SEVENTH SECTION ===================================== */
.seventh-sec-body {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.seventh-heading {
  margin-top: 150px;
}
.seventh-heading h2 {
  color: var(--heading-color);
  line-height: var(--heading-line-height);
  letter-spacing: var(--heading-letter-spacing);
  font-family: var(--font-family-3);
  font-weight: var(--heading-font-weight);
  font-size: clamp(2rem, 4vw, 5rem);
}

.form-container {
  width: 80%;
  margin-top: 30px;
}

.form-container form {
  /* text-align: center !important; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* border: 1px solid red; */
}

.form-inputs-container {
  width: 90%;
  /* border: 1px solid green; */
}

.name-email,
.phone-social {
  display: flex;
  justify-content: space-between;
  /* justify-content: center; */
  align-items: center;
  gap: 50px;
}

.name-email input,
.phone-social input {
  width: 600px;
  height: 50px;
  border: 2px solid #515151;
  background-color: transparent;
  border-radius: 100px;
  font-family: var(--font-family-3);
  font-size: 1.2rem;
  padding-left: 40px;
  color: #b7b7b7;
}

.name-email input::placeholder,
.phone-social input::placeholder {
  color: #797979;
}

.phone-social input::-webkit-outer-spin-button,
.phone-social input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  display: none;
  margin: 0;
}

.name-email,
.phone-social {
  padding-bottom: 30px;
}

.form-container form #user_name {
  width: 500px;
}

.form-container form #user_email_address {
  width: 700px;
}

.about-project {
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
}

/* Setting textarea to 100% width instead of 60% */
#about_project {
  width: 100% !important; /* Override the 60% width from existing CSS */
  height: 100px;
  resize: none;
}

.about-project textarea {
  border: 2px solid #515151;
  background-color: transparent;
  border-radius: 40px;
  font-family: var(--font-family-3);
  font-size: 1.2rem;
  padding-left: 40px;
  padding-top: 10px;
  color: #b7b7b7;
  resize: none;
}

.form-container input[type="text"]:focus,
.form-container input[type="email"]:focus,
.form-container input[type="number"]:focus,
.form-container textarea:focus {
  outline: none;
  border: 2px solid #f88c18; /* bright orange */
}

.about-project textarea::placeholder {
  color: #797979;
}

.about-project textarea::-webkit-outer-spin-button,
.about-project textarea::-webkit-inner-spin-button {
  -webkit-appearance: none;
  display: none;
  margin: 0;
}

.choice-box-container {
  /* border: 1px solid green; */
  margin-top: 40px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 100px;
}

.choices-box {
  background: transparent;
  padding: 20px;
  border-radius: 30px;
  width: 500px;
  height: 300px;
  color: #515151;
  border: 2px solid #515151;
  font-family: var(--font-family-1);
}

.choices-box h3 {
  margin-left: 10px;
  margin-bottom: 30px;
  font-family: var(--font-family-3);
  font-size: 1.7rem;
  color: #b7b7b7;
  display: inline-block;
  position: relative;
  font-weight: 300;
}

.choices-box h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #b7b7b7;
}

.choice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 10px;
}

.form-container form label {
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  flex: 1;
}

/* Custom Checkbox */
.form-container form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  appearance: none;
  background-color: transparent;
  border: 2px solid #515151;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Checkbox when checked */
.form-container form input[type="checkbox"]:checked {
  background-color: #f88c18;
  border-color: #f88c18;
}

/* Checkmark */
.form-container form input[type="checkbox"]::after {
  content: "✔";
  font-size: 14px;
  color: white;
  display: none;
}

/* Show checkmark when checked */
.form-container form input[type="checkbox"]:checked::after {
  display: block;
}

.sub-button {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-bottom: 50px;
}

.modern-btn {
  margin-top: 30px;
  margin-right: 80px;
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 200px;
  padding: 8px 20px;
  border: 4px solid;
  border-color: transparent;
  background-color: inherit;
  border-radius: 100px;
  color: #a7a6a6;
  box-shadow: 0 0 0 2px #818181;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.modern-btn svg {
  position: absolute;
  width: 24px;
  fill: #797979;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.modern-btn .modern-arr-1 {
  right: 16px;
}

.modern-btn .modern-arr-2 {
  left: -25%;
}

.modern-btn .modern-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 40px;
  background-color: #fd8a26;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.modern-btn .modern-text {
  position: relative;
  font-size: 1rem;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.modern-btn:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #1e1e1e;
}

.modern-btn:hover .modern-arr-1 {
  right: -25%;
}

.modern-btn:hover .modern-arr-2 {
  left: 16px;
}

.modern-btn:hover .modern-text {
  transform: translateX(12px);
}

.modern-btn:hover svg {
  fill: #424242;
}

.modern-btn:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px #fd8a26;
}

.modern-btn:hover .modern-circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}

/* ===================================================== */
/* ================== Responsive CSS =================== */
/* ===================================================== */

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */

/* Large Desktops (up to 1600px) */
@media (max-width: 1600px) {
  .blocks.swiper {
    width: 100%;
    height: 100%;
    padding-bottom: 40px; /* space for pagination */
    padding: 0 50px 0 30px;
  }

  .blocks .swiper-wrapper {
    width: 100%;
    height: 100% !important;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
  }

  .parent {
    height: 550px !important;
  }
  /* Hide scrollbar if swiper overflows */
  .blocks.swiper::-webkit-scrollbar {
    display: none;
  }
  .blocks.swiper {
    scrollbar-width: none; /* Firefox */
  }

  /* ---------------------------- fourth section ----------------- */
  .fourth-heading h2 {
    line-height: 1;
  }
  .project-overlay .__tag {
    font-size: 0.9rem;
  }

  .overlay-tags {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  /* -------------- sixth section ------------------- */
  .it2::before,
  .it3::before {
    left: -30px;
  }
}

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
@media (min-width: 1367px) and (max-width: 1440px) {
  .hero-heading-container h1 {
    font-size: 4.5rem;
  }
  .hero-heading-container p {
    font-size: 1.1rem;
  }
  #round-button {
    font-size: 0.3rem;
    width: 6rem;
    height: 6rem;
  }

  .second-body-content {
    margin-left: 3rem;
  }

  .second-body-content h2 {
    line-height: 0.9;
  }

  .monster {
    box-shadow: 40px 40px 0 #210b3c54;
  }

  .sec-2-animated-button {
    margin-top: 12%;
  }

  .avatar-3d {
    margin-bottom: -150px;
  }

  .project-card:nth-child(1) {
    top: 30px;
  }
  .project-card:nth-child(2) {
    top: 30px;
  }
  .project-card:nth-child(3) {
    top: 75px;
  }
  .project-card:nth-child(4) {
    top: 75px;
  }
  .project-card:nth-child(5) {
    top: 120px;
  }
  .project-card:nth-child(6) {
    top: 120px;
  }
  .project-card:nth-child(7) {
    top: 170px;
  }
  .project-card:nth-child(8) {
    top: 170px;
  }

  .sixth-body-wrapper .row-1 {
    margin-top: 50px;
  }
  .sixth-section {
    height: 105vh;
    justify-content: center;
    align-items: center;
  }

  .seventh-section {
    height: auto;
    padding-bottom: 50px;
  }
  .seventh-sec-body {
    height: auto;
  }
  .form-container {
    width: 85%;
  }
  .choice-box-container {
    gap: 50px;
  }
  .choices-box {
    height: 330px;
  }

  .indus-card {
    left: 50px;
    bottom: 30px;
  }
}

/* Standard Laptops (up to 1366px) */
@media screen and (max-width: 1366px) {
  .hero-heading-container h1 {
    width: 60%;
    font-size: 4.5rem;
  }

  .hero-heading-container p {
    font-size: 1rem;
    width: 60%;
  }

  #rounded-button {
    bottom: 20px;
    width: 6.5rem;
    height: 6.5rem;
    font-size: 0.8rem;
  }

  .fourth-section {
    margin-bottom: 0;
  }

  .projects-container {
    height: 500vh;
  }

  .third-body,
  .fourth-body-content,
  .seventh-sec-body {
    height: auto !important;
  }

  .second-body-content {
    width: 70%;
    margin-left: 2rem;
  }

  .second-body-content h2 {
    line-height: 0.9;
  }

  .avatar-3d {
    margin-bottom: -100px;
  }

  .monster {
    width: 300px;
    height: 400px;
    box-shadow: 40px 40px 0 #210b3c54;
  }

  /* --------------------------- for cards ----------------------- */
  .project-card:nth-child(1) {
    top: 50px;
  }
  .project-card:nth-child(2) {
    top: 50px;
  }
  .project-card:nth-child(3) {
    top: 100px;
  }
  .project-card:nth-child(4) {
    top: 100px;
  }
  .project-card:nth-child(5) {
    top: 150px;
  }
  .project-card:nth-child(6) {
    top: 150px;
  }
  .project-card:nth-child(7) {
    top: 200px;
  }
  .project-card:nth-child(8) {
    top: 200px;
  }
  /*---------------------------- fourth section ----------------- */
  .fourth-heading h2 {
    line-height: 1;
    letter-spacing: -2px;
  }

  /* --------------------- sixth section --------------------------- */

  .sixth-section {
    height: 110vh !important;
  }
  .sixth-section-body {
    height: 105vh !important;
  }

  .sixth-body-wrapper {
    gap: 3%;
  }
  .sixth-body-wrapper .row-1 {
    margin-top: 50px;
  }
  .it1 span,
  .it2 span,
  .it3 span {
    font-size: 4rem;
  }

  .it1 .num-details,
  .it2 .num-details,
  .it3 .num-details {
    font-size: 1.2rem;
  }

  .it2::before,
  .it3::before {
    left: -20px;
  }
  .carousel-container {
    width: 450px;
    padding: 10px;
    border-radius: 16px;
  }
  .carousel-item {
    width: calc(90vw - 20px - 16px);
    height: auto;
    margin-right: 10px;
    border-radius: 10px;
  }
  .carousel-item:last-child {
    margin-right: 0;
  }
  .carousel-item-header,
  .carousel-item-content {
    padding: 15px;
  }
  .carousel-item-title {
    font-size: 16px;
  }
  .carousel-item-description {
    font-size: 13px;
  }
  .carousel-indicators {
    padding: 0 16px;
    gap: 6px;
  }
  .carousel-indicator {
    height: 7px;
    width: 7px;
  }

  .carousel-container.round {
    height: 90vw;
  }
  .carousel-item.round {
    height: calc(90vw - 20px - 16px);
  }

  .row-3-para::before {
    left: -20px;
  }

  /* -------------------------- SECTION THIRD ------------------------ */
  .text-content p {
    width: 80%;
  }

  /* --------------------- section seventh ------------------ */
  .seventh-section {
    height: 100%;
    padding-bottom: 100px;
  }

  .seventh-heading {
    margin-top: 100px;
  }

  .choice-box-container {
    gap: 20px;
  }

  .choices-box {
    height: 330px;
  }
}

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */

/* Small Laptops & Large Tablets (up to 1000px) */
@media (max-width: 1024px) {
  .hero-heading-container h1 {
    width: 70%;
    line-height: 0.8;
    letter-spacing: -2px;
    font-size: 3.5rem;
  }

  .hero-heading-container p {
    font-size: 0.9rem;
    width: 70%;
  }

  #rounded-button {
    width: 6rem;
    height: 6rem;
    font-size: 0.7rem;
  }

  .foot-wrapper div p {
    font-size: 0.8rem;
  }
  .foot-wrapper div a {
    font-size: 0.8rem;
  }

  .fourth-section {
    margin-bottom: 0;
  }

  .second-body-content {
    width: 90%;
  }

  .second-body-content h2 {
    line-height: 0.9;
  }
  .second-body-content p {
    line-height: 1;
    font-size: 1rem;
  }

  .avatar-3d {
    margin-bottom: -100px;
  }

  .monster {
    width: 200px;
    height: 300px;
    box-shadow: 40px 40px 0 #210b3c54;
  }

  /* ---------------------- third section ---------------------- */
  .text-content p {
    width: 90%;
    font-size: 1.1rem;
    line-height: 1;
  }

  /* ---------------------------- fourth section ----------------- */
  .fourth-heading h2 {
    line-height: 1;
    letter-spacing: -2px;
  }

  .project-overlay h4 {
    font-size: 1.3rem;
  }
  .overlay-tags {
    gap: 10px;
  }
  .overlay-tags .__tag {
    font-size: 0.8rem;
    padding: 8px 10px;
  }

  .seventh-section {
    height: 100%;
  }

  .seventh-heading {
    margin-top: 100px;
  }

  .seventh-heading h2 {
    line-height: 1;
  }

  .form-container {
    width: 90%;
  }
  .seventh-heading {
    text-align: center;
  }
  .seventh-sec-body {
    height: auto; /* Adjust height for content */
  }

  /* Make input containers stack vertically */
  .name-email,
  .phone-social {
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
  }

  /* Make inputs take full width */
  .name-email input,
  .phone-social input {
    width: 100%;
  }

  /* Adjust widths for specific inputs to be full-width */
  .form-container form #user_name,
  .form-container form #user_email_address {
    width: 100%;
  }

  /* Stack choice boxes vertically */
  .choice-box-container {
    /* flex-direction: column; */
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    /* align-items: center; */
  }

  /* Make choice boxes take a larger width */
  .choices-box {
    width: 40%;
    height: 300px; /* Adjust height based on content */
  }

  /* Align submit button to the center */
  .sub-button {
    justify-content: center;
    width: auto;
  }

  /* Center the submit button and reduce its right margin */
  .form-container form .sub-button button {
    margin-right: 0;
  }
}

/* ----------------------------------------------------- */
@media (max-width: 900px) {
  .choice-box-container {
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }

  .choices-box {
    width: 95%; /* Adjust width for mobile screens */
    height: auto;
    padding: 15px;
  }
}

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */

/* Tablets (up to 786px) */
@media (max-width: 786px) {
  .hero-heading-container h1 {
    width: 100%;
    font-size: 3rem;
  }

  .hero-heading-container p {
    font-size: 0.8rem;
    width: 83%;
  }

  .fourth-section {
    margin-bottom: 0;
  }

  /* ----------------- second section ------------------- */
  .second-body-content {
    width: 90%;
  }
  .second-body-content h2 {
    margin-top: -5%;
    font-size: 2rem;
    letter-spacing: -2px;
    line-height: 0.9;
  }
  .second-body-content p {
    font-size: 1rem;
    line-height: 1;
  }
  .avatar-3d {
    margin-bottom: -100px;
  }
  .monster {
    width: 200px;
    height: 300px;
    box-shadow: 40px 40px 0 #210b3c54;
  }

  .second-body-wrapper .animated-button {
    margin-bottom: -70px;
  }

  /* --------------------------- section third ------------------ */
  .text-content h2 {
    font-size: 2.5rem;
  }
  .text-content p {
    width: 90%;
  }

  /* ----------------------------- fourth section --------------------- */

  .fourth-heading {
    margin-top: 100px;
  }
  .fourth-heading h2 {
    font-size: 2.5rem;
    line-height: 1;
  }

  .projects-container {
    top: 10px;
    height: 650vh;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .project-card {
    grid-column: span 1;
    transform: translateY(0);
    width: 100%;
    margin-bottom: 0;
  }

  .project-card:nth-child(1) {
    top: 80px;
  }
  .project-card:nth-child(2) {
    top: 90px;
  }
  .project-card:nth-child(3) {
    top: 100px;
  }
  .project-card:nth-child(4) {
    top: 110px;
  }
  .project-card:nth-child(5) {
    top: 120px;
  }
  .project-card:nth-child(6) {
    top: 130px;
  }
  .project-card:nth-child(7) {
    top: 140px;
  }
  .project-card:nth-child(8) {
    top: 150px;
  }

  .project-card.left,
  .project-card.right {
    align-self: flex-start;
  }

  .project-title-container {
    padding: 1rem 1rem 1.2rem 1rem;
    margin-bottom: -0.5rem;
  }

  .project-title-container p {
    font-size: 0.9rem;
  }

  .link-to-target {
    font-size: 1rem;
  }

  .project-overlay h4 {
    font-size: 2rem;
  }

  .overlay-tags {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .overlay-tags .__tag {
    font-size: 1rem;
    padding: 8px 30px;
  }
  /* ------------------- seventh section --------------- */
  .seventh-heading {
    margin-top: 50px; /* Adjust top margin */
    text-align: center;
  }

  .seventh-heading h2 {
    font-size: 2.5rem; /* Reduce heading size for mobile */
    text-align: center;
    line-height: 1;
    padding: 0 10px;
  }

  .form-inputs-container {
    width: 100%;
  }

  /* Resetting input widths for better mobile display */
  .name-email input,
  .phone-social input {
    width: 100%;
    box-sizing: border-box; /* Include padding in the element's total width and height */
  }

  .name-email,
  .phone-social {
    padding-bottom: 15px; /* Reduce padding between input groups */
  }

  .choice-box-container {
    width: 100%;
    gap: 20px;
  }

  .choices-box {
    width: 95%; /* Adjust width for mobile screens */
    height: auto;
    padding: 15px;
  }

  .choices-box h3 {
    font-size: 1.3rem; /* Reduce sub-heading size */
    margin-bottom: 15px;
  }

  .choice {
    flex-direction: row;
    align-items: center;
    padding: 5px 0;
  }

  .form-container form label {
    font-size: 0.9rem; /* Smaller font size for labels */
  }

  .form-container form input[type="checkbox"] {
    width: 18px;
    height: 18px;
  }

  .sub-button {
    margin-top: 20px;
  }
}

/* -------------------------- for mobile ---------------------- */
@media (max-width: 600px) {
  .hero-section {
    overflow: hidden;
    background-image: none;
    background: linear-gradient(to bottom, #383838, #000000);
  }
  .hero-section canvas {
    display: none !important;
  }
  .hero {
    justify-content: flex-start;
  }
  .hero-container {
    margin-top: 200px;
    width: 100%;
  }
  .hero-heading-container {
    padding: 0 20px;
  }
  .hero-heading-container h1 {
    font-family: "Ubuntu sans";
    letter-spacing: -2px;
    font-size: var(--mob-main-heading);
    line-height: 1;
  }
  .hero-heading-container p {
    margin-top: 30px;
    width: 95%;
    font-size: 1rem;
  }
  .container-but {
    padding-left: 20px;
    margin-bottom: -50px;
  }
  .container-but .button__deco {
    background-color: var(--button-stroke);
    border: none;
  }
  .container-but .button__deco-outline {
    width: 7.2rem;
    height: 7.5rem;
    border: 2px solid rgb(77, 77, 77);
    /* left: -px; */
  }
  #rounded-button {
    width: 6.7rem;
    height: 6.7rem;
    color: #000;
    font-size: 0.78rem;
  }
  .button__deco-filler {
    width: 100%;
    height: 100%;
    top: -75%;
    left: 0;
  }

  .hero-footer {
    right: -20px;
    bottom: 10px;
  }

  .hero-footer .foot-wrapper .foot-box {
    color: #5e5e5e;
    font-size: 1rem;
  }

  .foot-wrapper .foot-box a {
    color: #5e5e5e;
  }

  /* --------------- section 2 ---------------- */
  .second-body {
    height: 98%;
    border-radius: 20px;
  }
  .second-body-wrapper {
    height: 99%;
    border-radius: 15px;
    flex-direction: column-reverse;
    justify-content: space-around;
  }
  .second-body-content {
    margin-left: 0;
    justify-content: flex-start;
  }
  .second-body-content h2 {
    font-size: var(--mob-sub-heading);
  }
  .avatar-3d {
    margin-top: -20px;
    width: 100%;
  }
  .monster {
    box-shadow: 20px 20px 0 #210b3c54;
    bottom: 20px;
    width: 230px;
    height: 330px;
  }
  /* ---------------- section 3 ------------------- */
  .blocks {
    margin-top: 20px;
  }
  /* ------------------ section 4 ----------------- */

  .fourth-heading {
    width: 100%;
    font-size: var(--mob-sub-heading);
  }
  .projects-container {
    height: 400vh;
    padding-bottom: 50px;
  }
  .project-card:nth-child(1) {
    top: 80px;
  }
  .project-card:nth-child(2) {
    top: 120px;
  }
  .project-card:nth-child(3) {
    top: 160px;
  }
  .project-card:nth-child(4) {
    top: 200px;
  }
  .project-card:nth-child(5) {
    top: 240px;
  }
  .project-card:nth-child(6) {
    top: 280px;
  }
  .project-card:nth-child(7) {
    top: 320px;
  }
  .project-card:nth-child(8) {
    top: 360px;
  }

  .project-card.left,
  .project-card.right {
    align-self: flex-start;
  }

  .project-title-container {
    padding: 1rem 1rem 1.2rem 1rem;
    margin-bottom: -0.5rem;
  }

  .project-title-container p {
    font-size: 0.9rem;
  }

  .link-to-target {
    font-size: 1rem;
  }

  .project-overlay h4 {
    font-size: 1.4rem;
  }

  .overlay-tags {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .overlay-tags .__tag {
    font-size: 0.8rem;
    padding: 8px 30px;
  }

  /* ---------------- section 5 ----------------- */
  .fifth-section {
    padding: 2rem 0;
    height: 100%;
  }
  .headings-container {
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .heading-wrapper {
    line-height: 0.6;
  }
  .heading-wrapper:hover .heading-text {
    transform: translateX(80px) scale(0.7);
  }
  .explanation {
    position: absolute;
    left: -29%;
    font-size: 0.9rem;
    line-height: 1;
    padding: 3px 5px;
    width: 50%;
  }
  .heading-wrapper:nth-child(4) .explanation,
  .heading-wrapper:nth-child(5) .explanation {
    left: -25%;
  }
  /* .heading-wrapper:hover .heading-text:nth-child(6) {
    transform: translateX(350px);
  } */
  .heading-wrapper:nth-child(1) .explanation {
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .heading-wrapper:nth-child(6) .explanation {
    left: -33%;
    width: 80%;
  }
  .heading-wrapper:nth-child(7) .explanation {
    /* left: -33%; */
    width: 75%;
  }
  .heading-wrapper:nth-child(8) .explanation {
    /* left: -33%; */
    width: 70%;
  }
  .heading-wrapper:nth-child(3) .explanation {
    padding: 3px 3px;
  }
  .imageBox {
    display: none;
  }

  /* -------------------- SECTION 6 ---------------- */
  .carousel-container {
    width: 90vw;
    padding: 10px;
    border-radius: 16px;
  }
  .carousel-item {
    width: calc(90vw - 20px - 16px);
    height: auto;
    margin-right: 10px;
    border-radius: 10px;
  }
  .carousel-item:last-child {
    margin-right: 0;
  }
  .carousel-item-header,
  .carousel-item-content {
    padding: 15px;
  }
  .carousel-item-title {
    font-size: 16px;
  }
  .carousel-item-description {
    font-size: 13px;
  }
  .carousel-indicators {
    padding: 0 16px;
    gap: 6px;
  }
  .carousel-indicator {
    height: 7px;
    width: 7px;
  }

  .carousel-container.round {
    height: 90vw;
  }
  .carousel-item.round {
    height: calc(90vw - 20px - 16px);
  }

  .row-1 .row-1-heading {
    margin-top: 0;
  }
  .row-3-para {
    display: none;
  }
}
