@import url("https://fonts.googleapis.com/css2?family=Geist:ital,wght@0,100..900;1,100..900&family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Playwrite+US+Trad:wght@100..400&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Geist", sans-serif;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
}

/* Fixed intro container */
.container {
  width: min(900px, calc(100% - 32px));
}

/* Theme button should not shrink */
.buttons {
  flex: 0 0 25px;

}

button {
  border: none;
}

/* Prevent social text from creating horizontal overflow */
#social-para {
  overflow-wrap: anywhere;
  word-break: normal;
}

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


li {
  list-style: none;
}


:root {
  --bodybg: #fff;
  --title: gray;
  --toggleBg: #f2f2f2;
  --sunIcon: #fff;
  --profile-role: #000;
  --introPara: gray;
  --strongPara: #000;
  --buildBg: #ff7c00;
  --buildColor: #fff;
  --buildShadow: #fff;
  /* --scoialPara: #000; */
  --linkedInhoverbg: #0087cb;
  --twitterhoverbg: #000000;
  --githubhoverbg: #00154b;
  --emailbg1: #fa2b14;
  --emailbg2: #fa9a0a;
  --emailbg3: #4ffffc;
  --socialparaspan: #000;
  /* --socialParaA: #000; */
  --scoialParaAShadow: #fff;
  --socialParaAHover: #fff;

  --projectBg: #fafafa;
  --projectsBg: #f2f2f2;

  --abouth3: #000;
  --aboutP: gray;
  --opneBg: #d9ffd9;
  --opneColor: #000;
  --opneanimeBg: #00e200;
  --hireBtnBg: #f2f2f2;
  --hireBtnColor: #000;
  --hirebtnShadow: #e4e4e4;
  --hirebtnShadow2: #e4e4e4;
  --techStackPBg: #efefef;
  --techStackPColor: #8f8f8f;
  --boxBg: #fafafa;
  --boxColor: #000;

  --processCardBg: #f7f7f7;
  --boxDesignBg: #f5f5f5;
  --cardAfter1: #d9d9d9;
  --cardAfter2: #e3e3e3;
  --designBoxBg: #f2f2f2;
  --blueBoxoutline: #92b1ff;
  --developmentBlack: #000;
  --importFrom: #000;
  --lineTwo: #000;
  --cardHead: #000;

  --footerBorder: #e0e0e0;
  --footerfirsth1: gray;
  --footerSecondh1: #000;
  --footerBtnShadow: #fff;
  --leftA: #000;
  --rightAShadow: #fff;
}

body.dark {
  --bodybg: #000;
  --title: gray;
  --toggleBg: #252525;
  --sunIcon: #a7a7a7;
  --profile-role: #f2f2f2;
  --introPara: gray;
  --strongPara: #b7b7b7;
  --buildBg: #f27500;
  --buildColor: #fff;
  --buildShadow: #ffcfa2;
  /* --scoialPara: #b7b7b7; */
  --linkedInhoverbg: #028ace;
  --twitterhoverbg: #040404;
  --githubhoverbg: #001c64;
  --emailbg1: #fa2b14;
  --emailbg2: #fa9a0a;
  --emailbg3: #4ffffc;
  --socialparaspan: #b7b7b7;
  /* --socialParaA: #b7b7b7; */
  --scoialParaAShadow: #3c3c3c;
  --socialParaAHover: #fff;

  --projectBg: #121212;
  --projectsBg: #161616;

  --abouth3: #fff;
  --aboutP: #5e5e5e;
  --opneBg: #002900;
  --opneColor: #1bc500;
  --opneanimeBg: #00d200;
  --hireBtnBg: #212121;
  --hireBtnColor: #ffffff;
  --hirebtnShadow: #393939;
  --hirebtnShadow2: #000000;
  --techStackPBg: #1b1b1b;
  --techStackPColor: #6e6e6e;
  --boxBg: #0f0f0f;
  --boxColor: #8b8b8b;

  --processCardBg: #0f0f0f;
  --boxDesignBg: #0f0f0f;


  --cardAfter1: #4e4e4e;
  --cardAfter2: #383838;
  --designBoxBg: #191919;
  --blueBoxoutline: #003fde;
  --developmentBlack: #5d5d5d;
  --importFrom: #5d5d5d;
  --lineTwo: #5d5d5d;
  --cardHead: #fff;


  --footerBorder: #181818;
  --footerfirsth1: rgb(68, 68, 68);
  --footerSecondh1: #e7e7e7;
  --footerBtnShadow: #4076ff;
  --leftA: #fff;
  --rightAShadow: #434343;
}

body {
  background-color: var(--bodybg);

}

.container {
  max-width: 900px;
  width: 100%;
  margin: auto;

  height: auto;
  padding-top: 16px;

  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  z-index: 1;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.logohead {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
}

.logo {
  width: 70px;
  height: 70px;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.aboutMe {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.title {
  font-weight: 500;
  font-size: 20px;
  color: var(--title);
}

.buttons {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--toggleBg);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
}

.buttons:hover i {
  scale: 1.05;
  rotate: 12deg;
}

.buttons i {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  transition: all 0.25s ease-out;
}

i.sun {
  opacity: 0;
  pointer-events: none;
}

i.moon {
  opacity: 1;
  pointer-events: auto;
}

.buttons.active i.sun {
  opacity: 1;
  pointer-events: auto;
  color: var(--sunIcon);
}

.buttons.active i.moon {
  opacity: 0;
  pointer-events: auto;
}

.profile-role {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--profile-role);
}

.role-text {
  display: inline-flex;
  gap: 4px;
  overflow: hidden;
}

.role-word {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(10px);
}

.introPara {
  width: 100%;
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  height: 160px;
}

.introPara p {
  font-weight: 400;
  color: var(--introPara);
  line-height: 25px;
}

strong {
  color: var(--strongPara);
}

.build {
  color: var(--buildColor);
  background: var(--buildBg);
  font-weight: 500;
  position: relative;
  box-shadow: inset 0px 1px 8px var(--buildShadow);
}

#social-para a {
  transition: all 0.25s ease-in-out;
}

.spangithub,
.spanlinkedin,
.spanX,
.spanemail {
  color: var(--socialparaspan);
}

.github:hover {
  background-color: var(--githubhoverbg);
  box-shadow: inset 0px 1px 8px var(--scoialParaAShadow);
}

.github:hover .spangithub {
  color: var(--socialParaAHover);
}

.linkedin:hover {
  background-color: var(--linkedInhoverbg);
  box-shadow: inset 0px 1px 8px var(--scoialParaAShadow);
}

.linkedin:hover .spanlinkedin {
  color: var(--socialParaAHover);
}

.twitter:hover {
  background-color: var(--twitterhoverbg);
  box-shadow: inset 0px 1px 8px var(--scoialParaAShadow);
}

.twitter:hover .spanX {
  color: var(--socialParaAHover);
}

.email:hover {
  background: var(--emailbg1);
  background: linear-gradient(90deg,
      var(--emailbg1) 0%,
      var(--emailbg2) 58%,
      var(--emailbg3)100%);

}

.email:hover .spanemail {
  color: var(--socialParaAHover);
}

.twitter {
  padding-left: 4px;
}

/* =========================================================
   PROJECTS — 3D SCROLL CARDS
   ========================================================= */

#projects {
  position: relative;

  width: 100%;
  height: 100svh;
  min-height: 650px;

  margin-top: clamp(260px, 30vw, 349px);

  background: var(--projectBg);

  overflow: hidden;

  z-index: 10;

  display: flex;
  justify-content: center;
  align-items: center;
}


.projectBox{
    max-width: 350px;
    min-height: 400px;
    background: #f5f5f5;
    padding: 6px;
    border-radius: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: none;
    overflow: hidden;
    will-change: transform;
    border-radius: 1px solid #f6f6f6;
}


.projectTwo{
  z-index: 9;
}

.projectThree{
    z-index: 99;
}

.projectImage{
  width: 100%;
  height: 80%;
  border-radius: 8px;
  overflow: hidden;
}

.projectImage img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  
}

.project-title{
  display: flex;
    justify-content: space-between;
    align-items: center;
    height: 20%;
    width: 100%;
}

.project-about{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}
.project-about h4{
  font-weight: 500;
}

.project-about span{
  font-size: 14px;
  color: gray;
  margin-top: 12px;
  font-weight: 300;
}

.projectArrow i{
  color: gray;

}
/* About section  */

#about {
  position: relative;
  width: min(900px, calc(100% - 32px));
  height: auto;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 10;
  margin: auto;
  background: var(--bodybg);
  gap: 40px;

}

.about-head {
  width: 100%;
  height: auto;
  min-height: 220px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-top: 0;
}

.about-details {
  width: 65%;
}

.about-details h3 {
  font-size: clamp(24px, 3vw, 24px);
  line-height: 1.15;
  font-weight: 500;
  color: var(--abouth3);
}

.about-details p {
  max-width: 560px;
  font-size: 16px;
  margin-top: 12px;
  line-height: 1.6;
  color: var(--aboutP);
}

.ctaBtn {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.open {
  padding: 5px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 24px;
  background: var(--opneBg);
  color: var(--opneColor);
  cursor: pointer;
}

.openAnim {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--opneanimeBg);
}

.hireMe {
  padding: 5px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 24px;
  background-color: var(--hireBtnBg);
  color: var(--hireBtnColor);
  cursor: pointer;
  box-shadow: inset 0px 1px 6px var(--hirebtnShadow), inset -0px -1px 6px var(--hirebtnShadow2);
  width: 150px;
  height: 30px;
  overflow: hidden;
}

.hireMe {
  border: none;
  background: #0048ff;
  cursor: pointer;
  padding: 12px 24px;
}

.hire {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
}

.word {
  display: flex;
}

.letter {
  position: relative;
  display: inline-block;
  height: 1.2em;
  overflow: hidden;
  line-height: 1.2em;
}

.letter span {
  display: block;

  transition:
    transform 0.45s cubic-bezier(0.76, 0, 0.24, 1),
    filter 0.45s ease,
    color 0.45s ease;
}

.original {
  transform: translateY(0);
}


.clone {
  position: absolute;
  left: 0;
  top: 0;

  transform: translateY(100%);
  filter: blur(4px);

  color: #000;
}

.hireMe:hover .original {
  transform: translateY(-100%);
  filter: blur(4px);
}

.hireMe:hover .clone {
  transform: translateY(0);
  filter: blur(0);
}





.about-image {
  width: 35%;
  height: 220px;
  flex-shrink: 0;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.techStack {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  /* height: 28%; */
  height: auto;
  width: 100%;
  margin-top: 0;
}

.techText {
  height: auto;
}

.techText p {
  background: var(--techStackPBg);
  color: var(--techStackPColor);
}

.techContainer {
  height: auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  grid-template-rows: 1fr 1fr;
  margin-top: 14px;
}

.box {
  width: 100%;
  max-width: none;
  height: 64px;
  background: var(--boxBg);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--boxColor);
}

.techImge {
  width: 32px;
  height: 32px;
}

.techImge img {
  width: 100%;
  height: 100%;
}

.whatido {
  height: auto;
  margin-top: 0;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
}

.widText p {
  color: var(--techStackPColor);
}

.process {
  width: 100%;
  height: auto;
  margin-top: 16px;
  display: grid;
  grid-template-columns: 2fr 3fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}

.process .card {
  min-width: 0;
  min-height: 260px;
  background-color: var(--processCardBg);
  cursor: pointer;
  padding: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  border-radius: 8px;
  transition: all 0.25s ease-out;
  position: relative;
}

.card::after {
  position: absolute;
  content: "";
  height: 100px;
  width: 1px;
  left: 2px;
  background: linear-gradient(182deg, var(--cardAfter1), var(--cardAfter2), var(--cardAfter1));
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.25s ease;
  filter: blur(2px);
}

.card:hover::after {
  opacity: 1;
  filter: blur(0px);
}

.box-head {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 16px;
  height: 30%;
  flex-shrink: 0;
}

.box-head span,
.texts span {
  color: var(--cardHead);
}

.texts {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
}

.texts p {
  color: gray;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.texts span {
  font-weight: 600;
}

.card .box-design {
  width: 100%;
  height: 70%;
  min-height: 0;
  background: var(--boxDesignBg);
  border-radius: 4px;

  position: relative;
  overflow: hidden;
}

.designing-container {
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.designBox {
  max-width: 100px;
  width: 100%;
  height: 130px;
  background-color: var(--designBoxBg);
  border-radius: 6px;
}

#blueBox {
  background-color: #0048ff;
  outline: 1px solid var(--blueBoxoutline);
  position: relative;
}

.circle1 {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #fff;
  position: absolute;
  top: 8%;
  left: 12%;
  transform: translate(-50%, -50%);
}

.circle2 {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #fff;
  position: absolute;
  top: 92%;
  left: 88%;
  transform: translate(-50%, -50%);
}

.micro-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

#screen1 {
  z-index: 0;
  background-color: #292929;
  left: 50%;
  top: 50%;
  opacity: 1;
  transform: translate(-50%, -10%);
}

#screen2 {
  z-index: 99;
  background: #fff;
  display: flex;
  justify-content: center;
  padding: 4px;
  border: 1px solid black;
  border-bottom: none;
}

#screen2 .island {
  width: 50px;
  height: 12px;
  border-radius: 28px;
  background: #000;
}

#screen3 {
  z-index: 0;
  background-color: #292929;
  left: 50%;
  top: 50%;
  opacity: 1;
  transform: translate(-50%, -10%);
}

.screen {
  position: absolute;
  width: 100px;
  height: 110px;
  background: #000;
  border-top-left-radius: 16px;
  bottom: 0%;
  left: 50%;
  transform: translate(-50%, -0%);
  border-top-right-radius: 16px;
}

.development-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 8px;
}

.lineone {
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  text-align: center;
  line-height: 1.4;
}

.import,
.from {
  color: var(--importFrom);
}

.lineTwo {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: left;
  margin-top: 16px;
  color: var(--lineTwo);
}

.blue {
  color: #0048ff;
}

.orange {
  color: #ff7804;
}

.skyblue {
  color: #5485ff;
}

.black {
  color: var(--developmentBlack);
  padding-left: 36px;
}

footer {
  max-width: 900px;
  height: 50vh;
  margin: auto;
  margin-top: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
}

.footer-head {
  width: 100%;
  height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  border: 2px dashed var(--footerBorder);
}

.footer-head h1 {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-weight: 500;
  line-height: 35px;
}

.firsth1 {
  color: var(--footerfirsth1);
}

.secondh1 {
  color: var(--footerSecondh1);
}

.bookCall {
  margin-top: 24px;
  background: #0048ff;
  width: 200px;
  height: 40px;
  border: none;
  color: #fff;
  font-size: 18px;
  border-radius: 8px;
  box-shadow: inset 0px 1px 8px var(--footerBtnShadow), inset 0px -1px 8px var(--footerBtnShadow);
  cursor: pointer;
  scale: 1;
}

.callText {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
}

.word {
  display: flex;
}

.space {
  width: 5px;
}

.letter {
  position: relative;
  display: inline-block;
  height: 1.2em;
  line-height: 1.2em;
  overflow: hidden;
}

.letter span {
  display: block;

  transition:
    transform 0.45s cubic-bezier(.76, 0, .24, 1),
    filter 0.45s ease;
}

.original {
  color: #fff;
  transform: translateY(0);
}

.clone {
  position: absolute;
  top: 0;
  left: 0;

  color: #fff;

  transform: translateY(100%);
  filter: blur(4px);
}


.bookCall:hover .original {
  transform: translateY(-100%);
  filter: blur(4px);
}

.bookCall:hover .clone {
  transform: translateY(0);
  filter: blur(0);
}


.footer-bottom {
  width: 100%;
  height: 20%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 2px dashed var(--footerBorder);
  padding: 0px 4px;
}

.left,
.right {
  min-width: 0;
}

.left {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: gray;
}

.left a {
  text-decoration: underline;
  color: var(--leftA);
}

.right {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.right a {
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 2px 4px;
  box-shadow: inset 0px 1px 8px var(--rightAShadow);
  transition: all 0.25s ease;
}

.right a:hover {
  transform: translateY(-2px);
  border-radius: 16px;
}

.emailfooter {
  background-image: linear-gradient(88deg, var(--emailbg1), var(--emailbg2), var(--emailbg3));
}

.twitterfooter {
  background: black;
}

.githubfooter {
  background: #000046;
}

@media (max-width: 900px) {
  .container {
    width: calc(100% - 32px);
  }

  .logo {
    width: 60px;
    height: 60px;
  }

  .title {
    font-size: 18px;
  }

  .introPara {
    margin-top: 24px;
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 24px);
    padding-top: 12px;
  }

  /* Header */

  header {
    align-items: center;
  }

  .logohead {
    gap: 9px;
    min-width: 0;
  }

  .logo {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;
  }

  .logo img {
    border-radius: 9px;
  }

  .aboutMe {
    min-width: 0;
  }

  .title {
    font-size: 16px;
    line-height: 1.2;
  }

  .profile-role {
    font-size: 14px;

    gap: 4px;

    min-width: 0;
  }

  .role-text {
    gap: 3px;
    flex-wrap: wrap;
  }

  .buttons {
    width: 28px;
    height: 28px;

    flex: 0 0 28px;
  }

  .buttons i {
    font-size: 17px;
  }

  .introPara {
    margin-top: 22px;

    height: auto;
    min-height: 0;

    gap: 18px;
  }

  .introPara p {
    font-size: 15px;
    line-height: 22px;
  }

  #social-para {
    padding-bottom: 4px;
  }

  /* #projects {
    height: 100svh;

    min-height: 500px;

    margin-top: clamp(320px, 42vw, 300px);
  }

  .project-texts {
    top: 12px;
  }

  .project-texts h2 {
    font-size: 20px;
  }

  .projectOne,
  .projectTwo {
    width: calc(100vw - 24px);

    height: min(68svh, calc(100vw - 24px));

    border-radius: 12px;
  } */
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 20px);
  }

  .logo {
    width: 42px;
    height: 42px;

    flex-basis: 42px;
  }

  .title {
    font-size: 15px;
  }

  .profile-role {
    font-size: 13px;
  }

  .introPara p {
    font-size: 14px;
    line-height: 21px;
  }

  /* #projects {
    min-height: 460px;

    margin-top: 280px;
  }

  .projectOne,
  .projectTwo {
    width: calc(100vw - 20px);

    height: min(68svh, calc(100vw - 20px));

    border-radius: 10px;
  } */
}

@media (hover: none) {
  .buttons:hover i {
    scale: 1;
    rotate: 0deg;
  }
}



@media (max-width: 768px) {

  #about {
    width: calc(100% - 32px);
    padding: 70px 0;
    gap: 50px;
  }

  /* About intro becomes vertical */
  .about-head {
    flex-direction: column;
    gap: 24px;
  }


  .about-details {
    width: 100%;
  }

  .about-details h3 {
    font-size: clamp(24px, 5vw, 30px);
  }

  .about-details p {
    max-width: 650px;
  }

  .about-image {
    width: 100%;
    height: 280px;
  }

  /* 2 columns instead of 4 */
  .techContainer {
    grid-template-columns: repeat(2, 1fr);
  }

  .box {
    height: 64px;
  }

  /* Process cards */
  .process {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .process .card {
    min-height: 250px;
  }


  /* ---------- FOOTER ---------- */

  footer {
    width: calc(100% - 32px);
    height: auto;

    margin-top: 40px;
    padding-bottom: 24px;

    gap: 6px;
  }

  .footer-head {
    width: 100%;
    min-height: 300px;
    height: auto;

    padding: 50px 24px;
  }

  .footer-head h1 {
    font-size: clamp(24px, 5vw, 34px);
    line-height: 1.25;
  }

  .footerbtn {
    width: 180px;
  }

  .footer-bottom {
    height: auto;
    min-height: 70px;

    padding: 16px;

    gap: 16px;
  }

  .left,
  .right {
    flex-wrap: wrap;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  #about {
    width: calc(100% - 16px);

    min-height: auto;

    padding: 60px 0 70px;

    gap: 45px;
  }

  /* ---------- ABOUT ---------- */

  .about-head {
    gap: 20px;
  }

  .about-details {
    width: 100%;
  }

  .about-details h3 {
    font-size: 25px;
    line-height: 1.2;
  }

  .about-details p {
    margin-top: 10px;

    font-size: 15px;
    line-height: 1.55;
  }

  .ctaBtn {
    justify-content: flex-start;

    gap: 8px;
    margin-top: 18px;
  }

  .open,
  .hireMe {
    padding: 7px 14px;
  }

  .about-image {
    width: 100%;
    height: 260px;
  }

  .about-image img {
    border-radius: 12px;
  }


  /* ---------- TECH STACK ---------- */

  .techStack {
    width: 100%;
  }

  .techText p,
  .widText p {
    font-size: 14px;
  }

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

    gap: 7px;

    margin-top: 12px;
  }

  .box {
    height: 58px;

    font-size: 12px;
    gap: 6px;
  }

  .techImge {
    width: 27px;
    height: 27px;
  }


  /* ---------- WHAT I DO ---------- */

  .process {
    grid-template-columns: 1fr;
    grid-template-rows: auto;

    gap: 10px;
  }

  .process .card {
    min-height: 260px;
  }

  .box-head {
    height: auto;
    min-height: 70px;

    gap: 12px;
  }

  .texts {
    gap: 4px;
  }

  .texts span {
    font-size: 15px;
  }

  .texts p {
    font-size: 13px;
    line-height: 1.4;
  }

  .card .box-design {
    height: 190px;
  }


  /* ---------- FOOTER ---------- */

  footer {
    width: calc(100% - 24px);

    height: auto;

    margin-top: 30px;
    padding-bottom: 20px;

    gap: 6px;
  }

  .footer-head {
    min-height: 300px;

    padding: 40px 18px;

    border-width: 1px;
  }

  .footer-head h1 {
    font-size: clamp(23px, 7vw, 30px);
    line-height: 1.2;
  }

  .firsth1,
  .secondh1 {
    display: inline;
  }

  .footerbtn {
    width: 170px;
    height: 42px;

    margin-top: 22px;

    font-size: 16px;
  }

  /* Footer bottom becomes vertical */
  .footer-bottom {
    width: 100%;

    min-height: auto;

    padding: 18px 12px;

    flex-direction: column;

    justify-content: center;
    align-items: center;

    gap: 16px;

    border-width: 1px;
  }

  .left {
    width: 100%;

    justify-content: center;

    font-size: 13px;

    text-align: center;
  }

  .right {
    width: 100%;

    justify-content: center;

    gap: 6px;
  }

  .right a {
    font-size: 12px;

    padding: 5px 7px;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

  #about {
    width: calc(100% - 20px);

    padding-top: 50px;
  }

  .about-details h3 {
    font-size: 23px;
  }

  .about-details p {
    font-size: 14px;
  }

  .about-image {
    height: 220px;
  }

  .techContainer {
    gap: 5px;
  }

  .box {
    height: 54px;
    font-size: 11px;
  }

  .techImge {
    width: 24px;
    height: 24px;
  }

  .process .card {
    min-height: 240px;
  }

  .card .box-design {
    height: 170px;
  }

  .footer-head {
    min-height: 270px;
    padding: 32px 14px;
  }

  .footer-head h1 {
    font-size: 22px;
  }

  .footerbtn {
    width: 150px;
    height: 40px;
  }

  .right {
    gap: 4px;
  }

  .right a {
    font-size: 11px;
    padding: 4px 6px;
  }
}


@media (max-width: 600px) {

  .container {
    width: calc(100% - 24px);
  }

  .introPara {
    width: 100%;
  }

  .introPara p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }


  /* PROJECTS */

  /* #projects {
    min-height: 460px;
  }

  .project {
    max-width: calc(100vw - 24px);
    max-height: calc(100svh - 24px);
  }


  /* ABOUT */

  .about-head {
    width: 100%;
  }

  .about-image {
    width: 100%;
    max-width: 100%;
  } */


  /* TECH STACK */

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

  .box {
    min-width: 0;
    padding: 0 6px;
  }

  .box span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }


  /* PROCESS */

  .process {
    grid-template-columns: minmax(0, 1fr);
  }

  .process .card {
    width: 100%;
    min-width: 0;
  }

  .card .box-design {
    min-height: 170px;
  }


  /* DEVELOPMENT CODE */

  .development-container {
    font-size: clamp(11px, 3vw, 14px);
  }

  .lineone {
    gap: 5px;
  }

  .black {
    padding-left: 12px;
  }


  /* FOOTER */

  footer {
    width: calc(100% - 24px);
  }

  .footer-head {
    width: 100%;
    box-sizing: border-box;
  }

  .footer-bottom {
    box-sizing: border-box;
  }

  .right {
    flex-wrap: wrap;
  }

  .right a {
    white-space: nowrap;
  }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

  .container {
    width: calc(100% - 20px);
  }

  .logohead {
    gap: 7px;
  }

  .title {
    font-size: 14px;
  }

  .profile-role {
    font-size: 12px;
  }

  .introPara p {
    font-size: 13px;
    line-height: 20px;
  }

  .techContainer {
    gap: 5px;
  }

  .box {
    padding: 0 4px;
  }

  .box span:last-child {
    font-size: 10px;
  }

  .footer-head h1 {
    font-size: 21px;
  }
}


/* =========================================================
   TOUCH DEVICES
   ========================================================= */

@media (hover: none) {

  .buttons:hover i {
    scale: 1;
    rotate: 0deg;
  }

  .card:hover::after {
    opacity: 0;
  }

}