@import "./reset.css";
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
html {
  scroll-behavior: smooth;
}
body {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}



#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  padding: 7px 18px;
    background-color: #fb2740;
    border-radius: 5px;

    font-size: 16px;
    color: #fff;

    transition: background-color 0.2s ease-in, top 0.2s ease-in;
}

#myBtn:hover {
  box-shadow: 0 0 15px 6px #fb2740;
}


.container {
    max-width: 1230px;
    padding: 0 30px;
    margin: 0 auto;
}

.title-1 {
    font-size: 18px;
    font-weight: 600;
}

.btn {
    margin-top: 25px;
    display: inline-block;
    padding: 7px 22px;
    background-color: #fb2740;
    border-radius: 30px;

    font-size: 16px;
    color: #fff;

    transition: background-color 0.2s ease-in, top 0.2s ease-in;
}

.btn:hover, .btn:focus {
    /*color: #323232;
    background-color: #fff;*/
    box-shadow: 0 0 15px 6px #fb2740;
}

.btn:active {
    position: relative;
    top: 1px;
    background-color: #000000;
}


/* Header */

.header {
    padding-top: 25px;
    background-image: url("../img/header/hero2.jpg");
    background-position-x: center;
    background-position-y: bottom;
    background-repeat: no-repeat;
/*    height: 100vh;*/
    padding-bottom: 270px;
    background-color: #F1F1F1;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 250px;
}

.logo {
    position: relative;
    padding: 0 12px 3px 0;

    font-weight: 700;
    font-size: 32px;
    line-height: 1;
    color: #fff;
}

/*.logo::after {
    position: absolute;
    right: 0;
    bottom: 0;

    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background-color: #fb2740;
    border-radius: 50%;
}*/

/* Nav */

.nav-list {
    display: flex;
    column-gap: 50px;
/*    font-weight: 500;*/
    font-size: 14px;
}

.nav-button {
    display: none;
}

.nav-link {
    color: #fff;
}

/*.nav-link.active {
    color: #fb2740;
}*/

.nav-link:hover, .nav-link:focus, .nav-link:active{
    color: #fb2740;
}

/* Header content */

.header-row {
    display: flex;justify-content: space-between;
        align-items: flex-start;
    column-gap: 30px;
}

.header-content {
    margin-top: 40px;
    max-width: 500px;
    color: #ffffff;
}

.header-heading {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 44px;
}

.header-content p {
    line-height: 2;
}

/* Service */

.services {
    padding: 90px 0;
    background-image: url(../img/services/1.jpg);
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; 
}
.service-title h1{
    text-align: center;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
}
.service-title h2{
    color:#fff;
    text-align: center;
    margin-bottom: 50px;

    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
}
.service-title p{
    text-align: center;
    margin-bottom: 50px;
    font-weight: 400;
    font-size: 16px;
    
}
.service-title span{
    color: #fb2740;
    font-weight: 600;
    font-size: 24px;
    text-transform: uppercase;
}
.services-row {
    display: flex;
    column-gap: 30px;
    row-gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.service-card {
    flex: 1 1 0;
    min-width: 250px;
    text-align: center;
    padding: 10px;
    background-color: #fff;
    box-shadow: 1px 1px 5px 0px #888888;
}

.service-card:hover {
    box-shadow: 0 0 5px 2px #fb2740;
}

.service-card-img {
    margin-bottom: 15px;
    margin-top: 10px;
}

.service-card-title {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
}

.service-card p {
    line-height: 2;
}

/* Portfolio */

ul {
  list-style: none;
}

/* Responsive image gallery rules begin*/

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.image-gallery > li {
  flex: 1 1 auto; /* or flex: auto; */
  height: 200px;
  cursor: pointer;
  position: relative;
}

.image-gallery::after {
  content: "";
  flex-grow: 999;
}

.image-gallery li img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  vertical-align: middle;
  border-radius: 5px;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(251, 39, 64, 0.502);
  top: 0;
  left: 0;
  transform: scale(0);
  transition: all 0.2s 0.1s ease-in-out;
  color: #fff;
  border-radius: 5px;
  /* center overlay content */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* hover */
.image-gallery li:hover .overlay {
  transform: scale(1);
}


.about {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(14,18,33);
    background: linear-gradient(180deg, rgba(14,18,33,1) 0%, rgba(6,10,21,1) 100%);
}

.about-section{

    background: url(../img/about/pic.jpg) no-repeat left;
    background-size: 55%;
    background-color: #fb2740;
    overflow: hidden;
    padding: 100px 0;
}

.inner-container{
    width: 55%;
    float: right;
    background-color: #fdfdfd;
    padding: 150px;
}

.inner-container h1{
    margin-bottom: 30px;
    font-size: 30px;
    font-weight: 900;
}

.text{
/*    font-size: 13px;*/
/*    color: #545454;*/
    line-height: 2;
    text-align: justify;
    margin-bottom: 40px;
}

.skills{
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 13px;
}

@media screen and (max-width:1200px){
    .inner-container{
        padding: 80px;
    }
}

@media screen and (max-width:1000px){
    .about-section{
        background-size: 100%;
        padding: 100px 40px;
    }
    .inner-container{
        width: 100%;
    }
}

@media screen and (max-width:600px){
    .about-section{
        padding: 0;
    }
    .inner-container{
        padding: 60px;
    }
}
















.flexbox {
    position: relative;
    display: grid;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: auto;
}
.portfolio {
    padding: 90px 0;
    background-image: url("../img/header/hero2.jpg");
    background-position-x: center;
    background-position-y: bottom;
    background-size: cover;
    background-repeat: no-repeat;
}

.portfolio-title {
    margin-bottom: 70px;
    text-align: center;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 600;
    
    text-transform: uppercase;
}

.project {
    text-align: center;
}

.project + .project  {
    margin-top: 0px;
}

.project-img {
    margin-bottom: 40px;
}

.project-title {
    font-size: 18px;
}

.project-title a {
    color: #000;
    text-decoration: underline;
}

/* Footer */
.footer-section ul {
    margin: 0px;
    padding: 0px;
}

.footer-section {
  background: #151414;
  position: relative;
}
.footer-cta {
  border-bottom: 1px solid #373636;
}
.row {
  display: flex;
  justify-content: space-around;
  padding: 51px 15px;
}
.single-cta i {
  color: #fb2740;
  font-size: 30px;
  float: left;
  margin-top: 8px;
}
.cta-text {
  padding-left: 15px;
  display: inline-block;
}
.cta-text h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
}
.cta-text span {
  color: #adadad;
  font-size: 15px;
}
.footer-content {
  position: relative;
  z-index: 2;
}
.footer-pattern img {
  position: absolute;
  top: 0;
  left: 0;
  height: 330px;
  background-size: cover;
  background-position: 100% 100%;
}
.footer-logo {
  margin-bottom: 30px;
}
.footer-logo img {
    max-width: 200px;
}
.footer-text p {
  margin-bottom: 14px;
  font-size: 14px;
      color: #adadad;
  line-height: 28px;
}
.footer-social-icon span {
  color: #fff;
  display: block;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
}
.footer-social-icon a {
  color: #fff;
  font-size: 16px;
  margin-right: 15px;
}
.footer-social-icon i {
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 38px;
  border-radius: 50%;
}
.facebook-bg{
  background: #3B5998;
}
.twitter-bg{
  background: #55ACEE;
}
.google-bg{
  background: #DD4B39;
}
.footer-widget-heading h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 40px;
  position: relative;
}
.footer-widget-heading h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  height: 2px;
  width: 50px;
  background: #ff5e14;
}
.footer-widget ul li {
  display: inline-block;
  float: left;
  width: 50%;
  margin-bottom: 12px;
}
.footer-widget ul li a:hover{
  color: #ff5e14;
}
.footer-widget ul li a {
  color: #878787;
  text-transform: capitalize;
}
.footer-widget {
  max-width: 400px;
  
}
.subscribe-form {
  position: relative;
  overflow: hidden;
}
.subscribe-form input {
  width: 100%;
  padding: 14px 28px;
  background: #2E2E2E;
  border: 1px solid #2E2E2E;
  color: #fff;
}
.subscribe-form button {
    position: absolute;
    right: 0;
    background: #ff5e14;
    padding: 13px 20px;
    border: 1px solid #ff5e14;
    top: 0;
}
.subscribe-form button i {
  color: #fff;
  font-size: 22px;
  transform: rotate(-6deg);
}
.copyright-area{
  background: #202020;
  padding: 25px 0;
}
.copyright-text p {
  margin: 0;
  font-size: 14px;
  color: #878787;
}
.copyright-text p a{
  color: #fb2740;
}
.footer-menu li {
  display: inline-block;
  margin-left: 20px;
}
.footer-menu li:hover a{
  color: #fb2740;
}
.footer-menu li a {
  font-size: 14px;
  color: #adadad;
}
















.contacts {
    padding: 90px 0;
    text-align: center;
}

.contacts-title {
    margin-bottom: 40px;
}

.contacts-content {
    margin: 0 auto 40px;
    max-width: 480px;
    font-size: 18px;
}

.contacts-content p + p {
    margin-top: 1em;
}

.contacts-button {
    margin-bottom: 80px;
}

.contacts-social {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 60px;
    margin-bottom: 40px;
}

.contacts-footer {
    color: #828282;
}