*{
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}
html{
  scroll-behavior: smooth;
}
.header{
  min-height: 100vh;
  width: 100%;
  background-image:linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/background1.jpg) ;
  background-position: center;
  /* background-size: cover; */
  position: relative;
}

nav{
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
}

nav img{
  width: 150px;
}

.nav-links{
  flex: 1;
  text-align: right;
}

.nav-links ul li{
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}

.nav-links ul li a{
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}

.nav-links ul li::after{
  content: '';
  width: 0%;
  height: 2px;
  background: #f44336;
  display: block;
  margin: auto;
  transition: 0.5s;
}

.nav-links ul li:hover::after{
  width: 100%;
  
}

.text-box{
  width: 90%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
}
.text-box h1{
  font-size: 60px;
}
.text-box p{
  margin: 10px 0px 40px;
  font-size: 20px;
  color: #fff;
}

.hero-btn{
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.hero-btn:hover{
  border: 1px solid #f44336;
  background: #f44336;
  transition: 1s;
}

nav .fa{
  display: none;
}

@media(max-width:700px){
  .text-box h1{
    font-size: 20px;
  }
  .nav-links ul li{
    display: block;
  }
  .nav-links{
    position: fixed;
    background: #f44336;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }
  nav .fa{
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }
  .nav-links ul{
    padding: 30px;
  }
}


/* About */

.About{
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}
h1{
  font-size: 36px;
  font-weight: 600;
}
p{
  color: #0f100f;
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}

.row{
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}

.about-col{
  flex-basis: 31%;
  background: #fff3f3;
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 20px 12px;
  box-sizing: border-box;
  transition: 0.5s;
}
h3{
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
}

.about-col:hover{
  box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}
@media(max-width:700px){
  .row{
    flex-direction: column;
  }
}


/* Services */
.services {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ece8e8;
  position: relative;
  overflow: hidden;
}

.container {
  position: relative;
  width: 1100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 30px;
  z-index: 2;
}

.services .container .card {
  position: relative;
  width: 300px;
  height: 215px;
  background: #fff;
  margin: 30px 10px;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.5s ease-in-out;
  overflow: hidden;
}

.services .container .card:hover {
  height: fit-content;
  min-height: 450px;
}

.services .container .card .imgbx {
  position: relative;
  width: 260px;
  height: 260px;
  top: -60px;
  left: 20px;
  z-index: 1;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.services .container .card .imgbx img {
  max-width: 100%;
  border-radius: 4px;
}

.services .container .card .content {
  position: relative;
  width: calc(100% - 30px);
  margin-top: -140px;
  padding: 10px 15px;
  text-align: center;
  color: #111;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  z-index: 2;
}

.services .container .card .content h1 {
  position: relative;
  font-size: 1.5em;
  margin-bottom: 10px;
  padding: 0 10px;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  margin-top: 120px;
}

.services .container .card .content p {
  font-size: 0.9em;
  line-height: 1.4;
  margin-bottom: 15px;
  padding: 0 10px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.3s ease-in-out;
}

.services .container .card:hover .content p {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

@media(min-width: 1024px) {
  .services .container .card {
    width: 300px;
    height: auto;
    min-height: 215px;
  }

  .services .container .card:hover {
    height: auto;
    min-height: 450px;
  }

  .services .container .card .content {
    position: relative;
    height: auto;
    overflow: visible;
  }
}
/* -------------------solutions------------------- */
.solutions{
  /* width: 80%;
  margin: auto;
  text-align: center; */
  padding-top: 100px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #10849b;
  
}

.con{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 40px 0;
}

.con .box{
  position: relative;
  width: 320px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 30px;
  transition: 0.5s;
}

.con .box::before{
  content: '';
  position: absolute;
  top: 0;
  left: 50px;
  width: 50%;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  transform: skew(15deg);
  transition: 0.5s;

}

.con .box::after{
  content: '';
  position: absolute;
  top: 0;
  left: 50px;
  width: 50%;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  transform: skew(15deg);
  transition: 0.5s;
  filter: blur(30px);
  transition: 0.5s;
}

.con .box:hover::before,.con .box:hover::after{
  transform: skew(0deg);
  left: 20px;
  width: calc(100% - 90px);

}

.con .box:nth-child(1)::before,.con .box:nth-child(1)::after{
  background: linear-gradient(315deg,#ffbc00,#ff0058);
}

.con .box:nth-child(2)::before,.con .box:nth-child(2)::after{
  background: linear-gradient(315deg,#03a9f4,#ff0058);
}

.con .box:nth-child(3)::before,.con .box:nth-child(3)::after{
  background: linear-gradient(315deg,#4dff03,#00d0ff);
}

.con .box:nth-child(4)::before,.con .box:nth-child(4)::after{
  background: linear-gradient(315deg,#7772cc,#704ac8);
}

.con .box:nth-child(5)::before,.con .box:nth-child(5)::after{
  background: linear-gradient(315deg,#cf5dc4,#bedd12);
}

.con .box:nth-child(6)::before,.con .box:nth-child(6)::after{
  background: linear-gradient(315deg,#4dbca6,#ce7b4b);
}

.con .box span{
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  pointer-events: none;
}


.con .box:hover span::before{
  top: -50px;
  left: 50px;
  width: 100px;
  height: 100px;
  opacity: 1;
}


.con .box:hover span::after{
  bottom: -50px;
  right: 50px;
  width: 100px;
  height: 100px;
  opacity: 1;
}


.con .box .contents{
  position: relative;
  left: 0;
  padding: 20px 40px;
  background: rgba(255,255,255,0.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  z-index: 1;
  transition: 0.5s;
  color: #fff;
}

.con .box:hover .contents{
  left: -25px;
  padding: 60px 40px;
}

.con .box .contents h2{
  font-size: 2em;
  color: #fff;
  margin-bottom: 10px;
}

.con .box .contents p{
  font-size: 1.1em;
  margin-bottom: 10px;
  line-height: 1.4em;
}



/* contact page */
.sub-header{
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/background.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}

.sub-header h1{
  margin-top: 28px;
}

.location{
  width: 80%;
  margin: auto;
  padding: 80px 0;
}
.location iframe{
  width: 100%;
}

.contact-us{
  width: 80%;
  margin: auto;
}
.contact-col{
  flex-basis: 48%;
  margin-bottom: 30px;
}
.contact-col div{
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.contact-col div .fa-solid{
  
  color: #f44336;
  margin: 10px;
  margin-right: 30px;
}
.contact-col div .fa-regular{
  
  color: #f44336;
  margin: 10px;
  margin-right: 30px;
}
.contact-col div p{
  padding: 0;
}

.contact-col div h5{
  font-size: 20px;
  margin-bottom: 5px;
  color: #555;
  font-weight: 400;
}

.contact-col input, .contact-col textarea{
  width: 100%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.hero-btn{
  display: inline-block;
  text-decoration: none;
  
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.hero-btn:hover{
  border: 1px solid #f44336;
  background: #f44336;
  transition: 1s;
}

.red-btn{
  border: 1px solid #f44336;
  background: transparent;
  color: #f44336;
}
.red-btn:hover{
  color: #fff;
}