
/*================================================= Hero ===============================================*/

.hero {
  position:relative;
  text-align:center;
  background-image:linear-gradient(to top, rgba(2, 36, 71, 0.7), rgba(0, 18, 53, 0.9)),url('/assets/uploads/hero2.jpeg');
  color:white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.inner-hero {
  height:65vh;
  width:100%;
  margin: 0;
  padding: 0;
}

.item .item1{
    display: flex;
    flex-wrap: wrap-reverse;
    width: 90%;
    margin: 5% auto 0;
}

.item .item1 .item-cont{
  text-align:left;
}
.item .item1 .item-cont h1{
   margin-bottom: 5%;
}
.item .item1 .item-cont a{
   padding: 10px 30px;color: #fff;border-radius: 10px; background: var(--secondary);
   box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset; 
   transition: 1s ease-in-out;font-weight: 600;font-size: 16px;
}
.item .item1 .item-cont a:hover{
 background: var(--tertiary);
}

.item .item1 .item-img {
  overflow: hidden;
}
.item .item1 .item-img img{
  width: 80%;
  margin: 0 auto;
  height: 250px;
  border-radius: 10px;
  box-shadow: rgba(1, 8, 77, 0.9) 0px 2px 4px 0px, rgba(1, 8, 77, 0.9) 0px 2px 16px 0px;
}

.waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .inner-hero {
    height:auto;
    width:100%;
    margin: 0;
    padding: 0;
  }
  .waves {
    height:40px;
    min-height:40px;
  }
  .item .item1 .item-cont{
    text-align:center;
  }
  .item .item1 .item-img {
    margin  : 8% 0 3%;
  }
}
@media(max-width: 450px){
  .item .item1 .item-cont{
    margin: 5% 0 8%;
  }
  .item .item1 .item-cont a{
    padding: 5px 20px;
    font-size: 14px;
  }
  .item .item1 .item-img img{
    width: 100%;
    height: 170px;
    border-radius: 4px;
  }
}


/*============================================ About Us ==============================================================*/

  .about{
    width: 90%;
    margin: 8% auto;
    max-width: 1170px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    grid-gap: 60px;
    padding: 35px 0;
  }
  .contentLeft,
  .contentRight{
    width: 100%;
  }
  .contentLeft .row{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
  }
  .contentLeft .row .imgWrapper{
    width: 100%;
    height: 350px;
    padding: 0;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: rgba(1, 8, 77, 0.9) 0px 2px 4px 0px, rgba(1, 8, 77, 0.9) 0px 2px 16px 0px; ;
  }
  .contentLeft .row .imgWrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    transition: 0.3s ease;
      animation: app linear;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
  }
  .contentLeft .row .imgWrapper:hover img{
    transform: scale(1.3);
  }
  .contentLeft .row .imgWrapper:nth-child(odd){
    transform: translateY(-20px);
  }
  .contentLeft .row .imgWrapper:nth-child(even){
    transform: translateY(20px);
  }
  .contentRight .content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .contentRight .content p{
    line-height: 28px;
    padding-bottom: 10px;
    text-align: justify;
  }
/* Add to your frontpage.css */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s, transform 1s;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

  @media(max-width: 767px){
    .about{
        grid-template-columns: 1fr;
    }
    .contentLeft .row{
        grid-template-columns: repeat(2, 1fr);
    }
    .contentLeft .row .imgWrapper{
        height: 150px;
    }
    .contentRight .content {
      text-align: center;
      align-items: center;
    }

  }
  @media(max-width: 450px){
    
    .contentRight .content p{
      text-align: justify;
      line-height: 22px;
    }

  }
/*================================================= services ===============================================*/

.section-services{
  padding: 1% 0 5%;
  background-image:linear-gradient(to top, rgba(49, 50, 51, 0.51), rgba(17, 19, 22, 0.59)),url('/assets/uploads/about2.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.section-services .container h2{
  text-align: center;
  margin: 3% 0 5%;
  color: #fff;
}
.section-services .container h2 span{
  color: var(--tertiary);
}
.section-services .container .row{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-block {
   width: 100%;
   height:250px;
   position: relative;
   transition: all 0.3s ease-in-out;
   overflow: hidden;
   display: flex;
   justify-content: center;
   text-align: center;
   background-color: #fff;
   color: #666;
   border: 1px solid #ccc;
   margin-bottom: 30px;
   padding: 0 10px;
   box-shadow: rgb(0, 5, 77) 0px 2px 4px 0px, rgba(0, 14, 92, 0.973) 0px 2px 16px 0px;
   animation: app linear;
   animation-timeline: view();
   animation-range: entry 0% cover 30%;
}

.service-underlay {
   position: absolute;
   height: 80px;
   bottom: 0;
   left: 0;
   right: 0;
   background-color: rgb(226, 226, 226);
   padding-top: 18px;
   transition: all 0.3s ease-in-out;
}

.service-name {
   margin: 0 auto;
   display: block;
   text-transform: Capitalize;
}

.service-underlay .cta {
   margin-top: 80px;
   display: inline-block;
   color: #fff;
   font-size: 14px;
   border: 1px solid white;
   padding: 8px 15px;
   border-radius: 10px;
}

.service-block:hover {
   transform: scale(1.1);
   cursor: pointer;
   border: 1px solid #141b41;
}

.service-block:hover .service-underlay {
   height: 250px;
   background-color: #141b41;
}

.service-block:hover .service-name {
   color: #fff;
   font-weight: bold;
}
.service-block .service-underlay .cta:hover {
   text-decoration: none;
}
@media (max-width:767px){
  .service-block {
    height:200px;
  }
  .service-underlay .cta {
    margin-top: 70px;
  }
  .section-services .container .row{
    margin-top: 10%;
  }
  .service-block:hover .service-underlay {
    height: 200px;
  }
}
@media (max-width:450px){
  .service-block {
    height:150px;
  }
  .service-block:hover .service-underlay {
   height: 150px;
  }
  .section-services .container .row{
    gap: 5px;
  }
  .service-underlay {
    height: 50px;
    padding: 5px 0;
  }
  .service-underlay .cta {
    margin-top: 50px;
  }
  .service-name{
    font-size: 14px;
  }
}









/*================================================= Projects ===============================================*/

.pros{
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  margin: 8% auto;
  background-image:url('/assets/uploads/fp4.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.pros .pros2{ 
  padding:0 10px  0 10px;
  margin-top: 3%;

}
.pros .pros2 p{ 
 text-align: justify;
 color: #111;
}
.pros .pross{ 
  display: flex;
  flex-wrap: wrap;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pross .card {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 350px;
    max-width: 100%;
    height: 300px;
    background: white;
    border-radius: 20px;
    transition: 0.5s;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(1, 1, 59, 0.134);
    animation: app linear;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}

.pross .card:hover {
    height: 350px;
}

.pross .card .img-box {
    position: absolute;
    top: 20px;
    left:5%;
    width: 90%;
    height: 220px;
    background: #333;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.5s;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.pross .card .img-box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.pross .card:hover .img-box {
    top: -80px;
    scale: 0.9;
}
.pross .card .content {
    position: absolute;
    top: 252px;
    width: 100%;
    height: 35px;
    padding: 0 30px;
    text-align: center;
    overflow: hidden;
    transition: 0.5s;
}
.pross .card:hover .content {
    top: 140px;
    height: 250px;
    padding: 0;
}

.pross .card .content h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.pross .card .content p {
    color: #333;
    font-size: 14px;
    width: 100%;
    padding: 10px 15px;
    text-align: justify;
}

.pross .card .content a {
    position: relative;
    top: 5px;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 10px;
    text-decoration: none;
    background: rgb(0, 0, 68);
    color: white;
    font-weight: 500;
}

.pross .card .content a:hover {
    opacity: 0.8;
}
@media (max-width: 992px) {
  .pross .card:hover {
    height: 400px;
  }
}
@media (max-width: 767px) {
  .pros h2{
    text-align: center;
  }
  .pros p{
    text-align: center;
  }
  .pross .card:hover {
    height: 350px;
  }
  .pross .card{
   margin-top: 20%;
  }
}

@media (max-width: 450px) {
 .pros p{
    text-align: justify;
    padding: 0 10px;
  }
  .pross .card .content h2 {
    font-size: 1rem;
    font-weight: 700;
}

.pross .card .content p {
    padding: 7px 10px;
}

.pross .card .content a {
    top: 2px;
    font-weight: 400;
    font-size: 14px;
}

}






/*================================================= Partners ===============================================*/

.parteners{
  margin:0 0 5% 0;
}
.parteners-logo{
  width: 80%;
  margin: 0 auto;
  gap: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  align-items: center; 
}
.parteners-logo .parteners-logo1 {
  padding: 10px 20px;
  margin-bottom: 20px;
  align-items: center;
  display: flex;
  align-items: center;   /* Vertically center image inside the box */
  justify-content: center; /* Horizontally center image */
  animation: app linear;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}
.parteners-logo .parteners-logo1 img{
  width: 100%;
  max-height: 100%;

}

  @keyframes app {
    from {
      transform: scale(0.4);
    }
    to {
      transform: scale(1);
    
    }
  }

@media(max-width:992px){
  .parteners-logo{
    width: 90%;
    margin: 0 auto;
    gap: 10px;
  }
}
@media(max-width:767px){
  .parteners-logo{
    width: 96%;
    margin: 0 auto;
    gap: 10px;
  }
  .parteners-logo .parteners-logo1 {
  
   padding: 5px 10px;
   margin-bottom: 20px;
}
}
@media(max-width:450px){
  .parteners-logo .parteners-logo1 {
    margin-bottom: 5px;
  }
  .parteners-logo .parteners-logo1 img{
    max-height: 30px;
  }
}