/* global start */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: 'Poppins' , sans-serif;
}

:root {
  --bg-color: #1f242d;
  --second-bg-color: #323946;
  --text-color: #fff;
  --main-color: #D27C0F;
  --border: .1em solid rgba(255, 255, 255,.3);
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }
}

@media (max-width: 450px) {

  html{
    font-size: 50%;
  }

}

html::-webkit-scrollbar{
  width: .8rem;
}

html::-webkit-scrollbar-track{
  background: transparent;
}

html::-webkit-scrollbar-thumb{
  background: #fff;
  border-radius: 5em;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  overflow: hidden;
}

section {
  min-height: 100vh;
  padding: 10rem 9% 2rem;
}

@media (max-width: 991px) {

  section {
    padding: 10rem 3% 2rem;
  }

}

span {
  color: var(--main-color);
}

.heading {
  text-align: center;
  font-size: 4.5rem;
}

@media (max-width: 450px) {

  .heading {
    font-size: 3.5rem;
  }
}

.btn {
  display: inline-block;
  padding: 1.5rem 2.5rem;
  background: var(--main-color);
  border-radius:0 2rem 2rem 2rem;
  box-shadow: 0 0 1rem var(--main-color);
  font-size: 1.5rem;
  color: var(--second-bg-color);
  letter-spacing: .1rem;
  font-weight: 600;
  transition: .5s ease;
}

.btn:hover {
  box-shadow: none;
}

/* global end */

/* header start */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 9%;
  background: var(--bg-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: var(--border);
  z-index: 100;
}

.header img {
  width: 7rem;
}

@media (max-width: 991px) {

  .header {
    padding: 2rem 3%;
  }

}

.logo {
  font-size: 2.5rem;
  color: var(--text-color);
  font-weight: 600;
  cursor: default;
}

.navbar a {
  font-size: 1.7rem;
  color: var(--text-color);
  margin-left: 4rem;
  transition: .5s ease;
}

.navbar a:hover, 
.navbar a.active {
  color: var(--main-color);
}

@media (max-width: 768px) {

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 3%;
    background: var(--bg-color);
    border-top: .1rem solid rgba(0, 0, 0, .2);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
    display: none;
  }

  .navbar.active {
    display: block;
  }

  .navbar a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
  }

}

#menu-icon {
  font-size: 3.6rem;
  color: var(--text-color);
  display: none;
}

@media (max-width: 768px) {

  #menu-icon {
    display: block;
  }

}

/* header end */

/* home start */

.home {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-img img {
  width: 35vw;
  animation: floatImage 3s ease-in-out infinite;
}

@keyframes floatImage {
  0% {
    transform: translateY();
  }
  50% {
    transform: translateY(4rem);
  }
  100% {
    transform: translateY();
  }
}

/* home greeting start */

#greeting{
  font-family: 'Poppins', sans-serif;
  text-align: left;
  margin-right: 1rem;
  color: var(--main-color);
  font-size: 2rem;
  font-weight: lighter;
  line-height: 1.8;
  padding: .5rem 0;
}

.home-content .gicon i{
  font-size: 3em;
  color: var(--main-color);
}

.home-content .gicon{
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* home greeting end---*/

.home-content h3 {
  font-size: 3.2rem;
  font-weight: 700;
}

.home-content h3:nth-of-type(2) {
  margin-bottom: 2rem;
}

.home-content h1 {
  font-size: 5.6rem;
  font-weight: 700;
  line-height: 1.3;
}

.home-content p {
  font-size: 2rem;
  line-height: 1.5;
  margin-top: .5rem;
}

.social-media a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 5rem;
  height: 5rem;
  background: transparent;
  border: .2rem solid var(--main-color);
  border-radius: 50%;
  font-size: 2.5rem;
  color: var(--main-color);
  margin: 3rem 1.5rem 3rem 0;
  transition: .5s ease;
}

.social-media a:hover {
  background: var(--main-color);
  color: var(--second-bg-color);
  box-shadow: 0 0 1rem var(--main-color);
}



@media (max-width: 768px) {

  .home {
    flex-direction: column;
  }

  .home-content h3 {
    font-size: 2.6rem;
  }

  .home-content h1 {
    font-size: 5rem;
  }

  .home-img img {
    width: 90vw;
    margin-top: 4rem;
  }

}

@media (max-width: 360px) {
    .home-content h3 {
      font-size: 2.3rem;
    }
}

/* home end */

/* about start */

.about {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: var(--second-bg-color);
  padding: 10rem 9% 2rem;
}

.about .vid video{
  width: 40vw;
  height: 40vh;
}

.about .image {
  flex: 1 1 35rem;
  position: relative;
}

.about .image img {
  width: 35vw;
  box-shadow: rgba(0,0,0,0.35) 0px 5px 15px;
}

.about-content .about-list {
  margin-bottom: 2rem;
  color: #8f8e8e;;
}
.about-content p {
  font-size: 2rem;
  font-weight: 300;
  line-height: 3rem;
  margin-bottom: 1rem;
}

.about-content li {
  list-style: none;
  font-size: 2rem;
  font-weight: 300;
  margin-left: 1rem;
  margin-bottom: .8rem;
  display: flex;
  align-items: center;
}

.about-content i {
  color: var(--main-color);
  font-size: 2.5rem;
  margin-right: 1.5rem;
}

.about .image .btn-ripple {
  border: none;
  outline: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: block;
  background-color: var(--main-color);
  color: #fff;
  position: absolute;
  top: 45%;
  left: 45%;
  z-index: 10;
  cursor: pointer;

  animation-name: ripple;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.about .image .btn-ripple i {
  color: #fff;
  font-size: 1.5rem;
}


@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 #fff6, 0 0 0 0 #fff6;
  }

  70% {
    box-shadow: 0 0 0 20px #fff6, 0 0 0 40px #fff6;
  }

  100% {
    box-shadow: 0 0 0 20px #fff0, 0 0 0 40px #fff0;
  }
}

@media (max-width: 768px) {

  .about {
    flex-direction: column-reverse;
  }

  .about .vid video {
    width: 80vw;
    margin-top: 4rem;
  }

  .about .image img {
    width: 83vw;
  }

}

@media (max-width: 660px) {
  
  .about .vid video {
    width: 90vw;
    margin-top: 0;
  }
  
  .about .image img {
    width: 83vw;
  }
  
}

@media (max-width: 450px) {

  .about-content .about-btn {
    text-align: center;
  }

  .about-content p {
    text-align: left;
    margin-bottom: 2rem;
  }
  .about .vid video {
    width: 90vw;
    margin-top: 0;
  }

  .about .image img {
    margin-bottom: 0px;
  }

  .about .image .btn-ripple {
    width: 40px;
    height: 40px;
    top: 38%;
    left: 45%;
    }
}

@media (max-width: 360px) {

  .about .image .btn-ripple {
    width: 40px;
    height: 40px;
    top: 30%;
    left: 45%;
    }
}

/* about end */

/* service start */

.services h2 {
  margin-bottom: 1rem;
}

.services-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.services-container .service-box {
  flex: 1 1 40rem;
  background: var(--second-bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 20vh;
  padding: 2rem;border-left: 1rem solid var(--main-color);
  transition: 1s ease-in-out;
  box-shadow: rgba(0,0,0,0.35) 0px 5px 15px;
}

.services-container .service-box:hover {
  padding: 2rem;border-left: 1rem solid #fff;
  transform: scale(1.02);
}

.services-container .service-box .service-icon {
  color: var(--main-color);
  font-size: 4rem;margin-right: 2rem;
}

.services-container .service-box:hover .service-icon {
  color: #fff;
}

.services-container .service-box .service-text p {
  font-size: 1.8rem;
  font-weight: 300;
}

.services-container .service-box .service-text h3 {
  font-size: 2.3rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

@media (max-width: 991px) {

  .services {
    padding-bottom: 7rem;
  }

}

@media (max-width: 450px) {

  .services-container .service-box {
    flex-direction: column;
    margin-left: .5rem;
    margin-right: .5rem;
  }

  .services-container .service-box .service-text {
    text-align: center;
  }
}

/* service end */

/* portfolio start */

.portfolio {
  background: var(--second-bg-color);
}

.portfolio-container {
  width: 100%;
  height: 65vh;
  margin-top: 2rem;
  display: grid;
  grid-template-columns:repeat(auto-fit, minmax(30rem , 1fr));
  grid-gap: 2rem;
}

.portfolio .portfolio-container .portfolio-box {
  background: #1f242d;
  padding: 1rem;
  overflow: hidden;
  box-shadow: rgba(0,0,0,0.35) 0px 5px 15px;
}

.portfolio .portfolio-container .portfolio-box:hover img {
  opacity: 1;
}

.portfolio .portfolio-container .portfolio-box img {
  width: 100%;
  height: 25vh;
  opacity: 0.5;
  transition: 1s ease-in-out;
}

.portfolio .portfolio-container .portfolio-box h3 {
  font-size: 2rem;
  font-weight: 500;
  margin-top: 1rem;
}

.portfolio .portfolio-container .portfolio-box h4 {
  font-size: 2rem;
  font-weight: 300;
  margin-top: .5rem;
  color: var(--main-color);
  margin-bottom: .5rem;
}

.portfolio .portfolio-container .portfolio-box p {
  font-size: 2rem;
  font-weight: 300;
  margin-top: 1rem;
  line-height: 2.5rem;
}

.portfolio .portfolio-container .portfolio-box li {
  list-style: none;
  font-size: 1.8rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  color: #8f8e8e;
}

.portfolio .portfolio-container .portfolio-box i {
  color: var(--main-color);
  margin-right: 1rem;
}

.portfolio .portfolio-container .portfolio-box a {
  color: #8f8e8e;
  font-size: 1.8rem;
  font-weight: 400;
  margin-right: 1rem;
}

@media (max-width: 879px) {
  .portfolio-container {
    height: 122vh;
  }
}

@media (max-width: 580px) {
  .portfolio-container {
    height: 215vh;
  }

  .portfolio .portfolio-container .portfolio-box img {
    height: 40vh;
  }
}

@media (max-width: 450px) {
  .portfolio-container {
    height: 205vh;
  }
}

@media (max-width: 400px) {

  .portfolio .portfolio-container .portfolio-box {
    margin-left: .5rem;
    margin-right: .5rem;
  }

  .portfolio .portfolio-container .portfolio-box img {
    height: 35vh;
  }

  .portfolio-container {
    height: 190vh;
  }

}

@media (max-width: 320px) {
  .portfolio-container {
    height: 195vh;
  }
}



/* portfolio end */


/* ontact start */

.contact {
  background: var(--bg-color);
}
.contact .row{
  display: flex;
  align-items: center;
  background: var(--bg);
  flex-wrap: wrap;
  gap: 1rem;
}

.contact .row .map{
  flex: 1 1 35rem;
  width: 100%;
  height: 60vh;
  align-items: center;
}

.contact .row form{
  flex: 1 1 35rem; 
  padding: 0 2rem;
  text-align: center;
}

.contact .row form h3{
  text-transform: uppercase;
  font-size: 3.5rem;
  color: #fff;
  display: none;
}

.contact .row form .inputBox{
  display: flex;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 2rem;
  background: var(--bg);
  border-bottom: var(--border);
}

.contact .row form .inputBox span{
  color: var(--main-color);
  font-size: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.contact .row form .inputBox input{
  width: 100%;
  padding: 2rem;
  font-size: 1.7rem;
  color:#fff;
  text-transform: none;
  background:none;
  border: none;
}

.contact .row form .inputBox input:-webkit-outofill,.contact .row form .inputBox input:-webkit-outofill:hover, .contact .row form .inputBox input:-webkit-outofill:focus, .contact .row form .inputBox input:-webkit-outofill:active {
  transition: backround-color 5000s ease-in-out 0s;
  webkit-text-fill-color: #fff !important;
}

.contact .row form .inputBox textarea{
  width: 100%;
  padding: 2rem;
  font-size: 1.7rem;
  color:#fff;
  text-transform: none;
  background:none;
  border: none;
}

form .alert-danger {
    color: red;
    font-size: 2rem;
    font-weight: 500;
}

form .alert-success {
    color: green;
    font-size: 2rem;
    font-weight: 500;
}

.thank-you {
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.thanks {
  text-align: center;
  font-size: 6.5rem;
}

.thank-you p {
    font-size: 2.6rem;
    margin-bottom: 2rem;
}

.thank-you i {
    font-size: 5.6rem;
    color: green;
}

@media (max-width: 991px) {

  .contact h2 {
    margin-bottom: 3rem;
  }
}

@media (max-width: 660px) {

  .contact .row form h3{
    display: inline-block;
    margin-top: 2rem;
  } 
}

@media (max-width: 450px) {

  .contact .row .map{
    height: 40vh;
  }

}

/* contact end */

/* footer start */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem 9%;
  background: var(--second-bg-color);
}

.footer p {
  font-size: 1.6rem;
}

.footer-iconTop a {
  width: 8rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: .8rem;
  background-color: var(--main-color);
  border-radius: .8rem;
  box-shadow: 0 0 1rem var(--main-color);
  transition: .5s ease;
}

.footer-iconTop a:hover {
  box-shadow: none;
}

.footer-iconTop a i {
  font-size: 2.8rem;
  color: var(--bg-color);
}

.footer .footer-social-media a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 5rem;
  height: 5rem;
  background: transparent;
  border: .2rem solid var(--main-color);
  border-radius: 50%;
  font-size: 2.5rem;
  color: var(--main-color);
  margin-left: 2rem;
  transition: .5s ease;
}

.footer .footer-social-media a:hover {
  background: var(--main-color);
  color: var(--second-bg-color);
  box-shadow: 0 0 1rem var(--main-color);
}

@media (max-width: 991px) {

  .footer {
    padding: 2rem 3%;
  }
}

@media (max-width: 768px) {

  .footer {
    flex-direction: column;
  }

  .footer p {
    margin-bottom: 2rem;
    text-align: center;
  }

  .footer .footer-social-media a {
    margin-bottom: 2rem;
  }
}

/* footer end */











