/* ==========================================================================
   LIEN MINH HUNG - AUTOMATION & MACHINE VISION
   Theme: Tasvina High-Tech Industrial Design System (Sky Blue Brand Accents)
   ========================================================================== */

:root {
  --primary-color: #0066cc;
  --primary-hover: #0052a3;
  --secondary-color: #007bff;
  --accent-color: #38bdf8;
  --accent-tech: #ff6b00;
  --navy-header-text: #0a2540;
  --navy-header-text-dark: #0f2c59;
  --navy-header-bg: #ffffff;
  --navy-topbar-bg: #f0f4f8;
  --navy-footer-bg: #0b192c;
  --navy-footer-surface: #0f2c59;
  --dark-bg: #0b192c;
  --dark-surface: #132742;
  --dark-card: #1a365d;
  --light-bg: #f8fafc;
  --light-card: #ffffff;
  --text-main: #0a2540;
  --text-muted: #475569;
  --border-light: #e2e8f0;
  --border-accent: #0066cc;
}

html, body, p, span, div, a, li, ul, ol, input, button, select, textarea, label, td, th, h1, h2, h3, h4, h5, h6, .heading-font, .banner h1, .banner h2, .entry-title, .post-title, .widget-title, .section-title, .nav-link-tasvina, .btn-tasvina-primary, .btn-tasvina-outline {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

body {
  background-color: #ffffff;
  color: #1e293b;
  margin: 0;
  padding: 0;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .heading-font {
  font-weight: 600;
  line-height: 1.3;
}

.alt-font {
  font-family: 'Dancing Script', cursive, sans-serif !important;
  font-weight: 400 !important;
}

/* ==========================================================================
   TASVINA HEADER STYLES - MODERN BRIGHT NAVY DESIGN
   ========================================================================== */
.header-tasvina {
  background-color: #ffffff;
  border-bottom: 2px solid #0066cc;
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
}

.topbar-tasvina {
  background-color: #f0f4f8;
  border-bottom: 1px solid #e2e8f0;
  color: #0a2540;
  font-size: 0.8125rem;
}

.nav-link-tasvina {
  color: #0a2540;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  letter-spacing: 0.025em;
  position: relative;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
}

.nav-link-tasvina:hover,
.nav-link-tasvina.active {
  color: #0066cc;
}

.nav-link-tasvina::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background-color: #0066cc;
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: center;
}

.nav-link-tasvina:hover::after,
.nav-link-tasvina.active::after {
  transform: scaleX(1);
}

/* ==========================================================================
   FLATSOME / TASVINA EXACT MULTI-LEVEL DROPDOWN
   ========================================================================== */
.nav-item-has-children {
  position: relative;
}

.nav-dropdown-tasvina {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #0066cc;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(10, 37, 64, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 60;
  padding: 6px 0;
  list-style: none;
  margin: 0;
}

.nav-item-has-children:hover > .nav-dropdown-tasvina {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-tasvina > li {
  position: relative;
  list-style: none;
  margin: 0;
}

.nav-dropdown-tasvina > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  color: #0a2540;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: none;
  transition: all 0.15s ease;
  border-bottom: 1px solid #f1f5f9;
}

.nav-dropdown-tasvina > li:last-child > a {
  border-bottom: none;
}

.nav-dropdown-tasvina > li:hover > a {
  background-color: #f0f4f8;
  color: #0066cc !important;
}

.nav-dropdown-tasvina > li:hover > a i {
  color: #0066cc !important;
}

/* Sub-level Flyout (Level 2 Dropdown opens to the right) */
.nav-sub-dropdown {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 270px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #0066cc;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(10, 37, 64, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 70;
  padding: 6px 0;
  list-style: none;
  margin: 0;
}

.nav-dropdown-tasvina > li:hover > .nav-sub-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav-sub-dropdown > li > a {
  display: block;
  padding: 9px 18px;
  color: #0a2540;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: none;
  transition: all 0.15s ease;
  border-bottom: 1px solid #f1f5f9;
}

.nav-sub-dropdown > li:last-child > a {
  border-bottom: none;
}

.nav-sub-dropdown > li:hover > a {
  background-color: #f0f4f8;
  color: #0066cc !important;
}

/* ==========================================================================
   TASVINA SECTION TITLES WITH GEAR ICON
   ========================================================================== */
.mbws_title {
  margin-bottom: 2.5rem;
  text-align: center;
}

.title-style-center {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.title-style-center::before,
.title-style-center::after {
  content: '';
  flex: 1;
  max-width: 180px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00bfff, transparent);
  margin: 0 1.25rem;
}

.title-style-center .title {
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.title-style-center.style-dark .title {
  color: #ffffff;
}

.title-highlight {
  color: #0088cc;
}

.title-style-center.style-dark .title-highlight {
  color: #00bfff;
}

.title-style-center i.fa-gear {
  color: #00bfff;
  font-size: 1.35rem;
  animation: spinGear 12s linear infinite;
}

@keyframes spinGear {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   TASVINA HERO BANNER (mbws_banner)
   ========================================================================== */
.mbws_banner {
  position: relative;
  background-color: #0a0a0a;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.section-bg img.bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 25, 44, 0.85) 0%, rgba(15, 44, 89, 0.88) 100%);
  z-index: 2;
}

.hero-banner-light-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(240, 244, 248, 0.88) 0%, rgba(255, 255, 255, 0.92) 50%, rgba(224, 242, 254, 0.88) 100%);
  backdrop-filter: blur(1px);
  z-index: 2;
}

.section-content {
  position: relative;
  z-index: 3;
}

/* ==========================================================================
   TASVINA TECHNICAL PLATFORM CARDS (Box has-hover)
   ========================================================================== */
.platform-card {
  background: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 191, 255, 0.18);
  border-color: #00bfff;
}

.platform-card .image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 62.5%; /* 16:10 aspect ratio */
  overflow: hidden;
  background-color: #0f172a;
}

.platform-card .image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.platform-card:hover .image-wrapper img {
  transform: scale(1.08);
}

.platform-card .content-wrapper {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.platform-card .content-wrapper h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.platform-card:hover .content-wrapper h4 {
  color: #0088cc;
}

.platform-card .content-wrapper p {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

/* ==========================================================================
   TASVINA PARALLAX SECTION
   ========================================================================== */
.has-parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallax-banner {
  position: relative;
  background-color: #0f172a;
  padding: 5rem 0;
  color: #ffffff;
}

/* ==========================================================================
   TASVINA WHY CHOOSE US (mbws_taisaochon)
   ========================================================================== */
.mbws_taisaochon {
  background-color: #f1f5f9;
  padding: 5rem 0;
}

.icon-box-tasvina {
  background: #ffffff;
  padding: 2rem 1.75rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.icon-box-tasvina:hover {
  transform: translateY(-4px);
  border-color: #00bfff;
  box-shadow: 0 12px 24px rgba(0, 191, 255, 0.15);
}

.icon-box-badge {
  width: 52px;
  height: 52px;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, #00bfff 0%, #0077b6 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 191, 255, 0.35);
}

.icon-box-tasvina h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.icon-box-tasvina p {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   TASVINA PARTNER CARDS
   ========================================================================== */
.partner-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.25s ease;
  height: 130px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.partner-card:hover {
  border-color: #00bfff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 191, 255, 0.16);
}

.partner-card img {
  max-height: 48px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(80%);
  transition: filter 0.25s ease;
}

.partner-card:hover img {
  filter: grayscale(0%);
}

/* ==========================================================================
   TASVINA NEWS / ARTICLES (mbws_quytrinh)
   ========================================================================== */
.article-card-tasvina {
  background: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card-tasvina:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 191, 255, 0.2);
  border-color: #00bfff;
}

.article-image-box {
  position: relative;
  width: 100%;
  padding-top: 60%;
  overflow: hidden;
  background-color: #0f172a;
}

.article-image-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card-tasvina:hover .article-image-box img {
  transform: scale(1.06);
}

.article-date-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: #00bfff;
  color: #ffffff;
  padding: 0.25rem 0.6rem;
  border-radius: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   TASVINA FOOTER STYLES - XANH NAVY ĐẬM B2B
   ========================================================================== */
.footer-tasvina {
  background-color: #0b192c;
  color: #e2e8f0;
  border-top: 3px solid #0066cc;
}

.footer-tasvina h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-tasvina h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2.5px;
  background-color: #38bdf8;
}

.footer-tasvina p {
  color: #cbd5e1;
}

.footer-tasvina a {
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.footer-tasvina a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.footer-tasvina i {
  color: #38bdf8;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f8fafc !important;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.social-icon-btn:hover {
  background: #38bdf8 !important;
  color: #0b192c !important;
  border-color: #38bdf8;
  transform: translateY(-2px);
  padding-left: 0 !important;
}

.copyright-bar {
  background-color: #071220;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  color: #94a3b8;
  font-size: 0.8125rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-tasvina-primary {
  background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
  color: #ffffff;
  font-weight: 700;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.35);
}

.btn-tasvina-primary:hover {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.45);
  color: #ffffff;
}

.btn-tasvina-outline {
  background: transparent;
  color: #0066cc;
  font-weight: 700;
  border: 2px solid #0066cc;
  border-radius: 0.5rem;
  padding: 0.65rem 1.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.btn-tasvina-outline:hover {
  background: #0066cc;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 102, 204, 0.3);
}

.btn-tasvina-light-outline {
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.btn-tasvina-light-outline:hover {
  background: #ffffff;
  color: #0a2540;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   PARTNER CAROUSEL & INFINITE GLIDE SLIDER
   ========================================================================== */
.partner-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 12px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.partner-slider-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: partnerMarquee 26s linear infinite;
}

.partner-slider-track:hover {
  animation-play-state: paused;
}

@keyframes partnerMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-slide-item {
  flex-shrink: 0;
  width: 165px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  transition: all 0.3s ease;
}

.partner-slide-item img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(10%) opacity(92%);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.partner-slide-item:hover img {
  filter: grayscale(0%) opacity(100%);
  transform: scale(1.1);
}

/* ==========================================================================
   TASVINA ABOUT PAGE ACCORDION & CORE VALUES
   ========================================================================== */
.tasvina-about-section {
  padding-top: 40px;
  padding-bottom: 60px;
  background-color: #ffffff;
}

.tasvina-title-red {
  color: #c90006 !important;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tasvina-img-box {
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tasvina-img-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.tasvina-accordion {
  margin-top: 1.25rem;
}

.tasvina-accordion-item {
  border-top: 1px solid #e2e8f0;
}

.tasvina-accordion-item:last-child {
  border-bottom: 1px solid #e2e8f0;
}

.tasvina-accordion-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
}

.tasvina-accordion-title:hover {
  color: #c90006;
}

.tasvina-accordion-title .toggle-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #64748b;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.tasvina-accordion-item.active .tasvina-accordion-title {
  color: #c90006;
}

.tasvina-accordion-item.active .toggle-icon {
  transform: rotate(180deg);
  background: #c90006;
  color: #ffffff;
}

.tasvina-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.65;
}

.tasvina-accordion-item.active .tasvina-accordion-content {
  max-height: 350px;
  padding-bottom: 1rem;
}

.icon-box-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  transition: all 0.3s ease;
  background: #ffffff;
  border-radius: 0.75rem;
}

.icon-box-center:hover {
  transform: translateY(-4px);
}

.icon-box-center .icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(201, 0, 6, 0.08);
  border: 2px solid #c90006;
  color: #c90006;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.icon-box-center:hover .icon-circle {
  background: #c90006;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(201, 0, 6, 0.28);
}

.icon-box-center h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.icon-box-center p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

#machine-vision, #automation, #maintenance, #blister-machine {
  scroll-margin-top: 100px;
}

/* ==========================================================================
   TASVINA SECTION TITLE (RED CENTER TITLE WITH SIDE DIVIDERS)
   ========================================================================== */
.section-title-container {
  margin-bottom: 2rem;
  width: 100%;
}

.section-title {
  position: relative;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.section-title-center {
  text-align: center;
  justify-content: center;
}

.section-title-center b {
  display: block;
  flex: 1;
  height: 2px;
  opacity: 0.25;
  background-color: #cbd5e1;
}

.section-title-main {
  font-size: 1.45rem;
  font-weight: 800;
  color: #c90006;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 1.75rem;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .section-title-main {
    font-size: 1.15rem;
    padding: 0 0.75rem;
    white-space: normal;
  }
}

/* ==========================================================================
   TASVINA SERVICE & CATEGORY BOX CARDS
   ========================================================================== */
.tasvina-card-grid-3 {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}

@media (min-width: 640px) {
  .tasvina-card-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .tasvina-card-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tasvina-box {
  background: #ffffff;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
}

.tasvina-box-image {
  position: relative;
  padding-top: 75%; /* 4:3 Generous Aspect Ratio for Machinery & Cameras */
  overflow: hidden;
  border-radius: 0 !important;
  background-color: #ffffff;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.tasvina-box:hover .tasvina-box-image {
  border-color: #0066cc !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
}

.tasvina-box-image img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 96%;
  max-height: 96%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tasvina-box:hover .tasvina-box-image img {
  transform: translate(-50%, -50%) scale(1.04);
}

.tasvina-box-text {
  padding-top: 0.875rem;
  padding-bottom: 0.5rem;
  text-align: center;
}

.tasvina-box-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.tasvina-box:hover .tasvina-box-text h4 {
  color: #c90006;
}

/* ==========================================================================
   GLOBAL NO-BORDER & NO-ROUNDED ON IMAGES AND PRODUCT BOXES
   ========================================================================== */
img, 
.tasvina-img-box, 
.tasvina-box-image, 
.tasvina-card-img, 
.product-card-img-wrapper {
  border: none !important;
  outline: none !important;
  border-radius: 0 !important;
}

.tasvina-img-box img,
.tasvina-box-image img,
.tasvina-card-img img,
.tasvina-box,
.product-card {
  border: none !important;
  outline: none !important;
  border-radius: 0 !important;
}

/* ==========================================================================
   FORCE 0 BORDER-RADIUS ON ALL IMAGES AND IMAGE CONTAINERS
   ========================================================================== */
img,
.tasvina-img-box,
.tasvina-box-image,
.tasvina-box,
.image-wrapper,
.platform-card,
.platform-card .image-wrapper,
.platform-card img,
.tasvina-img-box img {
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
}
