@import url('https://fonts.googleapis.com/css2?family=Protest+Guerrilla&display=swap');



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

:root {
  --primary-color: #f7dc6f;
  --color-primary: #000000f5;
  --color-secondary: #ee1c1c;
  --color-white: #ffffff;
  --color-black: #000;
  --color-grey0: #f8f8f8;
  --color-grey-1: #dbe1e8;
  --color-grey-2: #b2becd;
  --color-grey-3: #6c7983;
  --color-grey-4: #454e56;
  --color-grey-5: #2a2e35;
  --color-grey-6: #12181b;
  --br-sm-2: 14px;
  --box-shadow-1: 0 3px 15px rgba(0, 0, 0, 0.3);
}

.light-mode {
  --color-primary: #ffffff;
  --color-secondary: #f74141;
  --color-white: #454e56;
  --color-black: #000;
  --color-grey0: #f8f8f8;
  --color-grey-1: #6c7983;
  --color-grey-2: #6c7983;
  --color-grey-3: #6c7983;
  --color-grey-4: #454e56;
  --color-grey-5: #f8f8f8;
  --color-grey-6: #12181b;
}

body {
  background-color: var(--color-primary);
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  color: var(--color-white);
  scroll-behavior: smooth;
  box-sizing: border-box;
  transition: all 0.7s ease-in-out;
  overflow-x: hidden;
}

a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
}

details > summary {
  cursor: pointer;
  padding: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  transition: all 1s ease-in-out;
}

details > summary:hover {
  padding: 1.25rem;
  color: var(--color-secondary);
  transition: all 1s ease-in-out;
}

details > summary,
.main-btn {
  box-sizing: border-box;
}

details > summary * {
  transition: all 1s ease-in-out;
}

.typing-text {
  opacity: 0;
  background: linear-gradient(
    to right,
    var(--color-secondary),
    var(--color-grey-4)
  );
  font-family: "poppins", 'sans-serif' ;
}

.typing-text:nth-child(1) {
  animation: typing 2s forwards, fade-to-default 2s 3s forwards;
  animation-delay: 1s;
  color: #dbe1e8;
}

.typing-text:nth-child(2) {
  animation: typing 2s forwards, fade-to-default 2s 4s forwards;
  animation-delay: 2s;
}

.typing-text:nth-child(3) {
  animation: typing 2s forwards, fade-to-default 2s 5s forwards;
  animation-delay: 3s;
}

.typing-text:nth-child(4) {
  animation: typing 2s forwards, fade-to-default 2s 6s forwards;
  animation-delay: 4s;
}

.typing-text:nth-child(5) {
  animation: typing 2s forwards, fade-to-default 2s 7s forwards;
  animation-delay: 5s;
}

.typing-text:nth-child(6) {
  animation: typing 2s forwards, fade-to-default 2s 8s forwards;
  animation-delay: 6s;
}

@keyframes typing {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fade-to-default {
  0% {
    background: linear-gradient(
      to right,
      var(--color-secondary),
      var(--color-grey-4)
    );
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    background: none;
    -webkit-text-fill-color: var(--color-white);
  }
}

header {
  min-height: 100vh;
  color: var(--color-white);
  overflow: hidden;
  padding: 0 !important;
}

.left-header {
  perspective: 1000px;
}

.image__hero {
  transform-style: preserve-3d;
  transform: rotateY(25deg) translateZ(100px);
  transition: transform 1s ease-in-out;
  margin: 20px 25px;
}

.image__hero:hover {
  transform: rotateY(0deg) translateZ(0px);
  transition: transform 1s ease-in-out;
}

.image__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  filter: grayscale(100%);
  transition: filter 1s ease-in-out;
  animation: bounce 1.5s infinite ease-in-out;
}

.image__hero:hover img {
  filter: grayscale(0);
}

.name {
  font-family: "Protest Guerrilla", sans-serif;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

section {
  min-height: 100vh;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  padding: 3rem 15rem;
}

.container {
  display: none;
  transform: translateY(-100%) scale(0);
  transition: all 0.4s ease-in-out;
  background-color: var(var(var(--color-grey-6)));
}

.active {
  display: block;
  animation: appear 1.5s ease-in-out;
  transform: translateY(0) scaleY(1);
}
@keyframes appear {
  0% {
    transform: translateY(-100%) scaleY(0);
  }
  100% {
    transform: translateY(0) scaleY(1);
  }
}

.controls {
  position: fixed;
  z-index: 10;
  top: 50%;
  right: 3%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}
.controls .control {
  padding: 1rem;
  cursor: pointer;
  background-color: var(--color-grey-4);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.7rem 0;
  box-shadow: var(--box-shadow-1);
}
.controls .control i {
  font-size: 1.2rem;
  color: var(--color-grey-2);
  pointer-events: none;
}
.controls .active-btn {
  background-color: var(--color-secondary);
  transition: all 0.5s ease-in-out;
}
.controls .active-btn i {
  color: var(--color-white);
}
.control {
  position: relative;
}

.control:hover::after {
  content: attr(data-id);
  position: absolute;
  background-color: transparent;
  padding: 33px;
  font-size: 1.2rem;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  visibility: visible;
  opacity: 1;
  transition: opacity 2s ease-in-out;
  text-transform: capitalize;
  animation: fadeOut 5s forwards;
  animation-delay: 3s;
}

.control::after {
  visibility: hidden;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}
.theme-btn {
  top: 2%;
  right: 3%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-grey-4);
  cursor: pointer;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease-in-out;
}
.theme-btn:active {
  transform: translateY(-4px);
}
.theme-btn i {
  font-size: 1.4rem;
  color: var(--color-grey-2);
  pointer-events: none;
}

.header-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 100vh;
}
.header-content .left-header {
  display: flex;
  align-items: center;
  position: relative;
}
.header-content .left-header .h-shape {
  transition: all 0.5s ease-in-out;
  width: 60%;
  height: 100%;
  background-color: var(--color-secondary);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  clip-path: polygon(0 0, 46% 0, 79% 100%, 0% 100%);
}
.header-content .left-header .image {
  border-radius: var(--br-sm-2);
  height: 90%;
  width: 68%;
  margin-left: 3.5rem;
  background-color: var(--color-black);
  transition: all 0.5s ease-in-out;
}
.header-content .left-header .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease-in-out;
  filter: grayscale(100%);
}
.header-content .left-header .image img:hover {
  filter: grayscale(0);
}
.header-content .right-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 10rem;
}
.header-content .right-header .name {
  font-size: 3.3rem;
  font-weight: 900;
}
.header-content .right-header .name span {
  color: var(--color-secondary);
}
.header-content .right-header p {
  margin: 1.3rem 0;
  line-height: 1.5rem;
}

/*About*/
.about-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}
.about-container .right-about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2rem;
}
.about-container .right-about .about-item {
  border: 1px solid var(--color-grey-5);
  border-radius: 5px;
  transition: all 0.4s ease-in-out;
  box-shadow: 1px 2px 15px rgba(0, 0, 0, 0.1);
}
.about-container .right-about .about-item:hover {
  cursor: default;
  transform: translateY(-5px);
  border: 1px solid var(--color-secondary);
  box-shadow: 1px 4px 15px rgba(0, 0, 0, 0.32);
}
.about-container .right-about .about-item .abt-text {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.about-container .right-about .about-item .abt-text .large-text {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-secondary);
}
.about-container .right-about .about-item .abt-text .small-text {
  padding-left: 3rem;
  position: relative;
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--color-grey-1);
  letter-spacing: 2px;
}
.about-container .right-about .about-item .abt-text .small-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 2rem;
  height: 2px;
  background-color: var(--color-grey-5);
}
.about-container .left-about {
  padding-right: 5rem;
}
.about-container .left-about p {
  line-height: 2rem;
  padding: 1rem;
  color: var(--color-grey-1);
}
.about-container .left-about h4 {
  font-size: 2rem;
  text-transform: uppercase;
}

.about-stats {
  padding-bottom: 4rem;
}
.about-stats .progress-bars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2rem;
}
.about-stats .progress-bars .progress-bar {
  display: flex;
  flex-direction: column;
}
.about-stats .progress-bars .progress-bar .prog-title {
  text-transform: uppercase;
  font-weight: 500;
}
.about-stats .progress-bars .progress-bar .progress-con {
  display: flex;
  align-items: center;
}
.about-stats .progress-bars .progress-bar .progress-con .prog-text {
  color: var(--color-grey-2);
}
.about-stats .progress-bars .progress-bar .progress-con .progress {
  width: 100%;
  height: 0.45rem;
  background-color: var(--color-grey-4);
  margin-inline: auto;
  position: relative;
  animation: pulse 2s infinite;
  outline: none;
  border-radius: 5px;
  transition: transform 0.9s ease-in-out;
}

.about-stats .progress-bars .progress-bar:hover .progress-con .progress span {
  transform: translateY(-5px);
}

.about-stats .progress-bars .progress-bar .progress-con .progress:not(:hover) {
  transform: translateY(5px);
}

.about-stats .progress-bars .progress-bar .progress-con .progress span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--color-secondary);
  transition: all 0.9s ease-in-out;
  width: 60%;
  border-radius: 5px;
}

.about-stats .progress-bars .progress-bar .progress-con .progress .html {
  width: 98%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .css {
  width: 98%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .js {
  width: 96%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .react {
  width: 94%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .node {
  width: 90%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .nxt {
  width: 93%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .python {
  width: 79%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .TS {
  width: 89%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .SCSS {
  width: 79%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .SQL {
  width: 92%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .mg {
  width: 89%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .jq {
  width: 73%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .bt {
  width: 80%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .tw {
  width: 95%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .jv {
  width: 84%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .php {
  width: 72%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .lrvl {
  width: 79%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .wp {
  width: 83%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .ms {
  width: 99%;
}

.about-stats .progress-bars .progress-bar .progress-con .progress .git {
  width: 89%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .vs {
  width: 97%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .fg {
  width: 85%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .ij {
  width: 92%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .as {
  width: 82%;
}

.about-stats .progress-bars .progress-bar .progress-con .progress .dj {
  width: 62%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .rt {
  width: 89%;
}

.about-stats .progress-bars .progress-bar .progress-con .progress:hover {
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.about-stats .progress-bars .progress-bar .progress-con .progress:hover span {
  background-color: hsla(0, 76%, 60%, 0.879);
}

@keyframes pulse {
  0% {
    transform: scaleY(1);
  }
  25% {
    transform: scaleY(1.2);
  }
  50% {
    transform: scaleY(1.6);
  }
  75% {
    transform: scaleY(1.4);
  }
  100% {
    transform: scaleY(1);
  }
}

.stat-title {
  text-transform: uppercase;
  font-size: 1.4rem;
  text-align: center;
  padding: 3.5rem 0;
  position: relative;
}
.stat-title::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 40%;
  height: 1px;
  background-color: var(--color-grey-5);
  transform: translateX(-50%);
}

/*Timeline*/
.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2rem;
  padding-bottom: 3rem;
}
.timeline .timeline-item {
  position: relative;
  padding-left: 3rem;
  border-left: 1px solid var(--color-grey-5);
}
.timeline .timeline-item .tl-icon {
  position: absolute;
  left: -27px;
  top: 0;
  background-color: var(--color-secondary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline .timeline-item .tl-icon i {
  font-size: 1.3rem;
}
.timeline .timeline-item .tl-duration {
  padding: 0.2rem 0.6rem;
  background-color: var(--color-grey-5);
  border-radius: 15px;
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 500;
}
.timeline .timeline-item h5 {
  padding: 1rem 0;
  text-transform: uppercase;
  font-size: 1.3rem;
  font-weight: 600;
}
.timeline .timeline-item h5 span {
  color: var(--color-grey-2);
  font-weight: 500;
  font-size: 1.2rem;
}
.timeline .timeline-item p {
  color: var(--color-grey-2);
}

.image-stack {
  position: relative;
  height: 190px;
  overflow: hidden;
  transition: transform 1s ease-in-out;
}

.image-stack img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease-in-out;
}

.image-stack img.active-image {
  transform: translateX(0);
  z-index: 1;
}

.image-stack img:not(.active-image) {
  transform: translateX(100%);
  z-index: 0;
  opacity: 0;
}

.image-stack.hide-image {
  opacity: 0;
  transition: opacity 1s;
}
.image-stack.hide-image img:not(.active-image) {
  transform: translateX(-100%);
}

.port-text {
  margin-top: 35px;
  padding: 2rem 0;
  text-align: center;
  text-transform: uppercase;
  font-size: 1.3rem;
  font-weight: 600;
}

.portfolios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2rem;
  margin-top: 3rem;
}
.portfolios .portfolio-item {
  position: relative;
  border-radius: 15px;
}
.portfolios .portfolio-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
}
.portfolios .portfolio-item .hover-items {
  width: 100%;
  height: 100%;
  background-color: hsla(0, 86%, 52%, 0.5);
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transform: scale(0);
  transition: all 0.6s ease-in-out;
}
.portfolios .portfolio-item .hover-items h3 {
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}
.portfolios .portfolio-item .hover-items .icons {
  display: flex;
  justify-content: center;
  align-items: center;
}
.portfolios .portfolio-item .hover-items .icons .icon {
  background-color: var(--color-primary);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 1rem;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}
.portfolios .portfolio-item .hover-items .icons .icon i {
  font-size: 1.5rem;
  color: var(--color-white);
  margin: 0 1rem;
}
.portfolios .portfolio-item .hover-items .icons .icon:hover {
  background-color: var(--color-white);
}
.portfolios .portfolio-item .hover-items .icons .icon:hover i {
  color: var(--color-primary);
}

.portfolio-item:hover .hover-items {
  opacity: 1;
  transform: scale(1);
}

.item--desc a {
  color: hsla(0, 86%, 52%, 0.936);
}

.item--desc a:hover,
.item--desc a:active {
  color: hsla(0, 86%, 52%, 0.5);
}

.blogs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
  margin-top: 3rem;
}
.blogs .blog {
  position: relative;
  background-color: var(--color-grey-5);
  border-radius: 5px;
  box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease-in-out;
}
.blogs .blog:hover {
  box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
  transition: all 0.4s ease-in-out;
}
.blogs .blog:hover img {
  filter: grayscale(0);
  transform: scale(1.1);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.8);
}
.blogs .blog img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  filter: grayscale(100%);
  transition: all 0.4s ease-in-out;
}
.blogs .blog .blog-text {
  margin-top: -7px;
  padding: 1.1rem;
  border-top: 8px solid var(--color-secondary);
}
.blogs .blog .blog-text h4 {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
}
.blogs .blog .blog-text h4:hover {
  color: var(--color-secondary);
}
.blogs .blog .blog-text p {
  color: var(--color-grey-2);
  line-height: 2rem;
  padding-bottom: 1rem;
}

.read {
  color: rgba(252, 84, 38, 0.758);
  transition: color 0.5s ease-in-out;
}

.read:hover {
  color: var(--color-secondary);
}

.read:active {
  color: var(--color-grey-2);
}

.contact-content-con {
  display: flex;
  padding-top: 3.5rem;
}

#contact .bg-text {
  font-size: 7rem;
  padding-bottom: 75px;
  z-index: -1;
}
.contact-content-con .left-contact {
  flex: 2;
}
.contact-content-con .left-contact h4 {
  margin-top: 1rem;
  font-size: 2rem;
  text-transform: uppercase;
}
.contact-content-con .left-contact p {
  margin: 1rem 0;
  line-height: 2rem;
}
.contact-content-con .left-contact .contact-info .contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.contact-content-con .left-contact .contact-info .contact-item p {
  margin: 0.3rem 0 !important;
  padding: 0 !important;
}
.contact-content-con .left-contact .contact-info .contact-item .icon {
  display: grid;
  grid-template-columns: 40px 1fr;
}
.contact-content-con .left-contact .contact-info .contact-item .icon i {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
}
.contact-content-con .left-contact .contact-icon {
  display: flex;
  margin-top: 2rem;
}
.contact-content-con .left-contact .contact-icon a {
  display: flex;
  align-items: center;
  color: var(--color-white);
  background-color: var(--color-grey-5);
  cursor: pointer;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 0.4rem;
  transition: all 0.4s ease-in-out;
}
.contact-content-con .left-contact .contact-icon a:hover {
  background-color: var(--color-secondary);
}
.contact-content-con .left-contact .contact-icon a:hover i {
  color: var(--color-primary);
}
.contact-content-con .left-contact .contact-icon a i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.contact-content-con .right-contact {
  flex: 3;
  margin-left: 3rem;
}
.contact-content-con .right-contact .input-control {
  margin: 1.5rem 0;
}
.contact-content-con .right-contact .input-control input,
.contact-content-con .right-contact .input-control textarea {
  border-radius: 30px;
  font-weight: inherit;
  font-size: inherit;
  font-family: inherit;
  padding: 0.8rem 1.1rem;
  outline: none;
  border: none;
  background-color: var(--color-grey-5);
  width: 100%;
  color: var(--color-white);
  resize: none;
}
.contact-content-con .right-contact .i-c-2 {
  display: flex;
}
.contact-content-con .right-contact .i-c-2 :last-child {
  margin-left: 1.5rem;
}
.contact-content-con .right-contact .submit-btn {
  display: flex;
  justify-content: flex-start;
}

/*Independent components*/
.btn-con {
  display: flex;
  align-self: flex-start;
}

.main-btn {
  border-radius: 30px;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  border: 1px solid var(--color-secondary);
  background: transparent;
  display: flex;
  align-self: flex-start;
  align-items: center;
  overflow: hidden;
}
.main-btn .btn-text {
  padding: 0 2rem;
}
.main-btn .btn-icon {
  background-color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 1rem;
}
.main-btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  transform: translateX(100%);
  transition: all 0.6s ease-out;
  z-index: -1;
}
.main-btn:hover {
  background-color: var(--color-secondary);
  transition: all 0.6s ease-out;
}
.main-btn:hover::before {
  width: 100%;
  height: 100%;
  background-color: var(--color-secondary);
  transform: translateX(0);
  transition: all 0.6s ease-out;
}

.main-title {
  text-align: center;
}
.main-title h2 {
  position: relative;
  text-transform: uppercase;
  font-size: 4rem;
  font-weight: 800;
}
.main-title h2 span {
  color: var(--color-secondary);
}
.main-title h2 .bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--color-grey-5);
  z-index: -10;
  transform: translate(-50%, -50%);
  font-weight: 800;
  font-size: 7.5rem;
}

.about-container .left-about p {
  padding-left: 0;
}

@keyframes ripple {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.1);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.3);
  }
}




#dark-mode-icon {
  display: none;
}

.light-mode #light-mode-icon {
  display: none;
}

.light-mode #dark-mode-icon {
  display: block;
}


@media screen and (max-width: 600px) {
  header {
    padding: 0 !important;
  }

  .theme-btn {
    width: 50px;
    height: 50px;
  }

  .header-content {
    grid-template-columns: repeat(1, 1fr);
    padding-bottom: 6rem;
  }

  .left-header .h-shape {
    display: none;
  }

  .right-header {
    grid-row: 1;
    padding-right: 0rem !important;
    width: 90%;
    margin: 0 auto;
  }
  .right-header .name {
    font-size: 2rem !important;
    text-align: center;
    padding-top: 3rem;
  }

  .header-content .left-header .image {
    margin: 0 auto;
    width: 90%;
  }

  .controls {
    top: auto;
    bottom: 0;
    flex-direction: row;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background-color: var(--color-grey-5);
  }
  .controls .control {
    margin: 1rem 0.3rem;
  }

  .about-container {
    grid-template-columns: repeat(1, 1fr);
  }
  .about-container .right-about {
    grid-template-columns: repeat(1, 1fr);
    padding-top: 2.5rem;
  }
  .about-container .left-about {
    padding-right: 0;
  }
  .about-container .left-about p {
    padding-left: 0;
  }

  .timeline {
    grid-template-columns: repeat(1, 1fr);
    padding-bottom: 6rem;
  }

  .container {
    padding: 2rem 2.5rem !important;
  }

  .about-stats .progress-bars {
    grid-template-columns: repeat(1, 1fr);
  }

  .portfolios {
    grid-template-columns: repeat(1, 1fr);
    padding-bottom: 6rem;
    margin-top: 1rem;
  }

  .blogs {
    grid-template-columns: repeat(1, 1fr);
    padding-bottom: 6rem;
  }

  .contact-content-con {
    flex-direction: column;
  }
  .contact-content-con .right-contact {
    margin-left: 0;
    margin-top: 2.5rem;
  }

  .contact-content-con .right-contact .i-c-2 {
    flex-direction: column;
  }

  .contact-content-con .right-contact .i-c-2 :last-child {
    margin-left: 0;
    margin-top: 1.5rem;
  }

  .contact-content-con .right-contact {
    margin-bottom: 6rem;
  }

  .contact-item {
    flex-direction: column;
    margin: 1rem 0;
  }
  .contact-item p {
    font-size: 15px;
    color: var(--color-grey-2);
  }
  .contact-item span {
    font-size: 15px;
  }
  .contact-item .icon {
    grid-template-columns: 25px 1fr;
  }

  .main-title h2 {
    font-size: 2rem;
  }
  .main-title h2 span {
    font-size: 2.3rem;
  }
  .main-title h2 .bg-text {
    font-size: 2.3rem;
  }
}
@media screen and (max-width: 1432px) {
  .container {
    padding: 9rem 11rem;
  }

  .contact-content-con {
    flex-direction: column;
  }
  .contact-content-con .right-contact {
    margin-left: 0;
    margin-top: 2.5rem;
  }

  .contact-content-con .right-contact .i-c-2 {
    flex-direction: column;
  }

  .contact-content-con .right-contact .i-c-2 :last-child {
    margin-left: 0;
    margin-top: 1.5rem;
  }

  .contact-content-con .right-contact {
    margin-bottom: 6rem;
  }

  .main-title h2 .bg-text {
    font-size: 5.5rem;
  }
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #202020;
  padding: 10px;
  text-align: center;
  border-top: 1px solid #c40303;
}
@media screen and (max-width: 1250px) {
  .blogs {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 6rem;
  }

  .portfolios {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-content .right-header {
    padding-right: 9rem;
  }
}

@media screen and (max-width: 660px) {
  .header {
    width: 100%;
  }
  .header-content {
    padding-inline: 10px;
    flex-direction: column;
  }
  .right-header {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .name {
    font-size: 0.6rem;
    text-align: left;
    
  }
  .bio {
    white-space: normal;
  }

  .blogs {
    grid-template-columns: repeat(1, 1fr);
  }

  .portfolios {
    grid-template-columns: repeat(1, 1fr);
  }

  .main-title h2 {
    font-size: 1.25rem;
  }
  .main-title h2 span {
    font-size: 1.5rem;
  }
  .main-title h2 .bg-text {
    font-size: 1.25rem;
  }

  #contact .bg-text {
    font-size: 4.5rem;
    padding-bottom: 70px;
    z-index: -1;
  }

  .left-header {
    perspective: none;
    width: 100%;
  }

  .image__hero {
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 1s ease-in-out;
    transition: all 1s ease-in-out;
  }

  .image__hero:hover {
    transition: all 1s ease-in-out;
    border-radius: 10px;
  }

  .image__hero img {
    transition: filter 1s ease-in-out, transform 1s ease-in-out;
  }

  .image__hero:hover img {
    transform: scale(1.4);
    transition: all 1s ease-in-out 1s;
  }

  .image__hero:hover::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: hsla(0, 93%, 54%, 0.219);
    border-radius: 10%;
    animation: ripple 1s ease-in-out 0.5s;
  }

  .main-btn {
    border-radius: 30px;
    color: inherit;
    font-weight: 500;
    font-size: 0.7rem;
    cursor: pointer;
    position: relative;
    border: 1px solid var(--color-secondary);
    background: transparent;
    display: flex;
    align-self: flex-start;
    align-items: center;
    overflow: hidden;
  }

  @keyframes ripple {
    0% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.1);
    }
    100% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1.4);
    }
  }
}

@media screen and (max-width: 1070px) {
  .about-container {
    grid-template-columns: repeat(1, 1fr);
  }
  .about-container .right-about {
    padding-top: 2.5rem;
  }

  .main-title h2 {
    font-size: 2.5rem;
  }
  .main-title h2 span {
    font-size: 3rem;
  }
  .main-title h2 .bg-text {
    font-size: 4rem;
  }

  .image__hero {
    position: relative;
    overflow: hidden;
    transition: transform 1s ease-in-out;
    transition: all 1s ease-in-out;
  }

  .image__hero:hover {
    transition: all 1s ease-in-out;
  }

  .image__hero img {
    transition: filter 1s ease-in-out, transform 1s ease-in-out;
  }

  .image__hero:hover img {
    transform: scale(1.3);
    transition: all 1s ease-in-out 1s;
  }

  .image__hero:hover::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: hsla(0, 93%, 54%, 0.219);
    border-radius: 10px;
    animation: ripple 1s ease-in-out 0.5s;
  }

  @keyframes ripple {
    0% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.1);
    }
    100% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1.3);
    }
  }
}

@media only screen and (max-width: 1024px) {
  .control:hover::after {
    animation: fadeOut 3s forwards;
    animation-delay: 3s;
  }

   .controls {
    top: auto;
    bottom: 0;
    flex-direction: row;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background-color: var(--color-grey-5);
    padding-inline: 20px;
    border-radius: 15px;
    margin-bottom: 10px;
  }
  .controls .control {
    margin: 1rem 0.3rem;
  }

  .btn-con {
    margin-left: 20px;
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}
/* Additional media query for smaller mobile screens */
@media screen and (max-width: 400px) {
  .bio {
    font-size: 0.5rem;
  }
  .main-title h2 {
    font-size: 1rem;
  }
  .main-title h2 span {
    font-size: 1.25rem;
  }
  .main-title h2 .bg-text {
    font-size: 1.5rem;
  }

  #contact .bg-text {
    font-size: 2.8rem;
    padding-bottom: 70px;
    z-index: -1;
  }

  .image__hero {
    position: relative;
    overflow: hidden;
    transition: transform 1s ease-in-out;
    transition: all 1s ease-in-out;
  }

  .image__hero:hover {
    transition: all 1s ease-in-out;
  }

  .image__hero img {
    transition: filter 1s ease-in-out, transform 1s ease-in-out;
  }

  .image__hero:hover img {
    transform: scale(1.2);
    transition: all 1s ease-in-out 1s;
  }

  .image__hero:hover::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: hsla(0, 93%, 54%, 0.219);
    border-radius: 15%;
    animation: ripple 1s ease-in-out 0.5s;
  }

  @keyframes ripple {
    0% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.1);
    }
    100% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1.2);
    }
  }
}
/* Media query for medium-sized screens (e.g., tablets) */
@media screen and (max-width: 970px) {
  .container {
    width: 100%;
    padding: 5rem 1rem;
  }

  .header-content {
    grid-template-columns: repeat(1, 1fr);
    padding-bottom: 4rem;
  }

  .left-header .h-shape {
    display: none;
  }

  .left-header .image {
    width: 100%;
    margin: 0 auto;
  }

  .right-header {
    grid-row: 1;
    padding-right: 0;
    width: 100%;
    margin: 0 auto;
  }

  .right-header .name {
    font-size: 1rem;
    text-align: left;
    padding: 2rem 1rem 0 1rem;
  }

  #contact .bg-text {
    font-size: 3.9rem;
    padding-bottom: 70px;
    z-index: -1;
  }
  .image__hero {
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: all 1s ease-in-out;
    transform-style: none;
    transform: rotateY(0deg) translateZ(0px);
    transition: transform 1s ease-in-out;
    margin: 10px 5px;
    border-radius: 10px;
  }

  .image__hero img {
    width: 100%;
    transition: filter 1s ease-in-out, transform 1s ease-in-out;
    z-index: -10;
    border-radius: 10px;
  }

  .image__hero:hover::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: hsla(0, 93%, 54%, 0.219);
    border-radius: 10px;
    animation: ripple 1s ease-in-out 0.5s;
  }

  .left-header {
    perspective: 0;
  }

  .image__hero:hover {
    transform: rotateY(0deg) translateZ(0px);
    transition: transform 1s ease-in-out;
  }

  .main-btn .btn-text {
    padding: 0 1rem;
  }
  .main-btn .btn-icon {
    background-color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0.7rem;
  }
  details > summary {
    cursor: pointer;
    padding: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 1s ease-in-out;
  }

  details > summary:hover {
    padding: 1.1rem;
    color: var(--color-secondary);
    transition: all 1s ease-in-out;
  }
  .controls {
    width: 90%;
    padding-inline: 10px;
    border-radius: 15px;
    margin-bottom: 8px;
  }
  .controls .control i {
    font-size: 1rem;
    color: var(--color-grey-2);
    pointer-events: none;
  }
  footer {
    visibility: hidden;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #202020;
    padding: 10px;
    text-align: center;
    border-top: 1px solid #c40303;
  }
}

/* Media query for small-sized screens (e.g., mobile phones) */
@media screen and (max-width: 700px) {
  .bio {
    font-size: 1rem;
  }
  .container {
    padding: 3rem 1.5rem;
  }

  .about-stats .progress-bars {
    grid-template-columns: repeat(1, 1fr);
  }

  .about-container .right-about {
    grid-template-columns: repeat(1, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(1, 1fr);
  }

  .main-title h2 {
    font-size: 2rem;
  }

  .main-title h2 span {
    font-size: 2.5rem;
  }

  .main-title h2 .bg-text {
    font-size: 3rem;
  }

  .left-header {
    perspective: none;
  }

  .image__hero {
    position: relative;
    overflow: hidden;
    transition: all 1s ease-in-out;
  }

  .image__hero:hover {
    transition: all 1s ease-in-out;
  }

  .image__hero img {
    transition: filter 1s ease-in-out, transform 1s ease-in-out;
  }

  .image__hero:hover img {
    transform: scale(1.1);
    transition: all 1s ease-in-out 1s;
  }

  .image__hero:hover::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: hsla(0, 93%, 54%, 0.128);
    border-radius: 10px;
    animation: ripple 1s ease-in-out 0.5s;
  }
}

