@media (max-width: 1365px) {
    .hero-carousel .carousel-item {
        height: auto;
    }

        .hero-carousel .carousel-item img {
            width: 100%;
            height: auto;
        }

    .hero-carousel .carousel-caption h2 {
        font-size: 2.8rem
    }
}

@media (max-width: 1199px) {


    .feature-item {
        margin-right: 60px;
        padding: 35px 0;
    }

    .img-card .info-card {
        right: -20px;
        bottom: -40px;
        width: 330px;
        padding: 25px 30px;
    }

    .media-card {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

        .media-card img {
            height: 210px;
        }

    .content-wrp {
        min-height: auto;
        padding: 50px 0px;
    }

    .security-card {
        min-width: calc(50% - 20px);
    }

    .testimonial-section::before {
        width: 100%;
    }

    .footer-top {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .security-info p, .security-info h5 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 991px) {
    .header-left .menu-toggle {
        width: 55px;
        height: 100%;
    }

    .header-right {
        gap: 15px;
        padding-right: 15px;
    }

    .header-phone {
        font-size: 0.9rem;
    }

    .header-right .btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }


    .hero-carousel .carousel-caption {
        width: 70%;
        top: 5%;
        transform: inherit;
        animation: inherit !important;
        opacity: 1;
    }

        .hero-carousel .carousel-caption h2 {
            font-size: clamp(2.5rem, 4vw, 4rem);
        }

        .hero-carousel .carousel-caption p {
            font-size: 0.95rem;
            margin: 20px auto 30px;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

    .btn.special-btn {
        padding: 12px 22px;
        font-size: 0.9rem;
    }

    .security-section .heading-65 {
        width: 100%;
        text-align: center;
    }

    .feature-item {
        margin-right: 0;
        gap: 20px;
    }

        .feature-item.only-btn {
            padding-left: 79px;
        }

    .img-card {
        margin-top: 40px;
    }

        .img-card img {
            padding-right: 20px;
            padding-bottom: 20px;
        }

        .img-card:before {
            border-width: 30px;
        }

        .img-card .info-card {
            margin-top: 20px;
            border-width: 25px;
        }

    .security-section .img-card {
        margin: 0px;
    }

    .media-card {
        flex: 0 0 50%;
        max-width: 50%;
    }

        .media-card img {
            height: 200px;
        }

    .slider-nav {
        width: 40px;
        height: 40px;
    }

    .security-card {
        min-width: calc(50% - 15px);
    }

    .security-info h5 {
        font-size: 1.15rem;
    }

    .security-info p {
        font-size: 0.9rem;
    }


    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-image {
        height: 400px;
    }

    .story-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-features {
        grid-template-columns: 1fr;
    }

    .featured-title {
        font-size: 1.6rem;
    }

    .form-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-hero h1 {
        font-size: 2.8rem;
    }

    .form-features {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        flex: 1 1 40%;
    }

    .container, .container-sm {
        max-width: 95%;
    }

    .product-search-full {
        padding: 20px 0px;
    }
    .product-comapre-wrp .card {
        width: 900px;
    }
}

@media (max-width: 767px) {
    .header {
        flex-direction: column;
        height: auto;
        align-items: flex-start;
        gap: 10px;
    }

    .header-left {
        width: 240px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--color-bg-white);
        height: 55px;
        padding-left: 55px;
        position: relative;
    }

    .header-left .menu-toggle {
        height: 100%;
        position: absolute;
        left: 0px;
    }

    .logo img {
        height: 26px;
    }

    .header-right {
        width: 100%;
        padding: 5px 15px 15px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .header-phone {
        font-size: 0px;
        position: absolute;
        top: 10px;
        right: 5px;
        width: auto;
    }

        .header-phone i {
            font-size: 14px;
        }

    .search-wrapper {
        width: 100%;
        border-radius: 30px;
        justify-content: flex-start;
        padding-left: 15px;
    }

    .search-wrapper input {
        width: 80%;
        opacity: 1;
        font-size: 16px;
    }


    .security-section .heading-65 {
        width: 80%;
    }

    .hero-carousel .carousel-caption h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-carousel .carousel-caption p {
        font-size: 0.9rem;
        margin: 15px auto 25px;
    }

    .hero-carousel .carousel-caption .d-flex {
        flex-direction: column;
        gap: 15px;
    }

    .btn.special-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .hero-carousel .carousel-caption .btn {
        width: 64% !important;
    }

    .security-section .heading-65 {
        width: 100%;
        text-align: left;
    }

    .feature-item {
        flex-direction: row;
        gap: 15px;
        padding: 30px 0;
    }

    .img-card img {
        width: 100%;
        padding: 0;
    }

    .img-card:before {
        display: none;
    }

    .img-card .info-card {
        width: 90%;
        border-width: 13px !important;
        padding: 20px !important;
        right: -5%;
        position: inherit;
        bottom: inherit;
        margin-top: -100px;
    }

    .media-section {
        padding: 40px 0;
    }

    .heading.right-side-btn {
        flex-direction: column;
        align-items: flex-start;
    }

    .heading.right-side-btn {
        align-items: center;
        text-align: center;
        gap: 10px;
    }

        .heading.right-side-btn h2 {
            font-size: 1.8rem;
        }

    .media-slider {
        padding: 0 30px;
    }

    .media-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

        .media-card img {
            height: 190px;
        }

    .slider-prev {
        left: -5px;
    }

    .slider-next {
        right: -5px;
    }

    .media-content h4 {
        font-size: 1rem;
    }

    .media-content p {
        font-size: 0.9rem;
    }

    .security-case-section {
        padding: 70px 0;
    }

    .security-card {
        min-width: 100%;
    }


    .security-info {
        padding: 20px;
    }

        .security-info h5 {
            font-size: 1.1rem;
        }

    .about-hero h2 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    .about-hero::before {
        width: 100%;
        opacity: 0.1;
    }

    .hero-breadcrumb {
        gap: 6px; 
        flex-wrap: wrap; 
    }

    .hero-breadcrumb .separator {
        margin: 0 2px; 
    }

    .hero-breadcrumb a,
    .hero-breadcrumb .current {
        white-space: nowrap; 
    }
    .timeline::before {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }

    .timeline-year {
        left: 0 !important;
        right: auto !important;
    }

    .story-stats {
        grid-template-columns: 1fr;
    }

    .form-body {
        padding: 30px 20px;
    }

    .step-label {
        font-size: 0.8rem;
    }

    .step-circle {
        width: 35px;
        height: 35px;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .process-number {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .featured-img {
        height: 300px;
    }

    .featured-content {
        padding: 30px 20px;
    }

    .submenu {
        margin: 5px 0;
        padding-left: 10px;
        background: rgba(255, 159, 13, 0.05);
    }

        .submenu a {
            padding: 8px 15px;
        }

            .submenu a:hover {
                padding-left: 20px;
            }

    .nested-submenu {
        margin: 3px 10px;
    }

        .nested-submenu a {
            padding: 6px 15px 6px 25px;
        }

            .nested-submenu a:hover {
                padding-left: 30px;
            }

    .footer-top {
        grid-template-columns: repeat(1, 1fr);
    }

    .footer-socials {
        display: grid;
        width: 100%;
        gap: 10px;
    }

    .solution-content h4, .feature-item h5 {
        font-size: 18px;
    }

    .testimonial-content {
        grid-template-columns: inherit;
        gap: 10px;
    }

    .testimonial-section {
        border-bottom: 50px solid var(--color-bg-white);
    }

        .testimonial-section::before {
            height: calc(100% + 50px);
        }

    .testimonial-left {
        padding-right: 50px;
    }

    .content-wrp {
        padding: 30px 0px;
    }

    .story-text h2 {
        font-size: 1.8rem;
    }

    .heading {
        margin-bottom: 30px;
    }

    .values-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .container, .container-sm {
        max-width: 100%;
    }

    .search-form {
        display: grid;
        gap: 0px;
    }

        .search-form .form-select {
            width: 100%;
            border-right: 0px !important;
            border-bottom: 1px solid var(--color-border);
            padding: 0px;
        }

        .search-form .form-control {
            padding: 5px 0px;
            height: 50px;
        }

        .search-form ul {
            margin: 0px;
        }

    .faq-question {
        padding: 20px;
    }

    .result-section .result-box {
        margin-top: 25px;
    }

    .result-display {
        height: auto;
    }

    .calculator-container .settings-panel .table-container {
        border: 0px;
    }

    .streams-table thead {
        display: none;
    }

    .streams-table,
    .streams-table tbody,
    .streams-table tr,
    .streams-table td {
        display: block;
        width: 100%;
    }

        .streams-table tr {
            margin-bottom: 25px;
            border: 0px;
            padding: 10px;
            border: 1px solid var(--color-border);
            position: relative;
        }

        .streams-table td {
            display: flex;
            justify-content: space-between;
            padding: 8px;
            border: none;
            border-bottom: 1px solid var(--color-border);
            width: 100% !important;
            align-items: center;
        }

            .streams-table td::before {
                content: attr(data-label);
                font-weight: bold;
                width: 150px;
                text-align: left;
            }

            .streams-table td:nth-last-child(2) {
                border-bottom: 0px;
                padding-bottom: 0px;
            }

            .streams-table td:last-child {
                border-bottom: 0px;
                padding: 0px;
            }

    .add-row-link {
        border: 1px solid var(--color-primary) !important;
    }

    .streams-table td:last-child .remove-row {
        position: absolute;
        top: -14px;
        right: -1px;
        background: white;
        padding: 0px 5px;
        border: 1px solid var(--color-border);
    }

    .compare-card {
        z-index: 99999;
        height: 100%;
        width: 100%;
    }

    .compare-card .compare-box {
        height: calc(100% - 125px);
        overflow: auto;
        display: block;
    }
    .compare-card .compare-box .compare-card-item {
        margin-bottom: 15px;
    }
    .compare-card .compare-box .compare-card-item:last-child {
        margin-bottom: 5px;
    }
    .compare-card .compare-box .compare-card-item .not-slected {
        height: 224.4px;
    }
    .compare-card .compare-box .compare-card-item .img-card {
        margin: 0px;
        height: 200px;
    }
    .btn-compare-hide {
        display: block;
    }
    .search-wrapper input[type="search"] {
        font-size: 16px;
    }
    
}

@media (max-width: 576px) {
    .mission-card,
    .vision-card {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .about-hero {
        padding: 40px 0 40px;
    }

    .story-highlight {
        padding: 20px;
    }

    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }

        .form-navigation .btn {
            width: 100%;
        }

    .quote-section {
        padding: 60px 0;
    }

    .quote-hero {
        padding: 80px 0 40px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .form-features .feature-item {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: auto;
    }
}

@media (max-width: 480px) {



    .hero-carousel .carousel-caption h2 {
        font-size: 1.6rem;
    }

    .hero-carousel .carousel-caption p {
        font-size: 0.85rem;
        margin: 10px auto 20px;
    }

    .btn.special-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .feature-item {
        padding: 25px 0;
    }

    .img-card .info-card {
        padding: 15px;
        border-width: 15px;
    }

        .img-card .info-card h5 {
            font-size: 1rem;
        }

        .img-card .info-card p {
            font-size: 0.85rem;
        }

    .heading.right-side-btn h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .heading.right-side-btn p {
        font-size: 0.9rem;
        text-align: center;
    }

    .media-card-inner {
        border-radius: 6px;
    }

    .media-card img {
        height: 160px;
    }

    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .slider-prev {
        left: -10px;
    }

    .slider-next {
        right: -10px;
    }

    .media-content {
        padding: 15px;
    }

        .media-content h4 {
            font-size: 0.95rem;
        }

    .media-meta {
        font-size: 0.8rem;
    }

    .security-info h5 {
        font-size: 1rem;
    }

    .security-info p {
        font-size: 0.85rem;
    }



    .feature-card,
    .solution-card {
        padding: 25px 20px;
    }

    .nav-tabs .nav-link {
        padding: 8px 12px;
    }
}
