/* Enhanced mobile responsiveness */
@media (max-width: 576px) {
  body, .body12 {
    font-size: 0.97rem;
    padding: 0;
  }
  .nametext {
    height: auto;
    padding: 0.5rem 0.2rem;
    font-size: 1rem;
    flex-direction: column;
    text-align: center;
    background-size: cover;
  }
  .namee {
    font-size: 1rem;
    margin: 0.7rem 0;
    min-height: 40px;
    text-align: center;
    flex-direction: column;
  }
  .shortabout2, .shortabout {
    width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 0.7rem 0.2rem;
  }
  .photoowner {
    width: 6rem;
    height: 6rem;
    margin: 0.3rem auto;
    display: block;
  }
  .about-content {
    gap: 0.7rem;
    margin-top: 0.7rem;
    padding: 0 0.2rem;
  }
  .about-block {
    padding: 0.7rem 0.5rem;
    font-size: 0.97rem;
  }
  .contact-card {
    padding: 0.7rem 0.5rem;
    margin-top: 0.7rem;
  }
  .contact-photo {
    width: 6rem !important;
    height: 6rem !important;
    margin: 0.3rem auto;
    display: block;
  }
  .medialogo {
    width: 1.5rem;
    height: 1.5rem;
    margin-inline: 0.2rem;
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
  }
  .ul12 {
    flex-direction: column;
    width: 100%;
    margin-top: 0.3rem;
    align-items: flex-start;
  }
  .li {
    width: 100%;
    margin-bottom: 0.3rem;
    font-size: 0.97rem;
    padding: 0.3rem;
  }
  .container {
    padding: 0 0.2rem;
    font-size: 0.97rem;
  }
  .footer, footer {
    flex-direction: column;
    text-align: center;
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }
  .about-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  .about-text, .about-list li {
    font-size: 0.97rem;
  }
}
/* Responsive adjustments for mobile devices */
@media (max-width: 768px) {
  .nametext {
    height: auto;
    padding-left: 1rem;
    font-size: 1.2rem;
    flex-direction: column;
    text-align: center;
  }
  .namee {
    font-size: 1.2rem;
    margin: 1rem 0;
    min-height: 60px;
    text-align: center;
    flex-direction: column;
  }
  .shortabout2, .shortabout {
    width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 1rem 0.5rem;
  }
  .photoowner {
    width: 8rem;
    height: 8rem;
    margin: 0.5rem auto;
    display: block;
  }
  .about-content {
    gap: 1.2rem;
    margin-top: 1rem;
    padding: 0 0.5rem;
  }
  .about-block {
    padding: 1.2rem 1rem;
    font-size: 1rem;
  }
  .contact-card {
    padding: 1.2rem 1rem;
    margin-top: 1rem;
  }
  .contact-photo {
    width: 8rem !important;
    height: 8rem !important;
    margin: 0.5rem auto;
    display: block;
  }
  .medialogo {
    width: 2.2rem;
    height: 2.2rem;
    margin-inline: 0.3rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .ul12 {
    flex-direction: column;
    width: 100%;
    margin-top: 0.5rem;
    align-items: flex-start;
  }
  .li {
    width: 100%;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    padding: 0.5rem;
  }
  .container {
    padding: 0 0.5rem;
    font-size: 1rem;
  }
}
/* Contact Card Styles */
.contact-card {
  background: #f7f8fc;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(78,84,200,0.10);
  padding: 2.5rem 2rem;
  margin-top: 2rem;
}
.contact-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.contact-text {
  margin-bottom: 1.2rem;
}
.contact-list li {
  margin-bottom: .7rem;
  font-size: 1.08rem;
}
.contact-photo {
  margin-bottom: 1rem;
}
/* About Me main content section styles */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
}
.about-block {
  background: #f7f8fc;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(78,84,200,0.07);
  padding: 2.5rem 2rem 2rem 2rem;
  color: #222;
}
.about-title {
  color: #4e54c8;
  font-weight: 700;
  font-size: 1.7rem;
  margin-bottom: 1rem;
}
.about-block:nth-child(2) .about-title {
  color: #8f94fb;
}
.about-text {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.about-list {
  margin-bottom: 1rem;
  padding-left: 1.2rem;
}
.about-list li {
  margin-bottom: .5rem;
  font-size: 1rem;
}
/* Blinking caret for typing animation */
.blinking-caret {
  display: inline-block;
  color: #fff;
  font-weight: bold;
  animation: blinkCaret 0.8s steps(1) infinite;
}

@keyframes blinkCaret {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.navbar12 {
  position: sticky;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  z-index: 5;
  flex-wrap: nowrap;
}

.head-display12 {
  width: 100%;
  height: auto;
  background-color: rgb(53, 53, 57);
  text-align: center;
  display: block;
  position: sticky;
  top: 0;
  padding-left: 20pt;
}

.medialogo {
  display: inline-flex;
  height: 1cm;
  width: 1cm;
  margin-inline: .4cm;
  background-color: rgba(41, 41, 44, 0.927);
  border-radius: 10%;
  margin-top: .5cm;
  margin-bottom: .5cm;
  align-self: center;
  aspect-ratio: normal;
  cursor: pointer;
  transition: all 0.3s ease;

}

.medialogo:hover {
  transform: scale(1.1);
}

.li {
  display: inline-flex;
  text-decoration: none;
  color: #ffffff;
  text-align: center;
  padding: 5pt;
  border: 1pt solid rgb(114, 109, 109);
  width: 3cm;
  justify-content: center;
  font-weight: 400;
  cursor: pointer;

}

.li:hover {
  color: rgb(114, 109, 109);
}

.ul12 {
  display: inline-flex;
  width: fit-content;
  justify-content: right;
  margin-top: 10pt;
}

.tags12 {
  display: inline;
  font-size: 13pt;
  margin-inline: .5cm;
  align-items: center;
}

.nav12 {
  display: none;
  width: 0cm;
  align-items: center;
  visibility: hidden;
}

.texbox12 {
  display: inline-flex;
  height: 15pt;
  width: 0cm;
  position: absolute;
  left: 75%;
}

.btn {
  display: inline-flex;
  background-image: url("../img/search_logo.png");
  height: 1cm;
  width: 1cm;
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  left: 93%;
  padding: 5px;
  border-radius: 10px;
}

/* The typing effect */



.nametext {
  display: flex;
  background-image: url("../img/background_img.png");
  height:12rem;
  width: calc(100% - 8pt);
  align-items: center;
  justify-content: center;
  margin: 4pt;
  border-radius: 10pt;
  background-repeat: no-repeat;
  background-size: cover;
  padding-left: 3rem;
}

.namee {
    font-family: 'Fira Mono', 'Consolas', monospace; /* add monospace for realism */
    overflow: visible;
    border-right: none;
    white-space: nowrap;
    color: white;
    font-size: 30pt;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    max-width: 100%;
    margin: 2rem 0;
    letter-spacing: .07em;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 120px; /* adjust as needed for vertical centering */
}

.body12 {
  background: rgb(240, 240, 240);
}

.shortabout {
  height: 10cm;
  width: calc(100%-8pt);
  background-color: rgb(25, 2, 70);
  margin: 4pt;
  border-radius: 10pt;

}

.photoabout {
  display: inline-block;
  margin: 4pt;
  margin-right: 0pt;
  width: 35%;
  height: calc(10cm - 8pt);
  background-image: url('../img/vinayaklogo.png');
  border-radius: 10pt;
  background-size: 95%;
  background-color: rgb(183, 179, 194);
  background-repeat: no-repeat;
  background-position: center;

}

.textabout {
  position: absolute;
  display: inline-block;
  margin: 4pt;
  height: calc(10cm - 8pt);
  width: calc(65% - 22pt);
  background: rgb(100, 92, 116);
  border-radius: 10pt;
}

.projectsname {
  text-align: center;
  color: aliceblue;
  font-size: 30pt;
  overflow: hidden;
  display: flex;
}

.text1 {
  font-size: 22px;
  color: white;
  padding: 3%;
  line-height: 30pt;
}

#myVideo {
  position: relative;
  height: max-content;
  width: 100%;
  z-index: 0;
}

.Featured_text {
  text-align: center;
  width: 74%;
  color: black;
}

.featured_allheader {
  color: aliceblue;
  background-color: rgba(20, 20, 21, 0.553);
}

.featured_alllower {
  color: aliceblue;
  background-color: rgba(20, 20, 21, 0.553);
}

.all-project-tags {
  color: rgb(0, 0, 0);
  font-family: Alumni Sans Inline One;
  font-size: 20pt;
  text-align: center;
  text-decoration: underline 1pt;
  border: 1pt solid black;
}

.card-img-top {
  height: 157px;
  margin: 3pt;
  padding-right: 7pt;
  object-fit: contain;
  transition: all 0.5s ease;
}

.card-img-top:hover {
  transform: scale(1.1);
}

.anchor-display12 {
  text-align: left;
  width: min-content;
  display: inline;
  align-self: flex-start;


}

.shadow-sm {
  min-height: 300pt;
  height: auto;
}

.card-text {
  color: rgb(47, 45, 59);
  font-size: 19px;
  height: max-content;
  font-weight: 600;
  margin: .2rem;

}

.container {
  font-weight: 600;
}

.photoowner {
  height: 15rem;
  width: 15rem;
  max-width: 100%;
  display: inline-flex;
  margin: .5rem;
  border-radius: 0.833rem;

}

.text2 {
  font-size: 22px;
  color: white;
  padding: 3%;
  line-height: 1.7;
  display: inline-flex;
  padding-bottom: 0%;
}

.textabout2 {
  position: relative;
  margin: 4pt;
  height: max-content;
  background: rgb(100, 92, 116);
  border-radius: 10pt;
  color: #222;
  display: inline-flex;
  line-height: 1.7;


}

.shortabout2 {
  height: auto;
  width: calc(100%-8pt);
  background-color: rgb(25, 2, 70);
  margin: 4pt;
  border-radius: 10pt;
  line-height: 1.7;

}

.heading2 {
  font-size: 1.37rem;
  color: rgb(252, 243, 243);
  padding: 3%;
  line-height: 30pt;
  padding-top: 0%;
  padding-bottom: 0%;
  line-height: 1.7;

}

.listabout {
  font-size: 1.35rem;
  color: white;
  padding: 3%;
  line-height: 30pt;
  padding-top: 0%;
  padding-bottom: 0%;
  list-style: outside;
  margin-left: 7%;
  line-height: 1.7;

}

.aboutline {
  font-size: 1.35rem;
  color: white;
  padding: 3%;
  line-height: 30pt;
  padding-top: 0%;
  padding-bottom: 0%;
  margin: 3%;
  line-height: 1.7;
}
.projecttypecardimage {
  height: 157px;
  margin: 3pt;
  padding-right: 7pt;
  object-fit: contain;
  transition: all 0.5s ease;
}

.projecttypecardimage:hover {
  transform: scale(1.01);
}