
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px; 
  z-index: 10;
  box-sizing: border-box; 
}


.hero-content {
  width: 100%;
}

.hero-text {
  font-size: 28px;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  line-height: 1.5;
  margin-bottom: 30px;
}


.hero-button {
  display: inline-block;
  padding: 16px 35px;
  font-size: 18px;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  background: linear-gradient(90deg, #dd3366, #3f51b5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  color: white;
}


.social-sidebar {
  background-color: #ecd865; 
  padding: 20px 15px;
  border-radius: 30px;
}

.social-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-sidebar li {
  margin-bottom: 20px;
}

.social-sidebar li:last-child {
  margin-bottom: 0;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.1);
  color: white;
}

.social-icon.phone { background-color: #23a455; }
.social-icon.email { background-color: #d94b3d; }
.social-icon.messenger { background-color: #0084ff; }
.social-icon.facebook { background-color: #1877f2; }
.social-icon.zalo {
  background-color: #0068ff;
  padding: 10px;
}

.social-icon.zalo img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .hero-overlay {
      justify-content: center; 
      padding: 0 15px;
      top: 22px;
  }

  .hero-content {
      flex: 1; 
      min-width: 0;
      max-width: 250px;
  }

  .social-sidebar {
      background-color: rgba(253, 228, 7, 0.85);
      padding: 15px 10px;
      border-radius: 25px;
      margin-top: 0; 
      position: relative;
      top: 7px;
      height: 165px;
  }


  .social-sidebar ul {
 
  }

  .social-sidebar li {
      margin-bottom: 5px;
  }

  .social-sidebar li:last-child {
      margin-bottom: 0;
  }

  .social-icon {
      width: 30px;
      height: 24px;
      font-size: 16px;
  }
  
  .social-icon.zalo {
      padding: 8px;
  }
  
  .hero-text {
      font-size: 14px;
      margin-bottom: 15px;
      line-height: 1.4;
  }

  .hero-button {
      padding: 10px 18px;
      font-size: 12px;
  }
}



.search-bar {
  display: flex;
  align-items: center;
  width: 180px; 
  border: 1.5px solid #aaa;
  border-radius: 50px; 
  padding: 6px 12px;
  background-color: #fff;
}


.search-bar input {
  flex-grow: 1; 
  border: none;
  outline: none;
  background-color: transparent;
  font-size: 16px;
  color: var(--main-color);
}


.search-bar input::placeholder {
  color: var(--main-color); 
  opacity: 1;
}


.search-bar button {
  border: none;
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  position: absolute;
  right: 20px;
}

.search-bar button i {
  color: var(--main-color);
  font-size: 16px;
}

/* Categories Sidebar Styles */
.categories-sidebar {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.categories-header {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  padding: 20px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.categories-header h3 {
  color: white;
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: white;
  margin: 2px 0;
  transition: 0.3s;
}

.categories-list {
  background: white;
  padding: 0;
}

.category-item {
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.category-item:last-child {
  border-bottom: none;
}

.category-item:hover {
  background: #f8f9fa;
  transform: translateX(5px);
}

.category-link {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

.category-link:hover {
  color: #2a5298;
  text-decoration: none;
}

.category-image {
  width: 50px;
  height: 50px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f8f9fa;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.category-image i {
  font-size: 24px;
  color: #666;
}

.category-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  text-transform: uppercase;
}

.category-link:hover .category-name {
  color: #2a5298;
}

/* Responsive Design */
@media (max-width: 991px) {
  .categories-sidebar {
    margin-bottom: 20px;
  }
  
  .categories-header {
    padding: 15px;
  }
  
  .categories-header h3 {
    font-size: 16px;
  }
  
  .category-link {
    padding: 12px 15px;
  }
  
  .category-image {
    width: 40px;
    height: 40px;
    margin-right: 12px;
  }
  
  .category-image i {
    font-size: 20px;
  }
  
  .category-name {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .categories-sidebar {
    display: none;
  }
}

/* Mobile Categories Menu */
.mobile-categories-menu {
  margin-bottom: 20px;
}

.mobile-categories-toggle {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  border: none;
  color: white;
  padding: 12px 20px;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-categories-toggle:hover {
  background: linear-gradient(135deg, #2a5298, #1e3c72);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mobile-categories-toggle i {
  margin-right: 10px;
}

.mobile-categories-list {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 10px;
  margin-top: 10px;
  max-height: 300px;
  overflow-y: auto;
}

.mobile-category-link {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  text-decoration: none;
  color: #333;
  border-radius: 6px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.mobile-category-link:hover {
  background: #e9ecef;
  color: #2a5298;
  text-decoration: none;
  transform: translateX(5px);
}

.mobile-category-link:last-child {
  margin-bottom: 0;
}

.mobile-category-image {
  width: 30px;
  height: 30px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: white;
  overflow: hidden;
}

.mobile-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.mobile-category-image i {
  font-size: 16px;
  color: #666;
}

.mobile-category-link span {
  font-size: 12px;
  font-weight: 600;
  color: inherit;
  text-transform: uppercase;
}

/* Collapse Animation */
.collapse {
  display: none;
}

.collapse.show {
  display: block;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.introduce-main {
    padding: 50px 20px;
    width: 100%;
    text-align: center;
  }
  
  .section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .section-header h2 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    white-space: nowrap;
    background: linear-gradient(90deg, #dd3366, #3f51b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: none;
  }
  
  .decorative-line {
    width: 80px;
    height: 4px;
    background-color: var(--hover-color);
    border-radius: 2px;
  }
  
  .intro-content-box {
    background-color: var(--yellow-light);
    border-bottom: 2px solid var(--main-color);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
  }
  
  .intro-content-box p {
    font-size: 13px;
    line-height: 1.8;
    text-align: justify;
    margin: 0;
  }
  
  .intro-content-box p strong {
    color: var(--text-dark);
  }
  
  .values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
  
  .value-item {
    text-align: center;
  }
  
  .value-icon {
    width: 100px;
    height: 100px;
    /* background-color: var(--main-color); */
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
  }
  
  .value-icon svg {
    width: 50px;
    height: 50px;
    fill: #fff;
  }
  
  .value-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #dd3366, #3f51b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: none;
  }
  
  .value-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    font-size: 15px;
    line-height: 1.7;
  }
  
  .value-item ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
  }
  
  .value-item ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 20px;
    line-height: 1;
  }
  

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    .section-header h2 {
        font-size: 22px;
    }
}
@media screen and (max-width: 992px) {
    .introduce-main {
      padding: 20px 10px;
    }
    .values-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .section-header {
      gap: 10px;
    }

    .section-header h2 {
      font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    .introduce-main {
      padding: 15px 10px;
    }
}
  
.sanpham-section {
    background-image: url('../images/so-lar.jpg'); 
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    position: relative;
}

@media screen and (max-width: 768px) {
    .sanpham-section {
        padding: 30px 15px;
    }
}

@media screen and (max-width: 480px) {
    .sanpham-section {
        padding: 20px 10px;
    }
}

.sanpham-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

.sanpham-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.sanpham-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.sanpham-header h2 {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-dark);
    margin: 0;
    text-transform: uppercase;
    background: linear-gradient(90deg, #dd3366, #3f51b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.sanpham-header .line {
    width: 80px;
    height: 4px;
    background-color: var(--hover-color);
    border-radius: 2px;
}


.sanpham-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: 0 15px;
}

.sanpham-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.sanpham-card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.sanpham-card-content {
    padding: 25px;
    text-align: left;
}

.sanpham-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.sanpham-card-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
}

.sanpham-card-button {
    background-color: var(--main-color);
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
}

.sanpham-card-info {
    font-size: 15px;
    color: #7f8c8d;
}

.owl-theme .owl-nav [class*='owl-'] {
    background: var(--hover-color) !important;
    color: #fff !important;
}
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: var(--hover-color) !important;
}



.footerArticle {
    padding: 40px 70px;
    background-color: #1a1a1ac2;
    color: #ffffff;
  }
  
  .footerContainer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
  }
  
  .footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  /* About Column Styles */
  .footer-logo-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-logo-container {
    display: flex;
    justify-content: left;
    width: 100%;
  }
  
  .footer-about .footer-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
  }
  
  .footer-description {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
  }
  
  .footer-description p{

    margin-left: 20px;
    
  }
  
  .footer-social-title {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
  }
  
  .footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .social-link i {
    width: 20px;
    text-align: center;
    font-size: 16px;
  }
  
  .social-name {
    font-size: 14px;
    font-weight: 500;
  }
  
  .social-link.facebook {
    background-color: #686868;
    border-color: #686868;
  }
  
  .social-link.youtube {
    background-color: #ff0000;
    border-color: #ff0000;
  }
  
  .social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none;
  }
  
  .social-link.linkedin {
    background-color: #0077b5;
    border-color: #0077b5;
  }
  
  .social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  /* Links and Services Column Styles */
  .footer-links, .footer-services{
      margin-top: 50px;
  }
  
  .footer-link-list,
  .footer-service-list {
    list-style: none;
    padding: 0;
    margin: -20px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .footer-link-list li a,
  .footer-service-list li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
  }
  
  .footer-link-list li a:before,
  .footer-service-list li a:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--hover-color);
    font-weight: bold;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
  }
  
  .footer-link-list li a:hover,
  .footer-service-list li a:hover {
    color: #ffffff;
    padding-left: 20px;
  }
  
  .footer-link-list li a:hover:before,
  .footer-service-list li a:hover:before {
    opacity: 1;
    transform: translateX(0);
  }
  
  /* Contact Column Styles */
  .footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cccccc;
    font-size: 14px;
  }
  
  .contact-item i {
    width: 20px;
    color: var(--hover-color);
    font-size: 16px;
    text-align: center;
  }
  
  .footerMap {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Responsive Design */
  @media (max-width: 992px) {
    .footerContainer {
      grid-template-columns: 1fr 1fr;
      gap: 30px;
    }
    
    .footer-contact {
      grid-column: span 2;
    }
  }
  
  @media (max-width: 768px) {
    .footerArticle {
      padding: 40px 20px;
    }
    
    .footerContainer {
      grid-template-columns: 1fr;
      gap: 30px;
    }
    
    .footer-social-links {
      justify-content: center;
    }
    
    .footer-main-title {
      font-size: 20px;
      text-align: center;
    }
    
    .footerIcon {
      display: none;
    }
    
    .d-flex.justify-content-flex-start {
      justify-content: center;
    }
  }
  
  .footerIcon {
    width: 90px;
    height: 60px;
  }
  
  .badge-icon {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    position: relative;
    padding-left: 8px;
    line-height: 1.9;
  }

  .footer-main-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--main-color);
    position: relative;
    padding-left: 8px;
    line-height: 1.9;
    background: linear-gradient(90deg, #dd3366, #3f51b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: none;
  }
  
  .footer-sub-title {
    font-size: 25px;
    font-weight: bold;
    position: relative;
    padding-left: 20px;
    margin: 0 0 20px 0;
    color: #ffffff;
  }
  
  .footer-sub-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    transform: translateY(-50%);
    width: 6px;
    height: 24px;
    background-color: var(--hover-color);
    border-radius: 3px;
  }
  
  .footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--subtle-text-color);
    font-size: 15px;
  }
  .footer-contact-list li svg {
    width: 20px;
    height: 20px;
  }
  
  .footer-quote-form p {
    color: var(--subtle-text-color);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    width: 75%;
  }
  
  .footer-subscribe-form {
    position: relative;
    display: flex;
    align-items: center;
  }
  
  .footer-subscribe-form input {
    width: 50%;
    height: 50px;
    border-radius: 25px;
    border: 1px solid #ddd;
    padding: 0 60px 0 20px; 
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    background: linear-gradient(to right, #6A057F, #004FF9);
    color: #fff;
  }
.footer-subscribe-form input:focus {
    border-color: var(--primary-blue);
}

/* .footer-subscribe-form input::-webkit-input-placeholder,
.footer-subscribe-form input:-ms-input-placeholder, */
.footer-subscribe-form input::placeholder {
  color: white;
}
  
.footer-subscribe-form button {
    position: absolute;
    right: 0;
    left: 330px;
    top: 0;
    height: 100%;
    width: 55px;
    border: none;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
  }
  
  .footerRight {
    flex: 1;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    position: relative;
    /* min-height: 550px; */
    min-width: 320px;
  }

  .footerPowered {
    background-color: var(--main-color);
    padding: 15px 20px;
  }
  .footerCopyright {
    color: #fff;
    font-family: Roboto-Regular;
    font-size: 15px;
  }

.footerCopyright span {
    font-family: Roboto-Bold;
    color: #fff;
}

.footerStatic {
    color: #fff;
}

@media screen and (max-width: 991px) {
    .footerStatic {
      text-align: center;
      flex: 0 0 100%;
      max-width: 100%;
      margin-bottom: 10px;
    }

    .footerCopyright {
      text-align: center;
      flex: 0 0 100%;
      max-width: 100%;
      margin-bottom: 10px;
    }
  }
  
.footerStatic span {
    padding-right: 10px;
    margin-right: 10px;
    border-right: 1px solid #fff;
}

.footerStatic span:last-child {
    padding-right: 0;
    margin-right: 0;
    border-right: 0;
}

@media (max-width: 768px) {
  .footerArticle {
    padding: 40px 20px;
  }

  .footerContainer {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-main-title {
    font-size: 20px;
    text-align: center;
  }

  .footerIcon {
    display: none;
  }

  .d-flex.justify-content-flex-start {
    justify-content: center;
  }

  .footer-social-links {
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .social-name {
    display: none;
  }

  .social-link {
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    padding: 0;
    flex-shrink: 0;
  }

  .contact-item {
    font-size: 13px;
  }

  .footer-link-list li a,
  .footer-service-list li a {
    font-size: 13px;
  }

  .footerMap iframe {
    height: 180px;
  }
}
  
  .newsletter-section {
    background-image: url('../images/so-lar.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px 0;
    position: relative;
  }
  
  .newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 1;
  }
  
  .newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
  }
  
  .newsletter-form-column {
    width: 100%;
    text-align: left;
  }
  
  .newsletter-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-transform: uppercase;
  }
  
  .newsletter-title .line {
    width: 60px;
    height: 4px;
    background-color: var(--hover-color);
    border-radius: 2px;
  }
  
  .newsletter-form-wrapper {
    padding: 20px;
    border-radius: 10px;
  }
  
  /* Compact form layout styles */
  .newsletter-form-group-compact {
    margin-bottom: 10px;
  }
  
  .form-input-container {
    position: relative;
    display: flex;
    align-items: stretch;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .form-input-container textarea {
    flex: 1;
    padding: 15px 120px 15px 15px;
    border: none;
    background: transparent;
    font-size: 16px;
    resize: none;
    min-height: 60px;
    outline: none;
    font-family: inherit;
  }
  
  .form-input-container textarea::placeholder {
    color: #888;
    font-style: italic;
  }
  
  .newsletter-submit-btn-inline {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(to right, #D91B5C, #5D2E8E);
    color: #f5f5f5;
    border: none;
    padding: 8px 15px 8px 8px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
  }
  
  .newsletter-submit-btn-inline:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  
  .newsletter-submit-btn-inline span {
    padding-left: 10px;
    font-size: 12px;
  }
  
  .newsletter-submit-btn-inline .icon-circle {
    width: 28px;
    height: 28px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  }
  
  .newsletter-submit-btn-inline .icon-circle svg {
    width: 16px;
    height: 16px;
    stroke: #3498db;
    stroke-width: 2;
    fill: none;
  }
  
  /* Responsive adjustments for compact form */
  @media (max-width: 768px) {
    .newsletter-section {
      padding: 30px 0;
    }
    
    .newsletter-form-wrapper {
      padding: 15px;
    }
    
    .newsletter-title {
      font-size: 20px;
      margin-bottom: 12px;
    }
    
    .form-input-container textarea {
      padding: 12px 100px 12px 12px;
      min-height: 50px;
      font-size: 14px;
    }
    
    .newsletter-submit-btn-inline {
      padding: 6px 12px 6px 6px;
      right: 6px;
    }
    
    .newsletter-submit-btn-inline span {
      font-size: 11px;
      padding-left: 8px;
    }
    
    .newsletter-submit-btn-inline .icon-circle {
      width: 24px;
      height: 24px;
    }
    
    .newsletter-submit-btn-inline .icon-circle svg {
      width: 14px;
      height: 14px;
    }
  }
  
  .newsletter-form-group {
    margin-bottom: 20px;
  }
  
  .newsletter-form-group label {
    display: block;
    color: #f5f5f5;
    margin-bottom: 8px;
    font-weight: 500;
  }
  
  .newsletter-form-group input,
  .newsletter-form-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #f5f5f5;
    font-size: 16px;
    box-sizing: border-box;
  }
  
  .newsletter-form-group textarea {
    min-height: 100px;
    resize: vertical;
  }
  
  /* Inline form layout styles */
  .newsletter-form-group-inline {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .form-input-wrapper {
    flex: 1;
  }
  
  .form-input-wrapper label {
    display: block;
    color: var(--main-color);
    margin-bottom: 8px;
    font-weight: bold;
  }
  
  .form-input-wrapper textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #f5f5f5;
    font-size: 16px;
    box-sizing: border-box;
    min-height: 100px;
    resize: vertical;
  }
  
  /* Responsive adjustments for inline form */
  @media (max-width: 768px) {
    .newsletter-form-group-inline {
      flex-direction: column;
      align-items: stretch;
      gap: 15px;
    }
    
    .newsletter-submit-btn {
      margin: 0 auto;
    }
  }
  
  /* Horizontal form layout styles - all elements in one line */
  .newsletter-form-group-horizontal {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 0;
  }
  
  .newsletter-title-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    min-width: fit-content;
  }
  
  .newsletter-title-inline .footer-main-title {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
  }
  
  .form-input-wrapper-horizontal {
    flex: 1;
    max-width: none;
  }
  
  .form-input-wrapper-horizontal textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #f5f5f5;
    font-size: 16px;
    box-sizing: border-box;
    min-height: 50px;
    resize: none;
  }
  
  .newsletter-submit-btn-horizontal {
    background: linear-gradient(to right, #D91B5C, #5D2E8E);
    color: #f5f5f5;
    border: none;
    padding: 5px 20px 5px 5px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    min-width: fit-content;
  }
  
  .newsletter-submit-btn-horizontal:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }
  
  .newsletter-submit-btn-horizontal span {
    padding-left: 15px;
  }
  
  .newsletter-submit-btn-horizontal .icon-circle {
    width: 35px;
    height: 35px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  }
  
  .newsletter-submit-btn-horizontal .icon-circle svg {
    width: 20px;
    height: 20px;
    stroke: #3498db;
    stroke-width: 2;
    fill: none;
  }
  
  /* Responsive adjustments for horizontal form */
  @media (max-width: 992px) {
    .newsletter-form-group-horizontal {
      flex-wrap: wrap;
      gap: 15px;
    }
    
    .newsletter-title-inline {
      width: 100%;
      justify-content: flex-start;
    }
    
    .form-input-wrapper-horizontal {
      width: calc(100% - 120px);
    }
    
    .newsletter-submit-btn-horizontal {
      width: auto;
    }
  }
  
  @media (max-width: 768px) {
    .newsletter-form-group-horizontal {
      flex-direction: column;
      align-items: stretch;
      gap: 15px;
    }
    
    .newsletter-title-inline {
      width: 100%;
      justify-content: center;
    }
    
    .form-input-wrapper-horizontal {
      width: 100%;
    }
    
    .newsletter-submit-btn-horizontal {
      align-self: center;
    }
  }
  
.newsletter-submit-btn {
  background: linear-gradient(to right, #D91B5C, #5D2E8E); 
  color: #f5f5f5;
  border: none;
  padding: 5px 20px 5px 5px; 
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  margin: 20px auto 0 auto;
  width: fit-content;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
  
.newsletter-submit-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
  
.newsletter-submit-btn span {
  padding-left: 20px;
}
  
.newsletter-submit-btn .icon-circle {
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
  
.newsletter-submit-btn .icon-circle svg {
  width: 24px;
  height: 24px;
  stroke: #3498db; 
  stroke-width: 2; 
  fill: none;
}
  
.newsletter-partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
  
.newsletter-partner-item {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid #fff;
    border-radius: 25px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    font-weight: 500;
    text-align: center;
    min-height: 50px;
    backdrop-filter: blur(5px);
}
  

  @media (max-width: 992px) {
    .newsletter-container {
        padding: 0 15px;
    }

    .newsletter-section {
      padding: 60px 10px;
    }
    
    .newsletter-form-column {
      max-width: 100%;
    }
  }
  
  @media (max-width: 576px) {
    .newsletter-partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .newsletter-title {
        font-size: 20px;
    }
    .newsletter-container {
        padding: 0 10px;
    }
    .newsletter-form-wrapper {
        padding: 20px;
    }
  }
  
  
  
  .process-section {
    background-image: url('../images/so-lar.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    position: relative;
  }
  
  .process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 1;
  }
  
  .process-container {
    max-width: 1500px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
    position: relative;
  }
  
  .process-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 80px;
  }
  
  .process-header h2 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    white-space: nowrap;
    background: linear-gradient(90deg, #dd3366, #3f51b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: none;
  }
  
  .process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
  }
  
  
  .process-timeline::before {
  content: '';
  position: absolute;
  top: 52px; 
  height: 5px;
  background-color: var(--hover-color);
  z-index: 1;
  
  width: 100%; 
  left: 50%; 
  transform: translateX(-50%); 
  }
  
  .process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 100px;
  }
  
  .process-step .step-number {
    position: absolute;
    top: -8px;
    font-size: 40px;
    font-weight: bold;
    opacity: 0.8;
  }
  
  .process-step .step-dot {
    position: absolute;
    top: 42px; 
    width: 22px;
    height: 22px;
    background-color: var(--main-color);
    border-radius: 50%;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.15);
    z-index: 2;
  }
  
  .process-step .step-image {
  
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #777;
  }
  
  .process-step .step-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
  }
  
  .process-step .step-description {
    font-size: 15px;
  }
  
  @media (max-width: 768px) {
    .process-section {
      padding-left: 10px;
      padding-right: 10px;
    }
    
  }
  
  @media (max-width: 576px) {
    
     .process-header h2 {
        font-size: 22px;
    }
  }
  
  
.certificated-section {
    max-width: 1400px;
    margin: 10px auto;
    padding: 40px 20px;
}

@media screen and (max-width: 768px) {
    .certificated-section {
        padding: 25px 15px;
        margin: 5px auto;
    }
}

@media screen and (max-width: 480px) {
    .certificated-section {
        padding: 15px 10px;
        margin: 0 auto;
    }
}
  
.certificated-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    text-align: center;
}
  
.certificated-header h2 {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-dark);
    margin: 0;
    white-space: nowrap;
    text-transform: uppercase;
    background: linear-gradient(90deg, #dd3366, #3f51b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}


.iso-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1400px;
}

.iso-section1 {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    /* gap: 40px; */
    max-width: 1400px;
    position: relative;
    z-index: 1;    
    bottom: 55px;

}


.iso-image-container,
.iso-image-container1 {
    position: relative;
    padding-left: 20px;
    flex-shrink: 0; 
}


.iso-image-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background-color: var(--main-color);
    border-radius: 3px;
    height: 70%;
}

.iso-image-container img,
.iso-image-container1 img {
    display: block;
    width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.iso-text-container {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--yellow-light);
    border-bottom: 2px solid var(--main-color);
    border-radius: 10px;
    padding: 12px;
    width: 400px;
}

.logo img {
  width: 200px;
  height: 100px;
}

.iso-text-container .text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    text-align: justify;
}

.iso-section1 h2 {
  color: #3498db;
  font-family: "Playfair Display", serif;
  font-weight: bold;
}

@media (max-width: 768px) {
  .iso-section,
  .iso-section1 {
    flex-direction: column;
    align-items: center; 
    gap: 30px; 
  }

  .iso-section1 {
    bottom: auto;
    margin-top: 30px; 
  }


  .iso-image-container img,
  .iso-image-container1 img,
  .iso-text-container {
    width: 100%;
    max-width: 450px; 
  }

  .logo img {
    width: 180px; 
  }

  .certificated-header h2 {
    font-size: 24px;
  }

  .iso-image-container {
      padding-left: 0;
      width: 100%;
      max-width: 450px;
  }
  .iso-image-container::before {
      left: -15px; 
  }

  .iso-image-container1 {
    padding-left: 0;

  }
}

@media (max-width: 480px) {
  .certificated-section {
    padding: 15px 10px;
    margin: 0 auto;
  }

  .iso-section,
  .iso-section1 {
    gap: 15px;
  }

  .certificated-header h2 {
    font-size: 22px;
  }

  .certificated-header {
    margin-bottom: 20px; 
  }

  .iso-text-container .text p {
    font-size: 14px;
  }

  .logo img {
    width: 150px;
  }

  /* Additional mobile spacing optimizations */
  .wrapper-index > div:not(:last-child) {
    margin-bottom: 15px !important;
  }

  .product-tabs-container {
    padding: 20px 10px;
  }

  .sanpham-header,
  .duan-header,
  .certificated-header {
    margin-bottom: 20px;
  }
}

.duan-section {
    padding: 30px 20px;
}

@media screen and (max-width: 768px) {
    .duan-section {
        padding: 20px 15px;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 480px) {
    .duan-section {
        padding: 15px 10px;
        margin-bottom: 20px;
    }
}

.duan-container {
    max-width: 1200px;
    margin: 0 auto;
}

.duan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.duan-title-group .line {
    width: 60px;
    height: 4px;
    background-color: var(--hover-color);
    border-radius: 2px;
    margin-bottom: 10px;
}

.duan-title-group .main-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-dark);
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.duan-title-group .subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin: 0;
}

.duan-filters {
    display: flex;
    gap: 10px;
}

.duan-filter-btn {
    border: 1px solid var(--main-color);
    background-color: #fff;
    color: var(--main-color);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.duan-filter-btn:hover,
.duan-filter-btn.active {
    background-color: var(--main-color);
    color: #fff;
}

.duan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
    height: auto;
}

.duan-grid-item:nth-child(1) { grid-column: 1; grid-row: 1; }
.duan-grid-item:nth-child(2) { grid-column: 2; grid-row: 1; }
.duan-grid-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.duan-grid-item:nth-child(4) { grid-column: 1; grid-row: 2; }
.duan-grid-item:nth-child(5) { grid-column: 2; grid-row: 2; }
.duan-grid-item:nth-child(6) { grid-column: 3; grid-row: 2; }

.duan-item {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    height: 350px;
    display: block;
}

.duan-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.duan-item:hover img {
    transform: scale(1.03);
}

.duan-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.duan-item:hover .duan-overlay {
    transform: translateY(0);
}

.duan-title {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .duan-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .duan-header {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
    
    .duan-grid {
        position: relative;
        display: block;
        overflow: hidden;
        height: 350px;
        margin-top: 40px;
    }
    
    /* Make text item part of carousel */
    .duan-text-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transform: translateX(100%);
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
        border-radius: 30px;
        padding: 30px;
    }
    
    /* Active text item */
    .duan-text-item.active {
        opacity: 1;
        transform: translateX(0);
        z-index: 2;
    }
    
    /* Previous text item */
    .duan-text-item.prev {
        opacity: 0;
        transform: translateX(-100%);
        z-index: 1;
    }
    
    /* Mobile carousel container */
    .duan-grid-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transform: translateX(100%);
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1;
    }
    
    /* Active item */
    .duan-grid-item.active {
        opacity: 1;
        transform: translateX(0);
        z-index: 2;
    }
    
    /* Previous item */
    .duan-grid-item.prev {
        opacity: 0;
        transform: translateX(-100%);
        z-index: 1;
    }
    
    /* Carousel navigation */
    .duan-carousel-nav {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 12px;
        z-index: 10;
        padding: 10px 20px;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 25px;
        backdrop-filter: blur(10px);
    }
    
    .duan-carousel-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.6);
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid transparent;
        position: relative;
    }
    
    .duan-carousel-dot::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.8);
        transition: all 0.3s ease;
    }
    
    .duan-carousel-dot.active {
        background: rgba(255, 255, 255, 0.9);
        transform: scale(1.3);
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
    }
    
    .duan-carousel-dot.active::after {
        width: 4px;
        height: 4px;
        background: var(--main-color);
    }
    
    /* Carousel arrows */
    .duan-carousel-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.95);
        border: none;
        border-radius: 50%;
        color: var(--main-color);
        font-size: 18px;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(10px);
    }
    
    .duan-carousel-arrow:hover {
        background: rgba(255, 255, 255, 1);
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
        color: var(--hover-color);
    }
    
    .duan-carousel-arrow:active {
        transform: translateY(-50%) scale(0.95);
    }
    
    .duan-carousel-arrow.prev {
        left: 15px;
    }
    
    .duan-carousel-arrow.next {
        right: 15px;
    }
    
    .duan-carousel-arrow i {
        transition: transform 0.2s ease;
    }
    
    .duan-carousel-arrow:hover i {
        transform: scale(1.1);
    }
}

/* Desktop styles - reset mobile carousel for desktop */
@media (min-width: 769px) {
    /* Reset text item to normal grid behavior on desktop */
    .duan-text-item {
        position: static;
        opacity: 1;
        transform: none;
        grid-column: 1;
        grid-row: 1;
        z-index: auto;
    }
    
    /* Hide mobile carousel controls on desktop */
    .duan-carousel-nav,
    .duan-carousel-arrow,
    .mobile-carousel-nav,
    .mobile-carousel-arrow {
        display: none !important;
    }
}

/* Mobile Navigation for News and Reviews */
@media (max-width: 768px) {
    /* News and Reviews sections mobile styling */
    .duan-section {
        position: relative;
    }
    
    .duan-section .owl-carousel1 {
        position: relative;
    }
    
    /* Mobile carousel navigation for owl-carousel */
    .duan-section .mobile-carousel-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid var(--main-color);
        border-radius: 50%;
        color: var(--main-color);
        font-size: 20px;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
    }
    
    .duan-section .mobile-carousel-arrow:hover {
        background: var(--main-color);
        color: white;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    }
    
    .duan-section .mobile-carousel-arrow:active {
        transform: translateY(-50%) scale(0.95);
    }
    
    .duan-section .mobile-carousel-arrow.prev {
        left: 10px;
    }
    
    .duan-section .mobile-carousel-arrow.next {
        right: 10px;
    }
    
    .duan-section .mobile-carousel-arrow i {
        transition: transform 0.2s ease;
        font-weight: bold;
    }
    
    .duan-section .mobile-carousel-arrow:hover i {
        transform: scale(1.1);
    }
    
    /* Mobile dots navigation */
    .mobile-carousel-dots {
        position: absolute;
        bottom: -40px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        z-index: 10;
        padding: 8px 15px;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 20px;
        backdrop-filter: blur(5px);
    }
    
    .mobile-carousel-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .mobile-carousel-dot.active {
        background: rgba(255, 255, 255, 0.9);
        transform: scale(1.2);
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    }
    
    /* Additional spacing for mobile - reduced */
    .duan-section {
        margin-bottom: 30px;
    }
}

.duan-text-item {
    grid-column: 1;
    grid-row: 1;
    /* background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%); */
    border-radius: 30px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 350px;
    /* color: white; */
    text-align: left;
    font-size: 25px;
}

.duan-text-content h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.duan-text-content p {
    font-size: 25px;
    line-height: 1.6;
    margin: 50px 0px 15px 0;
    opacity: 0.9;
}

/* Add specific styles for iPad Air 820x1180 */
@media screen and (min-width: 760px) and (max-width: 990px) {
    .duan-grid {
        display: block;
        overflow: hidden;
        height: 350px;
        margin-top: 40px;
        position: relative;
    }
    
    /* Hide navigation arrows on iPad Air */
    .duan-carousel-arrow.prev,
    .duan-carousel-arrow.next {
        display: none !important;
    }
    
    /* Ensure carousel dots are visible and positioned below items */
    .duan-carousel-nav {
        display: flex !important;
        bottom: -40px !important;
        background: rgba(0, 0, 0, 0.5);
        padding: 8px 15px;
        border-radius: 20px;
    }
    
    /* Make text item part of carousel */
    .duan-text-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transform: translateX(100%);
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
        border-radius: 30px;
        padding: 30px;
    }
    
    /* Active text item */
    .duan-text-item.active {
        opacity: 1;
        transform: translateX(0);
        z-index: 2;
    }
    
    /* Previous text item */
    .duan-text-item.prev {
        opacity: 0;
        transform: translateX(-100%);
        z-index: 1;
    }
    
    /* Hide desktop grid layout */
    .duan-grid-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transform: translateX(100%);
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1;
    }
    
    .duan-grid-item.active {
        opacity: 1;
        transform: translateX(0);
        z-index: 2;
    }
    
    .duan-grid-item.prev {
        opacity: 0;
        transform: translateX(-100%);
        z-index: 1;
    }
}

/* Remove the misplaced CSS rules that were causing syntax errors */

/* Carousel navigation */
.duan-carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.duan-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
}

.duan-carousel-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.duan-carousel-dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.duan-carousel-dot.active::after {
    width: 4px;
    height: 4px;
    background: var(--main-color);
}

/* Carousel arrows */
.duan-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    color: var(--main-color);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.duan-carousel-arrow:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: var(--hover-color);
}

.duan-carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.duan-carousel-arrow.prev {
    left: 15px;
}

.duan-carousel-arrow.next {
    right: 15px;
}

.duan-carousel-arrow i {
    transition: transform 0.2s ease;
}

.duan-carousel-arrow:hover i {
    transform: scale(1.1);
}

.duan-grid-item.prev {
    opacity: 0;
    transform: translateX(-100%);
    z-index: 1;
}

/* ===== END MOBILE SPACING OPTIMIZATIONS ===== */

/* ===== DOCUMENTS PAGE STYLES ===== */
.documents-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.documents-main h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.documents-main p {
    font-size: 16px;
    margin-bottom: 20px;
}

.documents-main a {
    font-size: 16px;
    color: #007bff;
    text-decoration: none;
}

.documents-main a:hover {
    text-decoration: underline;
}

/* ===== CERTIFICATE SECTION STYLES ===== */
.chungnhan-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    cursor: pointer;
}




/* ===== CERTIFICATE SECTION STYLES ===== */
.chungnhan-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    cursor: pointer;
}

.chungnhan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.chungnhan-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.chungnhan-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.xem-them-btn {
    display: inline-block;
    background: var(--hover-color);
    color: white;
    padding: 8px 20px;
    /* border-radius: 20px; */
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 10px;
}

.xem-them-btn:hover {
    /* background: rgba(255, 255, 255, 0.3); */
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

@media (max-width: 768px) {
    .duan-text-item {
        height: 250px;
        padding: 20px;
    }
    
    .duan-text-content h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .duan-text-content p {
        font-size: 13px;
    }
}

.duan-grid-item {
    text-decoration: none;
    display: block;
}

.duan-grid-item:hover {
    text-decoration: none;
}

/* Position project items starting from (1,2) */
.duan-grid-item:nth-child(2) { grid-column: 2; grid-row: 1; }
.duan-grid-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.duan-grid-item:nth-child(4) { grid-column: 1; grid-row: 2; }
.duan-grid-item:nth-child(5) { grid-column: 2; grid-row: 2; }
.duan-grid-item:nth-child(6) { grid-column: 3; grid-row: 2; }

.duan-item {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    height: 350px;
    display: block;
}

.duan-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.duan-item:hover img {
    transform: scale(1.03);
}

.duan-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.duan-item:hover .duan-overlay {
    transform: translateY(0);
}

.duan-title {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.4;
}

.chungnhan-card:hover .chungnhan-image img {
    transform: scale(1.05);
}

.chungnhan-title {
    padding: 20px 15px;
    text-align: center;
    background: #fff;
}

.chungnhan-title h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.chungnhan-card:hover .chungnhan-title h4 {
    color: #dd3366;
}

/* Responsive adjustments for certificates */
@media (max-width: 768px) {
    .chungnhan-card {
        margin-bottom: 15px;
    }
    
    .chungnhan-image img {
        height: 200px;
    }
    
    .chungnhan-title {
        padding: 15px 10px;
    }
    
    .chungnhan-title h4 {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .chungnhan-image img {
        height: 180px;
    }
    
    .chungnhan-title {
        padding: 12px 8px;
    }
    
    .chungnhan-title h4 {
        font-size: 13px;
    }
}
/* ===== END CERTIFICATE SECTION STYLES ===== */

.ykien-card {
    width: 92%;
    height: 400px; /* Reduced from 500px */
    background-color: #fff;
    border: 2px solid var(--main-color);
    border-radius: 20px; /* Reduced from 25px */
    padding: 15px; /* Reduced from 20px originally */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Reduced from 20px */
    margin-top: 5px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* Reduced shadow */
}

.ykien-avatar {
    width: 120px; /* Reduced from 200px */
    height: 120px; /* Reduced from 200px */
    border-radius: 50%; 
    border: 3px solid var(--main-color); /* Reduced from 4px */
    padding: 3px; /* Reduced from 5px */
    background-color: #fff;
}

.ykien-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 50%; 
    display: block;
}

.ykien-info {
    font-size: 15px; /* Reduced from 18px */
    font-weight: 500; /* Reduced from bold */
    color: var(--text-dark);
    text-align: center;
    line-height: 1.4;
    margin: 10px 0;
}

.ykien-stars {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin: 8px 0;
}

.ykien-stars .star {
    font-size: 18px; /* Reduced from larger */
    color: #ddd;
    transition: color 0.2s ease;
}

.ykien-stars .star.active {
    color: #ffc107;
}

.ykien-author h5 {
    font-size: 14px; /* Reduced */
    font-weight: bold;
    color: var(--main-color);
    margin: 0;
}


.tintuc-card {
    width: 100%;
    background-color: #fff;
    border: 2px solid var(--main-color);
    border-radius: 20px; /* Reduced from 30px */
    padding: 18px; /* Slightly reduced from 20px */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 5px;
}

.tintuc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.tintuc-image {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    height: 200px;
}

.tintuc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tintuc-card:hover .tintuc-image img {
    transform: scale(1.05);
}

.tintuc-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.tintuc-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Hide news description on mobile */
@media (max-width: 768px) {
    .tintuc-excerpt {
        display: none;
    }
}

.tintuc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.tintuc-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-light);
}

.tintuc-date svg {
    width: 14px;
    height: 14px;
}

.tintuc-readmore {
    color: var(--hover-color);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tintuc-readmore:hover {
    color: var(--main-color);
    text-decoration: none;
}

.tintuc-readmore-arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.tintuc-readmore:hover .tintuc-readmore-arrow {
    transform: translateX(3px);
}

.tintuc-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.tintuc-image img {
    width: 100%;
    height: auto;
    display: block;
}

.tintuc-timestamp {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 12px;
    text-align: right;
    line-height: 1.4;
}

.tintuc-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: var(--main-color);
    margin: 10px 0;
}

.tintuc-excerpt {
    text-align: center;
    font-size: 16px;
    color: var(--text-dark);
    margin: 0;
}

.tintuc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.tintuc-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--main-color);
    font-size: 14px;
}

.tintuc-date svg {
    width: 24px;
    height: 24px;
}

.tintuc-readmore {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    position: relative;
    padding-bottom: 5px; 
}

.tintuc-readmore:hover {
  color: var(--hover-color);
}

.tintuc-readmore::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--hover-color);
}

.tintuc-readmore-arrow {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: var(--hover-color);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    margin-left: 5px;
}


.project-main {
  padding: 50px 20px;
  margin-top: 150px;
}

.margin-news {
  margin-top: 210px;
}

@media screen and (max-width: 991px) {
  .project-main {
    padding: 25px 0;
    margin-top: 90px;
  }
  
  .project-main .wrapper {
    padding: 0 15px;
  }
  .documents-main .wrapper {
    padding: 0px;
  }

  .margin-news {
    margin-top: 100px;
  }
}

@media screen and (max-width: 768px) {
  .project-main {
    padding: 20px 0;
  }
  
  .project-main .wrapper {
    padding: 0 10px;
  }
  
  .project-main-box {
    width: 100%;
    max-width: 100%;
  }
  
  .col-lg-9.col-md-8.col-12 {
    padding: 0;
  }
  .margin-news {
    margin-top: 100px;
  }
}

.row-news {
  margin: 20px;
  margin-left: 30px;
}

@media screen and (max-width: 767px) {
  .row-news {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .margin-news {
    margin-top: 100px;
  }
}


.project-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
    padding: 20px 0;
}

.project-card {
    width: 100%;
    max-width: 290px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.image-box {
    padding: 10px; 
    background-color: #f7f7f7;
    position: relative;
    overflow: hidden;
}

.image-box img {
    width: 100%;
    height: 200px; 
    object-fit: cover;
    border-radius: 10px;
}

/* Product overlay styles */
.product-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
    border-radius: 10px;
}

.project-card:hover .product-overlay {
    opacity: 1;
    visibility: visible;
}

.detail-button {
    background: #007bff;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transform: translateY(10px);
}

.project-card:hover .detail-button {
    transform: translateY(0);
}

.detail-button:hover {
    background: #0056b3;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    color: white;
    text-decoration: none;
}

.detail-button i {
    font-size: 16px;
}

.detail-button span {
    font-family: inherit;
}

/* Support Channel Styles */
.social_fixed {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
}

.support-channel {
    display: flex;
    flex-direction: column;
}

.support-item {
    position: relative;
    margin-bottom: 2px;
}

.support-link {
    display: flex;
    align-items: center;
    background: var(--main-color);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    width: 60px;
    height: 60px;
    position: relative;
    justify-content: center;
}

.support-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-size: 28px;
    color: white;
    background: var(--main-color);
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.support-details {
    display: flex;
    flex-direction: column;
    padding: 0 15px;
    background: var(--main-color);
    height: 60px;
    justify-content: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 140px;
    position: absolute;
    left: 60px;
    top: 0;
}

.support-title {
    font-size: 12px;
    font-weight: bold;
    color: white;
    line-height: 1.2;
}

.support-info {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.2;
}

/* Hover Effects - Show entire support channel on hover */
.support-channel:hover .support-item .support-link {
    width: 200px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.support-channel:hover .support-item .support-details {
    opacity: 1;
    transform: translateX(0);
}

.support-channel:hover .support-item .support-icon {
    background: var(--main-color);
}

/* QR Code Special Styling */
.support-item.qr-code .support-link {
    cursor: default;
}

.support-item.qr-code:hover .support-link {
    background: var(--main-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .social_fixed {
        display: none;
    }
}

@media (max-width: 1024px) {
    .support-link {
        width: 50px;
        height: 50px;
        justify-content: center;
    }
    
    .support-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .support-details {
        height: 50px;
        min-width: 120px;
        padding: 0 12px;
        position: absolute;
        left: 50px;
        top: 0;
    }
    
    .support-item:hover .support-link {
        width: 170px;
    }
}

.project-content {
    padding: 15px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--main-color);
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

.card-details {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: var(--main-color); 
}

.card-details li {
    margin-bottom: 5px;
}

/* Responsive grid for different screen sizes */
@media (max-width: 1200px) {
    .project-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .project-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
        margin: 0 auto;
        max-width: 100%;
        justify-items: center;
    }
    
    .row-news {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .project-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px 15px;
        margin: 0 auto;
        max-width: 100%;
        justify-items: center;
    }
    
    .project-card {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* Mobile Contact Bar - PERMANENTLY FIXED AT BOTTOM */
.mobile-contact-bar {
    display: none; /* Hidden by default, shown only on mobile */
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: linear-gradient(90deg, #dd3366, #3f51b5) !important; /* Green background matching reference */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2) !important;
    z-index: 999999999 !important; /* Maximum z-index to stay on top of everything */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    transition: none !important;
}

.mobile-contact-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 5px;
    gap: 2px;
    max-width: 100%;
}

.mobile-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    padding: 8px 4px;
    border-radius: 6px;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    background: transparent;
    min-height: 50px;
}

.mobile-contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.mobile-contact-item:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.2);
}

.mobile-contact-item i {
    font-size: 20px;
    margin-bottom: 4px;
    color: white;
}

.mobile-contact-item span {
    font-size: 10px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Custom icons for specific services */
.mobile-contact-item i.fab.fa-zalo {
    background: white;
    color: #6f489d;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.mobile-contact-item i.fab.fa-zalo:before {
    content: "Z";
    font-family: Arial, sans-serif;
    font-weight: bold;
}

/* FORCE DISPLAY ON ALL MOBILE DEVICES - ALWAYS VISIBLE */
@media (max-width: 991px) {
    .mobile-contact-bar {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999999999 !important;
        transform: none !important;
        transition: none !important;
    }
    
    /* Add bottom padding to body to prevent content overlap */
    body {
        padding-bottom: 80px !important;
    }
    
    /* Ensure other elements don't interfere */
    footer {
        margin-bottom: 80px !important;
    }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 480px) {
    .mobile-contact-items {
        padding: 6px 3px;
    }
    
    .mobile-contact-item {
        padding: 6px 2px;
        min-height: 45px;
    }
    
    .mobile-contact-item i {
        font-size: 18px;
    }
    
    .mobile-contact-item span {
        font-size: 9px;
    }
}

@media (max-width: 360px) {
    .mobile-contact-items {
        padding: 5px 2px;
    }
    
    .mobile-contact-item {
        padding: 5px 1px;
        min-height: 40px;
    }
    
    .mobile-contact-item i {
        font-size: 16px;
        margin-bottom: 2px;
    }
    
    .mobile-contact-item span {
        font-size: 8px;
    }
}

/* ===== MOBILE HEADER LAYOUT STYLES ===== */

/* Update flex layout to properly position logo left and controls right */
.flex_menumobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 45px;
    gap: 10px;
    padding: 0 15px;
}

/* Logo container on the left */
.flex_menumobile .logommenu {
    flex-shrink: 0;
}

.flex_menumobile .logommenu .logo-head img {
    max-height: 35px;
    width: auto;
}

/* Right controls container */
.mobile-right-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Search styling */
.mobile-right-controls .search {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 5px 10px;
    min-width: 200px;
}

.mobile-right-controls .search input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    flex: 1;
    font-size: 14px;
    padding: 5px;
}

.mobile-right-controls .search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.mobile-right-controls .search p {
    margin: 0;
    cursor: pointer;
    color: white;
    font-size: 16px;
    padding: 2px 5px;
    display: flex;
    align-items: center;
}

.mobile-right-controls .search p:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Menu icon styling */
.mobile-right-controls .menu-icon {
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.mobile-right-controls .menu-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-right-controls .menu-icon i {
    font-size: 22px;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .flex_menumobile {
        padding: 0 10px;
        gap: 8px;
    }
    
    .mobile-right-controls .search {
        min-width: 150px;
    }
    
    .flex_menumobile .logommenu .logo-head img {
        max-height: 30px;
    }
    
    .mobile-right-controls .menu-icon i {
        font-size: 20px;
    }
}

@media (max-width: 360px) {
    .mobile-right-controls .search {
        min-width: 120px;
    }
    
    .mobile-right-controls .search input {
        font-size: 13px;
    }
}

/* ===== END MOBILE HEADER LAYOUT STYLES ===== */

/* ===== MOBILE SPACING OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    /* Reduce general spacing between sections */
    .wrapper-index > div {
        margin-bottom: 25px;
    }
    
    /* Optimize header spacing */
    .section-header,
    .sanpham-header,
    .duan-header,
    .certificated-header {
        margin-bottom: 25px;
    }
    
    /* Reduce padding for all main sections */
    .introduce-main,
    .sanpham-section,
    .duan-section,
    .certificated-section {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    /* Product page mobile optimizations */
    .project-main .row {
        margin: 0;
    }
    
    .project-main .col-lg-9 {
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Center align product grid container */
    .row-news {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 0;
    }
    
    .project-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: grid;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 480px) {
    /* Further reduce spacing on smaller mobile devices */
    .wrapper-index > div {
        margin-bottom: 15px;
    }
    
    .section-header,
    .sanpham-header,
    .duan-header,
    .certificated-header {
        margin-bottom: 15px;
    }
    
    /* Minimal padding for smallest screens */
    .introduce-main,
    .sanpham-section,
    .duan-section,
    .certificated-section {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    
    /* Perfect center alignment for single column layout */
    .project-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 10px;
        margin: 0 auto;
    }
    
    .project-card {
        width: 100%;
        max-width: 280px;
        margin: 10px auto;
    }
}
/* ===== END MOBILE SPACING OPTIMIZATIONS ===== */

/* ===== DOCUMENTS PAGE STYLES ===== */
.documents-main {
    padding: 50px 20px;
    margin-top: 150px;
    background-color: #f8f9fa;
}

@media screen and (max-width: 991px) {
    .documents-main {
        padding: 25px 15px;
        margin-top: 90px;
    }
}

.documents-container {
    margin: 0 auto;
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Header Section */
.documents-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 40px 20px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.documents-header-news {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 40px 20px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.documents-header h2 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    background: linear-gradient(90deg, #dd3366, #3f51b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.documents-header-news h2 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    color: var(--main-color);
    text-shadow: none;
}

.documents-header .decorative-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #dd3366);
    border-radius: 2px;
}

/* Filter Section */
.filter-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 25px 20px;
    background: white;
    border-bottom: 1px solid #e9ecef;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3f51b5;
    cursor: pointer;
}

.filter-item label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

.filter-item input[type="checkbox"]:checked + label {
    color: #3f51b5;
    font-weight: 600;
}

/* Documents Table */
.documents-table-container {
    padding: 0;
    overflow-x: auto;
}

.documents-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: white;
}

.documents-table thead {
    background: linear-gradient(90deg, #8e44ad, #9b59b6);
}

.documents-table thead th {
    padding: 15px 20px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    color: white;
    border: 1px solid #7d3c98;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.documents-table tbody tr {
    transition: all 0.3s ease;
}

.documents-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.documents-table tbody tr:hover {
    background-color: #e3f2fd;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.documents-table tbody td {
    padding: 15px 20px;
    text-align: center;
    border: 1px solid #dee2e6;
    font-size: 14px;
    color: #333;
    vertical-align: middle;
}

.documents-table tbody td:first-child {
    font-weight: bold;
    color: #8e44ad;
}

.documents-table tbody td:nth-child(2) {
    color: #666;
    font-style: italic;
}

.documents-table tbody td:nth-child(3) {
    text-align: left;
}

.documents-table tbody td:nth-child(3) a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.documents-table tbody td:nth-child(3) a:hover {
    color: #3f51b5;
    text-decoration: underline;
}

.documents-table tbody td:nth-child(4) {
    font-weight: 600;
    color: #28a745;
}

/* View Detail Button */
.view-detail-btn {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(90deg, #28a745, #20c997);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.view-detail-btn:hover {
    background: linear-gradient(90deg, #218838, #1e7e34);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
    color: white;
    text-decoration: none;
}

/* No Data State */
.no-data {
    padding: 40px 20px;
    text-align: center;
}

.no-data .alert {
    margin: 0;
    border-radius: 10px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

/* Search Results */
.search-results {
    background: white;
    padding: 15px 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    color: #333;
}

.search-results span {
    color: #dd3366;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .documents-header h2 {
        font-size: 22px;
    }
    
    .filter-section {
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px 15px;
    }
    
    .documents-table thead th,
    .documents-table tbody td {
        padding: 10px 8px;
        font-size: 12px;
    }
    
    .documents-table thead th {
        font-size: 14px;
    }
    
    .view-detail-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .documents-header {
        padding: 30px 15px 20px;
        gap: 15px;
    }
    
    .documents-header .decorative-line {
        width: 60px;
        height: 3px;
    }
    
    .filter-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .documents-table {
        font-size: 11px;
    }
    
    .documents-table thead th,
    .documents-table tbody td {
        padding: 8px 4px;
    }
    
    .documents-table tbody td:nth-child(3) {
        text-align: center;
        word-break: break-word;
    }
}
/* ===== END DOCUMENTS PAGE STYLES ===== */

/* ===== PRODUCT TAB INTERFACE STYLES (Updated to match reference image) ===== */
.product-tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: white;
}

/* Product Tabs Grid */
.product-tabs-wrapper {
    margin-bottom: 0;
}

.product-tabs-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 1px;
    background: #ddd;
    border: 1px solid #ddd;
}

/* Individual Product Tab Item */
.product-tab-item {
    background: #f5f5f5;
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid transparent;
}

/* Active tab with gradient - ONLY active tabs get the gradient */
.product-tab-item.active {
    background: linear-gradient(90deg, #dd3366, #3f51b5) !important;
    color: white;
    border-color: #ff6b35;
}

/* Hover effects for non-active tabs */
.product-tab-item:not(.active):hover {
    background: #e0e0e0;
    border-color: #ccc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Enhanced hover effect for active tab */
.product-tab-item.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

/* Product Tab Image */
.product-tab-image {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-tab-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.8);
    border-radius: 50%;
}

.product-tab-item.active .product-tab-image img {
    filter: brightness(1) contrast(1.2);
}

/* Enhanced hover effects for product image */
.product-tab-item:hover .product-tab-image {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.product-tab-item.active .product-tab-image {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

/* Product Tab Title */
.product-tab-title {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    color: #333;
}

.product-tab-item.active .product-tab-title {
    color: white;
}

/* Arrow indicator for active tab */
.tab-arrow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ff6b35;
}

/* Product Details Section */
.product-details-section {
    background: white;
    border: 1px solid #ddd;
    border-top: none;
}

.product-detail-panel {
    display: none;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-detail-panel.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.3s ease;
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Product Info Layout */
.product-info {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.product-info-left {
    flex: 1;
    max-width: 60%;
}

.product-info-right {
    flex: 1;
    max-width: 40%;
    text-align: right;
}

/* Product Badge */
.product-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.badge-icon {
    font-size: 24px;
}

.badge-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
}

/* Product Description */
.product-description {
    margin-bottom: 25px;
}

.product-description p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    text-align: justify;
    margin: 0;
}

/* View More Link */
.view-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff6b35;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.view-more-link:hover {
    color: #e55a2b;
    text-decoration: none;
    transform: translateX(5px);
}

.link-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.view-more-link:hover .link-icon {
    transform: translateX(3px);
}

/* Product Image */
.product-image {
    max-width: 400px;
    margin-left: auto;
}

.product-image img {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-image img:hover {
    transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .product-tabs-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 900px) {
    .product-tabs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .product-info {
        flex-direction: column;
        gap: 30px;
    }
    
    .product-info-left,
    .product-info-right {
        max-width: 100%;
    }
    
    .product-info-right {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .product-tabs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-tab-item {
        padding: 15px 8px;
        min-height: 100px;
    }
    
    .product-tab-image {
        width: 40px;
        height: 40px;
        padding: 6px;
    }
    
    .product-tab-title {
        font-size: 10px;
    }
    
    .product-detail-panel {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .product-tabs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .badge-text {
        font-size: 18px;
    }
    
    .product-description p {
        font-size: 13px;
    }
}

/* No Products Fallback Styling */
.no-products-message {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    padding: 40px;
}

.no-products-content {
    text-align: center;
    max-width: 500px;
}

.no-products-content h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.no-products-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.no-products-content .btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ff6b35;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.no-products-content .btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
    color: white;
    text-decoration: none;
}

/* ===== BREADCRUMB STYLES ===== */
.breadCrumbs {
    background-color: #eee;
    position: relative;
    z-index: 1;
    top: 195px;
}

.breadCrumbs .wrapper {
    padding: 0.75rem 15px;
}

.breadCrumbs .wrapper .breadcrumb {
    padding: 0;
    margin-bottom: 0;
    background-color: transparent;
    border-radius: 0;
}

.breadCrumbs .wrapper .breadcrumb-item a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadCrumbs .wrapper .breadcrumb-item a:hover {
    color: var(--main-color);
}

.breadCrumbs .wrapper .breadcrumb-item.active a {
    color: #6c757d;
}

/* Responsive adjustments for breadcrumbs */
@media (max-width: 991px) {
    .breadCrumbs {
        top: 100px; /* Smaller margin for mobile */
    }
}

/* ===== GOOGLE MAPS SECTION ===== */
.google-maps-section {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.maps-container {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
}

.maps-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    margin: 0;
    padding: 0;
}

/* Responsive adjustments for Google Maps */
@media (max-width: 768px) {
    .maps-container {
        height: 350px; /* Smaller height on mobile */
    }
}

@media (max-width: 480px) {
    .maps-container {
        height: 300px; /* Even smaller on very small screens */
    }
}

.fot_phone:before {
    content: '';
    width: 16px;
    height: 18px;
    background: url(../images/icon.png) no-repeat;
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
    margin-right: 10px;
    background-position: -47px -151px;
}
.fot_mail:before { 
    content: '';
    width: 16px;
    height: 18px;
    background: url(../images/icon.png) no-repeat;
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
    margin-right: 10px;
    background-position: -22px -150px;
}
.fot_address:before { 
    content: '';
    width: 16px;
    height: 18px;
    background: url(../images/icon.png) no-repeat;
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
    margin-right: 10px;
    background-position: 0px -151px;
}
.hide { display: none !important; }

/* Sticky header fixes */
.block-menu.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: white;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Add padding to body when header is sticky to prevent content jump */
body {
  transition: padding-top 0.3s ease;
}

body.header-is-sticky {
  padding-top: 0; /* Padding is set dynamically by JavaScript */
}
body.header-is-sticky {
  padding-top: 0; /* Padding is set dynamically by JavaScript */
}

.search-position { 
  position: fixed;
  right: 50px;
}
@media (min-width: 810px) { 
  .search-position { 
    right: 80px;
  }
}
