@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

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

:root {
  --bg-color: #1f242d;
  --second-bg-color: #323946;
  --text-color: #fff;
  --main-color: #0ef;
}

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

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

section {
  min-height: 100vh;
  padding: 80px 8% 80px;
}

/* header navbar design */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 9%;
  background: var(--bg-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}
.header.sticky {
  border-bottom: 0.1rem solid rgba(0, 0, 0, 0.2);
}

.logo {
  width: 65px;
  user-select: none;
}

.navbar a {
  font-size: 1.7rem;
  color: var(--text-color);
  margin-left: 4rem;
  transition: 0.3s;
  position: relative;
}
.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background-color: var(--main-color);
  transition: all ease 1s;
}
.navbar a:hover::after {
  width: 100%;
}

.navbar a:hover,
.navbar a.active {
  color: var(--main-color);
}

/* menu icon */

#menu-icon {
  font-size: 3.6rem;
  color: var(--text-color);
  display: none;
}

/* section home design */

.home {
  display: flex;
  justify-content: center;
  align-items: center;
}
.home-img img {
  display: block;
  width: 25vw;
  border-radius: 20px;
  transition: 0.5s ease;
  animation: floatIn 3s ease-in-out infinite;
}

@keyframes floatIn {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3rem);
  }

  100% {
    transform: translateY(0);
  }
}

.home-content h3 {
  font-size: 3.2rem;
  font-weight: 700;
}
.home-content h3:nth-of-type(2) {
  margin-bottom: 2rem;
}
span {
  color: var(--main-color);
  font-weight: 500;
}

.home-content h1 {
  font-size: 5.6rem;
  font-weight: 700;
  line-height: 1.3;
}

.home-content p {
  font-size: 1.6rem;
  letter-spacing: 0.01rem;
  word-spacing: 0.1rem;
  width: 75%;
}

.btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  background: var(--main-color);
  border-radius: 1rem;
  box-shadow: 0 0 1rem var(--main-color);
  font-size: 1.6rem;
  color: var(--second-bg-color);
  font-weight: 600;
  transition: 0.5s ease;
  margin-top: 3rem;
}
.btn:hover {
  box-shadow: none;
}
.Hire {
  margin-left: 2rem;
  box-shadow: 0 0 0.4rem lightcoral;
  background-color: lightcoral;
  color: #1f242d;
  font-weight: 800;
}

/* About section */

.about {
  background: var(--second-bg-color);
  text-align: center;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-content {
  width: 100%;
  max-width: 120rem;
}

.heading {
  text-align: center;
  font-size: 4.7rem;
}
.about-content h2 {
  text-align: center;
  line-height: 1.2;
  margin-bottom: 3rem;
}

.about-content .sub-heading {
  font-size: 1.6rem;
  letter-spacing: 0.01rem;
  word-spacing: 0.1rem;
  line-height: 1.6;
  width: 70%;
  margin: 0 auto;
}

.skills-cards-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin: 3rem 0;
}

.about-content .techStack-box {
  flex: 1 1 30rem;
  padding: 2.5rem;
  border-radius: 1rem;
  text-align: center;
  background-color: var(--bg-color);
  transition: 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-content .techStack-box:hover {
  transform: scale(0.98);
}

.techStack-box h3 {
  font-size: 2.4rem;
  margin-bottom: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
}

.techStack-box .tech {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 2rem 1rem;
  place-content: center;
  width: 100%;
}

.tech div {
  padding: 1rem;
  font-size: 1.8rem;
  font-weight: bold;
  border-radius: 7px;
  transition: outline 0.4s ease-in-out;
  cursor: pointer;
}

.tech div:hover,
.tech div:focus {
  outline: 1px solid var(--main-color);
}

.tech div.JavaScript {
  background-color: rgba(255, 255, 0, 0.51);
  transform: rotate(9deg);
}
.tech div.Bootstrap {
  background-color: purple;
}
.tech div.React {
  background-color: dodgerblue;
  transform: rotate(-9deg);
}
.tech div.gsap {
  background-color: black;
  transform: rotate(-9deg);
}
.tech div.Zustand {
  background-color: #1c1818;
}
.tech div.Firebase {
  background-color: #ffa600b1;
  transform: rotate(-5deg);
}
.tech div.Tailwind {
  background-color: rgb(69, 133, 155);
}

.tech div.WordPress {
  background-color: #005075;
  transform: rotate(9deg);
}
.tech div.Clickfunnels {
  background-color: #65620d;
  transform: rotate(-9deg);
}
.tech div.GoHighLevel {
  background-color: #2b19ad;
  transform: rotate(5deg);
}
.tech div.Unbounce {
  background-color: #cf2862;
  transform: rotate(-5deg);
}
.tech div.Hubspot {
  background-color: #fb4444;
  transform: rotate(8deg);
}
.tech div.SwipePages {
  background-color: #282582;
  transform: rotate(-7deg);
}
.tech div.LearnWorlds {
  background-color: #0152a4;
  transform: rotate(6deg);
}

/* services section */

.services h2 {
  margin-bottom: 2rem;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  user-select: none;
  max-width: 1300px;
  margin: 0 auto;
}

.services-container .services-box {
  padding: 3rem 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: 0.5s ease;
  box-shadow: 0.1rem 0.2rem 0.2rem 0.2rem var(--second-bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.services-container .services-box:hover {
  transform: scale(0.98);
  box-shadow: 0.1rem 0.2rem 0.2rem 0.2rem var(--main-color);
}

.services-box i {
  font-size: 4.5rem;
  color: var(--main-color);
  margin-bottom: 1rem;
}
.services-box h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.services-box p {
  font-size: 1.4rem;
  letter-spacing: 0.01rem;
  word-spacing: 0.1rem;
  line-height: 1.5;
}

/* Projects design*/

.Projects {
  background: var(--second-bg-color);
}

.Projects h2 {
  margin-bottom: 3rem;
}

/* Filter Menu */
.projects-filter {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.8rem 1.8rem;
  font-size: 1.6rem;
  border: 2px solid var(--main-color);
  background: transparent;
  color: var(--text-color);
  border-radius: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.05rem;
}

.filter-btn:hover {
  background: var(--main-color);
  color: var(--second-bg-color);
  box-shadow: 0 0 1rem var(--main-color);
}

.filter-btn.active {
  background: var(--main-color);
  color: var(--second-bg-color);
  box-shadow: 0 0 1.5rem var(--main-color);
}

.Projects-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 2.5rem;
}
.Projects-container .Projects-box {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  display: flex;
}

.Projects-box {
  opacity: 1;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.Projects-box.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
}

.Projects-box img {
  width: 100%;
  transition: 0.5s ease;
}

.Projects-box:hover img {
  transform: scale(1.1);
}

.Projects-box .Project-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 0 4rem;
  transform: translateY(100%);
  transition: all 0.5s ease;
  opacity: 0;
}

.Projects-box:hover .Project-layer {
  transform: translateY(0);
  opacity: 1;
}
.Projects-box.show-projectBox .Project-layer {
  opacity: 1;
  transform: translateY(0);
}

.Project-layer h4 {
  font-size: 2.25rem;
  color: var(--main-color);
}
.Project-layer p {
  font-size: 1.35rem;
  margin: 0.3rem 0 1rem;
}
.Project-layer a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  border-radius: 50%;
}
.Project-layer a i {
  font-size: 2.1rem;
  color: var(--second-bg-color);
  box-shadow: none;
}

/* contact section */

#contact .heading {
  margin-bottom: 4rem;
  text-align: center;
}

#contact .contactSection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* Contact Form Styling - Glassmorphism */
.contact-form-wrapper {
  background: rgba(50, 57, 70, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(14, 238, 255, 0.1);
  padding: 3rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
  border-color: rgba(14, 238, 255, 0.3);
  background: rgba(50, 57, 70, 0.6);
  box-shadow: 0 8px 32px rgba(14, 238, 255, 0.1);
}

.contact-form-wrapper h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-color);
  font-weight: 600;
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  padding: 1.5rem;
  font-size: 1.5rem;
  background: rgba(31, 36, 45, 0.7);
  border: 2px solid rgba(14, 238, 255, 0.2);
  color: var(--text-color);
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--main-color);
  background: rgba(31, 36, 45, 0.9);
  box-shadow: 0 0 20px rgba(14, 238, 255, 0.2);
}

.form-group textarea {
  min-height: 120px;
  resize: none;
}

.contact-form-wrapper .btn {
  padding: 1.3rem;
  font-size: 1.6rem;
  margin-top: 0.5rem;
}

/* Contact Info Styling */
.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-wrapper h3 {
  font-size: 2rem;
  color: var(--text-color);
  font-weight: 600;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.8rem;
  background: rgba(50, 57, 70, 0.4);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(14, 238, 255, 0.15);
  border-radius: 15px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: default;
}

.info-card:hover {
  border-color: var(--main-color);
  background: rgba(50, 57, 70, 0.7);
  transform: translateX(10px);
  box-shadow: 0 8px 32px rgba(14, 238, 255, 0.15);
}

.card-icon {
  font-size: 3.5rem;
  color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: rgba(14, 238, 255, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.info-card:hover .card-icon {
  background: rgba(14, 238, 255, 0.2);
  transform: scale(1.1);
}

.card-content h4 {
  font-size: 1.7rem;
  color: var(--text-color);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.card-content p {
  font-size: 1.4rem;
  color: #aaa;
  transition: color 0.3s ease;
}

.info-card:hover .card-content p {
  color: var(--main-color);
}

/* footer design */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3.5rem 8%;
  background: var(--second-bg-color);
  border-top: 2px solid rgba(14, 238, 255, 0.2);
  gap: 2rem;
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  gap: 3rem;
}

.footer-text {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.6;
  color: #aaa;
}

.footer-text p {
  margin: 0;
}

.footer-text .year {
  font-weight: 600;
  letter-spacing: 0.1rem;
  display: inline;
  color: var(--main-color);
}

.contact-media {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.contact-media a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: rgba(14, 238, 255, 0.1);
  border: 2px solid var(--main-color);
  border-radius: 50%;
  font-size: 2rem;
  color: var(--main-color);
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-media a:hover {
  background: var(--main-color);
  color: var(--second-bg-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(14, 238, 255, 0.2);
}

.footer-tagline {
  flex: 1;
  text-align: center;
}

.footer-tagline p {
  font-size: 1.4rem;
  color: var(--main-color);
  font-weight: 500;
  font-style: italic;
  margin: 0;
  letter-spacing: 0.05rem;
}

/* Back to Top Button */
.back-to-top {
  display: none;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: rgba(14, 238, 255, 0.1);
  border: 2px solid var(--main-color);
  border-radius: 50%;
  font-size: 1.8rem;
  color: var(--main-color);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  background: var(--main-color);
  color: var(--second-bg-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(14, 238, 255, 0.3);
}

/* Media Queries */

/* This is  for the overall sections*/

@media (width <= 1400px) {
  .Project-layer h4 {
    font-size: 1.9rem;
  }
  .Project-layer p {
    font-size: 1.17rem;
  }
  .Project-layer a {
    margin-top: 0.8rem;
  }
}
@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }
  .Project-layer h4 {
    font-size: 1.7rem;
  }
  .Project-layer p {
    font-size: 1rem;
  }
  .about-content .techStack-box {
    flex: 1 1 28rem;
  }
}
@media (max-width: 1020px) {
  section {
    padding: 60px 3% 60px;
  }
}

@media (max-width: 990px) {
  #contact .contactSection {
    max-width: 75%;
    margin: 0 auto;
  }
  .contact-form-wrapper {
    width: 100%;
  }
  .contact-info-wrapper {
    width: 100%;
  }
}

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

  .home-img img {
    width: 29vw;
  }

  .services h2 {
    margin-bottom: 2.5rem;
  }
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .services-container .services-box {
    padding: 2.5rem 1.8rem;
  }
  .services-box i {
    font-size: 3.5rem;
    margin-bottom: 0.8rem;
  }
  .services-box h3 {
    font-size: 1.7rem;
    margin-bottom: 0.8rem;
  }
  .services-box p {
    font-size: 1.3rem;
  }

  .projects-filter {
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .filter-btn {
    padding: 0.7rem 1.4rem;
    font-size: 1.4rem;
  }
  .contact {
    min-height: auto;
  }
  #contact .contactSection {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-form-wrapper,
  .contact-info-wrapper {
    width: 100%;
  }
  .contact-form-wrapper h3,
  .contact-info-wrapper h3 {
    font-size: 1.8rem;
  }
  .footer {
    padding: 2.5rem 3%;
    flex-direction: column;
  }
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }
  .footer-text {
    font-size: 1.4rem;
  }
  .contact-media {
    gap: 1rem;
  }
  .contact-media a {
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
  }
  .footer-tagline p {
    font-size: 1.3rem;
  }
  .Projects-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .Project-layer h4 {
    font-size: 2rem;
  }
  .Project-layer p {
    font-size: 1.5rem;
  }
  .about-content h2 {
    margin-bottom: 2rem;
  }
  .about-content .techStack-box {
    flex: 1 1 25rem;
    padding: 2rem;
  }
  .techStack-box h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  .techStack-box .tech {
    gap: 1.5rem 0.8rem;
  }
  .tech div {
    font-size: 1.4rem;
    padding: 0.9rem;
  }
}

@media (max-width: 767px) {
  section {
    padding: 50px 3% 50px;
  }
  #menu-icon {
    display: block;
  }
  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 3%;
    background: var(--bg-color);
    border-top: 0.1rem solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    display: none; /* on and off menu*/
  }

  .navbar.active {
    display: block;
  }

  .navbar a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
  }
  .navbar a:hover::after {
    width: 0;
  }
  .home {
    flex-direction: column;
  }
  .home-content h3 {
    font-size: 2.6rem;
  }
  .home-content h1 {
    font-size: 5rem;
  }
  .home-img img {
    width: 65vw;
    margin-top: 4rem;
    animation: none;
  }
  .about {
    flex-direction: column;
  }
  .skills-cards-container {
    flex-direction: column;
    gap: 2rem;
  }
  .about-content .techStack-box {
    flex: 1 1 100%;
    min-width: 100%;
  }
  .about-content .sub-heading {
    width: 100%;
  }
  .techStack-box .tech {
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 1rem 0.8rem;
  }
  .services h2 {
    margin-bottom: 3rem;
  }
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .services-container .services-box {
    padding: 3.5rem 2rem;
  }
  .services-box i {
    font-size: 3rem;
    margin-bottom: 0.7rem;
  }
  .services-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.7rem;
  }
  .services-box p {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .Projects h2 {
    margin-bottom: 3rem;
  }
  .projects-filter {
    gap: 0.8rem;
    margin-bottom: 2rem;
  }
  .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
  }

  #contact .contactSection {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .contact-form-wrapper {
    padding: 2.5rem;
    width: 100%;
  }
  .contact-info-wrapper {
    width: 100%;
  }
  .contact-form-wrapper h3,
  .contact-info-wrapper h3 {
    font-size: 1.6rem;
  }
  .info-card {
    padding: 1.5rem;
  }
  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 3rem;
  }
  .card-content h4 {
    font-size: 1.5rem;
  }
  .card-content p {
    font-size: 1.2rem;
  }
}

@media (max-width: 617px) {
  .Projects-container {
    grid-template-columns: 1fr;
  }
  .Project-layer h4 {
    font-size: 2.4rem;
  }
  .Project-layer p {
    font-size: 1.9rem;
  }
  .logo {
    width: 40px;
    user-select: none;
  }
  #Projects .checkMore {
    font-size: 1.2rem;
  }
  .projects-filter {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  .filter-btn {
    padding: 0.6rem 1rem;
    font-size: 1.1rem;
    border-radius: 0.6rem;
  }
  .about-content h2 {
    margin-bottom: 1.5rem;
  }
  .about-content p {
    font-size: 1.5rem;
    margin: 1.5rem 0 2rem;
  }
  .skills-cards-container {
    gap: 1.5rem;
  }
  .services-container {
    grid-template-columns: 1fr;
    padding: 0 2rem;
    gap: 3rem;
  }

  .services-box i {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
  }
  .services-box h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  .services-box p {
    font-size: 1.4rem;
  }
  .about-content .techStack-box {
    padding: 1.8rem;
  }
  .techStack-box h3 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
  }
  .techStack-box .tech {
    grid-template-columns: repeat(3, auto);
    gap: 1rem;
    padding: 1rem;
  }
  .tech div {
    font-size: 1.6rem;
    padding: 1.1rem 1.3rem;
  }
  .services-container .services-box {
    padding: 4rem 6rem;
  }
  .home-content p {
    width: 88%;
  }

  #contact .contactSection {
    gap: 2rem;
  }
  .contact-form-wrapper {
    padding: 2rem;
  }

  .info-card {
    padding: 1.2rem;
  }
  .card-icon {
    width: 55px;
    height: 55px;
    font-size: 2.5rem;
  }
  .card-content h4 {
    font-size: 1.4rem;
  }
  .card-content p {
    font-size: 1.6rem;
  }

  .footer {
    padding: 2rem 3%;
  }
  .footer-content {
    flex-direction: column;
    gap: 1.3rem;
  }
  .footer-text {
    font-size: 1.56rem;
    text-align: center;
  }
  .footer-tagline p {
    font-size: 1.4rem;
  }
  .contact-media {
    gap: 0.8rem;
  }
  .contact-media a {
    width: 30px;
    height: 30px;
    font-size: 1.7rem;
  }
}

@media (max-width: 460px) {
  html {
    font-size: 50%;
  }
  .contact-content p {
    font-size: 1.7rem;
  }

  .Project-layer p {
    font-size: 1.55rem;
  }
  #contact form .inputBox input {
    width: 100%;
  }

  .tech div {
    font-size: 1.4rem;
    padding: 1.3rem 1rem;
  }
  .services-container .services-box {
    padding: 4rem 4rem;
  }
  .home-content p {
    width: 100%;
  }
  .home-img img {
    width: 80vw;
  }
  .contact-content p {
    width: 100%;
  }
}

@media (max-width: 365px) {
  .home-content h1 {
    font-size: 4rem;
  }
  .home-content h3 {
    font-size: 2rem;
  }

  .logo {
    width: 33px;
    user-select: none;
  }

  .Project-layer h4 {
    font-size: 2rem;
  }
  .Project-layer p {
    font-size: 1.3rem;
  }
  .Project-layer a {
    padding: auto;
  }

  .projects-filter {
    gap: 0.4rem;
    margin-bottom: 1.5rem;
  }
  .filter-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.95rem;
    margin: 0.3rem;
  }

  .footer p {
    text-align: center;
    margin-top: 1rem;
  }
  .heading {
    font-size: 3.5rem;
  }
  .techStack-box h3 {
    font-size: 2rem;
    margin-bottom: 1.4rem;
  }
  .techStack-box .tech {
    grid-template-columns: repeat(2, auto);
    gap: 1.3rem;
    padding: 1rem;
  }

  .skills-cards-container {
    gap: 2rem;
  }
  .about-content .techStack-box {
    padding: 1.5rem;
  }
  .services-container {
    padding: 0;
  }
  .services-container .services-box {
    padding: 5rem 1.7rem;
  }
  .services-box i {
    font-size: 4rem;
    margin-bottom: 0.8rem;
  }
  .services-box h3 {
    font-size: 2rem;
    margin-bottom: 0.6rem;
  }
  .services-box p {
    font-size: 1.3rem;
  }
}
