/* Import Fonts */
@import url("https://fonts.googleapis.com/css2?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&display=swap");

/* Variables */
:root {
  --primary-color: rgb(0, 233, 250);
  --secondary-color: rgba(134, 134, 134, 0.226);
  --background-color: rgb(28, 33, 37);
  --text-color: rgb(255, 255, 255);
  --border-color: rgba(109, 107, 107, 0.459);
  --shadow-color: rgba(0, 233, 250, 0.5);
}

/* Base Styles */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  overflow-y: hidden;
}

::selection {
  background: var(--primary-color);
  color: var(--background-color);
}

section {
  min-height: 100vh;
  padding: 10rem 10% 2rem;
}

span {
  color: var(--primary-color);
}

/* Common Animations */
@keyframes floatImage {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2.4rem);
  }
  100% {
    transform: translateY(0);
  }
}

/* Button Styles */
.button {
  display: inline-block;
  padding: 1rem 2.8rem;
  background: none;
  color: var(--primary-color);
  border-radius: 4rem;
  border: solid 0.2rem var(--primary-color);
  font-size: 1.7rem;
  letter-spacing: 0.1rem;
  transition: 0.5s ease;
}

.button:hover {
  box-shadow: 0 0 1rem var(--primary-color);
}

.btn-i:hover,
.btn-i:focus {
  box-shadow: 0 0.5em 0.5em -0.4em var(--hover);
  transform: translateY(-0.5em);
}

/* Custom Scroll Bar */
::-webkit-scrollbar {
  width: 1rem;
}

::-webkit-scrollbar-track {
  background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 1.2rem;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loader {
  width: 40px;
  aspect-ratio: 1;
  position: relative;
}

.loader:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  --c: #0000, var(--primary-color) 1deg 120deg, #0000 121deg;
  background: conic-gradient(from 0deg, var(--c)) top right,
    conic-gradient(from 120deg, var(--c)) bottom,
    conic-gradient(from 240deg, var(--c)) top left;
  background-size: 40px 40px;
  background-repeat: no-repeat;
  animation: l25 2s infinite cubic-bezier(0.3, 1, 0, 1);
}

@keyframes l25 {
  33% {
    inset: -8px;
    transform: rotate(0deg);
  }
  66% {
    inset: -8px;
    transform: rotate(180deg);
  }
  100% {
    inset: 0;
    transform: rotate(180deg);
  }
}

/* Header Section */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 9%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--primary-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.logo {
  font-size: 3.5rem;
  color: var(--text-color);
  font-weight: 500;
  margin: 0 0.5rem;
  cursor: pointer;
}

.navbar a {
  font-size: 2rem;
  color: var(--text-color);
  margin-left: 4rem;
  transition: 0.3s;
  text-transform: capitalize;
}

.navbar a:hover,
.navbar a.active {
  color: var(--primary-color);
}

#menu-icon {
  font-size: 4rem;
  color: var(--primary-color);
  display: none;
}

/* Home Section */
.home {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem;
}

.home-img img {
  width: 30vw;
  animation: floatImage 4s ease-in-out infinite;
}

.home-content h3 {
  font-size: 3rem;
  font-weight: 500;
}

.home-content h3:nth-of-type(2) {
  margin-bottom: 1rem;
}

.home-content h1 {
  font-size: 5rem;
  font-weight: 600;
  line-height: 1.3;
}

.home-content p {
  font-size: 2rem;
  margin-right: 10rem;
}

.social-media a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 5rem;
  height: 5rem;
  background: transparent;
  border: 0.2rem solid var(--primary-color);
  border-radius: 50%;
  font-size: 3rem;
  color: var(--primary-color);
  margin: 3rem 1rem 3rem 0;
  transition: 0.5s ease;
}

.social-media a:hover {
  background-color: var(--primary-color);
  color: rgb(0, 0, 0);
  box-shadow: 0 0 1rem var(--primary-color);
}

.cta-buttons {
  display: flex;
  justify-content: left;
  align-items: left;
  gap: 1rem;
}

/* About Section */
.about {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: var(--secondary-color);
}

.about-img img {
  width: 35vw;
  animation: floatImage 4s ease-in-out infinite;
}

.heading {
  text-align: center;
  font-size: 4rem;
}

.about-content h2 {
  text-align: left;
  line-height: 1.5;
}

.about-content h3 {
  font-size: 2.5rem;
}

.about-content p {
  font-size: 2rem;
  margin: 1rem 0 3rem;
}

.about-cta {
  display: flex;
  justify-content: left;
  align-items: left;
  gap: 1rem;
}

/* About Section Skills */
.skills-list {
  margin: 0.5rem 0;
  padding: 0;
  list-style: none;
}

.skills-list li {
  position: relative;
  padding-left: 2.5rem;
  font-size: 2rem;
  line-height: 1.6;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.skills-list li:hover {
  transform: translateX(5px);
}

.skills-list i.bx-check {
  position: absolute;
  left: 0;
  top: 0.3rem;
  color: var(--primary-color);
  font-size: 2rem;
}

.skills-list strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Services Section */
.services {
  padding: 8rem 0;
  background: var(--bg-color);
}

.services h2 {
  margin-bottom: 6rem;
  text-align: center;
  position: relative;
}

.services h2::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 8rem;
  height: 0.4rem;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  border-radius: 2rem;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 3rem;
  padding: 0 5%;
}

.services-box {
  background: var(--secondary-color);
  padding: 4rem 3rem;
  border-radius: 2rem;
  border: 0.2rem solid rgba(109, 107, 107, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.services-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 225, 255, 0.1), transparent);
  z-index: -1;
  opacity: 0;
  transition: all 0.5s ease;
}

.services-box:hover {
  border-color: var(--primary-color);
  transform: translateY(-1rem);
  box-shadow: 0 1rem 3rem rgba(0, 225, 255, 0.2);
}

.services-box:hover::before {
  opacity: 1;
}

.services-box i {
  font-size: 5.5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.services-box:hover i {
  transform: scale(1.1);
  text-shadow: 0 0 2rem rgba(0, 225, 255, 0.6);
}

.services-box h3 {
  font-size: 2.4rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.services-box h3::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 4rem;
  height: 0.3rem;
  background: var(--primary-color);
  border-radius: 1rem;
  transition: width 0.3s ease;
}

.services-box:hover h3::after {
  width: 100%;
}

.services-box p {
  font-size: 1.6rem;
  color: var(--text-color);
  margin: 1.5rem 0 3rem;
  line-height: 1.6;
}

.services-box .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: rgba(0, 225, 255, 0.1);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.services-box .btn:hover {
  background: var(--primary-color);
  color: #111;
  transform: translateX(0.5rem);
}

.services-box .btn i {
  font-size: 1.8rem;
  margin: 0;
  transition: transform 0.3s ease;
}

.services-box .btn:hover i {
  transform: translateX(0.5rem);
}

/* Experience Section */
.experience {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 0 9%;
  background-color: var(--secondary-color);
}

.experience h2 {
  text-align: center;
  margin: 6rem 0 4rem 0;
  font-weight: bold;
}

.experience .experience-row {
  display: flex;
  column-gap: 64px;
  flex-wrap: wrap;
}

.experience-row .experience-column {
  flex: 1 1 320px;
}

.experience-column .title {
  position: relative;
  display: inline-block;
  font-size: 28px;
  margin: 32px 0 16px 30px;
  font-weight: bold;
}

.experience-column .experience-box {
  position: relative;
  border-left: 2px solid var(--primary-color);
}

.experience-box .experience-content {
  position: relative;
  padding-left: 27px;
}

.experience-box .experience-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10.5px;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
}

.experience-content .content {
  padding: 24px;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  margin-bottom: 32px;
}

.experience-content .content .year {
  font-size: 16px;
  color: var(--primary-color);
}

.experience-content .content .year i {
  margin-right: 8px;
}

.experience-content .content h3 {
  font-size: 19px;
  margin: 8px 0;
}

.experience-content .content p {
  font-size: 16px;
}

/* Skills Section */
.skills-heading {
  font-size: 3.5rem;
  position: relative;
  display: inline-block;
  margin: 5rem 0 3rem;
  color: var(--text-color);
}

.skills-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.8rem;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00e1ff, transparent);
  border-radius: 2px;
}

.skills-container {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.technical-skills,
.professional-skills {
  width: 100%;
}

.professional-skills {
  margin-top: 2rem;
}

.skills-subheading {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-color);
  position: relative;
  display: inline-block;
}

.skills-subheading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #00e1ff, transparent);
}

.skill {
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.skill-name {
  display: flex;
  align-items: center;
  min-width: 16rem;
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.skill:hover .skill-name {
  transform: translateX(10px);
}

.skill-name i {
  color: #00e1ff;
  font-size: 2.4rem;
  margin-right: 1.5rem;
  transition: all 0.3s ease;
}

.skill:hover .skill-name i {
  transform: scale(1.1);
}

.skill-bar {
  flex: 1;
  min-width: 50%;
  height: 1rem;
  background-color: #1a2a3a;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.skill-per {
  height: 100%;
  background: linear-gradient(90deg, #00e1ff, #00a1ba);
  position: relative;
  border-radius: 1rem;
  transition: width 1.5s cubic-bezier(0.17, 0.67, 0.12, 1.01);
}

.skill-per::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0)
  );
}

.skill-percentage {
  margin-left: 2rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  min-width: 5rem;
  text-align: right;
  transition: all 0.3s ease;
}

.skill:hover .skill-percentage {
  color: #00e1ff;
}

/* Project Section */
.project {
  background-color: var(--secondary-color);
  padding: 8rem 0;
}

.project h2 {
  margin-bottom: 6rem;
  text-align: center;
}

.project-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(40rem, 1fr));
  gap: 3rem;
  padding: 0 5%;
}

.project-box {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--secondary-color);
}

.project-box:hover {
  transform: translateY(-1rem) scale(1.02);
  box-shadow: 0 2rem 5rem rgba(0, 225, 255, 0.3);
}

.project-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 25rem;
}

.project-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.project-box:hover img {
  transform: scale(1.1);
  filter: brightness(0.7);
}

.project-tech-tags {
  position: absolute;
  top: 2rem;
  right: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem;
  z-index: 2;
}

.project-tech-tags span {
  background: rgba(0, 225, 255, 0.2);
  backdrop-filter: blur(5px);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  border: 1px solid rgba(0, 225, 255, 0.4);
}

.project-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  transform: translateY(100%);
  transition: all 0.5s ease;
  opacity: 0;
}

.project-box:hover .project-layer {
  transform: translateY(0);
  opacity: 1;
}

.project-layer h4 {
  font-size: 2.5rem;
  color: var(--main-color);
  margin-bottom: 1rem;
  text-shadow: 0 0 1rem rgba(0, 225, 255, 0.5);
}

.project-layer p {
  font-size: 1.6rem;
  color: #eee;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.project-links {
  display: flex;
  gap: 1.5rem;
}

.project-layer a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 5rem;
  height: 5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 225, 255, 0.3);
}

.project-layer a:hover {
  background: var(--main-color);
  transform: translateY(-0.5rem);
}

.project-layer a i {
  font-size: 2.2rem;
  color: white;
}

.project-button {
  display: flex;
  justify-content: center;
  margin-top: 6rem;
}

/* Certification Section */
.certification-description {
  max-width: 70rem;
  margin: 1rem auto;
  color: rgba(255, 255, 255, 0.75);
  font-size: 2rem;
  text-align: center;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(45rem, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.certificate-card {
  position: relative;
  height: 35rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.25), 0 0 1rem var(--shadow-color);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  background: #121212;
}

.certificate-card:hover {
  transform: translateY(-1rem) scale(1.03);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.35), 0 0 1.5rem var(--shadow-color);
}

.certificate-card:hover .certificate-image {
  transform: scale(1.08);
  filter: brightness(0.6) blur(0.2rem);
}

.certificate-card:hover .certificate-overlay,
.certificate-card:hover .certificate-details {
  opacity: 1;
}

.certificate-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  border-radius: 1rem;
}

.certificate-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.2) 100%
  );
  opacity: 0.75;
  transition: opacity 0.3s ease;
  border-radius: 1rem;
}

.certificate-details {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.certificate-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.certificate-issuer {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.issuer-logo {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  margin-right: 1rem;
  background-color: white;
  padding: 0.3rem;
}

.certificate-date {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
}

/* Contact Section */
.contact {
  background-color: var(--secondary-color);
}

.contact h2 {
  margin-bottom: 3rem;
}

.contact form {
  max-width: 80rem;
  margin: 1rem auto 3rem;
  text-align: center;
}

.contact form .input-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 0 1rem 0;
}

.contact form .input-box input,
.contact form textarea {
  width: 100%;
  padding: 1.5rem;
  font-size: 2rem;
  color: var(--text-color);
  background: var(--secondary-color);
  border-radius: 0.8rem;
  margin: 0.7rem 0;
}

.contact form .input-box input {
  margin: 0 0 1rem 0;
}

.contact form textarea {
  resize: none;
}

.contact form .btn {
  margin-top: 2rem;
  cursor: pointer;
}

.contact form .field {
  border: 0.2rem solid var(--shadow-color);
  outline: none;
  transition: 0.3s;
}

.contact form .field:hover,
.contact form .field:focus {
  box-shadow: 0 0.5em 0.5em -0.4em var(--primary-color);
  transform: translateY(-0.5em);
}

/* Sweet Alert Styles */
.custom-swal {
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  box-shadow: 0 4px 20px var(--primary-color);
  background-color: #333;
  color: #ffffff;
}

.custom-swal h2,
.custom-swal p {
  color: #ffffff;
}

.popup {
  padding: 2rem;
  background-color: #333;
  font-size: 1.5rem;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0px 0px 20px var(--primary-color);
}

.swal2-icon.swal2-success {
  border-color: var(--primary-color);
}

.swal2-success-ring {
  border-color: var(--primary-color);
}

.swal2-icon.swal2-success [class*="line"] {
  background-color: var(--primary-color);
}

.title {
  color: var(--primary-color);
  font-size: 22px;
  font-weight: bold;
}

.content {
  color: #fff;
  font-size: 19px;
}

.confirm-button {
  background-color: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
  color: #000;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  transition: 0.5s ease;
}

.confirm-button:hover {
  box-shadow: none;
}

.popup-error {
  padding: 2rem;
  background-color: #333;
  font-size: 1.5rem;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0px 0px 20px var(--primary-color);
}

.title-error {
  color: #dc3545;
  font-size: 22px;
  font-weight: bold;
}

.content-error {
  color: #ffffff;
  font-size: 18px;
}

.confirm-button-error {
  background-color: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
  color: white;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  transition: 0.5s ease;
}

.confirm-button-error:hover {
  box-shadow: none;
}

/* Footer Section */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem 9%;
}

.footer-text p {
  font-size: 2rem;
}

/* Scroll Up */
.scrollup {
  position: fixed;
  right: 2rem;
  bottom: -50%;
  padding: 0.1rem 0.5rem;
  background: transparent;
  box-shadow: 0 0 1rem var(--primary-color);
  transition: 0.3s;
  font-size: 3rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 50%;
  z-index: 10;
  transition: bottom 0.4s, transform 0.4s;
}

.scrollup i {
  color: var(--primary-color);
  font-size: 3rem;
}

.scrollup:hover {
  transform: translateY(-0.9rem);
}

.show-scroll {
  bottom: 8rem;
}

/* Media Queries */
@media (max-width: 1200px) {
  html {
    font-size: 50%;
  }
}

@media (max-width: 991px) {
  .header {
    padding: 2rem 3%;
  }

  section {
    padding: 10rem 3% 2rem;
  }

  .services,
  .project {
    padding-bottom: 7rem;
  }

  .contact {
    min-height: auto;
  }

  .footer {
    padding: 2rem 3%;
  }
}

@media (max-width: 768px) {
  #menu-icon {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 3%;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    display: none;
  }

  .navbar.active {
    display: block;
  }

  .navbar a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0.5rem;
    margin: 1rem 0;
    font-size: 1.9rem;
    border-radius: 0.8rem;
    background: var(--background-color);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    border-bottom: 2px solid var(--primary-color);
    transition: 0.3s;
  }

  .navbar a:hover {
    background: var(--primary-color);
    color: var(--background-color);
    font-size: 2rem;
  }

  .home {
    flex-direction: column;
  }

  .home h3 {
    font-size: 2.6rem;
  }

  .home-content h1 {
    font-size: 5rem;
  }

  .home-img img {
    width: 70vw;
    margin-top: 4rem;
  }

  .about {
    flex-direction: column-reverse;
  }

  .about img {
    width: 70vw;
    margin-top: 4rem;
  }

  .services h2,
  .project h2 {
    margin-bottom: 3rem;
  }

  .project-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .skills-list li {
    font-size: 1rem;
    padding-left: 2rem;
  }

  .skills-list i.bx-check {
    font-size: 1.1rem;
    top: 0.2rem;
  }

  .skill {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .skill-bar {
    width: 100%;
    min-width: 100%;
  }

  .skill-percentage {
    margin-left: 0;
    margin-top: 0.5rem;
    align-self: flex-end;
  }

  .skills-subheading {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .skill-name {
    min-width: 12rem;
    font-size: 1.8rem;
  }

  .skill-name i {
    font-size: 2rem;
  }

  .skill-percentage {
    font-size: 1.6rem;
  }

  .certificate-grid {
    grid-template-columns: 1fr;
  }

  .certificate-card {
    height: 26rem;
  }
}

@media (max-width: 450px) {
  .contact form .input-box input {
    width: 100%;
  }
}

@media (max-width: 365px) {
  .home-content h1 {
    font-size: 4rem;
  }

  .home h3 {
    font-size: 2rem;
  }

  .home-content p {
    font-size: 1.6rem;
    margin-right: 0;
  }

  .home-img img,
  .about-img img {
    width: 80vw;
  }

  .footer {
    flex-direction: column;
  }

  .footer p {
    text-align: center;
    margin-top: 2rem;
  }
}
