@media( min-width: 1400px) {
    .carousel-content h1 {
        font-size: 3rem;
    }
    .segment-wrap .segment-title small {
        top: -235px;
    }
}

@media( max-width: 1399px) {
    .team-wrap .team-desc,
    .team-wrap:hover .team-desc {
        padding: 20px;
    }
    .info-box h6 {
        font-size: 0.9rem;
    }
    .sticky-header .site-logo {
        width: 10rem;
    }
}

@media( min-width: 1400px) and ( max-width: 1750px) {
    .container-lg,
    .carousel-content .container {
        max-width: 1280px;
    }
    .segment-wrap .segment-title small {
        top: -225px;
    }
    .carousel-content h1 {
        font-size: 2.8rem;
    }
}

@media( min-width: 1200px) and ( max-width: 1399px) {
    .container-lg {
        max-width: 1150px;
    }
}

@media( min-width: 1199px) {
    .carousel-control-next,
    .carousel-control-prev {
        width: 10% !important;
    }
}

@media( max-width: 1199px) {
    .team-wrap .team-desc h3 {
        font-size: 1.2rem;
    }
    .team-desc p {
        font-size: 0.8rem;
    }
    .sticky-header .site-logo {
        width: 9rem;
    }
    .segment-wrap .segment-title small {
        top: -162px;
    }
}

@media ( max-width: 991px) {
    html,
    body {
        font-size: 16px;
    }
    .container-lg {
        padding-left: 30px;
        padding-right: 30px;
    }
    .site-header .container-lg,
    .team-section .container-lg {
        padding-left: 15px;
        padding-right: 15px;
    }
    .site-logo {
        width: 10rem;
    }
    .download-link {
        width: 130px;
        height: 40px;
    }
    .team-wrap {
        margin-bottom: 30px;
    }
    .team-wrap,
    .team-wrap * {
        aspect-ratio: unset !important;
    }
    .team-wrap .team-desc,
    .team-wrap:hover .team-desc {
        height: 100%;
        position: relative;
        z-index: 1;
        padding-top: 70px;
    }
    .team-wrap .img-fluid {
        width: 100px;
        height: 100px;
        position: absolute;
        z-index: 2;
        inset: 0 auto auto 50%;
        border-radius: 50%;
        transform: translate(-50%, -40px);
        box-shadow: 0 6px 15px -3px rgba(0, 0, 0, 0.25);
    }
    .team-wrap .team-desc h3 {
        font-size: 1.25rem;
    }
    .team-wrap p {
        transform: none;
        opacity: 1;
        font-size: 0.95rem;
    }
    .team-social img {
        box-shadow: none;
    }
    .segment-wrap .segment-title small {
        top: 0px;
        right: 50%;
        transform: translateX(50%) translateY(-50%);
        width: 80%;
        text-align: center;
    }
}

@media( min-width: 768px) {
    .speciality_inner .col-md-auto,
    .segments-section .col-md-auto {
        max-width: 20%;
    }
}

@media( max-width: 767px) {
    .site-header-contact img {
        height: 1.5rem;
    }
    .site-header-contact h5 {
        font-size: 0.7rem;
        padding-left: 0.5em;
    }
    .hamburger-menu img {
        width: 30px;
        height: 30px;
    }
    .site-navigation-links ul li {
        padding: 0.5rem;
    }
    .site-navigation-links ul a {
        font-size: 1.1rem;
        padding: 0.4em;
    }
    .carousel-content h1 {
        font-size: 1.9rem;
    }
    .info-box h6 {
        font-size: 1rem;
    }
    .intro .sealimg {
        transform: translate(5%, -70%) scale(2.5)
    }
}

@media( max-width:575px) {
    .carousel-control-next,
    .carousel-control-prev {
        z-index: 10;
    }
    .insights-ait::after {
        height: 35vw;
    }
    .segment-wrap {
        pointer-events: none;
    }
    .site-btn {
        font-size: 1rem;
        padding: 0.8em 2em 0.75em;
    }
    .site-heading {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    .info-box {
        padding: 2.5rem 1.5rem 3.5rem 1.5rem;
        box-shadow: 0px 6px 15px -3px rgba(0, 0, 0, 0.2);
    }
    .info-box::before {
        box-shadow: 6px 6px 15px -3px rgba(0, 0, 0, 0.1);
    }
    .info-box h6 {
        text-align: center;
        font-weight: 400;
        width: 100%;
    }
    .info-box::after {
        inset: -0.5rem -0.5rem auto -0.5rem;
        width: auto;
        height: 75%;
    }
    .info-box span.span-left {
        left: 50%;
        top: -2px;
        width: 15px;
        height: 20px;
        transform-origin: left center;
        transform: rotate(90deg) translateX(-11px);
    }
    .info-box span.span-right {
        top: auto;
        bottom: 0;
        right: 50%;
        transform: translateX(50%);
        justify-content: center;
        width: 40px;
        height: 20px;
    }
    .info-box span.span-right::before {
        inset: -10px 0 0 0;
        -webkit-clip-path: polygon(0 35%, 50% 0, 100% 35%, 100% 100%, 0% 100%);
        clip-path: polygon(0 35%, 50% 0, 100% 35%, 100% 100%, 0% 100%);
    }
    .info-box span.span-right::after {
        top: auto;
        left: 0;
        right: auto;
        bottom: 0;
        transform-origin: left center;
        transform: translateY(50%) rotate(90deg) translateY(-20px);
    }
    .intro .sealimg {
        transform: none;
        width: 300px;
        height: auto;
        max-width: 100%;
    }
    .contact-section label.error {
        left: auto;
        right: 0px;
    }
}