/* ------------------------
    Responsive Css
------------------------*/
@media (min-width:1600px) {
    .header .container-fluid {
        padding: 0 10rem;
    }
}

/* ------------------------
   Jai Chanda home page
   Responsive refinements
-------------------------*/
html,
body {
    overflow-x: hidden;
}

/* .hero-carousel .carousel-item,
.hero-carousel .carousel-item img {
    height: clamp(520px, 44vw, 720px);
} */

.hero-carousel .carousel-item img {
    object-position: center;
}

.hero-carousel__content h1 {
    text-wrap: balance;
}

@media (max-width: 1199px) {

    /* .hero-carousel .carousel-item,
    .hero-carousel .carousel-item img {
        height: clamp(500px, 54vw, 620px);
    } */

    .hero-carousel__content {
        left: 7%;
        width: min(600px, 76vw);
    }

    .jct-industries__content,
    .jct-about__content {
        max-width: none;
    }

    .jct-footer__grid {
        grid-template-columns: 1.4fr .85fr .95fr;
    }

    .jct-footer__contact {
        grid-column: 1 / -1;
        padding-top: 0;
    }
}

@media (max-width: 991px) {
    section {
        padding: 68px 0;
    }

    .hero-carousel__content {
        width: min(590px, 80vw);
    }

    .jct-about .row,
    .jct-industries .row {
        row-gap: 3rem !important;
    }

    .jct-about__content p,
    .jct-industries__copy p {
        text-align: left;
    }

    .jct-industries__content {
        margin-bottom: 0;
    }

    .jct-industries__media {
        max-width: 680px;
    }

    .jct-manufacturing__panel {
        grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
    }
}

@media (max-width: 767px) {
    section {
        padding: 60px 0;
    }

    .container,
    .container-fluid {
        --bs-gutter-x: 1rem;
    }

    .hero-carousel .carousel-item,
    .hero-carousel .carousel-item img {
        height: 540px;
    }

    .hero-carousel .carousel-item img {
        object-position: 61% center;
    }

    .hero-carousel__overlay {
        background: linear-gradient(90deg, rgba(43, 1, 5, .94) 0%, rgba(67, 2, 9, .79) 64%, rgba(43, 1, 5, .42) 100%), linear-gradient(0deg, rgba(24, 0, 3, .42), transparent 55%);
    }

    .hero-carousel__content {
        top: 50%;
        left: 1.25rem;
        width: calc(100% - 2.5rem);
    }

    .hero-carousel__eyebrow {
        gap: 8px;
        margin-bottom: 12px;
        font-size: 10px;
        letter-spacing: .12em;
    }

    .hero-carousel__eyebrow::before {
        width: 25px;
    }

    .hero-carousel__content h1,
    .hero-carousel__content h2 {
        max-width: 440px;
        margin-bottom: 16px;
        font-size: clamp(2.05rem, 9.5vw, 3rem);
        line-height: 1.03;
    }

    .hero-carousel__content>p:not(.hero-carousel__eyebrow) {
        max-width: 410px;
        margin-bottom: 23px;
        font-size: 14px;
        line-height: 1.58;
    }

    .hero-carousel__button {
        min-height: 48px;
        padding: 12px 18px;
        font-size: 13px;
    }

    .jct-about__media img {
        min-height: 285px;
    }

    .jct-about__content h2,
    .jct-industries__content h2,
    .jct-why-choose__intro h2,
    .jct-manufacturing__content h2 {
        font-size: clamp(1.9rem, 8vw, 2.35rem);
    }

    .jct-product-card {
        min-height: 0;
        padding: 22px;
    }

    .jct-product-card__visual {
        width: calc(100% + 44px);
        height: 190px;
        margin: -22px -22px 22px;
    }

    .jct-product-card h3 {
        min-height: 0;
        font-size: 23px;
    }

    .jct-product-card__tags {
        margin-top: 20px;
    }

    .jct-industries__media {
        min-height: 390px;
        max-width: 560px;
    }

    .jct-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jct-footer__about,
    .jct-footer__contact {
        grid-column: 1 / -1;
    }

    .jct-footer__links,
    .jct-footer__contact {
        padding-top: 0;
    }
}

@media (max-width: 420px) {

    .hero-carousel .carousel-item,
    .hero-carousel .carousel-item img {
        height: 510px;
    }

    .hero-carousel__content {
        left: 1rem;
        width: calc(100% - 2rem);
    }

    .hero-carousel__content h1,
    .hero-carousel__content h2 {
        font-size: clamp(1.95rem, 9.4vw, 2.35rem);
    }

    .hero-carousel__content>p:not(.hero-carousel__eyebrow) {
        font-size: 13.5px;
    }

    .jct-about__media figcaption {
        padding: 10px 13px;
        font-size: 11px;
    }

    .jct-products__heading h2 {
        font-size: 2rem;
    }

    .jct-industries__media {
        min-height: 335px;
    }
}

@media (max-width:1440px) {
    .about-img-shape-small {
        width: 160px;
        height: 160px;
        right: 0%;
    }
}

@media (max-width:1300px) {
    .header .header-social-icons {
        display: none;
    }

    .header .search-icon {
        margin: 0 20px
    }
}

@media (max-width:1200px) {
    .navbar-nav .nav-item {
        margin: 0 10px;
    }

    .topbar-link li:first-child {
        display: none;
    }

    .header-top h6 {
        display: none;
    }

    .header-top:after {
        left: 28%;
    }

    @media (max-width:1199px) {

        h1,
        .h1 {
            font-size: 60px;
            line-height: 70px;
        }

        h2,
        .h2 {
            font-size: 44px;
            line-height: 54px;
        }

        h3,
        .h3 {
            font-size: 30px;
            line-height: 40px;
        }

        h4,
        .h4 {
            font-size: 26px;
            line-height: 36px;
        }

        /*Header*/
        .navbar-nav .nav-item {
            margin: 0;
            padding-top: 0;
        }

        .navbar-toggler {
            background: var(--themeht-white-color);
            height: 50px;
            width: 50px;
            padding: 0;
            border-radius: 4px;
            margin-left: auto;
        }

        .navbar-toggler:focus {
            box-shadow: none;
        }

        .ht-toggler svg {
            width: 40px;
            height: 40px;
            display: inline-block;
        }

        .ht-toggler .line {
            fill: none;
            stroke: var(--themeht-primary-color);
            stroke-width: 6;
            transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
        }

        .ht-toggler .line1 {
            stroke-dasharray: 60 207;
            stroke-width: 3;
        }

        .ht-toggler .line2 {
            stroke-dasharray: 60 60;
            stroke-width: 3;
        }

        .ht-toggler .line3 {
            stroke-dasharray: 60 207;
            stroke-width: 3;
        }

        .ht-toggler[aria-expanded="true"] .line1 {
            stroke-dasharray: 90 207;
            stroke-dashoffset: -134;
            stroke-width: 3;
        }

        .ht-toggler[aria-expanded="true"] .line2 {
            stroke-dasharray: 1 60;
            stroke-dashoffset: -30;
            stroke-width: 3;
        }

        .ht-toggler[aria-expanded="true"] .line3 {
            stroke-dasharray: 90 207;
            stroke-dashoffset: -134;
            stroke-width: 3;
        }

        .navbar-collapse {
            background: var(--themeht-white-color);
            max-height: 400px;
            left: 0;
            padding: 20px;
            position: absolute;
            z-index: 99;
            top: 100%;
            width: 100%;
            overflow: auto;
            box-shadow: 0px 10px 35px 0px rgba(0, 0, 0, 0.1);
            border-radius: 4px;
        }

        .navbar-nav .dropdown-toggle::after {
            position: absolute;
            top: 50%;
            right: 0;
            transform: translateY(-50%);
        }

        .navbar-nav .dropdown-submenu .dropdown-toggle::after {
            top: 18px;
        }

        .navbar-nav .nav-link {
            padding: 10px 0 !important;
            color: var(--themeht-text-color);
        }

        .navbar-nav .nav-item .nav-link {
            border-bottom: 1px solid var(--themeht-border-light-color);
        }

        .navbar-nav .nav-item:last-child .nav-link {
            border-bottom: none;
            padding-bottom: 0
        }

        .navbar-nav .nav-item .nav-link.active,
        .navbar-nav .nav-item .nav-link:focus,
        .navbar-nav .nav-link.show {
            color: var(--themeht-primary-color);
        }

        .navbar-nav .dropdown-menu .dropdown-item {
            color: var(--themeht-text-color);
            display: block;
        }

        /*Banner*/
        .page-title {
            padding: 100px 0;
        }

        .page-title h1 {
            font-size: 40px;
            line-height: 50px;
        }

        .navbar-nav .nav-item::before {
            display: none;
        }

        .marquee-text span {
            font-size: 120px;
            line-height: 160px;
        }

        .step-border {
            display: none;
        }

        /*Masonry*/
        .grid.columns-3 .grid-item,
        .masonry.columns-3 .masonry-brick {
            width: 50%;
        }

        /*Countdown*/
        .countdown>li span {
            font-size: 50px;
            line-height: 50px;
        }

        .countdown>li p {
            font-size: 18px;
        }

        .animated-icon-shape {
            display: none;
        }

        .sonar-wrapper {
            bottom: 0;
        }

        .spinner {
            top: 20%;
        }

        .service-section::before {
            left: 0;
            width: 100%;
        }

        .footer h2 {
            font-size: 30px;
            line-height: 40px
        }
    }

    @media (max-width:767px) {

        h1,
        .h1 {
            font-size: 50px;
            line-height: 60px
        }

        h2,
        .h2 {
            font-size: 34px;
            line-height: 44px
        }

        .theme-title h2 {
            font-size: 34px;
            line-height: 44px;
        }

        .header-top {
            display: none;
        }

        .marquee-text span {
            font-size: 100px;
            line-height: 150px;
        }

        section {
            padding: 80px 0;
        }

        .featured-item.style-3 {
            display: block;
        }

        .featured-item.style-3 .featured-icon {
            margin-right: 0;
            margin-bottom: 20px;
        }

        /*Countdown*/
        .countdown {
            margin: 40px 0;
            padding: 40px 0;
        }

        .countdown>li span {
            font-size: 40px;
            line-height: 40px;
        }

        .countdown>li p {
            font-size: 16px;
        }

        /*Iframe*/
        .iframe-h {
            height: 300px !important;
        }

        blockquote {
            padding: 140px 40px 40px 40px !important;
        }

        blockquote:after {
            width: 100%;
            height: 100px;
        }

        .subscribe-btn {
            position: relative;
            right: inherit;
            top: inherit;
            width: 100%;
            margin-top: 10px;
        }

        .grid.columns-2 .grid-item,
        .masonry.columns-2 .masonry-brick,
        .grid.columns-3 .grid-item,
        .masonry.columns-3 .masonry-brick {
            width: 100%;
        }

        .container,
        .container-fluid {
            --bs-gutter-x: 0.5rem;
        }

        .counter {
            padding: 0;
        }

        .counter:before {
            display: none;
        }

        .banner-3 .banner-img {
            width: 500px;
            height: 500px;
        }

        .navbar-brand.logo {
            margin-right: 20px;
            gap: 9px;
        }

        .logo img {
            max-height: 50px;
        }

        .logo .brand-logo {
            height: 50px;
            max-height: none;
        }

        .brand-name span:first-child {
            font-size: 18px;
        }

        .brand-name span:last-child {
            margin-top: 4px;
            font-size: 11px;
        }

        .header-right {
            display: none !important;
        }

        .jct-about__media {
            padding-right: 14px;
            padding-bottom: 14px;
        }

        .jct-about__media::before {
            inset: 20px 0 0 20px;
        }

        .jct-about__media img {
            min-height: 300px;
        }

        .jct-about__content h2 {
            font-size: 34px;
            line-height: 1.25;
        }

        .jct-products__heading {
            display: block;
            margin-bottom: 30px;
        }

        .jct-products__heading>p {
            margin-top: 16px;
        }

        .jct-product-card {
            min-height: 465px;
        }

        .jct-products__footer {
            align-items: flex-start;
            flex-direction: column;
            margin-top: 30px;
        }

        .jct-industries__content h2 {
            font-size: 34px;
            line-height: 1.17;
        }

        .jct-industries__media {
            min-height: 430px;
            padding-right: 42px;
            padding-bottom: 42px;
        }

        .jct-industries__image--main {
            right: 42px;
            bottom: 42px;
        }

        .jct-industries__media figcaption {
            bottom: 42px;
        }

        .jct-why-choose__intro {
            display: block;
            margin-bottom: 32px;
        }

        .jct-why-choose__intro>p {
            max-width: 600px;
            margin-top: 18px;
        }

        .jct-why-choose__grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .jct-manufacturing__panel {
            grid-template-columns: minmax(290px, .8fr) minmax(0, 1.2fr);
        }

        .jct-manufacturing__visual img {
            min-height: 610px;
        }

        .jct-footer__grid {
            grid-template-columns: 1.45fr 1fr 1fr;
            gap: 38px;
        }

        .jct-footer__contact {
            grid-column: 1 / -1;
            padding-top: 0;
        }

        .jct-footer__contact ul {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
        }

        .hero-carousel .carousel-item img {
            height: 470px;
        }

        .hero-carousel__content {
            left: 2.5rem;
            width: calc(100% - 5rem);
        }

        .hero-carousel__content h1,
        .hero-carousel__content h2 {
            font-size: clamp(2.2rem, 11vw, 3.25rem);
        }

        .hero-carousel__content>p:not(.hero-carousel__eyebrow) {
            margin-bottom: 24px;
            font-size: 15px;
        }

        .hero-carousel__eyebrow {
            margin-bottom: 14px;
            font-size: 10px;
            letter-spacing: .13em;
        }

        .hero-carousel__progress {
            right: 2.5rem;
            bottom: 20px;
        }

        .hero-carousel .carousel-control-prev-icon,
        .hero-carousel .carousel-control-next-icon {
            width: 40px;
            height: 40px;
            padding: 11px;
        }

        .about-img-shape {
            width: 400px;
            height: 400px;
        }
    }

    @media (max-width:420px) {
        .navbar-brand.logo {
            margin-right: 8px;
            gap: 7px;
        }

        .logo .brand-logo {
            height: 40px;
        }

        .brand-name span:first-child {
            font-size: 15px;
        }

        .brand-name span:last-child {
            font-size: 9px;
            letter-spacing: 0.16em;
        }

        .jct-about__actions {
            display: grid;
            grid-template-columns: 1fr;
        }

        .jct-about__button {
            width: 100%;
        }

        .jct-products__enquiry span {
            display: block;
            margin: 6px 0 0;
        }
    }

    @media (max-width:576px) {

        /*Countdown*/
        .countdown {
            margin: 30px 0;
        }

        .countdown>li {
            padding: 0 10px;
        }

        .countdown>li p {
            font-size: 14px;
            line-height: 24px;
        }

        .post-comment li {
            display: block;
        }

        .author-img {
            margin-right: 0;
            margin-bottom: 30px;
        }

        .comment-reply {
            position: inherit;
            top: inherit;
            right: inherit;
            margin-top: 30px;
        }

        .service-item.style-4 {
            display: block;
        }

        .service-item.style-4 .service-icon {
            margin-right: 0;
            margin-bottom: 30px;
        }

        .banner-3 .banner-img {
            width: 300px;
            height: 300px;
        }

        .mc-form.w-75 {
            width: 100% !important;
        }

        .about-img-shape {
            width: 300px;
            height: 300px;
        }

        .jct-industries__media {
            min-height: 350px;
            padding-right: 30px;
            padding-bottom: 30px;
        }

        .jct-industries__media::before {
            top: 22px;
            left: 22px;
        }

        .jct-industries__image--main {
            right: 30px;
            bottom: 30px;
            border-radius: 13px;
        }

        .jct-industries__image--secondary {
            width: 45%;
            height: 41%;
            border-width: 5px;
            border-radius: 11px;
        }

        .jct-industries__media figcaption {
            bottom: 30px;
            padding: 8px 11px;
            font-size: 9px;
            letter-spacing: .06em;
        }

        .jct-industries__copy p {
            font-size: 15px;
            line-height: 1.72;
        }

        .jct-why-choose__intro h2 {
            font-size: 34px;
            line-height: 1.17;
        }

        .jct-why-choose__intro>p {
            font-size: 15px;
            line-height: 1.7;
        }

        .jct-why-choose__grid {
            grid-template-columns: 1fr;
        }

        .jct-why-choose__card {
            min-height: 0;
            padding: 26px 22px 25px;
        }

        .jct-why-choose__number {
            margin-bottom: 28px;
        }

        .jct-why-choose__card h3 {
            font-size: 21px;
        }

        .jct-manufacturing__panel {
            grid-template-columns: 1fr;
        }

        .jct-manufacturing__visual img {
            min-height: 290px;
            max-height: 380px;
        }

        .jct-manufacturing__content {
            padding: 35px 25px;
        }

        .jct-manufacturing__content h2 {
            font-size: 34px;
            line-height: 1.17;
        }

        .jct-manufacturing__copy p {
            font-size: 15px;
            line-height: 1.72;
        }

        .jct-manufacturing__stages {
            grid-template-columns: 1fr;
            margin-top: 28px;
        }

        .jct-manufacturing__stages span {
            padding: 12px 0;
        }

        .jct-manufacturing__stages span+span {
            padding-left: 0;
            border-top: 1px solid rgba(255, 255, 255, .2);
            border-left: 0;
        }

        .jct-footer__content {
            padding-top: 55px;
        }

        .jct-footer__grid {
            grid-template-columns: 1fr 1fr;
            gap: 36px 25px;
        }

        .jct-footer__about {
            grid-column: 1 / -1;
        }

        .jct-footer__links {
            padding-top: 0;
        }

        .jct-footer__contact {
            grid-column: 1 / -1;
            padding-top: 0;
        }

        .jct-footer__contact ul {
            grid-template-columns: 1fr;
            gap: 0;
        }

        .jct-footer__bottom {
            align-items: flex-start;
            flex-direction: column;
            gap: 8px;
            margin-top: 45px;
        }
    }
}

/* Keep the home-page rules last so they override template defaults. */
@media (max-width: 1199px) {

    .hero-carousel .carousel-item,
    .hero-carousel .carousel-item img {
        height: clamp(500px, 54vw, 620px);
    }

    .hero-carousel__content {
        left: 7%;
        width: min(600px, 76vw);
    }

    .jct-footer__grid {
        grid-template-columns: 1.4fr .85fr .95fr;
    }

    .jct-footer__contact {
        grid-column: 1 / -1;
        padding-top: 0;
    }
}

@media (max-width: 991px) {
    section {
        padding: 68px 0;
    }

    .hero-carousel__content {
        width: min(590px, 80vw);
    }

    .jct-about .row,
    .jct-industries .row {
        row-gap: 3rem !important;
    }

    .jct-about__content p,
    .jct-industries__copy p {
        text-align: left;
    }

    .jct-industries__media {
        max-width: 680px;
    }
}

@media (max-width: 767px) {
    section {
        padding: 60px 0;
    }

    .container,
    .container-fluid {
        --bs-gutter-x: 1rem;
    }

    .hero-carousel .carousel-item,
    .hero-carousel .carousel-item img {
        height: 540px;
    }

    .hero-carousel .carousel-item img {
        object-position: 61% center;
    }

    .hero-carousel__overlay {
        background: linear-gradient(90deg, rgba(43, 1, 5, .94) 0%, rgba(67, 2, 9, .79) 64%, rgba(43, 1, 5, .42) 100%), linear-gradient(0deg, rgba(24, 0, 3, .42), transparent 55%);
    }

    .hero-carousel__content {
        top: 50%;
        left: 1.25rem;
        width: calc(100% - 2.5rem);
    }

    .hero-carousel__eyebrow {
        gap: 8px;
        margin-bottom: 12px;
        font-size: 10px;
        letter-spacing: .12em;
    }

    .hero-carousel__eyebrow::before {
        width: 25px;
    }

    .hero-carousel__content h1,
    .hero-carousel__content h2 {
        max-width: 440px;
        margin-bottom: 16px;
        font-size: clamp(2.05rem, 9.5vw, 3rem);
        line-height: 1.03;
    }

    .hero-carousel__content>p:not(.hero-carousel__eyebrow) {
        max-width: 410px;
        margin-bottom: 23px;
        font-size: 14px;
        line-height: 1.58;
    }

    .hero-carousel__button {
        min-height: 48px;
        padding: 12px 18px;
        font-size: 13px;
    }

    .jct-about__media img {
        min-height: 285px;
    }

    .jct-about__content h2,
    .jct-industries__content h2,
    .jct-why-choose__intro h2,
    .jct-manufacturing__content h2 {
        font-size: clamp(1.9rem, 8vw, 2.35rem);
    }

    .jct-product-card {
        min-height: 0;
        padding: 22px;
    }

    .jct-product-card__visual {
        width: calc(100% + 44px);
        height: 190px;
        margin: -22px -22px 22px;
    }

    .jct-product-card h3 {
        min-height: 0;
        font-size: 23px;
    }

    .jct-product-card__tags {
        margin-top: 20px;
    }

    .jct-industries__media {
        min-height: 390px;
        max-width: 560px;
    }

    .jct-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jct-footer__about,
    .jct-footer__contact {
        grid-column: 1 / -1;
    }

    .jct-footer__links,
    .jct-footer__contact {
        padding-top: 0;
    }
}

@media (max-width: 420px) {

    .hero-carousel .carousel-item,
    .hero-carousel .carousel-item img {
        height: 510px;
    }

    .hero-carousel__content {
        left: 1rem;
        width: calc(100% - 2rem);
    }

    .hero-carousel__content h1,
    .hero-carousel__content h2 {
        font-size: clamp(1.95rem, 9.4vw, 2.35rem);
    }

    .hero-carousel__content>p:not(.hero-carousel__eyebrow) {
        font-size: 13.5px;
    }

    .jct-about__media figcaption {
        padding: 10px 13px;
        font-size: 11px;
    }

    .jct-products__heading h2 {
        font-size: 2rem;
    }

    .jct-industries__media {
        min-height: 335px;
    }
}