body {
  font-family: "Roboto", sans-serif;
  background-image: linear-gradient(
      135deg,
      transparent 0%,
      transparent 17%,
      rgba(87, 146, 234, 0.6) 17%,
      rgba(87, 146, 234, 0.6) 59%,
      transparent 59%,
      transparent 64%,
      rgba(34, 81, 222, 0.6) 64%,
      rgba(34, 81, 222, 0.6) 100%
    ),
    linear-gradient(
      45deg,
      transparent 0%,
      transparent 2%,
      rgb(87, 146, 234) 2%,
      rgb(87, 146, 234) 46%,
      rgb(114, 178, 239) 46%,
      rgb(114, 178, 239) 54%,
      transparent 54%,
      transparent 63%,
      rgb(7, 48, 216) 63%,
      rgb(7, 48, 216) 100%
    ),
    linear-gradient(90deg, rgb(255, 255, 255), rgb(255, 255, 255));
}

#backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 3;
  display: none;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo {
  margin-left: 2rem;
}

.logo a {
  text-decoration: none;
  color: #000;
  text-transform: none;
}

.logo img {
  width: 7.5rem;
}

nav {
  display: flex;
  justify-content: center;
  padding: 0.625rem;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

nav li {
  margin: 0 0.625rem;
}

header nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: black;
  background-color: #f0f0f0;
  padding: 0.625rem;
  border-radius: 5px;
  width: 2.5rem;
  height: 2.5rem;
  justify-content: center;
}

nav i {
  margin-bottom: 0.3125rem;
  color: #007bff;
  font-size: 1rem; /* Adjusted icon size */
}

.header nav span {
  font-size: 0.75rem; /* Text size */
}

nav a:hover,
nav a:focus {
  background-color: #e0e0e0;
  color: #333;
}

#side-drawer {
  width: 50%;
  height: 100%;
  background-color: rgba(20, 20, 20, 0.9);
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  z-index: 3;
}

#side-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 4rem 1rem;
}

#side-drawer li {
  margin: 0.8rem 0;
}

#side-drawer header {
  height: 5rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 5%;
}

#side-drawer header a {
  text-decoration: none;
  color: #fff;
  font-size: 1.25rem;
  margin-right: 1rem;
}

#side-drawer header a:hover {
  color: #007bff;
}

#side-drawer li a {
  text-decoration: none;
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-radius: 6px;
  transition: color 0.3s, background-color 0.3s; /* Smooth hover effect */
}

#side-drawer li a:hover i {
  color: #fff;
}

#side-drawer li a i {
  margin-right: 0.5rem;
  color: #007bff;
  font-size: larger;
  transition: color 0.3s; /* Smooth color change */
}

#side-drawer li a:hover {
  color: #fff;
  background-color: #007bff;
}

.menu-btn {
  font-size: 2rem;
  align-items: center;
  display: none;
  color: #1b1b1b;
  margin-right: 2rem;
  text-decoration: none;
}

.menu-btn:hover {
  color: #007bff;
}

.container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 5rem;
}

.left-container {
  width: 25%;
  height: fit-content;
  background-color: #fff;
  border-radius: 25px;
  box-sizing: border-box;
  margin: 1rem auto auto auto;
}

#hero-image {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

#profile-image {
  width: 50%;
  height: 50%;
  border-radius: 50%;
}

#name {
  display: flex;
  justify-content: center;
  margin: 0.625rem auto;
  white-space: nowrap;
  font-weight: bold;
  font-size: large;
}

#profession {
  background-color: #f5f5f5;
  width: 40%;
  height: 2rem;
  box-sizing: border-box;
  border-radius: 5px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: smaller;
}

#socials {
  width: 100%;
  display: flex;
  flex-direction: rows;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.social-icons {
  width: 2rem;
  height: 2rem;
  margin: 0.625rem;
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #007bff;
  border-radius: 5px;
  cursor: pointer;
}

.social-icons:hover {
  background-color: #007bff;
}

.social-icons a i {
  text-decoration: none;
  color: #007bff;
}

.social-icons .fa-x-twitter {
  color: #000;
}

.social-icons .fa-github,
.fa-x-twitter {
  color: #000;
}

.social-icons .fa-whatsapp {
  color: #00ff00;
}
.social-icons:hover a i {
  color: #fff;
}

.contact-info {
  font-size: 1rem;
  width: 80%;
  margin: 0 auto 0.5rem auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f0f0f0;
  border-radius: 15px;
  padding: 0.625rem;
}

.contact-icons {
  margin: 0.3125rem;
  display: flex;
  align-items: center;
  font: inherit;
}

.contact-icons .fa-envelope {
  color: #007bff;
}

.contact-icons .fa-map-marker-alt {
  color: #ff0000;
}

.contact-icons span {
  margin-left: 0.5rem;
  font-size: smaller;
  display: flex;
  justify-content: baseline;
}

#download-cv {
  display: flex;
  justify-content: center;
  margin: 1rem auto;
}

.cv-btn {
  background-color: #0056b3;
  color: #fff;
  height: 3rem;
  border: none;
  font-size: 1rem;
  padding: 0.625rem 1.25rem;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
}

.cv-btn:hover {
  background-color: #f0f0f0;
  color: #000;
  border: 2px solid #0056b3;
}

.right-container {
  width: 70%;
  background-color: #fff;
  border-radius: 25px;
  box-sizing: border-box;
  margin: 1rem auto auto auto;
}

h1 {
  font-size: 2rem;
  margin: 0;
  padding: 0;
  font-weight: bold;
}

#about {
  width: 100%;
  box-sizing: border-box;
}

.about-details {
  margin: 2rem;
}

.hire-me-btn {
  padding: 1rem 1.25rem;
  font-size: 1rem;
  background: transparent;
  border: none;
  position: relative;
  color: #f0f0f0;
  z-index: 1;
}

.hire-me-btn::after,
.hire-me-btn::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -99999;
  transition: all 0.4s;
}

.hire-me-btn::before {
  transform: translate(0%, 0%);
  width: 100%;
  height: 100%;
  background: #0056b3;
  border-radius: 10px;
}

.hire-me-btn::after {
  transform: translate(10px, 10px);
  width: 35px;
  height: 35px;
  background: #ffffff15;
  backdrop-filter: blur(5px);
  border-radius: 50px;
}

.hire-me-btn:hover::before {
  transform: translate(5%, 20%);
  width: 110%;
  height: 110%;
}

.hire-me-btn:hover::after {
  border-radius: 10px;
  transform: translate(0, 0);
  width: 100%;
  height: 100%;
}

.hire-me-btn:active::after {
  transition: 0s;
  transform: translate(0, 5%);
}

#service-heading {
  margin-left: 2rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1.25rem;
  padding: 1.25rem;
  box-sizing: border-box;
  margin: 1.25rem;
}

.service-box {
  background-color: #f0f0f0;
  padding: 1.25rem;
  text-align: center;
  border-radius: 15px;
  box-shadow: 5px 5px 1px rgb(237, 237, 244);
}

.service-box p {
  text-align: left;
}

#design {
  background-color: #fff;
}

#design i {
  color: #ff0000;
}
#web-dev,
#app-dev {
  background-color: #e6e6fa;
}

#web-dev i {
  color: #c71585;
}

#consultancy {
  background-color: #fff0f5;
}

.service-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.625rem;
}

.service-box p {
  font-size: 0.9rem;
}

.icon {
  font-size: 1.5rem;
  margin-bottom: 0.625rem;
}

#client-group {
  margin: 2rem;
  box-sizing: border-box;
}

.clients h4 {
  text-align: center;
}

.clients-list {
  background-color: #f5f5f5;
  border-radius: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.clients-box {
  width: 5rem;
  height: 5rem;
  margin: 0.625rem;
  background-color: #e6e6fa;
}

footer {
  display: flex;
  justify-content: center;
  color: #fff;
}

@media (max-width: 800px) {
  .logo img {
    width: 6.5rem;
  }

  #main-header nav {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .services {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 983px) {
  .left-container,
  .right-container {
    width: 95%;
  }
}
