/*
Theme Name: HITC Corporate Theme
Description: A professional corporate theme for HITC with dynamic menus and multilingual support
Version: 1.0
Author: HITC Development Team
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  .contact-item-telephone {
    display: flex;
  }
  body {
    font-family: "Arial", sans-serif;
    line-height: 1.6;
    color: #333;
  }
  
  * {
    outline: 0;
    font-family: "Montserrat", sans-serif;
  }
  
  body {
    background-color: #fafafa;
  }

  
  .row {
    display: flex;
  }
  .row-gird {
    display: grid;
  }
  
  .fake-language-switcher {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }
  
  .fake-language-switcher.active .lang-dropdown {
    display: block;
  }
  
  .selected-lang:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border-color: rgba(204, 204, 204, 0.8);
  }
  
  .selected-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 10px;
    transition: all 0.3s ease;
    flex-direction: row-reverse;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0rem;
    padding: 0 10px;
  }
  
  .selected-lang img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    min-width: 100%;
    overflow: hidden;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 1rem; /* 16px */
    line-height: 1.5; /* 150% of 1rem = 24px */
    letter-spacing: 0rem;
  }
  
  .lang-dropdown li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: #1a1a1a;
    text-decoration: none;
    transition: background 0.3s;
  }
  
  .lang-dropdown li a img {
    width: 16px;
    height: 16px;
    border-radius: 50%;
  }
  
  .lang-dropdown li a:hover {
    background-color: #2a2a2a;
    color: white;
  }
.alt-language-switcher {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.alt-language-switcher.active .alt-lang-dropdown {
  display: block;
}

.alt-selected-lang:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border-color: rgba(204, 204, 204, 0.8);
}

.alt-selected-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  border: 1px solid white;
  border-radius: 10px;
  transition: all 0.3s ease;
  flex-direction: row-reverse;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0rem;
  padding: 0 10px;
}

.alt-selected-lang img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}
.alt-language-switcher{
  display: none;
}
.alt-lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  min-width: 100%;
  overflow: hidden;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0rem;
}

.alt-lang-dropdown li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #1a1a1a;
  text-decoration: none;
  transition: background 0.3s;
}

.alt-lang-dropdown li a img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.alt-lang-dropdown li a:hover {
  background-color: #2a2a2a;
  color: white;
}

/* ==========================================================================
   STICKY HEADER STYLES - Enhanced Integration
   ========================================================================== */
  
  /* Mini Bar Styles - Enhanced for Sticky */
  .mini-bar {
    background: #001d67;
    color: white;
    padding: 8px 0;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 99999 !important;
  }
  
  .mini-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
  }
  
  .mini-bar-left {
    display: flex;
    gap: 35px;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0;
  }
  
  .menu-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-direction: row-reverse;
    border: 1px solid;
    padding: 0 10px;
    border-radius: 10px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: center;
  }
  
  .mini-bar-left a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
  }
  
  .mini-bar-left a:hover {
    opacity: 0.8;
  }
  
  .language-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
  }
  
  .language-switcher a {
    color: white;
    text-decoration: none;
    padding: 2px 8px;
    border-radius: 3px;
    transition: background 0.3s;
  }
  
  .language-switcher a.active,
  .language-switcher a:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  /* Main Header Styles - Enhanced for Sticky */
  .main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 9999 !important;
  }
  
  .main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 8px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
  }
  
  .main-header.sticky .logo img,
  .main-header.sticky .custom-logo {
    height: 45px !important;
    transition: height 0.3s ease;
  }
  
  .main-header.sticky .mini-bar {
    display: none;
  }

.fa-solid.fa-bars{
  font-size: 20px;
}
  
  .main-header.sticky .header-container {
    max-width: calc(100% - 100px);
  }
  
  /* Logo Styles - Enhanced */
  .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  
  .logo a {
    display: block;
    line-height: 0;
  }
  
  .logo img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: height 0.3s ease;
  }
  
  .custom-logo-link {
    display: block;
    line-height: 0;
  }
  
  .custom-logo {
    height: 60px !important;
    width: 150px !important;
    max-width: 200px;
    object-fit: contain;
    transition: height 0.3s ease;
  }
  
  /* Header Spacer */
  .header-spacer {
    height: 0;
    transition: height 0.3s ease;
  }
  
  .header-spacer.active {
    height: 80px; /* Adjust based on your header height */
  }
  
  /* Sticky Header Animation */
  @keyframes slideDown {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* Navigation Styles - Enhanced */
  .main-navigation {
    position: relative;
    flex-grow: 1;
    display: flex;
    justify-content: center;
  }
  
  .main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    position: relative;
  }
  
  .main-navigation li {
    position: relative;
  }
  
  .main-navigation a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    padding: 10px 0;
    display: block;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0rem;
    text-align: center;
    position: relative;
  }
  
  .main-navigation a:hover,
  .nav-item.menu-active .nav-link {
    color: #1e3a8a;
  }
  
  .main-navigation > ul > li > a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e3a8a;
    transition: width 0.3s ease;
  }
  
  .main-navigation > ul > li > a:hover::after {
    width: 100%;
  }
  
  /* Menu Toggle (Mobile) - Enhanced */
  .menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
    transition: all 0.3s ease;
  }
  
  .menu-toggle:hover {
    color: #1e3a8a;
  }
  
  /* Search Form Styles - Enhanced */
  .search-form {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 20px;
  }
  
  .search-form input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    width: 250px;
    outline: none;
    transition: all 0.3s ease;
  }
  
  .search-form input:focus {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.25);
  }
  
  .search-form button {
    background: #1e3a8a;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 25px;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .search-form button:hover {
    background: #1e40af;
    transform: translateY(-1px);
  }
.header-container {
  max-width: calc(100% - 200px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}
  
  /* Mobile Responsive - Enhanced */
  @media (max-width: 768px) {
    .mini-bar {
      display: none;
    }
    .alt-language-switcher{
      display: block !important;
      border: 1px solid #757575;
      border-radius: 10px;
      color: #757575 !important;
    }
    .header-container{
      max-width: 100% !important;
      display: flex;
      flex-direction: row-reverse;
      justify-content: space-between;
      align-items: center;
      padding: 0px 10px;
    }
    .main-header.sticky .header-container {
      max-width: calc(100% - 30px) !important;
    }
  .menu-row{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }

    .menu-toggle {
      display: block;
    }
  
    .main-navigation {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(10px);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      transform: translateY(-10px);
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      border-radius: 0 0 12px 12px;
    }
  
    .main-navigation.active {
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
    }
  
    .main-navigation ul {
      flex-direction: column;
      gap: 0;
      padding: 20px;
    }
  
    .main-navigation li {
      border-bottom: 1px solid #eee;
    }
  
    .main-navigation li:last-child {
      border-bottom: none;
    }
  
    .main-navigation a {
      display: block;
      padding: 15px 0;
      color: #FFFFFF !important;
      font-family: 'Inter', sans-serif !important;
      font-weight: 700 !important;
      font-style: normal !important;       /* 'Bold' không hợp lệ ở đây, đã được thể hiện qua font-weight */
      font-size: 1rem !important;          /* 16px = 1rem */
      line-height: 1.5 !important;         /* 150% */
      letter-spacing: 0 !important;
      border: none !important;

    }
    .certifications-grid.mini{
      padding: 20px !important;
      display: grid !important;
      grid-template-columns: repeat(4,1fr) !important;
    }
    .certification-item.mini img{
      width: 60px !important;
      height: 60px !important;
      object-fit: contain !important;
      max-height: 60px !important;
    }
  
    .search-form {
      margin-left: 0;
      margin-right: 15px;
    }
  
    .search-form input {
      width: 150px;
    }
  
    .header-spacer.active {
      height: 70px;
    }
  
    .logo img {
      height: 40px;
    }
  
    .custom-logo {
      height: 45px !important;
      width: auto !important;
    }
  
    .main-header.sticky .logo img,
    .main-header.sticky .custom-logo {
      height: 35px !important;
    }
  }
  
  @media (max-width: 480px) {
    .search-form input {
      width: 120px;
      font-size: 14px;
    }
  
    .search-form button {
      padding: 6px 12px;
      font-size: 14px;
    }
  }
  
  /* Mega Menu Adjustments for Sticky Header */
  .main-header.sticky .mega-menu-dropdown {
    top: 100%;
    margin-top: 0;
  }
  
  .main-header.sticky .has-mega-menu .mega-menu-dropdown {
    margin-top: 5px;
  }
  
  /* Smooth scroll offset for sticky header */
  html {
    scroll-padding-top: 80px;
  }
  
  .main-header.sticky ~ * {
    scroll-padding-top: 80px;
  }
  
  /* Admin Menu Image Styles - Enhanced */
  .menu-image-container {
    margin-top: 10px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f9f9f9;
  }
  
  .menu-image-preview {
    margin-bottom: 15px;
    padding: 20px;
    border: 2px dashed #ccc;
    border-radius: 6px;
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: all 0.3s ease;
  }
  
  .menu-image-preview:hover {
    border-color: #0073aa;
    background: #f0f8ff;
  }
  
  .menu-image-preview img {
    max-width: 150px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .menu-image-preview .no-image {
    color: #666;
    font-style: italic;
    font-size: 14px;
  }
  
  .menu-image-upload {
    background: #0073aa !important;
    border-color: #0073aa !important;
    color: white !important;
    margin-right: 10px;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .menu-image-upload:hover {
    background: #005a87 !important;
    border-color: #005a87 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .menu-image-remove {
    background: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white !important;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .menu-image-remove:hover {
    background: #c82333 !important;
    border-color: #bd2130 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* Admin page specific styles */
  .nav-menus-php .menu-image-container {
    max-width: 100%;
  }
  
  .nav-menus-php .field-mega-menu-image {
    width: 100%;
  }
  
  .nav-menus-php .menu-image-preview {
    min-height: 80px;
  }
  
  /* Responsive admin styles */
  @media (max-width: 768px) {
    .menu-image-container {
      padding: 10px;
    }
  
    .menu-image-preview {
      min-height: 80px;
      padding: 15px;
    }
  
    .menu-image-upload,
    .menu-image-remove {
      display: block;
      width: 100%;
      margin: 5px 0;
    }
  }
  
  /* Enhanced Mega Menu Styles - Updated for Sticky Header */
  .main-header {
    position: relative;
    z-index: 1000;
  }
  
  /* Enhanced Mega Menu Popup Styles */
  .mega-menu-popup {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 999;
    max-height: 500px;
    overflow: hidden;
  }
  
  .mega-menu-popup.active {
    position: absolute;
    z-index: 9999;
    opacity: 1;
    top: 40px !important;
    visibility: visible;
    transform: translateY(200px);
    width: 80%;
    margin: auto;
    padding: 20px;
    border-radius: 15px;
  }
  
  .mega-menu-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
    min-height: 400px;
  }
  
  .mega-menu-column {
    position: relative;
  }
  
  /* Column 1 - Level 1 Menu */
  .column-1 {
    border-right: 1px solid #e5e7eb;
    padding-right: 30px;
  }
  
  .level-1-menu {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .level-1-item {
    margin-bottom: 15px;
  }
  
  .level-1-link {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
  }
  
  .level-1-link:hover,
  .level-1-item.active .level-1-link {
    background: #f3f4f6;
    color: #1e3a8a;
    transform: translateX(5px);
  }
  
  /* Column 2 - Level 2 Menu */
  .column-2 {
    border-right: 1px solid #e5e7eb;
    padding-right: 30px;
  }
  
  .level-2-menu {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .level-2-item {
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
  }
  
  .level-2-item:hover,
  .level-2-item.active {
    background: #f8fafc;
    transform: translateX(5px);
  }
  
  .level-2-title {
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 5px;
    font-size: 14px;
  }
  
  .level-2-description {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
  }
  
  /* Column 3 - Details */
  .menu-item-details {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    text-align: center;
  }
  
  .menu-item-details.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  .details-image {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
  }
  
  .details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .details-content h3 {
    color: #1e3a8a;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
  }
  
  .details-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  .details-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1e3a8a;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .details-link:hover {
    background: #1e40af;
    transform: translateY(-2px);
    color: white;
  }
  
  /* Enhanced Navigation Styles */
  .nav-item.has-mega-menu .nav-link:hover,
  .nav-item.menu-active .nav-link {
    color: #1e3a8a;
  }
  
  .nav-item.menu-active .nav-link {
    font-weight: 600;
  }
  
  /* Loading states */
  .loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #666;
  }
  
  .loading::after {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #1e3a8a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  /* Enhanced Mega Menu Responsive Design */
  @media (max-width: 1024px) {
    .mega-menu-content {
      grid-template-columns: 1fr 1fr;
      gap: 30px;
    }
  
    .column-3 {
      display: none;
    }
  }
  
  @media (max-width: 768px) {
    .mega-menu-popup {
      position: static;
      opacity: 1;
      visibility: visible;
      transform: none;
      box-shadow: none;
      max-height: none;
    }
  
    .mega-menu-content {
      grid-template-columns: 1fr;
      gap: 20px;
      padding: 20px 0;
    }
  
    .column-1,
    .column-2 {
      border-right: none;
      padding-right: 0;
    }
  }
  
  /* Accessibility */
  @media (prefers-reduced-motion: reduce) {
    .mega-menu-popup,
    .level-1-link,
    .level-2-item,
    .menu-item-details,
    .main-header,
    .header-spacer {
      transition: none;
      animation: none;
    }
  }
  
  /* Focus styles for accessibility */
  .level-1-link:focus,
  .level-2-item:focus,
  .details-link:focus {
    outline: 2px solid #1e3a8a;
    outline-offset: 2px;
  }
  
  /* Enhanced Mega Menu Dropdown */
  .has-mega-menu .mega-menu-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    max-width: 90vw;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    border-top: 3px solid #ff6b35;
    margin-top: 15px;
  }
  
  .has-mega-menu:hover .mega-menu-dropdown,
  .has-mega-menu.mega-menu-active .mega-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  
  .mega-menu-content {
    display: grid;
    grid-template-columns: 250px 300px 1fr;
    min-height: 400px;
    max-height: 500px;
    gap: 0; /* Remove any gaps that might cause layout issues */
  }
  
  .mega-menu-left {
    background: #f8f9fa;
    border-radius: 12px 0 0 12px;
    padding: 20px 0;
    border-right: 1px solid #e9ecef;
    display: flex;
    flex-direction: column; /* Ensure the container is also vertical */
  }
  
  .mega-menu-middle {
    padding: 20px;
    border-right: 1px solid #e9ecef;
    background: white;
    overflow-y: auto;
    display: none;
    position: absolute;
    transform: translateX(100%);
  }
  
  .mega-menu-right {
    padding: 20px;
    background: white;
    border-radius: 0 12px 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Menu Categories (Level 1) */
  .mega-menu-categories {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column; /* Ensure vertical layout */
  }
  
  .mega-menu-categories > li {
    margin: 0;
    position: relative;
    width: 100%; /* Full width for each item */
  }
  
  .mega-menu-categories > li > a {
    display: block;
    padding: 12px 20px;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    width: 100%; /* Ensure full width */
    box-sizing: border-box;
  }
  
  .mega-menu-categories > li:hover > a,
  .mega-menu-categories > li.active > a {
    background: white;
    color: #ff6b35;
    border-left-color: #ff6b35;
    font-weight: 600;
  }
  
  .mega-menu-categories > li:hover ~ .mega-menu-middle,
  .mega-menu-categories > li.active ~ .mega-menu-middle {
    display: block;
  }

/* Sub Menu (Level 2) */
.mega-menu-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu-submenu li {
    margin: 0;
    border-bottom: 1px solid #f1f3f4;
}

.mega-menu-submenu li:last-child {
    border-bottom: none;
}

.mega-menu-submenu li a {
    display: block;
    padding: 12px 15px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 2px 0;
}

.mega-menu-submenu li:hover a,
.mega-menu-submenu li.active a {
    background: #ff6b35;
    color: white;
    transform: translateX(5px);
}

/* Menu Details (Level 3) */
.mega-menu-details {
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-detail-placeholder {
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

.menu-detail-content {
    display: none;
    width: 100%;
    text-align: center;
}

.menu-detail-content.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.menu-detail-image-wrapper {
    margin-bottom: 20px;
}

.menu-detail-image {
    width: 100%;
    max-width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.menu-detail-title {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 12px;
    line-height: 1.3;
}

.menu-detail-description {
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 14px;
}

.menu-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ff6b35;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.menu-detail-link:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.no-submenu {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 40px 20px;
    margin: 0;
}

/* Improved hover behavior for mega menu */
.mega-menu-dropdown:hover,
.mega-menu-categories > li:hover,
.mega-menu-middle:hover,
.mega-menu-right:hover {
    /* Keep dropdown visible when hovering over any part */
}

.mega-menu-categories > li:hover .mega-menu-middle {
    display: block;
}

/* Show middle column when hovering over level 1 items */
.mega-menu-categories > li:hover + .mega-menu-middle,
.mega-menu-categories > li.active + .mega-menu-middle {
    display: block;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .has-mega-menu .mega-menu-dropdown {
        width: 900px;
    }

    .mega-menu-content {
        grid-template-columns: 220px 280px 1fr;
    }
}

@media (max-width: 1024px) {
    .has-mega-menu .mega-menu-dropdown {
        width: 800px;
    }

    .mega-menu-content {
        grid-template-columns: 200px 250px 1fr;
    }
}

@media (max-width: 768px) {
    .has-mega-menu .mega-menu-dropdown {
        position: static;
        width: 100%;
        max-width: none;
        transform: none;
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
        border-top: none;
        border-top: 1px solid #e9ecef;
    }

    .mega-menu-content {
        grid-template-columns: 1fr;
        min-height: auto;
        max-height: none;
    }

    .mega-menu-left,
    .mega-menu-middle,
    .mega-menu-right {
        border-radius: 0;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        display: block;
    }

    .mega-menu-right {
        display: none;
    }
}

/* Hover Effects for Sub-menus */
.mega-menu-content > ul > li {
    position: relative;
}

.mega-menu-content > ul > li:hover .sub-menu {
    display: block;
}

/* Animation for mega menu items */
.mega-menu-dropdown .mega-menu-content > * {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.4s ease forwards;
}

.mega-menu-dropdown .mega-menu-content > *:nth-child(1) {
    animation-delay: 0.1s;
}

.mega-menu-dropdown .mega-menu-content > *:nth-child(2) {
    animation-delay: 0.2s;
}

.mega-menu-dropdown .mega-menu-content > *:nth-child(3) {
    animation-delay: 0.3s;
}

/* Admin Menu Image Styles */
.menu-image-container {
    margin-top: 10px;
}

.menu-image-preview {
    margin-bottom: 10px;
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 4px;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-image-preview img {
    max-width: 150px;
    height: auto;
    border-radius: 4px;
}

.menu-image-upload,
.menu-image-remove {
    margin-right: 10px;
}

.menu-image-remove {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

.menu-image-remove:hover {
    background: #c82333;
    border-color: #bd2130;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .has-mega-menu .mega-menu-dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .has-mega-menu:hover .mega-menu-dropdown,
    .has-mega-menu.active .mega-menu-dropdown {
        display: block;
    }

    .mega-menu-content {
        flex-direction: column;
        min-height: auto;
        padding: 20px;
    }

    .mega-menu-left,
    .mega-menu-middle,
    .mega-menu-right {
        flex: none;
        border: none;
        padding: 15px 0;
    }

    .mega-menu-right {
        display: none;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
  .mobile-submenu-toggle .menu-icon {
    transition: opacity 0.3s ease;
    font-size: 20px !important;
    color: #757575;  }

  .mobile-submenu-toggle[aria-expanded="false"] .menu-icon-plus {
    display: inline-block;
  }

  .mobile-submenu-toggle[aria-expanded="false"] .menu-icon-minus {
    display: none;
  }

  .mobile-submenu-toggle[aria-expanded="true"] .menu-icon-plus {
    display: none;
  }

  .mobile-submenu-toggle[aria-expanded="true"] .menu-icon-minus {
    display: inline-block;
  }
    .main-navigation {
        display: none;
    }

    .main-navigation.active {
        display: block;
    }
}

.search-form {
    display: flex;
    align-items: center;
}

.search-form input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    width: 250px;
    outline: none;
}

.search-form button {
    background: #1e3a8a;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 25px;
    margin-left: 10px;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: #f8fafc;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: #1e3a8a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

/* Products Section */
.products-section {
    padding: 80px 0;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1e3a8a;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.products-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-button {
    padding: 12px 25px;
    border: 1px solid #1e3a8a;
    background: white;
    color: #1e3a8a;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;         /* 16px */
    line-height: 1.5;        /* 150% of 1rem = 24px */
    letter-spacing: 0;       /* 0% */
    text-align: center;

}

.tab-button.active{
    background-color: var(--tab-inactive-bg);    color: white;
    border:none !important;

}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Image Slider */
.image-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin: 0;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.slide-banner {
    min-width: 100%;
    height: fit-content;
}

.slide-banner img {
    width: 100%;
    height: 100%;
  object-fit: cover;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.nav-dot.active {
    background: white;
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
    background: #f8fafc;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-logo {
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo img {
    max-height: 60px;
    max-width: 120px;
}

/* Stats Section */
.stats-section {
    padding: 0;
    background: #F2F2F2;
    margin: 0;
}

.stats-container {
    max-width: 90%;
    margin: 0 auto;
    transform: translateY(-40px);
}

.stats-grid {
  margin-top: -50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.stat-item {
    display: flex;
    align-items: center;
    padding: 30px 25px;
    transition: all 0.3s ease;
    position: relative;
}

.spe-item {
    border-right: 2px solid #e5e7eb;
    width: 2px;
    height: 100%;
    margin-left: 5px;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Stats Image Styles */
.stat-image {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-image {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.2);
}

.stat-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0.8);
}

.stat-item:hover .stat-image img {
    filter: brightness(1);
    transform: scale(1.1);
}

/* Alternative circular image style */
.stat-image.circular {
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 12px;
}

.stat-image.circular img {
    filter: brightness(0) invert(1);
}

.stat-item:hover .stat-image.circular img {
    filter: brightness(0) invert(1);
    transform: scale(1.1);
}

.stat-content {
    text-align: left;
    flex: 1;
    min-width: 0;
}

.stat-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.stat-description {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design for Stats */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2n) {
        border-right: none;
    }

    .stat-item:nth-child(-n + 2) {
        border-bottom: 1px solid #e5e7eb;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding: 25px 20px;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .stat-image {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }

    .stat-title {
        font-size: 16px;
    }

    .stat-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .stats-section {
        padding: 40px 0;
        margin: 20px 0;
    }

    .stats-container {
        padding: 0 15px;
    }

    .stat-item {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }

    .stat-image {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .stat-title {
        font-size: 16px;
    }

    .stat-description {
        font-size: 13px;
    }
}

/* Footer */
.main-footer {
    background: transparent;
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mini-bar .container {
        flex-direction: column;
        gap: 10px;
    }



    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .products-tabs {
        flex-direction: column;
        align-items: center;
    }
}

/* Products Services Section */
.products-services-section {
    background: #F2F2F2;
}

.products-services-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: left;
    margin-bottom: 50px;
}

.section-header .section-title {
    color: black;
    margin-bottom: 15px;
  border:none ;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    line-height: 0.625rem;

}

.section-header .section-title-orange {

    color: #f15b22;

}

.section-header .section-description {
    color: #6D6C7B;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;         /* 16px */
    line-height: 1.5;        /* 150% = 24px */
    letter-spacing: 0rem;    /* 0% = 0 */
    text-align: center;

}

/* Tabs */
.products-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.products-tabs {
    display: flex;
    overflow: hidden;
}

.tab-btn {
    border: 1px solid;
    padding: 15px 30px;
    background: white;
    color: #6D6C7B;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;      /* 18px */
    line-height: 1.5;         /* 150% = 27px */
    letter-spacing: 0rem;     /* 0% = 0 */
    text-align: center;
    border-radius: 5px;
}

.tab-btn i {
    font-size: 14px;
}

.tab-btn:hover {
    color: #1e3a8a;
    background: #f8fafc;
}

.tab-btn.active {
    background: #001D67;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;      /* 18px */
    line-height: 1.5;         /* 150% = 27px */
    letter-spacing: 0rem;     /* 0% = 0 */
    text-align: center;
    border-radius: 5px;

}


/* Content Area */
.products-content-area {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

/* Sidebar */
.products-sidebar {


    padding: 30px 0;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar-menu-list {
    border-left: 2px solid #DDDCDC;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item span {
    display: block;
    padding: 15px 25px;
    color: #666;
    font-size: 15px;
    transition: all 0.3s ease;
}

.menu-item i {
    margin-right: 8px;
    font-size: 14px;
    color: #999;
    transition: color 0.3s ease;
}

.menu-item .category-description {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    font-style: italic;
}

.menu-item:hover span,
.menu-item.active span {
    color: #001D67;

    padding-left: 35px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;         /* 16px */
    line-height: 1.5;        /* 150% = 24px */
    letter-spacing: 0rem;    /* 0% = 0 */

}

.menu-item:hover i,
.menu-item.active i {
    color: #1e3a8a;
}

/* Products Grid */
.products-grid-area {
    min-height: 600px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    max-width: 300px;
    height: 280px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #1e3a8a;
}

.product-card.featured {
    border: 2px solid #1e3a8a;
}

.product-card.featured::before {
    content: "Nổi bật";
    position: absolute;
    top: 15px;
    right: 15px;
    background: #1e3a8a;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 5px;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 20px;
    transition: all 1s ease;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
}

.product-card:hover .product-content {
    background: #001D67;
    position: absolute;
    height: calc(100% - 100px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    color: #191919;
    margin-bottom: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;      /* 18px */
    /* 30% = 5.4px (rất thấp) */
    letter-spacing: 0rem;

}

.product-card:hover .product-title {
    color: white;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;      /* 18px */
    line-height: 1.2;         /* 120% of font-size = 21.6px */
    letter-spacing: 0rem;     /* 0% = 0 */
    text-align: center;

}
.product-btn-content{
    display: flex;
    justify-content: center;
}
.product-excerpt {
    color: #FFFFFF;
    margin-bottom: 5px;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;      /* 12px */
    line-height: 1.5;         /* 150% = 18px */
    letter-spacing: 0rem;     /* 0% = 0 */
    text-align: justify;

}

.product-card:hover .product-excerpt {
    display: -webkit-box;
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.product-button {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    line-height: 1.2;
    letter-spacing: 0rem;
    text-align: center;
    border: 1px solid white;
}

.product-card:hover .product-button {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.product-button:hover {
    color: #0a4b78 !important;
    background: #f8fafc;
    transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-card {
        height: 260px;
    }

    .product-image {
        height: 160px;
    }
}

/* Pagination */
.products-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination-dots {
    display: flex;
    gap: 10px;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot:hover,
.pagination-dot.active {
    background: #1e3a8a;
}

/* No Products Message */
.no-products {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

/* Call to Action */
.products-cta {
    margin-top: 20px;
    background: #001D67;
    padding: 40px;
    text-align: center;
    color: white;
    box-shadow: 0px 4px 4px 0px #00000040;

}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-evenly;


    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.4;
    letter-spacing: 0rem;

}

.cta-button {
    display: inline-block;
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;         /* 16px */
    line-height: 1.2;        /* 120% = 19.2px */
    letter-spacing: 0rem;    /* 0% = 0 */

}

.cta-button:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    color: #1e3a8a;
}

/* Loading States */
.products-grid.loading {
    opacity: 0.6;
    pointer-events: none;
}

.sidebar-menu.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .products-content-area {
        grid-template-columns: 200px 1fr;
        gap: 30px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .products-services-section {
        padding: 60px 0;
    }

    .section-header .section-title {
        font-size: 2rem;
    }

    .products-tabs {
        flex-direction: column;
        width: 100%;
    }

    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .products-content-area {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .products-sidebar {
        order: 2;
        position: static;
    }

    .products-grid-area {
        order: 1;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-cta {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .products-services-container {
        padding: 0 15px;
    }

    .section-header .section-title {
        font-size: 1.8rem;
    }

    .section-header .section-description {
        font-size: 1rem;
    }

    .product-content {
        padding: 20px;
    }

    .menu-item span {
        padding: 12px 20px;
        font-size: 14px;
    }

    .menu-item:hover span,
    .menu-item.active span {
        padding-left: 30px;
    }
}

/* Advanced Slider Styles */
.advanced-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin: 0;
}

.advanced-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.advanced-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease-in-out;
    display: flex;
    align-items: center;
}

.advanced-slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}

/* Left Media Section */
.slide-media {
    position: relative;
}

.youtube-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.youtube-container iframe {
    width: 100%;
    height: 280px;
    border: none;
}

.image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-container img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.advanced-slide.active .image-container img {
    transform: scale(1.02);
}

/* Right Content Section */
.slide-text {
    padding-left: 40px;
}

.slide-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
}

.advanced-slide.active .slide-title {
    opacity: 1;
    transform: translateY(0);
}

.slide-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.5s;
}

.advanced-slide.active .slide-description {
    opacity: 1;
    transform: translateY(0);
}

.slide-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: #1e3a8a;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.7s;
}

.advanced-slide.active .slide-button {
    opacity: 1;
    transform: translateY(0);
}

.slide-button:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #1e3a8a;
}

/* Navigation */
.advanced-slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.nav-arrow {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.nav-dots {
    display: flex;
    gap: 12px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.nav-dot.active {
    background: white;
    transform: scale(1.2);
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .slide-content {
        gap: 40px;
    }

    .slide-text {
        padding-left: 20px;
    }

    .slide-title {
        font-size: 2rem;
    }

    .youtube-container iframe {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .advanced-slider {
        height: 500px;
    }

    .slide-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .slide-text {
        padding-left: 0;
        order: 2;
    }

    .slide-media {
        order: 1;
    }

    .slide-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .slide-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .youtube-container {
        max-width: 100%;
    }

    .youtube-container iframe {
        height: 200px;
    }

    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .advanced-slider-nav {
        bottom: 20px;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .advanced-slider {
        height: 450px;
    }

    .slide-content {
        padding: 0 15px;
        gap: 20px;
    }

    .slide-title {
        font-size: 1.5rem;
    }

    .slide-description {
        font-size: 0.9rem;
    }

    .slide-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .youtube-container iframe {
        height: 180px;
    }
}

/* Loading animation */
.advanced-slide.loading {
    opacity: 0.5;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .advanced-slide,
    .slide-title,
    .slide-description,
    .slide-button,
    .nav-arrow,
    .nav-dot {
        transition: none;
    }
}

/* Focus styles for accessibility */
.nav-arrow:focus,
.nav-dot:focus,
.slide-button:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin: 0;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left Media Section */
.hero-slide-media {
    position: relative;
}

.hero-youtube-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    overflow: hidden;
}

.hero-youtube-container iframe {
    border-radius: 10px;
    width: 100%;
    height: 280px;
    border: none;
}

.hero-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-image-container img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-slide.active .hero-image-container img {
    transform: scale(1.02);
}

/* Right Content Section */
.hero-slide-text {
    padding-left: 40px;
}

.hero-slide-title {

    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.875rem;     /* 30px */
    line-height: 1.2;         /* 120% = 36px */
    letter-spacing: 0rem;     /* 0% = 0 */

}

.hero-slide.active .hero-slide-title {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide-description {

    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.5s;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;         /* 16px */
    line-height: 1.2;        /* 120% of 16px = 19.2px */
    letter-spacing: 0rem;    /* 0% = 0 */

}

.hero-slide.active .hero-slide-description {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: #1e3a8a;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.7s;
}

.hero-slide.active .hero-slide-button {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide-button:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #1e3a8a;
}

/* Navigation */
.hero-slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.hero-nav-arrow {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.hero-nav-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.hero-nav-dots {
    display: flex;
    gap: 12px;
}

.hero-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.hero-nav-dot.active {
    background: white;
    transform: scale(1.2);
}

.hero-nav-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Responsive Design for Hero Slider */
@media (max-width: 1024px) {
    .hero-slide-content {
        gap: 40px;
    }

    .hero-slide-text {
        padding-left: 20px;
    }

    .hero-slide-title {
        font-size: 2rem;
    }

    .hero-youtube-container iframe {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
    }

    .hero-slide-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-slide-text {
        padding-left: 0;
        order: 2;
    }

    .hero-slide-media {
        order: 1;
    }

    .hero-slide-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero-slide-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-youtube-container {
        max-width: 100%;
    }

    .hero-youtube-container iframe {
        height: 200px;
    }

    .hero-nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .hero-slider-nav {
        bottom: 20px;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 450px;
    }

    .hero-slide-content {
        padding: 0 15px;
        gap: 20px;
    }

    .hero-slide-title {
        font-size: 1.5rem;
    }

    .hero-slide-description {
        font-size: 0.9rem;
    }

    .hero-slide-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .hero-youtube-container iframe {
        height: 180px;
    }
}

/* Loading animation for Hero Slider */
.hero-slide.loading {
    opacity: 0.5;
}

/* Accessibility for Hero Slider */
@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slide-title,
    .hero-slide-description,
    .hero-slide-button,
    .hero-nav-arrow,
    .hero-nav-dot {
        transition: none;
    }
}

/* Focus styles for accessibility */
.hero-nav-arrow:focus,
.hero-nav-dot:focus,
.hero-slide-button:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Partners Slider Styles */
.partners-slider-section {
    padding: 80px 0;
    background: white;
    overflow: hidden;
}

.partners-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.partners-header {
    text-align: center;
    margin-bottom: 60px;
}

.partners-title {


    margin-bottom: 20px;
    color: #6d6c7b;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.875rem;     /* 30px */
    line-height: 1.2;         /* 120% = 36px */
    letter-spacing: 0rem;     /* 0% = 0 */
    text-align: center;

}

.partners-title .highlight {
    color: #ff6b35;
}

.partners-description {
    color: #6D6C7B;

    max-width: 800px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1rem;         /* 16px */
    line-height: 1.2;        /* 120% = 19.2px */
    letter-spacing: 0rem;    /* 0% = 0 */
    text-align: center;

}

/* Slider Wrapper */
.partners-slider-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.partners-slides-container {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.partners-slide {
    min-width: 100%;
    flex-shrink: 0;
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
    align-items: center;
    justify-items: center;
}

/* Partner Item */
.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-height: 100px;
    width: 100%;
    max-width: 200px;
}

.partner-item:hover {
    transform: translateY(-5px);
}

.partner-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.partner-logo {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.partner-placeholder {
    color: #999;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

/* Navigation */
.partners-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.partners-nav-arrow {
    background: white;
    border: 2px solid #e5e7eb;
    color: #666;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.partners-nav-arrow:hover {
    background: #ff6b35;
    border-color: #ff6b35;
    color: white;
    transform: scale(1.1);
}

.partners-nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.partners-nav-dots {
    display: flex;
    gap: 12px;
}

.partners-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.partners-nav-dot:hover,
.partners-nav-dot.active {
    background: #ff6b35;
    transform: scale(1.2);
}

/* No Partners Message */
.no-partners {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 20px;
    }
}

@media (max-width: 768px) {
    .partners-slider-section {
        padding: 60px 0;
    }

    .partners-title {
        font-size: 2rem;
    }

    .partners-description {
        font-size: 1rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 15px;
    }

    .partner-item {
        padding: 15px;
        min-height: 80px;
    }

    .partner-logo {
        max-height: 50px;
    }

    .partners-nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .partners-navigation {
        gap: 15px;
        margin-top: 30px;
    }

}

@media (max-width: 480px) {
    .partners-slider-container {
        padding: 0 15px;
    }

    .partners-title {
        font-size: 1.8rem;
    }

    .partners-description {
        font-size: 0.9rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 10px;
    }

    .partner-item {
        padding: 10px;
        min-height: 70px;
    }

    .partner-logo {
        max-height: 40px;
    }
}

/* Animation for partner items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.partners-slide.active .partner-item {
    animation: fadeInUp 0.6s ease forwards;
}

.partners-slide.active .partner-item:nth-child(1) {
    animation-delay: 0.1s;
}

.partners-slide.active .partner-item:nth-child(2) {
    animation-delay: 0.2s;
}

.partners-slide.active .partner-item:nth-child(3) {
    animation-delay: 0.3s;
}

.partners-slide.active .partner-item:nth-child(4) {
    animation-delay: 0.4s;
}

.partners-slide.active .partner-item:nth-child(5) {
    animation-delay: 0.5s;
}

.partners-slide.active .partner-item:nth-child(6) {
    animation-delay: 0.6s;
}

.partners-slide.active .partner-item:nth-child(7) {
    animation-delay: 0.7s;
}

.partners-slide.active .partner-item:nth-child(8) {
    animation-delay: 0.8s;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .partners-slides-container,
    .partner-item,
    .partners-nav-arrow,
    .partners-nav-dot {
        transition: none;
    }

    .partners-slide.active .partner-item {
        animation: none;
    }
}

/* Focus styles for accessibility */
.partners-nav-arrow:focus,
.partners-nav-dot:focus,
.partner-item a:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

/* Ecosystem Slider Styles */
.ecosystem-slider-section {
    background: white;
    overflow: hidden;
}

.ecosystem-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 0px;
}

/* Header */
.ecosystem-header {
    text-align: center;
    margin-bottom: 60px;
}

.ecosystem-title {

    margin-bottom: 20px;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.875rem;     /* 30px */
    line-height: 1.2;         /* 120% = 36px */
    letter-spacing: 0rem;     /* 0% = 0 */
    text-align: center;

}

.ecosystem-title .highlight {
    color: #ff6b35;
}

/* Slider Wrapper */
.ecosystem-slider-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.ecosystem-slides-container {
    position: relative;
    width: 100%;
}

.ecosystem-slide {
    display: none;
    width: 100%;
}

.ecosystem-slide.active {
    display: block;
}

/* Cards Grid */
.ecosystem-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    gap: 1px;
}
.ecosystem-card:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%; /* Độ cao đường kẻ */
    width: 1px;
    background-color: #ccc;
}

/* Ecosystem Card */
.ecosystem-card {
    background: white;
    padding: 30px 25px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 350px;
}



/* Company Logo */
.company-logo {
    text-align: center;
    margin-bottom: 20px;
}

.company-logo img {
    max-width: 200px;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo-placeholder {
    width: 60px;
    height: 60px;
    background: var(--company-color, #ff6b35);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

/* Company Title */
.company-title {

    margin-bottom: 8px;

    color: var(--company-color, #ff6b35);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;         /* 16px */
    line-height: 1.2;        /* 120% = 19.2px */
    letter-spacing: 0rem;    /* 0% = 0 */
    text-align: justify;

}

.company-title a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.company-title a:hover {
    opacity: 0.8;
}

/* Company Website */
.company-website {
    text-align: left;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.company-website a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-website a:hover {
    color: var(--company-color, #ff6b35);
}

/* Company Description */
.company-description {
    flex: 1;
    color: #6D6C7B;

    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1rem;         /* 16px */
    line-height: 1.2;        /* 120% = 19.2px */
    letter-spacing: 0rem;    /* 0% = 0 */
    text-align: justify;

}

/* Company Actions */
.company-actions {
    text-align: center;
    margin-top: auto;
}

.read-more-btn {
    display: inline-block;
    background: var(--company-color, #ff6b35);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;

    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid var(--company-color, #ff6b35);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
    text-align: justify;

}

.read-more-btn:hover {
    background: transparent;
    color: var(--company-color, #ff6b35);
    transform: translateY(-2px);
}

/* Navigation */
.ecosystem-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.ecosystem-nav-arrow {
    background: white;
    border: 2px solid #e5e7eb;
    color: #666;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
}

.ecosystem-nav-arrow:hover:not(:disabled) {
    background: #ff6b35;
    border-color: #ff6b35;
    color: white;
    transform: scale(1.1);
}

.ecosystem-nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ecosystem-nav-dots {
    display: flex;
    gap: 12px;
}

.ecosystem-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ecosystem-nav-dot:hover,
.ecosystem-nav-dot.active {
    background: #ff6b35;
    transform: scale(1.2);
}

/* No Companies Message */
.no-companies {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ecosystem-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .ecosystem-slider-section {
        padding: 60px 0;
    }

    .ecosystem-title {
        font-size: 2rem;
    }

    .ecosystem-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .ecosystem-card {
        padding: 25px 20px;
        min-height: 320px;
    }

    .company-logo img {
        max-width: 100px;
        max-height: 50px;
    }

    .company-title {
        font-size: 1.2rem;
    }

    .ecosystem-nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .ecosystem-navigation {
        gap: 15px;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .ecosystem-slider-container {
        padding: 0 15px;
    }

    .ecosystem-title {
        font-size: 1.8rem;
    }

    .ecosystem-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ecosystem-card {
        padding: 20px 15px;
        min-height: 300px;
    }

    .company-title {
        font-size: 1.1rem;
    }

    .company-description {
        font-size: 13px;
    }

    .read-more-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* Animation for ecosystem cards */
.ecosystem-slide.active .ecosystem-card {
    animation: fadeInUp 0.6s ease forwards;
}

.ecosystem-slide.active .ecosystem-card:nth-child(1) {
    animation-delay: 0.1s;
}

.ecosystem-slide.active .ecosystem-card:nth-child(2) {
    animation-delay: 0.2s;
}

.ecosystem-slide.active .ecosystem-card:nth-child(3) {
    animation-delay: 0.3s;
}

.ecosystem-slide.active .ecosystem-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .ecosystem-card,
    .ecosystem-nav-arrow,
    .ecosystem-nav-dot,
    .read-more-btn {
        transition: none;
    }

    .ecosystem-slide.active .ecosystem-card {
        animation: none;
    }
}

/* Focus styles for accessibility */
.ecosystem-nav-arrow:focus,
.ecosystem-nav-dot:focus,
.read-more-btn:focus,
.company-title a:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

/* News Slider Styles - Updated to match design */
.news-slider-section {
    padding: 80px 0;
    background: #F2F2F2;
    overflow: hidden;
}

.news-slider-container {
    max-width: calc(100% - 40px);
    margin: 0 auto;
}

.news-slider-content {
    display: flex;
    align-items: stretch;
    min-height: 500px;
    gap: 40px;
    overflow: hidden;
}

/* Left Panel - Fixed Content (1/3) */
.news-left-panel {
    flex: 0 0 33.333%;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.news-left-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.news-intro {
    position: relative;
    z-index: 2;
}

.news-main-title {

    margin-bottom: 20px;
    text-transform: uppercase;
    color: #6D6C7B;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;        /* 24px = 1.5rem */
    line-height: 1.5;         /* 150% */
    letter-spacing: 0;        /* 0% */
    text-align: justify;
}

.news-main-title .highlight {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-subtitle {
    margin-bottom: 25px;
    color: #6D6C7B;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;       /* 24px = 1.5rem */
    line-height: 1.5;        /* 150% = 1.5 */
    letter-spacing: 0;       /* 0% = 0 */
}

.news-description {

    margin-bottom: 40px;
    color: #6D6C7B;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;       /* 12px = 0.75rem */
    line-height: 1.5;         /* 150% */
    letter-spacing: 0;        /* 0% = 0 */
    text-align: justify;
}

.news-cta .view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;

    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;          /* 16px = 1rem */
    line-height: 1.5;         /* 150% = 1.5 */
    letter-spacing: 0;        /* 0% = 0 */
    text-align: justify;


}

.news-cta .view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    background: linear-gradient(45deg, #f7931e, #ff6b35);
    color: white;
}

.news-cta .view-all-btn::after {
    content: "→";
    transition: transform 0.3s ease;
}

.news-cta .view-all-btn:hover::after {
    transform: translateX(5px);
}

/* Right Panel - Slider (2/3) */
.news-right-panel {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    padding: 40px;
}

.news-slider-wrapper {
    width: 100%;
    position: relative;
    overflow: visible;
}

.news-slides-container {
    position: relative;
    width: 100%;
}

.news-slide {
    display: none;
    width: 100%;
}

.news-slide.active {
    display: block;
}

.news-articles-grid {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 70%;

    margin: auto;
}

/* News Article Card */
.news-article-card {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.news-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-article-card.featured {
    border: 2px solid #ff6b35;
}

.news-article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.5s ease;
}

.news-article-card:hover .news-article-image img {
    transform: scale(1.05);
}

.news-placeholder-image {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.news-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 107, 53, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 215, 0, 0.9);
    color: #333;
    padding: 6px;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-article-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #6D6C7B;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;       /* 12px = 0.75rem */
    line-height: 1.5;         /* 150% = 1.5 */
    letter-spacing: 0;        /* 0% = 0 */
    text-align: justify;
}

.news-date {
    font-weight: 500;
}

.news-reading-time {
    position: relative;
    padding-left: 15px;
}

.news-reading-time::before {
    content: "•";
    position: absolute;
    left: 6px;
    color: #ddd;
}

.news-article-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #2c3e50;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-article-card:hover .news-article-title {
    color: #ff6b35;
}

.news-article-excerpt {

    color: #6D6C7B;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;       /* 12px = 0.75rem */
    line-height: 1.5;         /* 150% = 1.5 */
    letter-spacing: 0;        /* 0% = 0 */
    text-align: justify;
}

.news-article-actions {
    margin-top: auto;
}

.news-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff6b35;
    text-decoration: none;

    text-transform: uppercase;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;           /* 16px = 1rem */
    line-height: 1.5;          /* 150% = 1.5 */
    letter-spacing: 0;         /* 0% = 0 */
    text-align: justify;
}

.news-read-more-btn:hover {
    color: #e55a2b;
    border-bottom-color: #e55a2b;
    transform: translateX(3px);
}

.news-read-more-btn svg {
    transition: transform 0.3s ease;
}

.news-read-more-btn:hover svg {
    transform: translateX(3px);
}

/* Navigation */
.news-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 -60px;
    pointer-events: none;
}

.news-nav-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #2c3e50;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    pointer-events: all;
}

.news-nav-arrow:hover:not(:disabled) {
    background: #ff6b35;
    border-color: #ff6b35;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.news-nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.news-prev {
    margin-left: -25px;
}

.news-next {
    margin-right: -25px;
}

/* Dots Navigation */
.news-dots-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.news-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bdc3c7;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-nav-dot.active {
    background: #ff6b35;
    transform: scale(1.2);
}

.news-nav-dot:hover {
    background: #ff6b35;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .news-slider-content {
        flex-direction: column;
        gap: 0;
    }

    .news-left-panel {
        flex: none;
        padding: 40px 30px;
        border-radius: 20px 20px 0 0;
    }

    .news-right-panel {
        border-radius: 0 0 20px 20px;
    }

    .news-main-title {
        font-size: 2.8rem;
    }

    .news-navigation {
        padding: 0 10px;
    }

    .news-prev {
        margin-left: 0;
    }

    .news-next {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .news-slider-section {
        padding: 60px 0;
    }

    .news-articles-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .news-article-card {
        height: 350px;
    }

    .news-article-image {
        height: 160px;
    }

    .news-article-content {
        padding: 20px;
    }

    .news-main-title {
        font-size: 2.2rem;
    }

    .news-subtitle {
        font-size: 1.4rem;
    }

    .news-description {
        font-size: 1rem;
    }

    .news-nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .news-slider-container {
        padding: 0 15px;
    }

    .news-left-panel {
        padding: 30px 20px;
    }

    .news-right-panel {
        padding: 15px;
    }

    .news-article-card {
        height: 320px;
    }

    .news-article-image {
        height: 140px;
    }

    .news-article-content {
        padding: 15px;
    }

    .news-main-title {
        font-size: 1.8rem;
    }

    .news-subtitle {
        font-size: 1.2rem;
    }

    .news-description {
        font-size: 0.9rem;
    }

    .news-cta .view-all-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Loading Animation */
.news-slider-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.news-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff6b35;
    border-radius: 50%;
    animation: newsSpinLoading 1s linear infinite;
}

@keyframes newsSpinLoading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Accessibility */
.news-slider-section [aria-hidden="true"] {
    display: none;
}

.news-nav-arrow:focus,
.news-nav-dot:focus,
.news-read-more-btn:focus,
.view-all-btn:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

/* Animation for slide transitions */
.news-slide {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.news-slide.active {
    opacity: 1;
}

/* Hover effects for better interactivity */
.news-article-card {
    cursor: pointer;
}

.news-article-card:hover .news-article-excerpt {
    color: #666;
}

/* Print Styles */
@media print {
    .news-slider-section {
        background: white;
        padding: 20px 0;
    }

    .news-navigation,
    .news-dots-navigation {
        display: none;
    }

    .news-slider-content {
        flex-direction: column;
        box-shadow: none;
    }

    .news-article-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* CTA Widget Styles */
.cta-widget-section {
    background: url("./public/image(1).png");
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    background-size: cover;

}

.cta-widget-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cta-widget-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 2;
}

.cta-widget-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    min-height: 120px;
}

.cta-widget-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 40px 30px;
    color: white;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-widget-item:last-child {
    border-right: none;
}

.cta-widget-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.cta-widget-item:hover .cta-widget-icon {
    transform: scale(1.1);
    color: #fbbf24;
}

.cta-widget-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
    color: white;
}

.cta-widget-content {
    flex: 1;
    min-width: 0;
}

.cta-widget-title {
    margin: 0 0 8px 0;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.cta-widget-description {

    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;           /* 16px = 1rem */
    line-height: 1.2;          /* 120% = 1.2 */
    letter-spacing: 0;         /* 0% = 0 */
    text-align: center;
}

.cta-widget-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    text-decoration: none;
}

/* Hover Effects */
.cta-widget-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cta-widget-item:hover::after {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cta-widget-grid {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    .cta-widget-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 30px 25px;
    }

    .cta-widget-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .cta-widget-item {
        padding: 25px 20px;
        gap: 15px;
    }

    .cta-widget-icon {
        width: 40px;
        height: 40px;
    }

    .cta-widget-icon svg {
        width: 24px;
        height: 24px;
    }

    .cta-widget-title {
        font-size: 1.1rem;
    }

    .cta-widget-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cta-widget-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 20px 15px;
    }

    .cta-widget-content {
        text-align: center;
    }

    .cta-widget-description {
        -webkit-line-clamp: 3;
    }
}

/* Animation for entrance */
.cta-widget-section.animate-in .cta-widget-item {
    animation: slideInUp 0.6s ease forwards;
}

.cta-widget-section.animate-in .cta-widget-item:nth-child(1) {
    animation-delay: 0.1s;
}

.cta-widget-section.animate-in .cta-widget-item:nth-child(2) {
    animation-delay: 0.2s;
}

.cta-widget-section.animate-in .cta-widget-item:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibility */
.cta-widget-link:focus {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .cta-widget-item,
    .cta-widget-icon,
    .cta-widget-section.animate-in .cta-widget-item {
        transition: none;
        animation: none;
    }
}

/* Print styles */
@media print {
    .cta-widget-section {
        background: #1e40af;
        color: white;
    }

    .cta-widget-item:hover {
        background: none;
        transform: none;
    }
}

/* New Footer Styles */
.main-footer {
    background: transparent;
    color: #ecf0f1;
    padding: 60px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

/* Left Column */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-logo img {
    max-height: 100px;
    width: auto;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 65px;
    height: 65px;
    border: 1px solid #C5C5C5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-icon{
    width: 20px;
    height: 20px;
}

.social-link:hover {
    border-color: #ff6b35;
    color: #ff6b35;
    transform: translateY(-2px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: #8987A1 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    font-size: 1rem !important;                 /* 16px = 1rem */
    line-height: 1.5 !important;                /* 150% */
    letter-spacing: 0 !important;
    text-align: left !important;                /* mặc định nếu chưa khai báo */
    text-decoration-style: solid !important;
    text-decoration-offset: 0;
    text-decoration-thickness: 0;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
}

.contact-item strong {
    color: #8987A1;
}

.contact-item a {
    color: #ff6b35;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Right Column - Footer Menu */
.footer-right {
    display: flex;
    align-items: flex-start;
}

.footer-menu-container {
    width: 100%;
}

.footer-menu-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-menu-column {
    display: flex;
    flex-direction: column;
}

.footer-menu-parent > a {
    font-weight: 700;
    color: #ff6b35;
    text-decoration: none;
    margin-bottom: 20px;
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;         /* 16px = 1rem */
    line-height: 1.5;        /* 150% = 1.5 */
    letter-spacing: 0;
}

.footer-menu-bold > a {
    font-weight: 800;
}

.footer-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-submenu li a {
    color: #6D6C7B;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1rem;        /* 16px = 1rem */
    line-height: 1.5;       /* 150% = 1.5 */
    letter-spacing: 0;
}

.footer-submenu li a:hover {
    color: #3498db;
    border-bottom-color: #3498db;
    padding-left: 10px;
}

/* Footer Certifications */
.footer-certifications {
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;}

.certifications-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px 40px;
    max-width: 100%;
}

.certification-item {
    flex: 0 0 auto;
    transition: transform 0.4s ease;
}
.cert-img-pci.wp-post-image,
.cert-img-tia.wp-post-image{
    object-fit: contain;
}
.certification-item img {
    max-height: 100px;
    width: 100px;
    height: 100px;
    object-fit: cover;
    filter: grayscale(100%) brightness(1.2) contrast(0.8);
    transition: filter 0.4s ease;
}

.certification-item:hover {
    transform: translateY(-5px);
}

.certification-item:hover img {
    filter: grayscale(0%) brightness(1) contrast(1);
}

.certification-item a,
.certification-image {
    display: block;
    line-height: 0;
}

.certification-item a:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #34495e;
    padding: 30px 0;
    margin-top: 40px;
}

.footer-bottom-content {
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #6D6C7B;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        gap: 40px;
    }

    .footer-menu-columns {
        gap: 30px;
    }

    .certifications-grid {
        gap: 20px 25px;
    }

    .certification-item img {
        max-height: 45px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-menu-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-social {
        justify-content: center;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .certifications-grid {
        gap: 15px 20px;
    }

    .certification-item img {
        max-height: 35px;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding: 40px 0 0;
    }

    .footer-container {
        padding: 0 15px;
    }

    .footer-left {
        text-align: center;
        gap: 25px;
    }

    .footer-contact {
        text-align: left;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .footer-menu-parent > a {
        font-size: 1rem;
    }

    .footer-submenu li a {
        font-size: 0.9rem;
    }
}

/* Animation for footer elements */
.footer-left,
.footer-right {
    animation: fadeInUp 0.6s ease forwards;
}

.footer-right {
    animation-delay: 0.2s;
}

/* Enhanced Mega Menu Styles - Updated */
.main-header {
    position: relative;
    z-index: 1;
}

.main-navigation {
    position: relative;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 50px;
    margin: 0;
    position: relative;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 0;
    display: block;
}

.main-navigation a:hover,
.nav-item.menu-active .nav-link {
    color: #1e3a8a;
}

/* Enhanced Mega Menu Popup Styles */
.mega-menu-popup {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 999;
    max-height: 500px;
    overflow: hidden;
}

.mega-menu-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(20%);
}

.mega-menu-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.mega-menu-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
    min-height: 400px;
}

.mega-menu-column {
    position: relative;
}

/* Column 1 - Level 1 Menu */
.column-1 {
    border-right: 1px solid #e5e7eb;
    padding-right: 30px;
}

.level-1-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.level-1-item {
    margin-bottom: 15px;
}

.level-1-link {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.level-1-link:hover,
.level-1-item.active .level-1-link {
    background: #f3f4f6;
    color: #1e3a8a;
    transform: translateX(5px);
}

/* Column 2 - Level 2 Menu */
.column-2 {
    border-right: 1px solid #e5e7eb;
    padding-right: 30px;
}

.level-2-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.level-2-item {
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    
}

.level-2-item:hover,
.level-2-item.active {
    background: #f8fafc;
    transform: translateX(5px);
}

.level-2-title {
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 5px;
    font-size: 14px;
    text-decoration: none;
}

.level-2-description {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}

/* Column 3 - Details */
.menu-item-details {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    text-align: center;
}

.menu-item-details.active {
    opacity: 1;
    transform: translateY(0);
}

.details-image {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
}

.details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.details-content h3 {
    color: #1e3a8a;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.details-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.details-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1e3a8a;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.details-link:hover {
    background: #1e40af;
    transform: translateY(-2px);
    color: white;
}

/* Enhanced Navigation Styles */
.nav-item.has-mega-menu .nav-link:hover,
.nav-item.menu-active .nav-link {
    color: #1e3a8a;
}

.nav-item.menu-active .nav-link {
    font-weight: 600;
}

/* Loading states */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #666;
}

.loading::after {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #1e3a8a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Enhanced Mega Menu Responsive Design */
@media (max-width: 1024px) {
    .mega-menu-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .column-3 {
        display: none;
    }
}

@media (max-width: 768px) {
    .mega-menu-popup {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: none;
    }

    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0;
    }

    .column-1,
    .column-2 {
        border-right: none;
        padding-right: 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .mega-menu-popup,
    .level-1-link,
    .level-2-item,
    .menu-item-details {
        transition: none;
        animation: none;
    }
}

/* Focus styles for accessibility */
.level-1-link:focus,
.level-2-item:focus,
.details-link:focus {
    outline: 2px solid #1e3a8a;
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .has-mega-menu .mega-menu-dropdown {
        width: 900px;
    }

    .mega-menu-content {
        grid-template-columns: 220px 280px 1fr;
    }
}

@media (max-width: 1024px) {
    .has-mega-menu .mega-menu-dropdown {
        width: 800px;
    }

    .mega-menu-content {
        grid-template-columns: 200px 250px 1fr;
    }
}

@media (max-width: 768px) {
    .has-mega-menu .mega-menu-dropdown {
        position: static;
        width: 100%;
        max-width: none;
        transform: none;
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
        border-top: none;
        border-top: 1px solid #e9ecef;
    }

    .mega-menu-content {
        grid-template-columns: 1fr;
        min-height: auto;
        max-height: none;
    }

    .mega-menu-left,
    .mega-menu-middle,
    .mega-menu-right {
        border-radius: 0;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        display: block;
    }

    .mega-menu-right {
        display: none;
    }
}

/* Hover Effects for Sub-menus */
.mega-menu-content > ul > li {
    position: relative;
}

.mega-menu-content > ul > li:hover .sub-menu {
    display: block;
}

/* Animation for mega menu items */
.mega-menu-dropdown .mega-menu-content > * {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.4s ease forwards;
}

.mega-menu-dropdown .mega-menu-content > *:nth-child(1) {
    animation-delay: 0.1s;
}

.mega-menu-dropdown .mega-menu-content > *:nth-child(2) {
    animation-delay: 0.2s;
}

.mega-menu-dropdown .mega-menu-content > *:nth-child(3) {
    animation-delay: 0.3s;
}

/* Admin Menu Image Styles */
.menu-image-container {
    margin-top: 10px;
}

.menu-image-preview {
    margin-bottom: 10px;
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 4px;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-image-preview img {
    max-width: 150px;
    height: auto;
    border-radius: 4px;
}

.menu-image-upload,
.menu-image-remove {
    margin-right: 10px;
}

.menu-image-remove {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

.menu-image-remove:hover {
    background: #c82333;
    border-color: #bd2130;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .has-mega-menu .mega-menu-dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .has-mega-menu:hover .mega-menu-dropdown,
    .has-mega-menu.active .mega-menu-dropdown {
        display: block;
    }

    .mega-menu-content {
        flex-direction: column;
        min-height: auto;
        padding: 20px;
    }

    .mega-menu-left,
    .mega-menu-middle,
    .mega-menu-right {
        flex: none;
        border: none;
        padding: 15px 0;
    }

    .mega-menu-right {
        display: none;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation {
        display: none;
    }

    .main-navigation.active {
        display: block;
    }
}

/* Enhanced Mega Menu Responsive Design */
@media (max-width: 1024px) {
    .mega-menu-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .column-3 {
        display: none;
    }
}

@media (max-width: 768px) {
    .mega-menu-popup {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: none;
    }

    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0;
    }

    .column-1,
    .column-2 {
        border-right: none;
        padding-right: 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .mega-menu-popup,
    .level-1-link,
    .level-2-item,
    .menu-item-details {
        transition: none;
        animation: none;
    }
}

/* Focus styles for accessibility */
.level-1-link:focus,
.level-2-item:focus,
.details-link:focus {
    outline: 2px solid #1e3a8a;
    outline-offset: 2px;
}

@media (max-width: 1200px) {
    .has-mega-menu .mega-menu-dropdown {
        width: 900px;
    }

    .mega-menu-content {
        grid-template-columns: 220px 280px 1fr;
    }
}

@media (max-width: 1024px) {
    .has-mega-menu .mega-menu-dropdown {
        width: 800px;
    }

    .mega-menu-content {
        grid-template-columns: 200px 250px 1fr;
    }
}

@media (max-width: 768px) {
    .has-mega-menu .mega-menu-dropdown {
        position: static;
        width: 100%;
        max-width: none;
        transform: none;
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
        border-top: none;
        border-top: 1px solid #e9ecef;
    }

    .mega-menu-content {
        grid-template-columns: 1fr;
        min-height: auto;
        max-height: none;
    }

    .mega-menu-left,
    .mega-menu-middle,
    .mega-menu-right {
        border-radius: 0;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        display: block;
    }

    .mega-menu-right {
        display: none;
    }
}

/* Hover Effects for Sub-menus */
.mega-menu-content > ul > li {
    position: relative;
}

.mega-menu-content > ul > li:hover .sub-menu {
    display: block;
}

/* Animation for mega menu items */
.mega-menu-dropdown .mega-menu-content > * {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.4s ease forwards;
}

.mega-menu-dropdown .mega-menu-content > *:nth-child(1) {
    animation-delay: 0.1s;
}

.mega-menu-dropdown .mega-menu-content > *:nth-child(2) {
    animation-delay: 0.2s;
}

.mega-menu-dropdown .mega-menu-content > *:nth-child(3) {
    animation-delay: 0.3s;
}

/* Admin Menu Image Styles */
.menu-image-container {
    margin-top: 10px;
}

.menu-image-preview {
    margin-bottom: 10px;
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 4px;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-image-preview img {
    max-width: 150px;
    height: auto;
    border-radius: 4px;
}

.menu-image-upload,
.menu-image-remove {
    margin-right: 10px;
}

.menu-image-remove {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

.menu-image-remove:hover {
    background: #c82333;
    border-color: #bd2130;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .has-mega-menu .mega-menu-dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .has-mega-menu:hover .mega-menu-dropdown,
    .has-mega-menu.active .mega-menu-dropdown {
        display: block;
    }

    .mega-menu-content {
        flex-direction: column;
        min-height: auto;
        padding: 20px;
    }

    .mega-menu-left,
    .mega-menu-middle,
    .mega-menu-right {
        flex: none;
        border: none;
        padding: 15px 0;
    }

    .mega-menu-right {
        display: none;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation {
        display: none;
    }

    .main-navigation.active {
        display: block;
    }
}

.search-form {
    display: flex;
    align-items: center;
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper input {
    padding: 8px 15px 8px 40px;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 250px;
    outline: none;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: black;
    font-size: 1rem;
    pointer-events: none;
}


/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: #f8fafc;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

    .services-grid {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 30px;
        justify-content: center;
        padding: 0px 200px;

}

.service-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: #1e3a8a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

/* Products Section */
.products-section {
    padding: 80px 0;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1e3a8a;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.products-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-button {
    padding: 12px 25px;
    border: 1px solid #1e3a8a;
    background: white;
    color: #1e3a8a;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-button.active{
    background-color: var(--tab-inactive-bg);    color: white;
    border:none !important;

}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Image Slider */
.image-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin: 0;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.slide-banner {
    min-width: 100%;
  height: fit-content;
}

.slide-banner img {
    width: 100%;
    height: 100%;
  object-fit: cover;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.nav-dot.active {
    background: white;
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
    background: #f8fafc;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-logo {
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo img {
    max-height: 60px;
    max-width: 120px;
}

/* Stats Section */
.stats-section {
    padding: 0;
    background: #F2F2F2;
    margin: 0;
}

.stats-container {
    max-width: 90%;
    margin: 0 auto;
    border-radius: 10px;

    transform: translateY(-40px);
    box-shadow: 0px 4px 4px 0px #00000040;

}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 4px 0px #00000040 inset;    overflow: hidden;
}

.stat-item {
    display: flex;
    align-items: center;
    padding: 30px 25px;
    transition: all 0.3s ease;
    position: relative;
}

.spe-item {
    border-right: 2px solid #e5e7eb;
    width: 2px;
    height: 100%;
    margin-left: 5px;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background: transparent;
    transform: translateY(-2px);
}

/* Stats Image Styles */
.stat-image {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-image {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.2);
}

.stat-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0.8);
}

.stat-item:hover .stat-image img {
    filter: brightness(1);
    transform: scale(1.1);
}

/* Alternative circular image style */
.stat-image.circular {
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 12px;
}

.stat-image.circular img {
    filter: brightness(0) invert(1);
}

.stat-item:hover .stat-image.circular img {
    filter: brightness(0) invert(1);
    transform: scale(1.1);
}

.stat-content {
    flex: 1;
    min-width: 0;
}

.stat-title {


    color: #1552A2;
    margin: 0 0 8px 0;

    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;       /* 12px */
    line-height: 1.5;          /* 150% of font-size = 18px */
    letter-spacing: 0rem;      /* 0% = 0 */

}

.stat-description {

    color: #6D6C7B;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;       /* 12px */
    line-height: 1.5;          /* 150% of font-size = 18px */
    letter-spacing: 0rem;      /* 0% = 0 */

}

/* Responsive Design for Stats */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2n) {
        border-right: none;
    }

    .stat-item:nth-child(-n + 2) {
        border-bottom: 1px solid #e5e7eb;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-content {
        text-align: center;
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding: 25px 20px;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .stat-image {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }

    .stat-title {
        font-size: 16px;
    }

    .stat-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .stats-section {
        padding: 60px 0;
    }

    .stats-container {
        padding: 0px !important;
    }
    .stat-content {
        text-align: center;
    }
    .stat-item {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }

    .stat-image {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .stat-title {
        font-size: 16px;
    }

    .stat-description {
        font-size: 13px;
    }
}

/* Footer */
.main-footer {
    background: transparent;
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mini-bar .container {
        flex-direction: column;
        gap: 10px;
    }


    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .products-tabs {
        flex-direction: column;
        align-items: center;
    }
}



.products-services-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .section-title {

    color: #6d6c7b;
    margin-bottom: 15px;

    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.875rem;      /* 30px */
    line-height: 1.2;          /* 120% of font-size = 36px */
    letter-spacing: 0rem;      /* 0% = 0 */
    text-align: center;

}

.section-header .section-title-orange {

    color: #f15b22;

}

.section-header .section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Tabs */
.products-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.products-tabs {
    display: flex;
    overflow: hidden;
}



.tab-btn i {
    font-size: 14px;
}

.tab-btn:hover {
    color: #1e3a8a;
    background: #f8fafc;
}




/* Content Area */
.products-content-area {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

/* Sidebar */
.products-sidebar {

    padding: 30px 0;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item span {
    display: block;
    padding: 15px 25px;
    color: #666;
    font-size: 15px;
    transition: all 0.3s ease;
}

.menu-item i {
    margin-right: 8px;
    font-size: 14px;
    color: #999;
    transition: color 0.3s ease;
}

.menu-item .category-description {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    font-style: italic;
}



.menu-item:hover i,
.menu-item.active i {
    color: #1e3a8a;
}

.menu-item.active {
    position: relative;
}
.menu-item.active::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    width: 8px;
    height: 100%;
    border-radius: 999px;
    z-index: 2;
}


/* Products Grid */
.products-grid-area {
    min-height: 600px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}
.single-product-card {
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
  background: linear-gradient(251.19deg, #114DC5 41.16%, #163C9F 95.38%);
  border-radius: 5px;
  height: 50%;
  box-shadow: 0px 4px 4px 0px #00000040;
}
.single-product-image{
  border-radius: 5px;
  flex: 1;
  padding: 0px;
  width: 50%;
  height: 100vh;
}
.single-product-image img{
  padding: 0px;
  width: 100%;
  height: 50%;
  border-radius: 5px;

}

.single-product-content{
  flex: 1;
  color: white !important;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  align-items: start;
}
.single-product-button{
  color: white;
  padding: 15px 40px;
  border-radius: 6px;
  cursor: pointer;
  display: block;

  transition: background 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: left;
  border: 1px solid;
  text-decoration: none;
}
.single-product-excerpt{
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: justify;
}
.single-product-title{
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; /* 700 tương ứng với Bold */
  font-style: normal; /* 'Bold' không hợp lệ, nên dùng 'normal' */
  font-size: 1.875rem; /* 30px = 1.875rem (30 ÷ 16) */
  line-height: 1; /* 60% = 0.6 */
  letter-spacing: 0;
}