/* Google Font CDN Link */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}

/* Custom Scroll Bar CSS */
::-webkit-scrollbar {
  display: none;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #6e93f7;
  border-radius: 12px;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #4070f4;
}

/* Navbar styling */
nav {
  width: 100%;
  background: #fff;
  padding: 10px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

nav.sticky {
  /* background: rgba(14, 36, 49, 0.9); */
  background: #4070f4;
  padding: 13px 0;
}

nav .navbar {
  max-width: 1300px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  padding: 0 20px;
}

.navbar .logo a {
  font-weight: 500;
  font-size: 35px;
  color: #4070f4;
  text-decoration: none;
}

nav.sticky .navbar .logo a {
  color: #fff;
}

nav .navbar .menu {
  display: flex;
  position: relative;
}

nav .navbar .menu li {
  list-style: none;
  margin: 0 8px;
}

.navbar .menu a {
  font-size: 18px;
  font-weight: 500;
  color: #0e2431;
  padding: 6px 0;
  transition: all 0.4s ease;
}

.navbar .menu a:hover {
  color: #4070f4;
}

nav.sticky .menu a {
  color: #fff;
}

nav.sticky .menu a:hover {
  color: #037dc3;
}

.navbar .media-icons a {
  color: #4070f4;
  font-size: 18px;
  margin: 0 6px;
}

nav.sticky .media-icons a {
  color: #fff;
}

/* Side Navigation Menu Button CSS */
nav .menu-btn,
.navbar .menu .cancel-btn {
  position: relative;
  color: #4070f4;
  font-size: 24px;
  cursor: pointer;
  display: none;
}
.cancel-btn {
  display: none;
  color: #fff;
  font-size: 25px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 0.3s ease;
}
/* .side-menu.active .cancel-btn {
  display: block;
} */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  transition: right 0.3s ease; /* Smooth transition */
  z-index: 1000;
}

.side-menu.active {
  right: 0;
}

.side-menu .cancel-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 25px;
  cursor: pointer;
}

.side-menu .menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

nav .menu-btn {
  display: none;
  color: #4070f4;
}

nav.sticky .menu-btn {
  color: #fff;
}

.navbar.active .menu-btn {
  display: none;
}

.navbar .menu .cancel-btn {
  display: none;
}
.navbar.active .cancel-btn {
  display: block;
}

@media (max-width: 768px) {
  nav .navbar .menu,
  nav .navbar .menu .cancel-btn {
    display: none;
    flex-direction: column;
    background: #fff;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: all 0.3s ease;
  }

  nav .navbar .menu.active {
    display: flex;
  }

  nav .menu-btn {
    display: block;
  }

  nav .navbar .menu li {
    margin: 20px 0;
  }

  .navbar .menu a {
    color: #4070f4;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
  }

  nav.sticky .navbar .menu a {
    color: #4070f4;
  }
}

/* Home section styling */
.home {
  height: 100vh;
  width: 100%;
  background: url("assets/background.png") no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: "Ubuntu", sans-serif;
  overflow: hidden;
  position: relative; /* Ensure relative positioning */
  margin: 0; /* Remove any margin */
}

.home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Dark overlay */
  z-index: 1;
}

.home .home-content {
  position: relative;
  z-index: 2;
  width: 90%;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.home .text-one {
  font-size: 50px;
  color: #f0f4f6;
}

.home .text-two {
  color: #f2f6f8;
  font-size: 55px;
  font-weight: 600;
  margin-left: -3px;
}

.home .text-three {
  font-size: 30px;
  margin: 5px 0;
  color: #dfebf1;
}

.home .button {
  margin: 14px 0;
}

.home .button button {
  outline: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 25px;
  font-weight: 400;
  background: #4070f4;
  color: #fff;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.4s ease;
}

.home .button button:hover {
  border-color: #4070f4;
  background-color: #fff;
  color: #4070f4;
}

.home img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  filter: brightness(0.9) contrast(1.1);
}
.home .image-container {
  position: relative;
  width: 100%;
  max-width: 500px; /* Adjust the max width as needed */
}

/* About Section Styling */
/* Those Elements Where We Have Apply Same CSS,
 I'm Selecting Directly 'Section Tag' and 'Class'  */
section {
  padding-top: 40px;
  margin: 0;
}

section .content {
  width: 80%;
  margin: 40px auto;
  font-family: "Poppins", sans-serif;
}

.about .about-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

section .title {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

section .title span {
  color: #0e2431;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}

section .title span::before,
section .title span::after {
  content: "";
  position: absolute;
  height: 3px;
  width: 100%;
  background: #4070f4;
  left: 0;
  bottom: 0;
}

section .title span::after {
  bottom: -7px;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
}

.about .about-details .left {
  width: 45%;
}

.about .left img {
  height: 400px;
  width: 400px;
  object-fit: cover;
  border-radius: 12px;
}

.about-details .right {
  width: 55%;
}

section .topic {
  color: #0e2431;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
}

.about-details .right p {
  text-align: justify;
  color: #0e2431;
}

section .button {
  margin: 16px 0;
}

section .button button {
  outline: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 25px;
  font-weight: 400;
  background: #4070f4;
  color: #fff;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.4s ease;
}

section .button button:hover {
  border-color: #4070f4;
  background-color: #fff;
  color: #4070f4;
}

/* Skills Section Styling */
.skills {
  background: #f0f8ff;
}

.skills .content {
  padding: 40px 0;
}

.skills .skills-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skills-details .text {
  width: 50%;
}

.skills-details p {
  color: #0e2431;
  text-align: justify;
}

.skills .skills-details .experience {
  display: flex;
  align-items: center;
  margin: 0 10px;
}

.skills-details .experience .num {
  color: #0e2431;
  font-size: 80px;
}

.skills-details .experience .exp {
  color: #0e2431;
  margin-left: 20px;
  font-size: 18px;
  font-weight: 500;
  margin: 0 6px;
}

.skills-details .boxes {
  width: 45%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.skills-details .box {
  width: calc(100% / 2 - 20px);
  margin: 20px 0;
}

.skills-details .boxes .topic {
  font-size: 20px;
  color: #0e2431;
  margin-top: 10px;
  font-weight: 500;
}

/* Skills Section Hover Effect */
.skills .box {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.skills .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.skills .box:hover .topic {
  color: #4070f4;
}
/* My Services CSS */
.services .boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.services .boxes .box {
  margin: 20px 0;
  width: calc(100% / 3 - 20px);
  text-align: center;
  border-radius: 12px;
  padding: 30px 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: all 0.4s ease;
}

.services .boxes .box:hover {
  background: #4070f4;
  color: #fff;
}

.services .boxes .box .icon {
  height: 50px;
  width: 50px;
  background: #4070f4;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  color: #fff;
  margin: 0 auto 10px auto;
  transition: all 0.4s ease;
}

.boxes .box:hover .icon {
  background-color: #fff;
  color: #4070f4;
}

.services .boxes .box:hover .topic,
.services .boxes .box:hover p {
  color: #fff;
}

/* Contact Me CSS */
.contact {
  background: #f0f8ff;
}

.contact .content {
  margin: 0 auto;
  padding: 30px 0;
}

.contact .text {
  width: 80%;
  text-align: center;
  margin: auto;
}

/* Footer CSS */
footer {
  background: #4070f4;
  padding: 15px 0;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

footer .text span {
  font-size: 17px;
  font-weight: 400;
  color: #fff;
}

footer .text span a {
  font-weight: 500;
  color: #fff;
}

footer .text span a:hover {
  text-decoration: underline;
}

/* Scroll TO Top Button CSS */
.scroll-button a {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #fff;
  background: #4070f4;
  padding: 7px 12px;
  font-size: 18px;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.15);
  display: none;
}

/* Responsive Media Query */
@media (max-width: 1190px) {
  section .content {
    width: 85%;
  }
}

@media (max-width: 1000px) {
  .about .about-details {
    justify-content: center;
    flex-direction: column;
  }

  .about .about-details .left {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .about-details .right {
    width: 90%;
    margin: 40px 0;
  }

  .services .boxes .box {
    margin: 20px 0;
    width: calc(100% / 2 - 20px);
  }
}

@media (max-width: 900px) {
  .about .left img {
    height: 350px;
    width: 350px;
  }
}

@media (max-width: 750px) {
  nav .navbar {
    width: 90%;
  }

  nav .navbar .menu {
    position: fixed;
    left: -100%;
    top: 0;
    background: #0e2431;
    height: 100vh;
    max-width: 400px;
    width: 100%;
    padding-top: 60px;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
  }

  .navbar.active .menu {
    left: 0;
  }

  nav .navbar .menu a {
    font-size: 23px;
    display: block;
    color: #fff;
    margin: 10px 0;
  }

  nav.sticky .menu a:hover {
    color: #4070f4;
  }

  nav .navbar .media-icons {
    display: none;
  }

  nav .menu-btn,
  .navbar .menu .cancel-btn {
    display: block;
  }

  .home .text-two {
    font-size: 65px;
  }

  .home .text-three {
    font-size: 35px;
  }

  .skills .skills-details {
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .skills-details .text {
    width: 100%;
    margin-bottom: 50px;
  }

  .skills-details .boxes {
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .services .boxes .box {
    margin: 20px 0;
    width: 100%;
  }

  .contact .text {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .home .text-two {
    font-size: 55px;
  }

  .home .text-three {
    font-size: 33px;
  }

  .skills-details .boxes .per {
    font-size: 50px;
    color: #4070f4;
  }
}

/* Reset some default styles */
body,
h1,
h2,
h3,
p {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #f8f8f8;
  color: #333;
  line-height: 1.6;
}

/* Global styles */
.container {
  width: 100%;
  max-width: 1200px; /* Adjust max-width as needed */
  margin: 0 auto; /* Center align the container */
  padding: 0 20px; /* Add some padding to the container */
}

/* Navigation styles */
nav {
  background-color: #292b2c;
  padding: 1em 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  color: #fff;
  font-size: 1.5em;
  text-decoration: none;
  font-weight: bold;
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu li {
  margin: 0 15px;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease-in-out;
}

.menu a:hover {
  color: #ffc107;
}
/* 
.social-icons a {
  color: #fff;
  margin-left: 20px;
  font-size: 1.2em;
  text-decoration: none;
} */

/* Add the new improved Projects Section Styles */

/* Projects Section Styling */
.projects .container {
  padding: 50px 0;
  background: #f0f4f6;
}

.projects .container .title {
  text-align: center;
  margin-bottom: 30px;
}

.projects .container .title span {
  font-size: 35px;
  font-weight: 600;
  color: #0e2431;
}

.projects .container .project-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.projects .container .project-boxes .project-box {
  width: calc(33% - 10px);
  padding: 20px;
  background: #34495e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  margin-bottom: 15px;
  transition: all 0.4s ease;
}

.projects .container .project-boxes .project-box:hover {
  background: #4070f4;
}

.projects .container .project-boxes .project-box i {
  font-size: 40px;
  color: #4070f4;
  transition: all 0.4s ease;
}

.projects .container .project-boxes .project-box:hover i {
  color: #fff;
}

.projects .container .project-boxes .project-box .topic {
  font-size: 20px;
  font-weight: 500;
  color: #0e2431;
  margin-top: 10px;
  transition: all 0.4s ease;
}

.projects .container .project-boxes .project-box:hover .topic {
  color: #fff;
}
/* Change the color of the "text-four" class */
.text-four {
  color: #ff5733;
}
.skills .boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.box {
  text-align: center;
  padding: 20px;
  background-color: #34495e;
  border-radius: 10px;
  transition: transform 0.5s ease-in-out, background-color 0.3s ease-in-out;
}

.box:hover {
  transform: scale(1.1);
  background-color: #3498db;
}

.box i {
  font-size: 3em;
  margin-bottom: 15px;
  color: #fff;
}

.box .topic {
  color: #fff;
  font-weight: bold;
  font-size: 1.1em;
}

.menu li a {
  transition: color 0.3s ease-in-out;
}

.menu li a:hover {
  color: #ff6f61; /* Change to your desired hover color */
}

.about,
.skills,
.projects,
.contact {
  background: rgba(255, 255, 255, 0.9);
  padding: 50px 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.button button {
  padding: 10px 20px;
  background-color: #ff6f61;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.button button:hover {
  background-color: #e45748;
}

.hidden {
  display: none;
}
@media (max-width: 768px) {
  nav .navbar .menu,
  nav .navbar .menu .cancel-btn {
    display: none;
    flex-direction: column;
    background: #fff;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: all 0.3s ease;
  }

  nav .navbar .menu.active {
    display: flex;
  }

  nav .menu-btn {
    display: block;
  }

  nav .navbar .menu li {
    margin: 20px 0;
  }

  .navbar .menu a {
    color: #4070f4;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
  }

  nav.sticky .navbar .menu a {
    color: #4070f4;
  }
}
@media (max-width: 500px) {
  .home .text-two {
    font-size: 55px;
  }

  .home .text-three {
    font-size: 33px;
  }

  .skills-details .boxes .per {
    font-size: 50px;
    color: #4070f4;
  }
}

/* Reset some default styles */
body,
h1,
h2,
h3,
p {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #f8f8f8;
  color: #333;
  line-height: 1.6;
}

/* Global styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Navigation styles */
nav {
  background-color: #292b2c;
  padding: 1em 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  color: #fff;
  font-size: 1.5em;
  text-decoration: none;
  font-weight: bold;
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu li {
  margin: 0 15px;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease-in-out;
}

.menu a:hover {
  color: #ffc107;
}

/* Social Icons Styles */
.social-icons {
  display: flex;
  gap: 15px; /* Adjust the gap between icons as needed */
}

.social-icons a {
  display: inline-block;
  color: #333;
  font-size: 24px;
  transition: color 0.3s, transform 0.3s; /* Smooth transition for color and transform */
}

.social-icons a:hover {
  color: #4070f4; /* Change to your desired hover color */
  transform: scale(1.2); /* Slightly scale up the icon on hover */
}

.social-icons a:focus {
  outline: none; /* Remove default focus outline */
  color: #4070f4; /* Same hover color on focus */
  transform: scale(1.2); /* Same scaling on focus */
}
.projects {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 100px 0;
  text-align: center;
}

.project-boxes {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.project-box {
  text-align: center;
  padding: 20px;
  background-color: #34495e;
  border-radius: 10px;
  margin: 15px;
  transition: transform 0.5s ease-in-out;
}

.project-box:hover {
  transform: scale(1.1);
}

.project-box i {
  font-size: 3em;
  margin-bottom: 15px;
  color: #3498db;
}

.text-four {
  color: #ff5733;
}
.skills .boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.box {
  text-align: center;
  padding: 20px;
  background-color: #34495e;
  border-radius: 10px;
  transition: transform 0.5s ease-in-out, background-color 0.3s ease-in-out;
}

.box:hover {
  transform: scale(1.1);
  background-color: #3498db;
}

.box i {
  font-size: 3em;
  margin-bottom: 15px;
  color: #fff;
}

.box .topic {
  color: #fff;
  font-weight: bold;
  font-size: 1.1em;
}

.menu li a {
  transition: color 0.3s ease-in-out;
}

.menu li a:hover {
  color: #ff6f61; /* Change to your desired hover color */
}

.about,
.skills,
.projects,
.contact {
  background: rgba(255, 255, 255, 0.9);
  padding: 50px 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.button button {
  padding: 10px 20px;
  background-color: #ff6f61;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.button button:hover {
  background-color: #e45748;
}

.hidden {
  display: none;
}
@media (max-width: 768px) {
  nav .navbar .menu,
  nav .navbar .menu .cancel-btn {
    display: none;
    flex-direction: column;
    background: #fff;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: all 0.3s ease;
  }

  nav .navbar .menu.active {
    display: flex;
  }

  nav .menu-btn {
    display: block;
  }

  nav .navbar .menu li {
    margin: 20px 0;
  }

  .navbar .menu a {
    color: #4070f4;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
  }

  nav.sticky .navbar .menu a {
    color: #4070f4;
  }
}

@media (max-width: 768px) {
  nav .navbar .menu,
  nav .navbar .menu .cancel-btn {
    display: none;
    flex-direction: column;
    background: #fff;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: all 0.3s ease;
  }

  nav .navbar .menu.active {
    display: flex;
  }

  nav .menu-btn {
    display: block;
  }

  nav .navbar .menu li {
    margin: 20px 0;
  }

  .navbar .menu a {
    color: #4070f4;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
  }

  nav.sticky .navbar .menu a {
    color: #4070f4;
  }
}
.side-menu {
  position: fixed;
  top: 0;
  left: -100%; /* Initially hidden off the screen */
  width: 250px;
  height: 100%;
  background: #111;
  transition: left 0.3s ease;
  z-index: 1000;
  opacity: 0.7; /* Adjust opacity as needed */
  overflow-y: auto;
}
.show-side-menu {
  left: 0; /* Slide in from the left when shown */
}

.side-menu.show-side-menu {
  left: 0; /* Show the side menu when the show-side-menu class is added */
}

.side-menu ul.menu {
  list-style-type: none;
  padding: 20px 0;
  display: flex;
  margin: 0;
  flex-direction: column;
}

.side-menu ul.menu li {
  padding: 15px 20px;
  border-bottom: 1px solid #555;
  text-align: center; /* Align menu items to the center */
  transform: scale(0.8); /* Start with a smaller scale */
  animation: menuItemZoomIn 0.5s forwards ease-out; /* Zoom-in animation */
}

.side-menu ul.menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  display: block;
  transition: color 0.3s, transform 0.3s;
}

.side-menu ul.menu li a:hover {
  color: #4070f4; /* Change background color on hover */
  transform: translateX(10px); /* Change text color on hover */
}

.side-menu ul.menu li:last-child {
  border-bottom: none; /* Remove bottom border from the last menu item */
}
.side-menu ul.menu li:nth-child(1) {
  animation-delay: 0.1s;
}
.side-menu ul.menu li:nth-child(2) {
  animation-delay: 0.2s;
}
.side-menu ul.menu li:nth-child(3) {
  animation-delay: 0.3s;
}
.side-menu ul.menu li:nth-child(4) {
  animation-delay: 0.4s;
}
.side-menu ul.menu li:nth-child(5) {
  animation-delay: 0.5s;
}

/* CSS for animation when showing and hiding the side menu */
.menu {
  list-style: none;
  padding: 0;
}
.menu li {
  padding: 15px 0;
  text-align: center;
}
.menu li a {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
}

.menu-btn i {
  color: #333;
  font-size: 24px;
}

.container {
  position: relative;
  width: 80%;
  margin: auto;
}

.show-side-menu ul.menu li {
  opacity: 0;
  transform: translateX(-20px);
  animation: slideIn 0.3s forwards;
}

.menu-btn {
  cursor: pointer;
  display: none;
}

.menu-btn i {
  color: #333;
  font-size: 24px;
  transition: color 0.3s, transform 0.3s;
}

.menu-btn:hover i,
.menu-btn:focus i {
  color: #4070f4;
  transform: scale(1.2);
}
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
body.no-scroll {
  overflow: hidden;
}
@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .navbar .menu {
    display: none;
  }
}

@media (max-width: 768px) {
  .about .about-details {
    flex-direction: column;
    align-items: center;
  }

  .about .about-details .left,
  .about-details .right {
    width: 100%;
  }

  .about .left img {
    width: 100%;
    height: auto;
  }

  .skills .boxes {
    flex-wrap: wrap;
  }

  .skills .box {
    width: 48%;
    margin-bottom: 20px;
  }

  .projects .project-boxes {
    flex-wrap: wrap;
  }

  .projects .project-box {
    width: 48%;
    margin-bottom: 20px;
  }
}

/* Adjust font sizes and padding for better readability on mobile */
@media (max-width: 480px) {
  .home .text-one,
  .home .text-two,
  .home .text-three {
    font-size: 5vw;
  }

  .home .button button {
    font-size: 5vw;
  }

  .about-details .right p,
  .projects .project-box p {
    font-size: 4vw;
  }

  .title span {
    font-size: 6vw;
  }

  .navbar .menu a {
    font-size: 5vw;
  }
}
@media (max-width: 992px) {
  .skills .box {
    flex: 1 1 calc(33.333% - 20px); /* 3 boxes per row */
  }
}

@media (max-width: 768px) {
  .skills .box {
    flex: 1 1 calc(50% - 20px); /* 2 boxes per row */
  }
}

@media (max-width: 576px) {
  .skills .box {
    flex: 1 1 100%; /* 1 box per row */
  }
}
/* skill set size

/* Ensure images and containers scale correctly on smaller screens */
.skills .boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px; /* Add gap for spacing between boxes */
}

.skills .box {
  flex: 1 1 calc(25% - 20px); /* 4 boxes per row, adjust width based on gap */
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.skills .box:hover {
  transform: translateY(-10px);
}

.skills .box img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.skills .box h3 {
  font-size: 20px;
  color: #0e2431;
  margin-bottom: 10px;
}

.skills .box p {
  font-size: 16px;
  color: #6b7683;
}
/* Responsive adjustments for skill slots */
@media (max-width: 992px) {
  .skills .box {
    flex: 1 1 calc(33.333% - 20px); /* 3 boxes per row */
  }
}

@media (max-width: 768px) {
  .skills .box {
    flex: 1 1 calc(50% - 20px); /* 2 boxes per row */
  }
}

@media (max-width: 576px) {
  .skills .box {
    flex: 1 1 100%; /* 1 box per row */
  }
}

/* Ensure images and containers scale correctly on smaller screens */
.skills .boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px; /* Add gap for spacing between boxes */
}

.skills .box {
  flex: 1 1 calc(25% - 20px); /* 4 boxes per row, adjust width based on gap */
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.skills .box:hover {
  transform: translateY(-10px);
}

.skills .box img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.skills .box h3 {
  font-size: 20px;
  color: #0e2431;
  margin-bottom: 10px;
}

.skills .box p {
  font-size: 16px;
  color: #6b7683;
}

.skills .boxes .box {
  text-align: center;
  padding: 20px;
  background-color: #34495e;
  border-radius: 10px;
  transition: transform 0.5s ease-in-out, background-color 0.3s ease-in-out;
}

.skills .boxes .box:hover {
  transform: scale(1.1);
  background-color: #4070f4;
}

.skills .boxes .box i {
  font-size: 3em;
  margin-bottom: 15px;
  color: #fff;
}

.skills .boxes .box .topic {
  color: #fff;
  font-weight: bold;
  font-size: 1.1em;
}
