
@import url('https://fonts.googleapis.com/css2?family=Redley&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Carlito:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+SC:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Prata&display=swap');
body {
  /*font-family: "Pluma";*/
}
#footer {
  display: block !important;
  position: relative !important;
  z-index: 1000 !important;
}
h1, h2, h3, h4, h5, h6 {

}
/*kích thước ảnh từ điển*/
.blog-post-image img {
  width: 340px;
  height: 200px;   /* hoặc 200px nếu muốn nhỏ hơn */
  object-fit: cover; /* giữ tỷ lệ, crop ảnh thừa */
  border-radius: 6px; /* bo nhẹ cho đẹp */
}
/* Cart thuật ngữ*/
.works .img-wrapper img {
    height: 220px; /* giảm chiều cao ảnh */
    object-fit: cover;
}

.works figure {
    margin: 10px 0;
    font-size: 14px; /* chữ nhỏ hơn */
}

.works h4 {
    font-size: 14px;
    margin-left: -10px;
}
.works p {
    font-size: 14px;
    
    margin-left: -10px;
}
h2 {
  font-size: 26px;
}
/*Sửa icon nằm giữa hình tròn*/
.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  background: #f0f0f0;
  position: relative;
}
.icon-circle i, .icon-circle .ion, .icon-circle .fa {
  font-size: 50px;
  color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
/* Dashboard card styles */
.dashboard-card {
  display: block;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 28px 18px 18px 18px;
  text-align: center;
  margin-bottom: 18px;
  transition: box-shadow 0.2s, transform 0.2s;
  color: #222;
  text-decoration: none;
}
.dashboard-card:hover {
  box-shadow: 0 8px 24px rgba(0,196,216,0.18);
  transform: translateY(-2px);
}
.dashboard-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-top: 16px;
  color: #002080;
}
.dashboard-card-desc {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}
p {
  line-height: 22px;
  font-size: 16px;
  font-weight: 300;
}
/* ─────────── Box chung ─────────── */
.result-box {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffffeb; /* trắng rõ */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    margin-top: 4px;
}

/* ─────────── Header ─────────── */
.result-header {
    background: #ffffffaf; /* xanh nhạt */
    padding: 12px 15px;  /* tăng padding top/bottom */
    font-size: 14px;     /* tăng font-size một chút */
    font-weight: bold;
    font-family: "Prata"; 
    color: #000080; /* xanh đậm */
    border-bottom: 1px solid #e0e5ff;
    text-transform: uppercase;
}

/* ─────────── Item ─────────── */
.result-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item:hover {
    background: #eef4ff; /* hover xanh nhạt */
}

/* ─────────── Nội dung ─────────── */

/* Tên thuật ngữ */
.result-title {
    font-family: "Carlito";
    font-size: 18px;
    font-weight: 500;
    color: #002080;
    letter-spacing: normal; /* hoặc -0.5px nếu vẫn rộng */
    word-spacing: normal;
}

/* Mô tả */
.result-desc {
    font-family: "Carlito", sans-serif;
    font-size: 14px;
    color: #0044aa; /* xanh đậm vừa */
    margin-bottom: 4px;
}

/* Tác giả */
.result-author {
    font-family: "Carlito", sans-serif;
    font-size: 15px;
    color: #000000; /* xanh mềm hơn để phân cấp */
}

/* Không có kết quả */
.no-results {
    padding: 12px;
    text-align: center;
    font-size: 20px;
    font-family: "Carlito", sans-serif;
    color: #ffffff;
}
body {
  background: #ffffff;
}

ul {
  padding-left: 0;
}

ul li {
  list-style: none;
}

a:hover {
  text-decoration: none;
}
#feature .section-heading {
  text-align: center;
  margin-bottom:70px;
}
.section-heading {
  text-align: center;
  margin-bottom:15px;
}
.section-heading .h1 {
    font-size: 35px;           /* to, nổi bật */
    font-weight: 700;
    color: #002080;            /* xanh dương nổi bật */
    text-transform: uppercase;
    line-height: 1.2;
    font-family: "Redley";
}

.section-heading p {
    font-size:18px;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    margin-bottom:-40px;
    font-family: "Carlito";
    
}
.section-heading .title{
    font-size: 35px;           /* to, nổi bật */
    font-weight: 700;
    color: #002080;            /* xanh dương nổi bật */
    text-transform: uppercase;
    font-family: "Redley";
    line-height: 1.2;
}
.title {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 300;
  color: #333;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.subtitle {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.subtitle-des {
  color: #727272;
  font-size: 14px;
  margin-bottom: 35px;
  font-weight: 300;
}

.pages {
  padding: 80px 0 40px;
}

.moduler {
  padding: 140px 0;
}

.social-share li {
  display: inline-block;
  margin: 3px 1px;
}

.social-share a {
  font-size: 20px;
  color: #fff;
  background: #002080;
  padding: 4px 10px;
  display: inline-block;
}

.fancybox-close {
  background: url("../images/icons/close.png") no-repeat scroll 0 0 transparent;
  height: 50px;
  right: 0;
  top: 0;
  width: 50px;
}

.fancybox-next span {
  background: url("../images/icons/right.png") no-repeat scroll center center #009ee3;
  height: 50px;
  width: 50px;
  right: 0;
}

.fancybox-prev span {
  background: url("../images/icons/left.png") no-repeat scroll center center #009ee3;
  height: 50px;
  width: 50px;
  left: 0;
}

.fancybox-title {
  padding: 15px 8px;
}

.fancybox-title h3 {
  font-size: 15px;
  margin: 0;
}

.global-page-header {
  background-attachment: fixed;
  background-size: cover;
  padding: 120px 0 25px 0;
  position: relative;
  background: #002080;
  color: #fff;
}

.global-page-header h2 {
  font-size: 42px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  font-family: "Prata";
}

.global-page-header .breadcrumb {
  background: none;
  font-size: 16px;
  padding: 8px  0;
  font-family: "Carlito";
}

.global-page-header .breadcrumb .active, .global-page-header .breadcrumb li a {
  color: #fff;
}

.global-page-header .block {
  position: relative;
  z-index: 99;
  text-align: center;
}

.works-fit {
  padding: 40px 0;
}

.works-fit figure .buttons {
  left: 14%;
}

.company-description {
  margin-top: 80px;
}

.company-description .block h3 {
  margin-top: 0;
}

.company-description .block p {
  color: #727272;
}

/*=== MEDIA QUERY ===*/
.navbar-default .navbar-nav li a:hover {
  color: #002080;
}

.navbar.navbar-default {
  border: 0;
  border-radius: 0;
  margin-bottom: 0;
}

.navbar.navbar-default .navbar-toggle {
  margin-top: 32px;
}

.navbar-header .navbar-brand {
  padding: 5px 0;
}

.navbar-header .navbar-brand a {
  height: auto;
  display: inline-block;
  margin-top: 8px;
}

.navbar-inverse .navbar-toggle {
  background: #444;
}

.navbar-inverse .navbar-toggle:focus {
  background: #444;
}

#top-bar {
  background: #fff;
  color: #fff;
  transition: all 0.2s ease-out 0s;
  padding: 5px 0;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #dedede;
  height: 70px;
}

#top-bar .navbar-nav li a:hover {
  background: transparent;
  color: #FFD54F;
  
}

#top-bar.animated-header {
  padding: 10px 0;
  background: #fff;
  box-shadow: none;
}

#top-bar .main-menu li {
  position: relative;

}

#top-bar .main-menu li a {
  color: #444;
  font-family: "Redley";
  font-size: 16px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: .3s all;
  text-transform: uppercase;
}

#top-bar .main-menu li a:hover {
  color: #faaa32;
}
.navbar-custom .nav li a {
  position: relative;
  color: #ffffff;
}

.navbar-right .dropdown-menu {
  right: auto;
  left: 0;
}

.navbar-custom .dropdown-menu {
  position: absolute;
  display: block;
  visibility: hidden;
  opacity: 0;
}

.navbar-toggle {
  background: #222222;
}

.navbar-toggle .icon-bar {
  background: #fff;
}

.dropdown-menu ul {
  list-style: none;
  padding: 15px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  margin-top: -5px;
  background: rgba(2, 58, 161, 0.95);
  background-color: rgba(2, 58, 161, 0.95);
  box-shadow: 0 2px 0.09px rgba(0, 0, 0, 0.15);
}

.nav .open a {
  background-color: transparent;
}

.nav .open a:focus {
  background-color: transparent;
}

#top-bar .dropdown-menu ul li a {
  display: block;
  font-size: 15px;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  padding: 8px 0;
  color: #ffffff;
}

#hero-area {
  background: url("../images/ha2.png") no-repeat 20%;
  background-size: cover;
  background-attachment: fixed;
  padding: 150px 0;
  color: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  position: relative;
}

#hero-area:before {
  content: '';
  z-index: 9;
  background: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#hero-area .block {
  position: relative;
  z-index: 999;
}

#hero-area h1 {
  font-size: 40px;
  line-height: 50px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-family: "Redley";
}

#hero-area h2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 38px;
  line-height: 30px;
  text-transform: uppercase;
  color: #ffffff;
  margin-top: 25px;
}
#hero-area b {
  font-weight: 600;
  margin-bottom: 38px;
  line-height: 30px;
  margin-bottom: 38px;
  text-transform: uppercase;
  color: #ffffff;
  font-family: "Prata";
  margin-top: 25px;
}
#hero-area .btn {
  background: #414141;
  border: none;
  color: #fff;
  padding: 20px 35px;
  margin-top: 30px;
  font-size: 16px;
  font-size: 13px;
  line-height: 1em;
  text-transform: uppercase;
  letter-spacing: normal;
  border-radius: 0;
}

#call-to-action {
  background: #002080;
  background-size: cover;
  background-attachment: fixed;
  padding: 80px 0;
  text-align: center;
  position: relative;
  color: #fff;
}

#call-to-action .block {
  position: relative;
  z-index: 99;
  color: #fff;
}

#call-to-action .block h2 {
  margin-bottom: 15px;
  color: #fff;
  font-family: "Radley";
}

#call-to-action .block p {
  font-size: 15px;
  font-weight: 300;
  font-family: 'Carlito';
  margin-top: 20px;
}

#call-to-action .block .btn-contact {
  background: #FFD54F;
  border: none;
  color: #fff;
  font-weight: 500;
  padding: 16px 35px;
  margin-top: 20px;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 0;
}

#call-to-action .block .btn-contact i {
  margin-right: 10px;
}

#about {
  padding: 110px 0;
}

#about .block {
  padding: 20px 30px 0 30px;
}

#about .block h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  text-transform: uppercase;
}

#about .block p {
  color: #727272;
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 35px;
}

#about .block img {
  max-width: 100%;
}

.about-feature {
  margin-top: 50px;
}

.about-feature .block {
  color: #fff;
  width: 33.33%;
  padding: 5%;
  float: left;
}

.about-feature .block p {
  font-weight: 300;
}

.about-feature .about-feature-1 {
  background: #002080;
}

.about-feature .about-feature-2 {
  background: #002080;
}

.about-feature .about-feature-3 {
  background: #002080;
}

.works {
  padding: 80px 0;
  background: #FCFCFC;
}

.works .block {
  position: relative;
  z-index: 99;
}

.works .block:hover .img-overly .overly {
  opacity: 1;
}

.works .block h4 {
  padding: 20px 15px;
  margin-top: 0;
  color: #666;
}

.works .block .img-overly {
  position: relative;
  background: rgba(0, 0, 0, 0.85);
}

.works .block .img-overly img {
  border-radius: 0;
}

.works .block .img-overly .overly {
  background: rgba(57, 181, 74, 0.9);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  opacity: 0;
  transition: .3s all;
}

.works .block .img-overly .overly a {
  position: absolute;
  top: 45%;
  left: 22%;
}

.works .block .img-overly .overly a i {
  font-size: 30px;
  color: #fff;
}

figure {
  background: #fff;
  margin-bottom: 45px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.04), 0 2px 10px 0 rgba(0, 0, 0, 0.06);
}

figure .img-wrapper {
  position: relative;
  overflow: hidden;
}

figure img {
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  transition: -webkit-transform 400ms;
  transition: transform 400ms;
  transition: transform 400ms, -webkit-transform 400ms;
}

figure:hover img {
  -webkit-transform: scale3d(1.2, 1.2, 1);
  transform: scale3d(1.2, 1.2, 1);
}

figure:hover .overlay {
  opacity: 1;
}

figure:hover .overlay .buttons a {
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
}

figure .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  display: flex;                /* bật flexbox */
  align-items: center;          /* căn giữa theo chiều dọc */
  justify-content: center;      /* căn giữa theo chiều ngang */

  padding: 10px;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 400ms;
}
#login .container #login-row #login-column #login-box {
  margin-top: 120px;
  max-width: 600px;
  height: 320px;
  border: 1px solid #9C9C9C;
  background-color: #EAEAEA;
}
#login .container #login-row #login-column #login-box #login-form {
  padding: 20px;
}
#login .container #login-row #login-column #login-box #login-form #register-link {
  margin-top: -85px;
}
figure .overlay a {
  display: inline-block;
  color: #fff;
  padding: 10px 23px;
  line-height: 1;
  border: 1px solid #fff;
  border-radius: 0px;
  margin: 4px;
  -webkit-transform: scale3d(0, 0, 0);
  transform: scale3d(0, 0, 0);
  transition: all 400ms;
}

figure .overlay a:hover {
  text-decoration: none;
}

figure .overlay:hover a {
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
}

figure .buttons {
  position: absolute;
  top: 45%;
  left: 24%;
}

figure figcaption {
  padding: 20px 25px;
  margin-top: 0;
  color: #666;
}

figure figcaption h4 {
  margin: 0;
}

figure figcaption h4 a {
  color: #002080;
}

figure figcaption p {
  font-size: 14px;
  margin-bottom: 0;
  margin-top: 5px;
}

#feature {

  padding: 50px 0;
}

#feature .media {
  margin: 0px 0 70px 0;
}

#feature .media .media-left {
  padding-right: 25px;
}

#feature h3 {
  color: #222222;
  font-size: 18px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
  margin: 0px 0px 15px;
  font-weight: 400;
}

#feature p {
  line-height: 25px;
  font-size: 14px;
  color: #777777;
}

#feature .icon {
  text-decoration: none;
  color: #FFD54F;
  background-color: #002080;
  height: 100px;
  width: 100px;
  font-size: 50px;
  line-height: 100px;
  text-align: center;
  border-radius: 50%;

  /* Text-shadow kiểu nổi khối nhưng tiết chế */
  text-shadow:
    #0060ba 1px 1px,
    #0060ba 2px 2px,
    #0060ba 3px 3px,
    #00a4ba 4px 4px,
    #00a4ba 5px 5px;
}


.wrapper_404 h1 {
  font-size: 200px;
  color: #002080;
  line-height: 1;
}

.wrapper_404 h2 {
  font-size: 50px;
  margin-top: 0;
}

.wrapper_404 .btn-home {
  background: #414141;
  border: none;
  color: #fff;
  padding: 20px 35px;
  margin-top: 10px;
  font-size: 16px;
  font-size: 13px;
  line-height: 1em;
  text-transform: uppercase;
  letter-spacing: normal;
  border-radius: 0;
}

#blog-full-width {
  padding: 40px 0 80px;
}

/* Thẻ article như một cuốn sách */
article {
  padding: 15px; /* padding cho nội dung bên trong */
  border: 1px solid rgba(0,0,0,0.15); /* viền nhẹ */
  border-radius: 0; /* viền vuông, không bo góc */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08); /* shadow nhẹ */
  background-color: #fff;
  transition: all 0.3s ease;
  margin-bottom: 25px;
  overflow: hidden; /* để ảnh không tràn ra ngoài */
}

/* hover nâng shadow */
article:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Hình ảnh sát viền, vuông vắn */
.blog-post-image {
  margin: -15px -15px 15px -15px; /* lùi ra sát viền article */
  overflow: hidden;
  border-radius: 0; /* ảnh vuông */
}

.blog-post-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0; /* ảnh vuông */
}

/* Nội dung bên trong cách viền article */
.blog-content {
  padding: 0; /* đã có padding cho article */
}

.blog-content h2 {
  font-family: "Playfair Display";
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 10px;
}

.blog-content h2 a {
  color: #002080;
  text-decoration: none;
}

.blog-content .blog-meta {
  color: #848484;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 13px;
  font-family: "Radlay";
}

.blog-content .blog-meta span:after {
  content: '/';
  padding: 0 5px;
}

.blog-content .blog-meta a {
  color: #002080;
  text-decoration: none;
}

.blog-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
}

.blog-content .btn-details {
  display: inline-block;
  background-color: #002080;
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  border: 1px solid #002080;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.blog-content .btn-details:hover {
  background-color: #00A3FF;
  border-color: #00A3FF;
}



.sidebar {
  padding-top: 60px;
}

.sidebar .widget {
  margin-bottom: 40px;
  padding: 15px;
  border: 1px solid #dedede;
}

.sidebar .widget h3 {
  margin-top: 8px;
}

.sidebar .search input.form-control {
  border-right: 0;
  border-radius: 0;
  box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.075);
}

.sidebar .search button {
  border-left: 0;
}

.sidebar .search button:hover {
  background: transparent;
}

.sidebar .author .author-img img {
  width: 90px;
  border-radius: 100%;
  margin-top: -40px;
  border: 3px solid #fff;
}

.sidebar .author .author-bio p {
  font-size: 14px;
  color: #888;
}

.sidebar .categories ul li {
  border-bottom: 1px solid #f0f0f0;
  padding: 10px 0;
  list-style: none;
}

.sidebar .categories ul li span.badge {
  float: right;
  background: transparent;
  color: #444;
  border: 1px solid #dedede;
  border-radius: 0;
}

.sidebar .categories ul li a {
  color: #555;
}

.sidebar .categories ul li:last-child {
  border-bottom: none;
}

.sidebar .recent-post ul li {
  margin: 20px 0;
}

.sidebar .recent-post ul li a {
  color: #555;
  font-size: 15px;
}

.sidebar .recent-post ul li a:hover {
  color: #002080;
}

.sidebar .recent-post time {
  font-weight: 300;
  color: #999;
  font-size: 12px;
}

#clients {
  padding: 30px 0 60px;
}

#clients .owl-carousel .owl-item {
  margin-right: 10px;
}

#clients .owl-carousel .owl-item img {
  display: block;
  width: 100%;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

#contact-section {
  padding: 90px 0;
}

#contact-section .contact-form {
  margin-top: 42px;
}

#contact-section .contact-form .btn-send {
  color: #fff;
  outline: none;
  background: #002080;
}

#contact-section .contact-form .btn-send:hover {
  border: 1px solid #002080;
}

#contact-section input {
  display: block;
  height: 40px;
  padding: 6px 12px;
  font-size: 13px;
  line-height: 1.428571429;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  border-radius: 1px;
  border: 1px solid rgba(111, 121, 122, 0.3);
  box-shadow: none;
  -webkit-box-shadow: none;
}

#contact-section textarea {
  display: block;
  border-radius: 0;
  width: 100%;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #cccccc;
  box-shadow: none;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

#contact-section .address, #contact-section .email, #contact-section .phone {
  text-align: center;
  background: #F7F7F7;
  padding: 20px 0 40px 0;
  margin-bottom: 20px;
}

#contact-section .address i, #contact-section .email i, #contact-section .phone i {
  font-size: 45px;
  color: #002080;
}

#contact-section .address h5, #contact-section .email h5, #contact-section .phone h5 {
  font-size: 16px;
  line-height: 1.4;
}

#contact-section .address-details {
  padding-top: 70px;
}

#map-canvas {
  width: 100%;
  height: 350px;
  background-color: #CCC;
}

.error {
  padding: 10px;
  color: #D8000C;
  border-radius: 2px;
  font-size: 14px;
  background-color: #FFBABA;
}

.success {
  background-color: #6cb670;
  border-radius: 2px;
  color: #fff;
  font-size: 14px;
  padding: 10px;
}

#error, #success {
  display: none;
  margin-bottom: 10px;
}

.gallery {
  padding: 100px;
}

.gallery figure .buttons {
  left: 40%;
}

.portfolio-meta span {
  margin: 5px 10px;
  font-weight: 300;
}

.portfolio-meta span a {
  color: #fff;
}

.portfolio-single {
  padding: 80px 0 20px;
}

.portfolio-single .portfolio-content {
  padding: 40px 0;
}

.single-post {
  padding: 20px ;
}
.single-post h2,
.single-post h3,
.single-post h4 {
  scroll-margin-top: 100px; /* chỉnh số này bằng chiều cao header */
}
.single-post .post-content {
  padding: 5px;
  text-align: justify;
  line-height: 1.8; /* <-- tăng khoảng cách dòng */
  font-size: 1.8rem !important;
}

.single-post .post-content * {
  font-size: 2rem !important;
  line-height: 1.8 !important; /* <-- thêm dòng này để áp cho các phần tử con */
}


.single-post .post-ca {
  font-size: 2rem !important;
  line-height: 1.8 !important; /* <-- thêm dòng này để áp cho các phần tử con */
}
.single-post .post-aa ul li a {
  font-size: 1.5rem !important;
  line-height: 1.8 !important;
}

.single-post li * {
  font-size: 1rem !important;
  line-height: 1.1 !important; /* <-- thêm dòng này để áp cho các phần tử con */
}

.single-post .media {
  border: 1px solid #dedede;
  padding: 30px 20px;
}
.single-post a {
  color: #e02508;
  font-size: 12px;
}
.single-post .media .media-body a {
  color: #002080;
  font-size: 12px;
}

.single-post .media .media {
  border: none;
}

.single-post .comments {
  margin-top: 40px;
}

.single-post .post-comment {
  margin-top: 40px;
}

.single-post .post-comment h3 {
  margin-bottom: 15px;
}

.single-post .post-comment .form-control {
  box-shadow: none;
  border-radius: 0;
}

.single-post .post-comment .btn-send {
  background: #002080;
  color: #fff;
  border-radius: 0;
}

#product-showcase-banner {
  padding-top: 160px;
}

#product-showcase-banner .block {
  padding: 20px 0 20px 50px;
}

#product-showcase-banner .block h2 {
  font-size: 40px;
  color: #002080;
  margin-bottom: 20px;
  margin-top: 0;
}

#product-showcase-banner .block p {
  color: #666;
  line-height: 25px;
}

#product-showcase-banner .block .buttons {
  margin-top: 25px;
}

#product-showcase-banner .block .buttons .btn {
  color: #fff;
  border: none;
  padding: 12px 40px;
  transition: .2s all;
  letter-spacing: 2px;
  font-size: 15px;
}

#product-showcase-banner .block .buttons .btn-demo {
  background: #5abd4f;
  margin-right: 8px;
  border-bottom: 3px solid #429E38;
}

#product-showcase-banner .block .buttons .btn-demo:hover {
  background: #429E38;
}

#product-showcase-banner .block .buttons .btn-buy {
  background: #00AEDA;
  border-bottom: 3px solid #0190B5;
}

#product-showcase-banner .block .buttons .btn-buy:hover {
  background: #0190B5;
}

#product-showcase-banner .block .buttons .btn-buy span {
  margin-right: 8px;
  font-weight: bold;
}

#product-description {
  padding-top: 80px;
}

#product-description .block {
  height: 400px;
  overflow: hidden;
  margin-top: 35px;
  border-bottom: 1px solid #dedede;
  padding-top: 30px;
  position: relative;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
}

#product-description .block:hover img {
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
}

#product-description .block img {
  position: absolute;
  top: 10px;
  left: 0;
  -webkit-transform: translateY(60px);
  transform: translateY(60px);
  transition: -webkit-transform 0.35s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: transform 0.35s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: transform 0.35s cubic-bezier(0.645, 0.045, 0.355, 1), -webkit-transform 0.35s cubic-bezier(0.645, 0.045, 0.355, 1);
}

#product-description .block .content {
  width: 60%;
  padding-top: 70px;
}

#product-description .block .content h3 {
  font-size: 32px;
  color: #5c5c5c;
}

#product-description .block .content p {
  color: #787f8c;
  line-height: 25px;
}

#related-items {
  padding: 60px 0 110px;
}

#related-items .title {
  border-bottom: 1px solid #dedede;
  padding: 10px 0;
  margin: 5px 15px 30px 15px;
  text-align: left;
  color: #777;
}

#related-items .product-details {
  margin-bottom: 0;
}

#related-items .block {
  position: relative;
  background: #fff;
  margin-bottom: 45px;
  box-shadow: 0 0px 1px rgba(0, 0, 0, 0.14);
}

#related-items .block:hover .img-overly .overly {
  opacity: 1;
}

#related-items .block h4 {
  padding: 20px 15px;
  margin-top: 0;
  color: #666;
}

#related-items .block h4 span {
  float: right;
  color: #002080;
}

#related-items .block .img-overly {
  position: relative;
  background: rgba(0, 0, 0, 0.85);
}

#related-items .block .img-overly img {
  border-radius: 0;
}

#related-items .block .img-overly .overly {
  background: rgba(57, 181, 74, 0.9);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  opacity: 0;
  transition: .3s all;
}

#related-items .block .img-overly .overly a {
  position: absolute;
  top: 45%;
  left: 45%;
}

#related-items .block .img-overly .overly a i {
  font-size: 30px;
  color: #fff;
}

.service-page .service-parts .block {
  margin-bottom: 40px;
  text-align: center;
}

.service-page .service-parts .block i {
  font-size: 35px;
  color: #002080;
}

.service-page .service-parts .block p {
  padding: 0 8px;
  font-size: 14px;
  color: #777;
  line-height: 1.7;
}

.works.service-page figure .buttons {
  position: absolute;
  top: 45%;
  left: 13%;
}

#team {
  margin: 50px 0;
}

.team-member {
  margin-top: 30px;
}

.team-member:hover .team-img img {
  opacity: .8;
}

.team-member .team-img {
  position: relative;
}

.team-member .team-img .team-pic {
  width: 100%;
}

.team-member .team_designation {
  font-size: 13px;
}

.team-member h3 {
  color: #002080;
  margin-bottom: 0;
  font-size: 20px;
}

.team-member p {
  font-size: 14px;
}

.team-member .social-icons a {
  background: #002080;
  color: #fff;
  padding: 4px 8px;
  display: inline-block;
  font-size: 15px;
}

.team-member .social-icons .facebook {
  padding: 4px 12px;
}

#footer {
  background: #fff;
  padding: 25px 0;
  color: #555;
}

#footer .copyright {
  font-size: 13px;
  margin-bottom: 0;
}

#footer .copyright a {
  color: #002080;
}

#footer .social {
  text-align: right;
  margin-bottom: 0;
}

#footer .social li {
  display: inline-block;
  margin-right: 15px;
}

#footer .social li a {
  font-size: 22px;
  color: #002080;
}

.cd-headline.slide .cd-words-wrapper {
  color: #ffb347;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.5); /* Viền sáng nhẹ hơn */
}

ul.social-icons {
  height: auto;
  overflow: hidden;
  list-style: none !important;
  margin-bottom: 10px;
}

ul.social-icons li {
  float: none;
  display: inline-block;
  height: 36px;
}

#copyright a:hover, #copyright nav .menu li a:hover {
  color: #e4e4e4 !important;
}

#copyright a {
  text-decoration: none;
}

#copyright a:hover {
  text-decoration: none;
}
/* Section Blog Grid */
#blog-grid {
    padding: 80px 0;           /* khoảng cách trên dưới */
    /* nền nhẹ */
}

/* Tiêu đề section */
#blog-grid .section-heading {
    text-align: center;
    margin-bottom: 10px;
}

#blog-grid .section-heading .title {
    font-size: 35px;           /* to, nổi bật */
    font-weight: 700;
    color: #002080;            /* xanh dương nổi bật */
    text-transform: uppercase;
    line-height: 1.2;
    font-family: "Redley";
}

#blog-grid .section-heading p {
    font-size: 18px;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: "Carlito";
    
}

/* Responsive styles
================================================== */
/* Large Devices, Wide Screens */
@media (min-width: 1200px) {
  /* Dropdown animation */
  .navbar-nav .dropdown-menu,
  .navbar-nav .dropdown.megamenu div.dropdown-menu {
    background: none;
    border: 0;
    box-shadow: none;
    display: block;
    opacity: 0;
    z-index: 1;
    visibility: hidden;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    transition: visibility 500ms, opacity 500ms, -webkit-transform 500ms cubic-bezier(0.43, 0.26, 0.11, 0.99);
    transition: visibility 500ms, opacity 500ms, transform 500ms cubic-bezier(0.43, 0.26, 0.11, 0.99);
    transition: visibility 500ms, opacity 500ms, transform 500ms cubic-bezier(0.43, 0.26, 0.11, 0.99), -webkit-transform 500ms cubic-bezier(0.43, 0.26, 0.11, 0.99);
  }
  .navbar-nav .dropdown:hover div.dropdown-menu,
  .navbar-nav .dropdown.megamenu:hover div.dropdown-menu {
    opacity: 1;
    visibility: visible;
    color: #777;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  .navbar-nav .dropdown-backdrop {
    visibility: hidden;
  }
}

/*		Tablet Layout: 768px.
		Gutters: 24px.
		Outer margins: 28px.
		Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */
/*		Mobile Layout: 320px.
		Gutters: 24px.
		Outer margins: 34px.
		Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */
@media only screen and (max-width: 767px) {
  .title {
    font-size: 40px;
  }
  .navbar-header .navbar-brand a {
    padding: 6px 8px;
  }
  #hero-area {
    padding: 140px 0;
  }
  #hero-area .btn {
    margin-top: 8px;
  }
  #about {
    padding: 70px 0;
  }
  #about .block {
    padding: 0;
  }
  figure .buttons {
    left: 16%;
  }
  #feature .media {
    margin: 0px 0px 35px;
  }
  #footer .copyright {
    text-align: center;
  }
  #footer .social {
    text-align: center;
  }
  .dropdown-menu > ul > li > a {
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    padding: 15px;
    color: #333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .dropdown-menu > ul {
    list-style: none;
    padding: 0 15px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    margin-top: -5px;
    background: #fff;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 0.09px rgba(0, 0, 0, 0.15);
  }
  .navbar-collapse {
    background: #333333;
  }
  #top-bar .main-menu li > a {
    color: #fff;
    padding: 21px 10px;
    background: transparent;
  }
  #top-bar .dropdown-menu > ul {
    list-style: none;
    padding: 0 15px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    margin-top: -5px;
    background: #fff;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 0.09px rgba(0, 0, 0, 0.15);
  }
  #top-bar .dropdown-menu > ul > li > a {
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    padding: 15px;
    color: #333;
  }

}
  /* ========================== BOOK STYLE =============================== */

.book-wrapper {
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-direction: column; /* xếp sách + alphabet */
    align-items: center;
}

.book-container {
    perspective: 2000px;
    width: 100%;
    height: 650px; /* giữ cố định chiều cao sách */
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book {
    position: relative;
    width: 100%;
    height: 85%;
}

.book-spread {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    font-family: "Radley";
}

.book-page {
    width: 50%;
    height: 100%;
    background: #fbf8ed;
    border: 1px solid #002080;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    padding: 20px;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    
    /* tạo khuyết/một chút lồi ở giữa cạnh */
    border-radius: 0 40px 40px 0; /* trang phải lồi vào */
}

/* Left page */
.book-page.left {
    transform-origin: left center;
    border-radius: 20px 0 0 20px; /* trang trái lồi vào */
    box-shadow: inset -5px 0 15px rgba(0,0,0,0.2),
                0 6px 15px rgba(0,0,0,0.1); /* tạo bóng vào trong */
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

/* Right page */
.book-page.right {
    transform-origin: right center;
    border-radius: 0 20px 20px 0; 
    box-shadow: inset 5px 0 15px rgba(0,0,0,0.2),
                0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
    
}

/* Khi hover (nhấn mạnh trang giữa nổi lên) */
.book-page.left:hover {
    transform: rotateY(5deg) translateZ(10px);
    box-shadow: inset -10px 0 25px rgba(0,0,0,0.25),
                -10px 0 30px rgba(0,0,0,0.3);
}

.book-page.right:hover {
    transform: rotateY(-5deg) translateZ(10px);
    box-shadow: inset 10px 0 25px rgba(0,0,0,0.25),
                10px 0 30px rgba(0,0,0,0.3);
}


/* Gradient cạnh sách thật */
.book-page::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.05);
}

/* LEFT & RIGHT PAGES */
.book-page.left { transform-origin: left center; z-index: 2; }
.book-page.right { transform-origin: right center; z-index: 1; }

.book-page.left:hover {
    transform: rotateY(5deg);
    box-shadow: -10px 0 25px rgba(0,0,0,0.2);
}
.book-page.right:hover {
    transform: rotateY(-5deg);
    box-shadow: 10px 0 25px rgba(0,0,0,0.2);
}

/* EMPTY SPACER WHEN NO CONTENT */
.empty-page {
    color: rgba(0, 0, 128, 0.3); /* chữ nhạt màu navy */
    font-style: italic;
}
.book-page hr {
    border-top: 1px dashed #002080; /* đường kẻ xanh đậm */
}

/* COVER PAGE */
.book-page.right.cover-page {
    position: relative;
    overflow: hidden;
    border-radius: 0 20px 20px 0;
    background: #02337bff;
}

/* Container ảnh để căn giữa page */

.book-page.right.cover-page img {
    width: 400px;
    height: 200px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
}
.book-page.left.cover-page {
    position: relative;
    display: flex;
    justify-content: center; /* canh giữa ngang */
    align-items: center;     /* canh giữa dọc */
    padding: 20px;           /* khoảng cách xung quanh page */
    overflow: hidden;
    border-radius: 20px 0 0 20px; /* giữ bo góc */
}

.book-page.left.cover-page img {
    max-width: 70%;    /* thu nhỏ so với page */
    max-height: 70%;   /* giới hạn chiều cao */
    object-fit: contain; /* giữ tỉ lệ, không bị cắt */
    display: block;
}
.cover-page {
    background: #02337bff; /* xanh đậm */
    color: #ffffff; /* chữ vàng sáng tương phản */
    
}

.cover-page h1 {
    color: #ffffff;          /* chữ trắng */
    font-size: 40px;
    font-family: "Prata", serif !important;
}
.cover-page p {
    color: #ffffff; /* màu chữ nhạt */
    font-size: 19px;
    font-family: "Carlito";
}
.letter-title {
    color: #002080; /* chữ màu chủ đạo */
    
    font-weight: bold;
}
.term-item h5 a {
    color: #002080; /* link thuật ngữ */
    text-decoration: none;
    font-family: "Prata";
    font-weight: 300;
}
.term-item h5 a:hover {
    color: #e02508; /* màu xanh sáng khi hover */
}
/* TERMS STYLE */
.term-item h5 { font-size: 25px;
    margin: 6px 0; }
.book-page hr { border:none; border-top:1px dashed #002080; margin:8px 0; }

/* PAGINATION BUTTONS LEFT/RIGHT */
.book-pagination {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 250px; /* cách sách một chút */
    pointer-events: auto;
    position: relative; /* để nút hoạt động */
}

.book-pagination button {
    width: 45px;
    height: 45px;
    background: #002080;
    color: #FFD580;
    border-radius: 50%;
    font-weight: bold;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: background 0.3s, transform 0.2s;
}

.book-pagination button:hover {
    background: #000066;
    transform: scale(1.1);
}

.book-pagination .prev-page { left: -60px; }
.book-pagination .next-page { right: -60px; }
.book-pagination .prev-page,
.book-pagination .next-page {
    position: absolute;   /* để z-index hoạt động */
    z-index: 9999;        /* cao hơn book */
}
.book-pagination .page-counter { display: none; }
.alphabet-sidebar {
    position: relative; /* hoặc absolute nếu muốn */
    z-index: 9999;      /* đảm bảo nằm trên book */
    margin-top: -45px;
    margin-bottom: 5px;
    width: 100%;
    max-width: 800px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32px, 1fr));
    grid-auto-rows: 32px;
    gap: 6px;
    justify-items: center;
    align-items: center;

    /* Thêm khung viền */
    border: 2px solid #000080;  /* viền màu xanh đậm */
    border-radius: 8px;         /* bo góc nhẹ */
    padding: 6px;               /* khoảng cách giữa viền và chữ cái */
    background-color: #ffffff;  /* nền trắng bên trong khung */
}
.alphabet-letter {
    width: 32px;
    height: 32px;
    background: #ffffff;
    border: 2px solid #000080;
    color: #000080;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    transition: 0.2s;
}

.alphabet-letter:hover {
    background: #000080;
    color: #ffffff;
}

.alphabet-letter.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: #cccccc;
    color: #cccccc;
}

@media (max-width: 600px) {
    .alphabet-sidebar {
        grid-auto-rows: 28px;
        gap: 4px;
    }
    .alphabet-letter {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}
.highlight-term {
    background-color: #fffa8c; /* màu vàng nổi bật */
    transition: background-color 0.5s ease;
}
/* Slide-in fallback animation for page content (left -> right) */
.page-front.will-slide {
    transform: translateX(-28px);
    opacity: 0;
}
.page-front.slide-in {
    transition: transform .45s ease, opacity .45s ease;
    transform: translateX(0);
    opacity: 1;
}
/* Staggered child animation: items appear from right -> left, top -> bottom order */
.stagger-child {
    transform: translateX(28px);
    opacity: 0;
    transition: transform .36s ease, opacity .36s ease;
}
.stagger-child.stagger-in {
    transform: translateX(0);
    opacity: 1;
}
@media (max-width: 768px) {
    .book-pagination .prev-page,
    .book-pagination .next-page {
        position: absolute;
        z-index: 19999; /* cho nó nổi lên trước */
    }

    .book-pagination .prev-page {
        left: -8px !important;
        top: 50%;
        transform: translateY(-50%);
    }

    .book-pagination .next-page {
        right: -8px !important;
        top: 50%;
        transform: translateY(-50%);
    }

    .book-pagination button {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}
/*		Wide Mobile Layout: 480px.
		Gutters: 24px.
		Outer margins: 22px.
		Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */

/*# sourceMappingURL=maps/style.css.map */
