/* Laptop screens (15.6 inches approximately 1366px to 1680px) */
@media (max-width: 1680px) {

    /* Rules for 15.6-inch laptop screens */
}

/* Laptop screens (13 inches approximately 1280px) */
@media (max-width: 1365px) {
    /* Rules for 13-inch laptop screens */
}

/* Medium screens (between 992px and 1199px) */
@media (max-width: 1199px) {

    /* Rules for medium screens */
    .navbar-brand {
        max-width: 120px;
        margin: 0;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        margin: 0 3px;
    }

    .services .service-item {
        padding: 20px;
    }

    .services .service-item h4 {
        font-size: 23px;
    }

    .services .service-item .btn,
    .services .service-item p {
        font-size: 16px;
    }

    .services .service-item .btn {
        padding: 5px 20px;
    }

    .services .container,
    .devices .container {
        max-width: 100%;
    }

    .device-row {
        grid-template-columns: 1fr 2fr 2fr;
    }

    footer .d-flex {
        flex-wrap: wrap;
    }

    footer .links {
        order: 0;
        flex: 1 1 100%;
    }

    footer .logo {
        order: 2;
    }

    footer .social-media ul {
        margin: 0;
    }
}

/* Small screens (between 768px and 991px) */
@media (max-width: 991px) {

    /* Rules for small screens */
    .container {
        max-width: 100%;
    }

    .mobile-header {
        padding: 10px 20px;
    }

    .mobile-header .search {
        margin: 0 auto;
        order: 3;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #fff;
        z-index: 999;
        padding-top: 60px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .open-mune {
        order: 5;
    }

    .close-mune {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 30px;
        color: #333;
    }

    .mobile-menu .nav-link {
        color: #333;
        border-bottom: 1px solid #333;
    }

    .mobile-menu .lang .has-dropdown {
        color: #333;
        padding: 5px 0;
        border-bottom: 1px solid #333;
    }

    .device-row {
        grid-template-columns: 1fr 2fr 2fr;
    }

    .cell.image {
        height: unset;
    }

    .cell.title,
    .cell .img,
    .cell p {
        font-size: 16px;
        line-height: 24px;
    }

    .blogs .col-12:nth-child(2) .blogs-item {
        border: 0;
    }
}

/* Very small screens (less than 768px) */
@media (max-width: 767.98px) {
    .main-title {
        font-size: 30px;
        line-height: 45px;
    }

    .hero .hero-content .image {
        margin-top: -60px;
    }

    .hero .hero-content {
        padding: 10px;
    }

    .device-hero_content h2,
    .hero .hero-content h2 {
        font-size: 30px;
        line-height: 45px;
    }

    .services {
        margin-top: -100px;
    }

    /* Rules for very small screens */
    .pt-150 {
        padding-top: 75px;
    }

    .pt-100 {
        padding-top: 50px;
    }

    .pb-100 {
        padding-bottom: 50px;
    }

    .main-title::after,
    .main-title::before {
        display: none;
    }

    .device-row {
        grid-template-columns: 1fr 2fr 2fr;
    }

    .device-row:nth-child(1) .cell.image:nth-child(3) {
        border-radius: 8px 0 0 0;
        -webkit-border-radius: 8px 0 0 0;
        -moz-border-radius: 8px 0 0 0;
        -ms-border-radius: 8px 0 0 0;
        -o-border-radius: 8px 0 0 0;
    }

    .device-row:last-of-type .cell:nth-child(3) {
        border-radius: 0 0 0 8px;
        -webkit-border-radius: 0 0 0 8px;
        -moz-border-radius: 0 0 0 8px;
        -ms-border-radius: 0 0 0 8px;
        -o-border-radius: 0 0 0 8px;
    }
    .cell.title,
    .device-row .btn,
    .cell .img,
    .cell p {
        padding: 5px;
        font-size: 9px;
        line-height: 15px;
        color: #fff;
    }
    .cell.image,
    .cell{
        padding: 5px;
    }
    .devices-box {
        padding: 5px;
    }

    .device-row .btn {
        padding: 5px 20px;
    }

    .fqa .accordion-button {
        padding: 10px;
        text-align: right;
        font-size: 18px;
        line-height: 27px;
    }

    .fqa .accordion-button::after {
        margin-right: 30px;
    }

    footer .logo {
        order: 0;
    }

    footer .links ul {
        flex-direction: column;
        align-items: flex-start !important;
    }

    footer .links li {
        margin: 10px 0;
    }

    footer .social-media {
        margin-bottom: 10px;
    }

    .our-team .our-team_item {
        padding: 20px;
    }

    .our-team_item-iamge img {
        width: 100%;
        height: auto;
    }

    .our-team .our-team_item h5 {
        font-size: 20px;
        line-height: 30px;
        margin-top: 20px;
    }

    .our-team .our-team_item h6 {
        font-size: 16px;
    }

    .our-team_item-info ul {
        margin: 0;
    }

    .about-content .about-item:nth-child(even),
    .about-content .about-item {
        flex-direction: column;
    }

    .active-device_image img,
    .about-item_image img {
        width: 100%;
        height: auto;
    }

    .about-content .about-item h3 {
        font-size: 30px;
        line-height: 45px;
        margin-bottom: 20px;
    }

    .device-hero_content p,
    .hero .hero-content p {
        margin: 10px 0;
    }

    .blog-content .blog-content_desc p,
    .device-hero_content p,
    .hero .hero-content p,
    .about-content .about-item p {
        font-size: 17px;
        line-height: 23px;
    }

    .nav-pills {
        max-width: 100%;
        margin-top: 20px;
    }

    .edit-password .col-md-4 {
        order: 2;
    }

    .active-device-hero .image-ovelay {
        height: 100%;
    }

    .active-device_image {
        margin-top: 0;
    }

    .login-sect .form-conatiner h3,
    .blog-details .head-sect h2 {
        font-size: 30px;
        line-height: 45px;
    }

    .blog-content .blog-content_shear {
        padding: 30px 20px;
    }

    .blog-content .blog-content_shear h6 {
        font-size: 20px;
        line-height: 30px;
    }

    .device-form,
    .list-info {
        width: 95%;
    }

    .device-form>* {
        width: 100%;
    }

    .login-sect .form-conatiner {
        width: 100%;
    }

    .produts-container .col-md-4 {
        width: 100%;
    }

    .tab-content,
    .nav-pills {
        padding: 20px;
    }

    .upload-text h5 {
        font-size: 15px;
        line-height: 18px;
    }

    footer .copy-right p,
    .file-info,
    .form-label,
    h4,
    .form-control,
    .form-select,
    .form-check-label {
        font-size: 14px;
        line-height: 21px;
    }

    .user-info {
        margin-bottom: 10px !important;
    }

    .tab-pane h2,
    .user-info h5 {
        font-size: 20px;
        line-height: 30px;
    }

    .ticket-form .text-start {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .ticket-form .text-start .btn {
        flex-grow: 1;
    }

    .nav-pills .nav-link {
        font-size: 18px;
    }
}
@media (max-width: 1199px) {
    .services .service-item {
        flex-direction: column-reverse;
    }
}