/* ============================================================
   Yute Intelligent Technology - Main Stylesheet
   Design reference: lfdjg.com
   Primary color: #036eb8
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --primary: #036eb8;
  --primary-dark: #025a9a;
  --primary-light: #4a9fd8;
  --secondary: #004d8c;
  --accent: #f8f9fa;
  --accent-dark: #e9ecef;
  --dark: #1a1a2e;
  --darker: #0d0d1a;
  --text-primary: #2d3436;
  --text-secondary: #636e72;
  --text-light: #b2bec3;
  --border-color: #e9ecef;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 12px 48px rgba(3, 110, 184, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s ease;
  --font-primary: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* ============================================================
   Base Styles
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--primary);
  color: #fff;
}

/* ============================================================
   Top Bar
   ============================================================ */
.header_top {
  background: var(--darker);
  color: #ccc;
  font-size: 1rem;
  padding: 23px 0;
  border-bottom: 3px solid var(--primary);
  position: relative;
  z-index: 1001;
}

.header_top a {
  color: #ccc;
  font-size: 1rem;
}

.header_top a:hover {
  color: #fff;
}

.header_top .contact-info i {
  color: var(--primary-light);
  margin-right: 6px;
  font-size: 1.1rem;
}

.header_top .contact-info span {
  margin-right: 28px;
  display: inline-block;
}

.header_top .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
  font-size: 1rem;
  margin-left: 8px;
  transition: var(--transition);
}

.header_top .social-icons a:hover {
  background: var(--primary);
  color: #fff;
}

.header_top .social-icons a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ============================================================
   HOVER DROPDOWN — show submenu on hover, no click needed
   ============================================================ */
.nav-item.dropdown {
    position: relative;
}
.nav-item.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 3px solid var(--primary);
    min-width: 200px;
    padding: 8px 0;
    box-shadow: var(--shadow-md);
    background: #fff;
    z-index: 1000;
}
.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
}
.nav-item.dropdown .dropdown-item {
    padding: 8px 20px;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: background 0.2s, padding-left 0.2s;
}
.nav-item.dropdown .dropdown-item:hover {
    background: rgba(3, 110, 184, 0.06);
    color: var(--primary);
    padding-left: 26px;
}
/* Remove the caret icon since hover doesn't need it */
.nav-item.dropdown .nav-link.dropdown-toggle::after {
    display: none;
}

/* ============================================================
   Header / Navigation
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

header.header-scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  padding: 0;
  background: #fff !important;
}

.navbar-brand {
  padding: 8px 0;
  margin-right: 40px;
}

.navbar-brand img {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

.header-scrolled .navbar-brand img {
  height: 42px;
}

.navbar .nav-item {
  position: relative;
}

.navbar .nav-link {
  color: var(--text-primary) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 22px 16px !important;
  letter-spacing: 0.3px;
  transition: var(--transition);
  position: relative;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70%;
  height: 3px;
  background: var(--primary);
  transition: transform 0.3s ease;
  transform-origin: center;
}

.navbar .nav-link:hover::after,
.navbar .nav-item.active .nav-link::after {
  transform: translateX(-50%) scaleX(1);
}

.navbar .nav-link:hover,
.navbar .nav-item.active .nav-link {
  color: var(--primary) !important;
}

/* Dropdown Menu */
.navbar .dropdown-menu {
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  margin-top: 0;
  border-top: 3px solid var(--primary);
  min-width: 220px;
  animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.navbar .dropdown-item {
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.navbar .dropdown-item:hover {
  background: var(--accent);
  color: var(--primary);
  padding-left: 28px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 15px;
  border-left: 1px solid var(--border-color);
  padding-left: 15px;
}

.lang-switcher .lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-switcher .lang-btn:hover {
  color: var(--primary);
  background: rgba(3, 110, 184, 0.06);
}

.lang-switcher .lang-btn.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

/* Quote Button */
.btn-quote {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  letter-spacing: 0.3px;
  margin-left: 12px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-quote:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

/* Search Toggle */
.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-toggle:hover {
  background: var(--accent);
  color: var(--primary);
}

/* ============================================================
   Hero / Banner Section
   ============================================================ */
.hero-section {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
  background: var(--darker);
}

.hero-section .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-video {
    object-fit: cover;
    pointer-events: none;
}

.hero-section .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(3, 110, 184, 0.85) 0%,
    rgba(3, 110, 184, 0.6) 40%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
}

.hero-section .hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-section .hero-content .hero-text {
  max-width: 650px;
}

.hero-section .hero-content .hero-subtitle {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-section .hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-section .hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 30px;
}

.hero-section .hero-content .btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-section .hero-content .btn-hero-primary {
  background: #fff;
  color: var(--primary);
  border: 2px solid #fff;
}

.hero-section .hero-content .btn-hero-primary:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-section .hero-content .btn-hero-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-section .hero-content .btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Hero Wave Divider */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

/* Page Banner (Inner Pages) */
.page-banner {
  position: relative;
  padding: 100px 0 80px;
  background: var(--darker);
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(3, 110, 184, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.page-banner .banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-banner .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.page-banner .breadcrumb-item.active {
  color: #fff;
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   Section Styles
   ============================================================ */
.section-padding {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title .subtitle {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
  letter-spacing: -0.3px;
}

.section-title p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-title.text-left {
  text-align: left;
}

.section-title.text-left p {
  margin: 0;
}

.section-header-center {
  text-align: center;
  margin-bottom: 50px;
}

.section-header-center .section-subtitle {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-header-center h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.section-header-center p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   About Section (Home)
   ============================================================ */
.about-section {
  background: var(--accent);
}

.about-section .about-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-section .about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-section .about-image .experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: #fff;
  padding: 20px 30px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-section .about-image .experience-badge .number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.about-section .about-image .experience-badge .label {
  font-size: 0.85rem;
  opacity: 0.9;
}

.about-section .about-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-section .about-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-section .about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 25px;
}

.about-section .about-features .feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-section .about-features .feature-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(3, 110, 184, 0.1);
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-section .about-features .feature-item span {
  font-size: 0.95rem;
  font-weight: 500;
}

/* ============================================================
   Stats / Counter Section
   ============================================================ */
.stats-section {
  background: var(--primary);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.stats-section .container {
  position: relative;
  z-index: 1;
}

.stats-section .stat-item {
  text-align: center;
  color: #fff;
  padding: 20px;
}

.stats-section .stat-item .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 5px;
}

.stats-section .stat-item .stat-label {
  font-size: 1rem;
  opacity: 0.85;
  font-weight: 400;
}

.stats-section .stat-item .stat-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  opacity: 0.9;
}

/* ============================================================
   Products Section / Cards
   ============================================================ */
.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-color);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.product-card .card-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.product-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.product-card .card-image .card-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: #fff;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.product-card .card-body {
  padding: 24px;
}

.product-card .card-body h5 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.product-card .card-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-card .card-body .btn-details {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.product-card .card-body .btn-details:hover {
  gap: 12px;
  color: var(--primary-dark);
}

/* ============================================================
   Application / Service Cards (Icon-based)
   ============================================================ */
.application-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.application-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.application-card:hover::before {
  transform: scaleX(1);
}

.application-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.application-card .app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(3, 110, 184, 0.08);
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.application-card:hover .app-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.application-card h5 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.application-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

.application-card .btn-learn {
  display: inline-block;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}

.application-card .btn-learn i {
  transition: var(--transition);
  display: inline-block;
}

.application-card .btn-learn:hover i {
  transform: translateX(4px);
}

/* ============================================================
   News Cards
   ============================================================ */
.news-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-color);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.news-card .news-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-card .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.news-card .news-image .news-date {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
}

.news-card .news-body {
  padding: 24px;
}

.news-card .news-body .news-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.news-card .news-body .news-meta i {
  margin-right: 4px;
}

.news-card .news-body .news-category {
  display: inline-block;
  background: rgba(3, 110, 184, 0.08);
  color: var(--primary);
  padding: 2px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.news-card .news-body h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .news-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .news-body .btn-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}

.news-card .news-body .btn-read:hover {
  gap: 12px;
  color: var(--primary-dark);
}

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  max-width: 600px;
}

.cta-section .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  border: 2px solid #fff;
}

.cta-section .btn-cta:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   Contact Page
   ============================================================ */
.contact-info-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
}

.contact-info-card .contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(3, 110, 184, 0.08);
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.contact-info-card h6 {
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Compact horizontal layout for contact info cards */
.contact-info-compact {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-info-compact .contact-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.contact-form-wrapper {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.contact-form-wrapper .form-control {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-form-wrapper .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(3, 110, 184, 0.12);
}

.contact-form-wrapper .form-label {
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.contact-form-wrapper textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.map-placeholder {
  width: 100%;
  height: 350px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.1rem;
  border: 1px solid var(--border-color);
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   Product Detail
   ============================================================ */
.product-detail-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.product-detail-info h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.product-detail-info .badge-category {
  display: inline-block;
  background: rgba(3, 110, 184, 0.08);
  color: var(--primary);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.product-detail-info .description {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
}

/* ============================================================
   News Detail
   ============================================================ */
.article-content {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.article-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.article-content .article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.article-content .article-meta i {
  margin-right: 5px;
}

.article-content .article-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-primary);
}

.article-content .article-body p {
  margin-bottom: 1.2rem;
}

.article-content .article-body img {
  border-radius: var(--radius-sm);
  margin: 20px 0;
  max-width: 100%;
}

/* ============================================================
   Pagination
   ============================================================ */
.pagination-custom {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 50px;
}

.pagination-custom .page-link {
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: var(--transition);
}

.pagination-custom .page-link:hover {
  background: rgba(3, 110, 184, 0.06);
  color: var(--primary);
  border-color: var(--primary);
}

.pagination-custom .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pagination-custom .page-item.disabled .page-link {
  color: var(--text-light);
  pointer-events: none;
}

/* ============================================================
   Category Filter Tabs
   ============================================================ */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-tabs .filter-btn {
  padding: 8px 24px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  background: #fff;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tabs .filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(3, 110, 184, 0.04);
}

.filter-tabs .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--darker);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
}

.footer h5 {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer .footer-logo img {
  height: 45px;
  margin-bottom: 15px;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 10px;
}

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

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer ul li a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer .footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.footer .footer-contact li i {
  color: var(--primary-light);
  margin-top: 4px;
  font-size: 1rem;
  flex-shrink: 0;
}

.footer .footer-contact li a {
  color: rgba(255, 255, 255, 0.7);
}

.footer .footer-contact li a:hover {
  color: #fff;
}

.footer .footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer .footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer .footer-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  margin-top: 50px;
  text-align: center;
  font-size: 0.85rem;
}

.footer .footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   Mobile Responsive Styles
   ============================================================ */

/* Hamburger Menu Button */
.navbar-toggler {
  border: none;
  padding: 8px;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler .hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* Mobile nav */
@media (max-width: 1199.98px) {
  .header_top {
    padding: 8px 0;
  }
  .header_top .contact-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
  }
  .header_top .contact-info span:nth-child(2),
  .header_top .contact-info span:nth-child(3) {
    display: none;
  }
  .header_top .contact-info span:nth-child(1) {
    font-size: 0.75rem;
    margin-right: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
  }
  .header_top .contact-info span:nth-child(1) i {
    margin-right: 3px;
    font-size: 0.8rem;
  }

/* Mobile floating contact button */
@media (max-width: 767.98px) {
  .header_top .contact-info span {
    display: none;
  }
  .header_top .social-icons {
    text-align: right;
    margin-top: 0;
  }
  .header_top .social-icons a {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    margin-left: 4px;
  }
  .header_top .social-icons a svg {
    width: 13px;
    height: 13px;
  }

  /* Floating contact button - right side, centered vertically */
  .mobile-contact-float {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    background: var(--primary, #036eb8);
    border-radius: 8px 0 0 8px;
    padding: 8px 6px;
    gap: 10px;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.2);
    transition: width 0.3s;
  }
  .mobile-contact-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s;
  }
  .mobile-contact-float a:hover,
  .mobile-contact-float a:active {
    background: rgba(255,255,255,0.3);
  }
  .mobile-contact-float .contact-label {
    display: none;
    position: absolute;
    right: 44px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
  }
  .mobile-contact-float a:hover .contact-label,
  .mobile-contact-float a:active .contact-label {
    display: block;
  }
}

@media (min-width: 768px) {
  .mobile-contact-float {
    display: none !important;
  }
}

/* ============================================================
   Hero Wave - hide on mobile
   ============================================================ */
@media (max-width: 767.98px) {
  .hero-wave {
    display: none !important;
  }
}

  .navbar {
    padding: 10px 0;
  }

  .navbar-brand img {
    height: 38px;
  }

  .navbar .nav-link {
    padding: 12px 16px !important;
    border-bottom: 1px solid var(--border-color);
  }

  .navbar .nav-link::after {
    display: none;
  }

  .navbar .dropdown-menu {
    box-shadow: none;
    border: none;
    padding-left: 20px;
    animation: none;
  }

  .lang-switcher {
    margin-left: 0;
    border-left: none;
    padding-left: 0;
    padding: 15px 16px;
    flex-wrap: wrap;
    gap: 4px;
  }

  .btn-quote {
    margin: 10px 16px 15px;
    width: calc(100% - 32px);
    text-align: center;
    justify-content: center;
  }

  .search-toggle {
    display: none;
  }

  .hero-section {
    height: 60vh;
    min-height: 400px;
  }

  .hero-section .hero-content h1 {
    font-size: 2rem;
  }

  .hero-section .hero-content p {
    font-size: 1rem;
  }

  .hero-section .hero-content .btn-hero {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .page-banner {
    padding: 70px 0 50px;
  }

  .page-banner h1 {
    font-size: 1.8rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }

  .about-section .about-image {
    margin-bottom: 30px;
  }

  .about-section .about-image .experience-badge {
    right: 10px;
    bottom: -15px;
    padding: 15px 20px;
  }

  .about-section .about-image .experience-badge .number {
    font-size: 1.8rem;
  }

  .about-section .about-features {
    grid-template-columns: 1fr;
  }

  .stats-section .stat-item .stat-number {
    font-size: 2rem;
  }

  .product-card .card-image {
    height: 180px;
  }

  .contact-form-wrapper {
    padding: 25px;
  }

  .article-content {
    padding: 25px;
  }

  .article-content h1 {
    font-size: 1.5rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .footer {
    padding: 50px 0 0;
  }

  .footer h5 {
    margin-top: 20px;
  }
}

@media (max-width: 767.98px) {
  .header_top .contact-info span {
    display: block;
    margin-bottom: 3px;
  }

  .hero-section {
    height: 50vh;
    min-height: 350px;
  }

  .hero-section .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-section .hero-content .hero-subtitle {
    font-size: 0.75rem;
    padding: 5px 14px;
  }

  .page-banner h1 {
    font-size: 1.5rem;
  }

  .section-title h2,
  .section-header-center h2 {
    font-size: 1.4rem;
  }

  .stats-section .stat-item {
    padding: 15px 10px;
  }

  .stats-section .stat-item .stat-number {
    font-size: 1.6rem;
  }

  .product-card .card-image {
    height: 160px;
  }

  .application-card {
    padding: 30px 20px;
  }

  .contact-info-card {
    padding: 14px 16px;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    height: 45vh;
    min-height: 300px;
  }

  .hero-section .hero-content h1 {
    font-size: 1.4rem;
  }

  .hero-section .hero-content .btn-hero {
    padding: 10px 20px;
    font-size: 0.85rem;
    margin-bottom: 5px;
  }

  .filter-tabs .filter-btn {
    padding: 6px 16px;
    font-size: 0.85rem;
  }
}

/* ============================================================
   Animations - Fade In on Scroll
   ============================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger animation delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ============================================================
   Utility Classes
   ============================================================ */
.text-primary-custom {
  color: var(--primary);
}

.bg-primary-custom {
  background: var(--primary);
}

.btn-outline-primary-custom {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary-custom:hover {
  background: var(--primary);
  color: #fff;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: none;
  box-shadow: var(--shadow-md);
}

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

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Pre-loader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   Bootstrap Overrides
   ============================================================ */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* ============================================================
   About Page - Values Section
   ============================================================ */
.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(3, 110, 184, 0.08);
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.value-card:hover .value-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

/* ============================================================
   News list horizontal card
   ============================================================ */
.news-card-horizontal {
  flex-direction: row;
}

.news-card-horizontal .news-image {
  width: 280px;
  min-height: 200px;
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .news-card-horizontal {
    flex-direction: column;
  }
  .news-card-horizontal .news-image {
    width: 100%;
  }
}

/* ============================================================
   HERO SHOWCASE
   ============================================================ */
.hero-showcase {
    position: relative;
    z-index: 5;
    max-width: 720px;
    margin-left: auto;
}
.showcase-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 64px rgba(0,0,0,0.45);
    background: transparent;
}
.showcase-img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    display: block;
}
.hero-showcase .carousel-control-prev,
.hero-showcase .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
}
.hero-showcase:hover .carousel-control-prev,
.hero-showcase:hover .carousel-control-next {
    opacity: 1;
}
.hero-showcase .carousel-control-prev { left: 8px; }
.hero-showcase .carousel-control-next { right: 8px; }
.showcase-indicators {
    position: absolute;
    bottom: -30px;
}
.showcase-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    margin: 0 4px;
}
.showcase-indicators button.active {
    background: #fff;
}

@media (max-width: 991.98px) {
    .hero-showcase {
        display: none;
    }
}

/* ============================================================
   MAP STYLES
   ============================================================ */
.map-container {
    position: relative;
    width: 100%;
}
.map-container .leaflet-container {
    border-radius: 12px;
    z-index: 1;
}
.map-container .leaflet-popup-content-wrapper {
    border-radius: 8px;
    padding: 2px;
}
.map-container .leaflet-popup-content {
    font-size: 14px;
    line-height: 1.5;
}
