/* Background and home banner -- start*/
.home_banner {
  /* background: #010101; */
  height: 1000px;
  padding-top: 67px;
  background-size: 100%;
  background-repeat: no-repeat;
}

.lists {
  margin-right: 0px;
}

.home_contents {
  margin-top: 160px;
  margin-left: 110px;
}

.big_txts h1 {
  font-size: 50px;
  font-weight: 600;
  margin-top: 85px;
  margin-bottom: 25px;
  color: #ffffff;
}

.small_txts h6 {
  font-size: 17px;
  font-weight: lighter;
  color: #ffffff;
  line-height: 30px;
  margin-top: -10px;
  margin-bottom: 30px;
  width: 660px;
}

.small_txts h6 span {
  font-size: 25px;
  font-weight: 900;
}

.typewriter {
  margin-bottom: -20px;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #ffffff;
  max-width: 100%;
  animation: typing 7s steps(40, end) infinite, blink 0.5s step-end infinite;
}

/* Typing effect */
@keyframes typing {
  0% {
    width: 0;
  }
  70% {
    width: 100%; /* Fully typed */
  }
  90% {
    width: 100%; /* Pause before deleting */
  }
  100% {
    width: 0; /* Reset to start typing again */
  }
}

/* Blinking cursor */
@keyframes blink {
  50% {
    border-color: transparent;
  }
}

img.person_img1 {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 900px;
}

.home_contents .buttons {
  display: flex;
  flex-direction: row;
  gap: 24px;
  width: 172px;
}

.button_wrap {
  display: flex;
  justify-content: center; /* Centers the button horizontally */
  align-items: center; /* Centers the button vertically */
  height: auto;
}

.container.button_wrap {
  width: 172px;
  height: 55px;
}

.type--C {
  --line_color: #ffffff; /* Dark blue color for borders and text */
  --back_color: #defffa; /* Light aqua background for animated elements */
}

.button {
  position: relative;
  z-index: 0;
  width: 240px; /* Button width */
  height: 56px; /* Button height */
  text-decoration: none; /* Remove underline */
  font-size: 20px; /* Font size */
  font-weight: bold; /* Bold text */
  color: var(--line_color); /* Text color */
  letter-spacing: 2px; /* Spacing between letters */
  transition: all 0.3s ease; /* Smooth transition for hover effects */
}

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

.button::before,
.button::after,
.button__text::before,
.button__text::after {
  content: "";
  position: absolute;
  height: 3px;
  border-radius: 2px;
  background: var(--line_color);
  transition: all 0.5s ease; /* Smooth animation */
}

.button::before {
  top: 0;
  left: 54px;
  width: calc(100% - 56px * 2 - 16px);
}

.button::after {
  top: 0;
  right: 54px;
  width: 8px;
}

.button__text::before {
  bottom: 0;
  right: 54px;
  width: calc(100% - 56px * 2 - 16px);
}

.button__text::after {
  bottom: 0;
  left: 54px;
  width: 8px;
}

.button__line {
  position: absolute;
  top: 0;
  width: 56px;
  height: 100%;
  overflow: hidden;
}

.button__line::before {
  content: "";
  position: absolute;
  top: 0;
  width: 150%;
  height: 100%;
  box-sizing: border-box;
  border-radius: 300px;
  border: solid 3px var(--line_color);
}

.button__line:nth-child(1),
.button__line:nth-child(1)::before {
  left: 0;
}

.button__line:nth-child(2),
.button__line:nth-child(2)::before {
  right: 0;
}

.button:hover {
  letter-spacing: 6px;
}

.button:hover::before,
.button:hover .button__text::before {
  width: 8px;
}

.button:hover::after,
.button:hover .button__text::after {
  width: calc(100% - 56px * 2 - 16px);
}
/* Background and home banner -- end*/

/* Education - Start */
.education_banner {
  /* background: #010101; */
  height: 500px;
  background-size: 100%;
  background-repeat: no-repeat;
  margin-top: -350px;
}
.education_banner h2 {
  text-align: center;
  color: #ffffff;
  font-size: 50px;
  padding-bottom: 15px;
  z-index: 10;
}

.grid {
  display: flex;
  justify-content: space-around;
}

.grid-cols-3 {
  grid-template-columns: repeat(2, 1fr);
}

.item {
  position: relative;
  transition: transform 0.2s;
  display: flex;
}

.item:hover {
  --expand: 1;
  z-index: 1;
}

.item:before,
.item:after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background: #010101;
  border: 2px solid white;
  top: 0;
  left: 0;
  z-index: -1;
}

.item:after {
  transform: translate(calc(var(--expand) * -2%), calc(var(--expand) * -2%));
  transition: transform 0.2s;
}

.item__content {
  transition: transform 0.2s;
  transform: translate(calc(var(--expand) * -4%), calc(var(--expand) * -4%));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  border: solid 1px white;
  text-align: center;
  width: 395px;
  padding: 15px;
}

.item__content .logo {
  padding-bottom: 20px;
}

.flex-grow {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.item__content span {
  width: 135px;
  height: 60px;
  font-weight: bolder;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  color: #010101;
  background: linear-gradient(135deg, #ffffff, #c9c9c9);
  border-radius: 50px;
  margin: 0 auto;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}
/* Education - End */

/* Skills - Start */

.skills_content {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.skills_content img {
  width: 100px;
}

.skills_content h2 {
  font-size: 50px;
  font-weight: 900px;
  color: #ffffff;
}

.skills_content {
  gap: 20px;
}

.skills_content h3 {
  font-size: 30px;
  font-weight: 900px;
  color: #ffffff;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.skills_content .row2 {
  display: flex;
  flex-direction: row;
}

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

.row .blocks h3 {
  font-size: 15px;
}

.skills_content img {
  object-fit: contain;
  transform-origin: center;
  transform: perspective(800px) rotateY(25deg);
  transition: 0.5s;
}

.skills_content .container {
  max-width: 600px;
  max-height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.skills_content .container:hover img {
  opacity: 0.3;
}
.skills_content .container img:hover {
  transform: perspective(800px) rotateY(0deg);
  opacity: 1;
}

/* Skills - End */

/* Experience - Start */
.experience_banner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 600px;
}

.experience_content {
  border-radius: 12px;
  padding: 38px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 25px;
}

.experience_content .card {
  background: #010101;
}

.wrapper {
  width: 100%;
  height: 100%;
}

.text-content h2 {
  color: white;
  padding: 20px;
  font-size: 50px;
  padding-bottom: 15px;
}

p {
  color: white;
  text-align: center;
  font-size: 0.8rem;
  line-height: 150%;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.button-wrapper {
  margin-top: 18px;
}

.text-content .experiences {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
}

.text-content .experiences {
  padding: 20px;
}

.experiences .card {
  width: 377px;
  height: 402px;
  border-radius: 20px;
  transition: all 0.3s;
  color: white;
  text-align: left;
}

.card .card2 {
  width: 375px;
  height: 400px;
  background-color: #010101;
  border-radius: 20px;
  transition: all 0.2s;
  padding: 20px;
  border: solid 1px #8a8a8a;
}

.card .card2:hover {
  transform: scale(0.98);
  border-radius: 20px;
}

.experiences .card:hover {
  background-image: linear-gradient(163deg, #5c5c5c 0%, #1e1e24 100%);
  box-shadow: 0 0 15px rgba(92, 92, 92, 0.6);
}

.card .card2 h3 {
  font-size: 19px;
}

.card .card2 h3 span {
  font-size: 15px;
  color: #c1c1c1;
}

.card2 ul li {
  font-size: 12px;
}

/* Experience - End */

/* Project - Start */
.project_page h2 {
  font-size: 50px;
  font-weight: 900px;
  color: #ffffff;
  text-align: center;
}

.card-container {
  display: flex;
  justify-content: space-evenly;
  gap: 20px;
  margin-top: 30px;
}

.card {
  max-width: 400px;
  border-radius: 30%;
  background-color: black;
  border: 5px solid white;
  color: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.card a {
  color: white;
  text-decoration: none;
}

.content {
  height: 290px;
  padding: 15px;
  background: black;
  border: 1px white solid;
  text-align: center;
}
.image {
  width: 100%;
  height: 225px;
  background-color: rgb(239, 205, 255); /* Fallback for missing images */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.title {
  font-size: 17px;
  text-align: center;
  font-weight: 600;
}

.desc {
  text-align: justify;
  padding: 7px 10px 10px 10px;
  color: white;
  font-size: 14px;
  line-height: 1.25rem;
  max-height: 210px;
  overflow-y: auto;
  text-transform: none;
  margin-top: 20px;
}

/* Styling the scrollbar to make it thinner */
.desc::-webkit-scrollbar {
  width: 6px; /* Thinner scrollbar */
}

.desc::-webkit-scrollbar-track {
  background: #333; /* Dark background for track */
}

.desc::-webkit-scrollbar-thumb {
  background-color: #888; /* Scrollbar color */
  border-radius: 3px; /* Rounded edges for the scrollbar */
}

.desc::-webkit-scrollbar-thumb:hover {
  background-color: #555; /* Darker color when hovering over the scrollbar */
}
/* Project - End */

/* Contact page -- Start */
.contact_page {
  position: relative;
  height: 647px;
  height: 100%;
}

.contact_page .connect_with_us {
  z-index: 1;
  height: 647px;
  background: url(../images/contac_bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 10px;
  border-radius: 10px;
  width: 1000px;
  margin: auto;
  height: 575px;
}

.connect_with_us .contact_content {
  display: flex;
  flex-direction: row;
}

.connect_with_us .left_contents {
  background: url(../images/contact_page.png);
  background-repeat: no-repeat;
  justify-content: space-evenly;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
}

.contact_page .form_v {
  cursor: pointer;
}

.form_v:hover label {
  color: #ffffff;
}

.left_contents h1 {
  font-size: 60px;
  font-weight: 700;
  line-height: 55.02px;
  text-align: center;
  color: white;
}

.left_contents .details .links {
  padding-bottom: 20px;
  font-size: 15px;
  line-height: 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.details img {
  width: 30px;
}
.details .contact_icons {
  padding-top: 2px;
  padding-bottom: 20px;
  display: flex;
  gap: 25px;
}

.contact_form label {
  color: #cccccc;
  font-size: 20px;
  gap: 10px;
}

.contact_form input {
  border: none;
  border-bottom: 1px solid #cccccc;
  background-color: transparent;
  width: 210px;
  font-weight: 550;
  font-size: medium;
}

.contact_form .col-lg-6 {
  margin-bottom: 40px;
}

.col-lg-6 .contact_form {
  width: 50%;
  padding-left: 10px;
  position: relative;
  border-radius: 10px;
}

.col-lg-12 input {
  padding-top: 6px;
  width: 420px;
  color: #ffffff;
}

.contact_form .row {
  line-height: 22px;
  display: flex;
  flex-direction: column;
}

.left_contents .details {
  width: 50%;
  padding-left: 50px;
}

textarea#message {
  border: none;
  border-bottom: 1px solid #cccccc;
  background-color: transparent;
  width: 420px;
  height: 25px;
  font-size: medium;
  color: white;
}

.contact_form button {
  background-color: white;
  color: black;
  border-radius: 20px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  border: 1px solid black;
  box-shadow: 0 0 0 0 black;
  margin-top: 50px;
  width: 100px;
  height: 40px;
}

.contact_form button:hover {
  transform: translateY(-4px) translateX(-2px);
  box-shadow: 2px 5px 0 0 black;
}

.contact_form button:active {
  transform: translateY(2px) translateX(1px);
  box-shadow: 0 0 0 0 black;
}
/* Contact page -- End */

* {
  margin: 0;
  padding: 0;
}
section {
  width: 100%;
  height: 120px;
  margin-top: -35px;
  z-index: 0;
}

section .air {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url(https://1.bp.blogspot.com/-xQUc-TovqDk/XdxogmMqIRI/AAAAAAAACvI/AizpnE509UMGBcTiLJ58BC6iViPYGYQfQCLcBGAsYHQ/s1600/wave.png);
  background-size: 1000px 100px;
}
section .air.air1 {
  animation: wave 30s linear infinite;
  z-index: 1000;
  opacity: 1;
  animation-delay: 0s;
  bottom: 0;
}
section .air.air2 {
  animation: wave2 15s linear infinite;
  z-index: 999;
  opacity: 0.5;
  animation-delay: -5s;
  bottom: 10px;
}
section .air.air3 {
  animation: wave 30s linear infinite;
  z-index: 998;
  opacity: 0.2;
  animation-delay: -2s;
  bottom: 15px;
}
section .air.air4 {
  animation: wave2 5s linear infinite;
  z-index: 997;
  opacity: 0.7;
  animation-delay: -5s;
  bottom: 20px;
}
@keyframes wave {
  0% {
    background-position-x: 0px;
  }
  100% {
    background-position-x: 1000px;
  }
}
@keyframes wave2 {
  0% {
    background-position-x: 0px;
  }
  100% {
    background-position-x: -1000px;
  }
}

/* Responsive -- Start */
/* Responsive --End */
