@media (max-width:1400px) {
    .container { max-width: 1200px }
}
@media (max-width:1250px) {
    .site_menu li { margin-left: 15px; }
}
@media (max-width:1150px) {
    .site_menu,
    .top_info,
    .web .bg { display: none; }
    .site_logo { position: absolute; left: 0; top: 0; margin: 0; height: 80px; display: flex; justify-content: space-between; width: 100%; align-items: center; padding: 0 15px; }
    .site_logo .toggle { display: inline-block; }
    .site_header { height: 80px; }
    .stickyactive .site_logo .toggle { filter: invert(1); }
    .col_3.rating_box { max-width: 200px; }
}
@media (max-width:1150px) {
    .head { font-size: 28px; }
}
@media (max-width:993px) {
    .copyright li.social { display: inline-block; width: 100%; margin-top: 15px; text-align: center; }
    .copyright p,
    .copyright ul { text-align: center; }
    .copyright li { float: none; display: inline-block; }
    .banner h1 { font-size: 30px; }
    .banner p { font-size: 20px; }
    .providing .row.rating { margin-top: 0px; }
    .footer_menu h3 { font-size: 17px; }
    .page_banner h1 { font-size: 30px; }
    .page_banner.cms { padding: 100px  0 195px 0; }
    .cms_page h2 { font-size: 20px; }
    body { font-size: 16px; }
    .head.line { padding-bottom: 0px; }
    .years span.year { padding: 50px 30px 0 30px }
    .facts b { font-size: 16px; }
    .web-img-horizantal .content .img { width: 210px; height: 210px; }
    .web-img-horizantal .content { padding-left: 240px; }
    .tab_custom { display: inline-block; width: 100%; }
    .tab_custom .col_4,
    .tab_custom .col_8 { width: 100%; }
    .tabs-with-selector.bottom { flex-wrap: nowrap; overflow: auto; padding: 0 0px; margin-bottom: 25px; white-space: nowrap; justify-content: flex-start; background: #f7f7f7; padding: 15px; }
    .row-12 .col-md-41 { width: 50%; }
    .row.footer_row { font-size: 14px; flex-wrap: wrap; }
    .col_3footer { width: 50%; margin-bottom: 35px; }
    img { max-width: 100% !important; height: auto; }
    .copyright { font-size: 14px; }
    .row.footer_row { padding: 50px 0 0px }
    .footer_form .head_desc br { display: none; font-weight: inherit; }
    .col_3.rating_box { max-width: 100%; }
    h3.case-h3 { font-size: 18px; }
    .head_desc { font-size: 15px; font-weight: inherit; }
    .product-engg-tab ul.features.style1 .box,
    ul.features.style1 .box,
    .tech_box,
    .boxes .box { min-height: inherit; }
    .colorbox { margin-bottom: 30px; }
    .contact_info,
    .contact_form { width: 100%; }
    .col_3.rating_box { margin-bottom: 20px; }
}

/*mobile smart*/
@media (max-width:767px) {
    .boxes.col3 li { width: 100%; }
    .years span:first-child,
    .years span:last-child { width: 100%; text-align: center; padding: 0px; }
    .years.full_row { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px 0; margin: 0; padding-bottom: 10px; padding-top: 0px; }
    .find_us { padding: 40px 0 }
    .years span.year { padding: 20px 0; width: 100%; margin: 10px 0; font-size: 120px; }
    .years span:last-child { font-weight: normal; }
    .row.facts { display: flex; overflow: auto; gap: 20px; padding: 15px 0; }
    .col_3 { width: 100%; }
    .desk-only ul.features.col4 li { width: 100%; }
    ul.features .box span { padding: 0px; }
    .col_3footer { width: 100%; }
    .site_footer .client li { min-width: 90px; padding: 0px; }
    .site_footer .clients ul { overflow: auto; flex-wrap: nowrap; }
    .footer_form .form_group.full,
    .footer_form .form_group,
    .footer_form .form_group.action { width: 100%; }
    .footer_form .form_control { font-size: 16px; }
    .head { font-size: 23px; }
    .f_contact,
    body { font-size: 14px; }
    .col_6 { width: 100%; }
    .col_3.rating_box { min-width: 220px; }
    .providing .row.rating { margin-top: 40px; }
    .row-12 .col-md-41 { width: 100%; }
    .action .btn { width: 100%; margin: 0 0 20px; }
    .tech_box_ul li h3 { font-size: inherit; }
    .btn { font-size: 14px; }
    .facts b { font-size: inherit; white-space: nowrap; }
    .tabs-with-selector [option] h3 { font-size: 16px; }
    .tabs-with-selector.bottom { border-radius: 2px; }
    .tabs-with-selector [option] { padding: 8px 13px; }
    .box_tab h3 { font-size: 20px; }
    section { padding: 35px 0 }
    .f_contact .btn { margin: 0 0 15px; font-size: 14px; }
    .site_logo img { max-width: 170px !important; }
    .site_logo,
    .site_header { height: 70px; }
    .years span:first-child { font-size: 25px; }
    .boxes .box h3 { font-size: 18px; }
    .sticky-logo { display: none; }
    .stickyactive .sticky-logo { display: inline-block; }
    .stickyactive .logo-sticky { display: none; }
    .banner h1 { font-size: 22px; }
    .banner p { font-size: 16px; line-height: 1.6; }
    .banner .btn { font-size: 15px; }
    .clients ul { overflow: auto; }
    .clients li { width: 100%; min-width: 130px; }
    .clients li img { width: 100%; height: auto; }
    .copyright ul { border: none; margin-top: 20px; }
    #sidebar h3,
    #sidebar ul a { font-size: 16px; }
    #sidebar .services a { font-size: 15px; }
    section.new-case { padding-bottom: 0; }
    .case_btn { padding-top: 0; }
    .page_banner h1 { font-size: 28px; line-height: 1.5; }
    .page_banner .desc { font-size: 18px; line-height: 1.5 }
    .page_banner { padding: 125px 0 105px 0 }
    ul.col_3 li,
    .boxes.col2 li,
    .col_7,
    .col_5 { width: 100%; }
    .timeline ul h3 { font-weight: 400; padding-bottom: 0px; font-size: 15px; }
    .boxes.col4 li { width: 100%; }
    .web-img-horizantal .content { padding: 0px; text-align: center; }
    .web-img-horizantal .content .img { width: 140px; height: auto; position: relative; margin: 0; top: 0; display: inline-block; margin-bottom: 10px; }
    section.half { padding-top: 220px; }
    section.half .bg,
    section.half_bg .bg { width: 100%; height: 200px; }
    section.half .pull_right { padding-left: 15px; }
    section.half_bg:after { display: none; }
    .industry-icons-set { flex-wrap: nowrap; justify-content: flex-start; overflow: auto; margin-top: 30px; }
    .industry-icons-set .box { min-width: 120px; }
    ul.technology li span.title { font-size: 14px; }
    .new_color { flex-wrap: wrap; border-radius: 0px; }
    .new_color img { height: auto; }
    .web_features .content { width: 100%; padding: 0px; }
    .web_features .content:first-child { padding: 0px; }
    .web_features .img { position: relative; width: 100%; max-width: 200px; margin: 0 auto; left: 0; top: 0; }
    #customers td,
    #customers th { padding: 10px; }
    #customers { width: 100%; border-spacing: 2px; }
    .table-responsive { display: inline-block; width: 100%; overflow: auto; }
    .colorbox { padding: 15px; margin-bottom: 20px; }
    #customers { font-size: inherit; }
    .head.style2 { font-size: 20px; }
    .amp-sidebar .logos img { max-width: 170px !important; }
    .timeline .content,
    .timeline .right .content { width: 100%; text-align: left; padding: 15px; margin-bottom: 20px }
    .timeline ul li,
    .timeline ul li.right { padding: 0 }
    .timeline .content:before,
    .timeline .step,
    .timeline ul:before { display: none }
    .timeline .content:hover { box-shadow: 0 2px 30px rgba(0, 0, 0, .18) }
    .timeline ul h3 { padding-left: 55px; min-height: 40px; height: 50px; display: table-cell; vertical-align: middle; margin: 0; font-size: 16px; padding-bottom: 10px }
    .timeline .content p:first-child { margin-top: 10px }
    .timeline .content .fa,
    .timeline .content .fi,
    .timeline .right .fa,
    .timeline .right .fi { right: auto; left: 15px; top: 15px; font-size: 40px; height: 40px; line-height: 40px; width: 40px; margin: 0 }
    .timeline .content .lists li { padding-left: 30px }
    .timeline .content p.setting:last-child { margin: 5px 55px }
    .faq-amp-accord .ap-o-accordion-header h4 { font-size: 15px; font-weight: 400; }
    section.rating_section .row.rating { flex-wrap: nowrap; justify-content: flex-start; overflow: auto; width: 100%; }
    .lists-about li { width: 100%; }
    .web_features .content:first-child { text-align: left; }
    .page_banner.product_banner { padding-bottom: 0px; }
    .head.style2 { font-size: 16px; }
    .form_quote .heading { width: 100%; text-align: center; color: #fff; }
    .form_quote form { width: 100%; padding: 10px 0; flex-wrap: wrap; }
    .form_quote .form_group { width: 100%; margin-bottom: 15px; }
    .form_quote input { border: 1px solid #fff; }
    .form_quote:after { display: none; }
    .form_quote .btn { width: 100%; position: relative; margin-top: 10px; }
    img.content_img { padding: 30px 0; }
    section.history iframe { height: 350px; }
    .careers .info { float: left; width: 100%; margin-top: 10px; display: none; }
    .careers .aria-expanded .info { display: inline-block; width: 100%; padding: 15px; }
    .careers .info span:before { display: none; }
    .careers .info span { float: left; width: 33.3%; font-size: 13px; }
    .careers .info span,
    .careers .info span:first-child,
    .careers .info span:last-child { padding: 0 0 0 10px; margin: 0; }
    .careers .info span:first-child,
    .careers .info span:last-child { padding-left: 0; }
    .careers .heading:after { width: 22px; height: 22px; margin-top: 0; font-size: 16px; line-height: 22px; right: 10px; position: absolute; top: 20px; }
    .careers .heading { padding: 0px; }
    .careers header h2 { font-size: 16px; height: 60px; margin-bottom: 0; padding-left: 72px; display: table-cell; vertical-align: middle; width: 100%; padding-right: 28px; }
    .careers .content { padding: 5px 10px 10px; }
    .careers .icon { top: 0; left: 0; }
    .careers .btn { margin-left: 0px; width: 100%; }
    .careers .btn.green { margin-left: 0px; margin-top: 10px; }
    .careers .icon { width: 50px; height: 50px; top: 5px; left: 5px; }
    #careers h4 { font-size: 14px; line-height: 1.5 }
    #careers h5 { font-size: 16px; }
    .contact_info { width: 100%; }
    .contact_form { width: 100%; padding: 30px 15px }
    .contact_form .row { margin: 0px; }
    .contact_form .form_group { width: 100%; padding: 0; }
    .contact_form .form_group .fa { left: 0px; }
    .portfolio li { width: 50%; }
    .center .col_6 { width: 100%; }
    .web_menu { margin-top: 10px; background: no-repeat; border: none; padding: 0px; }
    .web_menu ul { flex-direction: column; }
    .web_menu ul li { width: 100%; }
    .pl30 { padding-left: 15px; }
    .tabs-with-selector { overflow: auto; flex-wrap: nowrap; width: 100%; justify-content: flex-start }
    .box-things { margin-bottom: 30px; }
    .overlay .content { padding: 0px; }
    .overlay img { position: relative; top: 0; margin: 0; width: 100%; margin-bottom: 20px; }
    .boxes .box_col { width: 100%; padding: 0px; margin-bottom: 15px; }
    .devops-services-page .boxes { display: flex; flex-direction: column; margin-top: 35px; }
    .app_feature .img,
    .app_feature ul { width: 100% }
    .app_feature ul li,
    .app_feature ul.last li { padding: 25px 0 25px 70px; min-height: 40px; font-size: 16px; }
    .app_feature ul .fa,
    .app_feature ul .fa:after { width: 44px; height: 44px; line-height: 46px; }
    .app_feature ul .fa,
    .app_feature ul.last .fa { left: 5px; right: auto; }
    .app_feature ul { text-align: left; }
    .portfolio_detail .col_6 { margin-bottom: 30px; }
    .portfolio .menu { display: flex; flex-wrap: nowrap; overflow: auto; width: 100%; white-space: nowrap; }
    .portfolio .menu li { padding: 0px; }
    .clients.page ul li { min-width: inherit; width: 47%; }
    .table_step { flex-wrap: wrap; }
    .table_step li { width: 100%; margin: 10px 0 }
    .table_feature li { width: 50%; }
    .overlay.left img { width: 100%; margin: 0; margin-bottom: 20px; }
    .overlay.left .content { padding: 0px; }
    .boxes.col3 li { display: inline-block; }
    .grey-engament-model .row { flex-wrap: wrap; }
    .rating-design { overflow: auto; padding-bottom: 30px; gap: 10px; }
    .rating-design .rt_box { min-width: 220px; }
    .list-h-3 h3 { font-size: 16px; }
    .relaiable .col_6 { margin-bottom: 20px; }
    .relaiable h4 { font-size: 14px; }
    .relaiable .boxes .box img { max-width: 40px !important; }
    .relaiable .boxes .box h3 { font-size: 16px; }
    .relaiable .boxes.col4 li { margin-bottom: 15px; }
    .box-tools { margin-right: 15px; margin-bottom: 15px; width: 60px; }
    .grey-engament-model .col_6 { margin-bottom: 20px; }
    .facts span { width: 60px; height: 60px; line-height: 54px; font-size: 18px; }
    .years span:last-child { font-size: 16px; line-height: 1.2 }
    .rating-design .rt_box .img img { min-height: 46px; }
    .intl-tel-input .country-list { width: 240px; z-index: 111 }
    .tabs-with-selector.bottom [selected] { box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 26%) }
    section.grey ul.features.col2 li { width: 100%; }
}

/* =============================================
   ENTERPRISE REDESIGN RESPONSIVE
   ============================================= */

/* Header responsive */
@media (max-width: 1150px) {
    .header-top-bar { display: none; }
    .header-cta { display: none; }
    .header-main .site_menu { display: none; }
    .has-dropdown { display: none; }
    .header-main .site_logo { width: 100%; display: flex; justify-content: space-between; align-items: center; }
    .header-main .site_logo .toggle { display: inline-block; position: static; margin: 0; color: var(--td-dark); }
}

/* Homepage responsive - tablet */
@media (max-width: 991px) {
    .td-hero__layout { grid-template-columns: 1fr; gap: 40px; }
    .td-hero__content { text-align: center; }
    .td-hero__actions { justify-content: center; }
    .td-hero__trust { justify-content: center; }
    .td-hero__visual { display: none; }
    .td-hero__scroll { margin-top: 30px; }
    .td-clients__row { flex-direction: column; text-align: center; }
    .td-clients__logos { justify-content: center; }
    .td-hero { padding: 80px 0 60px; }
    .td-hero h1 { font-size: 36px; }
    .td-hero__sub { font-size: 16px; }
    .td-product-row { grid-template-columns: 1fr !important; gap: 30px; }
    .td-product-row--reverse .td-product-row__content { order: 1; }
    .td-product-row--reverse .td-product-row__visual { order: 2; }
    .td-mock-dash { max-width: 400px; }
    .td-mock-dash__stat span { font-size: 16px; }
    .td-services__layout { grid-template-columns: 1fr !important; gap: 30px; }
    .td-service-item { margin: 0; }
    .td-why__strip { flex-wrap: wrap; gap: 20px; }
    .td-why__divider { display: none; }
    .td-stats__grid { grid-template-columns: repeat(3, 1fr); }
    .td-stat::after { display: none; }
    .td-cases__featured { grid-template-columns: 1fr !important; }
    .td-mid-cta__inner { flex-direction: column; text-align: center; }
    .td-section-header h2 { font-size: 32px; }
    .td-testimonial-featured blockquote { font-size: 18px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-cta-band { padding: 45px 20px; }
    .footer-cta-band h2 { font-size: 24px; }
}

/* Homepage responsive - mobile */
@media (max-width: 767px) {
    .td-hero { padding: 50px 0 40px; }
    .td-hero.td-hero--inner { padding: 80px 0 40px !important; }
    .td-hero.td-hero--inner h1 { font-size: 28px; }
    .td-hero h1 { font-size: 28px; }
    .td-hero__sub { font-size: 15px; }
    .td-hero__actions { flex-direction: column; }
    .td-hero__actions .td-btn { text-align: center; }
    .td-product-row__content h3 { font-size: 24px; }
    .td-product-row__visual { justify-content: flex-start; }
    .td-product-row:hover .td-mock-dash { transform: none; }
    .td-why__strip { flex-direction: column; align-items: flex-start; padding: 30px 20px; }
    .td-why__item { padding: 10px 0; }
    .td-process__timeline { flex-direction: column; gap: 20px; }
    .td-process__timeline::before { display: none; }
    .td-process__step { text-align: left; padding: 0; }
    .td-process__dot { margin: 0 0 10px; }
    .td-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .td-stat::after { display: none; }
    .td-stat__number { font-size: 32px; }
    .td-case-compact { flex-direction: column; }
    .td-case-compact__img { width: 100%; height: 120px; }
    .td-industries__tags { gap: 6px; }
    .td-tag { font-size: 12px; padding: 5px 12px; }
    .td-testimonial-featured blockquote { font-size: 16px; }
    .td-testimonial-featured__author { flex-direction: column; gap: 12px; }
    .td-section-header h2 { font-size: 26px; }
    .td-section-header { margin-bottom: 35px; }
    .td-mid-cta h2 { font-size: 20px; }
    .td-recognition__grid { gap: 30px; }
    .td-service-item { margin: 0; padding: 18px 12px; }
    .td-service-item:hover { transform: none; }
    .td-btn--primary { box-shadow: none; }
    .td-btn--primary:hover { transform: none; box-shadow: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
    .footer-cta-band h2 { font-size: 22px; }
    .footer-cta-band p { font-size: 15px; }
    .footer-cta-band .btn-primary,
    .footer-cta-band .btn-outline-light { display: block; margin: 8px auto; max-width: 280px; text-align: center; }
    .footer-bottom .container { flex-direction: column; text-align: center; gap: 12px; }
    .footer-bottom ul { justify-content: center; flex-wrap: wrap; gap: 12px; }
}


/* =============================================
   PRODUCT PAGE & FORM RESPONSIVE
   ============================================= */

/* Tablet */
@media (max-width: 991px) {
    .td-feature-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .td-persona-grid { gap: 16px; }
    .td-persona-card { min-width: 180px; }
    .td-benefits-grid { gap: 20px; }
    .td-benefit-card { min-width: 220px; }
    .td-demo-layout { gap: 30px; }
    .td-demo-layout__info { min-width: 260px; }
    .td-demo-layout__form { min-width: 300px; }
}

/* Mobile */
@media (max-width: 767px) {
    .td-feature-grid { grid-template-columns: 1fr; gap: 16px; }
    .td-feature-card { padding: 24px 18px; }
    .td-feature-card:hover { transform: none; }
    .td-persona-grid { flex-direction: column; align-items: center; }
    .td-persona-card { max-width: 100%; min-width: 0; width: 100%; }
    .td-benefits-grid { flex-direction: column; align-items: center; }
    .td-benefit-card { max-width: 100%; min-width: 0; width: 100%; padding: 30px 20px; }
    .td-demo-layout { flex-direction: column; gap: 25px; }
    .td-demo-layout__info { min-width: 0; }
    .td-demo-layout__form { min-width: 0; }
    .td-form-card { padding: 24px 18px; }
    .td-form__submit { font-size: 15px; padding: 12px 20px; }

    /* Footer mobile fixes */
    .footer-col { text-align: left; }
    .footer-brand { text-align: left; }
    .footer-social { margin-top: 12px; }
    .footer-contact li { display: flex; align-items: flex-start; gap: 0; margin-bottom: 12px; }
    .footer-contact .fa { margin-top: 2px; }

    /* Ensure product page sections don't overflow */
    .td-section__narrow { padding: 0 15px; }
}

/* Small mobile */
@media (max-width: 480px) {
    .td-feature-card__icon { width: 50px; height: 50px; }
    .td-feature-card__icon i { font-size: 20px; }
    .td-feature-card h3 { font-size: 16px; }
    .td-feature-card p { font-size: 14px; }
    .td-form__input, .td-form__select, .td-form__textarea { font-size: 16px; padding: 10px 12px; }
    .td-form-card { padding: 20px 15px; }
}

/* =============================================
   ABOUT PAGE + UTILITY GRIDS — Responsive
   ============================================= */
/* Desktop defaults */
.td-grid-2col { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 30px !important; float: none !important; width: 100% !important; }
.td-grid-3col { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important; float: none !important; width: 100% !important; }
.td-grid-photos { display: grid !important; grid-template-columns: 1fr 2fr 1fr !important; gap: 15px !important; max-width: 1000px !important; margin: 0 auto !important; float: none !important; width: 100% !important; }

@media (max-width: 767px) {
    .td-grid-2col { grid-template-columns: 1fr !important; gap: 20px !important; }
    .td-grid-3col { grid-template-columns: 1fr !important; gap: 16px !important; }
    .td-grid-photos { grid-template-columns: 1fr !important; gap: 12px !important; }
    .td-grid-photos > div { flex-direction: row !important; gap: 12px !important; }
}
