/* Base Styles (common for all screen sizes) */
.container {
    width: 100% !important;
    padding: 0 !important;
}

.menu-nav {
    margin-left: 0;
}

/* Media Queries */
/* Up to 576px */
@media (max-width: 576px) {
    .section-title h2 {
        font-size: 20px !important;
        margin-bottom: 0 !important;
        color: var(--blackColor);
        font-weight: 700 !important;
        font-family: var(--headingFontFamily);
        line-height: 1.2;
    }

    .container {
        padding: auto auto !important;
    }

    .menu-nav {
        flex-direction: column;
        gap: 10px;
    }

    #kt_header_menu_wrapper {
        justify-content: center;
    }

    .menu-toggle {
        display: block;
        width: 100%;
        text-align: center;
    }

    #kt_header_menu {
        display: none;
    }

    .middle-carousel {
        width: 100%;
        height: 55%;
        max-width: 900px;
        max-height: 274px;
        display: flex;
        overflow: hidden;
        position: relative;
    }

    .middle-carousel-item {
        width: 100% !important;
        height: 60% !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        transition: 0.6s all linear;
        margin-bottom: 20px;
    }

    .middle-carousel-item__title {
        text-align: justify;
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }

    .middle-carousel-item__info {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding: 0 26px !important;
        width: 100% !important;
    }

    .middle-carousel-item__image {
        width: 100% !important;
        height: 40% !important;
        background-size: contain;
        background-position: center;
        display: flex;
        justify-content: center;
        align-items: center;
        object-fit: contain;
    }

    .middle-carousel__dots {
        display: none !important;
    }

    .btn-set-middle {
        font-weight: 700;
        display: flex !important;
        background: var(--primaryGradientColorTwo);
        -webkit-text-fill-color: transparent;
        transition: var(--transition);
    }

    .ag-courses_item {
        flex: 1 1 100%;
        padding: 10px;
        margin-bottom: 15px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .ag-courses-item_title {
        min-height: 55px;
        line-height: 1.4;
        font-size: 16px;
        margin-bottom: 8px;
        text-align: center;
        margin: 7px 14px 7px 100px;
    }

    .ag-courses-item_date-box {
        font-size: 14px;
        text-align: center;
        margin-bottom: 10px;
    }

    .ag-courses_item a {
        display: block;
        width: 100%;
        padding: 10px;
        font-size: 14px;
        text-align: center;
        color: white;
        border: none;
        border-radius: 5px;
        text-decoration: none;
        margin-left: 34px;
    }

    /* Begin::Funfacts Section  */
    .funfact-card h3 {
        font-size: 20px;
    }

    .funfact-card p {
        font-size: 10px;
    }

    .icon-container {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .icon-container img {
        width: 50%;
        height: 35%;
    }

    /* end::Funfacts Section  */
}
@media only screen and (max-width: 767px) {
    /* begin::Our Top Services style Section */

    ul.cyber-defenses-list-tabs .nav-tabset {
        margin-bottom: 15px;
        flex-wrap: wrap !important;
        display: flex;
        flex-direction: row;
        padding-bottom: 15px;
    }
    /* end::Our Top Services style Section */
}
/* Up to 768px */
@media (max-width: 768px) {
    .ag-format-card {
        width: 96%;
    }

    .ag-courses_item {
        padding: 15px;
    }

    .icon {
        left: 15px;
        top: 30px;
        width: 50px;
        height: 50px;
    }

    .ag-courses_box {
        min-height: 87px;
        /* margin: 0 0 25px; */
        overflow: hidden;
        font-weight: bold !important;
        font-size: 18px;
        color: #fff;
        z-index: 2;
        font-weight: 700;
        font-family: var(--headingFontFamily);
    }

    /* Begin::Funfacts Section  */
    .funfacts-section .row {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .funfacts-section .col-12 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .funfact-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .icon-container {
        transform: unset !important;
        position: relative !important;
        margin-right: 0 !important;
        margin-bottom: 15px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 25px !important;
    }

    .icon-container img {
        margin: 10px;
        left: 0% !important;
        top: 50% !important;
        width: 50% !important;
        height: 50% !important;
        justify-content: center !important;
        align-items: center !important;
        display: inline !important;
    }

    .funfact-card h3 {
        font-size: 20px !important;
    }

    .funfact-card p {
        font-size: 10px !important;
    }
    /* end::Funfacts Section  */
}
/* Small devices (320px to 425px) */

@media only screen and (min-width: 320px) and (max-width: 425px) {
    .cyber-defenses-area {
        margin-inline: 5px !important;
        padding: 20px 0px 20px 0px !important;
    }
    .section-title h2 {
        margin-bottom: 5px 0px 5px 0px !important;
        font-weight: 600 !important;
        line-height: 0.2 !important;
    }
    h2 {
        margin-top: 5px !important;
    }
    .cyber-defenses-list-tabs .nav-tabset .nav-tab {
        margin: 0px 0px 0px 0px !important;
        padding: 4px 0px !important;
    }
    .cyber-defenses-list-tabs .nav-tabset .nav-tab span {
        margin: 0px 0px 0px 0px !important;
        padding: 7px 10px !important;
        font-size: 9px !important;
        font-weight: 500 !important;
    }
    .cyber-defenses-content {
        font-size: 14px;
    }
    .tabs-container {
        margin: 0px 0px 0px 0px !important;
        padding: 0px 0px 0px 0px !important;
    }
    .col-lg-6 .col-md-12 {
        width: auto !important;
    }

    .cyber-list {
        margin-bottom: 10px;
    }

    .cyber-defenses-image img {
        max-width: 100%;
        height: auto;
    }
    .cyber-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-left: 0;
        list-style: none;
    }

    .cyber-list li {
        flex-basis: calc(50% - 10px);
        margin-bottom: 10px;
    }
}
/* Medium devices (425px to 768px) */

@media only screen and (min-width: 425px) and (max-width: 768px) {
    /* begin::Our Top Services style Section */
    .cyber-defenses-area {
        position: relative !important;
        overflow: hidden !important;
        padding-top: 80px 0px 80px 0px !important;
        margin: auto !important;
        overflow-x: hidden !important;

        .container {
            max-width: 786px !important;
            padding: 0px 12px 0px 12px !important;
            margin-inline: 24px !important;
            overflow-x: hidden !important;
        }
        .section-title {
            margin-bottom: 45px;
        }
        .section-title h2 {
            font-size: 29px !important;
            margin: 0px 0px 0px 0px !important;
        }
        .col-md-12 {
            flex: 0 0 auto !important;
            width: 100% !important;
            padding: 0px 12px 0px 12px !important;
        }
        .cyber-defenses-content {
            margin-top: 25px;
            padding: 0px 0px 0px 0px !important;
            max-width: 100% !important;
        }
        .cyber-defenses-content image {
            display: flex;
            margin: 0px 0px 0px 0px !important;
            padding: 0px 0px 0px 0px !important;
            max-width: 100% !important;
            height: auto;
        }
    }
    .slide-track {
        text-align: center !important;
        overflow: hidden !important;
        margin: 10px 20px !important;
    }
}
/* Up to 979px */
@media (max-width: 979px) {
    .ag-courses_item {
        flex: 1 1 calc(50% - 30px);
        padding: 20px;
    }

    .ag-courses-item_title {
        font-size: 22px;
        margin-bottom: 15px;
        color: var(--blackColor);
        font-weight: 700;
        font-family: var(--headingFontFamily);
        margin-top: 0;
        margin-bottom: 0.5rem;
        line-height: 1.2;
        color: var(--bs-heading-color);
    }

    .icon {
        left: 20px;
        top: 40px;
        width: 60px;
        height: 60px;
    }
}
/* 576px to 992px */
@media (min-width: 576px) and (max-width: 992px) {
    .text-nowrap {
        white-space: normal !important;
    }

    /* Begin::Funfacts Section  */
    .funfact-card {
        display: flex !important;
        transition: transform 0.3s !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .icon-container {
        width: 60px !important;
        height: 60px !important;
        display: inline-block !important;
        color: var(--whiteColor) !important;
        margin-right: 10px;
        background: rgba(255, 255, 255, 0.3) !important;
        border-radius: 50% !important;
        transition: var(--transition) !important;
        overflow: hidden !important;
    }

    .text-container {
        display: block !important;
        margin-right: 10px !important;
        margin-bottom: 5px !important;
    }

    .funfact-card h3 {
        font-size: 20px !important;
        font-weight: 700 !important;
        margin-top: 0px !important;
        margin-bottom: 0px !important;
    }

    .funfact-card p {
        font-size: 20px !important;
        font-weight: 700 !important;
    }

    /* end::Funfacts Section  */
}
/* Up to 991px */
@media (max-width: 991px) {
    .navbar-toggler {
        display: block;
        margin-right: 20px;
        color: #5ebe80 !important;
    }

    .menu-nav {
        flex-direction: column;
        gap: 10px;
    }
}
/* 992px to 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
    .ag-courses-item_link {
        font-size: 22px;
        font-weight: 500;
        line-height: 1.2;
        color: var(--bs-heading-color);
    }
}
/* 992px and Up */
@media (min-width: 992px) {
    .menu-nav {
        flex-direction: row;
        gap: 20px;
    }
}
/* 1200px and Up */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}
/* 1400px and Up */
@media (min-width: 1400px) {
    .container-sm {
        max-width: 1100px;
        margin-inline: 100px;
    }
}

@media (max-width: 600px) {
    .cyber-defenses-area {
        padding: 10% 0% 10% 0% !important ;
    }
    .nav-tabset {
        display: flex;
        flex-direction: column;
        align-items: center;
        display: inline-block;
    }
    .cyber-defenses-area {
        margin-inline: 32px;
        /* text-align: justify; */
    }

    .cyber-defenses-image img {
        width: 100%;
        margin-left: 0;
        height: auto;
    }
    .cyber-defenses-content h3 p {
        font-size: 18px !important;
        margin-bottom: 12px !important;
        color: var(--blackColor);
        font-weight: 700 !important;
        font-family: var(--headingFontFamily);
        text-align: justify;
    }

    ul.cyber-list {
        list-style-type: none !important;
        font-size: 14px;
        color: var(--blackColor);
        font-weight: 500;
        font-family: var(--headingFontFamily);
        list-style-type: none;
        font-size: 15px;
    }
}
