@import url('https://fonts.googleapis.com/css2?family=Armata&display=swap');

/* =====================================================
   SAMADHAN — ADDITIONAL CSS (cleaned 17 Nov 2026)
   Duplicates and rules that were always overridden are removed.
   Backup of the previous version: additional-css-BACKUP-2026-11-17.css
   ===================================================== */

:root {
    --site-font: 'Armata', sans-serif;
}

html, body, button, input, select, textarea, optgroup,
h1, h2, h3, h4, h5, h6 {
    font-family: var(--site-font) !important;
}

body :not(i):not(.dashicons):not([class*="fa-"]):not([class*="fas"]):not([class*="far"]):not([class*="fab"]):not([class*="eicon"]):not([class*="icon-"]):not([class*="swm-icon"]) {
    font-family: var(--site-font) !important;
}


/* ---------- 1. Body text, site-wide ---------- */
body, p, li, td, th, dd, dt,
.elementor-widget-text-editor,
.elementor-widget-theme-post-content {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
}

/* ---------- 2. Headings: bold, with real steps between levels ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
}
h1 { font-size: 44px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 17px; }
h6 { font-size: 15px; }

@media (max-width: 767px) {
    h1 { font-size: 30px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }
}

/* ---------- 3. FAQ: question bold, answer smaller and light ---------- */
.e-n-accordion-item-title,
.e-n-accordion-item-title-text,
.elementor-accordion-title,
.elementor-toggle-title,
.elementor-tab-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.e-n-accordion-item > .e-con,
.e-n-accordion-item > .e-con p,
.elementor-tab-content,
.elementor-tab-content p,
.elementor-accordion .elementor-tab-content {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
}


/* ---------- Menus ---------- */
/* Max Mega Menu — top level items */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    font-size: 13.5px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

/* Theme's own menu, if Max Mega Menu isn't active on this location */
.swm-main-menu > li > a,
.main-navigation a,
#site-navigation .menu > li > a {
    font-size: 14px !important;
}

#wpadminbar, #wpadminbar * {
    font-family: -apple-system, "Segoe UI", Roboto, sans-serif !important;
}


/* ---------- Sticky header ---------- */
header.header {
    position: sticky !important;
    top: 0;
    z-index: 9999;
    background: #fff;
}

body.admin-bar header.header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar header.header {
        top: 46px;
    }
}


/* ---------- Tiles: equal height across each row ---------- */
.elementor-widget-wrap:has(> .elementor-widget-image-box) {
    align-content: stretch;
}

.elementor-widget-image-box {
    display: flex;
    flex-direction: column;
}

.elementor-widget-image-box > .elementor-widget-container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.elementor-widget-image-box .elementor-image-box-wrapper {
    flex: 1 1 auto;
}


/* ---------- Smooth scroll under the sticky header ---------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;  /* clears the 112px sticky header */
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}


/* =====================================================
   SAMADHAN SOLUTIONS SLIDER — even heights, taller boxes
   ===================================================== */
div.wrapper.samadhan-solutions-slider {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0 !important;
    padding-top: 20px;
    padding-bottom: 20px !important;
    padding-left: 70px;
    padding-right: 70px;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
}
div.wrapper.samadhan-solutions-slider * {
    box-sizing: border-box;
}
div.wrapper.samadhan-solutions-slider > div.swiper {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 25px !important; /* space for shadow */
    overflow: visible;
    position: relative;
    margin: 0 !important;
}
div.wrapper.samadhan-solutions-slider div.swiper-wrapper {
    display: flex;
    align-items: stretch !important; /* even heights */
    height: auto !important;
}
div.wrapper.samadhan-solutions-slider div.swiper-slide {
    width: 350px;
    height: auto !important;
    padding: 15px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}
div.wrapper.samadhan-solutions-slider div.swiper-slide div.content-wrapper {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    padding: 30px 25px;
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}
div.wrapper.samadhan-solutions-slider div.swiper-slide div.content-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 111, 186, 0.15);
    border-color: #006FBA;
}
div.wrapper.samadhan-solutions-slider div.swiper-slide div.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    justify-content: space-between;
}
div.wrapper.samadhan-solutions-slider div.swiper-slide div.swiper-avatar {
    width: 90px;
    height: 90px;
    min-width: 90px;
    min-height: 90px;
    background: linear-gradient(135deg, #006FBA 0%, #0088e0 100%);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 111, 186, 0.3);
}
div.wrapper.samadhan-solutions-slider div.swiper-slide div.swiper-avatar img {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain !important;
    display: block !important;
}
div.wrapper.samadhan-solutions-slider div.swiper-slide p.cite {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.4;
}
div.wrapper.samadhan-solutions-slider div.swiper-slide p.cite a {
    color: #006FBA;
    text-decoration: none;
}
div.wrapper.samadhan-solutions-slider div.swiper-slide p.cite a:hover {
    color: #f7941d;
}
div.wrapper.samadhan-solutions-slider div.swiper-slide div.content-optmise2 {
    flex-grow: 1;
    margin-bottom: 20px;
    width: 100%;
}
div.wrapper.samadhan-solutions-slider div.swiper-slide p.js-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: #555555;
    margin: 0;
    text-align: center;
}
div.wrapper.samadhan-solutions-slider div.swiper-slide p.js-excerpt.excerpt-hidden {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: auto;
    max-height: none;
}
div.wrapper.samadhan-solutions-slider div.swiper-slide p.js-excerpt.excerpt-visible {
    display: block;
    height: auto;
    overflow: visible;
}
div.wrapper.samadhan-solutions-slider div.swiper-slide a.about-erp-solution {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #f7941d 0%, #f15a22 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-top: auto;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(247, 148, 29, 0.3);
}
div.wrapper.samadhan-solutions-slider div.swiper-slide a.about-erp-solution:hover {
    background: linear-gradient(135deg, #006FBA 0%, #0088e0 100%);
    transform: translateY(-2px);
}
/* Slider arrows */
div.wrapper.samadhan-solutions-slider div.swiper div.swiper-button-prev,
div.wrapper.samadhan-solutions-slider div.swiper div.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #006FBA 0%, #0088e0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 111, 186, 0.3);
    cursor: pointer;
    z-index: 99 !important;
    margin: 0;
}
div.wrapper.samadhan-solutions-slider div.swiper div.swiper-button-prev { left: -55px; }
div.wrapper.samadhan-solutions-slider div.swiper div.swiper-button-next { right: -55px; }
div.wrapper.samadhan-solutions-slider div.swiper div.swiper-button-prev:after,
div.wrapper.samadhan-solutions-slider div.swiper div.swiper-button-next:after {
    display: none !important;
}
div.wrapper.samadhan-solutions-slider div.swiper div.swiper-button-prev i,
div.wrapper.samadhan-solutions-slider div.swiper div.swiper-button-next i {
    color: #ffffff;
    font-size: 20px;
}

/* Page 30115 spacing */
.page-id-30115 .elementor-element-fe654ca { padding-top: 10px !important; gap: 6px !important; }
.page-id-30115 .elementor-element-2e7febd { padding-bottom: 2px !important; }
.page-id-30115 .elementor-element-109d0f8 p { margin-bottom: 6px !important; }

/* Slider — responsive */
@media screen and (max-width: 1200px) {
    div.wrapper.samadhan-solutions-slider { padding: 15px 50px 10px 60px; }
    div.wrapper.samadhan-solutions-slider div.swiper div.swiper-button-prev { left: -45px; width: 45px; height: 45px; }
    div.wrapper.samadhan-solutions-slider div.swiper div.swiper-button-next { right: -45px; width: 45px; height: 45px; }
}
@media screen and (max-width: 768px) {
    div.wrapper.samadhan-solutions-slider { padding: 15px 50px 10px 50px !important; }
    div.wrapper.samadhan-solutions-slider div.swiper-slide { width: 280px; }
    div.wrapper.samadhan-solutions-slider div.swiper div.swiper-button-prev { left: -35px; width: 38px; height: 38px; }
    div.wrapper.samadhan-solutions-slider div.swiper div.swiper-button-next { right: -35px; width: 38px; height: 38px; }
}


/* ---------- WhatsApp button ---------- */
.whatsapp-button {
    position: fixed;
    bottom: 90px;
    right: 10px;
    z-index: 9999;
}
.whatsapp-button img {
    width: 55px;
    height: auto;
}


/* ---------- Page-specific fixes ---------- */
.elementor-7286 .elementor-element.elementor-element-7e71d36 > .elementor-widget-container {
    height: 550px !important;
}
.elementor-18912 .elementor-element.elementor-element-8122841 .elementskit-navbar-nav > li {
    text-align: center;
}
.yoast-breadcrumb {
    font-size: 8px !important;
}
.hide-breadcrumb {
    display: none !important;
}
.nv-post-navigation { margin-bottom: 10px !important; }
.elementor-7286 .elementor-element.elementor-element-d561ba4 .qodef-item-layout--boxed .qodef-e-content { height: 200px !important; }


/* ---------- Pagination ---------- */
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 40px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    flex-wrap: wrap;
}
.nav-links a,
.nav-links span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #2F5AAE;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.nav-links a:hover {
    color: #111827;
    background: #f9fafb;
    border-color: #d1d5db;
}
.nav-links .current {
    color: #ffffff;
    background: #2F5AAE;
    border-color: #2563eb;
    font-weight: 600;
}
.nav-links .prev,
.nav-links .next {
    padding: 0 18px;
    gap: 8px;
}
.nav-links .prev::before { content: '←'; margin-right: 5px; }
.nav-links .next::after { content: '→'; margin-left: 5px; }
.nav-links .dots {
    border: none;
    background: transparent;
    min-width: auto;
    padding: 0 8px;
}


/* ---------- Blog grid: equal heights ---------- */
.elementor-posts-container,
.qodef-blog-holder {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}
.elementor-posts-container.elementor-posts--columns-2 { grid-template-columns: repeat(2, 1fr); }
.elementor-posts-container.elementor-posts--columns-4 { grid-template-columns: repeat(4, 1fr); }
.qodef-blog-item,
.elementor-post {
    display: flex !important;
    height: 100% !important;
}
.qodef-e-inner {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 420px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.qodef-e-inner .qodef-e-media-image {
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    overflow: hidden;
}
.qodef-e-inner .qodef-e-media-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.qodef-e-inner .qodef-e-content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    padding: 25px !important;
}
.qodef-e-inner .qodef-e-title {
    min-height: 55px !important;
    max-height: 55px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}
.qodef-e-inner .qodef-e-excerpt {
    min-height: 70px !important;
    max-height: 70px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    flex: 1 !important;
}
.qodef-e-inner .qodef-e-read-more { margin-top: auto !important; }
@media (max-width: 1024px) {
    .elementor-posts-container,
    .qodef-blog-holder { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .elementor-posts-container,
    .qodef-blog-holder { grid-template-columns: 1fr; }
    .qodef-e-inner { min-height: auto; }
}


/* ---------- Search box ---------- */
.search-form {
    position: relative;
    max-width: 420px;
    width: 100%;
}
.search-form .search-field {
    width: 100%;
    height: 55px;
    padding: 0 55px 0 22px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    background: #fff;
    border: none;
    border-bottom: 3px solid #ddd;
    border-radius: 0;
    outline: none;
    transition: all 0.4s ease;
}
.search-form .search-field::placeholder {
    color: #aaa;
    font-weight: 400;
    letter-spacing: 0.5px;
}
.search-form .search-field:hover { border-bottom-color: #bbb; }
.search-form .search-field:focus {
    border-bottom-color: #2F5AAE;
    background: linear-gradient(to bottom, #fff 95%, #eef3fb 100%);
}
.search-form .search-submit {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: transparent !important;
    border: none;
    color: #888;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.search-form .search-submit:hover {
    color: #2F5AAE !important;
    transform: translateY(-50%) translateX(-3px);
}
.search-form .search-submit:hover svg,
.search-form .search-submit:hover i,
.search-form .search-submit:hover path {
    fill: #2F5AAE !important;
    color: #2F5AAE !important;
}


/* =====================================================
   CONTACT FORM 7 — base (merged from 6 older blocks)
   ===================================================== */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-number,
.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    max-width: 1080px;
    padding: 12px 15px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border 0.3s ease;
    margin-top: 18px;
    margin-bottom: 20px;
    display: block;
}

/* submit button: smooth colour change */
.wpcf7-form input[type="submit"] {
    transition: background 0.3s ease;
}

/* focus on message boxes and number fields */
.wpcf7-form-control.wpcf7-number:focus,
.wpcf7-form-control.wpcf7-textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* placeholder text */
.wpcf7-form-control::placeholder {
    color: #999;
    font-style: italic;
}
.wpcf7-form input::placeholder {
    color: #9aa0a6;
}

/* success message */
.wpcf7-response-output {
    border: 2px solid #28a745;
    color: #28a745;
    padding: 10px;
    margin-top: 15px;
    border-radius: 5px;
}

/* error message under a field */
.wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: 13px;
    color: #d61f26;
}

/* form width */
.wpcf7-form {
    max-width: 1257px;
}

/* red mandatory asterisk */
.required {
    color: #d61f26;
    font-weight: 700;
}

/* space between fields */
.wpcf7-form .swm-column-gap {
    margin-bottom: 22px;
}

/* text, email and phone fields: height + focus glow */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"] {
    height: 54px;
    transition: all .3s ease;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus {
    box-shadow: 0 0 0 3px rgba(214, 31, 38, .10);
    outline: none;
}

/* specific message boxes */
.sam-pro-form textarea {
    width: 513px !important;
}
.wpcf7 form[data-id="17113"] textarea[name="your-message"] {
    width: 511px !important;
    max-width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
    box-sizing: border-box;
    margin-bottom: 20px;
}


/* ---------- Misc layout ---------- */
.elementor-repeater-item-75ff604 {
    display: none !important;
}

/* Pull section up */
.elementor-element-2249e1b5 {
    margin-top: -180px !important;
    position: relative;
    z-index: 999;
}
@media (min-width: 1025px) {
    .elementor-element-2249e1b5 {
        transform: translateY(-52px);
    }
}


/* ---------- Solutions & Services menu on one line ---------- */
.mega-menu-item a,
.menu-item a {
    white-space: nowrap;
    display: inline-block;
}
a[href*="dynamics-365-bc-nav-implementation"],
a[href*="upgrade-nav-to-dynamic365-business-central"],
a[href*="dynamics365-fo-ax-implementation"],
a[href*="upgrade-ax-to-dynamics-365-fo"],
a[href*="erp-customization"] {
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mega-menu-item a {
    font-size: 14px;
}

.site-footer {
    display: none !important;
}

@keyframes blinkText {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}
#mega-menu-item-28391 > a.mega-menu-link {
    animation: blinkText 3s infinite;
}


/* ===== Mega menu icons ===== */
#mega-menu-wrap-primary .menu-ico{--ico:22px;display:inline-flex;align-items:center;gap:8px;line-height:1;vertical-align:middle}
#mega-menu-wrap-primary .menu-ico img{width:var(--ico)!important;height:var(--ico)!important;min-width:0!important;max-width:none!important;flex:0 0 auto;display:block;object-fit:contain}

/* ===== Mega menu panel shell ===== */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > ul.mega-sub-menu{
  padding:18px 24px 20px!important;
  border-radius:0 0 14px 14px!important;
  box-shadow:0 18px 44px rgba(16,24,40,.12)!important;
  border:0!important;
}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-column .mega-indicator{display:none!important}

/* ===== Group heading = grey rounded card ===== */
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item-has-children > a.mega-menu-link{
  display:flex!important; align-items:center!important; gap:12px!important;
  background:#eeeeef!important; border-radius:10px!important;
  padding:11px 14px!important; margin:0 0 11px!important;
  font-size:15px!important; font-weight:600!important; color:#12203c!important;
  line-height:1.3!important; height:auto!important;
}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item-has-children > a.mega-menu-link > .menu-ico{--ico:26px}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item-has-children > a.mega-menu-link:hover{background:#dde3f7!important}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item-has-children:not(:first-child) > a.mega-menu-link{margin-top:20px!important}

/* ===== Mega menu links ===== */
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-column ul.mega-sub-menu ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link{
  display:flex!important; align-items:center!important; gap:10px!important;
  padding:5px 8px!important; margin:0!important; border-radius:8px!important;
  font-size:14px!important; font-weight:400!important; color:#2b3445!important;
  line-height:1.35!important; height:auto!important;
}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-column ul.mega-sub-menu ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link > .menu-ico{--ico:19px}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-column ul.mega-sub-menu ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover{
  background:#f2f6fb!important; color:#0067b8!important;
}

/* Align the 2nd group card across columns — Products menu only */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item-28182 li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item-has-children:first-child > ul.mega-sub-menu{min-height:231px!important}


/* ---------- CF7 checkboxes in a row ---------- */
.wpcf7-checkbox .wpcf7-list-item {
    display: inline-block;
    margin: 0 32px 0 0;
}
.wpcf7-checkbox .wpcf7-list-item.last { margin-right: 0; }
.wpcf7-checkbox .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}


/* ---------- GTranslate button on phones ---------- */
@media (max-width: 768px) {
    .gt-float-wrapper,
    .gt_float_switcher,
    .gtranslate_wrapper {
        transform: scale(0.85) !important;
        transform-origin: bottom right !important;
        bottom: 55px !important;
        position: fixed !important;
        right: 10px !important;
    }
}


/* ---------- Table of contents: hide 3 entries ---------- */
.qodef-qi-table-of-contents .qodef-m-table-content li:has(> a[href="#Add_On_Services"]),
.qodef-qi-table-of-contents .qodef-m-table-content li:has(> a[href="#Manufacturing_Industries"]),
.qodef-qi-table-of-contents .qodef-m-table-content li:has(> a[href="#Quick_Links"]) {
    display: none;
}


/* ============ SAMADHAN BLOG SIDEBAR FORM ============ */

/* --- 1. fields: force the swm grid to stack --- */
.sam-form .swm-row{ display:block; margin:0 !important; }
.sam-form .swm-column,
.sam-form .swm-column2{
  width:100% !important;
  max-width:100% !important;
  flex:0 0 100% !important;
  float:none !important;
  margin:0 !important;
}
.sam-form .swm-column-gap{ padding:0 !important; }

/* --- 2. alignment: form text lines up with the TOC --- */
.sam-blog-side .wpcf7,
.sam-blog-side .wpcf7-form,
.sam-blog-side .widget_contact_form_7_widget,
.sam-blog-side .elementor-widget-container{
  padding-left:0 !important;
  padding-right:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

/* --- 3. title + subtitle, sized for the narrow column --- */
.wpcf7 h3{
  margin:0 0 8px !important;
  font-size:17px !important;
  line-height:1.35 !important;
  font-weight:700 !important;
}
.wpcf7 .sam-sub{
  margin:0 0 18px !important;
  font-size:12.5px !important;
  line-height:1.5 !important;
}

/* --- 4. hide the "no spam" line below the form --- */
.wpcf7 .sam-privacy{ display:none !important; }

/* --- 5. button: base state --- */
.sam-form input[type=submit],
.sam-form .sam-btn{
  width:100% !important;
  height:50px;
  margin-top:6px !important;
  padding:0;
  background:#b08d05;
  color:#fff;
  border:0;
  border-radius:6px;
  font-size:16px;
  font-weight:600;
  letter-spacing:.3px;
  cursor:pointer;
  transition:background .15s ease;
}

/* --- 6. button: hover / focus / active --- */
.sam-form input[type=submit]:hover,
.sam-form input[type=submit]:focus,
.sam-form input[type=submit]:active,
.sam-form .sam-btn:hover,
.sam-form .sam-btn:focus,
.sam-form .sam-btn:active{
  background:#c79f0a !important;
  color:#fff !important;
  border-color:#c79f0a !important;
  opacity:1 !important;
}

/* --- 7. icons: inside the field, white --- */
.sam-form .gyan-cf7-icon{
  position:relative;
  display:block;
  margin:0 0 12px;
}
.sam-form .gyan-cf7-icon i{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  z-index:2;
  pointer-events:none;
  font-size:14px;
  color:#fff !important;
}
.sam-form .gyan-cf7-icon i::before{ color:#fff !important; }
.sam-form .gyan-cf7-icon svg,
.sam-form .gyan-cf7-icon svg path{ fill:#fff !important; }

/* the fields must be dark, or a white icon is invisible */
.sam-form .wpcf7 input:not([type=submit]),
.sam-form input[type=text],
.sam-form input[type=email],
.sam-form input[type=tel]{
  width:100% !important;
  height:44px;
  box-sizing:border-box;
  margin:0 !important;
  padding:0 38px 0 12px !important;
  background:#3c6c8c !important;
  border:1px solid #4d7d9d !important;
  border-radius:6px;
  color:#fff !important;
  font-size:14px;
}
.sam-form ::placeholder{ color:#cfdde8 !important; opacity:1; }
.sam-form input:-webkit-autofill,
.sam-form input:-webkit-autofill:focus{
  -webkit-text-fill-color:#fff;
  -webkit-box-shadow:0 0 0 1000px #3c6c8c inset;
}

/* --- 8. phone field: intl-tel-input v12 --- */
.sam-form .intl-tel-input{ display:block !important; width:100% !important; }

/* hide the plugin's dial code beside the flag */
.sam-form .selected-dial-code{ display:none !important; }

/* text starts just after the flag divider */
.sam-form .intl-tel-input input,
.sam-form input.wpcf7-phonetext{
  padding-left:54px !important;
}

/* flag area on the dark field — fixed narrow width */
.sam-form .flag-container{ z-index:3; width:44px !important; }
.sam-form .selected-flag{
  width:44px !important;
  box-sizing:border-box !important;
  padding:0 4px 0 10px !important;
  background:transparent !important;
  border-right:1px solid #4d7d9d;
}
.sam-form .selected-flag .iti-flag{ margin-right:0 !important; }
.sam-form .selected-flag:hover,
.sam-form .selected-flag:focus{ background:rgba(255,255,255,.06) !important; }
.sam-form .iti-arrow{ margin-left:3px !important; border-top-color:#cfdde8 !important; }

/* dropdown list stays light so it's readable */
.sam-form .country-list{
  background:#fff !important;
  color:#1a1a1a !important;
  text-align:left;
  max-height:220px;
  border-radius:6px;
  box-shadow:0 6px 20px rgba(0,0,0,.25);
}
.sam-form .country-list .country{ color:#1a1a1a !important; }
.sam-form .country-list .country.highlight{ background:#e8eff5 !important; }
.sam-form .country-list .dial-code{ color:#6b7c8c !important; }
.sam-form .country-list .country-name{ color:#1a1a1a !important; }

/* phone field: force the full chain to full width */
.sam-form .gyan-cf7-icon,
.sam-form .wpcf7-form-control-wrap,
.sam-form .intl-tel-input,
.sam-form .intl-tel-input input,
.sam-form input.wpcf7-phonetext{
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}

/* --- 9. TOC hierarchy --- */
/* top level = H2, solid bullet */
.sam-blog-side .qodef-m-table-content > ul{
  list-style:disc outside !important;
  margin:0;
  padding-left:18px;
}
.sam-blog-side .qodef-m-table-content > ul > li{
  margin:0 0 9px;
  display:list-item;
}
.sam-blog-side .qodef-m-table-content > ul > li::marker{
  color:#8fb4cf;
}
.sam-blog-side .qodef-m-table-content > ul > li > a{
  display:inline;
  font-size:13.5px;
  font-weight:600;
  line-height:1.4;
}
/* nested = H3, hollow bullet, indented and quieter */
.sam-blog-side .qodef-m-table-content ul ul{
  list-style:circle outside !important;
  margin:6px 0 10px;
  padding-left:18px;
  border-left:2px solid rgba(255,255,255,.20);
}
.sam-blog-side .qodef-m-table-content ul ul li{
  margin:0 0 6px;
  display:list-item;
}
.sam-blog-side .qodef-m-table-content ul ul li::marker{
  color:#8fb4cf;
  font-size:.85em;
}
.sam-blog-side .qodef-m-table-content ul ul a{
  display:inline;
  font-size:12.5px;
  font-weight:400;
  opacity:.85;
  line-height:1.4;
}

/* --- 10. previous / next post (merged from 2 copies) --- */
.sam-post-nav{
  display:flex;
  justify-content:space-between;
  gap:24px;
  max-width:1240px;
  margin:0 auto;
  padding:42px 20px 8px;
  font-size:13.5px;
}
.sam-post-nav a{
  color:#2b5b7f;
  text-decoration:none;
  max-width:48%;
  line-height:1.4;
  font-weight:600;
}
.sam-post-nav a:hover{ color:#b08d05; }
.sam-post-nav a:only-child:last-child{ margin-left:auto; text-align:right; }
@media (max-width:768px){
  .sam-post-nav{ flex-direction:column; gap:10px; padding:28px 16px 8px; }
  .sam-post-nav a{ max-width:none; }
}


/* ============ SAMADHAN BLOG LAYOUT ============ */
.sam-blog-wrap{
  max-width:1240px;
  margin:0 auto;
  padding:30px 20px;
}
.sam-blog-wrap::after{
  content:"";
  display:table;
  clear:both;
}
.sam-blog-side{
  float:left;
  width:30%;
  max-width:340px;
  margin:0 32px 28px 0;
  position:relative;
  z-index:5;
}
.sam-blog-main{ min-width:0; }
.sam-blog-main img{ max-width:100%; height:auto; }
.sam-blog-main table{ display:block; overflow-x:auto; max-width:100%; }
.sam-blog-main .elementor-section .elementor-container{ max-width:100% !important; }
.sam-blog-main .elementor-section-stretched{
  width:auto !important; left:auto !important; right:auto !important;
  margin-left:0 !important; margin-right:0 !important;
}
.sam-blog-side *{ box-sizing:border-box; }
.sam-blog-side .elementor,
.sam-blog-side .elementor-section,
.sam-blog-side .elementor-container,
.sam-blog-side .elementor-row,
.sam-blog-side .elementor-column,
.sam-blog-side .elementor-column-wrap,
.sam-blog-side .elementor-widget-wrap{
  width:100% !important;
  max-width:100% !important;
  flex:0 0 100% !important;
  --width:100% !important;
}
.sam-blog-side .elementor-container{
  display:block !important;
  padding-left:0 !important;
  padding-right:0 !important;
}
.sam-blog-side .elementor-section-stretched{
  width:auto !important; left:auto !important;
  margin-left:0 !important; margin-right:0 !important;
}
.sam-blog-side img{ max-width:100%; height:auto; }
.sam-blog-side .elementor-invisible{
  opacity:1 !important;
  visibility:visible !important;
  animation:none !important;
}
.sam-blog-side [data-settings*="animation"]{ opacity:1 !important; }
@media (max-width:1024px){
  .sam-blog-side{
    float:none; width:auto; max-width:none;
    margin:0 0 28px; z-index:auto;
  }
}
.sam-blog-tail{ clear:both; }


/* ---------- Phones (up to 767px) ---------- */
@media (max-width: 767px) {
    img, video, iframe, pre { max-width: 100% !important; height: auto; }
    table { display: block; overflow-x: auto; max-width: 100%; }

    body, p, li, td,
    .elementor-widget-text-editor,
    .elementor-widget-theme-post-content {
        font-size: 16px !important;
        line-height: 1.7 !important;
        text-align: left !important;
    }

    h1 { font-size: 30px !important; line-height: 1.2 !important; }
    h2 { font-size: 24px !important; line-height: 1.25 !important; }
    h3 { font-size: 20px !important; line-height: 1.3 !important; }
    h4 { font-size: 18px !important; }
    h5, h6 { font-size: 16px !important; }

    .elementor-button, button,
    input[type="submit"], .wpcf7-submit {
        min-height: 48px !important;
        font-size: 16px !important;
        padding: 14px 20px !important;
    }

    input, select, textarea {
        font-size: 16px !important;
        width: 100% !important;
        min-height: 48px;
    }

    .sam-blog-wrap {
        display: flex;
        flex-direction: column;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    .sam-blog-main { order: 1; }
    .sam-blog-side { order: 2; }

    .sam-blog-main .elementor-widget-wrap.elementor-element-populated {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .sam-blog-main h2 { font-size: 24px !important; line-height: 1.3 !important; }
    .sam-blog-main h3 { font-size: 19px !important; line-height: 1.35 !important; }
}


/* ---------- Popup Maker (#popmake-26477) on tablets and phones ---------- */
@media (max-width: 1024px) {
  /* pin container to the viewport, not the document */
  #popmake-26477 {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    width: 92vw !important;
    max-width: 92vw !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: 88vh !important;
    margin: 0 !important;
    overflow: visible !important;
  }
  /* scroll the content, so the close button stays pinned */
  #popmake-26477 .pum-content {
    max-height: 80vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  /* let the GIF shrink instead of overflowing */
  #popmake-26477 .pum-content img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  /* thumb-sized close button */
  #popmake-26477 .pum-close.popmake-close {
    height: 44px !important;
    width: 44px !important;
    top: 0 !important;
    right: 0 !important;
    font-size: 34px !important;
    line-height: 44px !important;
    text-align: center !important;
    padding: 0 !important;
    z-index: 5 !important;
  }
}

/* Popup Maker: force open state, defeat the global `transition: all` */
.pum-overlay,
.pum-overlay .pum-container,
.pum-overlay .pum-container * {
  transition: none !important;
  animation: none !important;
}
.pum-overlay.pum-active,
.pum-overlay.pum-active .pum-container,
.pum-overlay.pum-active .pum-content {
  opacity: 1 !important;
}


/* ---------- Case Study popup (#case-study-modal on an Elementor section) ---------- */
#case-study-modal{
  display:none;
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(18,33,66,.65);
  padding:40px 20px;
  overflow-y:auto;
}
#case-study-modal:target{
  display:flex;
  align-items:flex-start;
  justify-content:center;
}
#case-study-modal > .elementor-container,
#case-study-modal > .e-con-inner{
  background:#fff;
  border-radius:12px;
  max-width:700px;
  width:100%;
  padding:40px;
  position:relative;
  margin-top:40px;
}
#case-study-modal .modal-close{
  position:absolute;
  top:16px;
  right:20px;
  font-size:22px;
  font-weight:700;
  color:#122142;
  text-decoration:none;
  line-height:1;
}
#case-study-modal .modal-close:hover{ color:#f07d1e; }


/* ---------- Testimonials slider: small logos ---------- */
.qodef-qi-testimonials-slider .qodef-e-media-image {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    width: 36px !important;
    max-width: 36px !important;
}
.qodef-qi-testimonials-slider .qodef-e-media-image img {
    height: 36px !important;
    width: 36px !important;
    max-width: 32px !important;
}
.qodef-qi-testimonials-slider .qodef-e-top {
    margin-bottom: 12px !important;
}
.qodef-qi-testimonials-slider .qodef-e-inner {
    padding-top: 20px !important;
}


/* ---------- Landing-page "Download Now" buttons (forms 31462 and 31491) ---------- */
[id^="wpcf7-f31462"] input[type="submit"],
[id^="wpcf7-f31491"] input[type="submit"] {
  background: #E8720C !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 14px 32px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background-color .2s ease !important;
}
[id^="wpcf7-f31462"] input[type="submit"]:hover,
[id^="wpcf7-f31491"] input[type="submit"]:hover {
  background: #CE6108 !important;
}


/* ---------- FAQ accordion icon + eyebrow label ---------- */
.sam2026faq-icon{
  display:grid !important;
  place-items:center !important;
  place-content:center !important;
}
.sam2026faq-icon svg{
  grid-area:1 / 1 !important;
  position:static !important;
}
.ag-eyebrow{
  display:block;
  margin:0 0 8px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:#FF9105;
  line-height:1.4;
}


/* ---------- Full-width submit buttons (iccma form) ---------- */
.wpcf7-form .wpcf7-submit,
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
  width: 100% !important;
  display: block !important;
}
.full-btn { box-sizing: border-box; }


/* =====================================================
   CONTACT FORM 7 — final look (wins over everything above)
   ===================================================== */
.wpcf7-form p {
  margin: 0 0 8px !important;
}
.wpcf7-form br {
  display: none !important;
}
.wpcf7-form .wpcf7-form-control-wrap {
  display: block !important;
  margin-top: 4px !important;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select {
  width: 100% !important;
  padding: 10px 14px !important;
  border: 1.5px solid #D6E4F0 !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  color: #1A2B4A !important;
  background: #F4F7FC !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}
.wpcf7-form input[type="submit"] {
  width: 100% !important;
  background: #0F62FE !important;
  color: #FFFFFF !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 13px !important;
  border: none !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  margin-top: 8px !important;
  display: block !important;
}
.wpcf7-form label {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #1A2B4A !important;
  display: block !important;
  margin-bottom: 4px !important;
  margin-top: 0 !important;
}
.wpcf7 {
  margin: 0 !important;
  padding: 0 !important;
}
.wpcf7-form {
  margin: 0 !important;
  padding: 0 !important;
}
.wpcf7-form .wpcf7-submit {
  margin-bottom: 0 !important;
}
.form-card .form-note,
.s-form-card .form-note {
  margin-top: 6px !important;
  padding-top: 0 !important;
}
.form-card {
  padding-bottom: 5px !important;
}


/* ---------- Max Mega Menu: wider panel, centred (desktop only) ---------- */
@media (min-width: 1200px) {
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
    width: min(1240px, calc(100vw - 40px)) !important;
    left: 50% !important;
    right: auto !important;
    margin-left: calc(min(1240px, calc(100vw - 40px)) / -2) !important;
  }
}


/* ---------- Phone number field: text starts after the flag + "+91" (all CF7 forms) ---------- */
.wpcf7-form .intl-tel-input input.wpcf7-phonetext {
    padding-left: 90px !important;
}
/* blog form hides the "+91", so it needs less space */
.sam-form .intl-tel-input input.wpcf7-phonetext {
    padding-left: 54px !important;
}