/**
 * Gulftech inner pages — About (child CMS), Service detail, Product/Project listings.
 * Load after master-agency.css / master-business.css.
 */

.owl-carousel .owl-item img {
  height: auto;
}

/* ------------------------------------------------------------------ */
/* Shared “site-content” spacing                                         */
/* ------------------------------------------------------------------ */
.site-content {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  .site-content {
    padding-top: 4.25rem;
    padding-bottom: 5rem;
  }
}

.site-content .blog-left-col,
.site-content .blog-right-col {
  margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
  .site-content .blog-left-col,
  .site-content .blog-right-col {
    margin-bottom: 0;
  }
}

/* ------------------------------------------------------------------ */
/* Sidebar — widget-categories (content-page, service_content)           */
/* ------------------------------------------------------------------ */
.pbminfotech-sidebar .sidebar {
  position: sticky;
  top: 96px;
}

.pbminfotech-sidebar .widget {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  margin-bottom: 1.5rem;
}

.pbminfotech-sidebar .widget-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #02457a;
}

.pbminfotech-sidebar .widget-categories ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pbminfotech-sidebar .widget-categories ul li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e2e8f0;
}

.pbminfotech-sidebar .widget-categories ul li:last-child {
  border-bottom: none;
}

.pbminfotech-sidebar .widget-categories ul li:not(.current) > a {
  color: #64748b;
}

.pbminfotech-sidebar .widget-categories ul li > a {
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.pbminfotech-sidebar .widget-categories ul li > a:hover {
  color: #02457a;
  padding-left: 6px;
}

.pbminfotech-sidebar .widget-categories ul li.current {
  background: transparent;
  border: none;
  padding-left: 0;
}

.pbminfotech-sidebar .widget-categories ul li.current > a {
  color: #02457a !important;
  font-weight: 700 !important;
  padding-left: 28px !important;
  position: relative;
}

.pbminfotech-sidebar .widget-categories ul li.current > a::before {
  content: '\2192';
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  line-height: 1;
  color: #02457a !important;
}

.pbminfotech-sidebar .widget-categories ul li.current > a:hover {
  color: #023a66 !important;
  padding-left: 28px !important;
}

.pbminfotech-sidebar .widget-categories ul li.current > a:hover::before {
  color: inherit !important;
}

/* ------------------------------------------------------------------ */
/* Main article — pbmit blog blocks (missing from theme bundle)         */
/* ------------------------------------------------------------------ */
.blog-left-col .post.blog-classic {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.pbmit-img-wrapper-inner {
  margin: 0;
  background: #f1f5f9;
}

.pbmit-featured-img-wrapper {
  overflow: hidden;
}

.pbmit-featured-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  max-height: min(70vh, 520px);
  object-fit: cover;
}

.pbmit-blog-classic-inner {
  padding: 1.75rem 1.25rem 2.25rem;
}

@media (min-width: 768px) {
  .pbmit-blog-classic-inner {
    padding: 2.25rem 2rem 2.75rem;
  }
}

.pbmit-post-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1.25rem;
  line-height: 1.2;
}

.pbmit-entry-content .text-box {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
}

.pbmit-entry-content .text-box p {
  margin-bottom: 1.1em;
}

.pbmit-entry-content .text-box li {
  list-style: disc;
  margin-left: 1.25rem;
  margin-bottom: 0.35em;
}

.pbmit-entry-content .text-box ul,
.pbmit-entry-content .text-box ol {
  margin-bottom: 1em;
  padding-left: 0.25rem;
}

.pbmit-entry-content .text-box h2,
.pbmit-entry-content .text-box h3,
.pbmit-entry-content .text-box h4 {
  color: #0f172a;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.65em;
  line-height: 1.3;
}

.pbmit-entry-content .text-box img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

.pbmit-entry-content .text-box a {
  color: #02457a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pbmit-entry-content .text-box a:hover {
  color: #023a66;
}

/* ------------------------------------------------------------------ */
/* Services listing (service.blade — pbmit card grid)                    */
/* ------------------------------------------------------------------ */
.pbmit-services-listing {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.pbmit-services-listing .pbmit-service-style-1 .pbmit-content-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.pbmit-services-listing .pbmit-service-style-1:hover .pbmit-content-box {
  border-color: #c5d9e8;
  box-shadow: 0 8px 28px rgba(2, 69, 122, 0.08);
}

.pbmit-services-listing .pbmit-service-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.pbmit-services-listing .pbmit-service-title a {
  color: #0f172a;
  text-decoration: none;
}

.pbmit-services-listing .pbmit-service-title a:hover {
  color: #02457a;
}

.pbmit-services-listing .pbmit-serv-cat a {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  text-decoration: none;
}

/* ------------------------------------------------------------------ */
/* Project / Products shop grid (project.blade.php)                      */
/* ------------------------------------------------------------------ */
.theme-red.space.whit {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
  background: #fff;
}

.as-sort-bar {
  margin-bottom: 1.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.as-sort-bar .woocommerce-result-count {
  font-size: 0.9375rem;
  color: #64748b;
}

.as-sort-bar .single-select.style2 {
  min-width: 200px;
  height: 44px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 0.9375rem;
}

.as-sort-bar .nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: 6px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #64748b;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.as-sort-bar .nav a.active,
.as-sort-bar .nav a:hover {
  background: #02457a;
  border-color: #02457a;
  color: #fff;
}

.as-product {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.as-product:hover {
  border-color: #c5d9e8;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
}

.as-product .product-img {
  position: relative;
  background: #f8fafc;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.as-product .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.as-product:hover .product-img img {
  transform: scale(1.04);
}

.as-product .product-content {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.as-product .product-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.as-product .product-title a {
  color: #0f172a;
  text-decoration: none;
}

.as-product .product-title a:hover {
  color: #02457a;
}

.as-product .meta {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.as-btn.style3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: #02457a;
  border-radius: 8px;
  border: 1px solid #02457a;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.as-btn.style3:hover {
  background: #023a66;
  border-color: #023a66;
  color: #fff;
}

/* List view */
.as-product.as-product--list {
  flex-direction: row;
  align-items: stretch;
  max-width: 100%;
}

@media (max-width: 575.98px) {
  .as-product.as-product--list {
    flex-direction: column;
  }
}

.as-product.as-product--list .product-img {
  width: 220px;
  min-width: 220px;
  aspect-ratio: auto;
  max-height: 200px;
}

@media (max-width: 575.98px) {
  .as-product.as-product--list .product-img {
    width: 100%;
    min-width: 0;
    max-height: 220px;
  }
}

.as-product.as-product--list .product-content {
  padding: 1.5rem 1.5rem 1.75rem;
}

/* ------------------------------------------------------------------ */
/* Optional: About Us layout (about_us.blade — same brand tokens)       */
/* ------------------------------------------------------------------ */
.about-us-page-wrap .container-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.about-us-content {
  padding-left: 0;
}

@media (min-width: 992px) {
  .about-us-content {
    padding-left: 30px;
  }
}

.about-us-content .text-box p {
  margin-bottom: 1em;
}

.about-us-content .list-style-one {
  margin: 16px 0 0;
  padding-left: 1.25rem;
}

.about-us-sidebar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  margin-bottom: 1.5rem;
}

.about-us-sidebar .sidebar-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #02457a;
}

.about-us-sidebar .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-us-sidebar .nav-list li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e2e8f0;
}

.about-us-sidebar .nav-list li:last-child {
  border-bottom: none;
}

.about-us-sidebar .nav-list a {
  display: block;
  padding: 0.75rem 0;
  color: #334155;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s, padding-left 0.2s;
}

.about-us-sidebar .nav-list a:hover {
  color: #02457a;
  padding-left: 6px;
}

.about-us-sidebar .nav-list li.current a {
  color: #0f172a;
  font-weight: 700;
}

.about-us-content .page-image-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.about-us-content .page-image-wrap img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.about-us-content .experience-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(2, 69, 122, 0.94);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 10px;
}

.about-us-content .experience-badge h2,
.about-us-content .experience-badge h3 {
  color: #fff !important;
  margin: 0;
}

.about-us-content .experience-badge h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.about-us-content .experience-badge h3 {
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.95;
  margin-top: 0.25rem;
}

.about-us-content .content-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.about-us-content .content-subtitle {
  font-size: 0.9375rem;
  color: #64748b;
  margin-bottom: 1rem;
  display: block;
}

.about-us-content .text-box {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 1.75rem;
}

.about-us-content .theme-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #02457a;
  color: #fff !important;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.about-us-content .theme-btn:hover {
  background: #023a66;
  color: #fff !important;
}

/* ------------------------------------------------------------------ */
/* Page banner + breadcrumb (.pbmit-* — markup from page-banner.blade)   */
/* shortcode.css is not loaded on this theme; vars like --pbmit-* absent */
/* ------------------------------------------------------------------ */
.pbmit-title-bar-wrapper {
  position: relative;
  z-index: 1;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  min-height: 220px;
}

.pbmit-title-bar-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(15, 23, 42, 0.62);
  pointer-events: none;
}

.pbmit-title-bar-content {
  position: relative;
  z-index: 1;
  /* Header (style-2) is ~122px; keep first crumb below it */
  padding: clamp(130px, 18vw, 190px) 0 clamp(72px, 10vw, 110px);
  display: flex;
  align-items: center;
}

.pbmit-title-bar-content-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  text-align: center;
}

.pbmit-title-bar-content .pbmit-tbar,
.pbmit-title-bar-content .pbmit-breadcrumb {
  display: block;
}

.pbmit-breadcrumb .pbmit-breadcrumb-inner {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0;
  padding: 8px 18px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(6px);
}

.pbmit-breadcrumb,
.pbmit-breadcrumb a {
  font-family: inherit;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-style: normal;
  color: #ffffff !important;
  text-decoration: none;
}

.pbmit-breadcrumb a:hover {
  color: #b8e0c8 !important;
  text-decoration: none;
}

.pbmit-title-bar-content .pbmit-breadcrumb .sep {
  display: inline-block;
  font-size: 0;
  line-height: 1;
  padding: 0 10px;
  position: relative;
  top: -1px;
  color: rgba(255, 255, 255, 0.65) !important;
}

.pbmit-title-bar-content .pbmit-breadcrumb .sep::before {
  content: '\203a';
  font-size: 12px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.7);
  font-family: system-ui, sans-serif;
}

.pbmit-title-bar-content .pbmit-breadcrumb .sep i {
  display: none;
}

.pbmit-title-bar-content .pbmit-breadcrumb .current-item {
  color: #ffffff !important;
  font-weight: 600;
}

.pbmit-tbar-title {
  font-family: inherit;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
  margin-bottom: 0;
  color: #ffffff !important;
}

.pbmit-title-bar-content .pbmit-tbar-desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 767.98px) {
  .pbmit-breadcrumb .pbmit-breadcrumb-inner {
    padding: 6px 12px 8px;
    font-size: 11px;
  }

  .pbmit-title-bar-content .pbmit-breadcrumb .sep {
    padding: 0 6px;
  }
}

/* ------------------------------------------------------------------ */
/* Product detail — align products theme with gulftech inner pages      */
/* ------------------------------------------------------------------ */
.page-wrapper .product-details.space {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.product-details .product-title {
  font-family: var(--pbmit-heading-typography-font-family, inherit);
  font-weight: 600;
  color: #0f172a;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.product-details .product-tab-style1.nav {
  border-bottom: 2px solid #e2e8f0;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-details .product-tab-style1 .nav-link {
  color: #64748b;
  font-weight: 600;
  border: none;
  border-radius: 8px 8px 0 0;
  padding: 0.65rem 1rem;
}

.product-details .product-tab-style1 .nav-link:hover {
  color: #02457a;
}

.product-details .product-tab-style1 .nav-link.active {
  color: #02457a;
  background: rgba(2, 69, 122, 0.08);
}

.product-details .tab-content {
  color: #334155;
  font-size: 1rem;
  line-height: 1.75;
}

.product-details .product-desc {
  margin-top: 0.5rem;
}

.product-details .actions .as-btn.style4 {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 8px;
  background: #02457a !important;
  text-decoration: none;
  font-weight: 600;
  border: none;
}

.product-details .actions .as-btn.style4:hover {
  background: #023a66 !important;
  color: #fff !important;
}

.product-details .title-area .sec-title {
  font-family: var(--pbmit-heading-typography-font-family, inherit);
  color: #0f172a;
  font-weight: 600;
}

.product-details .as-product {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s ease;
}

.product-details .as-product:hover {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.product-details .space-top.theme-red {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

/* Offcanvas: full-viewport layer stacks above #masthead (z-index ~10060); when closed it must NOT eat clicks */
.offcanvas-3__area {
  z-index: 20000 !important;
  pointer-events: none !important;
}

/* JS toggles .offcanvas-3--open — force visible full-screen menu (redundant with style.blade; keep for CDN hits) */
.offcanvas-3__area.offcanvas-3--open {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100vh !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  left: 0 !important;
  top: 0 !important;
  pointer-events: auto !important;
  z-index: 20000 !important;
}

.offcanvas-3__area.offcanvas-3--open .offcanvas-3__menu > ul > li {
  opacity: 1 !important;
  top: 0 !important;
  transform: none !important;
}

.offcanvas-3__area.offcanvas-3--open .offcanvas-has-children.is-submenu-open .offcanvas-3__sub li {
  opacity: 1 !important;
  top: 0 !important;
  transform: none !important;
}

.offcanvas-3__area.offcanvas-3--open .offcanvas-3__meta,
.offcanvas-3__area.offcanvas-3--open .offcanvas-3__social {
  opacity: 1 !important;
  visibility: visible !important;
  top: 0 !important;
}

/* Offcanvas accordion: hide child lists until expanded (chevron toggles .is-submenu-open) */
.offcanvas-3__item-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

/* Same width as chevron button — keeps leaf items aligned with dropdown rows */
.offcanvas-3__toggle-spacer {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  pointer-events: none;
}

.offcanvas-3__link--parent {
  flex: 1;
  min-width: 0;
}

.offcanvas-3__toggle {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.offcanvas-3__toggle::before {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-top: -5px;
}

.offcanvas-has-children.is-submenu-open .offcanvas-3__toggle::before {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.offcanvas-3__menu .offcanvas-3__sub {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none !important;
}

.offcanvas-has-children.is-submenu-open .offcanvas-3__sub {
  display: block !important;
  padding: 8px 0 0 !important;
  margin: 0 !important;
  max-height: min(2000px, 85vh) !important;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.offcanvas-has-children:not(.is-submenu-open) .offcanvas-3__sub li {
  margin: 0 !important;
  padding: 0 !important;
}

.offcanvas-3__menu .offcanvas-3__sub::before {
  display: none !important;
}

.offcanvas-3__area .offcanvas-3__sub li {
  padding-inline-start: 12px !important;
  margin-bottom: 10px !important;
}

.offcanvas-3__area .offcanvas-3__sub li::before {
  display: none !important;
}

.offcanvas-3__area .offcanvas-3__sub .offcanvas-3__link--child {
  font-size: clamp(0.95rem, 4vw, 1.15rem) !important;
  line-height: 1.35 !important;
  transform: none !important;
  perspective: none !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.82) !important;
  background-image: none !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
}

.offcanvas-3__area .offcanvas-3__sub li.active .offcanvas-3__link--child {
  -webkit-text-fill-color: #fff !important;
}

/* Binox: menu was flex-end aligned — extra empty space above links on mobile */
@media (max-width: 1199.98px) {
  .offcanvas-3__menu-wrapper {
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }
  .offcanvas-3__menu {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Meta column gap/space-between blows vertical rhythm on small screens */
  .offcanvas-3__area .offcanvas-3__meta-wrapper {
    gap: 16px !important;
    justify-content: flex-start !important;
  }

  /* Inner: single column, tight stack (theme uses 50px gap + space-between) */
  .offcanvas-3__area.offcanvas-3--open .offcanvas-3__inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    justify-content: flex-start !important;
  }

  /* Remove decorative vertical line on main list — it shifts perceived alignment */
  .offcanvas-3__area .offcanvas-3__menu > ul::before,
  .offcanvas-3__area .offcanvas-3__menu > ul:before {
    display: none !important;
    content: none !important;
  }

  /* One rhythm: same L margin + bottom gap for every top-level row */
  .offcanvas-3__area .offcanvas-3__menu > ul {
    padding: 0 !important;
    margin: 0 !important;
  }

  .offcanvas-3__area .offcanvas-3__menu > ul > li {
    padding: 0 !important;
    padding-inline-start: 0 !important;
    margin: 0 0 12px !important;
  }

  .offcanvas-3__area .offcanvas-3__menu > ul > li:last-child {
    margin-bottom: 0 !important;
  }

  .offcanvas-3__area .offcanvas-3__menu > ul > li::before {
    display: none !important;
    content: none !important;
  }

  /* Theme skew/gradient makes labels look “staggered” — flat text, one column */
  .offcanvas-3__area .offcanvas-3__link--parent {
    transform: none !important;
    perspective: none !important;
    -webkit-background-clip: unset !important;
    background-image: none !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.92) !important;
    background-size: auto !important;
    background-position: 0 0 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: clamp(1.15rem, 4.2vw, 1.75rem) !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.01em !important;
    text-align: start !important;
  }
}

/* ------------------------------------------------------------------ */
/* Home hero: bg uses .zi--1 — must sit INSIDE a stacking context or it paints behind <body> */
/* ------------------------------------------------------------------ */
.banner-1.banner-area .swiper-slide-item {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
}

.banner-1.banner-area .swiper-slide-item .banner-inner,
.banner-1.banner-area .swiper-slide-item .banner-content {
  position: relative;
  z-index: 2;
}

/* Theme uses .zi--1 on bg — paint can fall behind body on mobile; pin bg inside slide */
.banner-1.banner-area .banner-area-bg.bg-full {
  z-index: 0 !important;
}

/* Hero slide: long description under title (slider “Description Long”) */
.banner-1 .banner-slide-desc {
  margin-top: 1rem;
  margin-bottom: 0;
  max-width: 680px;
}

.banner-1 .banner-slide-desc__inner,
.banner-1 .banner-slide-desc__inner p {
  font-size: clamp(1rem, 2.1vw, 1.3rem);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.banner-1 .banner-slide-desc__inner p:last-child {
  margin-bottom: 0;
}

.banner-1 .banner-slide-desc__inner p {
  margin-bottom: 0.5rem;
}

@media only screen and (max-width: 767px) {
  .banner-1 .banner-slide-desc {
    margin-top: 0.85rem;
  }
}

/* Meanmenu clones nav into .offcanvas__menu-wrapper — we use hamburger + offcanvas-3 only; hide duplicate links */
@media (max-width: 1199.98px) {
  .offcanvas__menu-wrapper.mean-container,
  .offcanvas__menu-wrapper .mean-bar,
  .offcanvas__menu-wrapper .mean-nav,
  .offcanvas__menu-wrapper .mean-push {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    pointer-events: none !important;
  }
}

/* ------------------------------------------------------------------ */
/* Desktop header: har dropdown apni sab se lambi line jitni wide (max-content), viewport se zyada nahi */
/* ------------------------------------------------------------------ */
@media (min-width: 1200px) {
  #masthead .main-menu ul.dp-menu {
    width: max-content;
    max-width: min(1200px, calc(100vw - 48px));
    box-sizing: border-box;
  }

  #masthead .main-menu ul.dp-menu ul {
    width: max-content;
    max-width: min(1200px, calc(100vw - 56px));
    box-sizing: border-box;
  }

  #masthead .main-menu ul.dp-menu li a {
    white-space: nowrap;
  }
}

/* ------------------------------------------------------------------ */
/* Mobile / tablet — header + Home hero (Binox .pos-center overlap fix)  */
/* meanmenu hides .main-menu below 1199px but .pos-center could still cover the bar */
/* ------------------------------------------------------------------ */
@media (max-width: 1199.98px) {
  #masthead.header-area .header__nav.pos-center {
    display: none !important;
  }

  /* White header bar + dark icons (readable on light bg) */
  #masthead.header-area.style-2.site-header:not(.sticky) {
    background: #ffffff !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  }

  #masthead.header-area.style-2.site-header:not(.sticky) .search-icon {
    color: #121212 !important;
  }

  #masthead.header-area.style-2.site-header:not(.sticky) .open-offcanvas span {
    color: #121212 !important;
  }

  #masthead.header-area.style-2 .header-area__inner {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 88px;
    height: auto;
  }

  #masthead .header__logo {
    flex: 0 0 auto;
    max-width: 56%;
  }

  #masthead .header__logo img {
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  #masthead .header__search,
  #masthead .header__nav.pos-centericon {
    position: relative;
    flex: 0 0 auto;
    z-index: 2;
  }
}

/* Home slider: header is in-flow ≤1200px — reduce duplicate top padding + stable min-height */
@media (max-width: 1200px) {
  .banner-1.banner-area {
    position: relative;
    z-index: 1;
    background-color: #252525;
  }

  .banner-1.banner-area .swiper.baner-active-1 {
    width: 100%;
    min-height: min(68vh, 640px);
    margin: 0 auto;
  }

  .banner-1.banner-area .swiper-slide {
    height: auto;
    min-height: min(68vh, 560px);
  }

  .banner-1.banner-area .swiper-slide-item {
    min-height: min(68vh, 540px);
    padding-top: clamp(40px, 8vw, 88px) !important;
    padding-bottom: clamp(72px, 14vw, 140px) !important;
  }

  .banner-1.banner-area .pagination-wrapper {
    position: relative;
    z-index: 3;
  }
}

@media (max-width: 575.98px) {
  .banner-1 .title {
    word-break: break-word;
  }
}
