@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*VARIABLES*/
:root{
    --c-dark: #c40c0c;
    --c-brand: #ffdb21;
    --c-brand-light: #fee150;
    --c-brand-rgb: #ffd500;
    --c-body: grey;
    --box-shadow: 0px 15px 25px rgba(0,0,0,0.08);
    --transition: all 0.5s ease;
}

/*RESET & HELPERS*/
body{
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--c-body);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6{
    font-weight: 600;
    color: var(--c-dark);
}

a {
    text-decoration: none;
    color: var(--c-brand);
    transition: var(--transition);
}

a:hover{
    color: var(--c-brand-light);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding-top: 140px;
    padding-bottom: 140px;
}

/*NAVBAR*/
.navbar {
    box-shadow: var(--box-shadow);
}
.navbar-nav .nav-link {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-dark);
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

.navbar-nav .nav-link:hover {
    color: black;
    border-bottom: 3px solid black;
}

/*button*/
.btn {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    border-radius: 15px;
    padding: 10px 24px;
}

.btn-brand{
    background-color: var(--c-brand);
    border-color: var(--c-brand);
    color: white;
}

.btn-brand:hover{
background-color: var(--c-brand-light);
border-color: var(--c-brand-light);
color: white;
}

/*HOME*/
.home {
    background-color: #c40c0c;
}

.home .col-lg-6 h3{
  color: white;
}

.home h1{
  color: white;
}

.home p{
  color: white;
}

/*SECTION TITLE*/
.section-title{
    margin-bottom: 40px;
    margin-top: 30px;
}

.section-title .line{
    width: 60px;
    height: 4px;
    background-color: var(--c-brand);
    margin: 16px auto 24px auto;
}

.section-title p {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/*SERVICE TITLE*/

.services .card-body i{
    font-size: 50px;
}

.card-body{
    background-color: #a00202;
}
.card-tittle{
    font-size: 16px;
    color: white;
}

.lead {
    font-size: 12px;
}
.portofolio {
    background-color: #a00202;
}
.card:hover {
    transform: translateY(-5px);
}
.card-img-top {
    border-radius: 15px;
}

/*PRICE*/
.price {
  background-color: #a00202;
}

.price .card-body {
  background-color: white;
}

.price .card-header {
  background-color: white;
}

.price h4{
  background-color: white;
  font-weight: 900;
}

.price .btn {
  background-color: #ffd500;
}

/*PORTO*/
.card-porto {
  margin: 10px;
}


/*TESTIMONIAL*/

.testimonials{
    background-color: white;
}
.carousel{
    background-color: white;
}
.carousel img {
    width: 70px;
    max-height: 70px;
    border-radius: 50%;
    margin-right: 1rem;
    overflow: hidden;
    margin-left: 20px;
    margin-bottom: 15px;
  }

  .carousel-inner {
    padding: 1em 0;
    width: 85%;
    margin-inline: auto;
  }

  .card{
    margin: 0 0.5em;
    border-radius: 0;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    font-size: 0.9em;
    background-color: #a00202;
  }
  
  .card-body-2{
    background-color: #a00202;
  }

  .quotes{
    text-align: left;
    padding-left: 10px;
  }
  .card-text{
    padding-left: 20px;
    padding-right: 20px;
    color: white;
    text-align: left;
  }

  .ps-3{
    text-align: left;
    color: white;
    margin-left: -10px;
    margin-top: -5px;
  }
 
  @media screen and (min-width: 576px) {
    .carousel-inner {
      display: flex;
      width: 90%;
      margin-inline: auto;
      padding: 1em 0;
      overflow: hidden;
    }
    .carousel-item {
      display: block;
      margin-right: 0;
      flex: 0 0 calc(100% / 2);
    }
  }
  @media screen and (min-width: 1024px) {
    .carousel-item {
      display: block;
      margin-right: 0;
      flex: 0 0 calc(100% / 3);
    }
  }
  .carousel .card {
    margin: 0 0.5em;
    border: 0;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 3rem;
    height: 3rem;
    background-color: var(--c-dark);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
  }

  /*TEAM*/

  .team{
    background: #a00202;
  }

  .our-team{
    text-align: center;
    position: relative;
    color: var(--c-brand);
    margin-bottom: 50px;
  }

  .our-team img{
    width: 80%;
    border-radius: 10px;
  }

  .three-member-container .our-team .content{
    background: rgba(0,0,0,0.6);
    position: absolute;
    height: 100%;
    width: 80%;
    left: 10%;
    top: 0;
    text-align: center;
    padding-top: 45%;
    transform: perspective(400px) rotate(-15deg);
    transform-origin: center top 0;
    transition: all 0.5s ease 0s;
    opacity: 0;
    border-radius: 10px;
  }

  .two-member-container .our-team .content{
    background: rgba(0,0,0,0.6);
    position: absolute;
    height: 100%;
    width: 80%;
    left: 10%;
    top: 0;
    text-align: center;
    padding-top: 45%;
    transform: perspective(400px) rotate(-15deg);
    transform-origin: center top 0;
    transition: all 0.5s ease 0s;
    opacity: 0;
    border-radius: 10px; 
    width: 300px;
    margin-left: 68.5px;

  }

  .our-team:hover .content,
  .our-team.active .content{
    opacity: 1;
    transform: perspective(400px) rotate(0deg);
  }

  .three-member-container .our-team .content .title{
    margin: 0 0 10px;
    margin-top: 30px;
    display: block;
    font-size: 23px;
    font-weight: 600; 
  }

  .two-member-container .our-team .content .title{
    margin: 0 0 10px;
    margin-top: -50px;
    display: block;
    font-size: 23px;
    font-weight: 600; 
  }

  .our-team .content .post{
    margin: 0 0 25px;
    display: block;
    font-size: 15px;
  }

  .our-team .social{
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .our-team .social a{
    color: white;
    font-size: 20px;
    height: 40px;
    width: 40px;
    line-height: 30px;
    border-radius: 15px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #a00202;
    transition: all 0.5s ease 0s;
    position: relative;
  }

/* Contact */
.contact{
  min-height: 50vh;
  margin-top: 4px;
  background-color: white;
  padding-top: 4px;
  text-align: center;
}
.contact .container{
  max-width: 800px;
  margin: 0 auto;
}
.contact .container h2 {
  font-size: 36px;
  margin-top: 30px;
  margin-bottom: 60px;
  color: #a00202;
}
.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 30px;
}
.contact-form{
  text-align: left;
}
.contact-form h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #a00202;
}
.form-group{
  margin-bottom: 20px;
}
input, textarea{
  width: 100%;
  padding: 12px;
  margin-bottom: 7px;
  border-radius: 8px;
  border:solid#a00202;
  background-color: white;
  color: black;
}
input:focus,
textarea:focus{
  outline:none;
  box-shadow: 0 0 8px #bbb;
}
button{
  display: inline-block;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 13px;
  background-color: #ffd500;
  color: black;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.3s ease;
}
button:hover{
  background-color:#ffdb21;
}
.contact-info{
  text-align: left;
}
.contact-info h3{
  font-size: 24px;
  margin-bottom: 20px;
  color: #a00202;
}
.contact-info p{
  margin-bottom: 10px;
  color: #a00202;
}
.contact-info i{
  color: #a00202;
  margin-right: 10px;
}
@media screen and(max-width: 768px){
  .container{
    padding: 20px;
  }
  .contact-wrapper{
    grid-template-columns: 1fr;
  }
}

/* footer */
.footer {
  background-color: #a00202;
}
.footer p {
  text-align: left;
}
.footer h5 {
  text-align: left;
}

/* footer2 */
.footer2 {
  background-color: white;
}
.footer2 p {
  text-align: left;
}
.footer2 h5 {
  text-align: left;
}