:root {
  --bg-main: cyan;
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Roboto", sans-serif;
  --transition-speed: 0.3s;
  --bg-gar-1: linear-gradient(to right, #e7a7cb, #a574b2, #e7a7cb);
}
/* 007A7A Breadley Sans
00D4D9
A8FFE7 */
*,
*:before,
*:after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
input,
select,
textarea {
  background-color: transparent;
  outline: none;
}
button {
  cursor: pointer;
  background-color: transparent;
  outline: none;
  border: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
.bg-dark-2{
  background: #000;
}
body {
  min-height: 100vh;
  /* font-weight: 400; */
  font-family: var(--font-primary);
  color: #000;
}
.color-main {
  color: var(--bg-main);
}
.color-main-3 {
  color: #043b3b;
}
.bg-main {
  background-color: var(--bg-main);
}
.border-main {
  border:1px solid var(--bg-main);
}
.font-1 {
  font-family: "Libre Franklin", sans-serif;
}
.font-2 {
  font-family: "font-2";
}
.img-logo {
  max-width: 150px;
  width: 100%;
  display: block;
}
.bg-header.shadow .img-logo {
  max-width: 130px;
}
.bg-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background: url(../images/slider/bg1.png) no-repeat center center/cover;
  background-position: bottom;
  filter: blur(1px);
  pointer-events: none;
}
.bg-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-color: #00000061;
  pointer-events: none;
}
.nav-link {
  color: #fff;
  position: relative;
}
.nav-link.active,
.nav-link:hover {
  color: var(--bg-main);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--bg-main);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-in-out;
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-link::before {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 0.5px;
  background-color: var(--bg-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}
.nav-link.active::before,
.nav-link:hover::before {
  transform: scaleX(1);
  transform-origin: right;
}

.mobile .nav-link::after,
.mobile .nav-link::before {
  display: none;
}
.btn-all {

  padding: 10px 25px;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
    color:#000;
  background-color: var(--bg-main);
  /* border: 1px solid var(--bg-main); */
  position: relative;
  min-width: 150px;
}
.gallery-item-g.active,
.btn-all:hover,
.btn-all:focus {
  background: #000;
  color: #fff;

}

.btn-all::after {
  content: "";
  position: absolute;
  --offset: 4px;
  width: calc(100% + var(--offset) * 2);
  height: calc(100% + var(--offset) * 2);
  top: calc(0% - var(--offset));
  left: calc(0% - var(--offset));
  transform: translate(-4px, -4px);

  inset: 0;
  border: 1px solid var(--bg-main);
  --ax: 100%;
  clip-path: polygon(0% 0%, var(--ax) 0%, var(--ax) var(--ax), 0% var(--ax));
  pointer-events: none;
  transition: clip-path 0.3s ease-in-out;
}
.gallery-item-g.active::after,
.btn-all:hover::after,
.btn-all:focus::after {
  --ax: 0%;
}

.btn-all::before {
  content: "";
  position: absolute;
  --offset: 2px;
  width: calc(100% + var(--offset) * 2);
  height: calc(100% + var(--offset) * 2);
  top: calc(0% - var(--offset));
  left: calc(0% - var(--offset));
  transform: translate(-2px, -2px);

  inset: 0;
  border: 1px solid var(--bg-main);
  --ax: 0%;
  clip-path: polygon(0% 0%, var(--ax) 0%, var(--ax) var(--ax), 0% var(--ax));
  pointer-events: none;
  transition: clip-path 0.3s ease-in-out;
  transition-delay: .3s;
}
.gallery-item-g.active::before,

.btn-all:hover::before,
.btn-all:focus::before {
  --ax: 100%;
}


.slider-main{
  min-height: 70vh;
  
}
.slider-main::before{
background: url(../images/slider/bg1.png) no-repeat center center/cover;
z-index: -1;
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
filter: blur(2px);
}
.bg-slider-1{
    border: 1px solid var(--bg-main);
    position: relative;
}
.bg-slider-2::before,
.bg-slider-1::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  transform: translate(-8px,-8px);
  border: 4px solid var(--bg-main);
  pointer-events: none;
}

.bg-slider-2{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotate(3deg);
  border: 1px solid var(--bg-main);
  pointer-events: none;
  opacity: 0;
}
.check-slider:has(.bg-slider-1.active) .bg-slider-2{
  animation: trace-anim 2s forwards;
}

@keyframes trace-anim {
  0% {
    opacity: 0;
      transform: rotate(3deg) translate(50%, 0%) rotate(180deg);
  }
 
  100% {
    opacity: 1;
  }
}
/* TODO About */
.img-icon-about-us{
  bottom: 0;
  left: 0;
  max-width: 230px;
  animation: float-anim 5s infinite ease-in-out;
}
@keyframes float-anim {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}
.img-about-us::before{
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 20px);
  height: 50%;
  background: var(--bg-main);
  opacity: .4;
  z-index: -1;
}
/* TODo Services */

.category-info{
  /* background: var(--bg-main); */
  color: #000;
  padding: 12px 16px;
}
/* .service-item:hover .category-info{
  background: #000;
  color: #fff;
} */
#ourServices{
  background: url(../images/service.png) no-repeat center center/cover;
}
/* .img-services{
  max-width: 465px;
}

.category-box::before{
  content: "";
  position: absolute;
  top: -200%;
  left: -247px;
  width: 100%;
  height: 300%;
  z-index: 1;
  background: linear-gradient(90deg, transparent , #e6e6e6 , var(--bg-main) , transparent);
  transform: rotate(45deg);
  transition: all 0.3s ease-in-out;
}
.service-item:hover .category-box::before{
    transform: rotate(45deg) translateX(300%);
} */
.img-services::after,
.category-box::after{
   content: "";
  position: absolute;
  --offset: 8px;
  width: calc(100% + var(--offset) * 2);
  height: calc(100% + var(--offset) * 2);
  top: calc(0% - var(--offset));
  left: calc(0% - var(--offset));
  transform: translate(-8px, -8px);

  inset: 0;
  border: 6px solid var(--bg-main);
  --ax: 100%;
  clip-path: polygon(0% 0%, var(--ax) 0%, var(--ax) var(--ax), 0% var(--ax));
  pointer-events: none;
  transition: clip-path 0.3s ease-in-out;
}
.service-item:hover .category-box::after{
    border-radius: 150px ;
 animation: clip-animation 1s forwards;
}
@property --ax {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 100%;
}
@keyframes clip-animation {
  from {
    --ax: 0%;
  }
  to {
    --ax: 100%;
  }
}
.service-item .category-box img{
  transition: all 0.4s ease-in-out;

}
.service-item:hover .category-box img{
  border-radius: 150px ;
}


/* .service-item:hover img{
  filter: brightness(.6);
} */
.item-message{
  margin-left: -100px;
}
/* TODO Gallery */
.gallery-image-box {
  position: relative;
  margin-bottom: 16px;
}
.gallery-image-box::before{
    content: "";
  position: absolute;
  --offset: 4px;
  width: calc(100% + var(--offset) * 2);
  height: calc(100% + var(--offset) * 2);
  top: calc(0% - var(--offset));
  left: calc(0% - var(--offset));
  transform: translate(-4px, -4px);

  inset: 0;
  border: 1px solid var(--bg-main);
  --ax: 100%;
  clip-path: polygon(0% 0%, var(--ax) 0%, var(--ax) var(--ax), 0% var(--ax));
  pointer-events: none;
  transition: clip-path 0.3s ease-in-out;
}
.gallery-image-box img {
  transition: transform 0.3s ease;
}
.gallery-image-box:hover img {
  filter: brightness(.6);
}
.gallery-image-box i{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.grid-container {
     column-count: 4;
      column-gap: 16px;
    }

.gallery-image-box:hover i {
  opacity: 1;
}
#ourPhoto{
  background: url(../images/photo.jpg) no-repeat center center/cover;
}
#contactUs{
  background: url(../images/contact-bg.jpg) no-repeat center center/cover;
}
.form-contact::before{
  content: "";
  position: absolute;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff71;
  filter: blur(2px);
  pointer-events: none;
}
.bg-testimonials{
  background: url(../images/bg-review.jpg) no-repeat center center/cover;
}
/* Todo Footer */
.bg-footer{
  background: url(../images/footer.png) no-repeat center center/cover;
}
@media (max-width: 990.99px) {
  .item-message{
  margin-left: 0px;
}
}
@media (max-width: 767.99px) {
   .img-contact{
      position: unset !important;
    }
}

@media (max-width: 984px) {
  .grid-container {
     column-count: 3;
      column-gap: 16px;
    }
}
@media (max-width: 576px) {
    .grid-container {
     column-count: 1;
      column-gap: 16px;
    }
   
}
/* End */
.scroll-to-top {
  border: 1px solid #000;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  transform: translateY(-500px) translateX(-30px);
  background: #000 !important;
  color: #ffffff !important;
  z-index: 99;
  cursor: pointer;
  width: 50px;
  height: 50px;
}
/* .scroll-to-top.active {
} */
.scroll-to-top.active {
  transform: translateY(-50%) translateX(-30px);
  opacity: 1;
}
.scroll-to-top:hover {
  background: #ffff !important;
  color: #000 !important;
}
.ring-to-top:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  content: "";
  background-color: transparent;
  border-radius: 50%;
  border: 1px solid #000;
  opacity: 0.5;
  animation: ring-circle-anim 1.2s infinite ease-in-out;
  transition: all 0.5s;
  transform-origin: 50% 50%;
}

.ring-to-top:before {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  content: "";
  background-color: rgba(#000, 0.5);
  border-radius: 50%;
  border: none;
  animation: ring-circle-fill-anim 2.3s infinite ease-in-out;
  transition: all 0.5s;
  transform-origin: 50% 50%;
}

.ring-to-top {
  box-sizing: border-box;
  animation: oscillate-rotation 1s infinite ease-in-out;
  transform-origin: 50% 50%;
  bottom: 100px;
  right: 30px;
  border: 1px solid #000;
  background: #fff !important;
  color: #000 !important;
  z-index: 99;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

@keyframes ring-circle-anim {
  0% {
    transform: rotate(0) scale(1.1) skew(0deg);
    opacity: 0;
  }

  30% {
    transform: rotate(0) scale(1.5) skew(0deg);
    opacity: 0.5;
  }

  100% {
    transform: rotate(0) scale(1.7) skew(0deg);
    opacity: 0.1;
  }
}
@keyframes ring-circle-fill-anim {
  0% {
    transform: rotate(0) scale(1) skew(0deg);
    opacity: 0.2;
  }

  50% {
    transform: rotate(0) scale(1.4) skew(0deg);
    opacity: 0.5;
  }

  100% {
    transform: rotate(0) scale(1.1) skew(0deg);
    opacity: 0.2;
  }
}

@keyframes oscillate-rotation {
  0% {
    transform: rotate(0) scale(1) skew(0deg);
  }

  10% {
    transform: rotate(-25deg) scale(1) skew(0deg);
  }

  20% {
    transform: rotate(25deg) scale(1) skew(0deg);
  }

  30% {
    transform: rotate(-25deg) scale(1) skew(0deg);
  }

  40% {
    transform: rotate(25deg) scale(1) skew(0deg);
  }

  50% {
    transform: rotate(0) scale(1) skew(0deg);
  }

  100% {
    transform: rotate(0) scale(1) skew(0deg);
  }
}
.w-fit {
  width: fit-content;
}
.h-fit {
  height: fit-content;
}
.frame {
  padding-top: 85px;
}
.frame-2 {
  padding-bottom: 85px !important;
}
.bg-services {
  background: url(../images/bg-services.png) no-repeat center center/cover;
  background-attachment: fixed;
}
@media (max-width: 446px) {
  .bg-services {
    background-attachment: scroll;
  }
  .frame {
    padding-top: 50px;
  }
  .frame-2 {
    padding-bottom: 50px !important;
  }
  .img-logo {
    max-width: 115px;
  }
  .bg-header.shadow .img-logo {
    max-width: 110px;
  }
}
.animate {
  opacity: 0;
  transition: all 0.5s ease-in-out;
}
.animate.active {
  opacity: 1;
  animation: fadeInUp 1s forwards;
}
.slick-slide .animate.active {
  opacity: 0;
  transition: all 0.5s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}
.slick-slide.slick-active .animate.active {
  opacity: 1;
  animation: fadeInUp 1s forwards;
}
@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.icon-footer {
  transition: all 0.3s ease-in-out;
  border: 1px solid var(--bg-main);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background-color: var(--bg-main);
  color: #000;
}
.icon-footer:hover {
  transform: scale(1.2);
  color: var(--bg-main);
  background-color: #000;
}
