

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}
:root{
  --color-primary: #191d2b;
  --color-secondary: #27AE60;
  --Color-white: #FFFFFF;
  --color-black: #000;
  --color-grey-0: #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,.3);
}
 .light-mode{
    --color-primary: #FFFFFF;
    --color-secondary: #F56692;
    --Color-white: #454e56;
    --color-black: #000;
    --color-grey-0: #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;
  }


body{
  background-color: var(--color-primary);
  font-family: 'poppins',sans-serif;
  font-size: 1.1rem;
  color:var(--Color-white);
  transition: .4s ease-in-out;
  overflow-x: hidden;
}
a{
  display: inline-block;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
}
header{
 min-height: 100vh;
  font-family: 'poppins', sans-serif;
  color: var(--Color-white);
  overflow: hidden;

}
section{
  min-height: 100vh;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  padding: 3rem 18rem;
}
.section{
  transform: translateY(-100%) scale(0);
  transition: all .4s ease-in-out;
  background-color: var(--color-primary);
}
.sec1{
  display: none;
  transform: translateY(0) scale(1);
}
.sec2{
  display: none;
  transform: translateY(0) scale(1);
}
.sec3{
  display: none;
  transform: translateY(0) scale(1);
}
.sec4{
  display: none;
  transform: translateY(0) scale(1);
}
.sec5{
  display: none;
  transform: translateY(0) scale(1);
}
@keyframes scaleAnim {
  0% {
    transform: translateY(-100%) scaleY(0);
  }
  100% {
    transform: translateY(0) scaleY(1);
  }
}

.active {
  display: block;
  animation: scaleAnim 1s ease-in-out;
}

/* controls*/
.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 .active-btn {
  background-color: var(--color-secondary) !important; /* Replaced var(--color-secondary) */
  transition: all 0.4s ease-in-out;
}

.controls .active-btn i {
  color: var(--Color-white) !important; /* Replaced var(--Color-white) */
}

.controls .control {
  background-color: var(--color-grey-4); /* Replaced var(--color-grey-4) */
  border-radius: 50%;
  cursor: pointer;
  padding: 1rem; /* Replaced 1rem */
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 8px .5rem; /* Replaced .5rem */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Basic box-shadow, approximation of var(--box-shadow-1) */
}

.controls .control i {
  font-size: 1.2rem;
  color: var(--color-grey-2); /* Replaced var(--color-grey-2) */
  pointer-events: none;
}
  






.theme-btn {
  top: 5%;
  right: 3%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--color-grey-4); /* Replaced 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.1s ease-in-out;
}

.theme-btn:active {
  transform: translateY(-3px);
}

.theme-btn i {
  font-size: 1.1rem;
  color: var(--color-grey-2); /* Replaced var(--color-grey-2) */
  pointer-events: none;
}


/*header-content*/
.header-content {
  display: grid;
  grid-template-columns: 50% 50%; /* Using percentages for more basic compatibility */
  min-height: 100vh;
}

.left-header {
  display: flex;
  align-items: center;
  position: relative;
}

.h-shape {
  transition: all 0.4s ease-in-out;
  width: 65%;
  height: 100%;
  background-color: var(--color-secondary); /* Replaced var(--color-secondary) with a hex color */
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  clip-path: polygon(0 0, 46% 0, 79% 100%, 0% 100%);
}

.image {
  border-radius: var(--br-sm-2); /* Replaced var(--br-sm-2) with a pixel value */
  height: 90%;
  width: 68%;
  margin-left: 4rem; /* Replaced 4rem with 64px (1rem = 16px default) */
  background-color: var(--color-primary);
  transition: all 0.4s ease-in-out;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease-in-out;
  filter: grayscale(100%);
  border-radius: 5px;
}

.image:hover img { /* Corrected selector nesting */
  filter: grayscale(0);
}


.right-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 18rem; /* Replaced 18rem with 288px */
}

.right-header .name { /* Added .right-header */
  font-size: 3rem; /* Replaced 3rem with 48px */
}

.right-header .name span { /* Added .right-header */
  color: var(--color-secondary); /* Replaced var(--color-secondary) */
}

.right-header p { /* Added .right-header */
  margin: 1.5rem 0; /* Replaced 1.5rem with 24px */
  line-height: 2rem; /* Replaced 2rem with 32px */
}





/* About*/
.about-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding-top: 56px;  /* Changed from 3.5rem to 56px (3.5 * 16) */
  padding-bottom: 80px; /* Changed from 5rem to 80px (5 * 16) */
}

.about-container .right-about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 32px;    /* Changed from 2rem to 32px (2 * 16) */
}

.about-container .right-about .about-item {
  border: 1px solid var(--color-grey-5);  /* Changed from var(--color-grey-5) to #ccc */
  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);  /* Changed from var(--color-secondary) to #4CAF50 */
  box-shadow: 1px 4px 15px rgba(0, 0, 0, 0.32);
}

.about-container .right-about .about-item .abt-text {
  padding: 24px;      /* Changed from 1.5rem to 24px (1.5 * 16) */
  display: flex;
  flex-direction: column;
}

.about-container .right-about .about-item .abt-text .large-text {
  font-size: 48px;     /* Changed from 3rem to 48px (3 * 16) */
  font-weight: 700;
  color: var(--color-secondary);      /* Changed from var(--color-secondary) to #4CAF50 */
}

.about-container .right-about .about-item .abt-text .small-text {
  padding-left: 48px;  /* Changed from 3rem to 48px (3 * 16) */
  position: relative;
  text-transform: uppercase;
  font-size: 19.2px;  /* Changed from 1.2rem to 19.2px (1.2 * 16) */
  color: var(--color-grey-1);          /* Changed from var(--color-grey-1) to #999 */
  letter-spacing: 2px;
}

.about-container .right-about .about-item .abt-text .small-text::before {
  content: '';
  position: absolute;
  left: 0;
  top: 31px;       /* Changed from 15px to 31px (15 + 16) */
  width: 32px;      /* Changed from 2rem to 32px (2 * 16) */
  height: 2px;
  background-color: var(--color-grey-5);  /* Changed from var(--color-grey-5) to #ccc */
}

.about-container .left-about {
  padding-right: 32px;  /* Changed from 2rem to 32px (2 * 16) and added .about-container */
}

.about-container .left-about p {
  line-height: 32px;    /* Changed from 2rem to 32px (2 * 16) and added .about-container */
  padding: 16px;      /* Changed from 1rem to 16px (1 * 16) and added .about-container */
  color: var(--color-grey-1);          /* Changed from var(--color-grey-1) to #999 and added .about-container */
}

.about-container .left-about h4 {
  font-size: 32px;    /* Changed from 2rem to 32px (2 * 16) and added .about-container */
  text-transform: uppercase;
}

.about-stats {
  padding-bottom: 32px;  /* Changed from 2rem to 32px (2 * 16) */
}

.about-stats .progress-bars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 32px;    /* Changed from 2rem to 32px (2 * 16) */
}

.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;
  margin-left: 64px;  /* Changed from 4rem to 64px (4 * 16) */
}

.about-stats .progress-bars .progress-bar .progress-con {
  display: flex;
  align-items: center;
}

.about-stats .progress-bars .progress-bar .progress-con .prog-text {
  margin-left: 64px;  /* Changed from 4rem to 64px (4 * 16) */
  color: var(--color-grey-2);          /* Changed from var(--color-grey-2) to #666 */
}

.about-stats .progress-bars .progress-bar .progress-con .progress {
  width: 100%;
  height: 7px;       /* Changed from .45rem to 7px (0.45 * 16 ≈ 7) */
  background-color: var(--color-grey-4);  /* Changed from var(--color-grey-4) to #ddd */
  margin-left: 16px;  /* Changed from 1rem to 16px (1 * 16) */
  position: relative;
}

.about-stats .progress-bars .progress-bar .progress-con .progress span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--color-secondary);  /* Changed from var(--color-secondary) to #4CAF50 */
  transition: all 0.4s ease-in-out;
  width: 60%;
}

.about-stats .progress-bars .progress-bar .progress-con .progress .html {
  width: 90%;
}

.about-stats .progress-bars .progress-bar .progress-con .progress .css {
  width: 80%;
}

.about-stats .progress-bars .progress-bar .progress-con .progress .js {
  width: 75%;
}

.about-stats .progress-bars .progress-bar .progress-con .progress .react {
  width: 60%;
}

.about-stats .progress-bars .progress-bar .progress-con .progress .pyton {
  width: 70%;
}

.about-stats .progress-bars .progress-bar .progress-con .progress .node {
  width: 80%;
}

.stat-title {
  text-transform: uppercase;
  font-size: 22.4px;  /* Changed from 1.4rem to 22.4px (1.4 * 16) */
  text-align: center;
  padding: 56px 0;    /* Changed from 3,5rem to 56px (3.5 * 16) */
  position: relative;
}

.stat-title::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 40%;
  height: 1px;
  background-color: var(--color-grey-5);  /* Changed from var(--color-grey-5) to #ccc */
  transform: translateX(-50%);
}

/*Timeline*/
.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 32px;      /* Changed from 2rem to 32px (2 * 16) */
  padding-bottom: 48px;  /* Changed from 3rem to 48px (3 * 16) */
}

.timeline .timeline-item {
  position: relative;
  padding-left: 48px;    /* Changed from 3rem to 48px (3 * 16) */
  border-left: 1px solid var(--color-grey-5);  /* Changed from var(--color-grey-5) to #ccc */
}

.timeline .timeline-item .tl-icon {
  position: absolute;
  left: -27px;
  top: 0;
  background-color: var(--color-secondary); /* Changed from var(--color-secondary) to #4CAF50 */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline .timeline-item .tl-icon i {
  font-size: 20.8px;    /* Changed from 1.3rem to 20.8px (1.3 * 16) */
}

.timeline .timeline-item .tl-duration {
  padding: 3.2px 9.6px;      /* Changed from .2rem to 3.2px (0.2 * 16) and 0.6rem to 9.6px (0.6 * 16) */
  background-color: var(--color-grey-5);  /* Changed from var(--color-grey-5) to #ccc */
  border-radius: 15px;
  display: inline-block;
  font-size: 12.8px;    /* Changed from .8rem to 12.8px (0.8 * 16) */
  text-transform: uppercase;
  font-weight: 500;
}

.timeline .timeline-item h5 {
  padding: 16px 0;      /* Changed from 1rem to 16px (1 * 16) */
  text-transform: uppercase;
  font-size: 20.8px;    /* Changed from 1.3rem to 20.8px (1.3 * 16) */
  font-weight: 600;
}

.timeline .timeline-item h5 span {
  color: var(--color-grey-2);          /* Changed from var(--color-grey-2) to #666 */
  font-weight: 500;
  font-size: 19.2px;    /* Changed from 1.2rem to 19.2px (1.2 * 16) */
}

.timeline .timeline-item p {
  color: var(--color-grey-2);          /* Changed from var(--color-grey-2b) to #555 */
}


/*portfolios*/
.port-text {
  padding: 32px 0;        /* Changed from 2rem to 32px (2 * 16) */
  text-align: center;
  margin-left: 96px;      /* Changed from 6rem to 96px (6 * 16) */
}

.portfolios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 0.5rem;        /* Changed from 2rem to 32px (2 * 16) */
  margin-top: 48px;      /* Changed from 3rem to 48px (3 * 16) */
}

.portfolios .portfolio-item {
  position: relative;
}

.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: var(--color-secondary);  /* Changed from var(--color-secondary) to #4CAF50 */
  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.4s ease-in-out;
}

.portfolios .portfolio-item .hover-items h3 {
  font-size: 24px;          /* Changed from 1.5rem to 24px (1.5 * 16) */
  color: var(--Color-white);            /* Changed from var(--Color-white) to #fff */
  margin-bottom: 24px;      /* Changed from 1.5rem to 24px (1.5 * 16) */
}

.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);  /* Changed from var(--color-primary) to #2196F3 */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 16px;        /* Changed from 1rem to 16px (1 * 16) */
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}

.portfolios .portfolio-item .hover-items .icons .icon i {
  font-size: 24px;          /* Changed from 1.5rem to 24px (1.5 * 16) */
  color: var(--Color-white);            /* Changed from var(--Color-white) to #fff */
  margin: 0 16px;        /* Changed from 1rem to 16px (1 * 16) */
}

.portfolios .portfolio-item .hover-items .icons .icon:hover {
  background-color: var(--Color-white);      /* Changed from var(--Color-white) to #fff */
}

.portfolios .portfolio-item .hover-items .icons .icon:hover i {
  color: var(--color-primary);          /* Changed from var(--color-primary) to #2196F3 */
}

.portfolio-item:hover .hover-items {
  opacity: 1;
  transform: scale(1);
}

/*Blogs section*/
.blogs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
  margin-top: 3rem;
}

.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.3s ease-in-out;

  &:hover {
    box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);

    /* Corrected target from .img to img */
    img {
      filter: grayscale(0);
      transform: scale(1.1);
      box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.8);
    }
  }

  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;
  }
  .blog-text{
    margin-top: -7px;
    padding: 1.1rem;
    border-top: 8px solid var(--color-secondary);
    h4{
      font-size: 1.5rem;
      margin-bottom: .7rem;
      transition: all .4s ease-in-out;
      cursor: pointer;
      &:hover{
        color: var(--color-secondary);
      } 
    }
    p{
      color: var(--color-grey-2);
      line-height: 2rem;
      padding-bottom: 1rem;
    }
  }
}

/* contact section*/
.contact-content-con {
  display: flex;
  padding-top: 56px;
}

.contact-content-con .left-contact {
  flex: 2;
}

.contact-content-con .left-contact h4 {
  margin-top: 16px;
  font-size: 32px;
  text-transform: uppercase;
}

.contact-content-con .left-contact p {
  margin: 16px 0;
  line-height: 32px;
}

.contact-content-con .left-contact .contact-info .contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
}

.contact-content-con .left-contact .contact-info .contact-item .icon {
  display: grid;
  grid-template-columns: 40px 1fr;
  flex-shrink: 0;
}

.contact-content-con .left-contact .contact-info .contact-item .icon i {
  display: flex;
  align-items: center;
  font-size: 20.8px;
}
.contact-content-con .left-contact .contact-info .contact-item p {
  margin-top: 0.48px;
  margin-bottom: 0.48px;
  padding: 0;
  flex: 1;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  text-align: right;
}
.contact-content-con .left-contact .contact-info .contact-item p span {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: break-word;
}
.contact-container,
.contact-content-con,
.left-contact {
  max-width: 100%;
  overflow-x: hidden;
}
.contact-content-con .left-contact .contact-icon {
  display: flex;
  margin-top: 32px;
}

.contact-content-con .left-contact .contact-icon a {
  display: flex;
  align-items: center;
  color: var(--color-grey-4);  /* Highlight: Changed from var(--color-grey-4) to #aaa */
  background-color: var(--color-grey-5);  /* Highlight: Changed from var(--color-grey-5) to #ddd */
  cursor: pointer;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 6.4px;
  transition: all 0.4s ease-in-out;
}

.contact-content-con .left-contact .contact-icon a:hover {
  background-color: var(--color-secondary);  /* Highlight: Changed from var(--color-secondary) to #4CAF50 */
}

.contact-content-con .left-contact .contact-icon a:hover i {
  color: var(--color-primary);  /* Highlight: Changed from var(--color-primary) to #2196F3 */
}

.contact-content-con .left-contact .contact-icon a i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20.8px;
}

.contact-content-con .right-contact {
  flex: 3;
  margin-left: 48px;
}

.contact-content-con .right-contact .input-control {
  margin: 24px 0;
}

.contact-content-con .right-contact .input-control input,
.contact-content-con .right-contact .input-control textarea {
  border-radius: 30px;
  font-weight: inherit;
  font-family: inherit;
  padding: 12.8px 17.6px;
  outline: none;
  border: none;
  background-color: var(--color-grey-5);  /* Highlight: Changed from var(--color-grey-5) to #ddd */
  width: 100%;
  color: var(--Color-white);          /* Highlight: Changed from var(--Color-white) to #fff */
  resize: none;
}

.contact-content-con .right-contact .i-c-2 {
  display: flex;
}

.contact-content-con .right-contact .i-c-2 :last-child {
  margin-left: 24px;
}

.contact-content-con .right-contact .submit-btn {
  display: flex;
  justify-content: flex-start;
}

.contact-content-con .right-contact .btn-text {
  color: var(--color-primary);
  font-size: 24px;
}







/* independent component*/
.btn-con {
  display: flex;
  align-self: flex-start;
}

.main-btn {
  border-radius: 30px;
  color: inherit;
  font-size: 600; 
  position: relative;
  border: 1px solid var(--color-secondary);  /* Changed from var(--color-secondary) to #4CAF50 */
  display: flex;
  align-self: flex-start;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.main-btn .btn-text {
  padding: 0 32px;      /* Changed from 2rem to 32px (2 * 16) */
}

.main-btn .btn-icon {
  background-color: var(--color-secondary);  /* Changed from var(--color-secondary) to #4CAF50 */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 16px;          /* Changed from 1rem to 16px (1 * 16) */
}

.main-btn::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  transform: translateX(100%);
  transition: all 0.4s ease-in-out;
  z-index: -1;
}

.main-btn:hover::before {
  width: 100%;
  height: 100%;
  background-color: var(--color-secondary);  /* Changed from var(--color-secondary) to #4CAF50 */
  transform: translateX(0);
}


.main-title {
  text-align: center;
  justify-content: center;
}

.main-title h2 {
  position: relative;
  text-transform: uppercase;
  font-size: 80px;      /* Changed from 5rem to 80px (5 * 16) */
  font-weight: 700;
}

.main-title h2 span {
  color: var(--color-secondary);    /* Changed from var(--color-secondary) to #4CAF50 */
}

.main-title h2 .bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--color-grey-5);      /* Changed from var(--color-grey-5) to #ccc */
  transition: all 0.4s ease-in-out;
  z-index: -1;
  transform: translate(-50%, -50%);
  font-weight: 800;
  font-size: 100.8px;  /* Changed from 6.3rem to 100.8px (6.3 * 16) */
}

@media screen and (max-width: 600px) {
  .port-text{
    margin-left: 0;
    padding: 32px 0;
    text-align: center;
  }
  .contact-container {
    padding-bottom: 6rem;
  }

  .about-container {
    margin-left: 0;
    margin: 0 auto;
    grid-template-columns: 1fr;
  }

  .about-container .right-about {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
  }

  .about-container .left-about {
    padding-right: 0;
  }

  .about-container .left-about p {
    padding-left: 0;
  }

  .timeline {
    grid-template-columns: 1fr;
    padding-bottom: 6rem;
  }

  .portfolios {
    display: grid;
    grid-template-columns: 1fr !important;
    padding-bottom: 6rem;
    
  }

  .blogs {
    display: grid;
    grid-template-columns: 1fr !important;
    padding-bottom: 6rem;
    
  }

  .section {
    padding: 2rem 2.5rem !important;
  }

  .main-title h2 {
    font-size: 2.5rem;
    margin-left: 0;
    text-align: center;

  }

  .main-title h2 span {
    font-size: 2.5rem;
  }

  .main-title h2 .big-text {
    font-size: 3rem;
  }
}

@media screen and (max-width: 1432px) {
  header {
    padding: 0 !important;
  }

  .section {
    padding: 7rem 11rem;
  }

  .contact-content-con {
    flex-direction: column;
    margin-left: 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .contact-content-con .right-contact {
    margin-left: 0;
    margin-top: 2.5rem;
    width: 100%;
  }

  .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;
  }
}

@media screen and (max-width: 1070px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-container .right-about {
    padding-top: 2.5rem;
  }

  .portfolios {
    grid-template-columns: 1fr 1fr;
  }

  .blogs {
    grid-template-columns: 1fr 1fr;
  }

  .main-title h2 {
    font-size: 4rem;
  }

  .main-title h2 span {
    font-size: 4rem;
  }

  .main-title h2 .big-text {
    font-size: 5rem;
  }
}

@media screen and (max-width: 970px) {
  .section {
    padding: 7rem 6rem;
  }

  header {
    padding: 0;
  }

  header .right-header {
    padding: 0 !important;
  }

  .theme-btn {
    width: 50px;
    height: 50px;
  }

  .header-content {
    grid-template-columns: 1fr;
    padding-bottom: 6rem;
    margin-left: 0;
    width: 100%;
  }

  .left-header .h-shape {
    display: none;
  }

  .right-header {
    grid-row: 1;
    width: 90%;
    margin: 0 auto;
  }

  .right-header .name {
    font-size: 2.5rem !important;
  }

  .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: 0.3rem 0.2rem !important;
  }
}

@media screen and (max-width: 700px) {
  .section {
    padding: 7rem 3rem;
  }

  .about-stats .progress-bars {
    grid-template-columns: 1fr;
  }

  .main-title h2 {
    font-size: 3rem;
  }

  .main-title h2 span {
    font-size: 3rem;
  }

  .main-title h2 .bg-text {
    font-size: 4rem;
  }
}
