/* Poppins Google Font CDN */
@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");
@import url("contact-styles.css");
@import url("glassmorphism.css");
@import url("enhanced-sections.css");

@import url("https://fonts.googleapis.com/css2?family=Lobster&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  outline: none;
  border: none;
  scroll-behavior: smooth;
}

:root {
  --bg-color: #000;
  --sec-bg-color: #121212;
  --text-color: #fff;
  /* --main-color: #fd560d; */
  --main-color: #059ff1;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

section {
  min-height: 100vh;
  padding: 5rem 9% 5rem;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
}

html::-webkit-scrollbar {
  width: 0.8rem;
}

html::-webkit-scrollbar-track {
  background: var(--bg-color);
}

html::-webkit-scrollbar-thumb {
  background: var(--main-color);
}

/* Header Styling */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 3rem 9%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: all 400ms ease;
}

/* Logo */
.logo {
  font-size: 3rem;
  font-family: "Lobster", sans-serif;
  background: linear-gradient(135deg, var(--main-color), #00f2fe);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  cursor: pointer;
  transition: all 600ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(5, 159, 241, 0.3), transparent 70%);
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
  letter-spacing: 1px;
}

.logo:hover::after {
  opacity: 1;
}

/* Navbar */
.navbar {
  display: flex;
  gap: 2rem;
}

.navbar a {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.navbar a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(5, 159, 241, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.navbar a:hover::before {
  left: 100%;
}

.navbar a:hover,
.navbar a.active {
  color: var(--main-color);
  background: rgba(5, 159, 241, 0.1);
  border-color: rgba(5, 159, 241, 0.3);
  box-shadow: 0 5px 15px rgba(5, 159, 241, 0.2);
  transform: translateY(-2px);
  border-bottom: 3px solid var(--main-color);
  text-shadow: 0 0 10px rgba(5, 159, 241, 0.3);
}

/* Menu Icon */
#menu-icon {
  font-size: 3.6rem;
  color: var(--text-color);
  display: none;
  cursor: pointer;
  width: 4.5rem;
  height: 4.5rem;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

#menu-icon:hover {
  background: rgba(5, 159, 241, 0.1);
  border-color: rgba(5, 159, 241, 0.3);
  color: var(--main-color);
  box-shadow: 0 0 20px rgba(5, 159, 241, 0.2);
}

@media (max-width: 768px) {
  .header {
    padding: 1.5rem 5%;
  }

  #menu-icon {
    display: flex;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    background: rgba(5, 159, 241, 0.05);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .navbar.active {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .navbar a {
    display: block;
    text-align: center;
    margin: 0;
  }
}

/* --------------------- */
/* Home Section Styling */
/* --------------------- */
.home {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8rem;
  background: var(--bg-color);
  margin-top: 50px;
}

.home-img img {
  position: relative;
  width: 32vw;
  aspect-ratio: 0;
  object-fit: cover;
  filter: grayscale(30%);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--main-color), 0 0 15px var(--main-color),
    0 0 50px var(--main-color);
  cursor: pointer;
}

.home-img img:hover {
  box-shadow: 0 0 15px var(--main-color), 0 0 25px var(--main-color),
    0 0 70px var(--main-color);
  scale: 1.01;
}

/* Home Content */
.home .home-content h1 {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.3;
}

span {
  color: var(--main-color);
}

.home-content h3 {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.home-content p {
  font-size: 1.7rem;
  font-weight: 400;
}

/* Social Icons */
.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background: transparent;
  border: 0.2rem solid var(--main-color);
  font-size: 2rem;
  border-radius: 50%;
  color: var(--main-color);
  margin: 3rem 1.5rem 3rem 0;
  transition: 200ms ease;
}

.social-icons a:hover {
  color: var(--bg-color);
  transform: scale(1.3) translateY(-5px);
  box-shadow: 0 0 25px var(--main-color);
  background: var(--main-color);
}

/* Home Buttons Styling */
.home-buttons {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.button {
  all: unset;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0.6em 1em;
  border: medium solid var(--main-color);
  border-radius: 0.25em;
  color: var(--main-color);
  font-size: 1.6em;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: border 300ms, color 300ms;
  user-select: none;
}

.button a {
  text-decoration: none;
  color: var(--main-color);
}

.button p {
  z-index: 10;
}

.button:hover {
  color: #000;
  box-shadow: 0 0 25px var(--main-color);
}

.button:active {
  border-color: var(--main-color);
}

.button::after,
.button::before {
  content: "";
  position: absolute;
  width: 10em;
  aspect-ratio: 1;
  background: var(--main-color);
  opacity: 50%;
  border-radius: 50%;
  transition: transform 500ms;
  background: 300ms;
}

/* Second Button */
.button2::after,
.button2::before {
  content: "";
  position: absolute;
  width: 12em;
  aspect-ratio: 1;
  background: var(--main-color);
  opacity: 50%;
  border-radius: 50%;
  transition: transform 500ms, background 300ms;
}

.button::before {
  left: 0;
  transform: translateX(-9em);
}

.button::after {
  right: 0;
  transform: translateX(9em);
}

/* Second Button */
.button2::before {
  left: 0;
  transform: translateX(-11em);
}

.button2::after {
  right: 0;
  transform: translateX(11em);
}

.button:hover::before {
  transform: translateX(-1em);
}

.button:hover::after {
  transform: translateX(1em);
}

.button.active::before,
.button.active::after {
  background: transparent;
}

/* Typing Text */
.typing-text {
  font-size: 34px;
  font-weight: 600;
  min-width: 280px;
}

.typing-text span {
  position: relative;
}

.typing-text span::before {
  content: "Computer Scientist";
  color: var(--main-color);
  animation: words 20s infinite;
}

.typing-text span::after {
  content: "";
  position: absolute;
  background: var(--bg-color);
  width: calc(100% + 8px);
  height: 100%;
  border-left: 3px solid var(--bg-color);
  right: -8px;
  animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
}

/* Media Queries for Responsiveness */
@media (max-width: 995px) {
  #menu-icon {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 100%;
    right: 0;
    width: 40%;
    border-left: 3px solid var(--main-color);
    border-bottom: 3px solid var(--main-color);
    border-bottom-left-radius: 3rem;
    padding: 1rem 3%;
    background: var(--sec-bg-color);
    border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
    display: none;
  }

  .navbar.active {
    display: block;
  }

  .navbar a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
  }

  .navbar a:hover,
  .navbar a.active {
    padding: 1rem;
    border-radius: 0.5rem;
  }
}

/* For Home Section */
@media (max-width: 1000px) {
  .home {
    gap: 2rem;
  }
}

@media (max-width: 995px) {
  .home {
    flex-direction: column;
    margin: 0 2rem;
  }

  .home .home-content h3 {
    font-size: 2.5rem;
  }

  .home .home-content h1 {
    font-size: 5rem;
  }

  .home .home-img img {
    width: 70vh;
    margin-top: 4rem;
  }
}

@media screen and (max-width: 600px) {
  .home-img img {
    width: 450px !important;
  }
}

@media screen and (max-width: 500px) {
  .home-img img {
    width: 300px !important;
  }
}

/* Animation Keyframes */
@keyframes cursor {
  to {
    border-left: 2px solid var(--main-color);
  }
}

@keyframes words {

  0%,
  20% {
    content: "Cloud Architec";
  }

  21%,
  40% {
    content: "AWS And GCP Sepcialist";
  }

  41%,
  60% {
    content: "Window Server Administrator";
  }

  61%,
  80% {
    content: "Problem Solver";
  }

  81%,
  100% {
    content: "IT Enthusiast";
  }
}

@keyframes typing {

  10%,
  15%,
  30%,
  35%,
  50%,
  55%,
  70%,
  75%,
  90%,
  95% {
    width: 0;
  }

  5%,
  20%,
  25%,
  40%,
  45%,
  60%,
  65%,
  80%,
  85% {
    width: calc(100% + 8px);
  }
}

/* ------------------------- */
/* Services Section Styling */
/* ----------------------- */
.services {
  background: var(--sec-bg-color);
}

.heading {
  text-align: center;
  font-size: 5rem;
}

.service-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 2.5rem;
}

.services .single-service {
  position: relative;
  margin-top: 30px;
  background: var(--bg-color);
  border-radius: 10px;
  padding: 40px 30px;
  overflow: hidden;
}

.single-service .content {
  position: relative;
  z-index: 20;
}

.single-service .circle-before {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(40%, -40%);
  width: 150px;
  height: 150px;
  background: var(--main-color);
  border: 6px solid #504f93;
  border-radius: 50%;
  opacity: 0.5;
  z-index: 10;
  transition: all 500ms;
}

.single-service:hover .circle-before {
  width: 100%;
  height: 100%;
  transform: none;
  border: 0;
  border-radius: 0;
  opacity: 1;
}

.single-service .icon {
  display: inline-block;
  margin-bottom: 26px;
  width: 70px;
  height: 70px;
  background: var(--main-color);
  border-radius: 5px;
  line-height: 70px;
  text-align: center;
  color: #fff;
  font-size: 30px;
  transition: all 300ms;
}

.single-service:hover .icon {
  background: var(--sec-bg-color);
  color: var(--main-color);
}

.single-service .title {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 18px;
  transition: color 300ms;
}

.single-service:hover .title {
  color: #000;
}

.single-service .description {
  font-size: 14px;
  margin-bottom: 20px;
  transition: color 300ms;
}

.single-service:hover .description {
  color: #000;
}

.single-service a {
  position: relative;
  font-size: 18px;
  color: var(--main-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 300ms;
}

.single-service:hover a {
  color: #000;
}

@media (max-width: 991px) {
  section {
    padding: 10rem 3% 2rem;
  }

  .services {
    padding-bottom: 7rem;
  }
}

@media (max-width: 895px) {
  .service-container {
    grid-template-columns: 1fr;
  }
}

/* ------- */
/* Skills */
/* ----- */
.skills {
  background: var(--bg-color);
}

.skills .container {
  /* background: #f55d1b86; */
  background: #0096c786;
  color: var(--text-color);
  border-radius: 1rem;
  padding: 2rem;
  width: 70%;
  margin: auto;
  margin-top: 2rem;
}

.skills .container .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  flex-wrap: wrap;
  gap: 1.8rem;
}

.skills .container .bar {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 1rem;
  background: var(--sec-bg-color);
  transition: 300ms ease;
  cursor: pointer;
}

.skills .container .bar:hover {
  box-shadow: 0 4px 10px var(--main-color);
  transform: scale(1.03);
}

.skills .container .bar .info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.skills .container .bar .info img {
  width: 70px;
  height: 70px;
}

.skills .container .bar .info span {
  font-size: 2rem;
  font-weight: 500;
  margin-left: 0.5rem;
}

@media screen and (max-width: 600px) {
  .skills .container {
    margin: 0;
    padding: 0;
    margin-top: 5px;
    width: 100%;
  }

  .skills .container .row {
    grid-template-columns: repeat(2, 1fr);
    margin: 1rem;
    padding: 2rem 0.2rem;
    gap: 1rem;
  }
}

/* ------------------------- */
/* Projects Section Styling */
/* ----------------------- */
#projects {
  background: var(--sec-bg-color);
}

.image-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
  margin-inline: 2rem;
  margin-top: 2.6rem;
}

.outer-wrapper {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: whitesmoke;
  padding-bottom: 10px;
  border-radius: 9px;
  height: 300px;
}

.outer-wrapper a {
  text-decoration: none;
  color: var(--main-color);
  font-weight: 700;
  font-size: 1.6rem;
  margin: 8px auto;
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: 300ms ease;
}

.outer-wrapper a:hover {
  border-bottom: 2px solid var(--main-color);
}

.image-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
  border: 2px solid var(--main-color);
  border-radius: 9px;
}

.image-wrapper img {
  width: 100%;
  position: absolute;
  top: 0;
  transition: transform 2s linear;
  cursor: pointer;
}

.img {
  object-fit: cover;
  position: static;
  height: 100%;
}

@media (max-width: 786px) {
  .image-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .outer-wrapper {
    height: 250px;
  }

  .outer-wrapper a {
    font-size: 1.3rem;
  }

  .image-wrapper {
    height: 200px;
  }
}

@media (max-width: 400px) {

  .image-container,
  .certificate {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  .outer-wrapper {
    height: 250px;
  }

  .outer-wrapper a {
    font-size: 1rem;
  }

  .image-wrapper {
    height: 200px;
  }
}

@media (min-width: 1285px) {
  .image-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ------------------------- */
/* certifications Section Styling */

/* ----------------------- */
.certificates {
  background: linear-gradient(to bottom, rgba(5, 159, 241, 0.05), rgba(0, 0, 0, 0.8));
  position: relative;
  overflow: hidden;
}

.certificates::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(5, 159, 241, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.certificates .heading {
  margin-bottom: 5rem;
  text-shadow: 0 0 15px rgba(5, 159, 241, 0.5);
}

.image-container-cert {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.image-wrapper-cert {
  position: relative;
  height: 350px;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(5, 159, 241, 0.05);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
  border: 1px solid rgba(5, 159, 241, 0.2);
}

.image-wrapper-cert::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(5, 159, 241, 0.1),
    transparent
  );
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.image-wrapper-cert:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 15px 30px rgba(5, 159, 241, 0.2);
  border-color: rgba(5, 159, 241, 0.4);
}

.image-wrapper-cert:hover::before {
  transform: translateY(100%);
}

.image-wrapper-cert img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 0;
}

.image-wrapper-cert:hover img {
  transform: scale(1.05);
}

@media (max-width: 786px) {
  .image-container-cert {
    grid-template-columns: repeat(2, 1fr);
  }

  .outer-wrapper-cert {
    height: 250px;
  }

  .outer-wrapper-cert a {
    font-size: 1.3rem;
  }

  .image-wrapper-cert {
    height: 200px;
  }
}

@media (max-width: 400px) {

  .image-container-cert,
  .certificate {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  .outer-wrapper-cert {
    height: 250px;
  }

  .outer-wrapper-cert a {
    font-size: 1rem;
  }

  .image-wrapper-cert {
    height: 200px;
  }
}

@media (min-width: 1285px) {
  .image-container-cert {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* -------------------------- */
/* Education Section Styling */
/* ------------------------ */
.education {
  background: var(--sec-bg-color);
}

.education .timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.education .timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background: rgb(90, 64, 64);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  z-index: 2;
}

.education .container {
  padding: 10px 40px;
  position: relative;
  background: inherit;
  width: 50%;
}

.education .container::after {
  content: "\f501";
  position: absolute;
  width: 25px;
  height: 25px;
  line-height: 25px;
  right: -17px;
  border-radius: 50%;
  background: rgb(252, 252, 252);
  border: 4px solid var(--main-color);
  top: 15px;
  z-index: 100;
  font-size: 1.89rem;
  text-align: center;
  font-weight: 600;
  font-family: "Font Awesome\ 5 Free";
  color: rgb(90, 64, 64);
}

.education .left {
  left: 0;
}

.education .right {
  left: 50%;
}

.education .left::before {
  content: "";
  position: absolute;
  height: 0;
  width: 0;
  top: 22px;
  right: 30px;
  z-index: 1;
  border: medium solid var(--main-color);
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--main-color);
}

.education .right::before {
  content: "";
  position: absolute;
  height: 0;
  width: 0;
  top: 22px;
  left: 30px;
  z-index: 1;
  border: medium solid var(--main-color);
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--main-color) transparent transparent;
}

.education .right::after {
  left: -16px;
}

.education .content {
  background: var(--main-color);
  position: relative;
  border-radius: 6px;
}

.education .content .tag {
  font-size: 1.5rem;
  padding: 1.5rem;
  margin-left: 1.5rem;
}

.education .content .desc {
  padding: 1rem;
  margin-left: 1.5rem;
}

.education .content .tag h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #000;
}

.education .content .desc p {
  font-size: 1.3rem;
  font-weight: 500;
  color: #000;
}

@media screen and (max-width: 600px) {
  .education .timeline {
    margin-top: 2rem;
  }

  .education .timeline::after {
    left: 31px;
  }

  .education .container {
    width: 100%;
    padding-left: 8rem;
    padding-right: 2rem;
  }

  .education .container::after {
    font-size: 2.2rem;
  }

  .education .container::before {
    left: 61px;
    border: medium solid var(--main-color);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--main-color) transparent transparent;
  }

  .education .left::after,
  .education .right::after {
    left: 15px;
  }

  .education .right {
    left: 0%;
  }
}

/* Contact Section Styling */
.contact {
  background: var(--bg-color);
}

.contact .container {
  padding: 2rem;
  width: 90%;
  margin: auto;
  margin-top: 2rem;
  background: var(--sec-bg-color);
}

.contact .container .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  flex-wrap: wrap;
}

.contact-left {
  flex-basis: 35%;
  text-emphasis: none;
}

.contact-right {
  flex-basis: 60%;
}

.contact-left .sub-title {
  font-size: 4rem;
}

.contact-left p {
  margin-top: 30px;
  font-size: 16px;
}

.contact-left p i {
  color: var(--main-color);
  margin-right: 15px;
  font-size: 25px;
}

.contact-right form {
  width: 100%;
}

form input,
form textarea {
  width: 100%;
  border: 0;
  outline: none;
  background: #000;
  padding: 15px;
  margin: 15px 0;
  color: #fff;
  font-size: 18px;
  border-radius: 6px;
  resize: none;
}

.btn-cv {
  display: inline-block;
  background: transparent;
  padding: 1rem 2rem;
  border: 2px solid var(--main-color);
  border-radius: 5px;
}

.btn-cv:hover {
  background: var(--main-color);
  box-shadow: 0 0 25px var(--main-color);
}

.btn-cv:hover a {
  color: #000;
}

.btn-cv a {
  color: var(--main-color);
  font-size: 1.6rem;
  font-weight: 600;
}

@media screen and (max-width: 600px) {
  .contact .container {
    margin: 0 auto;
    padding: 0;
  }

  .contact .container .row {
    grid-template-columns: 1fr;
    margin: 1rem;
    padding: 2rem 0.2rem;
    gap: 1rem;
  }
}

/* ----------------------- */
/* Footer Section Styling */
/* --------------------- */
.footer {
  position: relative;
  bottom: 0;
  width: 100%;
  padding: 40px 0;
  background: var(--main-color);
}

.footer .social {
  text-align: center;
  color: #000;
  padding-bottom: 25px;
}

.footer .social a {
  font-size: 25px;
  color: #000;
  border: 2px solid #000;
  width: 42px;
  height: 42px;
  line-height: 42px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  margin: 0 10px;
  transition: 300ms ease;
}

.footer .social a:hover {
  transform: scale(1.2) translateY(-5px);
  background: #000;
  color: var(--main-color);
  box-shadow: 0 0 15px #000;
}

.footer ul {
  margin-top: 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 0;
  text-align: center;
}

.footer ul li a {
  color: #000;
  border-bottom: 2px solid transparent;
  transition: 300ms ease;
}

.footer ul li a:hover {
  border-bottom: 2px solid #000;
}

.footer ul li {
  display: inline-block;
  padding: 0 15px;
}

.footer .copyright {
  margin-top: 50px;
  text-align: center;
  font-size: 16px;
  color: #000;
}

@media (min-width: 1285px) {
  html {
    font-size: 55%;
  }

  .service-container {
    padding-bottom: 7rem;
    grid-template-columns: repeat(1, 1fr);
    margin: 0 5rem;
  }
}

@media (max-width: 991px) {
  .header {
    padding: 2rem 3%;
  }

  section {
    padding: 5rem 3% 2rem;
  }

  .services {
    padding-bottom: 7rem;
  }
}

/* =========== */
/* Animations */
/* ========= */
.appear_leftToRight {
  animation: leftToRight linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

.appear_rightToLeft {
  animation: rightToLeft linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

.fadeOut {
  animation: fadeOut linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

/* Only for Hero Section */
.leftToRight {
  animation: LToR 500ms linear;
}

@keyframes LToR {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }

  to {
    opacity: 1;
    transform: translateX(0%);
  }
}

.fadeeout {
  animation: FO 600ms linear;
}

@keyframes FO {
  from {
    opacity: 0;
    scale: 0;
  }

  to {
    opacity: 1;
    scale: 1;
  }
}

@keyframes leftToRight {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }

  to {
    opacity: 1;
    transform: translateX(0%);
  }
}

@keyframes rightToLeft {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0%);
  }
}

/* Enhanced Smooth Animations */
/* Smooth fade in for sections */
section {
  animation: smoothFadeIn 0.8s ease-out;
}

/* Smooth hover effects for all interactive elements */
button,
.btn,
.social-media a,
.portfolio-box,
.contact form input,
.contact form textarea {
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Enhanced hover effects */
.btn:hover,
.social-media a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(5, 159, 241, 0.3);
}

/* Portfolio box hover effect */
.portfolio-box:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 25px rgba(5, 159, 241, 0.2);
}

/* Smooth input focus effects */
.contact form input:focus,
.contact form textarea:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 10px rgba(5, 159, 241, 0.2);
}

/* Keyframes for smooth animations */
@keyframes smoothFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 0;
    scale: 0;
  }

  to {
    opacity: 1;
    scale: 1;
  }
}