/* @import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap"); */

/* @import url("https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap"); */

@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Bree+Serif&family=Kalam:wght@300;400;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Righteous&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto Condensed", sans-serif;
}

body {
  background: #000;
  overflow-x: hidden;
  scroll-snap-type: none;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-snap-type: none;
  overflow-x: hidden;
}

/* Navbar Section */

/* Toggler Bar Start */
.navbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  font-weight: bold;
  font-family: sans-serif;
  padding: 15px;
}

.nav-item {
  display: flex;
  list-style: none;
  gap: 25px;
}

#toggler,
label {
  display: none;
}

label i {
  color: red;
}

/* End */

.section-navbar {
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 4px;
  background-color: #000;
}

section {
  margin: 0;
  padding: 0;
  background-color: #000;
  min-height: 100vh;
}

/* Navbar Section */
.section-navbar {
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  background: linear-gradient(to right, #7a2ca78f, #29739af9, #0959a8d4);
}

.section-navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 0;
  margin-right: 3rem;

  /* ye name logo ke liye */

  /* & .navbar-brand a .logo {
    border-radius: 3.2rem;
    -webkit-border-radius: 3.2rem;
    -moz-border-radius: 3.2rem;
    -ms-border-radius: 3.2rem;
    -o-border-radius: 3.2rem;
    -webkit-border-radius: 1.2rem;
    box-shadow: 1px 1px 17px 0px #89acca;
    padding: 1rem 3rem 1rem 2.7rem;
    margin-left: 2rem;
    background: #fff;
text-decoration: none;
  } */

  /* ye img logo ke liye */

  & .navbar-brand a img {
    margin-left: 3rem;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
    box-shadow: 0 0 10px rgba(21, 161, 255, 0.486);
  }
}

.section-navbar .navbar ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;

  & li a {
    color: #000a19;
    text-transform: uppercase;
    font-weight: 550;
    font-size: 1.4rem;
    display: inline-block;
    text-decoration: none;
    color: #000000d4;
    position: relative;

    &:hover {
      color: #ffffffd7
        /* ye wala hover wala hai iska aur niche wale me hover likha hai usi ka color hai ( $ ) */
    }

    &::after {
      content: "";
      position: absolute;
      bottom: -0.3rem;
      left: 0;
      width: 0%;
      border-bottom: 0.2rem solid #000a1999;
      /* nav bar ke niche hover me line came color like home button; */
      transition: all 0.3s linear;
      -webkit-transition: all 0.3s linear;
      -moz-transition: all 0.3s linear;
      -ms-transition: all 0.3s linear;
      -o-transition: all 0.3s linear;
    }

    /* Ye hover ke liye hai ( $ ) */
    &::after {
      content: "";
      position: absolute;
      bottom: -0.3rem;
      left: 0;
      width: 0%;
      border-bottom: 0.2rem solid #ffffffc8;
      /* nav bar ke niche hover me line came color like home button; */
      transition: all 0.3s linear;
      -webkit-transition: all 0.3s linear;
      -moz-transition: all 0.3s linear;
      -ms-transition: all 0.3s linear;
      -o-transition: all 0.3s linear;
    }
  }

  /* Ye hover hone ke baad ke liye hai ( $ ) */
  & li a:hover::after {
    width: 100%
  }
}

.nav-toggle {
  display: none;
}

/* End  navbar Section */

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 10%;
  flex-wrap: wrap;
  min-height: 100vh;
  background: linear-gradient(135deg, #1e1e2f, #4e54c8);
  color: white;
}

.hero-left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  border: 5px solid #00d9ff;
  animation: bounce 2s ease-in-out infinite, glow 1.5s ease-in-out infinite alternate;
  /* Bounce + Glow */
}

/* Bounce Effect */
@keyframes bounce {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Glow Effect */
@keyframes glow {
  0% {
    box-shadow: 0 0 10px rgba(0, 0, 255, 0.8);
    /* Subtle glow */
  }

  50% {
    box-shadow: 0 0 25px rgba(0, 255, 255, 1);
    /* Brighter glow */
  }

  100% {
    box-shadow: 0 0 10px rgba(0, 0, 255, 0.8);
    /* Back to original glow */
  }
}

.hero-right {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.hero-right h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.highlight {
  color: #00d9ff;
}

.profession {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #cccccc;
}

.bio {
  font-size: 1rem;
  color: #dddddd;
  margin-bottom: 2rem;
}

.buttons {
  display: flex;
  gap: 15px;
}

.btn-primary,
.btn-secondary {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s ease;
}

.btn-primary {
  background: #00d9ff;
  color: #0f0f1a;
}

.btn-primary:hover {
  background: #ffffff;
  color: #1e1e2f;
}

.btn-secondary {
  background: transparent;
  color: #00d9ff;
  border: 2px solid #00d9ff;
}

.btn-secondary:hover {
  background: #00d9ff;
  color: #0f0f1a;
  border: 2px solid #00d9ff;
}


/* Projects Section */
.projects {
  padding: 80px 10%;
  background: linear-gradient(135deg, #171a2f, #2a2e59);
  color: white;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.project-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 4rem;
  border-radius: 1.5rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.project-card img:nth-child(1) {
  animation-delay: 0.2s;
}

.project-card img:nth-child(2) {
  animation-delay: 0.4s;
}

.project-card img:nth-child(3) {
  animation-delay: 0.6s;
}

.project-card img:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 0 15px rgba(0, 136, 255, 0.553);
}

.projects.show {
  opacity: 1;
  transform: translateY(0);
}

.projects-heading {
  font-size: 2.8rem;
  margin-bottom: 40px;
  color: #00d9ff;
  animation: fadeInDown 1.2s ease forwards;
}

.underline-style {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 40px;
  text-align: center;
}

.underline-style::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00d9ff, #7f5eff);
  border-radius: 2px;
  box-shadow: 0 0 10px #00d9ff80;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.project-card {
  background: #2b2f4a;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 0 6.5px rgba(0, 217, 255, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
  width: 30rem;
  padding: 5rem;
  margin: 3rem;
  /* text-align: left; */
  font-size: 0.9rem;
}

.project-card:nth-child(1) {
  animation-delay: 0.2s;
}

.project-card:nth-child(2) {
  animation-delay: 0.4s;
}

.project-card:nth-child(3) {
  animation-delay: 0.6s;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
}

.project-card h3 {
  font-size: 1.7rem;
  margin-bottom: 10px;
  color: #00d9ff;
}

.project-card p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.project-card a {
  color: #ffffff;
  background-color: #00d9ff;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  font-size: 1rem;
}

.project-card a:hover {
  background-color: #00aacc;
}

/* Skills Section */

.skills {
  padding: 80px 10%;
  text-align: center;
  background: #1e1e2f;
  color: white;
  opacity: 0;
  animation: fadeInSection 2s ease-out forwards;
}

.skills-heading {
  font-size: 2.5rem;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInHeading 2s forwards 0.5s;
  color: #00d9ff
}

.underline-style {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 40px;
}

.underline-style::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00d9ff, #7f5eff);
  border-radius: 2px;
  box-shadow: 0 0 10px #00d9ff80;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* Responsive grid layout */
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.skill-item {
  background: #2a2a3d;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(82, 94, 156, 0.5);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s forwards;
  height: 10rem;

  &:hover {
    cursor: pointer;
    box-shadow: 0 0 15px rgba(17, 172, 199, 0.397);
    border-radius: 5rem;
    transition: all 0.3s ease;
  }

  & img {
    width: 5.5rem;
    height: 5.2rem;
    margin-top: -1.6rem;
  }

  & h3 {
    font-size: 1.6rem;
    color: #00d9ff;
    margin: 0;
  }
}

@keyframes fadeInSection {
  to {
    opacity: 1;
  }
}


@keyframes fadeInHeading {
  to {
    opacity: 1;
  }
}


@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.skill-item:nth-child(1) {
  animation-delay: 0.5s;
}

.skill-item:nth-child(2) {
  animation-delay: 1s;
}

.skill-item:nth-child(3) {
  animation-delay: 1.5s;
}

.skill-item:nth-child(4) {
  animation-delay: 2s;
}

.skill-item:nth-child(5) {
  animation-delay: 2.5s;
}

.skill-item:nth-child(6) {
  animation-delay: 3s;
}

.skill-item:nth-child(7) {
  animation-delay: 3.5s;
}

/* Achievements Section */

.achievements-section {
  background: linear-gradient(to right, #141E30, #243B55);
  padding: 60px 20px;
  color: #fff;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px #000;
}

.achievements-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  /* display: grid;
  grid-template-columns: repeat(5, 1fr); */
}

.achievement-card {

  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 15px;
  width: 220px;
  margin-top: 1.5rem;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

.achievement-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.achievement-card p {
  font-size: 1rem;
}

.achievement-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Section */
.about {
  padding: 80px 10%;
  background: linear-gradient(135deg, #1a1d3a, #2d3165);
  color: white;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.about.show {
  opacity: 1;
  transform: translateY(0);
}

.about-heading {
  text-align: center;
  font-size: 2.8rem;
  color: #00d9ff;
  margin-bottom: 60px;
  animation: fadeInDown 1.2s ease forwards;
}

.underline-style {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 40px;
  text-align: center;
}

.underline-style::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00d9ff, #7f5eff);
  border-radius: 2px;
  box-shadow: 0 0 10px #00d9ff80;
}

.about-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
}

.about-image img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(0, 217, 255, 0.3);
  animation: floatImage 4s ease-in-out infinite;
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 12px;
  box-shadow: 2px 4px 10px rgba(10, 167, 191, 0.595);
  transition: all 0.3s ease-in-out;

  &:hover {
    transform: scale(1.05);
  }
}

.about-text {
  max-width: 600px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-para {
  margin-bottom: 20px;
  color: #e0e0e0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.about-para:nth-child(1) {
  animation-delay: 0.3s;
}

.about-para:nth-child(2) {
  animation-delay: 0.5s;
}

.about-para:nth-child(3) {
  animation-delay: 0.7s;
}

strong {
  color: #00d9ff;
}

.btn-resume {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: #00d9ff;
  color: #000;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.3s ease;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.9s;
  opacity: 0;
  transform: translateY(30px);
}

.btn-resume:hover {
  background: #00a3c4;
  transform: scale(1.05);
}

/* Timeline */
.timeline-section {
  background: linear-gradient(135deg, #1a1d3a, #2d3165);
  padding: 40px;
  margin-left: 5rem;
  margin-right: 0rem;
  color: #fff;
  margin-top: 7rem;
  border-radius: 2rem;
  -webkit-border-radius: 2rem;
  -moz-border-radius: 2rem;
  -ms-border-radius: 2rem;
  -o-border-radius: 2rem;
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.2);
}

.section-title {
  font-size: 2.2rem;
  color: #00d9ff;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00d9ff, #7f5eff);
  border-radius: 2px;
  box-shadow: 0 0 10px #00d9ff80;
}

.underline-style {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 40px;
  text-align: center;
}

.underline-style::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00d9ff, #7f5eff);
  border-radius: 2px;
  box-shadow: 0 0 10px #00d9ff80;
}

.timeline-container {
  position: relative;
  max-width: 600px;
  /* margin: 0 auto; */
  border-left: 3px solid #00d9ff;
  padding-left: 30px;
  height: 215px;
  margin-top: 4rem;
  margin-left: 20rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s ease forwards;
}

.timeline-item:nth-child(1) {
  animation-delay: 0.3s;
}

.timeline-item:nth-child(2) {
  animation-delay: 0.6s;
}

.timeline-item:nth-child(3) {
  animation-delay: 0.9s;
}

.timeline-dot {
  position: absolute;
  left: -38px;
  top: 0px;
  width: 14.5px;
  height: 14.5px;

  background: #00d9ff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00d9ff;
}

.timeline-content h4 {
  font-size: 1.3rem;
  margin: 0 0 5px;
  color: #ffffff;
}

.timeline-content p {
  font-size: 1rem;
  color: #ccc;
  margin: 0;
}

.media-container {
  margin: -25rem -50rem 9rem 0;
  /* box-shadow: 0px 0px 30px #6a11cb; */
  background: transparent;
  /* box-shadow: none; */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.media-container img {
  box-shadow: 1px 2px 20px #1c8ee6;
  border-radius: 20px;
  background: transparent;
  margin-top: 1.5rem;
  width: 200px;
  height: auto;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* contact section */
.contact-section {
  background: #0e0e0e;
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(145deg, #0e0e0e, #1a1a1a);
  color: #fff;
  /* margin-left:12rem; */

}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  position: relative;
  margin-left: 5rem;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #00d9ff;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.contact-form {
  max-width: 500px;
  /*margin: 0 auto;
  */
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 10rem 0 0 10rem;
  gap: 3.3rem;
  box-shadow: 0px 0px 8px #2c50bba1 inset;
  border-radius: 2rem;
  -webkit-border-radius: 2rem;
  -moz-border-radius: 2rem;
  -ms-border-radius: 2rem;
  -o-border-radius: 2rem;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  background: #1f1f1f;
  color: #fff;
  transition: 0.3s ease;
  width: 40rem;
  margin-left: 5rem;
}

.header {
  margin-top: 3.5rem;
  margin-bottom: -3rem;
  margin-left: 10rem;
  width: 300px;
  color: #1ccfd8c7;
  padding: 0.5rem 0 0.5rem 0;
  box-shadow: 0px 0px 6px #042f6c;
  border-radius: 3rem;
  -webkit-border-radius: 3rem;
  -moz-border-radius: 3rem;
  -ms-border-radius: 3rem;
  -o-border-radius: 3rem;


}

.header:hover {
  color: #183785db;
  /* cursor: pointer; */
  box-shadow: 0px 0px 5px #3b43a5d9 inset;
}

.inner-contact {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2rem;
  margin-left: 5rem;
  margin-bottom: -2.5rem;
  font-weight: 400;
  margin-top: 2rem;
}

.inner-contact2 {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2rem;
  margin-left: 5rem;
  margin-bottom: -2.5rem;
  font-weight: 400;
  margin-top: 2rem;
  margin-top: -1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #00d9ff;
}

.contact-form button {
  background: linear-gradient(to right, #00d9ff, #7f5eff);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
  width: 10rem;
  margin: -1.5rem 0 2rem 5.1rem;
}

.contact-form button:hover {
  background: linear-gradient(to right, #7f5eff, #00d9ff);
}

#form-response {
  margin-top: 15px;
}

.map-section {
  margin: -52.5rem -40rem -3rem 75rem;
  box-shadow: 0px 0px 10px #0559b9c9;
  /*background: #bd0505; */
  max-width: 66rem;
  height: 51.5rem;
  /* width:12rem; */
  display: flex;
  justify-content: center;
  align-items: self-start;
  border-radius: 2rem;
}

iframe {
  margin-top: 1rem;
  box-shadow: 0px 0px 10px #0559b9c9;
  border-radius: 1rem;
  width: 64rem;
  height: 49.5rem;
}

/* Footer Section */
.main-footer {
  text-align: center;
  padding: 20px;
  background-color: #020b10;
  color: white;

  & .para {
    font-size: 1.2rem;
    font-weight: 600;
  }
}

.social-icons {
  margin-top: 15px;
  gap: 10px;
}

.social {
  margin: 0 12px;
  font-size: 20px;
  color: white;
  display: inline-block;
  transition: transform 0.4s ease, color 0.4s ease;
  position: relative;

  &:hover {
    transform: translateY(-5px) scale(1.2);
  }
}

.linkedin:hover {
  color: #0077b5;
}

.github:hover {
  color: #333;
}

.twitter:hover {
  color: #1da1f2;
}

.email:hover {
  color: #ea4335;
}

.social::after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: currentColor;
  transition: width 0.3s ease;
  position: absolute;
  bottom: -5px;
  left: 0;
}

.social:hover::after {
  width: 100%;
}

.social-home {
  margin: 0 12px;
  font-size: 20px;
  color: rgb(0, 237, 213);
  display: inline-block;
  transition: transform 0.4s ease, color 0.4s ease;
  position: relative;

  &:hover {
    transform: translateY(-5px) scale(1.2);
  }
}

.social-home::after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: rgb(0, 237, 213);
  transition: width 0.3s ease;
  position: absolute;
  bottom: -5px;
  left: 0;
}

/* Responsive Section */

@media (min-width: 1025px) and (max-width: 1440px) {
  .section-navbar .navbar ul li a {
    font-weight: 750;
    font-size: 1.5rem;
  }

  .profile-img {
    width: 26rem;
    height: 26rem;
  }

  .hero-right h1 {
    font-size: 2.9rem;
    margin-bottom: 1rem;
  }

  .profession {
    font-size: 1.22rem;
  }

  .bio {
    font-size: 1.1rem;
  }

  .btn-primary {
    padding-top: 1rem;
    padding-left: 1.5rem;
  }

  .btn-secondary {
    padding-left: 1.2rem;
    padding-right: 1.3rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .project-card {
    height: 484px;
    width: 98%;
    padding: 28px;
    font-size: 14px;
  }

  .project-card h3 {
    font-size: 17px;
  }

  .project-card p {
    font-size: 12.5px;
  }

  .project-card button {
    font-size: 12.5px;
    padding: 6px 12px;
  }

  .projects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px;
    margin-left: -6rem;
  }

  .skill-item {
    width: 32.3rem;
    height: 10.8rem;
    margin-left: -2.3rem;

    & h3 {
      padding-top: 0.5rem;
    }
  }

  .skills-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
  }

  .achievement-card {
    width: 24rem;
    height: 23rem;
  }

  .about-para {
    font-size: 1.3rem;
  }

  .btn-resume {
    padding: 1.5rem 2.5rem 1.5rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
  }

  .underline-style {
    margin-bottom: 8rem;
  }

  .timeline-container {
    margin-top: -3rem;
    margin-left: 18rem;
  }


  .timeline-content h4 {
    font-size: 1.3rem;
  }

  .timeline-content p {
    font-size: 1.3rem;
  }

  .media-container img {
    max-width: 100%;
    height: auto;
    margin-right: 8rem;
  }

  .contact-section .contact-form {
    height: 56.5rem;
    margin-right: 109rem;
    width: 47rem;
    margin-left: 5.5rem;
  }

  .header {
    width: 67.5%;
    font-size: 1.6rem;
    margin-left: 7rem;
    padding: 1.1rem;
  }

  .inner-contact {
    margin-left: 5rem;
  }

  .inner-contact2 {
    margin-left: 5rem;
  }

  .contact-form input,
  .contact-form textarea {
    height: 5rem;
    width: 36rem;
    margin-left: 4.5rem;
  }

  .contact-form button {
    margin-left: 4.6rem;
  }

  .map-section {
    margin-left: 64rem;
    margin-top: -57.1rem;
    width: 71rem;
    height: 555px;
  }

  iframe {
    width: 63.5rem;
    height: 533.5px;
  }

  .social-icons {
    margin-top: 15px;
    gap: 0px;
    display: flex;
    justify-content: center;
  }

  .social-icons i {
    font-size: 2.2rem;
    margin: 0 5px;
  }
}

@media (min-width: 769px) and (max-width: 1025px) {
  .profile-img {
    max-width: 100%;
    height: auto;
  }

  .section-navbar .navbar ul li a {
    font-weight: 750
  }

  .projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 0px;
    margin-top: 5.5rem;
    max-width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .project-card {
    width: 286px;
    height: 39.4rem;
    margin: 0 0rem 1.2rem 0.5rem;
  }


  .skill-item {
    width: 26rem;
    margin-left: 0rem;
    height: 9.4rem;

    & h3 {
      font-size: 1.55rem;
    }

    /* & img{
      /* width:12rem */
    /* } */
  }

  .achievement-card {
    height: 22rem;
    width: 22rem;
    margin: 5px;
  }

  .section-title {
    font-size: 2rem;
    margin-left: 0.5rem;
  }

  .timeline-container {
    margin-left: 9rem;
  }

  .about-image img {
    max-width: 35%;
    height: auto;
    margin-top: 3.5rem;
    margin-left: 27.5rem;
  }

  .about-para {
    font-size: 1.2rem;
  }

  .media-container img {
    box-shadow: 1px 2px 20px #1c8ee6;
    border-radius: 20px;
    /* background: transparent; */
    margin-top: 2.5rem;
    margin-right: 21rem;
    width: 18%;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .contact-section .contact-form {
    height: 57.5rem;
    margin-right: -33rem;
    width: 40rem;
    margin-left: 3.5rem;
  }

  .header {
    width: 85%;
    height: 77%;
    font-size: 1.78rem;
    margin: 3.2rem 0 3rem 3rem;
    padding-top: 1.2rem;
  }

  .inner-contact {
    margin-top: -2rem;
    margin-left: 4rem;
  }

  .inner-contact2 {
    margin-left: 4rem;
  }

  .contact-form input,
  .contact-form textarea {
    height: 33rem;
    width: 31rem;
    margin-left: 4.3rem;
    font-size: 1.1rem;
    font-weight: 650;
  }

  .contact-form button {
    margin-left: 4.5rem;
    margin-top: -1rem;
  }

  .map-section {
    margin-left: 48.5rem;
    margin-top: -57rem;
    max-width: 47rem;
    height: 560px;
  }

  iframe {
    height: 539.5px;
    width: 45rem
  }

  .social-icons {
    margin-top: 15px;
    gap: 0px;
    display: flex;
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {

  /* toggler bar Start */
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  label {
    display: inline-flex;
    cursor: pointer;
    z-index: 2;
  }

  label i {
    color: #0481fe
  }

  .menu {
    position: absolute;
    top: 60px;
    right: 0;
    background: #004f7a;
    width: 135px;
    margin-right: 0rem;
    margin-top: -4rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-radius: 0 0 0 17px;
    box-shadow: -2px 2px 10px rgb(13, 160, 193);
    height: 26rem;
  }

  #toggler:checked~.menu {
    max-height: 500px;
    padding: 28px 9px 2px 4px;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 5px;
  }

  .nav-list a {
    padding: 3px 3px;
    width: 100%;
    color: white;
  }

  /* End */

  .hero-right {
    margin-left: 5rem;
  }

  .profile-img {
    max-width: 100%;
    height: auto;
    margin: 13rem 12rem 0 14rem;
  }

  .hero-right h1 {
    font-size: 2.5rem;
    margin-top: 12rem;
  }

  .projects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin: 0 0 5rem -4rem;

    & .project-card {
      width: 120%;
      height: auto;
      margin: 3rem -4rem -38.5px 0.5rem;
    }
  }

  .skills {
    height: auto;
  }

  .skill-item {
    width: 28.5rem;
    margin-right: -44rem;
    margin-left: 0rem;
    height: 8.2rem;
    padding-top: 2.3rem;

    & h3 {
      font-size: 1.3rem;
    }

    & img {
      max-width: 5rem;
      height: auto;
      border-radius: 0.5rem;
    }
  }

  .achievement-card {
    height: auto;
    width: 17rem;
  }

  .about-image img {
    width: 75%;
    height: 22rem;
    margin: 1px 2rem 0 5rem;
  }

  .about-para {
    font-size: 1.1rem
  }

  .btn-resume {
    padding: 8.5px
  }

  .section-title {
    font-size: 2.15rem;
    margin-left: 2rem;
  }

  .timeline-section {
    margin-left: -2rem;
    margin-right: -2.5rem;
  }

  .timeline-container {
    margin-left: 14.5rem;
    margin-top: 2.5rem;
  }

  .media-container img {
    box-shadow: 1px 2px 20px #1c8ee6;
    border-radius: 20px;
    background: transparent;
    margin-top: 2.5rem;
    margin-right: 15rem;
    width: 17%;
  }

  .contact-section .contact-form {
    height: 51rem;
    margin-right: -33rem;
    width: 30rem;
    margin-left: 3.5rem;
    margin-top: 2rem;
  }

  .header {
    width: 72%;
    margin-left: 3.96rem;
    font-size: 1.4rem;
  }

  .inner-contact {
    margin-left: 4rem;
  }

  .inner-contact2 {
    margin-left: 4rem;
  }

  .contact-form input,
  .contact-form textarea {
    height: 33rem;
    width: 22rem;
    margin-left: 3.5rem;
  }

  .contact-form button {
    margin-left: 3.6rem;
  }

  .map-section {
    margin-left: 36.8rem;
    margin-top: -50.3rem;
    max-width: 33.8rem;
    height: 503px;

  }

  iframe {
    height: 483.8px;
    width: 32rem;
  }

  .social-icons {
    margin-top: 15px;
    gap: 0px;
    display: flex;
    justify-content: center;
  }
}

@media (min-width: 586px) and (max-width: 656px) {

  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-img {
    max-width: 214px;
    height: auto;
    margin-bottom: -60px;
   
  }

  .hero-right {
    padding: 0 10px;
  }

  .buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 62rem;
    margin: 0 31rem 0 -62rem;
  }

  .btn-secondary {
    padding: 1rem 0.5rem 1rem 0.5rem;
  }

  .skill-item {
    margin-left: 5.56rem;
    width: 77%;
  }

  .about-image img {
    margin-left: 2rem;
    height: 21rem;
    width: 21rem;
  }

  .section-title {
    margin-left: 0.5rem;
    font-size: 2.1rem;
  }

  .timeline-container {
    margin-left: 9.5rem;
  }

  .timeline-content h4 {
    font-size: 1.15rem;
  }

  .media-container img {
    margin-left: -7rem;
    margin-top: 4rem;
    max-width: 100%;
    height: auto;
  }
}

@media (min-width: 657px) and (max-width: 663px) {
  .skill-item {
    margin-left: 12rem;
  }
}

@media screen and (max-width: 426px) {
  .profile-img {
    width: 214px;
    height: 207px;
    margin-bottom: -8rem;
    margin-top: 14rem;
  }

  .hero-right h1 {
    font-size: 2.5rem;
    ;
  }

  .hero {
    margin-bottom: -4rem;
  }

  .projects-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);

    & .project-card {
      width: 80%;
      height: auto;
      margin-left: 6rem;
      margin-top: 1.5rem;
    }
  }

  .skills {
    height: auto;
  }

  .skill-item {
    width: 30rem;
    margin-left: 2rem;
    height: 9rem;

    & h3 {
      font-size: 1.5rem;
    }
  }

  .achievement-card {
    width: 18rem;
    height: auto;
  }

  
  .about-image img {
    width: 79%;
    height: 17rem;
    margin: 1rem 2rem 0 3rem;
  }

  .about-para {
    font-size: 1rem
  }

  .btn-resume {
    font-size: 1rem;
    padding: 1rem 0.85rem;
  }

  .timeline-container {
    margin-left: 0.5rem;
    margin-top: 0.5rem;
  }

  .media-container img {
    width: 100vw;
    margin: 27.5rem 41rem -20px -9rem;
    height: 19rem;
    max-width: 21.5rem;
  }

  .section-title {
    margin-left: -1rem;
    font-size: 2rem;
    margin-top: -3.5rem;
    margin-bottom: 5rem;
  }

  .header {
    width: 71%;
    margin-left: 5rem;
  }

  .contact-section {
    /* padding-bottom: 55rem; */
    height: auto;

    & .contact-form {
      height: 45rem;
      margin-right: -33rem;
      width: 36.5rem;
      margin-left: 1rem;
      margin-top: -1rem;
    }
  }

  .contact-form input,
  .contact-form textarea {
    height: 33rem;
    width: 31rem;
    margin-left: 2.5rem;
  }

  .inner-contact {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
    margin-left: 3rem;
    margin-bottom: -2.5rem;
    font-weight: 400;
    margin-top: 2rem;
  }

  .inner-contact2 {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
    margin-left: 3rem;
    margin-bottom: -2.5rem;
    font-weight: 400;
    margin-top: 2rem;
    margin-top: -2rem;
  }


  .map-section {
    margin-left: 1.8rem;
    margin-top: 2.7rem;
    max-width: 34.8rem;
    height: 362px;
  }

  iframe {
    height: 341.8px;
    width: 33rem;
  }
}

.contact-section {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

@media (max-width: 400px) {

.hero{
  padding-left:1rem;
}

.projects-container{
  margin-left:-5rem;
}
  .skill-item {
    width: 30.7rem;
    height: 9.1rem;
    margin-left: 0.4rem;
  }
.achievement-card {
 width: 23rem;
 height: auto;
}
  .section-title {
    margin-top: 2rem;
  }

  .contact-section {
    padding: 0.5rem;

  }

  .contact-form {
    margin-right: 5rem;
  }

  .map-section {
    margin-bottom: 2rem
  }

  iframe {
    height: 340px;
  }
}

@media screen and (max-width: 376px) {
  .profile-img {
    width: 20rem;
    height: 20.5rem;
  }

  .hero-right h1 {
    font-size: 2rem;
  }

  .profession {
    font-size: 1rem;
  }

  .bio {
    font-size: 1rem;
  }

  .section-title {
    margin-left: -1rem;
    font-size: 1.5rem;
    margin-top: -3.5rem;
    margin-bottom: 3rem;
  }

  .skills {
    height: auto;
  }

  .skill-item {
    width: 29rem;
    margin-left: 0.5rem;

    & h3 {
      font-size: 1.4rem;
      padding-top: 0.5rem;
    }
  }

  .achievement-card {
    width: 18.5rem;
    height: 18.5rem;
    /* margin-bottom: 0.2rem; */
  }

  .about-image img {
    width: 81%;
    height: 17rem;
    margin: 1rem 3rem 0 2rem;
  }

  .about-para {
    font-size: 1.1rem
  }

  .media-container img {
    width: 100vw;
    margin: 27.5rem 41rem -20px -9rem;
    height: 17rem;
    max-width: 18.5rem;
  }

  .btn-resume {
    font-size: 1rem;
    padding: 1rem 0.85rem;
  }

  .contact-section {
    height: auto;

    & .contact-form {
      height: 48rem;
      margin-right: -33rem;
      width: 31.4rem;
      margin-left: 1rem;
      margin-top: 1rem;
    }
  }

  .contact-form input,
  .contact-form textarea {
    height: 25rem;
    width: 26.3rem;
    margin-left: 2.5rem;
  }

  .inner-contact {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
    margin-left: 3rem;
    margin-bottom: -2.5rem;
    font-weight: 400;
    margin-top: 2rem;
  }

  .inner-contact2 {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
    margin-left: 3rem;
    margin-bottom: -2.5rem;
    font-weight: 400;
    margin-top: 2rem;
    margin-top: -2rem;
  }

  .map-section {
    margin-left: 1.3rem;
    margin-top: 2.7rem;
    max-width: 30.8rem;
    height: 362px;
  }

  iframe {
    height: 343px;
    width: 29rem;
  }
}

@media screen and (max-width:321px) {
  .profile-img {
    width: 20rem;
    height: 20.5rem;
    margin-left: 12.5rem;
  }

  .hero-right h1 {
    margin-left: -1.5rem;
  }

  .profession {
    margin-left: -1.5rem;
  }

  .bio {
    margin-left: -1.5rem;
  }

  .buttons {
    margin-left: -1.5rem;
  }

  .btn-primary {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .btn-secondary {
    padding: 0.5rem 1rem 0.5rem 1rem;
    font-size: 1rem;
    margin-right: 2rem;
  }

  .projects-container .project-card {
    margin-left: 5rem;
  }

  .skill-item {
    width: 24.7rem;
    height: 9.1rem;
    margin-left: 0.5rem;
  }

  .achievement-card {
    width: 18.5rem;
    height: 18.5rem;
    /* margin-bottom: 0.2rem; */
  }

  .timeline-container {
    margin-left: 0.5rem;
    margin-top: 0.5rem;
    height: 21rem;
  }

  .timeline-content h4 {
    font-size: 1.1rem;
    margin: 0 0 5px -9px;
    color: #ffffff;
  }

  .timeline-content p {
    font-size: 1rem;
    color: #ccc;
    margin-left: -0.8rem;
  }

  .media-container img {
    width: 100vw;
    margin: 27.5rem 41rem -20px -9rem;
    height: 17rem;
    max-width: 17.5rem;
  }

  .contact-section {
    height: auto;

    & .contact-form {
      height: 47rem;
      margin-right: -33rem;
      width: 25.8rem;
      margin-left: 1rem;
      margin-top: 1rem;
    }
  }

  .header {
    width: 77%;
    margin-left: 3rem;
    font-size: 1.3rem;
  }

  .contact-form input,
  .contact-form textarea {
    /* height: 25rem; */
    width: 19.3rem;
    margin-left: 3rem;
  }

  .inner-contact {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
    margin-left: 3.2rem;
    margin-bottom: -2.5rem;
    font-weight: 400;
    margin-top: 2rem;
  }

  .inner-contact2 {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
    margin-left: 3.2rem;
    margin-bottom: -2.5rem;
    font-weight: 400;
    margin-top: 2rem;
    margin-top: -2rem;
  }

  .contact-form button {
    margin-left: 3.2rem;
  }

  .map-section {
    margin-left: 1.3rem;
    margin-top: 2.7rem;
    max-width: 25.2rem;
    height: 339.5px;
  }

  iframe {
    height: 321px;
    width: 23.5rem;
  }

  .main-footer .para {
    font-size: 1rem;
    font-weight: 600;
  }

  .main-footer .social-icons {
    gap: 0px;

    & a {
      font-size: 14px;
    }
  }
}