/****************************
            Fonts
*****************************/
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@200;300;500;600;700;800;900&display=swap');

/****************************
            Generals
*****************************/
a, p, h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    letter-spacing: 1.3px;
    text-decoration: none;
}
p {
    color: var(--ds-grey-text);
}

/****************************
            Colors
*****************************/
:root {
    --ds-main-color: rgb(131 155 189);;
    --ds-white: #ffffff;
    --ds-grey-text: #999;
    --ds-title-grey: #3e3e3e;
    --ds-transparent-white: #ffffff80
}

/******************************************
            Reusable blocks
*******************************************/
.ds-devider {
    background-color: var(--ds-main-color);
    width: 200px;
    height: 3px;
    display: inline-block;
    margin: 2rem 0;
}



hr {
    height: 1px;
    color: #999;
    margin-top: 20px;
    margin-bottom: 20px;
}

/***************************************
            Navbar
****************************************/
.shadow {
    background-color: var(--ds-main-color);
    box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.5);
    transition: ease-in-out 320ms;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover{
    color: var(--ds-white);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--ds-transparent-white);
    font-size: 1.3rem;
}

.navbar-light .navbar-nav .nav-link:not(a.cont)::after {
    display: inline-block;
    content: "";
    border-right: 2px solid var(--ds-white);
    height: 20px;
    transform: translateY(3px);
    margin-left: 10px;
}

/***************************************
            Header Section 
****************************************/
.ds-top-sec {
    background-color: var(--ds-main-color);
    padding-top: 4rem;
}
.ds-header .row {
    padding: 10rem 10px;
}

.ds-header .row .ds-text-col {
    padding-left: 0;
}

.ds-header .ds-text-wrapper h1 {
    font-weight: 700;
    color: var(--ds-white);
    margin-bottom: 2rem;
    font-size: 3.4rem;
}

.ds-header .ds-text-wrapper p {
    color: var(--ds-white);
}

.ds-header .ds-btn-wrapper {
    margin-top: 2.5rem;
}

.ds-header .ds-btn-wrapper button {
    background-color: #ffffff;
    display: block;
    padding: 15px 30px;
    color: var(--ds-main-color);
    border: none;
    border-radius: 40px;
    font-size: 1.25rem;
    
    transition: ease-in-out 500ms;
}

.ds-header .ds-btn-wrapper button:hover {
    scale: 1.2 ;
    box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.5);
    transition: ease-in-out 500ms;
}



/***************************************
            raised div Section 
****************************************/
.ds-raised {
    background-color: var(--ds-white);
    width: 95%;
    padding-top: 4rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: calc(-10rem - 35px);
    margin-bottom: 4rem;
    position: relative;
    box-shadow: 0 16px 24px 2px rgb(0 0 0 / 14%), 
        0 6px 30px 5px rgb(0 0 0 / 12%), 
        0 8px 10px -5px rgb(0 0 0 / 20%);
    border-radius: 25px;
}

/***************************************
            first Section 
****************************************/
.ds-white-sec {
    margin-bottom: 4rem;
    height: 100vh;
}
.ds-white-sec h1 {
    margin-bottom: 2rem;
}

.ds-white-sec p {
    color: var(--ds-grey-text);
    margin-bottom: 3rem;
}

.ds-white-sec .left-img {
    left: calc(50% - 510px);
    top: 8%;
    z-index: 1;
    position: absolute;
    box-shadow: 0 16px 24px 2px rgb(131 155 189), 0 6px 30px 5px rgb(131 155 189), 0 8px 10px -5px rgb(131 155 189);
    -webkit-box-shadow: 0 16px 24px 2px rgb(131 155 189), 0 6px 30px 5px rgb(131 155 189), 0 8px 10px -5px rgb(131 155 189);
}

.ds-white-sec .middle-img {
    left: calc(50% - 230px);
    z-index: 3;
    position: absolute;
    box-shadow: 0 16px 24px 2px rgb(131 155 189), 0 6px 30px 5px rgb(131 155 189), 0 8px 10px -5px rgb(131 155 189);
    -webkit-box-shadow: 0 16px 24px 2px rgb(131 155 189), 0 6px 30px 5px rgb(131 155 189), 0 8px 10px -5px rgb(131 155 189);
}

.ds-white-sec .right-img {
    left: calc(46% - -135px);
    top: 8%;
    z-index: 2;
    position: absolute;
    box-shadow: 0 16px 24px 2px rgb(131 155 189), 0 6px 30px 5px rgb(131 155 189), 0 8px 10px -5px rgb(131 155 189);
    -webkit-box-shadow: 0 16px 24px 2px rgb(131 155 189), 0 6px 30px 5px rgb(131 155 189), 0 8px 10px -5px rgb(131 155 189);
}

/***************************************
            second Section 
****************************************/
.ds-app-mockup {
    margin-top: 10rem;
}

.ds-app-mockup .ds-mockup-text p {
    font-size: 15px;
    line-height: 29px;
    font-weight: 500;
    color: var(--ds-grey-text);
}

@-webkit-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);} 
            40% {-webkit-transform: translateY(-30px);} 
            60% {-webkit-transform: translateY(-15px);
            }}
.bounce {
    -webkit-animation:bounce 3s infinite;
}


/***************************************
            benefits Section 
****************************************/
.ds-benefits .container {
    margin-top: 6rem;
}



.ds-benefit-wrap {
    margin-top: 6rem;
}

.ds-benefits-text {
    display: inline-block;
}

.ds-benefits-text h5 {
    color: var(--ds-title-grey);
}

.ds-benefit-icon {
    display: inline-block;
}

.ds-left-benefits .ds-benefit-icon .icon-border  {
    margin-top: 25px;
    margin-left: 20px;
    width: 70px;
    height: 70px;
    font-size: 36px;
    text-align: center;
    border: 1px solid var(--ds-grey-text);
    border-radius: 50%;
    line-height: 65px;
    transition: ease-in-out 320ms;
}

.ds-benefit-icon i {
    color: var(--ds-main-color);
    transition: ease-in-out 320ms;
}


.ds-right-benefits .ds-benefit-icon .icon-border  {
    margin-top: 25px;
    margin-right: 20px;
    width: 70px;
    height: 70px;
    font-size: 36px;
    text-align: center;
    border: 1px solid var(--ds-grey-text);
    border-radius: 50%;
    line-height: 65px;
    transition: ease-in-out 320ms;
}

/***************************************
            Extra Features Section 
****************************************/
.ds-extra {
    background-color: var(--ds-main-color);
    padding-top: 4rem;
    padding-bottom: 4rem;
    margin-top: 4rem;
}

.ds-extra .ds-section-title .ds-devider {
    background-color: var(--ds-white);
}

.ds-extra .ds-section-title h1,
.ds-extra .ds-section-title p,
.ds-extra .carosel-wrap .carousel i,
.ds-extra .carosel-wrap .carousel h5,
.ds-extra .carosel-wrap .carousel p {
    color: var(--ds-white);
}

.ds-extra .ds-section-title h1 {
    font-weight: 700;
}

.ds-extra .ds-section-title p {
    font-weight: 600;
}

.ds-extra .container .carousel {
    margin-top: 7rem;
}

.ds-extra .container .carousel .carousel-item {
    margin-bottom: 5rem;
}

.ds-extra .container .carousel .carousel-indicators button {
    background-color: var(--ds-white);
}

.ds-extra .container .carousel i {
    font-size: 36px;
    margin-bottom: 2rem;
}

.ds-extra .container .carousel h5 {
    margin-bottom: 2rem;
}

.ds-extra .container .carousel p {
    font-size: 13px;
}

/***************************************
            Extra Features Section 
****************************************/

.contact-us {
    background-image: url(assets/contact-us.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    clip-path: border-box;
    height: 650px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    padding-top: 4rem;
}

.contact-us .ds-devider {
    background-color: var(--ds-white);
}

.contact-us .ds-section-title p {
    color: var(--ds-white);
}

.contact-us .ds-contact-form {
    margin-left: auto;
    margin-right: auto;
    width: 350px;
}

.contact-us .ds-contact-form input,
.contact-us .ds-contact-form textarea {
    display: block;
    margin-top: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid var(--ds-main-color);
    border-radius: 20px;
    padding: 7px 10px;
    width: 350px;
}
.contact-us .ds-contact-form input:hover,
.contact-us .ds-contact-form input:focus,
.contact-us .ds-contact-form input:active,
.contact-us .ds-contact-form textarea:hover,
.contact-us .ds-contact-form textarea:focus,
.contact-us .ds-contact-form textarea:active {
    outline: none;

}

::placeholder {
    color: #ffff;
    letter-spacing: 1.3px;
}

/* Media qeries */
@media (max-width: 1199px) {
    .ds-header .row {
        padding: 2rem 10px;
    }
}

@media (max-width: 767px) {
    .ds-white-sec .left-img,
    .ds-white-sec .right-img {
        display: none;
    }
    .ds-white-sec .middle-img {
        position: static;
        margin: 0 auto;
    }
}

@media (min-width: 767px) and (max-width: 945px) {
    .ds-white-sec .right-img {
        left: calc(50% - -25px);
    }
    .ds-white-sec .left-img {
        left: calc(50% - 400px);
    }
} 

@media (max-width: 991px) {
    .ds-benefits img {
        display: none;
    }

    .navbar-light .navbar-nav .nav-link:not(a.cont)::after {
        display: none;
    }
    .navbar {
        background-color: var(--ds-main-color);
    }

    .ds-left-benefits .ds-benefit-icon .icon-border {
        margin-right: 25px;
        margin-left: 0;
    }
}

.contact-us .form-btn {
    border: none;
    border-radius: 8px;
    background-color: var(--ds-main-color);
    color: white;
    margin-top: 10px;
}


/***************************************
************snackbar styles*************
****************************************/
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: green; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
  }
#snackbarfail {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: var(--primary-btn); /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
}
  
  /* Show the snackbar when clicking on a button (class added with JavaScript) */
  #snackbar.show {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
  }

  #snackbarfail.showfail {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
  }
  
  /* Animations to fade the snackbar in and out */
  @-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }
  
  @keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }
  
  @-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }
  
  @keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }
  .spinner-border {
    width: 25px;
    height: 25px;
  }
  .hide-spinner {
    display: none;
  }

/* Media qeries */
@media (max-width: 1199px) {
    .ds-header .row {
        padding: 2rem 10px;
    }
}

@media (max-width: 767px) {
    .ds-white-sec .left-img,
    .ds-white-sec .right-img {
        display: none;
    }
    .ds-white-sec .middle-img {
        position: static;
        margin: 0 auto;
    }
}

@media (min-width: 767px) and (max-width: 945px) {
    .ds-white-sec .right-img {
        left: calc(50% - -25px);
    }
    .ds-white-sec .left-img {
        left: calc(50% - 400px);
    }
} 

@media (max-width: 991px) {
    .ds-benefits img {
        display: none;
    }

    .navbar-light .navbar-nav .nav-link:not(a.cont)::after {
        display: none;
    }
    .navbar {
        background-color: var(--ds-main-color);
    }

    .ds-left-benefits .ds-benefit-icon .icon-border {
        margin-right: 25px;
        margin-left: 0;
    }
}
@media (max-width:450px) {
    .ds-benefit-wrap {
        flex-direction: column;
    }
    .ds-devider {
        width: 125px;
    }
    
}


/*********** Footer Section ************/
footer {
    padding: 15px;
}
footer p{
    color: gray;
}
footer a {
    color: gray;
    margin-left: 13px;
}
footer a::before {
    content: "";
    border-left: 2px solid gray;
    height: 20px;
    display: inline-block;
    margin-right: 5px;
    transform: translateY(3px);
}
