@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&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: "Poppins";
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}
:root {
  --prime-color: #2fb297;
  --black-color: #000;
  --white-color: #fff;
  --text-color: #35404e;
  --pera-color: #2a2a2a;
  --transition: 0.3s;
  --transition2: 0.6s;
}
body {
  overflow-x: hidden;
}
section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5% 12%;
}
img {
  width: 100%;
  height: 100%;
}
header {
  position: relative;
  background-image: url(images/bg-img.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  background-attachment: fixed;
  width: 100%;
  height: 100vh;
  border-bottom-left-radius: 50% 20%;
  border-bottom-right-radius: 50% 20%;
}
/* NAV SECTION */
nav {
  width: 100%;
  height: 10rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12%;
  z-index: 999;
}
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 8rem;
  background-color: var(--white-color);
  transition: var(--transition2);
  transform: translateY(-100px);
  opacity: 0;
  animation: anim-up 0.6s forwards linear;
}
@keyframes anim-up {
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.logo a {
  font-size: 2.2rem;
  color: var(--text-color);
  font-weight: 600;
}
.menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.menu li a {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--black-color);
  transition: var(--transition);
}
.menu li a:hover {
  color: var(--prime-color);
}
.social_icon {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.social_icon i {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--prime-color);
  color: var(--white-color);
  transition: var(--transition);
}
.social_icon i:hover {
  color: var(--prime-color);
  background-color: var(--white-color);
  cursor: pointer;
}
.social_icon a {
  text-decoration: none;
  color: inherit;
}
.bars {
  display: none;
}
/* HERO CONTENT SECTION */
.hero-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0% 12%;
}
.hero-text {
  width: 50%;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
}
.hero-image {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.4rem;
}
.hero-image img {
  width: 90%;
  height: 70vh;
}
.hero-text h2 {
  color: var(--prime-color);
  font-size: 1.8rem;
  font-weight: 500;
}
.hero-text h1 {
  font-size: 4rem;
  line-height: 5rem;
  font-weight: 700;
  color: var(--text-color);
}
.hero-text h1 span {
  color: var(--prime-color);
}
.hero-text p {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--pera-color);
}
button {
  width: auto;
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
  padding: 1.1rem 2.7rem;
  border-radius: 0.8rem;
  border: none;
  background-color: var(--prime-color);
  color: var(--white-color);
  transition: all 0.35s ease;
}
button:hover {
  background: #23957e;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}
button:active {
  transform: translateY(0);
}
.hero-text button {
  margin: 1rem 0;
}
/* ABOUT SECTION */
.about {
  gap: 5rem;
  flex-direction: column;
  padding-bottom: 1.5rem !important;
}
.about-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5rem;
}
.about-image {
  position: relative;
  width: 50%;
  height: 50vh;
  display: flex;
  justify-content: center;
  border-radius: 1rem;
}
.about-image img {
  border-radius: 1rem;
}
.about-small {
  position: absolute;
  width: 16rem;
  height: 16rem;
  object-fit: cover;
  top: 70%;
  right: -8%;
  border-radius: 1rem;
  box-shadow: 5px 5px 15px rgba(42, 42, 42, 0.439);
}
.about-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
}
.about-content h1 {
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-color);
}
.about-content p {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--pera-color);
}
.about-content button {
  margin: 1.3rem 0;
  background-color: var(--white-color);
  border: 1px solid var(--prime-color);
  color: var(--prime-color);
}
.about-content button:hover {
  background-color: var(--prime-color);
  color: var(--white-color);
}
/* ABOUT-BOTTOM */
.about-bottom {
  margin-top: 3rem;
  width: 100%;
  display: grid;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  place-content: center;
  place-items: center;
  transition: var(--transition2) !important;
}
.show-skills {
  max-height: 15rem;
  opacity: 1;
  margin-bottom: 4rem;
}
.about-bottom .skill-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2rem;
}
.skill-box h2 {
  font-size: 1.4rem;
  font-weight: 500;
}
.percent {
  position: relative;
  width: 100%;
  height: 5px;
  border-radius: 5px;
  background-color: rgba(131, 131, 131, 0.4);
}
.percent::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 100%;
  background-color: var(--prime-color);
}
.skill-box:nth-child(2) .percent::after {
  width: 80%;
}
.skill-box:nth-child(3) .percent::after {
  width: 75%;
}
.skill-box:nth-child(4) .percent::after {
  width: 80%;
}
.skill-box:nth-child(5) .percent::after {
  width: 75%;
}
.skill-box:nth-child(6) .percent::after {
  width: 85%;
}
/* SERVICES SECTION */
.services {
  flex-direction: column;
  background-color: #f6f7fb;
}
.headings {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 5px;
}
.headings h1 {
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-color);
}
.headings h2 {
  color: var(--prime-color);
  font-size: 1.4rem;
  font-weight: 500;
}
.headings p {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-color);
}
.services-cards {
  margin-top: 4rem;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}
.service-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.service-card i {
  font-size: 3.6rem;
  width: 7rem;
  height: 7rem;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--prime-color);
  color: var(--prime-color);
  transition: var(--transition);
}
.service-card:hover i {
  background-color: var(--prime-color);
  color: var(--white-color);
  cursor: pointer;
}
.service-card-data {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.service-card-data h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pera-color);
}
.service-card-data p {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-color);
}
/* MINI HIRE ME SECTION */
.hireMe {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 3rem;
}
.hireMe h1 {
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-color);
}
.hireMe .hireBtn {
  width: 12rem;
}
/* TESTIMONIAL SECTION */
.testimonial {
  flex-direction: column;
  background-color: #f6f7fb;
  border-bottom-left-radius: 50% 20%;
  border-bottom-right-radius: 50% 20%;
}
.testSwiper {
  width: 60%;
  margin-top: 5rem;
}
.test-slide {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  gap: 2rem;
}
.quate-img {
  width: 3rem;
  height: 3rem;
}
.client-image {
  width: 10rem;
  height: 10rem;
  border-radius: 100%;
  overflow: hidden;
}
.client-image img {
  object-fit: cover;
  background-position: top center;
}
.test-slide p {
  width: 80%;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-color);
}
.test-slide h2 {
  font-size: 1.4rem;
  font-weight: 500;
  transform: var(--transition);
  color: var(--text-color);
}
.test-slide h2:hover {
  color: var(--prime-color);
  cursor: pointer;
}
/* PORTFOLIO SECTION */
.portfolio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}
.headings {
  width: 100%;
  text-align: center;
}
.portfolio-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
}
.portfolio-img {
  background: var(--white-color);
  border-radius: 1.8rem;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: var(--transition2);
  display: flex;
  flex-direction: column;
}
.portfolio-img:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.portfolio-image {
  width: 100%;
  height: 20rem;
  overflow: hidden;
}
.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
  display: block;
}
.portfolio-img:hover .portfolio-image img {
  transform: scale(1.05);
}
.portfolio-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.portfolio-content h3 {
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: 600;
}
.portfolio-content p {
  font-size: 1.45rem;
  line-height: 1.8;
  min-height: 78px;
  color: #666;
  margin-bottom: 2rem;
  flex: 1;
}
.portfolio-links {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}
.portfolio-links a {
  flex: 1;
  text-align: center;
  padding: 1.1rem;
  border-radius: 0.8rem;
  font-size: 1.45rem;
  font-weight: 500;
  transition: 0.35s;
}
.portfolio-links a:first-child {
  background: var(--prime-color);
  color: var(--white-color);
}
.portfolio-links a:first-child:hover {
  background: #23957e;
}
.portfolio-links a:last-child {
  background: #35404e;
  color: var(--white-color);
}
.portfolio-links a:last-child:hover {
  background: #000;
}
.view-design-btn,
.visit-website-btn {
  background: var(--prime-color) !important;
  color: var(--white-color) !important;
}
.view-design-btn:hover,
.visit-website-btn:hover {
  background: #23957e !important;
}
.category {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.category button {
  width: 22%;
  height: 3.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0;
  background-color: transparent;
  border: 2px solid var(--prime-color);
  color: var(--prime-color);
}
.category button:hover {
  background-color: var(--prime-color);
  color: var(--white-color);
  cursor: pointer;
  transform: translateY(-4px);
}
.category button:focus {
  background-color: var(--prime-color);
  color: var(--white-color);
}
#toggleProjects {
  flex: 1;
  text-align: center;
  width: auto;
  font-size: 1.6rem;
  font-weight: 500;
  padding: 1.1rem 2.7rem 1.1rem 2.7rem;
  border-radius: 0.8rem;
  transition: var(--transition);
}
.image-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  z-index: 9999;
}
.image-popup img {
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.close-popup {
  position: absolute;
  top: 25px;
  right: 35px;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 3rem;
  cursor: pointer;
  transition: 0.3s;
}
.close-popup:hover {
  background: var(--prime-color);
  transform: rotate(90deg);
}
.portfolio-content h3 {
  transition: 0.3s;
}
.portfolio-img:hover h3 {
  color: var(--prime-color);
}
.portfolio-links a {
  position: relative;
  overflow: hidden;
}
.portfolio-links a::before {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.18);
  transition: 0.5s;
}
.portfolio-links a:hover::before {
  left: 100%;
}
.portfolio-img.hide {
  opacity: 0;
  transform: scale(0.9);
}
.hidden-project {
  display: none;
}
/* BLOG SECTION */
.blogs {
  flex-direction: column;
  background-color: #f6f7fb;
}
.blogSwiper {
  width: 100%;
  margin-top: 5rem;
}
.blogSwiper .swiper-wrapper {
  padding: 0;
}
.blog-slide {
  box-shadow: 0 0 10px rgba(131, 131, 131, 0.5);
}
.blog-img {
  height: 20rem;
  overflow: hidden;
  filter: grayscale(0.8);
  transition: var(--transition);
}
.blog-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.blog-slide:hover .blog-img {
  filter: grayscale(0);
}
.blog-hide-content {
  font-size: 1.2rem;
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  color: var(--white-color);
  background-color: var(--prime-color);
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  transition: var(--transition);
}
.blog-slide:hover .blog-hide-content {
  transform: translateY(-40px);
}
.blog-content {
  margin-top: 5px;
  padding: 5%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 5px;
}
.blog-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--pera-color);
  transition: var(--transition);
}
.blog-content h2:hover {
  color: var(--prime-color);
  cursor: pointer;
}
.blog-content p {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-color);
}
/* CONTACT SECTION */
.contact {
  flex-direction: column;
  gap: 5rem;
}
.contact-inputs {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.inputs {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
}
input {
  width: 100%;
  height: 50px;
  background-color: transparent;
  border: 1px solid rgba(131, 131, 131, 0.5);
  outline: none;
  padding-left: 5%;
  font-size: 1.4rem;
  border-radius: 1rem;
  color: var(--pera-color);
  transition: var(--transition);
  &::placeholder {
    color: #999;
  }
}
input:hover,
input:focus {
  border: 1px solid var(--prime-color);
}
textarea {
  width: 50%;
  height: 17rem;
  background-color: transparent;
  border: 1px solid rgba(131, 131, 131, 0.5);
  outline: none;
  padding: 1.5%;
  font-size: 1.4rem;
  border-radius: 1rem;
  color: var(--pera-color);
  transition: var(--transition);
  &::placeholder {
    color: #999;
  }
}
textarea:hover,
textarea:focus {
  border: 1px solid var(--prime-color);
}
.contact-btn button {
  width: 20rem;
  font-size: 1.6rem;
}
.address-det {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  place-content: center;
  place-items: center;
}
.address-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2px;
}
.address-box i {
  width: 70px;
  height: 70px;
  font-size: 4rem;
  border-radius: 50%;
  color: var(--prime-color);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}
.address-box:hover i {
  color: var(--white-color);
  background-color: var(--prime-color);
  margin: 1rem 0;
  cursor: pointer;
}
.address-box h2 {
  color: var(--prime-color);
  font-size: 1.8rem;
  font-weight: 600;
}
.address-box p {
  color: var(--text-color);
  font-size: 1.4rem;
  font-weight: 400;
}
/* FOOTER COPYRIGHTS */
.footer {
  width: 100%;
  background: var(--pera-color);
  padding: 6rem 12% 2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.footer-top {
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 5rem;
}
.footer-box h2 {
  font-size: 3rem;
  color: var(--white-color);
  margin-bottom: 2rem;
  position: relative;
}
.footer-box h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.8rem;
  width: 5rem;
  height: 3px;
  background: var(--prime-color);
  border-radius: 20px;
}
.footer-box h3 {
  font-size: 2rem;
  color: var(--white-color);
  margin-bottom: 2rem;
  position: relative;
}
.footer-box h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.8rem;
  width: 5rem;
  height: 3px;
  background: var(--prime-color);
  border-radius: 20px;
}
.footer-role {
  font-size: 1.5rem;
  color: var(--prime-color);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.footer-text {
  font-size: 1.45rem;
  line-height: 2.7rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 42rem;
}
.footer-box ul {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.footer-box ul li {
  list-style: none;
}
.footer-box ul li a,
.footer-box ul li {
  font-size: 1.45rem;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
}
.footer-box ul li a:hover {
  color: var(--prime-color);
  padding-left: 0.8rem;
}
.footer-box ul li:hover {
  color: var(--prime-color);
  padding-left: 0.8rem;
  cursor: default;
}
/* SOCIAL ICONS */
.footer-social {
  display: flex;
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.footer-social a {
  width: 4.3rem;
  height: 4.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white-color);
  font-size: 1.8rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--prime-color);
  transform: translateY(-5px);
}
.footer-social i {
  pointer-events: none;
}
/* FOOTER BOTTOM */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.75);
}
.footer-bottom span {
  color: var(--prime-color);
  font-weight: 600;
}
/* MQ SECTION */
@media (min-width: 1300px) {
  .about-small {
    top: 72%;
    right: -5%;
  }
}
@media (max-width: 1250px) {
  .about-small {
    top: 65%;
    right: -5%;
  }
}
/* LARGE DEVICES (1200px) */
@media (max-width: 1200px) {
  section {
    padding: 5% 8%;
  }
  nav {
    padding: 0 8%;
  }
  .hero-image img {
    height: 60vh;
  }
  .hero-content {
    width: 100%;
  }
  .menu {
    gap: 1.8rem;
  }
  .social_icon {
    gap: 1rem;
  }
  .social_icon i {
    width: 3.4rem;
    height: 3.4rem;
    font-size: 1.4rem;
  }
  .about-small {
    top: 65%;
    right: -5%;
  }
  .services-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
  }
  .portfolio-images {
    grid-template-columns: repeat(3, 1fr);
  }
  .category button {
    font-size: 1.3rem;
  }
  .footer-top {
    gap: 4rem;
  }
}
/* TABLET & SMALL LAPTOP (992px) */
@media (max-width: 992px) {
  /* NAVBAR */
  .bars {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    font-size: 2rem;
    background: var(--prime-color);
    color: var(--white-color);
    border-radius: 0.8rem;
    cursor: pointer;
  }
  nav {
    position: relative;
  }
  .menu {
    position: absolute;
    top: 100%;
    left: -100%;
    width: 100%;
    height: calc(100vh - 100%);
    background: var(--white-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem 8%;
    gap: 2rem;
    transition: 0.4s;
    opacity: 0;
  }
  .menu li {
    width: 100%;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  .show-nav {
    left: 0;
    opacity: 1;
  }
  .social_icon {
    display: none;
  }
  /* HERO */
  header,
  .testimonial {
    border-bottom-left-radius: 50% 12%;
    border-bottom-right-radius: 50% 12%;
  }
  .hero-image img {
    height: 55vh;
  }
  .hero-content {
    width: 100%;
  }
  /* ABOUT */
  .about {
    padding-top: 4rem;
    padding-bottom: 0 !important;
  }
  .about-image {
    width: 50%;
    height: 45vh;
  }
  .about-content {
    width: 50%;
  }
  .about-small {
    width: 14rem;
    height: 14rem;
    top: 65%;
    right: -5%;
  }
  .about-content button {
    margin: 1rem 0 0;
  }
  .about-bottom {
    margin-top: 1rem;
  }
  /* SERVICES */
  .services-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  /* PORTFOLIO */
  .category {
    gap: 1rem;
  }
  .category button {
    font-size: 1.2rem;
    white-space: nowrap;
  }
  .portfolio-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .portfolio-image {
    height: 19rem;
  }
  .portfolio-content p {
    min-height: 50px;
  }
  /* BLOG */
  .blogSwiper {
    width: 100%;
  }
  /* CONTACT */
  .address-det {
    grid-template-columns: repeat(3, 1fr);
  }
  /* FOOTER */
  .footer-top {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
/* TABLETS (768px) */
@media (max-width: 768px) {
  section {
    padding: 6% 6%;
  }
  /* HERO SECTION */
  header {
    height: auto;
    min-height: auto;
    border-bottom-left-radius: 50% 8%;
    border-bottom-right-radius: 50% 8%;
    background-attachment: scroll;
  }
  .hero-content {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    padding: 9rem 8% 9rem;
    gap: 2rem;
  }
  .hero-text,
  .hero-image {
    width: 100%;
  }
  .hero-text {
    height: auto;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  .hero-image {
    margin-top: 0;
  }
  .hero-image img {
    width: 70%;
    max-width: 350px;
    height: auto;
  }
  .hero-text h2 {
    font-size: 1.7rem;
  }
  .hero-text h1 {
    font-size: 3.6rem;
    line-height: 4.6rem;
  }
  .hero-text p {
    width: 90%;
    font-size: 1.4rem;
  }
  .hero-text button {
    margin-top: 1rem;
  }
  /* ABOUT */
  .about {
    padding-top: 4rem;
    padding-bottom: 0 !important;
  }
  .about-top {
    gap: 3rem;
  }
  .about-image {
    width: 48%;
    height: 38rem;
  }
  .about-image > img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
  }
  .about-small {
    position: absolute;
    width: 11rem;
    height: 11rem;
    object-fit: cover;
    border-radius: 1rem;
    top: 75%;
    right: -1.2rem;
  }
  .about-content {
    width: 48%;
    gap: 1rem;
  }
  .about-content button {
    margin: 1rem 0 0;
  }
  /* ABOUT SKILLS */
  .about-bottom {
    margin-top: 1rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .show-skills {
    max-height: 30rem;
  }
  .skill-box h2 {
    font-size: 1.3rem;
  }
  /* SERVICES */
  .services-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  /* TESTIMONIAL */
  .testimonial {
    border-bottom-left-radius: 50% 8%;
    border-bottom-right-radius: 50% 8%;
  }
  /* PORTFOLIO */
  .category {
    flex-wrap: wrap;
    justify-content: center;
  }
  .category button {
    width: calc(50% - 0.5rem);
    font-size: 1.3rem;
  }
  .portfolio-images {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-image {
    height: 18rem;
  }
  .portfolio-content h3 {
    font-size: 1.7rem;
  }
  .portfolio-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    min-height: 40px;
  }
  /* CONTACT */
  .contact-inputs {
    flex-direction: column;
  }
  .inputs,
  textarea {
    width: 100%;
  }
  .address-det {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  /* FOOTER */
  .footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
    justify-items: center;
  }
  .footer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-box h2::after,
  .footer-box h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-social {
    justify-content: center;
  }
}
/* MOBILE DEVICES (576px) */
@media (max-width: 576px) {
  section {
    padding: 5% 5%;
  }
  /* HERO */
  header {
    height: auto;
    min-height: auto;
    border-bottom-left-radius: 50% 6%;
    border-bottom-right-radius: 50% 6%;
  }
  .hero-content {
    padding: 7rem 5% 7rem;
    gap: 2rem;
    margin-top: 0;
    margin-bottom: 0;
  }
  .hero-image img {
    width: 80%;
    max-width: 300px;
    height: auto;
  }
  .hero-text h2 {
    font-size: 1.5rem;
  }
  .hero-text h1 {
    font-size: 3rem;
    line-height: 3.8rem;
  }
  .hero-text p {
    width: 100%;
    font-size: 1.3rem;
  }
  /* ABOUT */
  .about {
    padding-bottom: 0 !important;
  }
  .about-top {
    flex-direction: column;
    gap: 3rem;
  }
  .about-image,
  .about-content {
    width: 100%;
  }
  .about-image {
    height: 38rem;
  }
  .about-small {
    width: 11rem;
    height: 11rem;
    right: -1rem;
    top: 74%;
  }
  .about-content {
    text-align: center;
    align-items: center;
  }
  .about-content h1 {
    font-size: 3rem;
  }
  .about-content p {
    font-size: 1.2rem;
  }
  .about-content button {
    margin: 1rem 0 0;
  }
  /* ABOUT SKILLS */
  .about-bottom {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 0;
  }
  .show-skills {
    max-height: 60rem;
  }
  /* SERVICES */
  .headings h1 {
    font-size: 3rem;
  }
  .headings h2 {
    font-size: 1.2rem;
  }
  .services-cards {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  /* HireMe */
  .hireMe h1 {
    font-size: 3rem;
  }
  /* TESTIMONIAL */
  .testimonial {
    border-bottom-left-radius: 50% 6%;
    border-bottom-right-radius: 50% 6%;
  }
  /* PORTFOLIO */
  .category {
    gap: 1rem;
  }
  .category button {
    width: calc(50% - 0.5rem);
    font-size: 1.2rem;
  }
  .portfolio-images {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .portfolio-image {
    height: 32rem;
  }
  .portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .portfolio-content h3 {
    font-size: 1.8rem;
  }
  .portfolio-content p {
    font-size: 1.3rem;
    min-height: 0;
  }
  /* BLOG */
  .blogSwiper {
    width: 100%;
  }
  .blog-img {
    height: 32rem;
    justify-content: center;
  }
  .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* CONTACT */
  .address-det {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-content h1 {
    font-size: 3rem;
  }
  /* FOOTER */
  .footer {
    padding-top: 5rem;
  }
  .footer-box h2 {
    font-size: 2.4rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .footer-bottom p {
    font-size: 1.3rem;
  }
}
@media (max-width: 530px) {
  /* Portfolio */
  .portfolio-image {
    height: 29rem;
  }
  /* Blog */
  .blog-img {
    height: 29rem;
    justify-content: center;
  }
}
@media (max-width: 490px) {
  /* Portfolio */
  .portfolio-image {
    height: 26rem;
  }
  /* Blog */
  .blog-img {
    height: 26rem;
  }
}
@media (max-width: 435px) {
  /* Portfolio */
  .portfolio-image {
    height: 24rem;
  }
  /* Blog */
  .blog-img {
    height: 24rem;
  }
}
/* SMALL MOBILE DEVICES (400px) */
@media (max-width: 400px) {
  section {
    padding: 5%;
  }
  /* HERO */
  .hero-content {
    padding: 6rem 5% 6rem;
  }
  .hero-image img {
    width: 80%;
    max-width: 260px;
  }
  .hero-text h2 {
    font-size: 1.4rem;
  }
  .hero-text h1 {
    font-size: 2.7rem;
    line-height: 3.3rem;
  }
  .hero-text p {
    font-size: 1.2rem;
  }
  .hero-text button {
    font-size: 1.4rem;
    padding: 1rem 2.2rem;
  }
  /* ABOUT */
  .about-image {
    height: 34rem;
  }
  .about-small {
    width: 9rem;
    height: 9rem;
    top: 77%;
    right: -0.7rem;
  }
  .about-content h1 {
    font-size: 2.7rem;
  }
  .about-content p {
    font-size: 1.2rem;
  }
  /* SERVICES */
  .headings h1,
  .hireMe h1,
  .contact-content h1 {
    font-size: 2.7rem;
  }
  .services-cards {
    gap: 2rem;
  }
  /* PORTFOLIO */
  .category button {
    font-size: 1.1rem;
    padding: 1rem;
  }
  .portfolio-image {
    height: 22rem;
  }
  .portfolio-content h3 {
    font-size: 1.6rem;
  }
  .portfolio-content p {
    font-size: 1.2rem;
  }
  /* BLOG */
  .blog-img {
    height: 22rem;
  }
  .blog-content h2 {
    font-size: 1.6rem;
  }
  .blog-content p {
    font-size: 1.2rem;
  }
  /* CONTACT */
  .address-box {
    padding: 2rem;
  }
  /* FOOTER */
  .footer-box h2 {
    font-size: 2.2rem;
  }
  .footer-box h3 {
    font-size: 1.8rem;
  }
  .footer-bottom p {
    font-size: 1.2rem;
  }
}
@media (max-width: 370px) {
  /* Portfolio */
  .portfolio-image {
    height: 20rem;
  }
  /* Blog */
  .blog-img {
    height: 20rem;
  }
}
@media (max-width: 340px) {
  /* Portfolio */
  .portfolio-image {
    height: 18rem;
  }
  /* Blog */
  .blog-img {
    height: 18rem;
  }
}
