﻿@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  transition: 0.5s;
}

nav a {
  color: black;
}

nav .logo {
  width: 250px;
}

nav ul li {
  display: inline-block;
  margin-right: 20px;
}

nav ul.menu li {
  margin: 0 20px;
  font-weight: 600;
}

header {
  width: 100%;
  height: 100vh;
  background: linear-gradient(#a3edffd0, #11466bd0);
  background-size: cover;
  position: relative;
}

header .slider {
  height: 100%;
  position: absolute;
  right: 0;
  z-index: 0;
}

header .slider img {
  height: 100%;
}

header .texts {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 30%;
  left: 120px;
  color: white;
  font-weight: bold;
}

header .texts .text {
  position: absolute;
  left: -200%;
  width: 100%;
  transition: 1s;
}
header .text .text-icon {
  margin-bottom: 10px;
}
header .text .text-icon a {
  text-decoration: none;
  background-color: white;
  display: inline-block;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  margin-left: 5px;
  border-radius: 10px;
}

header .text .text-icon :nth-child(1) i {
  color: #4186d6;
}

header .text .text-icon :nth-child(2) i {
  color: #05c0cb;
}

header .text .text-icon :nth-child(3) i {
  color: #f37662;
  background-color: white;
  display: inline-block;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  margin-left: 5px;
  border-radius: 10px;
  cursor: pointer;
}

header .texts .active-text {
  left: 0;
}

header .texts .text h2 {
  margin-bottom: 20px;
  font-size: 70px;
}

header .buttons {
  margin-bottom: 40px;
}

header .buttons i {
  width: 40px;
  height: 40px;
  line-height: 38px;
  text-align: center;
  border: 1px solid;
  border-radius: 100%;
  color: white;
}

header .buttons i:last-child {
  transform: translateY(20px);
}

section {
  padding: 120px 5%;
}

section > h2 {
  font-size: 40px;
  text-align: center;
  margin-bottom: 120px;
}

#services {
  background-image: url("https://fabrica.ancorathemes.com/wp-content/uploads/2023/01/oil-plumb.png");
  background-position: 110% 110%;
  background-repeat: no-repeat;
  background-size: 30% auto;
  position: relative;
}

.services {
  outline: none;
  overflow: hidden;
  cursor: none;
}
.service .service-icon a {
  text-decoration: none;
  background-color: white;
  display: inline-block;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  margin-left: 5px;
  border-radius: 10px;
}

.service .service-icon :nth-child(1) i {
  color: #4186d6;
}

.service .service-icon :nth-child(2) i {
  color: #05c0cb;
}

.service .service-icon :nth-child(3) i {
  background-color: white;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  margin-left: 5px;
  border-radius: 10px;
  color: #f37662;
  cursor: pointer;
}

.services .service .service-icon {
  margin-bottom: 10px;
}

.services .service {
  width: 450px;
  margin-right: 40px;
  padding: 80px 25px;
  border-radius: 5px;
  height:500px;
  counter-increment: gallery-cell;
  background-color: #e8e8e8;
  position: relative;
  overflow: hidden;
  transition: background-color 1s;
}

.services .service:hover {
  background-color: transparent;
}

.services .service::before {
  content: "";
  background: linear-gradient(45deg, #b0efff, #0e3f61);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: -1;
  transition: 2s;
  transform: rotate(0deg) scale(2);
}

.services .service:hover::before {
  opacity: 1;
  transform: rotate(720deg) scale(1.5);
}

.services .service img {
  width: 150px;
  margin-bottom: 50px;
}

.services .service h3 {
  margin: 15px 0;
  font-size: 26px;
}

.service-mouse {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: space-around;
  border-radius: 100%;
  background-color: black;
  color: white;
  align-items: center;
  position: absolute;
  top: 0;
  transition: opacity 0.4s;
  opacity: 0;
}

#about {
  background-color: #f9f9f9;
}

.about {
  display: flex;
  padding: 0 10%;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.about .about-icon {
  position: absolute;
  top: 28%;
  left: 5%;
}
.about .about-icon a {
  text-decoration: none;
  background-color: white;
  margin-left: 5px;
  margin-bottom: 20px;
  border-radius: 10px;
  display: block;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
}

.about .about-icon :nth-child(1) i {
  color: #4186d6;
}

.about .about-icon :nth-child(2) i {
  color: #05c0cb;
}

.about .about-icon :nth-child(3) i {
  color: #f37662;
}
.about .photos {
  width: 40%;
}

.about .photos img {
  width: 400px;
  height: 500px;
  object-fit: cover;
  border-radius: 5px;
}

.about .photos img:last-child {
  transform: translate(34%, -50%);
}

.about .text {
  width: 50%;
  transform: translateY(-125px);
}

.about .text h2 {
  font-size: 52px;
  margin-bottom: 20px;
}

.about .text a {
  padding: 15px 30px;
  border-radius: 5px;
  background-color: #0e3f61;
  color: white;
  display: block;
  width: fit-content;
  margin-top: 20px;
  transition: 0.5s;
}

.about .text a:hover {
  background-color: #355e7c;
}

#about .counter {
  background-color: #0e3f61;
  padding: 20px;
  border-radius: 5px;
  color: white;
}
#about .counter-icon a {
  text-decoration: none;
  background-color: white;
  margin-left: 5px;
  margin-bottom: 20px;
  border-radius: 10px;
  display: block;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
}

#about .counter-icon a i {
  color: #05c0cb;
}
#about .counter ul {
  display: flex;
  justify-content: space-around;
  list-style: none;
  padding: 0 10%;
}

#about .counter ul li {
  position: relative;
  text-align: center;
  font-family: "Outfit", sans-serif;
  width: 25%;
}

#about .counter ul li span:first-child {
  font-size: 120px;
  opacity: 0.1;
}

#about .counter ul li span:last-child {
  font-size: 22px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  white-space: nowrap;
}
#gallery {
  position: relative;
  width: 100%;
}
#gallery .gallery-category {
  width: 60%;
  margin: auto;
  padding: 10px 0px;
  display: flex;
  justify-content: space-around;
  list-style: none;
  margin-bottom: 30px;
}
#gallery .gallery-category li {
  position: relative;
}
.gallery-category .all-cat-icon a {
  text-decoration: none;
  background-color: #f0f2f6;
  margin-left: 5px;
  margin-bottom: 20px;
  border-radius: 10px;
  display: block;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
}
.gallery-category .all-cat-icon a i {
  color: #4186d6;
}

.gallery-category .category-icon a {
  text-decoration: none;
  background-color: #f0f2f6;
  margin-left: 5px;
  margin-bottom: 20px;
  border-radius: 10px;
  display: inline-block;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
}
.gallery-category .category-icon :nth-child(1) i {
  color: #05c0cb;
}

.gallery-category .category-icon :nth-child(2) i {
  background-color: #f0f2f6;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  margin-left: 5px;
  border-radius: 10px;
  color: #f37662;
  cursor: pointer;
}

#gallery .gallery-category li {
  position: relative;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

#gallery .gallery-category li::after {
  content: "";
  width: 0%;
  left: 50%;
  height: 2px;
  position: absolute;
  display: block;
  background-color: black;
  transition: 0.5s;
  margin-top: 5px;
}

#gallery .gallery-category li:hover::after {
  width: 100%;
  left: 0;
}
#gallery .gallery-category li.active::after {
  width: 100%;
  left: 0;
}
#getGallery {
  display: block;
  margin: auto;
  background-color: #187a97;
  color: white;
  padding: 18px;
  border: none;
  border-radius: 8px;
}

#gallery .photos {
  display: flex;
  flex-wrap: wrap;
  padding: 0 10%;
}
#gallery .photos .item-photo {
  width: 31%;
  margin: 15px 1.15%;
  border-radius: 5px;
  position:relative;
  cursor:pointer;
}
#gallery .addbtn {
  text-decoration: none;
  background-color: #f0f2f6;
  margin-left: 5px;
  border-radius: 10px;
  display: inline-block;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  margin-bottom: 5px;
  color: #4186d6;
  font-size: 22px;
}
#gallery .item-photo .item-photo-icon a:nth-of-type(1) i {
  color: #4186d6;
}
#gallery .item-photo .item-photo-icon span i {
  text-decoration: none;
  background-color: #f0f2f6;
  margin-left: 5px;
  margin-bottom: 20px;
  border-radius: 10px;
  display: inline-block;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  color: #f37662;
  cursor: pointer;
}

#gallery .photos img {
  display: inline-block;
  width: 100%;
  height: 250px;
  border-radius: 5px;
  object-fit: cover;
}

#contact {
  background-color: #f9f9f9;
}

.contact {
  padding: 0 15%;
}

.contact .contact-items {
  display: flex;
  list-style: none;
  justify-content: space-around;
  text-align: center;
}

.contact .contact-items span {
  display: block;
}

.contact a {
  color: #777;
}

.contact ul li > i {
  font-size: 32px;
  margin-bottom: 15px;
  color: #355e7c;
  display: block;
}

.contact ul li:last-child span {
  display: inline-block;
  font-size: 22px;
  margin: 0 10px;
}

.contact ul li span a {
  transition: 0.5s;
}

.contact ul li span:hover a {
  color: rgb(146, 1, 1);
}

.contact .contact-footer {
  display: flex;
  flex-wrap: wrap;
  margin-top: 100px;
  align-items: stretch;
}

.contact .contact-footer iframe {
  width: 50%;
  border: none;
}

.contact .contact-footer form {
  display: flex;
  width: 50%;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
}

.contact .contact-footer form input {
  width: 48%;
  padding: 15px 18px;
  border: 1px solid silver;
  border-radius: 5px;
  margin-bottom: 20px;
  outline: none;
}

.contact .contact-footer form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid silver;
  border-radius: 5px;
  margin-bottom: 20px;
  outline: none;
  resize: vertical;
}

.contact .contact-footer form button {
  border: none;
  padding: 15px 30px;
  border-radius: 5px;
  background-color: #0e3f61;
  color: white;
  display: block;
  width: fit-content;
  transition: 0.5s;
  margin-left: auto;
}

footer {
  text-align: center;
  padding: 25px 0;
  font-size: 14px;
}

footer a {
  color: rgb(133, 4, 4);
  margin-right: 10px;
}

nav .fa-bars {
  display: none;
}

.alert-slider,
.alert-service,
.alert-category,
.alert-gallery {
  width: 100%;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  display: none;
}
.alert {
  width: 30%;
  padding: 20px 10px;
  background-color: rgb(238, 236, 234);
  border-radius: 10px;
  text-align: center;
  position: absolute;
  z-index: 100;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.alert span {
  font-size: 70px;
  color: rgb(255, 0, 68);
}

.alert h4 {
  font-size: 30px;
  margin: 20px 0px;
}

.alert p {
  font-size: 23px;
  margin-bottom: 10px;
}

.alert button {
  padding: 11px 15px;
  background-color: rgb(212, 13, 13);
  border-radius: 10px;
  border: none;
  font-size: 16.5px;
  color: white;
  cursor: pointer;
}

.alert a {
  padding: 9px 15px;
  text-decoration: none;
  background-color: rgb(16, 145, 16);
  border-radius: 10px;
  border: none;
  color: white;
}
.overflow-hidden {
  overflow: hidden;
}
.gallery-modal {
    width: 100%;
    position: fixed;
    height: 100vh;
    display: none;
    top: 0;
    left: 0;
    z-index:100;
    background-color: #0000004a;
    backdrop-filter: blur(10px);
}
.gallery-modal .modal{
    max-width:50%;
    position:relative;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
  
        text-align:center;
   
}
    .gallery-modal .modal img {
        width: 90%!important;
        max-height:800px!important;
        object-fit:contain;
    
    }
    .gallery-modal i {
        font-size: 35px;
        position: absolute;
        top: 30px;
        right: 30px;
        color: white;
        cursor:pointer;
    }
    

@media screen and (max-width: 1366px) {
  header .texts .text h2 {
    font-size: 40px;
  }

  header .texts .text p {
    font-size: 14px;
  }

  .services .service {
    width: 350px;
    padding: 40px 25px;
    height:400px;
  }

  .services .service img {
    width: 100px;
    margin-bottom: 30px;
  }

  .services .service h3 {
    font-size: 22px;
  }

  .about .photos img {
    width: 200px;
    height: 300px;
  }

  .about .text h2 {
    font-size: 40px;
  }

  .about .text p {
    font-size: 14px;
  }

  .about .text a {
    font-size: 14px;
    padding: 12px 20px;
  }

  #about .counter ul li span:first-child {
    font-size: 80px;
  }

  #about .counter ul li span:last-child {
    font-size: 18px;
  }

  a {
    font-size: 14px;
  }
    .service-modal .modal {
        width: 55% !important;
    }
    .gallery-modal .modal{
        max-width:70%;
    }
    .gallery-modal i{
        font-size:28px;
    }
}

@media screen and (max-width: 1024px) {
  nav {
    padding: 20px 2%;
  }

  nav .logo {
    width: 140px;
  }

  nav ul li {
    margin-right: 10px;
  }

  nav ul.menu li {
    margin: 0 12px;
  }

  a {
    font-size: 12px;
  }

  /*header {
    height: auto !important;
    padding-bottom:20%;
  }
*/
  header .texts {
    top: 30%;
  }

  header .texts .text h2 {
    font-size: 26px;
  }

  header .texts .text p {
    font-size: 12px;
  }

  header .texts {
    width: 40%;
  }
    header .slider{
        z-index:-1;
    }
    section {
        padding: 60px 2%;
    }

  section > h2 {
    font-size: 28px;
    margin-bottom: 50px;
  }

  .services .service {
    width: 250px;
    height:300px;
  }

  .services .service img {
    width: 50px;
    margin-bottom: 15px;
  }

  .services .service h3 {
    font-size: 18px;
    margin: 8px auto;
  }

  .services .service p {
    font-size: 14px;
  }

  .about .photos {
    display: none;
  }
  .about .about-icon {
    display: flex;
    margin-top: 30px;
    left: 0;
    top: -29% !important;
  }
  .about .text {
    width: 100%;
    transform: translateY(0px);
  }

  .about .text h2 {
    font-size: 22px;
  }

  .about {
    margin-bottom: 30px;
    padding: 0 2%;
  }

  #about .counter ul {
    padding: 0;
  }

  #about .counter ul li span:first-child {
    font-size: 55px;
  }

  #about .counter ul li span:last-child {
    font-size: 14px;
  }

  #gallery .gallery-category {
    font-size: 15px;
    width:95%;
  }
    
 /*   .gallery-category .all-cat-icon a {
        text-decoration: none;
        background-color: #f0f2f6;
        margin-left: 2px;
        margin-bottom: 20px;
        border-radius: 5px;
        display: inline-block;
        width: 20px;
        height: 20px;
        text-align: center;
        line-height: 20px;
    }*/
    .gallery-category .category-icon a {
        text-decoration: none;
        background-color: #f0f2f6;
        margin-left: 2px;
        margin-bottom: 20px;
        border-radius: 10px;
        display: inline-block;
        width: 45px;
        height: 45px;
        text-align: center;
        line-height: 45px;
    }

  .contact {
    padding: 0 2%;
  }
  .service-modal .service{
      width:70% !important;
  }
    
}

@media screen and (max-width: 768px) {
  nav .menu {
    position: absolute;
    top: -400%;
    background-color: white;
    width: 100%;
    left: 0;
    padding: 65px 0 15px;
    z-index: -1;
    transition: 0.2s;
  }

  nav .show-menu {
    top: 0;
  }

  nav .menu li {
    display: block;
    line-height: 32px;
  }

  nav .fa-bars {
    margin-right: 14px;
    display: block;
  }

  header {
    height: 40vh;   
    
  }

  header .slider {
    display: none;
  }

  header .texts {
    width: 100%;
    transform: translateY(0);
    top: 100px;
    padding: 0 5%;
    left: 0;
  }

  header .texts .text {
    padding: 0 5%;
  }
    header .text .text-icon a{
        width:35px;
        height:35px;
        line-height:35px;
    }
    header .text .text-icon :nth-child(3) i {
        width: 35px;
        height: 35px;
        line-height: 35px;
    }
    header .buttons {
        display: none;
    }

  .services .service {
    width: 100%;
    margin: 0;
  }
    .service .service-icon a {
        width: 35px;
        height: 35px;
        line-height: 35px;
    }
    .service .service-icon :nth-child(3) i {
        width: 35px;
        height: 35px;
        line-height: 35px;
    }
    #about .counter-icon a {
        width: 35px;
        height: 35px;
        line-height: 35px;
    }
    section > h2 {
        font-size: 22px;
        margin: 20px;
    }

  section {
    padding: 10px 2%;
  }

  #about .counter ul {
    flex-wrap: wrap;
  }

  #about .counter ul li {
    width: 50%;
  }
  .about .about-icon {
    display: block;
    left: 50%;
    margin-top: 12%;
    top:-9% !important;
  }
  .about .about-icon a {
    width: 35px;
    height: 35px;
    line-height: 35px;
    background-color: #f0f2f6;
  }
   
    #gallery .photos {
        padding: 0;
    }
  #gallery .photos .item-photo {
    width: 100%;
  }
    .gallery-category .category-icon a {
        width: 30px;
        height: 30px;
        border-radius: 5px;
        line-height: 30px;
    }
    .gallery-category .category-icon :nth-child(2) i {
        width: 30px;
        height: 30px;
        line-height: 30px;
        border-radius: 5px;
    }
    .gallery-category .all-cat-icon a {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size:15px !important;
        border-radius:5px;
    }
    #gallery .gallery-category li{
        font-size:12px;
    }


    #gallery .addbtn {
        width: 30px;
        height: 30px;
        line-height: 30px;
        border-radius: 5px;
    }
    .contact .contact-items {
        flex-wrap: wrap;
    }

  .contact .contact-items li {
    width: 100%;
    margin-bottom: 20px;
  }

  .contact ul li > i {
    margin-bottom: 10px;
  }

  .contact ul li:last-child span a {
    font-size: 18px;
  }

  .contact .contact-footer {
    margin-top: 40px;
  }

  .contact .contact-footer {
    flex-direction: column-reverse;
  }

  .contact .contact-footer iframe {
    width: 100%;
    margin-top: 15px;
  }

  .contact .contact-footer form {
    width: 100%;
    padding: 0;
  }

  .contact .contact-footer form button {
    width: 100%;
  }

  footer span {
    display: block;
    margin-top: 8px;
    font-size: 12px;
  }
  .alert {
    width: 45%;
    padding: 15px 10px;
  }

  .alert span {
    font-size: 40px;
  }

  .alert h4 {
    font-size: 20px;
  }

  .alert p {
    font-size: 15px;
  }

  .alert button {
    padding: 10px 12px;
    font-size: 12px;
    margin-bottom: 5px;
  }

  .alert a {
    padding: 8px 12px;
    border-radius: 10px;
  }
  .service-modal .modal{
      width:70%;
  }
    .gallery-modal .modal {
        max-width: 85%;
    }
    .gallery-modal i {
        font-size: 23px;
    }
}
@media screen and (max-width: 468px){
    header{
        height:60vh;
    }
    .service-modal .modal{
        width:96% !important;
    }
    .service-modal .modal h2{
        font-size:24px;
    }
}
@media screen and (max-width: 330px) {
    header {
        height: 88vh;
    }
    
} 
.container {
    position: relative;
    z-index: 1;
    max-width: 300px;
    margin: 0 auto;
}

.container:before,
.container:after {
  content: "";
  display: block;
  clear: both;
}

.container .info {
  margin: 50px auto;
  text-align: center;
}

.container .info h1 {
  margin: 0 0 15px;
  padding: 0;
  font-size: 36px;
  font-weight: 300;
  color: #1a1a1a;
}

.container .info span {
  color: #4d4d4d;
  font-size: 12px;
}

.container .info span a {
  color: #000000;
  text-decoration: none;
}

.container .info span .fa {
  color: #ef3b3a;
}
.service-modal {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: #0000004a;
    backdrop-filter: blur(10px);
    display:none;
}
    .service-modal .modal {
        width: 35%;
        max-height: 600px;
        padding: 3rem 2rem;
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        background-color: white;
        text-align: center;
        border-radius:10px;
    }
.service-modal h2{
    font-size:27px;
    margin-bottom:2rem;
}
.service-modal .modal i {
    font-size: 30px;
    color: #d29c57;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.Imgmiddle {
    text-align: center;
    border:1px solid #0e3f61;
}
.GalleryText {
    font-size: 16px;
    padding: 16px 32px;
    font-weight: 500;
    font-size: 14px;
}