.header {
    position: relative;
	color: #fff;
    z-index: 4;
    .top-bar {
		background-color: var(--rootcolor1);
		font-size: 14px;
		@media (max-width: 768px) {
			font-size: 11px;
		}

    .container {
      display: flex;
      justify-content: flex-end;
      padding: 6px 20px;

      .contact-info {
        display: flex;
        gap: 24px;

        i {
          margin-right: 6px;
          color: #fff;
        }

        a {
          color: #fff;
          text-decoration: none;

          &:hover {
            text-decoration: underline;
          }
        }
      }
    }
  }

  .main-header {
    background: var(--rootcolor1);
    background-size: cover;
    background-position: center;
	position: relative;
	transition: all 0.3s ease;
	z-index: 999;
	  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
 
	&.is-sticky {
	  position: fixed;
	  top: 0;
	  left: 0;
	  right: 0;
	  animation: slideDown 0.3s ease;
	}

    .container {
	  padding: 4px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: relative;
    }

    .logo img {
		height: 54px;
		width: auto;
		margin: -20px 0;
		@media (max-width: 992px) {
            height: 34px;
            margin-left: 10px;
        }
    }
    /* MENU CHÍNH */
    .main-nav {
      flex: 1;
      margin: 0 40px;
      height: 66px;
	  top: 0;
		display: flex;
		justify-content: right;

		.menu-item-has-children > a .arrow {
		  font-size: 10px;
		  margin-left: 8px;
		}
      .menu {
        display: flex;
        align-items: center;
        justify-content: center;
        list-style: none;
        margin: 0;
        padding: 0;
		> .menu-item > a {
			text-transform: uppercase;
		}

        .menu-item {
          position: relative;
          list-style: none;

          a {
            display: block;
            padding: 14px 18px;
            color: #fff;
            font-weight: 600;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s ease;

            &:hover {
              color: #00aaff;
            }
          }

          .sub-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: #fff;
            min-width: 220px;
            border-radius: 6px;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
            padding: 0;
            z-index: 99; 
			list-style: none;
            li {
				list-style: none;
			}
            li a {
              color: #333;
              padding: 10px 20px;
              display: block;

              &:hover {
                background-color: var(--rootcolor2);
                color: #fff;
              }
            }
          }

          &:hover > .sub-menu {
            display: block;
          }
        }
      }
    }

    /* ICONS & LANGUAGE */
    .header-right {
      display: flex;
      align-items: center;
      gap: 16px;

      .icon-btn {
        background: none;
        border: none;
        color: #fff;
        font-size: 18px;
        cursor: pointer;
        transition: color 0.3s ease;
        &:hover {
          color: #00aaff;
        }
      }
	.micon {
	  display: none;
	}

      .language {
        display: flex;
        align-items: center;
        gap: 6px;
        font-weight: 600;
        cursor: pointer;

        &:hover {
          color: #00aaff;
        }
      }
    }
  }
.search_overlay {
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.3s ease;

  &.active {
    display: flex;
  }

  .search_box {
    position: relative;
    width: 90%;
    max-width: 600px;
    text-align: center;
    animation: fadeInUp 0.3s ease forwards;

    form {
      display: flex;
      align-items: center;
      background: #fff;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

      input {
        flex: 1;
        padding: 14px 18px;
        border: none;
        font-size: 16px;
        color: #333;
        outline: none;
      }

      button {
        background: #2a93d5; /* xanh dương */
        color: #fff;
        border: none;
        padding: 14px 18px;
        cursor: pointer;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s;

        &:hover {
          background: #1976b3;
        }
      }
    }

    .close_search {
      position: absolute;
      bottom: -60px;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(255,255,255,0.2);
      border: 1px solid rgba(255,255,255,0.4);
      color: #fff;
      font-size: 20px;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      cursor: pointer;
      transition: all 0.3s ease;

      &:hover {
        background: rgba(255,255,255,0.4);
      }
    }
  }
}

  @media (max-width: 992px) {
	.main-header {
        .container {
			padding: 12px 0;
        }
		.main-nav {
		  flex: none;
			display: none;
		  margin: 0;
		  position: absolute;
		  top: 100%;
		  width: 100%;
          background: #fff;
            .menu li.menu-item a {
              color: #333;
              padding: 10px 20px;
              display: block;

              &:hover {
                background-color: #f0f4ff;
                color: #072b6f;
              }
            }
            .menu {
                display: block;
			}
			.sub-menu {
				width: 100%;
				box-shadow: none !important;
				padding: 0 20px !important;
			}
		}
        .header-right {
            padding-right: 15px;
			.micon {
			  display: block;
			}
        }
        &.is-open .main-nav {
			display: block;
        }
		
    }
      	
  }
}
.top_slide {
  width: 100%;
  margin: 0 auto;
  position: relative;

  .swiper {
    width: 100%;
  }

  .swiper-slide {
    position: relative;
    overflow: hidden;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 50%;
    color: #fff;
    &:after {
      font-size: 16px;
    }
  }

  .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
  }

  .swiper-pagination-bullet-active {
    opacity: 1;
  }
}
.home.blog .site-wrapper {
  padding: 0;
}

.about-afk {
    background: #f5f5f7;
    padding: 80px 0;

    .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 60px;

        @media (min-width: 1200px) {
            padding: 0 40px;
        }

        @media (max-width: 900px) {
            flex-direction: column;
            text-align: center;
        }
    }

    .about-left {
        flex: 1;

        h1 {
            font-size: 64px;
            font-weight: 800;
            color: #222;
            line-height: 1.15;

            @media (max-width: 900px) {
                font-size: 42px;
            }
        }
    }

    .about-right {
        flex: 1.2;

        p {
            font-size: 20px;
            line-height: 1.7;
            color: #333;
            margin-bottom: 30px;

            @media (max-width: 900px) {
                font-size: 18px;
            }
        }

        .btn-primary {
            display: inline-block;
            padding: 16px 40px;
            background: var(--rootcolor1);
            color: white;
            border-radius: 10px;
            font-size: 20px;
            font-weight: 500;
            text-decoration: none;

            &:hover {
                opacity: 0.9;
            }

            @media (max-width: 900px) {
                font-size: 18px;
            }
        }
    }
}
.afk-title {
	text-align: center;
	font-size: 40px;
	font-weight: 800;
	margin-bottom: 40px;
	position: relative;
    color: var(--rootcolor3);
	&.white {
		color: #fff;
		&:after {
			background-color: #fff;
		}
	}
	&:after {
        content: '';
        display: block;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 4px;
        margin: auto;
        background-color: var(--rootcolor3);
        margin-top: 20px;
	}
}

.services-afk {
    background: #f6f6f6;
    padding: 60px 0;


    .container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 40px;

        @media (max-width: 900px) {
            grid-template-columns: 1fr;
            text-align: center;
        }
    }

    .service-item {
        display: flex;
        align-items: center;
        gap: 25px;

        @media (max-width: 900px) {
            flex-direction: column;
        }

        .service-icon img {
            width: 200px;
            height: auto;

            @media (max-width: 900px) {
                width: 160px;
            }
        }

        .service-text {
            h3 {
                font-size: 26px;
                font-weight: 800;
                margin-bottom: 10px;
                color: #222;
            }

            p {
                font-size: 18px;
                line-height: 1.6;
                color: #444;
                max-width: 420px;

                @media (max-width: 900px) {
                    max-width: none;
                }
            }
        }
    }
}
.featured-afk {
    background: #2f3a75;
    padding: 80px 0 120px;
    text-align: center;

    .featured-card {
        background: #fff;
        border-radius: 6px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        overflow: hidden;
        text-align: left;

        .featured-img {
            width: 100%;
            display: block;
        }

        .featured-info {
            padding: 20px;

            h3 {
                font-size: 22px;
                font-weight: 700;
                color: #222;
                margin-bottom: 6px;
            }

            p {
                font-size: 16px;
                color: #777;
            }
        }
    }

    /* Pagination */
    .swiper-pagination-bullet {
        background: #fff;
        opacity: 0.4;
    }
    .swiper-pagination-bullet-active {
        opacity: 1;
        background: #fff;
    }
}
.partners-afk {
    padding: 80px 0 100px;
    background: #f8f8f8;
    text-align: center;

    .partners-title {
        font-size: 42px;
        font-weight: 800;
        color: #222;
        margin-bottom: 10px;
    }

    .partners-divider {
        width: 80px;
        height: 4px;
        background: #1b1e37;
        border-radius: 4px;
        margin: 0 auto 50px;
    }

    .partners-swiper {
        max-width: 1300px;
        margin: auto;
        padding-bottom: 40px;

        .swiper-slide {
            display: flex;
            justify-content: center;
            align-items: center;

            .partner-logo {
                width: 160px;
                height: auto;
                object-fit: contain;
                transition: transform .2s ease;
            }

            .partner-logo:hover {
                transform: scale(1.05);
            }
        }
    }

    /* PAGINATION */
    .swiper-pagination-bullet {
        background: #1b1e37;
        opacity: 0.3;
    }

    .swiper-pagination-bullet-active {
        opacity: 1;
        background: #1b1e37;
    }
}
.vt_news {
    position: relative;
    margin: 60px 0;
    background: #fff;
    z-index: 1;
  
	.container {
		position: relative;
	}

  .newsSwiper  {
    overflow: hidden !important;
  }


  .swiper {
    overflow: visible;
    padding-bottom: 10px;
    position: relative;
  }

  .news-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: all 0.3s ease;

    &:hover {
      transform: translateY(-6px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .img-box {
      width: 100%;
      aspect-ratio: 4/3;
      border-radius: 12px;
      overflow: hidden;
      background: #d9d9d9;
      margin-bottom: 15px;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
      }

      &:hover img {
        transform: scale(1.05);
      }
    }

    .meta {
      display: flex;
      align-items: center;
      gap: 20px;
      color: #666;
      font-size: 1.1rem;
      margin-bottom: 10px;

      i {
        margin-right: 5px;
        color: #999;
      }
    }

    h3 {
      font-size: 1.25rem;
      font-weight: 700;
      color: #003366;
      margin-bottom: 10px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

      a {
        color: inherit;
        text-decoration: none;
        transition: color 0.3s ease;

        &:hover {
          color: #00aaff;
        }
      }
    }

    p {
      font-size: 14px;
      color: #555;
      line-height: 1.6;
      margin-bottom: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    }
  }
}


.join-afk {
    background: #f5f5f7;
    padding: 80px 0 100px;

    .container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 60px;

        @media (max-width: 900px) {
            grid-template-columns: 1fr;
            text-align: center;
        }
    }

    .join-item {
        text-align: center;

        .join-icon {
            width: 160px;
            margin-bottom: 25px;

            @media (max-width: 900px) {
                width: 130px;
            }
        }

        h3 {
            font-size: 24px;
            font-weight: 800;
            color: #2a2a3b;
            margin-bottom: 16px;
        }

        p {
            font-size: 18px;
            line-height: 1.6;
            color: #555;
            max-width: 380px;
            margin: 0 auto;
        }
    }

    .join-btn-wrap {
        text-align: center;
        margin-top: 50px;
    }

    .join-btn {
        display: inline-block;
        padding: 16px 40px;
        background: var(--rootcolor1);
        color: #fff;
        font-size: 20px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;

        &:hover {
            opacity: 0.9;
        }
    }
}

.afk-footer {
    background: #2f3a75;
    color: #fff;
    padding: 40px 20px;
    font-family: 'Roboto', sans-serif;

    .container {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer-left,
    .footer-mid,
    .footer-right {
        flex: 1 1 300px;
    }

    .footer-logo {
        width: 180px;
        margin-bottom: 20px;
    }

    strong {
        color: #fff;
        font-size: 18px;
    }

    p {
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .footer-bottom {
        min-width: 100%;
        font-size: 14px;
        opacity: 0.7;

		.footer-links {
			list-style: none;
			padding: 0;
			display: flex;
			gap: 20px;
			border-top: 1px solid;
			padding-top: 20px;

			li {
				margin: 5px 0;

				a {
					color: #fff;
					text-decoration: none;

					&:hover {
						text-decoration: underline;
					}
				}
			}
		}
    }
}
