* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Poppins";
}
body {
  overflow-x: hidden;
  width: 100dvw;
  height: auto;
  background-color: #f0f0f6;
  min-height: 100dvh;
  display: flex;
  line-height: 1.6;
}

/* Left Sidebar */

.sidebar {
  position: sticky;
  top: 0;
  left: -100%;
  width: 250px;
  background-color: white;
  padding: 10px;
  height: 100vh;
  border-right: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  transition: left 0.3s ease-in-out;
  z-index: 1000;
}
.sidebar.active {
  left: 0;
}

.personalInfo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  width: 100%;
}
.personalInfo > img {
  width: 200px;
  margin: 0 auto;
  height: 200px;
}

.socialIcons {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
}
.socialIcons i {
  color: #ffb400;
  border: 2px solid #ffb400;
  font-size: 13px;
  transition: 0.5s;
  padding: 10px;
  border-radius: 50%;
}

.socialIcons i:hover{
    background-color: #ffb400;
    color: white;
}

.hamburger {
  position: fixed;
  top: 10px;
  left: 10px;
  font-size: 14px;
  background-color: #ffb400;
  color: white;
  padding: 10px;
  border-radius: 5px;
  z-index: 1100;
  cursor: pointer;
  display: none;
}

.hamburger i {
  pointer-events: none;
}

.moreInfo{
    display: flex;
    flex-direction: column;
    width: 100%;
    row-gap: 10px;
}
.moreInfo div{
    display: flex;
    width: 100%;
    justify-content: space-between;
    font-size: 14px;
}
.moreInfo div p:first-child{
    background-color: #ffb400;
    padding: 1px 3px;
}

@media (max-width: 768px) {

    .sidebar{
        position: fixed;
    }

  .hamburger {
    display: block;
  }

  .sidebar {
    width: 100%;
  }
}

/* Main Middle section */

.main-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.landing {
  padding: 30px 30px 0 30px;
  background-color: white;
  display: flex;
  justify-content: space-between;
}

.leftLanding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  row-gap: 20px;
}
.leftLanding h1 {
  font-size: 32px;
}
.leftLanding h1 span {
  color: #ffb400;
}
.leftLanding a {
  text-decoration: none;
  padding: 10px 20px;
  background-color: #ffb400;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.4s;
}
.leftLanding a:hover{
    scale: 1.06;
}

.rightLanding {
  height: 300px;
  width: auto;
}
.rightLanding img {
  height: 300px;
  width: 370px;
}

@media (max-width:1120px){
    .landing{
        flex-direction: column;
    }
}

@media (max-width:600px){
    .rightLanding img{
        width: 100%;
        height: 250px;
    }
}

#about {
  margin-top: 40px;
  padding: 0 30px;
}

.section-3 {
  width: 100%;
  padding: 40px 7%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.header3 {
  width: 100%;
  display: grid;
  margin-bottom: 20px;
  place-items: center;
  text-align: center;
  color: #333;
}
.header3 h2 {
  color: #333;
}
.header3 h2 span {
  color: #ffb400;
}

.skillbranchmain {
  display: flex;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 20px;
  row-gap: 10px;
  width: 100%;
}
.skillbranchmain div {
  height: 60px;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  background-color: #ebebeb;
}
.skillbranchmain div:hover {
  box-shadow: 0 5px 10px #3333334a;
  scale: 1.02;
}
.skillbranchmain img {
  height: 25px;
  width: 25px;
  margin: 3px;
  object-fit: scale-down;
}

.skillRight {
  display: flex;
  flex-basis: 55%;
  flex-direction: column;
  height: 80%;
  row-gap: 10px;
  justify-content: space-between;
}
.skillRight > div {
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 20px;
  transition: 1s;
  color: #333;
  row-gap: 20px;
}
.skillRight > div:hover {
  background-color: #f3b448be;
}
.skillRight > div > div {
  display: flex;
  align-items: flex-start;
  column-gap: 20px;
}

@media (max-width: 474px) {
  .skillLeft {
    width: 100%;
  }
}
@media (min-width: 475px) {
  .skillLeft {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .skill-main {
    left: 50px;
  }
  .skillbranchmain {
    flex-direction: row;
  }
}

#projects {
  margin-bottom: 50px;
}
#warningTag {
  color: red;
  font-size: 14px;
}

.projectsTitle {
  text-align: center;
  margin-bottom: 50px;
  max-width: 300px;
  margin: 0 auto;
}
.projectContainer {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.filter-buttons {
  margin-top: 20px;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 10px 20px;
  margin: 0 10px;
  border: none;
  border-radius: 20px;
  background-color: transparent;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.filter-btn:hover {
  color: #ffb400;
  background-color: transparent;
}

.filter-btn.active {
  color: #ffb400;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  height: 200px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

.project-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-info {
  opacity: 1;
}

.project-info h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.project-info p {
  font-size: 14px;
  margin-bottom: 20px;
}

.project-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  padding: 10px 15px;
  border: 1px solid #fff;
  border-radius: 5px;
  transition: background 0.3s;
}

.project-links a:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 768px) {
  .filter-btn {
    margin: 5px 0;
  }

  .gallery {
    grid-template-columns: 1fr;
  }
}

#education > h2 {
  color: black;
  padding-left: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
  position: relative;
}

#education > h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  position: absolute;
  background-color: #ffb400;
  margin: 10px auto 0;
  border-radius: 2px;
}

.educationTimeline {
  position: relative;
  padding-left: 40px;
}

.educationTimeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #ffb400;
  z-index: 1;
}

.educationItem {
  position: relative;
  margin-bottom: 40px;
}

.educationContent {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.educationContent:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.educationContent h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 8px;
}

.education-institution {
  font-size: 16px;
  font-weight: bold;
  color: #555;
  margin-bottom: 6px;
}

.education-duration {
  font-size: 14px;
  color: #888;
  margin-bottom: 12px;
}

.education-description, .educationContent>li {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .educationContent {
    margin-left: 0;
    padding-left: 40px;
  }

  .educationTimeline {
    padding-left: 20px;
  }
}

@media (max-width:600px){
    .main-content{
        padding: 10px;
    }
    .navbar{
        width: 15% !important;
    }
}


.tab-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  margin-top: 40px;
  margin-left: 30px;
}

.tab-button {
  padding: 5px;
  border: none;
  font-size: 1.2em;
  background: #eee;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
}

.tab-button.active {
  background-color: #ffb400;
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}


/* Right Navbar */

.navbar {
  position: sticky;
  top: 0;
  width: 10%;
  background-color: white;
  height: 100vh;
  border-left: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}

.navbar a {
  text-decoration: none;
  color: #767676;
  margin-bottom: 20px;
  font-size: 1rem;
  padding: 5px 10px;
  border-radius: 50%;
  background-color: #f0f0f6;
}
.navbar a:hover {
  background-color: #ffb400;
  color: #333;
}

/* Footer */

footer {
  width: 100%;
  background-color: #ffb400;
  padding: 10px 25px;
  color: white;
  font-size: 13px;
  text-align: center;
  margin-top: 40px;
}
