/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --sefety-orange_10: hsla(24, 100%, 50%, 0.1);
  --sefety-orange:#f05536;
  --sonic-silver: hsl(220, 1%, 48%);
  --gunmetal_10: hsla(217, 21%, 16%, 0.1);
  --davys-gray: hsl(220, 2%, 31%);
  --light-gray: hsl(0, 0%, 80%);
  --gunmetal: hsl(217, 21%, 16%);
  --cultured: hsl(0, 0%, 95%);
  --black_40: hsla(0, 0%, 0%, 0.4);
  --black_25: hsla(0, 0%, 0%, 0.25);
  --black_15: hsla(0, 0%, 0%, 0.15);
  --white: hsl(0, 0%, 100%);
  --snow: hsl(345, 20%, 96%);

  /**
   * typography
   */

  --ff-jost: 'Jost', sans-serif;

  --fs-1: 3.8rem;
  --fs-2: 2.2rem;
  --fs-3: 2rem;
  --fs-4: 1.8rem;
  --fs-5: 1.4rem;

  --fw-600: 600;
  --fw-500: 500;

  /**
   * spacing
   */

  --section-padding: 40px;

  /**
   * shadow
   */

  --shadow-1: 0px 2px 15px hsla(0, 0%, 0%, 0.05);
  --shadow-2: -10px 10px 40px -2px hsla(217, 21%, 16%, 0.05);

  /**
   * border radius
   */

  --radius-pill: 500px;
  --radius-circle: 50%;
  --radius-4: 10px;

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);

}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

a,
img,
span,
button,
ion-icon {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  height: auto;
}

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

ion-icon {
  pointer-events: none;
}

html {
  font-family: var(--ff-jost);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--davys-gray);
  font-size: 1.6rem;
  line-height: 1.7;
}

body.active {
  overflow: hidden;
}

:focus-visible {
  outline-offset: 4px;
}

::-webkit-scrollbar {
  width: 10px; 
}

::-webkit-scrollbar-track {
  background-color: hsl(0, 0%, 98%);
}

::-webkit-scrollbar-thumb {
  background-color: var(--sefety-orange);
  border-radius: 25px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(0, 0%, 70%);
}





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container {
  padding-inline: 15px;
}

.section {
  padding-block: var(--section-padding);
}

.h1,
.h2,
.h3,
.h4 {
  color: var(--gunmetal);
  line-height: 1.3;
}

.h1,
.h2 {
  font-size: var(--fs-1);
}

.h3 {
  font-size: var(--fs-2);
}

.h3,
.h4 {
  font-weight: var(--fw-600);
}

.h4 {
  font-size: var(--fs-3);
}

.section-title .span {
  display: inline-block;
  color: var(--sefety-orange);
}

.section-text {
  font-size: var(--fs-3);
}

.btn {
  background-color: var(--bg, var(--gunmetal));
  color: var(--color, var(--white));
  padding: var(--padding, 10px 20px);
  border: 2px solid var(--border-color, var(--gunmetal));
  border-radius: var(--radius-4);
  transition: var(--transition-1);
}

.btn-primary {
  --bg: var(--sefety-orange);
  --color: var(--white);
  --border-color: var(--sefety-orange);
}

.btn-primary:is(:hover, :focus) {
  --bg: transparent;
  --color: var(--sefety-orange);
}

.nav-btn-s {
  background-color: var(--bg, var(--gunmetal));
  color: var(--color, var(--white));
  padding: var(--padding, 5px 10px);
  border: 2px solid var(--border-color, var(--gunmetal));
  border-radius: var(--radius-4);
  transition: var(--transition-1);
  margin:0.5vw !important;
}

.nav-btn-s {
  --bg: var(--sefety-orange);
  --color: var(--white);
  --border-color: var(--sefety-orange);
}

.nav-btn-s:is(:hover, :focus) {
  --bg: transparent;
  --color: var(--sefety-orange);
}

.btn-secondary:is(:hover, :focus) {
  --bg: var(--sefety-orange);
  --border-color: var(--sefety-orange);
}

.btn-outline {
  --bg: transparent;
  --color: var(--sefety-orange);
  --border-color: var(--sefety-orange);
  --padding: 5px 10px;
  font-weight: var(--fw-500);
}

.btn-outline:is(:hover, :focus) {
  --color: var(--white);
  --bg: var(--sefety-orange);
}

.has-shape {
  position: relative;
  z-index: 1;
}

.shape {
  position: absolute;
  z-index: -1;
}

.w-100 {
  width: 100%;
}

.title-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-block-end: 60px;
}

.grid-list {
  display: grid;
  gap: 30px;
}

.card-text {
  font-size: var(--fs-4);
}

.btn-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gunmetal);
  font-weight: var(--fw-500);
  transition: var(--transition-1);
}

.btn-link:is(:hover, :focus) {
  color: var(--sefety-orange);
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-2);
}

.hover\:underline {
  display: inline;
  background-image: linear-gradient(to right, var(--gunmetal), var(--gunmetal));
  background-repeat: no-repeat;
  max-width: max-content;
  background-position-y: bottom;
  background-size: 0 2px;
  transition: var(--transition-2);
}

.hover\:underline:is(:hover, :focus) {
  background-size: 100% 2px;
}





/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header .btn {
  display: none;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 10px;
  z-index: 4;
  box-shadow: 0 3px 5px rgb(57 63 72 / 30%);
}

.header.active {
  position: fixed;
  background-color: var(--white);
  box-shadow: var(--shadow-1);
  transform: translateY(-100%);
  animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0);
  }
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.nav-open-btn {
  background-color: var(--gunmetal_10);
  color: var(--gunmetal);
  font-size: 20px;
  padding: 10px;
  border-radius: var(--radius-circle);
  transition: var(--transition-1);
}

.nav-open-btn ion-icon {
  --ionicon-stroke-width: 50px;
}

.nav-open-btn:is(:hover, :focus) {
  background-color: var(--sefety-orange);
  color: var(--white);
}

.navbar {
  position: fixed;
  top: 0;
  left: -450px;
  width: calc(100% - 70px);
  max-width: 450px;
  height: 100vh;
  background-color: var(--cultured);
  z-index: 1;
  visibility: hidden;
  transition: 0.25s var(--cubic-in);
}

.navbar.active {
  transform: translate(450px);
  visibility: visible;
  transition: 0.5s var(--cubic-out);
}

.navbar-title {
  color: var(--black_40);
  text-align: center;
  padding: 12px;
  border-block-end: 1px solid var(--black_15);
}

.navbar-item {
  border-block-end: 1px solid var(--black_15);
}

.navbar-link {
  color: var(--gunmetal);
  padding: 15px 30px;
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus) {
  color: var(--sefety-orange);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--black_25);
  opacity: 0;
  transition: var(--transition-1);
  pointer-events: none;
}

.overlay.active {
  pointer-events: all;
  opacity: 1;
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  padding-block-start: calc(var(--section-padding) + 40px);
}

.hero .container {
  display: grid;
  gap: 40px;
}

.hero .section-text {
  margin-block: 20px 40px;
}


@-webkit-keyframes fadeInLeft {
  from {
      opacity:0;
      -webkit-transform: translatex(-10px);
      -moz-transform: translatex(-10px);
      -o-transform: translatex(-10px);
      transform: translatex(-10px);
  }
  to {
      opacity:1;
      -webkit-transform: translatex(0);
      -moz-transform: translatex(0);
      -o-transform: translatex(0);
      transform: translatex(0);
  }
}
@-moz-keyframes fadeInLeft {
  from {
      opacity:0;
      -webkit-transform: translatex(-10px);
      -moz-transform: translatex(-10px);
      -o-transform: translatex(-10px);
      transform: translatex(-10px);
  }
  to {
      opacity:1;
      -webkit-transform: translatex(0);
      -moz-transform: translatex(0);
      -o-transform: translatex(0);
      transform: translatex(0);
  }
}
@keyframes fadeInLeft {
  from {
      opacity:0;
      -webkit-transform: translatex(-100px);
      -moz-transform: translatex(-100px);
      -o-transform: translatex(-100px);
      transform: translatex(-100px);
  }
  to {
      opacity:1;
      -webkit-transform: translatex(0);
      -moz-transform: translatex(0);
      -o-transform: translatex(0);
      transform: translatex(0);
  }
}
.hero-content,
.about-content,
.service_div_one,
.service-card,
.footer-brand{
  -webkit-animation-name: fadeInLeft;
  -moz-animation-name: fadeInLeft;
  -o-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  -o-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-delay: 1s;
  -moz-animation-delay: 1s;
  -o-animation-duration:1s;
  animation-delay: 1s;
}

.service_div_three,
.about-banner,
.hero-banner{
  animation: fadeInRight 1s ease-in-out;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(300px);
  }
  to {
    opacity: 1;
  }
}


.pay{
  margin-right: 8px;
}

.hero  ul{
  margin-bottom: 15px;
  color: rgb(34, 213, 34);
  font-size: 18px;
  font-weight: 500;
  text-decoration: underline;
  text-transform: uppercase;
}

.fa-solid, .fas {
  font-weight: 900;
  color: red;
}


.hero-banner .w-100 {
  max-width: 70%;
  margin-inline: auto;
}

.hero .shape {
  bottom: -10px;
  left: 10px;
}

.btn_flex{
  display: flex;
}



/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service {
  background-color: var(--snow);
}

.service .section-text {
  margin-block-end: 20px;
}

.service-card {
  background-color: var(--white);
  padding: 50px 30px;
  border-radius: var(--radius-4);
  box-shadow: var(--shadow-2);
  box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}

.service-card:hover{
  background-color: var(--sefety-orange);
  color: #fff;
}

.service-card .card-title {
  margin-block: 35px 20px;
  text-align: center;
}

.service-card .card-title:hover{
  color: #fff;
}

.service .shape-2 {
  top: 35px;
  right: 189px;
}

.service .shape-1 {
  bottom: 0;
  left: -50px;
}

.card-icon{
  display: flex;
  justify-content: center;
  align-items: center;
}



/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about .container {
  display: grid;
  gap: 50px;
}

.about-content{
  margin-top:4rem;
}

.about-banner .w-100 {
  max-width: 90%;
}

.about .shape {
  top: -25px;
  right: -5px;
  /* display: none; */
}

.about .section-text {
  font-size: 20px;
  font-weight: 500;
  margin-block: 16px 40px;
}

.about ul  {
  margin-bottom: 15px;
  font-size: 17px;
  font-weight: 400;
}

.about ul li:hover,
.about ul .fa-star:hover::before{
  color: var(--sefety-orange);
}

.about ul li .fa-star:before {
  content: "\f005";
  color: rgb(37, 36, 36);
}

.about .btn {
  max-width: max-content;
}


/* ------------------------------- */
  /* #FEATURES */
/* ------------------------------ */


.mobile_app_image img {
  object-fit: contain;
  width: 350px;
  height: 550px;
  border-radius: 10px;
  transition: transform 2s, filter 1.5s ease-in-out;
  transform-origin: center center;
  border: 1px solid #f05536;
}

.mobile_app_image img:hover{
  transform: scale(1.3);
}

.mobile_app_spn p{
  color: #f05536;
  text-decoration: underline;
  font-size: 25px;
}

.mobile_app_spn {
  width: 450px;
  background: rgb(54, 53, 53);
  color: rgb(255, 255, 255);
  border-radius: 20px;
  padding: 15px;
  text-align: center;
  font-size: 20px;
}

.mansi_snap {
  width: 250px;
}

.service_main_cont{
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin-top: 110px;
}

.service_div_one{
  display: flex;
  justify-content: center;
  align-items: center;
}

.service_div_three{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background-color: var(--gunmetal);
}

.footer-top {
  border-block: 1px solid var(--light-gray);
}

.footer-brand{
  display: flex;
  justify-content: space-around;
}

.footer_card{
  background: #fff;
  border-radius: 15px;
  padding: 15px 30px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-brand .powered h2{
  text-align: center;
}

.bitton{
  display:flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.shape_footer {
  position: absolute;
  top: 325px;
  right: 214px;
}

.signup,
.demo{
  position: relative;
}

.shape_demo {
  position: absolute;
  top: -36px;
  right: -44px;
}

.logo{
  margin-bottom: 2.5rem;
}



/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 575px screen
 */

@media (max-width:450px) {
  .h1{
    margin-top: 40px;
  }
 
  .mobile_app{
    margin-left: 105px;
  }

  .mobile_app h1 {
    left:-50px;
    top: 15px;
  }

  .footer-brand {
    flex-direction: column;
    gap: 20px;
  }

  .footer-brand .demo,
  .footer-brand .powered,
  .footer-brand .signup{
    height: 350px;
  }

  .shape_footer{
    display: none;
  }

  .shape_demo{
    display: none;
  }

  .mobile_app_image img{
    width: 230px;
    height: 440px;
    margin-top: 70px;
  }

  .service_main_cont{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0;
  }

  .mobile_app_spn{
    width: 320px;
  }

  .service_div_three{
    margin-top: 30px;
  }
}

@media (min-width: 575px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 5rem;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }



  /**
   * HERO
   */

  .hero-banner .w-100 {
    max-width: 100%;
  }

  .hero .shape {
    bottom: 0;
    left: -50px;
  }



  /**
   * SERVICE
   */

  .service .grid-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
  }


  /**
   * FOOTER
   */

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }


}

@media (max-width:790px) {
  .service_main_cont{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*margin-top: 0;*/
  }
}

@media (max-width:990px) {
  .footer-brand{
    display: grid;
    gap: 20px;
  }
  .h1{
    margin-top: 40px;
  }
  
}

/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 720px;
  }

  .grid-list {
    grid-template-columns: 1fr 1fr;
  }



  /**
   * HERO
   */

  .hero .container {
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
  }



  /** * SERVICE*/

  .service .title-wrapper>* {
    max-width: calc(50% - 30px);
    align-items: flex-start;
  }

  .service .section-text {
    margin-block: 0;
  }



  /*** ABOUT*/

  .about .container {
    grid-template-columns: 1fr 1fr;
    /* align-items: center; */
  }

}





/*** responsive for large than 992px screen*/

@media (min-width: 992px) {

  /*** CUSTOM PROPERTY*/

  :root {

    /*** typography*/

    --fs-1: 6.5rem;

    /*** spacing*/

    --section-padding: 120px;

  }



  /*** REUSED STYLE*/

  .container {
    max-width: 960px;
  }

  .h2 {
    --fs-1: 5.5rem;
  }

  .section-text {
    --fs-3: 2.4rem;
  }

  .btn {
    --padding: 10px 32px;
    font-weight: var(--fw-500);
  }

  .btn-secondary {
    --padding: 14px 32px;
  }



  /*** FOOTER*/

  .footer-top {
    grid-template-columns: 1fr 0.7fr 0.7fr 0.7fr;
  }


}





/*** responsive for large than 1200px screen*/
@media (max-width:1200px) {
  .mansi_snap{
    display: none;
  }

}


@media (min-width: 1200px) {

  /*** CUSTOM PROPERTY*/

  :root {

    /*** typography */

    --fs-1: 6.5rem;

  }



  /*** REUSED STYLE*/

  .container {
    max-width: 1140px;
  }

  .h2 {
    --fs-1: 5.2rem;
  }

  .grid-list {
    grid-template-columns: repeat(3, 1fr);
  }



  /*** HEADER*/

  .nav-open-btn,
  .navbar-title {
    display: none;
  }

  .header .btn {
    display: block;
  }

  .navbar,
  .navbar.active {
    all: unset;
    margin-inline-start: auto;
  }

  .navbar-list {
    display: flex;

  
  }

  .navbar-item {
    border: none;
   
  }

  .navbar-link {
    text-transform: uppercase;
    font-weight: var(--fw-500);
    
  }



  /*** SERVICE*/

  .service .grid-list {
    grid-template-columns: repeat(4, 1fr);
  }


}


