/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: 'Ubuntu', sans-serif;
  -webkit-text-size-adjust: 100%;
}


/* royalblue.. blue */
html {
  scroll-behavior: smooth;
  cursor: default;
}

  

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #888;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Base Section */
section {
  padding: 100px 20px 0px;
  font-family: 'Poppins', sans-serif;
}
.max-width {
  max-width: 1300px;
  padding: 0 80px;
  margin: auto;
}

/* Navbar */
.navbar {
  position: fixed;
  width: 100%;
  z-index: 999;
  font-family: 'Ubuntu', sans-serif;
  transition: all 0.3s ease;
  background:white;
  color:black;
}
/* .navbar.sticky {
  background: black;
} */
.navbar .max-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap:5px;
  font-weight: bold;
  margin-bottom: 1%;
 
}
.logo p {
  padding:5px;
 
  font-size: 20px;
  color:black;
}
.navbar .logo img {
  margin-top: 10px;
  height: 70px;
  width: 70px;
}

.logo span {
  text-align: center;
   
  /* -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
   background-clip: text;
   -webkit-text-fill-color: transparent; */
  font-weight: bold;

}
.navbar .menu {
  list-style: none;
}
.navbar .menu li {
  display: inline-block;
}
.navbar .menu li a {
  color: black;
  font-size: 22px;
  font-weight: 500;
  margin-left: 30px;
  transition: 0.3s;
}
.navbar .menu li a:hover {
  color:royalblue;
}


/* Menu Button */
.menu-btn {
  color: white;
  font-size: 23px;
  display: none;
 background: black;
  height: 45px;
  width: 100px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 6px;
  border: 2px solid white;
  transition: 0.3s;
  cursor: pointer;
  text-align: center;
  padding-top:2%;
}
.menu-btn .fa-bars{
  color:white;
  font-weight: bold;
  
}

.menu .btn {
  color: white;
  font-size: 23px;
  cursor: pointer;
  opacity: 0.7;
  height: 40px;
  width: 100px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 6px;
  border: 2px solid white;
  transition: 0.3s;
  animation: zoom 2s 3;
  background-color:royalblue;
}
.menu .btn:hover{
  color:white;
  background-color:blue;
}
/* Scroll-Up Button */
.scroll-up-btn {
  position: fixed;
  height: 45px;
  width: 42px;
  background:royalblue;
  cursor: pointer;
  right: 30px;
  bottom: 10px;
  color: white;
  text-align: center;
  line-height: 45px;
  font-size: 30px;
  border-radius: 6px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.scroll-up-btn.show {
  bottom: 30px;
  opacity: 1;
  pointer-events: auto;
}
.scroll-up-btn:hover {
  filter: brightness(90%);
}

/* Home Section */
.home {
 padding-top:15%;
  background: url("https://www.shutterstock.com/image-photo/business-skyscrapers-financial-district-toronto-600nw-2478900781.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: scroll; /* smoother on iPhones */
  height: 100vh;
  font-weight: bold;
  font-family: 'Ubuntu', sans-serif;
}
.home .max-width {
  width: 100%;
  display: flex;
  text-align: center;
  justify-content: center;
}

/* .home-content{
  background: black;
  opacity: 0.8;
} */
.home .home-content .text-1  {
  font-size: 40px;
 color:white;
 padding:10px;
}
.text-1 span {
  font-size: 25px;
}
.home-btn{
  display: flex;
  justify-content: center;
}

.home-btn .btn a {
  text-decoration: none;
  color: white;
}
@keyframes zoom {
  0%, 100% {
  transform: scale(1);
 }
   50% {
  transform: scale(1.1);
 }
}
  
.home-btn .btn {
  display: block;
  width: 160px !important;
  height: 45px;
  margin-top:5%;
  font-size: 18px;
  font-weight: bold;
  border-radius: 6px;
  background: royalblue;
  color: #fff;
  transition: 0.3s;
  align-items: center;
  animation: zoom 2s 3;
  border: none;

}
.home-btn .btn:hover{
  background-color: blue;
}


/* About Section */
.about {
  display: flex;
  width: 100%;
  height: auto;
  flex-wrap: wrap;
}
.about .box {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-family: 'Ubuntu', sans-serif;
}
.about .box img {
  width: 85%;
  height: 85%;
}
.about .box .t-1 {
  margin-top: 1%;
  font-size: 40px;
  color: royalblue;
}
.about .box .t-2 {
  margin: 3% 0;
}

/*----projects -----*/
.projects{
  display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      padding:3% 5%;
      flex-wrap: wrap;
}
.containerpr .title{
  font-size: 40px;
  color: royalblue;
  text-align: center;
}

.projects .primg img {
 
  width: 450px;
  height: 450px;
}


.primg .text h1 {
  font-size: 27px;

 color:black;
  padding-top:3%;
}
.primg button {
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
    height: 40px;
    width: 150px;
    font-weight: bold;
    border-radius: 6px;
    background:royalblue;
    border:none;
    transition: 0.3s;
    align-items: center;
    animation: zoom 2s 3;
    margin:2% 0;
  }
  .primg button a {
    text-decoration: none;
    color:white;
  }
  .primg button:hover{
    background:blue;
  }
   .my-projects h1 {
      text-align: center;
      font-size: 40px;
      color:royalblue;
      padding-top:3%;
     }

     .my-projects .title{
      padding-top:9%;
     }

     .my-projects h2 {
      text-align: center;
      font-size: 30px;
      padding-top:1%;
     }

    .my-projects .image img{
      width:100%;
      margin :3% 0;
    }
   

    .my-projects .image p {
      font-size: 20px;
    }
     .prinfo {
     font-size: 22px;
     }

     .prinfo ul {
      padding:10px 0px;
     }

     .prinfo button {
      color: white;
      font-size: 20px;
      cursor: pointer;
      opacity: 0.7;
      height: 50px;
      width: 200px;
      font-weight: bold;
      border-radius: 6px;
      background:royalblue;
      border:none;
      margin:2% 0;
    }
    .prinfo button:hover{
      background:blue;
    }


.boxs {
  padding:3%;
  border: 1px solid #000;
  border-radius: 5px;
  background-color: #f9f9f9;
  margin:50px;
}

.boxs h2,
.boxs p {
  margin-bottom:3%;
}
iframe{
width:100%;
 height:450px;
}


/*---Contact ----*/

.contact {
  text-align: center;
}

.contact .title {
  font-size:40px;
  margin-bottom:4%;
  color: royalblue;
  margin-top:1%;
}
.contact-content {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.contact-content .column {
  flex: 1;
}
.contact-content .left,
.contact-content .right {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-content .left .icons {
  width: 100%;
}
.contact-content .row {
   margin-bottom: 20px; 
}
.row .info {
  font-size: 20px;
}

.contact-content .row i {
  font-size: 25px;
  color:royalblue;

}
.contact-content .info {
  margin-left: 15px;
}
.contact-content .info .head {
  font-weight: bold;
}
.contact-content .info .sub-title {
  color: #555;
}

.contact-content .text {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}
.contact-content .right form {
  width: 100%;
}

.contact-content .right form .field {
  flex: 1;
  margin-bottom: 15px;
}
.contact-content .right form input,
.contact-content .right form textarea {
  width: 100%;
  max-width: 500px;
  padding: 10px;
  font-size: 16px; /* prevents iOS zoom */
  font-family: 'Poppins', sans-serif;
  border: 1px solid lightgrey;
  border-radius: 6px;
  outline: none;
  transition: 0.3s;
  justify-content: left;
}

.contact-content .right form input:focus,
.contact-content .right form textarea:focus {
  border-color: #b3b3b3;
}

.contact-content .right form .button-area {
  display: flex;
  justify-content: center;
}

.contact-content .right form button {
  width: 160px;
  height: 45px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 6px;
  background: royalblue;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.contact-content .right form button:hover {
  background: blue;

}


/* Footer */
footer {
  background: #111;
  padding: 15px 23px;
  color: #fff;
  text-align: center;
}

/* Responsive Queries */
@media (max-width: 991px) {
  .max-width {
    padding: 0 50px;
  }
}
@media (max-width: 930px) {
  .menu-btn {
    display: block;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 999;
  }
  .navbar .menu {
    position: fixed;
    height: 100vh;
    width: 100%;
    top: 0;
    left: -100%;
    background: #111;
    text-align: center;
    padding-top: 80px;
    transition: 0.3s;
    flex-direction: column;
  }
  .navbar .menu.active {
    left: 0;
  }
  .navbar .menu li {
    display: block;
    margin: 20px 0;
  }
  .navbar .menu li a {
    font-size: 25px;
    color: white;
  }
  .home .home-content .text-2 {
    font-size: 20px;
  }
}


@media (max-width: 750px) {
  .max-width {
    padding: 0 23px;
  }

  .home {
    padding-top: 25%;
   
   
  }
  .home .home-content .text-2,
  .home .home-content .text-3,
  .home .home-content a {
    font-size: 20px;
  }
  .about{
    flex-direction: column;
  }
  .projects{
    flex-direction: column;
  }
  .contactus{
    flex-direction: column;
  }
  .contact-content{
    flex-direction: column;
  }

  .boxs iframe{
    width:80%;
    height:auto;}

    .containerpr .title {
      font-size: 35px;
    }
      .my-projects h1 {
        font-size: 30px;
      margin-top: 5%;
       }
  
       .my-projects .title{
        padding-top:5%;
       }
  
       .my-projects h2 {
        font-size: 23px;
       }
       .my-projects .image p {
        font-size: 18px;
       }
       .prinfo {
        font-size: 18px;
        }
}


@media (max-width: 500px) {
  .contact .right form .fields {
    flex-direction: column;
  }
  
  .home {
    padding-top: 30%;
  }
.home-btn .btn,
.menu .btn,
.primg button,
.prinfo button,
.contact-content .right form button {
  width: 90%;
  font-size: 16px;
}
.my-projects h1,
.containerpr .title,
.contact .title {
  font-size: 26px;
}
.my-projects h2 {
  font-size: 20px;
}
.projects .primg img,
  .my-projects .image img {
    width: 100%;
    height: auto;
  }

  .contact-content .right form .field {
    width: 100%;
  }

  .contact-content .right form input,
  .contact-content .right form textarea {
    width: 100%;
    font-size: 16px;
  }
  .boxs {
    margin: 10px;
    padding: 15px;
  }

  .about .box .t-1 {
    font-size: 30px;
  }

  .about .box .t-2 {
    font-size: 20px;
  }

  .about .box p {
    font-size: 16px;
  }

  .scroll-up-btn {
    right: 15px;
    bottom: 15px;
    height: 38px;
    width: 35px;
    font-size: 23px;
    line-height: 38px;
  }

}
