@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Architects+Daughter&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100vh;
    font-family: Poppins;
    scrollbar-color: rgba(38, 38, 121, 0.247) white  ;
    background-color:rgba(128, 128, 128, 0.171) ;

}

body {
    overflow-x: hidden;
}


.preload {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    
}

span {
    opacity: 0;
    transition: all .5s linear ;
}

span.fade {
    opacity: 1;
}


header {
    position: fixed;
    width: 100%;
    z-index: 100;
}
.header-dummy {
    height: 95px; /* this height SHOULD always be at least the same as header's */
    background-color: chartreuse;
  }

.upper {
    background-color: #003d56 ;
    height: 45px;
    width: 100%;
    position: relative;
    display: flex;
    color : white ;
    display: flex;
    align-items: center;
   
}
.upper img {
    height: 60%;
   
}



.upper > * {
    margin: 0 10px ;
   
}

.upper > p:last-child:hover {
     cursor: pointer;
    text-decoration: underline;
}


nav {
    
    height: 50px ;
    background-color: bisque ;
    
    display: flex; 
    justify-content: center;
    align-items: center;
    position: relative;
}


nav::before {
   position: absolute;
   content: '';
   left: 40px;
   bottom: -50px ;
   z-index: 20;
   height: 50px;
   width: 15%;
   background-color: bisque  ;
   border-bottom-left-radius: 40px;
   border-bottom-right-radius: 40px;
}

.logo {
    position: absolute;
    top: -25px ;
    left: 65px ;
    width: 150px;
    height: 150px ;
    z-index: 40;
}

.menu  {
    display: none;
    cursor: pointer;
}

nav ul {
    
    display: flex;
    list-style: none;
}

.close {
    display: none;
    cursor: pointer;
    
}
nav ul li {
    padding: 15px;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 10px;
    position: relative;
}

nav ul li a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background-color: rgb(219, 123, 6) ;
    border-radius: 10px;
    transition: width .8s ease;
}

#location {
    margin: 0 15px;
    position: absolute;
    right: 0;
}

nav ul li a:hover::before {
    width: 90%;
    
}

main {
    background-color: rgba(255, 255, 255, 0.212) ;
    background-blend-mode: overlay ;
    height: 86%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center ;
    flex-direction: column;
   padding-top: 100px;
   transition: background-image 0.6s ease ;
   
}

main h1 {
    
    color: black ;
    
}

.sub {
    font-size: 1.3rem;
    padding: 10px 10px;
    margin-top: 20px;
    background-color: rgba(255, 228, 196, 0.685);
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    color : black ;
}

.sub:hover {
   letter-spacing: 2px;
}

#about {
    position: relative;
    min-height: 100vh;
    padding-top: 150px;
   
}

#about h1  {
    color: black  ;
    text-align: center;
    padding-top: 20px;
    font-size: 2rem;
    font-family: 'Architects Daughter';
}
.con {
    display: grid ;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin: 50px;
 }

.pr {
    
    text-align: center;
    padding: 15px;
    background-color:pink ; 
    cursor: pointer;
    color: black;
}

.pr:hover {
    transform: scale(1.1);
    box-shadow: 5px 5px 7px 5px grey ;
}

.client:hover {
    box-shadow: 5px 5px 7px 5px grey ;
}

.second-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px;
    width: 90%;
}


.ar {
    display: flex;
    align-items: center;
    justify-content: flex-start;

}


.client {
    display: flex;
    flex-direction: column;
    width: 50%;
    background-color: pink ;
    text-align: center;
    padding: 15px;
   
}
.boss {
    margin: 50px;
}

.ar img {
    border-radius: 50%;
    margin: 20px;
}


.hide {
    display: none;
}

.info {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.info img {
    border-radius: 50%;
    border : 5px rgba(0, 0, 255, 0.685) solid ;
     padding: 7px ;    
}

.layer p {
   text-align: center;
    white-space: nowrap;
    margin-left: 10px;
   
}
.info p {
    width: 50%;
    margin-bottom: 10px;
    color: black;
    font-weight: 900;
}

#gallery {
  
   
   position: relative;
   padding-top: 150px;
}

.Gcontainer {

    display: flex;
    justify-content: center ;
    align-items: center;
}
#gallery h1 {
   
    color: black ;
    text-align: center;
    font-size: 2rem;
    font-family: 'Architects Daughter';
    padding-top: 20px;
    
}


.slide , .slide2 {
    margin-top: 50px ;
    position: relative;
    animation: fade;
    animation-duration: .8s;
}
.slide img , .slide2 img {
    border-radius: 10px;
}
.num {
    position: absolute;
    top: 10px ;
    left: 5px ;
}
.caption {
    position: absolute;
    bottom: 20px ;
    left: 50% ;
    transform: translateX(-50%);
    font-size: 1.3rem;
    font-weight: 750;
}

.before {
    content: "";
    position: absolute;
    left: 0;
    top: 50% ;
    transform: translateY(-50%);
    width: 50px;
    height: 65px;
    background-image: url(images/left.png) ;
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 5;
    transition: background 1s ease;
    border-radius: 5px;
}
.after {
    content: "";
    position: absolute;
    right: 0;
    top: 50% ;
    transform: translateY(-50%);
    width: 50px;
    height: 65px;
    background-image: url(images/right.png) ;
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 5;
    transition: background 1s ease;
    border-radius: 5px;
}


.before:hover, .after:hover {
  background-color: rgba(128, 128, 128, 0.615);
}

@keyframes fade {
    from{opacity : .4}
    to{ opacity: 1}
}
#contact {
    padding-top: 150px;
    padding-bottom: 100px;
    
}
.form-container {
    display: flex;
    gap: 200px;
    justify-content: space-around;
}

.container-con {
    width: 80%;
    margin: 100px;
}

form {
    margin-right: 100px;
}

input[type=text],input[type=email],input[type=tel], textarea{
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
  }

  label {
    margin: 5px;
  }

  input[type=submit] {
    background-color: #04AA6D;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    width: 90px;
    margin-top: 20px;
  }

 
 footer {
     border-top: 1px dotted black;
     display: flex;
     justify-content: center;
     align-items: center;
     flex-direction: column;
     background-color: white;
 }

 .icons {
     display: flex;
     
 }

 .icons > * {
     margin: 15px;
 }

 .icons img:hover {
     cursor: pointer;
     filter: sepia(0.5);
 }


 #videos {
    padding-top: 150px;
    position: relative;

 }
 .Vcontainer
{   margin-top: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
 #videos h1 {
    color: black ;
    text-align: center;
    padding-top: 20px;
    font-size: 2rem;
    font-family: 'Architects Daughter';
 
   
 }


 .swiper-container {
    width: 100%;
   
  }

  .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 700px;
    background-color: rgba(255, 255, 255, 0.678);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
  }


  .swiper-slide .quoter {
      display: flex;
      justify-content: space-around;
      align-items: center;

  }

  .quoter img {
      border-radius: 50%;
      margin: 20px;
  }


  .popup {

     position: fixed;
     top: 50%;
     left: 50%;
     transform: translate(-50%,-50%);
     height: 550px;
     width: 850px;
     background-color: rgba(173, 216, 230, 0.842) ;
     padding: 15px;
     z-index: 100;
     display: none;
     
  }

  .popup .first-line {
      display: flex ;
      justify-content: space-between;
  }

  .popup .first-line img {
      cursor: pointer;
  }

.map {
   width: 50%;
    margin: auto;
    margin-top: 50px;
    height: 400px;
}

.map iframe {
    height: 100%;
    width: 100%;
}