/**
* Template Name: FlexStart - v1.2.0
* Template URL: https://bootstrapmade.com/flexstart-bootstrap-startup-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  color: #444444;
  /* margin: 0;
  padding: 0; */
}

a {
  color: #4154f1;
  text-decoration: none;
}

a:hover {
  color: #717ff5;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Arial;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-header {
  text-align: center;
  padding-bottom: 40px;
}

.section-header h2 {
  font-family: "Segoe UI", "Roboto", "Noto Sans", Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #3ecfff, #003399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-header p {
  max-width: 720px;
  margin: 0 auto 30px;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 768px) {
  .section-header p {
    font-size: 28px;
    line-height: 32px;
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: #012970;
  min-height: 40px;
  margin-top: 82px;
  color: #fff;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 57px;
  }
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 500;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol a {
  color: #fff;
  transition: 0.3s;
}

.breadcrumbs ol a:hover {
  text-decoration: underline;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #8894f6;
  content: "/";
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #4154f1;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #6776f4;
  color: #fff;
}

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

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  /* transition: all 0.5s;
  z-index: 997;
  padding: 20px 0; */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-bottom: none !important;
  box-shadow: none !important;
}
.header a {
  color: #fff; /* trắng ngay từ đầu */
  transition: color 0.3s ease;
}

.header {
  background: #fff;
  padding: 15px 0;
  box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
}

.header .logo {
  line-height: 0;
}

.header .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.header .logo span {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #012970;
  font-family: "Nunito", sans-serif;
  margin-top: 3px;
}
#hero.hero {
  /* margin-top: 0 !important;
  padding-top: 0 !important; */
  background-color: transparent !important; /* bỏ lớp nền xám mờ */
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: Arial;
  font-size: 16px;
  font-weight: 700;
  color: #013289;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar li:hover > a {
  color: #4154f1;
}

.navbar .getstarted {
  background: #4154f1;
  padding: 8px 20px;
  margin-left: 30px;
  border-radius: 4px;
  color: #fff;
}

.navbar .getstarted:hover {
  color: #fff;
  background: #5969f3;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 4px;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 15px;
  text-transform: none;
  font-weight: 600;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  color: #4154f1;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #012970;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(1, 22, 61, 0.9);
  transition: 0.3s;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 10px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a {
  padding: 10px 20px;
  font-size: 15px;
  color: #012970;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: #4154f1;
}

.navbar-mobile .getstarted {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
  color: #4154f1;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-content {
  max-width: 800px; /* Thu gọn nội dung để không bị dàn rộng */
  color: white;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2; /* Căn lại khoảng cách dòng */
  margin-bottom: 20px;
  color: white !important;
}

.hero-content p {
  margin-top: 40px;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.btn-get-started {
  background: #1a57ff;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-get-started:hover {
  background: #0039e6;
}

.hero {
  margin-top: 70px;
  width: 100%;
  min-height: 95vh !important; /* giới hạn chiều cao hero (90% chiều cao màn hình) */
  background: url(../img/technology1.jpg) center center / cover no-repeat;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero .initials {
  font-size: clamp(24px, 4vw, 42px); 
  font-weight: 700;
  line-height: 1.2;
  color: white !important;
  margin-bottom: 20px;
}

.hero p{
  margin-top: 20px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2; /* giúp chữ nổi lên trên lớp phủ */
}

.hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  color: #012970;
}

.hero h2 {
  color: #444444;
  margin: 15px 0 0 0;
  font-size: 26px;
}

.hero .btn-get-started {
  margin-top: 30px;
  line-height: 0;
  padding: 15px 40px;
  border-radius: 4px;
  transition: 0.5s;
  color: #fff;
  background: #1b49b6;
  box-shadow: 0px 5px 30px rgba(65, 84, 241, 0.4);
}
.hero .btn-get-started:hover {
  background: rgb(16, 0, 238);
}

.hero .btn-get-started span {
  font-family: Arial;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
}

.hero .btn-get-started i {
  margin-left: 5px;
  font-size: 18px;
  transition: 0.3s;
}

.hero .btn-get-started:hover i {
  transform: translateX(5px);
  /* background: #ff8533;  */
}

.hero .hero-img {
  /* text-align: right; */
  text-align: right;
  overflow: hidden; /* ngăn ảnh tràn */
}

@media (min-width: 1024px) {
  .hero {
    background-attachment: fixed;
  }
}

@media (max-width: 991px) {
  .hero {
    height: auto;
    padding: 120px 0 60px 0;
  }
  .hero .hero-img {
    text-align: center;
    margin-top: 80px;
  }
  .hero .hero-img img {
    /* width: 80%; */
    /* width: 100%;
    height: auto;
    max-height: 500px; tăng giới hạn chiều cao */
    width: 100%;
    max-width: 600px; /* tùy kích thước mong muốn */
    height: auto;
    border-radius: 8px; /* nếu muốn bo góc ảnh */
    object-fit: cover; /* đảm bảo ảnh vừa khung, không méo */
  }
}

@media (max-width: 768px) {
  .hero {
    text-align: center;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero h2 {
    font-size: 24px;
  }
  .hero .hero-img img {
    width: 100%;
  }
}
/* .hero-content h1 {
  white-space: nowrap; 
  overflow: visible; 
  font-size: clamp(28px, 4vw, 52px);
} */

@media (max-width: 992px) {
  .hero-content h1 {
    white-space: normal; /* Màn nhỏ thì cho xuống hàng */
  }
}


/*--------------------------------------------------------------
# Index Page
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/


.about .content {
  background-color: #f6f9ff;
  padding: 40px;
}

.about h3 {
  font-size: 14px;
  font-weight: 700;
  color: #4154f1;
  text-transform: uppercase;
}

.about h2 {
  font-size: 24px;
  font-weight: 700;
  color: #012970;
}

.about p {
  margin: 15px 0 30px 0;
  line-height: 24px;
}

.about .btn-read-more {
  line-height: 0;
  padding: 15px 40px;
  border-radius: 4px;
  transition: 0.5s;
  color: #fff;
  background: #4154f1;
  box-shadow: 0px 5px 25px rgba(65, 84, 241, 0.3);
}

.about .btn-read-more span {
  font-family: Arial;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
}

.about .btn-read-more i {
  margin-left: 5px;
  font-size: 18px;
  transition: 0.3s;
}

.about .btn-read-more:hover i {
  transform: translateX(5px);
}

#about .feture-tabs {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Màu nền About */
#about > .container > .row:first-child {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
  padding: 50px 40px;
  margin-bottom: 60px;
}

#about .container {
  background: #ffffff;
  border-radius: 16px;
  padding: 50px 40px;
}



/* -------------------------------------------------------------
# NEW: Slider Style cho ảnh tin tức
------------------------------------------------------------- */

/* Ảnh slider luôn cùng kích thước */
.slider-img {
  width: 100%;
  height: 380px;         /* bạn có thể chỉnh 350–450 tùy layout */
  object-fit: cover;     /* ảnh luôn crop đẹp */
  border-radius: 15px;
}
/* Đảm bảo slider cao bằng cột trái */
#aboutCarousel,
#aboutCarousel .carousel-inner,
#aboutCarousel .carousel-item {
    height: 100%;
}

/* Ảnh auto khớp chiều cao cột */
.slider-img-full {
    width: 100%;
    height: 95%;
    object-fit: cover;
    border-radius: 16px;
}

/* Caption */
/* .carousel-caption-custom {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    background: rgba(0, 0, 0, 0.55);
    padding: 12px 18px;
    border-radius: 12px;
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
} */


/* Điều hướng sáng hơn */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}


/* Caption tiêu đề nằm giữa dưới ảnh, giống ảnh mẫu bạn gửi */
.carousel-caption-custom {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 107%;
    padding: 14px 22px;

    /* background: rgba(0, 0, 0, 0.35);      nền tối nhẹ */
    background: #f6f9ff;      /* nền tối nhẹ */
    backdrop-filter: blur(6px);           /* hiệu ứng glass blur */
    -webkit-backdrop-filter: blur(6px);

    border-radius: 14px;                  /* bo góc mềm */
    color: #000080;
    text-align: center;

    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.3px;

    /* box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);   đổ bóng mềm */
}


/* Nút next/prev trắng rõ hơn (tùy chọn) */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

/* ========================= FEATURE SECTION ========================= */
.feature-grid,
.feature-grid * {
  font-family: "Segoe UI", "Roboto", "Noto Sans", Arial, sans-serif !important;
}
.feature-section {
  padding: 60px 0;
  background: #fff;
}

.feature-header {
  text-align: center;
  margin-bottom: 36px;
}

.feature-header h2 {
  font-family: "Segoe UI", "Roboto", "Noto Sans", Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #3ecfff, #003399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  line-height: 1.3;
}
.feature-header p {
  font-size: 1.05rem;
  color: #444;
  margin-top: 10px;
  font-weight: 700;
}
/* ===== GRID 3 CỘT ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 60px;
}
/* ===== CARD ===== */
.feature-card {
  position: relative;
  height: 380px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.45s ease, box-shadow 0.45s ease, filter 0.45s ease;
  cursor: pointer;
}

/* lớp tối nhẹ mặc định */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.45s ease;
  z-index: 0;
}

/* ===== CHỮ Ở GIỮA (HIỆN MẶC ĐỊNH) ===== */
.feature-center {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transition: all 0.5s ease;
}

.feature-center h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  opacity: 1;
  transform: scale(1);
  transition: all 0.5s ease;
}

/* ===== OVERLAY (ẨN BAN ĐẦU) ===== */
.feature-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 16px;
  overflow: hidden; /* 👈 giữ bo tròn mượt */
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* lớp nền tối */
.feature-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 1s ease;
  z-index: 1;
}

/* lớp nội dung cuộn riêng biệt */
.feature-overlay-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 36px;
  overflow-y: auto;
  background: transparent;
  color: #fff;
  -webkit-overflow-scrolling: touch;

  /* chống vệt trắng + optimize GPU */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: scroll-position;
  contain: strict;
}

/* Hover vào: HIỆN overlay */
.feature-card:hover .feature-overlay {
  opacity: 1;
  pointer-events: auto;
}
.feature-card:hover .feature-overlay::before {
  background: rgba(0, 0, 0, 0.75);
}

/* ===== NỘI DUNG BÊN TRONG ===== */
.feature-overlay-content p {
  font-size: 15px;
  line-height: 1.6;
  max-width: 100%;
  opacity: 1;
  padding-right: 10px; /* chừa chỗ cho thanh cuộn */
  white-space: normal;
  user-select: text;
}

/* ===== HOVER HIỆU ỨNG ===== */
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  filter: saturate(1.05);
}

/* Hover vào thì tối nền hơn */
.feature-card:hover::before {
  background: rgba(0, 0, 0, 0.1);
  /* background: linear-gradient(145deg, #00c6ff, #0072ff); */
}

/* Hover vào: ẨN tiêu đề giữa */
.feature-card:hover .feature-center h3 {
  opacity: 0;
  transform: scale(0.9);
}

/* ===== MÀU TRẮNG TUYỆT ĐỐI ===== */
.feature-overlay,
.feature-overlay * {
  color: #fff !important;
}

/* ===== THANH CUỘN GỌN ===== */
.feature-overlay-content::-webkit-scrollbar {
  width: 6px;
}
.feature-overlay-content::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}
.feature-overlay-content::-webkit-scrollbar-track {
  background: transparent;
}

/* ===== NGĂN CUỘN TRANG KHI CUỘN TRONG ẢNH ===== */
.feature-overlay-content {
  overscroll-behavior: contain;
}
.feature-overlay-content {
  display: flex;
  flex-direction: column; /* sắp xếp slogan và đoạn mô tả theo cột */
  justify-content: center; /* căn giữa theo chiều dọc */
  align-items: center; /* căn giữa theo chiều ngang */
  text-align: center; /* căn giữa chữ */
  height: 100%;
  padding: 40px;
  overflow-y: auto;
  gap: 10px; /* khoảng cách giữa slogan và đoạn mô tả */
  scrollbar-gutter: stable both-edges;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .feature-card {
    height: 320px;
  }
}
/*--------------------------------------------------------------
# Values - Tech Company Style
--------------------------------------------------------------*/
.values {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  padding: 60px 0;
}

.values .section-header h2 {
  font-family: "Segoe UI", "Roboto", "Noto Sans", Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #3ecfff, #003399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  line-height: 1.3;
}

.values .section-header p {
  font-size: 1.05rem;
  color: #444;
  margin-top: 10px;
}

/* Thẻ box - tạo hiệu ứng hiện đại */
.values .box {
  padding: 30px 25px;
  text-align: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 153, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(6px);
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Ảnh đại diện */
.values .box img {
  max-width: 120px;
  margin: 0 auto 25px auto;
  transition: 0.4s;
  filter: drop-shadow(0 4px 10px rgba(0, 200, 255, 0.2));
}

/* Tiêu đề */
.values .box h3 {
  font-size: 22px;
  font-weight: 700;
  color: #012970;
  margin-bottom: 12px;
  transition: 0.3s;
}

/* Nội dung mô tả */
.values .box p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Hiệu ứng hover */
.values .box:hover {
  transform: translateY(-10px);
  background: linear-gradient(145deg, #00c6ff, #0072ff);
  box-shadow: 0 10px 35px rgba(0, 212, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.3);
}

.values .box:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
}

.values .box:hover h3,
.values .box:hover p {
  color: #fff;
}

/* Dải sáng công nghệ khi hover */
.values .box::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 212, 255, 0.15),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.values .box:hover::after {
  opacity: 1;
  animation: pulseGlow 2s infinite;
}

/* Giữ phần box cân bằng và căn giữa nội dung */
.values .box {
  display: flex;
  flex-direction: column;
  align-items: center; /* Căn giữa ngang */
  justify-content: flex-start; /* Hoặc 'center' nếu muốn toàn bộ giữa card */
  text-align: center;
  padding: 30px 25px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 153, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(6px);
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Ảnh đồng đều hơn, cố định tỉ lệ */
/* Ảnh đại diện - to hơn, đều, cân giữa */
.values .box img {
  width: 130px; /* tăng kích thước icon */
  height: 130px; /* đảm bảo tỷ lệ đồng đều */
  object-fit: contain; /* giữ tỉ lệ ảnh, không méo */
  margin: 0 auto 25px auto; /* căn giữa ảnh */
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 6px 12px rgba(0, 180, 255, 0.25));
}

/* Khi hover phóng to nhẹ cho sinh động */
.values .box:hover img {
  transform: scale(1.12);
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.6));
}

/* Hiệu ứng glow nhẹ */
@keyframes pulseGlow {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  padding: 70px 0 60px;
}

.counts .count-box {
  display: flex;
  align-items: center;
  padding: 30px;
  width: 100%;
  background: #fff;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.08);
}

.counts .count-box i {
  font-size: 42px;
  line-height: 0;
  margin-right: 20px;
  color: #4154f1;
}

.counts .count-box span {
  font-size: 36px;
  display: block;
  font-weight: 600;
  color: #0b198f;
}

.counts .count-box p {
  padding: 0;
  margin: 0;
  font-family: Arial;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features .feature-box {
  padding: 24px 20px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.08);
  transition: 0.3s;
  height: 100%;
}

.features .feature-box h3 {
  font-size: 18px;
  color: #012970;
  font-weight: 700;
  margin: 0;
}

.features .feature-box i {
  line-height: 0;
  background: #ecf3ff;
  padding: 4px;
  margin-right: 10px;
  font-size: 24px;
  border-radius: 3px;
  transition: 0.3s;
}

.features .feature-box:hover i {
  background: #4154f1;
  color: #fff;
}

.features .feture-tabs {
  margin-top: 120px;
}

.features .feture-tabs h3 {
  color: #012970;
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .features .feture-tabs h3 {
    font-size: 28px;
  }
}

.features .feture-tabs .nav-pills {
  border-bottom: 1px solid #eee;
}

.features .feture-tabs .nav-link {
  background: none;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 600;
  color: #012970;
  padding: 12px 0;
  margin-right: 25px;
  margin-bottom: -2px;
  border-radius: 0;
}

.features .feture-tabs .nav-link.active {
  color: #4154f1;
  border-bottom: 3px solid #4154f1;
}

.features .feture-tabs .tab-content h4 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
  color: #012970;
}

.features .feture-tabs .tab-content i {
  font-size: 24px;
  line-height: 0;
  margin-right: 8px;
  color: #4154f1;
}

.features .feature-icons {
  margin-top: 120px;
}

.features .feature-icons h3 {
  color: #012970;
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 20px;
  text-align: center;
}

@media (max-width: 768px) {
  .features .feature-icons h3 {
    font-size: 28px;
  }
}

.features .feature-icons .content .icon-box {
  display: flex;
}

.features .feature-icons .content .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #012970;
}

.features .feature-icons .content .icon-box i {
  font-size: 44px;
  line-height: 44px;
  color: #0245bc;
  margin-right: 15px;
}

.features .feature-icons .content .icon-box p {
  font-size: 15px;
  color: #848484;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .service-box {
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.08);
  height: 100%;
  padding: 60px 30px;
  text-align: center;
  transition: 0.3s;
  border-radius: 5px;
  display: flex;
  flex-direction: column; /* Xếp nội dung dọc */
  justify-content: space-between; /* Đẩy nút “Đọc thêm” xuống đáy */
}

.services .service-box .icon {
  font-size: 36px;
  padding: 40px 20px;
  border-radius: 4px;
  position: relative;
  margin-bottom: 25px;
  display: inline-block;
  line-height: 0;
  transition: 0.3s;
}

.services .service-box h3 {
  color: #444444;
  font-weight: 700;
}

.services .service-box .read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 20px;
  margin-top: auto; /* Đẩy lên khi có khoảng trống */
  align-self: center; /* Căn giữa theo chiều ngang */
  color: #2db6fa;
}

.services .service-box .read-more i {
  line-height: 0;
  margin-left: 5px;
  font-size: 18px;
}

.services .service-box.blue {
  border-bottom: 3px solid #2db6fa;
}

.services .service-box.blue .icon {
  color: #2db6fa;
  background: #dbf3fe;
}

.services .service-box.blue .read-more {
  color: #2db6fa;
}

.services .service-box.blue:hover {
  background: #2db6fa;
}

.services .service-box.orange {
  border-bottom: 3px solid #f68c09;
}

.services .service-box.orange .icon {
  color: #f68c09;
  background: #fde3c4;
}

.services .service-box.orange .read-more {
  color: #f68c09;
}

.services .service-box.orange:hover {
  background: #f68c09;
}

.services .service-box.green {
  border-bottom: 3px solid #08da4e;
}

.services .service-box.green .icon {
  color: #08da4e;
  background: #cffddf;
}

.services .service-box.green .read-more {
  color: #08da4e;
}

.services .service-box.green:hover {
  background: #08da4e;
}

.services .service-box.red {
  border-bottom: 3px solid #e9222c;
}

.services .service-box.red .icon {
  color: #e9222c;
  background: #fef7f8;
}

.services .service-box.red .read-more {
  color: #e9222c;
}

.services .service-box.red:hover {
  background: #e9222c;
}

.services .service-box.purple {
  border-bottom: 3px solid #b50edf;
}

.services .service-box.purple .icon {
  color: #b50edf;
  background: #f8e4fd;
}

.services .service-box.purple .read-more {
  color: #b50edf;
}

.services .service-box.purple:hover {
  background: #b50edf;
}

.services .service-box.pink {
  border-bottom: 3px solid #f51f9c;
}

.services .service-box.pink .icon {
  color: #f51f9c;
  background: #feecf7;
}

.services .service-box.pink .read-more {
  color: #f51f9c;
}

.services .service-box.pink:hover {
  background: #f51f9c;
}

.services .service-box:hover h3,
.services .service-box:hover p,
.services .service-box:hover .read-more {
  color: #fff;
}

.services .service-box:hover .icon {
  background: #fff;
}

.services .service-box .post-img {
  margin-bottom: 25px;
}

.services .service-box h3 {
  font-size: 1.05rem;
  line-height: 1.5;
  min-height: 60px; /* đảm bảo cao đều nhau */
  margin-bottom: 20px;
}

.services .service-box .read-more {
  margin-top: 10px;
}

/*--------------------------------------------------------------
# Slide css service
--------------------------------------------------------------*/

/* --- Slider Dịch vụ full ảnh --- */
.services .swiper {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  overflow: visible;
}

.services .swiper-slide {
  position: relative;
  border-radius: 16px;
  transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
  height: 500px;
  opacity: 0.4;
  transform: scale(0.8);
  filter: brightness(60%);
}

/* Ảnh dịch vụ */
.services .service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* Tiêu đề nằm trên ảnh */
.services .service-title {
  position: absolute;
  bottom: 25px;
  left: 30px;
  right: 30px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  background: rgba(0, 0, 0, 0.35);
  padding: 10px 15px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.services .service-slide-link:hover .service-title {
  background: rgba(0, 0, 0, 0.55);
}

/* Slide trung tâm */
.services .swiper-slide-active {
  transform: scale(1.05) !important;
  opacity: 1 !important;
  filter: brightness(100%) !important;
  z-index: 5;
}

/* Hai slide hai bên */
.services .swiper-slide-prev,
.services .swiper-slide-next {
  transform: scale(0.85);
  opacity: 0.7;
  filter: brightness(75%);
}

/*--------------------------------------------------------------
# Nút điều hướng kiểu công nghệ
--------------------------------------------------------------*/
.swiper-button-prev,
.swiper-button-next {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #00d4ff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.swiper-button-prev {
  left: 40px;
}

.swiper-button-next {
  right: 40px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 22px;
  font-weight: bold;
  color: #00d4ff;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
  transition: all 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.2),
    rgba(0, 100, 255, 0.25)
  );
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.6);
  transform: scale(1.1);
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
  color: #fff;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
}

/* Hiệu ứng ánh sáng công nghệ khi hover */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
  }
  100% {
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
  }
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  animation: pulse-glow 1.2s infinite;
}

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing .box {
  padding: 40px 20px;
  background: #fff;
  text-align: center;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.08);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

.pricing .box:hover {
  transform: scale(1.1);
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.pricing h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 15px;
}

.pricing .price {
  font-size: 36px;
  color: #444444;
  font-weight: 600;
  font-family: Arial;
}

.pricing .price sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .price span {
  color: #bababa;
  font-size: 16px;
  font-weight: 300;
}

.pricing img {
  padding: 30px 40px;
}

.pricing ul {
  padding: 0;
  list-style: none;
  color: #444444;
  text-align: center;
  line-height: 26px;
  font-size: 16px;
  margin-bottom: 25px;
}

.pricing ul li {
  padding-bottom: 10px;
}

.pricing ul .na {
  color: #ccc;
  text-decoration: line-through;
}

.pricing .btn-buy {
  display: inline-block;
  padding: 8px 40px 10px 40px;
  border-radius: 50px;
  color: #4154f1;
  transition: none;
  font-size: 16px;
  font-weight: 400;
  font-family: Arial;
  font-weight: 600;
  transition: 0.3s;
  border: 1px solid #4154f1;
}

.pricing .btn-buy:hover {
  background: #4154f1;
  color: #fff;
}

.pricing .featured {
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
  background: #4154f1;
  color: #fff;
}

/*--------------------------------------------------------------
# F.A.Q - TECATEC STYLE (Cố định layout, nội dung cuộn nội bộ)
--------------------------------------------------------------*/
.faq .section-header h2{
  font-family: "Segoe UI", "Roboto", "Noto Sans", Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #3ecfff, #003399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  line-height: 1.3;
}

.faq {
  position: relative;
  margin-top: 60px;
}

/* Container tổng – KHÔNG giới hạn chiều cao */
.faq .container {
  overflow: visible !important;
  padding-right: 8px;
}

/* Thanh cuộn tinh tế (nếu cần cuộn trong container phụ) */
.faq .container::-webkit-scrollbar {
  width: 6px;
}
.faq .container::-webkit-scrollbar-thumb {
  background-color: rgba(120, 120, 120, 0.25);
  border-radius: 3px;
}
.faq .container::-webkit-scrollbar-track {
  background: transparent;
}

/* Tiêu đề */
.section-header h2 {
  font-family: "Segoe UI", "Roboto", "Noto Sans", Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #3ecfff, #003399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  line-height: 1.3;
}

/* Accordion - bố cục chính */
.faq .accordion-collapse {
  border: 0;
}

/* Nút accordion */
.faq .accordion-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 15px 20px 0;
  font-weight: 600;
  border: 0;
  font-size: 17px;
  color: #333;
  text-align: left;
  background: #fff;
  transition: all 0.3s ease;
  box-shadow: none;
}

/* Giữ chữ không nhảy */
.faq .accordion-button:focus {
  box-shadow: none;
  outline: none;
  background-color: #fff;
}

/* Mũi tên chỉnh vị trí */
.faq .accordion-button::after {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-left: 10px;
  transition: transform 0.3s ease;
  background-size: 1rem;
  top: 1px;
  position: relative;
}

/* Khi mở accordion */
.faq .accordion-button:not(.collapsed) {
  color: #4154f1;
  background: #f8f9ff;
}
.faq .accordion-button:not(.collapsed)::after {
  transform: rotate(90deg);
}

/* Hiệu ứng trượt mượt */
.accordion-collapse {
  transition: height 0.4s ease, opacity 0.4s ease !important;
}
.accordion-collapse.collapsing {
  opacity: 0;
  height: 0;
  transition: height 0.4s ease, opacity 0.4s ease !important;
}
.accordion-collapse.collapse.show {
  transform: translateY(0);
}

/* Nội dung */
.faq .accordion-body {
  padding: 0 0 22px 0;
  border: 0;
  transition: opacity 0.4s ease;
}
.faq .accordion-body p {
  margin-bottom: 0.5rem;
  line-height: 1.65;
  font-size: 15.5px;
  color: #444;
}

/* Từng item */
.faq .accordion-item {
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 6px;
  background: transparent;
  box-shadow: none;
}

/* Hover nhẹ */
.faq .accordion-item:hover .accordion-button {
  background-color: #fdfdfd;
}

.faq-scroll-wrapper {
  max-height: 480px; /* tùy chỉnh: 400–600px */
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  position: relative;
  padding-right: 6px;
}

.faq-scroll-wrapper::-webkit-scrollbar {
  width: 6px;
}
.faq-scroll-wrapper::-webkit-scrollbar-thumb {
  background-color: rgba(100, 100, 100, 0.25);
  border-radius: 3px;
}

.faq .accordion-collapse {
  transition: max-height 0.45s ease;
  overflow: hidden !important;
}
.faq .accordion-collapse.collapse {
  max-height: 0 !important;
}
.faq .accordion-collapse.collapse.show {
  max-height: 400px !important;
}
.faq-scroll-wrapper::after {
  content: "";
  position: sticky;
  bottom: 0;
  height: 40px;
  display: block;
  background: linear-gradient(to bottom, transparent, white);
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-scroll-wrapper {
    max-height: 420px;
  }
  .faq .accordion-button {
    font-size: 16px;
  }
  .faq .accordion-body p {
    font-size: 15px;
  }
}
/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .section-header h2{
  font-family: "Segoe UI", "Roboto", "Noto Sans", Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #3ecfff, #003399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  line-height: 1.3;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 25px auto;
  list-style: none;
  text-align: center;
  background: white;
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: #444444;
  margin: 0 4px 8px 4px;
  transition: 0.3s;
  border-radius: 50px;
  border: 1px solid #fff;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #4154f1;
  border-color: #4154f1;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(255, 255, 255, 0.75);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(255, 255, 255, 0.75);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap img {
  transition: 1s;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio .portfolio-wrap .portfolio-info::before {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  top: 35px;
  left: 35px;
  border-top: 3px solid rgba(1, 41, 112, 0.2);
  border-left: 3px solid rgba(1, 41, 112, 0.2);
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info::after {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  bottom: 35px;
  right: 35px;
  border-bottom: 3px solid rgba(1, 41, 112, 0.2);
  border-right: 3px solid rgba(1, 41, 112, 0.2);
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #012970;
  font-weight: 700;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: #012970;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  background: #4154f1;
  margin: 10px 2px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a i {
  font-size: 24px;
  line-height: 0;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  background: #5969f3;
}

.portfolio .portfolio-wrap:hover img {
  transform: scale(1.1);
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info::before {
  top: 15px;
  left: 15px;
}

.portfolio .portfolio-wrap:hover .portfolio-info::after {
  bottom: 15px;
  right: 15px;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #4154f1;
}

.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet-active {
  background-color: #4154f1;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}


/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .section-header h2{
  font-family: "Segoe UI", "Roboto", "Noto Sans", Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #3ecfff, #003399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  line-height: 1.3;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  padding: 30px;
  margin: 40px 30px;
  box-shadow: 0px 0 20px rgba(1, 41, 112, 0.1);
  background: #fff;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: 0.3s;
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  border: 4px solid #fff;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #4154f1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #4154f1;
}

.testimonials .swiper-slide {
  opacity: 0.3;
}

@media (max-width: 1199px) {
  .testimonials .swiper-slide-active {
    opacity: 1;
  }
  .testimonials .swiper-pagination {
    margin-top: 0;
  }
}

@media (min-width: 1200px) {
  .testimonials .swiper-slide-next {
    opacity: 1;
    transform: scale(1.12);
  }
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
/* =============================
   TEAM SECTION - TECH STYLE
============================= */
.team {
  background: #fff;
  padding: 60px 0;
}

.team .section-header h2{
  font-family: "Segoe UI", "Roboto", "Noto Sans", Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #3ecfff, #003399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  line-height: 1.3;
}


.team .member {
  overflow: hidden;
  text-align: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 4px 20px rgba(1, 41, 112, 0.08);
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
}

/* Ảnh nhân sự cố định kích thước */
.team .member .member-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 300px; /* Cố định chiều cao */
  border-bottom: 1px solid rgba(0, 150, 255, 0.1);
  background: #000;
}

/* Ảnh căn giữa, không méo */
.team .member .member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(90%);
}

/* Bỏ phần sóng mặc định */
.team .member .member-img::after {
  display: none !important;
  content: none !important;
}

/* Hiệu ứng ánh sáng công nghệ khi hover */
.team .member:hover .member-img img {
  transform: scale(1.08);
  filter: brightness(110%) drop-shadow(0 0 12px rgba(0, 180, 255, 0.5));
}

/* Thêm hiệu ứng glow quanh ảnh */
.team .member .member-img::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(0, 212, 255, 0);
  border-radius: 0;
  transition: all 0.6s ease;
  z-index: 2;
}

.team .member:hover .member-img::before {
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3), 0 0 40px rgba(0, 212, 255, 0.2);
}

/* Thông tin nhân sự */
.team .member .member-info {
  padding: 15px 15px 25px;
}

.team .member .member-info h4 {
  font-weight: 700;
  font-size: 18px;
  color: #012970;
  margin-bottom: 6px;
  transition: color 0.3s;
}

.team .member .member-info span {
  font-size: 14px;
  color: #777;
  display: block;
  margin-bottom: 4px;
}

.team .member .member-info p {
  font-size: 13px;
  color: #999;
  font-style: italic;
}

/* Hover toàn khối */
.team .member:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 200, 255, 0.25);
}

/* Nháy sáng công nghệ nhẹ */
.team .member:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 200, 255, 0.15),
    transparent 70%
  );
  pointer-events: none;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(1.05);
  }
  100% {
    opacity: 0.2;
    transform: scale(1);
  }
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients .clients-slider .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
}

.clients .section-header h2{
  font-family: "Segoe UI", "Roboto", "Noto Sans", Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #3ecfff, #003399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  line-height: 1.3;
}


.clients .clients-slider .swiper-slide img:hover {
  opacity: 1;
}

.clients .clients-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .clients-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #4154f1;
}

.clients .clients-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #4154f1;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Tablet */
@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
# Recent Blog Posts
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Recent Blog Posts - Fix alignment & Tech Style
--------------------------------------------------------------*/
.recent-blog-posts .post-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(1, 41, 112, 0.08);
  transition: all 0.4s ease;
  padding: 0; /* bỏ padding mặc định để ảnh full */
  position: relative;
}

.recent-blog-posts .section-header h2{
  font-family: "Segoe UI", "Roboto", "Noto Sans", Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #3ecfff, #003399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  line-height: 1.3;
}


/* Ảnh cố định tỷ lệ */
.recent-blog-posts .post-box .post-img {
  position: relative;
  width: 100%;
  height: 220px; /* chiều cao đồng nhất cho tất cả ảnh */
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}

.recent-blog-posts .post-box .post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* không méo ảnh */
  transition: transform 0.5s ease, filter 0.5s ease;
}

/* Nội dung bài viết */
.recent-blog-posts .post-box .post-content {
  padding: 20px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-grow: 1;
}

.recent-blog-posts .post-date {
  font-size: 14px;
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
  margin-bottom: 6px;
}

.recent-blog-posts .post-title {
  font-size: 18px;
  font-weight: 700;
  color: #012970;
  margin-bottom: 16px;
  line-height: 1.4;
  min-height: 48px; /* giữ chiều cao đều nhau */
  transition: color 0.3s;
}

.recent-blog-posts .readmore {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: #4154f1;
  font-size: 15px;
  text-decoration: none;
  margin-top: auto;
  transition: all 0.3s;
}

.recent-blog-posts .readmore i {
  margin-left: 5px;
  font-size: 18px;
  transition: transform 0.3s;
}

/* Hover hiệu ứng công nghệ */
.recent-blog-posts .post-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 180, 255, 0.25);
}

.recent-blog-posts .post-box:hover .post-img img {
  transform: scale(1.08);
  filter: brightness(110%) drop-shadow(0 0 10px rgba(0, 200, 255, 0.3));
}

.recent-blog-posts .post-box:hover .post-title {
  color: #007bff;
}

.recent-blog-posts .readmore:hover i {
  transform: translateX(4px);
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: #444444;
  background: #fafbff;
  padding: 30px;
}

.contact .info-box i {
  font-size: 38px;
  line-height: 0;
  color: #4154f1;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #012970;
  font-weight: 700;
  margin: 20px 0 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  background: #fafbff;
  padding: 30px;
  height: 100%;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #4154f1;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
  background: #4154f1;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #5969f3;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/
p .truncate {
  width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog {
  padding: 40px 0 20px 0;
}

.blog .entry {
  padding: 30px;
  margin-bottom: 60px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .entry .entry-img {
  max-height: 440px;
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog .entry .entry-title {
  font-size: 28px;
  font-weight: bold;
  padding: 0;
  margin: 0 0 20px 0;
}

.blog .entry .entry-title a {
  color: #012970;
  transition: 0.3s;
}

.blog .entry .entry-title a:hover {
  color: #4154f1;
}

.blog .entry .entry-meta {
  margin-bottom: 15px;
  color: #4084fd;
}

.blog .entry .entry-meta ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog .entry .entry-meta ul li + li {
  padding-left: 20px;
}

.blog .entry .entry-meta i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
}

.blog .entry .entry-meta a {
  color: #777777;
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog .entry .entry-content p {
  line-height: 24px;
}

.blog .entry .entry-content .read-more {
  -moz-text-align-last: right;
  text-align-last: right;
}

.blog .entry .entry-content .read-more a {
  display: inline-block;
  background: #4154f1;
  color: #fff;
  padding: 6px 20px;
  transition: 0.3s;
  font-size: 14px;
  border-radius: 4px;
}

.blog .entry .entry-content .read-more a:hover {
  background: #5969f3;
}

.blog .entry .entry-content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog .entry .entry-content blockquote {
  overflow: hidden;
  background-color: #fafafa;
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog .entry .entry-content blockquote p {
  color: #444444;
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog .entry .entry-content blockquote::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #012970;
  margin-top: 20px;
  margin-bottom: 20px;
}

.card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
  background-color: #fff;
  border-radius: 3px;
  border: none;
  position: relative;
  margin-bottom: 30px;
}
.card .card-header,
.card .card-body,
.card .card-footer {
  background-color: transparent;
  padding: 20px 25px;
}
.card .navbar {
  position: static;
}
.card .card-body {
  padding-top: 20px;
  padding-bottom: 20px;
}
.card .card-body .section-title {
  margin: 30px 0 10px 0;
  font-size: 16px;
}
.card .card-body .section-title:before {
  margin-top: 8px;
}
.card .card-body .section-title + .section-lead {
  margin-top: -5px;
}
.card .card-body p {
  font-weight: 500;
}
.card .card-header {
  border-bottom-color: #f9f9f9;
  line-height: 30px;
  -ms-grid-row-align: center;
  align-self: center;
  width: 100%;
  min-height: 70px;
  padding: 15px 25px;
  display: flex;
  align-items: center;
}
.card .card-header .btn {
  margin-top: 1px;
  padding: 2px 15px;
}
.card .card-header .btn:not(.note-btn) {
  border-radius: 30px;
}
.card .card-header .btn:hover {
  box-shadow: none;
}
.card .card-header .form-control {
  height: 31px;
  font-size: 13px;
  border-radius: 30px;
}
.card .card-header .form-control + .input-group-btn .btn {
  margin-top: -1px;
}
.card .card-header h4 {
  font-size: 16px;
  line-height: 28px;
  color: #6777ef;
  padding-right: 10px;
  margin-bottom: 0;
}
.card .card-header h4 + .card-header-action,
.card .card-header h4 + .card-header-form {
  margin-left: auto;
}
.card .card-header h4 + .card-header-action .btn,
.card .card-header h4 + .card-header-form .btn {
  font-size: 12px;
  border-radius: 30px !important;
  padding-left: 13px !important;
  padding-right: 13px !important;
}
.card .card-header h4 + .card-header-action .btn.active,
.card .card-header h4 + .card-header-form .btn.active {
  box-shadow: 0 2px 6px #acb5f6;
  background-color: #6777ef;
  color: #fff;
}
.card .card-header h4 + .card-header-action .dropdown,
.card .card-header h4 + .card-header-form .dropdown {
  display: inline;
}
.card .card-header h4 + .card-header-action .btn-group .btn,
.card .card-header h4 + .card-header-form .btn-group .btn {
  border-radius: 0 !important;
}
.card .card-header h4 + .card-header-action .btn-group .btn:first-child,
.card .card-header h4 + .card-header-form .btn-group .btn:first-child {
  border-radius: 30px 0 0 30px !important;
}
.card .card-header h4 + .card-header-action .btn-group .btn:last-child,
.card .card-header h4 + .card-header-form .btn-group .btn:last-child {
  border-radius: 0 30px 30px 0 !important;
}
.card .card-header h4 + .card-header-action .input-group .form-control,
.card .card-header h4 + .card-header-form .input-group .form-control {
  border-radius: 30px 0 0 30px !important;
}
.card
  .card-header
  h4
  + .card-header-action
  .input-group
  .form-control
  + .input-group-btn
  .btn,
.card
  .card-header
  h4
  + .card-header-form
  .input-group
  .form-control
  + .input-group-btn
  .btn {
  border-radius: 0 30px 30px 0 !important;
}
.card
  .card-header
  h4
  + .card-header-action
  .input-group
  .input-group-btn
  + .form-control,
.card
  .card-header
  h4
  + .card-header-form
  .input-group
  .input-group-btn
  + .form-control {
  border-radius: 0 30px 30px 0 !important;
}
.card .card-header h4 + .card-header-action .input-group .input-group-btn .btn,
.card .card-header h4 + .card-header-form .input-group .input-group-btn .btn {
  margin-top: -1px;
  border-radius: 30px 0 0 30px !important;
}
.card .card-footer {
  background-color: transparent;
  border: none;
}
.card.card-mt {
  margin-top: 30px;
}
.card.card-progress:after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 99;
  z-index: 99;
}
.card.card-progress .card-progress-dismiss {
  position: absolute;
  top: 66%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  color: #fff !important;
  padding: 5px 13px;
}
.card.card-progress.remove-spinner .card-progress-dismiss {
  top: 50%;
  transform: translate(-50%, -50%);
}
.card.card-progress:not(.remove-spinner):after {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJsb2FkZXItMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQogd2lkdGg9IjQwcHgiIGhlaWdodD0iNDBweCIgdmlld0JveD0iMCAwIDUwIDUwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MCA1MDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHBhdGggZmlsbD0iIzAwMCIgZD0iTTQzLjkzNSwyNS4xNDVjMC0xMC4zMTgtOC4zNjQtMTguNjgzLTE4LjY4My0xOC42ODNjLTEwLjMxOCwwLTE4LjY4Myw4LjM2NS0xOC42ODMsMTguNjgzaDQuMDY4YzAtOC4wNzEsNi41NDMtMTQuNjE1LDE0LjYxNS0xNC42MTVjOC4wNzIsMCwxNC42MTUsNi41NDMsMTQuNjE1LDE0LjYxNUg0My45MzV6Ij4NCjxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZVR5cGU9InhtbCINCiAgYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIg0KICB0eXBlPSJyb3RhdGUiDQogIGZyb209IjAgMjUgMjUiDQogIHRvPSIzNjAgMjUgMjUiDQogIGR1cj0iMC42cyINCiAgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiLz4NCjwvcGF0aD4NCjwvc3ZnPg0K");
  background-size: 80px;
  background-repeat: no-repeat;
  background-position: center;
}
.card.card-primary {
  border-top: 2px solid #6777ef;
}
.card.card-secondary {
  border-top: 2px solid #cdd3d8;
}
.card.card-success {
  border-top: 2px solid #47c363;
}
.card.card-danger {
  border-top: 2px solid #fc544b;
}
.card.card-warning {
  border-top: 2px solid #ffa426;
}
.card.card-info {
  border-top: 2px solid #3abaf4;
}
.card.card-dark {
  border-top: 2px solid #191d21;
}
.card.card-hero .card-header {
  padding: 40px;
  background-image: linear-gradient(to bottom, #6777ef, #95a0f4);
  color: #fff;
  overflow: hidden;
  height: auto;
  min-height: auto;
  display: block;
}
.card.card-hero .card-header h4 {
  font-size: 40px;
  line-height: 1;
  color: #fff;
}
.card.card-hero .card-header .card-description {
  margin-top: 5px;
  font-size: 16px;
}
.card.card-hero .card-header .card-icon {
  float: right;
  color: #8c98f3;
  margin: -60px;
}
.card.card-hero .card-header .card-icon .ion,
.card.card-hero .card-header .card-icon .fas,
.card.card-hero .card-header .card-icon .far,
.card.card-hero .card-header .card-icon .fab,
.card.card-hero .card-header .card-icon .fal {
  font-size: 140px;
}
.card.card-statistic-1 .card-header,
.card.card-statistic-2 .card-header {
  border-color: transparent;
  padding-bottom: 0;
  height: auto;
  min-height: auto;
  display: block;
}
.card.card-statistic-1 .card-header h4,
.card.card-statistic-2 .card-header h4 {
  line-height: 1.2;
  color: #98a6ad;
}
.card.card-statistic-1 .card-body,
.card.card-statistic-2 .card-body {
  padding-top: 0;
}
.card.card-statistic-1 .card-body,
.card.card-statistic-2 .card-body {
  font-size: 26px;
  font-weight: 700;
  color: #34395e;
  padding-bottom: 0;
}
.card.card-statistic-1,
.card.card-statistic-2 {
  display: inline-block;
  width: 100%;
}
.card.card-statistic-1 .card-icon,
.card.card-statistic-2 .card-icon {
  width: 80px;
  height: 80px;
  margin: 10px;
  border-radius: 3px;
  line-height: 94px;
  text-align: center;
  float: left;
  margin-right: 15px;
}
.card.card-statistic-1 .card-icon .ion,
.card.card-statistic-1 .card-icon .fas,
.card.card-statistic-1 .card-icon .far,
.card.card-statistic-1 .card-icon .fab,
.card.card-statistic-1 .card-icon .fal,
.card.card-statistic-2 .card-icon .ion,
.card.card-statistic-2 .card-icon .fas,
.card.card-statistic-2 .card-icon .far,
.card.card-statistic-2 .card-icon .fab,
.card.card-statistic-2 .card-icon .fal {
  font-size: 22px;
  color: #fff;
}
.card.card-statistic-1 .card-icon {
  line-height: 90px;
}
.card.card-statistic-2 .card-icon {
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 22px;
  margin: 25px;
}
.card.card-statistic-1 .card-header,
.card.card-statistic-2 .card-header {
  padding-bottom: 0;
  padding-top: 25px;
}
.card.card-statistic-2 .card-body {
  padding-top: 20px;
}
.card.card-statistic-2 .card-header + .card-body,
.card.card-statistic-2 .card-body + .card-header {
  padding-top: 0;
}
.card.card-statistic-1 .card-header h4,
.card.card-statistic-2 .card-header h4 {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.card.card-statistic-1 .card-header h4 {
  margin-bottom: 0;
}
.card.card-statistic-2 .card-header h4 {
  text-transform: none;
  margin-bottom: 0;
}
.card.card-statistic-1 .card-body {
  font-size: 20px;
}
.card.card-statistic-2 .card-chart {
  padding-top: 20px;
  margin-left: -9px;
  margin-right: -1px;
  margin-bottom: -15px;
}
.card.card-statistic-2 .card-chart canvas {
  height: 90px !important;
}
.card .card-stats {
  width: 100%;
  display: inline-block;
  margin-top: 2px;
  margin-bottom: -6px;
}
.card .card-stats .card-stats-title {
  padding: 15px 25px;
  background-color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.card .card-stats .card-stats-items {
  display: flex;
  height: 50px;
  align-items: center;
}
.card .card-stats .card-stats-item {
  width: calc(100% / 3);
  text-align: center;
  padding: 5px 20px;
}
.card .card-stats .card-stats-item .card-stats-item-label {
  font-size: 12px;
  letter-spacing: 0.5px;
  margin-top: 4px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.card .card-stats .card-stats-item .card-stats-item-count {
  line-height: 1;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
}
.card.card-large-icons {
  display: flex;
  flex-direction: row;
}
.card.card-large-icons .card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 150px;
  border-radius: 3px 0 0 3px;
}
.card.card-large-icons .card-icon .ion,
.card.card-large-icons .card-icon .fas,
.card.card-large-icons .card-icon .far,
.card.card-large-icons .card-icon .fab,
.card.card-large-icons .card-icon .fal {
  font-size: 60px;
}
.card.card-large-icons .card-body {
  padding: 25px 30px;
}
.card.card-large-icons .card-body h4 {
  font-size: 18px;
}
.card.card-large-icons .card-body p {
  opacity: 0.6;
  font-weight: 500;
}
.card.card-large-icons .card-body a.card-cta {
  text-decoration: none;
}
.card.card-large-icons .card-body a.card-cta i {
  margin-left: 7px;
}
.card.bg-primary,
.card.bg-danger,
.card.bg-success,
.card.bg-info,
.card.bg-dark,
.card.bg-warning {
  color: #fff;
}
.card.bg-primary .card-header,
.card.bg-danger .card-header,
.card.bg-success .card-header,
.card.bg-info .card-header,
.card.bg-dark .card-header,
.card.bg-warning .card-header {
  color: #fff;
  opacity: 0.9;
}

@media (max-width: 575.98px) {
  .card.card-large-icons {
    display: inline-block;
  }
  .card.card-large-icons .card-icon {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 767.98px) {
  .card .card-header {
    height: auto;
    flex-wrap: wrap;
  }
  .card .card-header h4 + .card-header-action,
  .card .card-header h4 + .card-header-form {
    flex-grow: 0;
    width: 100%;
    margin-top: 10px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .card .card-stats .card-stats-items {
    height: 49px;
  }
  .card .card-stats .card-stats-items .card-stats-item {
    padding: 5px 7px;
  }
  .card .card-stats .card-stats-items .card-stats-item .card-stats-item-count {
    font-size: 16px;
  }
  .card.card-sm-6 .card-chart canvas {
    height: 85px !important;
  }
  .card.card-hero .card-header {
    padding: 25px;
  }
}

.blog .entry .entry-footer {
  padding-top: 10px;
  border-top: 1px solid #e6e6e6;
}

.blog .entry .entry-footer i {
  color: #0d64fd;
  display: inline;
}

.blog .entry .entry-footer a {
  color: #013289;
  transition: 0.3s;
}

.blog .entry .entry-footer a:hover {
  color: #4154f1;
}

.blog .entry .entry-footer .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog .entry .entry-footer .cats li {
  display: inline-block;
}

.blog .entry .entry-footer .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog .entry .entry-footer .tags li {
  display: inline-block;
}

.blog .entry .entry-footer .tags li + li::before {
  padding-right: 6px;
  color: #6c757d;
  content: ",";
}

.blog .entry .entry-footer .share {
  font-size: 16px;
}

.blog .entry .entry-footer .share i {
  padding-left: 5px;
}

.blog .entry-single {
  margin-bottom: 30px;
}

.blog .blog-author {
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .blog-author img {
  width: 120px;
  margin-right: 20px;
}

.blog .blog-author h4 {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 0px;
  padding: 0;
  color: #012970;
}

.blog .blog-author .social-links {
  margin: 0 10px 10px 0;
}

.blog .blog-author .social-links a {
  color: rgba(1, 41, 112, 0.5);
  margin-right: 5px;
}

.blog .blog-author p {
  font-style: italic;
  color: #b7b7b7;
}

.blog .blog-comments {
  margin-bottom: 30px;
}

.blog .blog-comments .comments-count {
  font-weight: bold;
}

.blog .blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog .blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog .blog-comments .comment .comment-img img {
  width: 60px;
}

.blog .blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog .blog-comments .comment h5 a {
  font-weight: bold;
  color: #444444;
  transition: 0.3s;
}

.blog .blog-comments .comment h5 a:hover {
  color: #4154f1;
}

.blog .blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: #012970;
}

.blog .blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog .blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: #013ca3;
  margin-bottom: 5px;
}

.blog .blog-comments .comment.comment-reply {
  padding-left: 40px;
}

.blog .blog-comments .reply-form {
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .blog-comments .reply-form h4 {
  font-weight: bold;
  font-size: 22px;
}

.blog .blog-comments .reply-form p {
  font-size: 14px;
}

.blog .blog-comments .reply-form input {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
}

.blog .blog-comments .reply-form input:focus {
  box-shadow: none;
  border-color: #a0aaf8;
}

.blog .blog-comments .reply-form textarea {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
}

.blog .blog-comments .reply-form textarea:focus {
  box-shadow: none;
  border-color: #a0aaf8;
}

.blog .blog-comments .reply-form .form-group {
  margin-bottom: 25px;
}

.blog .blog-comments .reply-form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: #012970;
}

.blog .blog-comments .reply-form .btn-primary:hover {
  background-color: #013289;
}

.blog .blog-pagination {
  color: #024ed5;
}

.blog .blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog .blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog .blog-pagination li a {
  color: #012970;
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog .blog-pagination li.active,
.blog .blog-pagination li:hover {
  background: #4154f1;
}

.blog .blog-pagination li.active a,
.blog .blog-pagination li:hover a {
  color: #fff;
}

.blog .sidebar {
  padding: 30px;
  margin: 0 0 60px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .sidebar .sidebar-title {
  font-size: 20px;
  font-weight: 700;
  padding: 0 0 0 0;
  margin: 0 0 15px 0;
  color: #012970;
  position: relative;
}

.blog .sidebar .sidebar-item {
  margin-bottom: 30px;
}

.blog .sidebar .search-form form {
  background: #fff;
  border: 1px solid #ddd;
  padding: 3px 10px;
  position: relative;
}

.blog .sidebar .search-form form input[type="text"] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
}

.blog .sidebar .search-form form button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  background: #4154f1;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.blog .sidebar .search-form form button i {
  line-height: 0;
}

.blog .sidebar .search-form form button:hover {
  background: #5465f2;
}

.blog .sidebar .categories ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .categories ul li + li {
  padding-top: 10px;
}

.blog .sidebar .categories ul a {
  color: #012970;
  transition: 0.3s;
}

.blog .sidebar .categories ul a:hover {
  color: #4154f1;
}

.blog .sidebar .categories ul a span {
  padding-left: 5px;
  color: #aaaaaa;
  font-size: 14px;
}

.blog .sidebar .recent-posts .post-item + .post-item {
  margin-top: 15px;
}

.blog .sidebar .recent-posts img {
  width: 80px;
  float: left;
}

.blog .sidebar .recent-posts h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
}

.blog .sidebar .recent-posts h4 a {
  color: #012970;
  transition: 0.3s;
}

.blog .sidebar .recent-posts h4 a:hover {
  color: #4154f1;
}

.blog .sidebar .recent-posts time {
  display: block;
  margin-left: 95px;
  font-style: italic;
  font-size: 14px;
  color: #aaaaaa;
}

.blog .sidebar .tags {
  margin-bottom: -10px;
}

.blog .sidebar .tags ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .tags ul li {
  display: inline-block;
}

.blog .sidebar .tags ul a {
  color: #0257ee;
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid #d7e6ff;
  display: inline-block;
  transition: 0.3s;
}

.blog .sidebar .tags ul a:hover {
  color: #fff;
  border: 1px solid #4154f1;
  background: #4154f1;
}

.blog .sidebar .tags ul a span {
  padding-left: 5px;
  color: #a5c5fe;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background: #f6f9ff;
  padding: 0 0 30px 0;
  font-size: 14px;
}

.footer .footer-newsletter {
  padding: 50px 0;
  background: #f6f9ff;
  border-top: 1px solid #e1ecff;
}

.footer .footer-newsletter h4 {
  font-size: 24px;
  margin: 0 0 10px 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  color: #012970;
}

.footer .footer-newsletter form {
  margin-top: 20px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
  border: 1px solid #e1ecff;
}

.footer .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 8px;
  width: calc(100% - 140px);
}

.footer .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 30px;
  margin: 3px;
  background: #4154f1;
  color: #fff;
  transition: 0.3s;
  border-radius: 4px;
}

.footer .footer-newsletter form input[type="submit"]:hover {
  background: #5969f3;
}
.footer .footer-top {
  position: relative;
  overflow: hidden;
}

.footer .footer-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 80, 255, 0.05); /* lớp xanh nhạt phủ */
  z-index: 1;
}

.footer .footer-top > * {
  position: relative;
  z-index: 2; /* giữ nội dung ở trên */
}

.footer .footer-top {
  background: white url(../img/footer-bg.png) no-repeat right top;
  background-size: contain;
  border-top: 1px solid #e1ecff;
  border-bottom: 1px solid #e1ecff;
  padding: 60px 0 30px 0;
}

@media (max-width: 992px) {
  .footer .footer-top {
    background-position: center bottom;
  }
}

.footer .footer-top .footer-info {
  margin-bottom: 30px;
}

.footer .footer-top .footer-info .logo {
  line-height: 0;
  margin-bottom: 15px;
}

.footer .footer-top .footer-info .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-top .footer-info .logo span {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #012970;
  font-family: "Nunito", sans-serif;
  margin-top: 3px;
}

.footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Nunito", sans-serif;
}

.footer .footer-top .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}

.footer .footer-top .social-links a:hover {
  color: #012970;
}

.footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #012970;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-top .footer-links {
  margin-bottom: 30px;
}

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

.footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #d0d4fc;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-top .footer-links ul a {
  color: #013289;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

.footer .footer-top .footer-links ul a:hover {
  color: #4154f1;
}

.footer .footer-top .footer-contact p {
  line-height: 26px;
}

.footer .copyright {
  text-align: center;
  padding-top: 30px;
  color: #012970;
}

.footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #012970;
}

/* Bài viết lquan đến tag */
/* ==== RELATED POSTS SECTION ==== */
#related-posts {
  margin-top: 40px;
}

#related-posts h5 {
  font-weight: 600;
  color: #222;
  margin-bottom: 25px;
  border-left: 4px solid #0d6efd;
  padding-left: 10px;
}

.related-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.35s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.related-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.related-card .card-body {
  padding: 14px 18px;
}

.related-card .card-title {
  font-size: 16px;
  font-weight: 600;
  color: #212529;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.related-card .card-title:hover {
  color: #0d6efd;
}

.related-card small {
  color: #6c757d;
  font-size: 13px;
}

/* Fix font CMS */
.entry-content * {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Fix lệch do strong trong heading */
.entry-content h1 strong,
.entry-content h2 strong,
.entry-content h3 strong,
.entry-content h4 strong,
.entry-content h5 strong,
.entry-content h6 strong {
    font-weight: inherit;
}

/* Style h3 */
.entry-content h3 {
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
}

