/**
===========
  General
===========
**/
.pd-top {
    padding-top: 55px !important;
}

.pd-bottom {
    padding-bottom: 55px !important;
}

.txt-blue {
    color: var(--primary-color) !important;
}

/**
==========
 Welcome
==========
**/
.welcome {
    max-height: 85vh;
}

.welcome-bg {
    position: relative;
    margin: 0 auto;
    background-image: url("../images/home-bg.jpg");
    background-color: #cccccc;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /*z-index: -1;*/
}

.welcome-content {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#clients .slick-track {
    height: 60px;
    display: flex
;
    align-items: center;
}

.clients-slider {
    display: flex;
    justify-content: center;  /* Center horizontally */
    align-items: center;      /* Center vertically */
    flex-wrap: wrap;               /* Adjust space between images */
    min-height: 130px;        /* Adjust height as needed */
}

.clients-slide-item {
    /*padding: 20px;*/
}
.client-logo-img {
    transition: 0.3s;
    opacity: 0.5;
    filter: grayscale(100);
    width: 100%;           /* Set width */
    height: 100%;           /* Set height */
    object-fit: contain;    /* Keep aspect ratio without distortion */
    display: block;
    margin: auto;
}

.client-logo-img:hover {
    filter: none;
    opacity: 1;
}

.welcome-txt {
    color: #f8f9fa !important;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.welcome-txt p {
    margin-bottom: 3px !important;
}

.welcome-bg, .welcome-content {
    height: 85vh;
    width: 100%;
}

.brand-txt {
    position: relative;
    color: white;
    font-size: 100px;
    font-family: "Audiowide", sans-serif;
    text-transform: uppercase;
}


.brand-txt .letter {
    display: inline-block;
    line-height: 1em;
    opacity: 1 !important;
}

.logo {
    width: 150px;
}

#particles-js {
    height: 100%;
}

.boxed-container {
    box-shadow: 0px 1px 7px 0px #ccc;
    padding: 19px;
}

/**
=======
 ABOUT
=======
**/
#about {
    margin-top: 60px;
    margin-bottom: 100px;
}

#about img {
    /*filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, .4));*/
}

#about p {
    margin: 0 !important;
}

.about-txt {
    margin-top: 30px;
    margin-bottom: 30px;
}
    /*
    ==========
     Services
    ==========
    */
#services {
    color: white;
    height: auto;
    position: relative;
    padding-top: 30px;
    padding-bottom: 40px;
    overflow: hidden;
    background-image: url("../images/testimonials.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.service-icon img {
    width: 170px;
    transition: transform .3s ease-in-out;
}

.service-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 230px;
    margin-bottom: 90px;
}

.service-title h2 {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.service-link {
    display: block;
    text-align: center;
}

.service-link:hover .service-icon {
    transform: scale(1.02);
}

.service-desc {
    display: inline-block;
    line-height: 19px !important;
    width: 262px !important;
    text-align: center;
    color: #bbd3e8;
    margin-top: 6px;
}

.more-service-btn {
    background: transparent;
    border: 1px solid #fff;
    color: #ffffff;
    padding: 11px 31px;
    font-weight: 500;
}

.more-service-btn:hover {
    /*background: #ffffff;*/
    color: #ffffff;
}

/**
==================
 Web Applications
==================
**/
.web-app-item {
    margin-bottom: 100px;
    box-shadow: 0 2px 30px rgba(169, 169, 169, 0.28);
}

.web-app-logo {
    margin-bottom: 12px;
}

.web-app-logo img {
    max-width: 60%;
    max-height: 70px;
}

.web-app-thumbnail img {
    height: 100%;
    object-fit: cover;
    width: 100%;
    border-radius: 0px;
    border: 3px solid var(--white-color);
}

.web-item-content {
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.p-b-1 a {
    font-size: 20px;
    color: var(--main-text-color);
    font-weight: bold;
}

.web-app-item p {
    color: var(--text-light-color);
    font-size: 15px;
}

.application__subtitle {
    margin-top: 80px;
}

/**
========
 Trial
========
**/
.trial {
    min-height: 168px;
    text-align: center;
    -moz-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.43);
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.43);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.43);
    box-sizing: border-box;
}

/**
==================
 Mobile Applications
==================
**/
.mobile-app-thmbn {
    width: 350px;
    display: inline !important;
}

/**
==============
 Testimonials
==============
**/
.testimonials-slider {
    max-height: 412px;
}

#testimonials {
    color: white;
    height: auto;
    position: relative;
    padding-top: 80px;
    /*padding-bottom: 40px;*/
    overflow: hidden;
    background-image: url("../images/testimonials.png"); /* The image used */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
}

.testimonial-container {
    max-width: 85% !important;
}

.testimonials-slider {
    margin-top: 5px;
}

.testimonial {

}

.testimonial--text-block {
    position: relative;
    background: rgba(255, 255, 255, 0.07);
    padding: 7px;
    min-height: 230px;
    margin-right: 7px;
    margin-left: 7px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.testimonial--text-block::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 25px;
    height: 15px;
    background-color: rgba(255, 255, 255, 0.07);
    -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.testimonial--text-block .fad {
    position: absolute;
    color: #fff;
    font-size: 24px;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    opacity: 0.6;
}

.testimonial--text-block .fa-quote-left {
    top: -11px;
    left: 15px;
}

.testimonial--text-block .fa-quote-right {
    bottom: -11px;
    right: 50%;
    transform: translateX(50%);
    display: none;
}

.testimonial-from {
    margin-bottom: 15px;
}

.testimonial-name {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

.testimonial-position {
    font-size: 13px;
    text-transform: capitalize;
    font-weight: 400;
    color: #ffffff;
}

.testimonial-position span {
    color: #fff;
}

.testimonial-url {
    color: #91dbef;
    font-weight: 600;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}

.testimonial-url:hover {
    color: #1fa9d6;
}

.testimonial-img {
    margin-top: 1px;
    width: 100%;
    padding: 1px;
    position: relative;
    margin-bottom: 20px;
}

.testimonial img {
    height: 100px;
    width: 100px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    margin: auto;
    padding: 5px;
}

.testimonial-img::after, .testimonial-img::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 3px;
    background-color: rgba(250, 250, 250, .1);
    width: calc(50% - 60px);
    z-index: -1;
}

.testimonial-img::before {
    right: 0;
}

.testimonial-img::after {
    left: 0;
}


.testimonial-txt {
    max-width: 945px;
    width: 100%;
    font-family: Kalam;
    color: #fff;
    font-size: 15px;
    padding: 0px 14px;
}


/**
==============
 Request Form
==============
**/
.request-form-container {
    padding: 34px;
    box-shadow: 0 50px 80px -10px rgba(0, 0, 0, .17), 18px 18px rgba(141, 208, 255, 0.2);
    border-radius: 0;
}

.request-form-txt {
    color: #8a8282;
    padding: 10px 30px 30px 0;
}

.request-form-container .form-control {
    font-size: 14px;
    border-color: #e8e8e8;
    border-radius: 0px;
}

.request-form-container input {
    height: 50px;
}

textarea:focus,
textarea.form-control:focus,
input.form-control:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
[type=text].form-control:focus,
[type=password].form-control:focus,
[type=email].form-control:focus,
[type=tel].form-control:focus,
[contenteditable].form-control:focus {
    box-shadow: none;
}

/**
==============
 MOBILE APPS
==============
**/
#mobile-apps [id*=screenshots-carousel] .owl-carousel .owl-stage-outer {
    padding-bottom: 45px
}


#mobile-apps [id*=screenshots-carousel] .owl-carousel .owl-item.center img, #mobile-apps [id*=screenshots-carousel] .owl-carousel .owl-item.center img:before {
    border-radius: 5px
}

#mobile-apps [id*=screenshots-carousel] .owl-carousel .owl-item.center:before {
    opacity: 1
}

#mobile-apps [id*=screenshots-carousel] .owl-carousel .owl-item img {
    min-height: 487px;
    overflow: hidden;
    border-radius: 15px;
}

#mobile-apps #screenshots-carousel-2 .owl-carousel .owl-item img {
    height: 580px;
    width: auto
}

.carousel-navigation, .owl-carousel .owl-nav {
    margin: auto;
    width: fit-content;
    width: -moz-fit-content
}

.carousel-navigation [class*=next], .carousel-navigation [class*=prev], .owl-carousel .owl-nav [class*=next], .owl-carousel .owl-nav [class*=prev] {
    text-align: center;
    border-radius: 50%;
    padding: 10px 0;
    height: 40px;
    width: 40px;
    margin: 5px;
    font-weight: 900 !important;
    box-shadow: 0 5px 20px 1px rgba(61, 61, 61, .2);
    display: inline-block;
    cursor: pointer
}

.carousel-navigation [class*=next]:hover, .carousel-navigation [class*=prev]:hover, .owl-carousel .owl-nav [class*=next]:hover, .owl-carousel .owl-nav [class*=prev]:hover {
    transform: scale(.9);
    box-shadow: 0 5px 20px 1px rgba(61, 61, 61, .2);
    border-color: transparent
}

.carousel-navigation [class*=prev], .carousel-navigation button[class*=prev], .owl-carousel .owl-nav [class*=prev], .owl-carousel .owl-nav button[class*=prev] {
    background-color: var(--primary-color);
    color: var(--white-color)
}

.carousel-navigation [class*=next], .carousel-navigation button[class*=next], .owl-carousel .owl-nav [class*=next], .owl-carousel .owl-nav button[class*=next] {
    background-color: var(--white-color);
    color: var(--primary-color)
}

.carousel-indicators {
    width: fit-content;
    width: -moz-fit-content;
    position: relative;
    display: block;
    bottom: 0;
    top: 0;
    margin: 20px auto;
}

.carousel-indicators .dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: #ececec;
    display: inline-block;
    margin: 0 3px;
    cursor: pointer
}

.carousel-indicators .dot.active {
    background-color: var(--primary-color)
}

@media only screen and (max-width: 992px) {
    .brand-txt {
        font-size: 40px;
    }

    .welcome-content .logo {
        width: 90px;
    }
}

.title-with-bg {
    width: 100%;
    /*background: url("https://directlinedev.com/media/services/service/background/background_27.wide.jpeg");*/
    background: url("../images/website-psd-mockup.jpg");
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    flex-direction: column;
    color: #fff;
    padding-top: 40px;
    box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.48);
    /*background-blend-mode: saturation;*/
    /*background-color: #4039825c;*/
}

.title-with-bg > div {
    text-align: center;
}

.title-with-bg > div.title-text {
    font-size: 2.4rem;
    line-height: 1;
}

.title-with-bg > div.title-text .txt-blue {
    color:#3dd5fd !important
}


.mt--400 {
    margin-top: -400px;
}

#mobile-apps {
    position: relative;
}

#mobile-apps::before {
    content: "";
    height: 100%;
    width: 36%;
    background: #d1d6dc26;
    position: absolute;
    right: 21px;
    top: 0;
    transform: rotate(74deg);
}

#successful-projects {
    margin-top: 70px;
    margin-bottom: 70px;
}

.successful-projects-slide-nav-container {
    background: #2d77b1cc;
    bottom: 0;
    left: 0;
    width: 100%;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.successful-see-more {
    color: #3dd4fb;
    font-weight: 400;
    cursor: pointer;
    background-color: transparent;
    font-size: 1rem;
    line-height: 1.5;
}

.stats-section-with-bg {
    width: 100%;
    /*background: url("../images/website-psd-mockup.jpg");*/
    /*height: 250px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    flex-direction: column;
}

.project-link-container {
    padding-left:15px;
    min-height: 75px;
    display: flex;
    justify-content: start;
    align-items: center;
    text-align: center;
}

.clients-section {
    /*height: 15vh;*/
    background-color: #f6f9fa
}

.clients-slide-item {
    /*width: 200px;*/
    /*height: 100px;*/
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.d-flex-btn {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    gap: 10px; /* Add space between buttons */
    justify-content: center; /* Center the buttons horizontally */
}

.flex-button {
    flex: 1 1 150px; /* Flexible sizing */
    max-width: 200px; /* Limit the maximum size */
    text-align: center; /* Center align the button */
}

.same-width-btn {
    width: 100%;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;

    background: transparent;
    border: 1px solid #fff;
    color: #ffffff;
    padding: 11px 31px;
    font-weight: 500;
}

.same-width-btn-active {
    background-color: #ffffff;
    color: #212529;
}

.same-width-btn:hover {
    background-color: #ffffff;
}

@media (max-width: 768px) {
    .flex-button {
        flex: 1 1 100%;
    }
}
