/*about us*/

:root {
  --header-height: 3.5rem;
  --first-color: hsl(14, 98%, 50%);
  --black-color: hsl(0, 0%, 0%);
  --black-color-light: hsl(0, 0%, 40%);
  --white-color: hsl(0, 0%, 95%);
  --title-color: hsl(0, 0%, 0%);
  --text-color: hsl(0, 0%, 35%);
  --text-color-light: hsl(0, 0%, 64%);
  --body-color: hsl(0, 0%, 87%);
  --container-color: hsl(0, 0%, 83%);


  --body-font: "Bai Jamjuree", sans-serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 1.75rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 768px) {
  :root {
    --biggest-font-size: 4.5rem;
    --h1-font-size: 3rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}



.about__image img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== THEME ===============*/
.nav__buttons {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.change-theme {
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
  transition: color .3s;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container-about {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section__title-1,
.section__title-2 {
  position: relative;
  font-size: var(--h1-font-size);
  width: max-content;
  margin: 0.75rem auto 2rem;
}

.section__title-1 span,
.section__title-2 span {
  z-index: 5;
  position: relative;
}

.section__title-1::after,
.section__title-2::after {
  content: "";
  width: 40px;
  height: 28px;
  background-color: hsl(354deg 68.95% 61.96%);
  position: absolute;
  top: -4px;
  right: -8px;
}

.section__title-2::after {
  top: initial;
  bottom: -4px;
}

.geometric-box {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: hsl(354.07deg 80.43% 59.76%);
  rotate: -30deg;
}

.geometric-box::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid var(--black-color);
  left: -5px;
  top: -5px;
}


/*=============== BUTTON ===============*/
.button-ab,
.button__ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
}

.button-ab {
  background-color: var(--black-color);
  padding: 1.1rem 1.5rem;
  color: var(--white-color);
  font-weight: var(--font-medium);
  border-radius: 0.75rem;
  transition: background-color 0.4s;
  font-size: 15px;
}

.button-ab i {
  font-size: 1.25rem;
}

.button-ab:hover {
  background-color: var(--first-color);
  color: white;
}

.button__ghost {
  border: 3px solid var(--black-color);
  color: var(--black-color);
  padding: 0.5rem;
  border-radius: 0.7rem;
  transition: border 0.4s, color 0.4s;
}

.button__ghost i {
  font-size: 1.25rem;
}

.button__ghost:hover {
  border: 3px solid var(--first-color);
}

/*=============== ABOUT ===============*/
.about-about {
  transition: background-color 0.4s;
}

.about__container {
  row-gap: 0;
}

.about__perfil {
  position: relative;
  justify-self: center;
  margin-block: 2.5rem 4.5rem;
}

.about__image {
  width: 220px;
}

.about__img {
  position: relative;
  border: 4px solid var(--white-color);
  z-index: 1;
  border-radius: 0.75rem;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 24px;
}

.about__shadow,
.about__line,
.about__box {
  position: absolute;
  border-radius: 0.75rem;
}

.about__shadow {
  width: 150px;
  height: 385px;
  background-color: var(--body-color);
  top: -2.5rem;
  right: -3.5rem;
  border-bottom: 4px solid var(--first-color);
  transition: background-color 0.4s;
}

.about__perfil .geometric-box {
  top: 1.5rem;
  right: -2.8rem;
}

.about__line {
  filter: invert(1);
  right: -1.25rem;
  top: 6rem;
  width: 50px;
  transition: filter 0.4s;
}

.about__box {
  width: 40px;
  height: 40px;
  background-color: hsl(353.33deg 75.61% 58.04%);
  right: -0.5rem;
  bottom: 1.5rem;
}

.about__info {
  padding-left: 1.25rem;
}

.about__description {
  position: relative;
  color: var(--title-color);
  margin-bottom: 1.5rem;
}

.about__description::after {
  content: "";
  width: 20px;
  height: 1px;
  background-color: var(--title-color);
  position: absolute;
  left: -1.75rem;
  top: 0.5rem;
}

@media(max-width:1200px) {
  .about__description {
    color: white;
   
    margin-top: 1.5rem;
    font-size: 1.7rem;
    line-height: 1.6;
    
  }

  .card-header-one {
    font-size: 31px !important;
  }

  .button-ab {
    background-color: hsl(14, 98%, 50%);
  }

  .card-header-one {
    font-size: 19px !important;

  }
  

}

.about__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1rem;
}

/*=============== MEDIA QUERIES ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container-about {
    margin-inline: 1rem;
  }

  .about__image {
    width: 180px;
  }

  .about__shadow {
    height: 330px;
    right: -2.5rem;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .about__container {
    grid-template-columns: 350px;
    justify-content: center;
  }
}

/* For large devices */
@media(max-width:800px) and (min-width:600px) {
  .about__container {
    grid-template-columns: 602px;
    justify-content: center;
  }

  .card-header-one {
    font-size: 20px !important;
  }
  .section__title-1 span, .section__title-2 span {
    font-size: 3rem;
    z-index: 5;
    position: relative;
}

}

@media (max-width:1030px) {
  .about__description {
    margin-bottom: 2rem;
    color: white;
    font-size: 1.7rem;
    line-height: 1.6;
  }
}

/* For large devices */
@media screen and (min-width: 1150px) {
  .container-about {
    margin-inline: auto;
  }

  .about__container {
    grid-template-columns: 460px 525px;
    gap: 1rem 9rem;
    align-items: center;
    padding-block: 1rem;
  }

  .about__perfil {
    order: -1;
    grid-row: 1 / 3;
  }

  .about__image {
    width: 350px;
  }

  .about__img {
    border: 6px solid var(--white-color);
  }

  .about__shadow {
    width: 240px;
    height: 615px;
    top: -4rem;
    right: -5.5rem;
    border-bottom: 6px solid hsl(353.33deg 75.61% 58.04%);
  }

  .about__perfil .geometric-box {
    right: -4rem;
    top: 4.5rem;
  }

  .about__line {
    width: 80px;
    right: -2rem;
    top: 10rem;
  }

  .about__box {
    width: 64px;
    height: 64px;
    right: -.75rem;
  }

  .about__container .section__title-1 {
    align-self: flex-end;
    margin-inline: 0;
  }

  .about__info {
    align-self: flex-start;
    padding-left: 3rem;
  }

  .about__description {
    margin-bottom: 2rem;
    font-size: 1.7rem;
    line-height: 1.6;
  }

  .about__description::after {
    width: 32px;
    height: 2px;
    left: -3rem;
    top: 14px;
  }

  .about__buttons {
    justify-content: initial;
  }

  .button__ghost {
    padding: 0.75rem;
  }

  .button__ghost i {
    font-size: 1.5rem;
  }
}


/*about us end*/

/*service*/
.section-head {
  margin-bottom: 60px;
  }
  .section-head h4 {
  position: relative;
  padding:0;
  color:#f91942;
  line-height: 1;
  letter-spacing:0.3px;
  font-size: 34px;
  font-weight: 700;  
  text-align:center;
  text-transform:none;
  margin-bottom:30px;
  }
  .section-head h4:before {
  content: '';
  width: 60px;
  height: 3px;
  background: #f91942;
  position: absolute;
  left: 0px;
  bottom: -10px;
  right:0;  
  margin:0 auto;
  }
  .section-head h4 span {
  font-weight: 700;
  padding-bottom: 5px;
  color:#2f2f2f
  }
  p.service_text{
  color:#cccccc !important;
  font-size:16px;
  line-height:28px;
  text-align:center;    
  }
  .section-head p, p.awesome_line{
  color:#818181;
  font-size:16px;
  line-height:28px;
  text-align:center;  
  }
  
  .extra-text {
    font-size:34px;
    font-weight: 700;
    color:#2f2f2f;
    margin-bottom: 25px;
    position:relative;
    text-transform: none;
  }
  .extra-text::before {
    content: '';
    width: 30px;
    height: 3px;
    background: #f91942;
    position: absolute;
    left: 0px;
    bottom: -10px;
    right: 0;
    margin: 0 auto;
  }
  .extra-text span {
    font-weight: 700;
    color:#f91942;
  }
  .item_about {
    /* background: #fff; */
    text-align: center;
    padding: 30px 25px;
    /* -webkit-box-shadow:0 0px 25px rgba(0, 0, 0, 0.07); */
    /* box-shadow:0 0px 25px rgba(0, 0, 0, 0.07); */
    /* border-radius: 20px; */
    /* border:5px solid rgba(0, 0, 0, 0.07); */
    margin-bottom: 5px;
    -webkit-transition: all .5s ease 0;
    transition: all .5s ease 0;
    transition: all 0.5s ease 0s;
  }
  .item_about:hover{
    /* background:#f91942; */
    /* box-shadow:0 8px 20px 0px rgba(0, 0, 0, 0.2); */
    -webkit-transition: all .5s ease 0;
    transition: all .5s ease 0;
    transition: all 0.5s ease 0s;
  }
  .item_about:hover .item_about, .item_about:hover span.icon{
    /* background:#fff; */
    border-radius:10px;
    -webkit-transition: all .5s ease 0;
    transition: all .5s ease 0;
    transition: all 0.5s ease 0s;
  }
  .item_about:hover h6, .item_about:hover p{
    /* color:#fff; */
    -webkit-transition: all .5s ease 0;
    transition: all .5s ease 0;
    transition: all 0.5s ease 0s;
  }
  .item_about .icon {
    font-size: 40px;
    margin-bottom:25px;
    color: #f91942;   
    width: 90px;
    height: 90px;
    line-height: 96px;
    border-radius: 50px;
  }
  .item_about .feature_box_col_one{
    /* background:rgba(247, 198, 5, 0.20); */
    background: linear-gradient(145deg, #55566a 0%, #2a2a4b 76%); 
  
    color:#f91942
  }
  .item_about .feature_box_col_two{
    background: linear-gradient(145deg, #55566a 0%, #2a2a4b 76%); 
    color:#f91942
  }
  .item_about .feature_box_col_three{
    background: linear-gradient(145deg, #55566a 0%, #2a2a4b 76%); 
  
    color:#f91942
  }
  .item_about .feature_box_col_four{
    background: linear-gradient(145deg, #55566a 0%, #2a2a4b 76%); 
  
    color:#f91942
  }
  .item_about .feature_box_col_five{
    background:rgba(146, 39, 255, 0.15);
    color:#f91942
  }
  .item_about .feature_box_col_six{
    background:rgba(23, 39, 246, 0.15);
    color:#f91942
  }
  .item_about p{
    font-size:15px;
    line-height:26px;
  }
  .item_about h6 {
    margin-bottom:20px;
    color:#2f2f2f;
  }
  .mission p {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 28px;
    font-weight: 500;
  }
  .mission i {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: #f91942;
    border-radius: 50%;
    color: #fff;
    font-size: 25px;
  }
  .mission .small-text {
    margin-left: 10px;
    font-size: 13px;
    color: #666;
  }
  .skills {
    padding-top:0px;
  }
  .skills .prog-item_about {
    margin-bottom: 25px;
  }
  .skills .prog-item_about:last-child {
    margin-bottom: 0;
  }
  .skills .prog-item_about p {
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 10px;
  }
  .skills .prog-item_about .skills-progress {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius:20px;
    position: relative;
  }
  .skills .prog-item_about .skills-progress span {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #f91942;
    width: 10%;
    border-radius: 10px;
    -webkit-transition: all 1s;
    transition: all 1s;
  }
  .skills .prog-item_about .skills-progress span:after {
    content: attr(data-value);
    position: absolute;
    top: -5px;
    right: 0;
    font-size: 10px;
    font-weight:600;    
    color: #fff;
    background:rgba(0, 0, 0, 0.9);
    padding: 3px 7px;
    border-radius: 30px;
  }
  .card_about_img{
    width:55%
    
  }
  /*service end*/