/* ==========================================================================
   DESIGN SYSTEM & CUSTOM STYLES FOR JINUOSH VIETNAM
   Author: Senior Frontend Architect
   Style: Industrial B2B Tech - Sharp & High Contrast
   ========================================================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  /* Color Tokens */
  --primary: #0029b8;
  --secondary: #1B75D0;
  --accent: #F58220;
  --accent-hover: #E07212;
  --bg-gray: #F7F8FA;
  --dark: #1E1E1E;
  --dark-light: #2D2D2D;
  --white: #FFFFFF;
  --text-main: #333333;
  --text-muted: #666666;
  --border-color: #E2E8F0;

  /* Layout Tokens */
  --radius-sm: 2px;
  --radius-md: 4px;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease-out;
}

/* Global Reset & Base */
body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--dark);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--secondary);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-gray);
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Typography Scale helpers */
.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

/* 8-Point Grid Spacing helpers */
.py-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-value: 768px) {
  .py-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

/* ==========================================================================
   BUTTONS (Sharp & Solid B2B style)
   ========================================================================== */
.btn-jns {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
}

.btn-jns-accent {
  background-color: var(--accent);
  color: var(--white);
}

.btn-jns-accent:hover {
  background-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 130, 32, 0.3);
}

.btn-jns-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-jns-primary:hover {
  background-color: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 86, 181, 0.3);
}

.btn-jns-outline {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-jns-outline:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-jns-dark-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-jns-dark-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-jns-sm {
  padding: 8px 18px;
  font-size: 0.75rem;
}

/* ==========================================================================
   HEADER & TOP BAR
   ========================================================================== */
.top-bar {
  background-color: var(--dark);
  color: #A0AEC0;
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--dark-light);
  position: relative;
  z-index: 1010;
}

.top-bar a {
  color: #A0AEC0;
}

.top-bar a:hover {
  color: var(--white);
}

/* Custom Language Dropdown in Top Bar */
.top-bar .dropdown-menu {
  background-color: var(--dark-light);
  border: 1px solid #3d3d3d !important;
  border-radius: 0;
  padding: 5px 0;
  min-width: 120px;
}

.top-bar .dropdown-item {
  color: #A0AEC0 !important;
  padding: 8px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.top-bar .dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: var(--white) !important;
}

.top-bar .dropdown-item.active {
  background-color: var(--primary) !important;
  color: var(--white) !important;
}

.main-header {
  height: 90px;
  background-color: var(--white);
  transition: var(--transition-smooth);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.main-header.sticky {
  height: 70px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.main-header .navbar-brand img {
  height: 60px;
  transition: var(--transition-smooth);
}

.main-header.sticky .navbar-brand img {
  height: 50px;
}

.main-header .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--dark);
  padding: 10px 15px !important;
  position: relative;
}

.main-header .nav-link:hover,
.main-header .nav-link.active {
  color: var(--primary);
}

.main-header .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  right: 15px;
  height: 3px;
  background-color: var(--primary);
  transform: scaleX(0);
  transition: var(--transition-fast);
}

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

/* Mega Menu */
.has-mega-menu {
  position: static !important;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--white);
  border-top: 3px solid var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 30px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition-smooth);
  z-index: 999;
}

.has-mega-menu:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  margin-bottom: 15px;
}

.mega-menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu-links li {
  margin-bottom: 10px;
}

.mega-menu-links a {
  font-size: 0.9rem;
  color: var(--text-main);
  display: block;
}

.mega-menu-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-slider {
  height: 750px;
  position: relative;
  background: radial-gradient(circle at 75% 30%, #0d3880 0%, #061b3d 50%, #020a1c 100%);
  overflow: hidden;
}

.hero-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

.hero-slide-item {
  height: 100%;
  position: relative;
  background: transparent;
}

.hero-slide-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(2, 10, 28, 0.85) 0%, rgba(2, 10, 28, 0.4) 50%, transparent 100%);
  z-index: 1;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-text-box {
  max-width: 600px;
}

.hero-text-box h1,
.hero-text-box h2,
.hero-text-box .h1 {
  font-size: 2.75rem;
  /* Elegant, small enough, not overwhelming */
  font-weight: 800;
  line-height: 1.2;
  color: var(--white) !important;
  margin-bottom: 15px;
}

.hero-text-box .subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}

.hero-visual-box {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* High-tech Measurement Viewport */
.measurement-viewport {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  background: #000;
  overflow: hidden;
  animation: floatEffect 6s ease-in-out infinite;
}

.measurement-viewport::before {
  /* Inner border boundary */
  content: '';
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 3;
}

/* Corner Reticles */
.viewport-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent);
  z-index: 4;
  pointer-events: none;
}

.viewport-corner-tl {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
}

.viewport-corner-tr {
  top: 10px;
  right: 10px;
  border-left: none;
  border-bottom: none;
}

.viewport-corner-bl {
  bottom: 10px;
  left: 10px;
  border-right: none;
  border-top: none;
}

.viewport-corner-br {
  bottom: 10px;
  right: 10px;
  border-left: none;
  border-top: none;
}

/* Grid overlay inside viewport */
.viewport-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center;
  pointer-events: none;
  z-index: 2;
}

/* Target Crosshair */
.viewport-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 4;
  opacity: 0.65;
  transition: var(--transition-smooth);
}

.viewport-crosshair::before,
.viewport-crosshair::after {
  content: '';
  position: absolute;
  background: var(--accent);
}

.viewport-crosshair::before {
  top: 15px;
  left: 0;
  width: 32px;
  height: 2px;
}

.viewport-crosshair::after {
  top: 0;
  left: 15px;
  width: 2px;
  height: 32px;
}

.viewport-crosshair-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* Status overlays */
.viewport-status {
  position: absolute;
  top: 15px;
  right: 15px;
  font-family: monospace;
  font-size: 10px;
  color: #4ade80;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(3, 10, 28, 0.7);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(74, 222, 128, 0.25);
  pointer-events: none;
}

.viewport-status-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.4;
  }
}

.viewport-info-overlay {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  display: flex;
  justify-content: space-between;
  font-family: monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.65);
  z-index: 4;
  background: rgba(3, 10, 28, 0.7);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.viewport-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: var(--transition-smooth);
  z-index: 1;
}

.measurement-viewport:hover .viewport-img {
  transform: scale(1.05);
  opacity: 1;
}

.hero-floating-img {
  max-height: 500px;
  object-fit: contain;
  animation: floatEffect 6s ease-in-out infinite;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

@keyframes floatEffect {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Custom Swiper pagination styling */
.hero-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--white);
  opacity: 0.5;
  border-radius: 0;
  /* Sharp style */
  transition: var(--transition-fast);
}

.hero-slider .swiper-pagination-bullet-active {
  opacity: 1;
  background-color: var(--accent);
  width: 30px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-img-box {
  position: relative;
  padding-right: 20px;
  padding-bottom: 20px;
}

.about-img-box::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 80%;
  height: 80%;
  border: 5px solid var(--accent);
  z-index: 1;
}

.about-img-box img {
  position: relative;
  z-index: 2;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 30px 0;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.about-feature-item i {
  color: var(--accent);
  font-size: 1.1rem;
}

/* ==========================================================================
   PRODUCTS SECTION
   ========================================================================== */
.product-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.product-img-wrapper {
  position: relative;
  padding-top: 100%;
  /* 1:1 Aspect Ratio */
  overflow: hidden;
  background-color: var(--bg-gray);
}

.product-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 86, 181, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 3;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

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

.product-card:hover .product-card-overlay {
  opacity: 1;
}

.product-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--dark);
}

.product-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  flex-grow: 1;
}

/* ==========================================================================
   WHY CHOOSE JINUOSH
   ========================================================================== */
.why-section {
  background-color: var(--primary);
  color: var(--white);
}

.why-card {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  height: 100%;
  transition: var(--transition-smooth);
  border-radius: var(--radius-sm);
}

.why-card:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.why-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
}

.why-card h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.why-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ==========================================================================
   APPLICATIONS SECTION
   ========================================================================== */
.app-card {
  position: relative;
  overflow: hidden;
  height: 320px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-sm);
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
  transition: var(--transition-smooth);
}

.app-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 2;
  transition: var(--transition-smooth);
}

.app-card-overlay-desc {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: var(--transition-smooth);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.app-card:hover::before {
  background: linear-gradient(to top, rgba(10, 86, 181, 0.95) 0%, rgba(10, 86, 181, 0.7) 100%);
}

.app-card:hover .app-card-content {
  transform: translateY(-10px);
}

.app-card:hover .app-card-overlay-desc {
  height: auto;
  opacity: 1;
  margin-top: 10px;
}

.app-card h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0;
}

.app-card:hover h4 {
  color: var(--accent);
}

/* ==========================================================================
   VIDEO SECTION
   ========================================================================== */
.video-section {
  background-color: var(--dark);
  color: var(--white);
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
  background-color: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.video-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.play-btn {
  position: relative;
  z-index: 3;
  width: 80px;
  height: 80px;
  background-color: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.play-btn::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  animation: pulsePlay 2s infinite;
  opacity: 0.5;
}

.play-btn:hover {
  background-color: var(--white);
  color: var(--accent);
  transform: scale(1.1);
}

@keyframes pulsePlay {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
}

/* ==========================================================================
   STATISTICS SECTION
   ========================================================================== */
.stat-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  z-index: 1;
}

.stat-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 41 184 / 66%);
  z-index: -1;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 3.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-title {
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--white);
}

/* ==========================================================================
   TYPICAL PROJECTS
   ========================================================================== */
.project-swiper-container {
  overflow: hidden;
  position: relative;
  padding-bottom: 40px;
}

.project-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.project-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card-content {
  padding: 20px;
}

.project-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.project-card-meta i {
  color: var(--primary);
  margin-right: 5px;
}

.project-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* ==========================================================================
   NEWS & ARTICLES
   ========================================================================== */
.news-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-img-wrapper {
  overflow: hidden;
  position: relative;
  height: 200px;
}

.news-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.news-date {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background-color: var(--accent);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}

.news-card:hover .news-img-wrapper img {
  transform: scale(1.05);
}

.news-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-body h4 {
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

.news-body h4 a {
  color: var(--dark);
}

.news-body h4 a:hover {
  color: var(--primary);
}

.news-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 20px;
}

/* News Slider styles */
.news-slider {
  padding-bottom: 45px !important;
  overflow: hidden;
}

.news-slider .swiper-slide {
  height: auto;
}

.news-slider .news-card {
  height: 100%;
}

.news-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  opacity: 0.35;
  border-radius: 0;
  margin: 0 5px;
  transition: var(--transition-fast);
}

.news-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background-color: var(--accent);
  width: 30px;
}

/* ==========================================================================
   PARTNERS TICKER
   ========================================================================== */
.partner-logo-box {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  padding: 15px;
  background-color: var(--white);
  transition: var(--transition-smooth);
}

.partner-logo-box img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: var(--transition-smooth);
}

.partner-logo-box:hover {
  border-color: var(--primary);
}

.partner-logo-box:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   CTA CONTACT BANNER
   ========================================================================== */
.cta-banner {
  background-color: var(--primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 50%, rgba(27, 117, 208, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.25rem;
  font-weight: 800;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--dark);
  color: #A0AEC0;
  font-size: 0.9rem;
  border-top: 5px solid var(--primary);
}

.footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent);
}

.footer-logo {
  height: 110px;
  margin-bottom: 20px;
  display: flex;
}

.footer a {
  color: #A0AEC0;
}

.footer a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  display: block;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-contact i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 3px;
}

.map-container {
  width: 100%;
  height: 180px;
  border: 1px solid var(--dark-light);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 36px;
  height: 36px;
  background-color: var(--dark-light);
  color: #A0AEC0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--dark-light);
  padding: 20px 0;
  font-size: 0.8rem;
}

/* ==========================================================================
   UTILITY & MISCELLANEOUS
   ========================================================================== */
/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
}

/* Floating Contact Widgets */
.floating-contact-widgets {
  position: fixed;
  bottom: 95px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2000;
}

.contact-widget-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background: transparent;
  border: none;
}

.contact-widget-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-widget-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Pulse animation for Phone button */
.contact-widget-btn.phone-widget {
  animation: phonePulse 2s infinite;
}

@keyframes phonePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(230, 0, 18, 0.7), 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(230, 0, 18, 0), 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(230, 0, 18, 0), 0 4px 15px rgba(0, 0, 0, 0.2);
  }
}

/* Responsive adjustments for mobile */
@media (max-width: 767px) {
  .back-to-top {
    bottom: 85px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  .floating-contact-widgets {
    bottom: 140px;
    right: 20px;
    gap: 10px;
  }
  .contact-widget-btn {
    width: 42px;
    height: 42px;
  }
}

/* Sticky CTA Mobile */
.sticky-cta-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 98;
  padding: 10px 15px;
}

@media (max-width: 767px) {
  .sticky-cta-mobile {
    display: flex;
    gap: 10px;
  }

  .sticky-cta-mobile .btn {
    flex: 1;
    font-size: 0.8rem;
    padding: 10px 5px;
  }

  /* Offset body padding-bottom so content isn't covered by sticky footer */
  body {
    padding-bottom: 60px;
  }
}

/* Custom Popup Modal styling */
.jns-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
}

.jns-modal {
  background-color: var(--white);
  width: 100%;
  max-width: 550px;
  border-top: 5px solid var(--accent);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transform: translateY(-50px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.jns-modal-backdrop.show {
  display: flex;
}

.jns-modal-backdrop.show .jns-modal {
  transform: translateY(0);
  opacity: 1;
}

.jns-modal-header {
  padding: 20px 25px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jns-modal-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.close-modal-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.close-modal-btn:hover {
  color: var(--dark);
}

.jns-modal-body {
  padding: 25px;
}

.jns-modal-body .form-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 8px;
}

.jns-modal-body .form-control {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  padding: 12px 15px;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.jns-modal-body .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 86, 181, 0.1);
  outline: none;
}

/* Section Header styling */
.section-header {
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--accent);
}

.section-header.text-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Header light (for dark backgrounds) */
.section-header.light h2 {
  color: var(--white);
}

.section-header.light p {
  color: rgba(255, 255, 255, 0.75);
}

/* Custom styles for AOS delay adjustments in grid */
@media (max-width: 767px) {
  [data-aos-delay] {
    transition-delay: 0s !important;
  }
}

/* Custom Jinuosh B2B Tabs styling */
.nav-tabs-jns {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid var(--border-color) !important;
}

.nav-tabs-jns .nav-item {
  margin-bottom: -2px;
}

.nav-tabs-jns .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted) !important;
  border: 2px solid transparent !important;
  border-bottom: none !important;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0 !important;
  padding: 12px 25px;
  background-color: transparent;
  transition: var(--transition-smooth);
}

.nav-tabs-jns .nav-link:hover {
  color: var(--primary) !important;
  background-color: rgba(10, 86, 181, 0.05);
  border-color: var(--border-color) var(--border-color) transparent !important;
}

.nav-tabs-jns .nav-link.active {
  color: var(--white) !important;
  background-color: var(--primary) !important;
  border-color: var(--primary) var(--primary) transparent !important;
  box-shadow: 0 -4px 10px rgba(10, 86, 181, 0.15);
}

/* Specification Tables Styling */
.spec-table {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border-collapse: separate;
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  margin-bottom: 0;
}

.spec-table th {
  background-color: var(--primary) !important;
  color: var(--white) !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border-bottom: 2px solid rgba(0, 0, 0, 0.15);
  padding: 8px 12px;
}

.spec-table td {
  padding: 8px 12px;
}

/* Featured Product Media Card */
.featured-media-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.featured-media-card .video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: var(--transition-smooth);
}

.featured-media-card:hover .video-placeholder {
  transform: scale(1.02);
}

.featured-media-card .play-btn {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
  z-index: 3;
}

.featured-media-card .play-btn:hover {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(245, 130, 32, 0.4);
}

/* Vision & Mission cards styling */
.vision-mission-box {
  background-color: var(--white);
  padding: 25px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-sm);
}

.accent-box-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
}

/* Team Image Box Caption */
.team-img-box {
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.team-img-box img {
  width: 100%;
  height: auto;
  transition: var(--transition-smooth);
}

.team-img-box:hover img {
  transform: scale(1.03);
}

.team-caption {
  z-index: 10;
  transition: var(--transition-smooth);
}