@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Poppins: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=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  width: 100vw;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  background-color: #ffff;
  box-sizing: border-box;
  margin-bottom: 0;
}

/* Hide main page scroll bar when dashboard is open */
body.dashboard-open {
  overflow: hidden;
}

p {
  color: #353535;
}

a,
btn {
  transition: all 300ms ease;
}

/* HEADER STYLE */

header {
  z-index: 100;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

#menu-bar-icone {
  display: none;
}

nav {
  height: 10vh;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  background-color: #fff;
}

.nav-list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  gap: 50px;
  font-size: 1.3rem;
  font-weight: 500;
}

.nav-list a.active {
  color: #008080;
  text-decoration: underline;
  text-underline-offset: 10px; /* gap between the menu name and the line */
  text-decoration-color: #000000;
}

a {
  text-decoration: none;
  color: #000000;
}

.nav-list a {
  text-decoration-color: #ffffff;
}

.nav-list a:hover {
  color: #008080;
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-color: #000000;
}

.logo {
  font-size: 1.7rem;
}

.logo:hover {
  text-shadow: 0 0 0.1rem #777;
}

.logo:hover {
  cursor: pointer;
}

/*hamburger-menu for mobile view */

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: #000000;
  transition: all 0.3 ease-in-out;
}

.menu-links {
  background-color: #ffffff;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all absolute 0.3 ease-in-out;
  position: absolute;
  top: 100%;
  right: 0;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: #000000;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}

.menu-links li {
  list-style-type: none;
}

.menu-links.open {
  max-height: 500px;
}

/* animaions for icon */

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px); /* for the cross icon */
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}

/* HOME SECTION STYLE */

section {
  padding-top: 4vh;
  margin: 0 4rem;
  position: relative;
  margin-bottom: 0px !important;
}

.section-container {
  display: flex;
}

#home {
  display: flex;
  justify-content: center;
  gap: 10rem;
  position: relative;
  min-height: 90vh;
}

.profile-picture {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
  border-radius: 50%;

  box-shadow: 2px 4px 4px 1px #333;
}

.home-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

.home-content p {
  font-weight: 600;
}

.para1 {
  text-align: center;
  font-size: 1.3rem;
}

.para2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 10px;
}

.name {
  font-size: 3rem;
  font-weight: 500;
  text-align: center;
}

.headline {
  margin-bottom: 20px;
}

.social-media-profiles {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 1.5rem;
}

.linked-in {
  font-size: 18px;
}

.email-i {
  font-size: 18px;
}

.social-media-profiles a {
  background-color: #fafbfc;
  box-shadow: 0 0 0.5rem #777;
  padding: 8px 12px;
  color: #000000;
  font-size: 18px;
  border-radius: 50%;
  transition: 0.6s ease;
}

.social-media-profiles a:hover,
.social-media-profiles a i:hover {
  background-color: #000000;
  color: #ffffff;
  box-shadow: 0 0 1rem #929394;
}

.btn-container {
  display: flex;
  flex-direction: row;
  margin-bottom: 0;
  margin-top: 20px;
}

.button-1 {
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  padding: 14px;
  width: 11rem;
  border-radius: 2rem;
  transition: all 0.5s ease;
  background-color: #000;
  color: #fff;
}

.button-1:hover {
  background-color: transparent;
  color: #000;
  border: #353535 1px solid;
}

.button-1:hover,
.button-1 a:hover {
  color: #000;
}

.arrow-icon {
  position: absolute;
  right: -80px;
  bottom: 20px;
  font-size: 30px;
  padding-top: 0px;
  margin-top: 0px;
}

/* ABOUT SECTION STYLE */

#about {
  min-height: 70vh;
  position: relative;
}

.about-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0px;
}

.about-description {
  text-align: center;
  margin-bottom: 0;
}

.about-image {
  width: 100px;
  height: 430px;
  border-radius: 20px;
}

.headings {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.headings-para {
  font-size: 16px;
  color: #353535;
}

.section-heading {
  font-size: 48px;
  font-weight: 600;
  color: #000000;
  text-align: center;
}

.education {
  padding: 30px 20px;
  border-radius: 14px;
  width: 40%;
  background-color: #000000;
  transition: 0.5s ease;
  align-self: center;
  margin-top: 30px;
}

.education:hover {
  background-color: #ffffff;
  color: #000000;
  box-shadow: 0 0 5px #777;
}

.education h1 {
  font-size: 24px;
  color: #f7b51b;
  font-weight: 600;
  margin-bottom: 20px;
}

.education:hover h1 {
  color: #000000;
}

.degree {
  font-weight: normal;
  color: #fff;
  margin-top: 12px;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.education:hover .degree {
  color: #000000;
  font-weight: 600;
}

.clg-name {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.education:hover .clg-name {
  color: #000000;
}

.clg-year {
  color: #777;
  font-size: 12px;
}

/* Timeline container */

.timeline {
  position: relative;
  margin: 70px auto 20px;
  overflow-x: auto; /* Enable horizontal scrolling */
  overflow-y: hidden; /* Hide vertical scrollbar */
  white-space: nowrap; /* Prevent wrapping */
  padding: 230px 0; /* Add padding for boxes above and below the line */
  width: 100%;
  margin-top: 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.timeline::-webkit-scrollbar {
  display: none;
}

/* Experience heading placement */
.experience-heading {
  font-size: 28px;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 20px;
}

/* The horizontal line - make it extend full width */
.timeline::after {
  content: "";
  position: absolute;
  height: 3px;
  background: #000000;
  top: 50%;
  left: 0;
  right: 0;
  z-index: -1;
  min-width: 100%;
  width: 100%; /* Extend beyond the container */
}

/* Timeline items */
.container-timeline {
  display: inline-block;
  position: relative;
  min-width: 200px;
  padding: 0 10px;
  vertical-align: middle;
  margin-bottom: 0px;
}

/* Position containers above and below the line alternately */
.left-container .text-box {
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
}

.right-container .text-box {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
}

/* Text box styling */
.text-box {
  padding: 25px 20px;
  background: #000000;
  border-radius: 6px;
  transition: 0.5s ease;
  cursor: pointer;
  white-space: normal; /* Allow text to wrap inside boxes */
  width: 230px;
  margin: 0 auto;
}

.text-box:hover {
  background-color: #ffffff;
  box-shadow: 0 0 5px #777;
}

/* Content styling */
.text-box h2 {
  font-size: 18px;
  font-weight: 800;
  color: #f7b51b;
  margin-bottom: 16px;
}

.role {
  font-size: 16px;
  color: #ffffff;
  font-weight: 500;
}

.text-box:hover .role {
  color: #000000;
}

.text-box:hover h2 {
  color: #000000;
}

.text-box small {
  display: block;
  margin-top: 12px;
  color: #929394;
}

/* Speech bubble effect with connector to timeline */
.left-container .text-box::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 15px 15px 0;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
  transition: 0.5s ease;
}

.right-container .text-box::after {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 15px 15px;
  border-style: solid;
  border-color: transparent transparent #000 transparent;
  transition: 0.5s ease;
}

.left-container .text-box:hover::after {
  border-top-color: #ffffff;
}

.right-container .text-box:hover::after {
  border-bottom-color: #ffffff;
}

/* Company logo circles */
.container-timeline img {
  display: block;
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 3px solid #000000;
  top: 50%;
  left: 62%;
  transform: translate(-50%, -50%);
  z-index: 10;
  object-fit: cover; /* Make sure the image covers the circle area */
  padding: 2px; /* Small padding inside the border */
}

/* Connector lines to nodes */
.left-container::after {
  content: "";
  position: absolute;
  width: 3px;
  height: calc(50% - 40px);
  background-color: #000;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.right-container::after {
  content: "";
  position: absolute;
  width: 3px;
  height: calc(50% - 40px);
  background-color: #000;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .container-timeline {
    min-width: 150px;
  }

  .timeline {
    margin-bottom: 0;
  }

  .text-box {
    padding: 20px 15px;
    width: 150px;
  }

  .container-timeline img {
    width: 30px;
    height: 30px;
    left: 52%;
  }

  .timeline::after {
    content: "";
    position: absolute;
    height: 3px;
    background: #000000;
    top: 50%;
    left: 0;
    right: 0;
    z-index: -1;
    min-width: 100%;
    width: calc(100% + 600px); /* Extend beyond the container */
  }

  .container-timeline h2 {
    font-size: 14px;
  }

  .container-timeline h1 {
    font-size: 12px;
  }

  .text-box {
    font-size: 13px;
    height: 100px;
  }

  .text-box small {
    margin-bottom: 10px;
  }
}

/* SKILLS SECTION STYLE */

.skills-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  margin-top: 0px;
  padding-top: 0;
}

.skills {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
  position: relative;
}

.skills p {
  padding: 14px 24px;
  border: 1px solid #353535;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s ease;
}

.skills p:hover {
  background-color: #000000;
  color: #ffffff;
}

/* CERTIFICATE SECTION STYLE */

.certificate-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  margin-top: 20px;
}

.certificate-card-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

.certificate-card-container img {
  height: 260px;
  width: auto;
  cursor: pointer;
  transition: transform 0.5s ease;
}

.certificate-card {
  width: 30%;
  height: 300px;
  position: relative; /* Add this */
  z-index: 1; /* Set default z-index */
}

.certificate-card:hover {
  z-index: 10; /* Bring the entire card to the front on hover */
}

.certificate-card-container img:hover {
  transform: scale(1.4);
}

@media screen and (max-width: 600px) {
  .certificate-card-container img:hover {
    transform: scale(1.05);
  }
}

.certificate-name {
  font-size: 16px;
  font-weight: 500;
  color: #353535;
  text-align: center;
}

/* PROJECTS BUTTON */

.projects-container {
  position: relative;
  min-height: 60vh;
  margin-bottom: 30px;
}

.project-card-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding-top: 50px;
  margin-left: 0px;
  padding-left: 0px;
}

.card-container {
  width: 30%;
  height: 380px;
  border: 1px solid #353535;
  border-radius: 14px;
  transition: 0.5s ease;
}

.card-container:hover #button {
  background-color: #f7b51b;
  color: #000000;
  font-weight: 500;
}

.project-thumbnail {
  width: 100%;
  height: 200px;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.project-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px;
}

.card-container h1 {
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  color: #000000;
  margin-top: 12px;
}

.project-title h1 {
  font-size: 16px;
}

#button {
  font-size: 12px;
  font-weight: 600;
  color: #000000;
  padding: 9px 14px;
  text-align: center;
  font-family: "Nunito", sans-serif !important;
  margin-top: 14px;
  margin-bottom: 20px;
  border: 1px solid #353535;
  border-radius: 10px;
  background-color: transparent;
  transition: 0.5s ease;
  cursor: pointer;
  letter-spacing: 1.2px;
}

#button:hover {
  background-color: #777;
  color: #ffffff;
}

.button-logo-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

@media screen and (max-width: 600px) {
  .button-logo-container {
    margin-top: 20px;
  }
}

.skill-img {
  display: flex;
  flex-direction: row;
}

.button-logo-container img {
  height: 30px;
  margin-left: 10px;
  margin-right: 10px;
}

/*dashboard container */

.dashboard-main {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  margin: 0;
  max-width: 100vw;
  height: 100%;
  background-color: #ffffff;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.live-dashboard-container {
  width: 100%;
  max-height: 100%;
  background-color: #ffffff;
  overflow-x: hidden;
  padding: 35px;
  box-sizing: border-box;
  position: relative;
  padding-left: 50px;
}

.close-icon {
  position: absolute;
  top: 20px;
  right: 30px;
  cursor: pointer;
  font-size: 30px;
  color: #fa160a;
  padding: 8px 16px;
  border-radius: 6px;
  background-color: #f7b51b;
}

.hr-line {
  width: 100%;
  border-width: 1px;
  opacity: 0.5;
  color: #000000;
  margin-bottom: 30px;
  margin-top: 20px;
}

.live-dashboard-container h1 {
  color: #000000 !important;
  font-weight: 600;
  font-size: 30px;
  font-family: "Poppins" !important;
  letter-spacing: 1.3px;
}

.img-br {
  display: none;
}

.main-descirption {
  font-size: 14px;
  color: #000000;
  text-align: center;
  letter-spacing: 1px;
  line-height: 2;
  padding-left: 40px;
  padding-right: 40px;
  margin-bottom: 30px;
}

.project-view-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  gap: 30px;
  margin-top: 50px;
}

.logo-skill {
  height: 34px;
  margin-bottom: 0px;
  padding-bottom: 0px;
  margin-left: 20px;
  margin-right: 20px;
  position: relative;
  top: 6px;
}

.linkedin-engagement {
  padding: 12px 16px;
  background-color: #a1a3ff;
  text-align: center;
  border-radius: 44px;
  display: flex;
  align-items: center;
  width: 250px;
  font-size: 14px;
  font-weight: 500;
}

.githun-repo {
  padding: 12px 16px;
  background-color: #1ac74e;
  text-align: center;
  border-radius: 44px;
  display: flex;
  align-items: center;
  width: 250px;
  font-size: 14px;
  font-weight: 500;
}

.linkedin-engagement:hover {
  background-color: #ffffff;
  box-shadow: 0 0 0.5rem #a1a3ff;
}

.githun-repo:hover {
  background-color: #ffffff;
  box-shadow: 0 0 0.5rem #1ac74e;
}

.dashboard-icon1 {
  color: #0077b5;
  font-size: 24px;
  background-color: #ffffff;
  padding: 12px 13px;
  border-radius: 50%;
  margin-right: 10px;
  margin-left: 0px;
  transition: 0.5s ease;
}

.linkedin-engagement:hover .dashboard-icon1 {
  box-shadow: 0 0 1rem #a1a3ff;
}

.githun-repo:hover .dashboard-icon2 {
  box-shadow: 0 0 1rem #1ac74e;
}

.dashboard-icon2 {
  color: #2c974b;
  font-size: 24px;
  background-color: #ffffff;
  padding: 12px 13px;
  border-radius: 50%;
  margin-right: 10px;
  margin-left: 0px;
  transition: 0.5s ease;
}

/* .view-text {
  font-size: 14px;
  color: #000000;
  font-weight: 500;
  text-align: center;
} */

.project-details-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  margin-bottom: 50px;
  margin-top: 70px;
}

.presentation-container h1,
.details-content h1 {
  color: #000000;
  font-weight: 700;
  font-size: 26px;
  font-family: "Nunito" !important;
  letter-spacing: 1.5px;
  margin-bottom: 30px;
}

.details-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 50%;
}

.third-project {
  max-width: 100%;
}

.details-icon {
  margin-right: 40px;
}

.details-content1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 100%;
}

.details-content1 p {
  text-align: start;
  padding-left: 0px;
  margin-left: 0px;
  font-size: 14px;
  font-weight: 400;
  font-family: "Nunito", sans-serif !important;
  color: #000000;
  margin-bottom: 14px;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.details-content p {
  text-align: start;
  font-size: 15px;
  font-weight: 500;
  color: #000000;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

h3 {
  margin-bottom: 14px;
  font-family: "Nunito", sans-serif;
}

.live-dashboard-heading {
  font-size: 30px;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.presentation-container {
  width: 50%;
}

.video-frame {
  height: 360px;
  width: 90%;
}

.frame-rate {
  width: 100%;
  height: 800px;
}

/* CONTACT US SECTION STYLE */

.contact {
  min-height: 40vh;
  padding: 40px 30px;
  margin-top: 30px;
}

.contact-container {
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
}

.contact-content {
  width: 100%;
  padding: 20px;
}

.contact-content h1 {
  margin-bottom: 20px;
  font-size: 28px;
  color: #333;
}

.contact-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
  font-size: 16px;
  max-width: 80%;
}

/* Contact info grid for two rows layout */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 25px;
  margin-top: 25px;
  max-width: 80%;
}

.icon-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  background-color: rgb(245, 204, 71, 0.8);
  padding: 15px 20px;
  border-radius: 8px;
  transition: 0.3s ease;
  text-decoration: none;
  border: 1px solid #f7b51b;
}

.icon-container:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-item {
  display: flex;
  align-items: center;
}

.contact-icon-wrapper {
  width: 40px;
  height: 40px;
  background-color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  /* border: 1px solid #a2a6a3; */
  flex-shrink: 0;
}

.icons {
  transition: 0.3s ease;
  color: #fff; /* Purple/indigo color similar to the second image */
}

.contact-icon-wrapper i {
  font-size: 18px;
}

.contact-text {
  font-size: 15px;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arrow-icon {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s ease;
}

.arrow-icon:hover {
  background: #333;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .contact {
    padding: 40px 20px;
  }

  .contact-content h1 {
    font-size: 24px;
  }

  .contact-info-grid {
    gap: 20px;
  }
}

@media screen and (max-width: 680px) {
  .contact-content {
    padding: 20px;
    padding-right: 20px;
    width: 100%;
  }

  .contact-content p {
    width: 100%;
    font-size: 14px;
  }

  .contact-container {
    width: 100%;
  }

  .icon-container {
    width: 85%;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
  }

  .contact-icon-wrapper {
    width: 30px;
    height: 30px;
  }

  .contact-icon-wrapper i {
    font-size: 16px;
  }

  .contact-text {
    font-size: 14px;
  }
}

/* FOOTER SECTION STYLE */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1.5rem 4%;
  background: #000000;
  margin-bottom: 0 !important;
  height: 5vh !important;
}

.footer-container {
  font-size: 1.6rem;
}

footer h2 {
  font-family: "Nunito";
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
}

footer h2 a {
  color: #f7b51b;
}

.get-yours {
  font-size: 14px;
  color: #faf9f6;
  border: 2px solid #f7b51b;
  background-color: #000000;
  box-shadow: 0 0 5px #f7b51b;
  border-radius: 30px;
  padding: 10px 30px;
  transition: 0.3s ease;
}

.get-yours:hover {
  background-color: #f7b51b;
  color: #000000;
  font-weight: 600;
}

.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 130px;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 3px;
  font-size: 12px;
  font-weight: 200;
  border-radius: 4px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: -100px;
  transform: translateX(50%);
  opacity: 0;
  transition: opacity 0.3s;
}

/* Show the tooltip text on hover */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.footer-icons {
  display: inline-flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 0.8rem 1rem;
  background: var(--main-color);
  border-radius: 50%;
  transition: 0.5s ease;
  margin-right: 0px;
}

.footer-icons a:hover {
  box-shadow: 0 0 1rem var(--main-color);
}

.back-to-top i{
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hide the default Topmate button */
.topmate-button {
  display: none !important;
}

/* media query for mobile view */

@media screen and (max-width: 600px) {
  #menu-bar-icone {
    display: block;
    cursor: pointer;
    font-size: 24px;
  }

  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 3%;
    background: #ffffff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    display: none;
  }

  .nav-list.active {
    display: block;
  }

  .nav-list li a {
    display: block;
    font-size: 16px;
    margin: 0.7rem 0;
  }

  html {
    overflow-x: hidden;
  }

  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  #hamburger-nav {
    height: 8vh;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    font-size: 18px;
  }

  .menu-links {
    z-index: 1;
  }

  .menu-links li a {
    font-size: 14px;
  }

  section {
    min-height: 100vh;
    padding-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
  }

  #home {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
  }

  .profile-picture {
    height: 260px;
    width: 260px;
    margin-bottom: 20px;
    margin-top: 80px;
    order: 1;
  }

  .home-content {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .headline {
    text-align: center;
    font-size: 14px;
    margin-bottom: 1px;
  }

  .para1 {
    font-size: 13px;
  }

  .name {
    font-size: 20px;
  }

  .para2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .btn-container {
    margin-top: 24px;
  }

  .button-1 {
    font-size: 14px;
    width: 160px;
    padding: 10px;
    text-align: center;
  }

  .social-media-profiles {
    gap: 14px;
    margin-top: 20px;
  }

  .social-media-profiles a i {
    font-size: 16px;
  }

  .social-media-profiles a {
    padding: 6px 12px;
  }

  .arrow-icon {
    display: none;
  }

  /* about section */

  #about {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 0 !important;
    padding-bottom: 0;
  }

  .about-image {
    display: none;
  }

  .about-description {
    font-size: 14px;
  }

  .about-container {
    gap: 14px;
  }

  .headings {
    max-width: 100%;
    text-align: center;
    margin-bottom: 0px;
    align-self: center;
    margin-top: 30px;
  }

  .headings-para {
    font-size: 13px;
  }

  .section-heading {
    font-size: 20px;
  }

  .about-content {
    width: 100%;
  }

  .education {
    width: 80%;
    padding: 16px;
    margin-top: 10px;
    align-self: center;
  }

  .education h1 {
    font-size: 18px;
  }

  .degree {
    font-size: 12px;
    text-align: start !important;
  }

  .clg-name {
    font-size: 11px;
    margin-top: 18px;
  }

  .clg-year {
    font-size: 10px;
  }

  .about-content p {
    font-size: 12px;
    text-align: center;
  }

  /* Skills section */

  #skills {
    height: 40vh !important;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0;
  }

  .skills-container {
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .skills {
    gap: 14px;
    margin-top: 18px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }

  .skills p {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 11px;
  }

  /* Certificate section */

  .certificate-card-container {
    gap: 5px;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
  }

  .certificate-card {
    width: 100%;
    text-align: center;
    height: 250px;
    margin-bottom: 34px;
  }

  .certificate-card-container img {
    height: 220px;
    width: 100%;
  }

  .certificate-name {
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    margin-bottom: 0px;
  }

  /* Projects container */

  .projects-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }

  .project-card-container {
    gap: 20px;
    padding-top: 30px;
  }

  .card-container {
    width: 100%;
    height: 350px;
  }

  .card-container h1 {
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
  }

  #button {
    font-size: 12px;
    padding: 8px 10px;
  }

  .dashboard-main {
    padding: 0px;
    max-width: 100%;
  }

  .live-dashboard-container {
    margin: 0;
    padding: 14px;
  }

  .live-dashboard-container h1 {
    font-size: 14px;
    margin-top: 26px;
  }

  .close-icon {
    top: 10px;
    right: 10px;
    font-size: 18px;
    padding: 6px 12px;
  }

  .main-descirption {
    font-size: 11px;
    text-align: start;
    padding: 10px;
    margin-top: 0;
    padding-top: 0;
  }

  .logo-skill {
    height: 20px;
    margin-left: 4px;
    margin-right: 4px;
  }

  .img-br {
    display: block;
  }

  .project-view-container {
    gap: 12px;
    margin-bottom: 14px;
  }

  .linkedin-engagement {
    padding: 8px 13px;
    font-size: 11px;
    border-radius: 40px;
    font-weight: 600;
    text-align: center;
  }

  .githun-repo {
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 40px;
  }

  .dashboard-icon1 {
    font-size: 14px;
    padding: 8px 8px;
    margin-right: 5px;
  }

  .dashboard-icon2 {
    font-size: 14px;
    padding: 8px 8px;
    margin-right: 5px;
  }

  .project-details-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
  }

  .presentation-container h1,
  .details-content h1 {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .details-content {
    max-width: 98%;
    padding: 0;
    margin: 0;
  }

  .details-content h3 {
    font-size: 16px;
  }

  .details-content p {
    font-size: 12px;
    margin-bottom: 16px;
    font-weight: 300;
  }

  .presentation-container {
    width: 100%;
  }

  .video-frame {
    width: 100%;
    height: 250px;
  }

  .frame-rate {
    height: 250px;
  }

  /* Contact section */

  #contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
    margin-top: 50px;
    width: 100%;
  }

  .social-media-icons {
    gap: 12px;
    margin-left: 20px;
  }

  .linkedin-icon {
    font-size: 14px;
  }

  .contact-icon {
    font-size: 14px;
  }

  /* FOOTER SECTION */

  .footer {
    padding: 1rem 1%;
  }

  .footer-container {
    display: none;
  }

  .footer h2 {
    font-size: 14px;
    text-align: center;
    margin-left: 70px;
  }
}
