* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

.container {
  max-width: 1280px !important;
}

a {
  color: #111111;
  text-decoration: none;
}

.text-secondary-custom {
  color: #891113 !important;
}

.text-secondary-2-custom {
  color: #323548 !important;
}

.text-primary-custom {
  color: #891113 !important;
}

.text-neutral-1 {
  color: #111111 !important;
}

.text-neutral-4 {
  color: #DEDEDE !important;
}

.text-correct {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.0142658px;
  -webkit-text-fill-color: #0e8585 !important;
}

.text-wrong {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.0142658px;
  -webkit-text-fill-color: #e73939 !important;
}

.bg-correct {
  background-color: #0e8585 !important;
  -webkit-text-fill-color: white !important;
}

.bg-wrong {
  background-color: #e73939 !important;
  -webkit-text-fill-color: white !important;
}

.bg-secondary-1 {
  background-color: #FDC157;
}

.my-slider {
  position: relative;
}
.my-slider .slider-nav {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.my-slider .slider-nav.slider-prev-arr {
  position: absolute;
  z-index: 100;
  top: 50%;
  left: 0;
  border: 7px solid #DEDEDE;
  transform: translateX(-10px);
}
.my-slider .slider-nav.slider-next-arr {
  position: absolute;
  z-index: 100;
  top: 50%;
  right: 0;
  border: 7px solid #FFFFFF;
  transform: translateX(10px);
  background-color: #323548;
}

.my-slider-more-courses {
  position: relative;
}
.my-slider-more-courses .slider-nav {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.my-slider-more-courses .slider-nav.slider-prev-arr {
  position: absolute;
  z-index: 100;
  top: 50%;
  left: 0;
  border: 7px solid #DEDEDE;
  transform: translateX(-10px);
}
.my-slider-more-courses .slider-nav.slider-next-arr {
  position: absolute;
  z-index: 100;
  top: 50%;
  right: 0;
  border: 7px solid #FFFFFF;
  transform: translateX(10px);
  background-color: #323548;
}

.btn {
  padding: 12px 31px;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  text-transform: capitalize;
  border-radius: 16px;
}
.btn:hover {
  color: #111111;
}

.btn-custom-primary {
  background: #891113;
  color: #FFFFFF; 
}
.btn-custom-primary:hover {
  border: 2px solid #891113;
  color: #ffffff;
}

.btn-custom-primary-outline {
  border: 1px solid #891113;
  color: #891113;
}
.btn-custom-primary-outline:hover {
  border: 1px solid #891113;
  color: #891113;
}

/* Button styling aligned with banner design */
.btn-yellow {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
    width: 167px;
    height: 40px;
    background: linear-gradient(135deg, #891113, #710000); /* Deep red gradient for active state */
    border: 2px solid #d3974f; /* Warm gold border */
    color: #FFFFFF; /* White for high contrast */
    box-shadow: 0 4px 12px rgba(137, 17, 19, 0.4); /* Deep red glow */
    color: #ffffff;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    text-transform: capitalize;

    transition: all 0.3s ease; /* Smooth transition for hover */
    overflow: hidden;

    z-index: 1;
}

.btn-yellow:hover {
    transform: translateY(-3px); /* Subtle lift for 3D effect */
    box-shadow: 0 6px 12px linear-gradient(135deg, #891113, #710000); /* Enhanced shadow on hover */
    background: #d3974f; /* Darker shade for hover, matching banner */
    cursor: pointer;
}

/* Pseudo-element for subtle glow effect */
.btn-yellow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2); /* Subtle white glow */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .btn-yellow {
        width: 160px; /* Slightly smaller for mobile */
        height: 40px;
        padding: 10px 20px;
        font-size: 14px;
        line-height: 18px;
    }
}
.btn-circle {
  width: 35px;
  height: 35px;
  line-height: 35px;
  background-color: #891113;
  border: none;
  border-radius: 50%;
  color: white;
}

@media all and (max-width: 767.98px) {
  .btn-yellow {
    height: 40px;
    width: fit-content;
  }
}
.modal .modal-dialog {
  margin-top: 220px;
  max-width: 624px;
}
.modal .modal-content {
  position: relative;
  margin-top: 20px;
}
.modal .modal-content .modal-header {
  border: none;
}
.modal .modal-content .modal-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}
.modal .modal-content .modal-footer {
  width: 100%;
  border: none;
  padding-top: 0;
}
.modal .modal-content .modal-footer button {
  display: block;
  width: 100%;
  max-width: 512px;
  margin: 0 auto;
  margin-bottom: 25px;
}
.modal .modal-content .modal-footer button.huy {
  background-color: transparent;
  border: 2px solid #891113;
  color: #ffd600;
}

/* General card styles for .card-course-contain */
.card-course-contain .card {
    border: 3px solid #d3974f; /* Warm gold border for modern elegance */
    border-radius: 16px; /* Sleek, modern corners */
    background-color: #FFFFFF; /* White for clean backdrop */
    font-family: 'Roboto', Georgia, serif; /* Classic yet modern font */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-course-contain .card:hover {
    transform: scale(1.02); /* Subtle scale-up */
    box-shadow: 0 4px 12px rgba(14, 68, 68, 0.3); /* Deep teal glow */
}

.card-course-contain .card .img-contain {
    position: relative;
}

.card-course-contain .card .img-contain img {
    height: 240px; /* Modernized height */
    object-fit: cover;
    border-radius: 14px 14px 0 0;
    width: 100%;
}

.card-course-contain .card .img-contain div {
    position: absolute;
    top: 16px;
    left: 20px;
    padding: 8px 16px;
    border-radius: 14px;
    border: 2px solid #0e4444; /* Deep teal border */
    background: linear-gradient(135deg, #d3974f, #F0D698); /* Gold gradient */
    color: #FFFFFF; /* White text for contrast */
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 140%;
}

.card-course-contain .card .card-body {
    padding: 16px 20px 20px; /* Clean spacing */
    background: linear-gradient(180deg, #F0D698, #e8c18a); /* Light gold gradient */
    border-top: 2px solid #0e4444; /* Teal separator */
}

.card-course-contain .card .card-body .item1 {
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #891113; /* Deep red for text */
    margin-bottom: 6px;
}

.card-course-contain .card .card-body h5 {
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px; /* Modern size */
    line-height: 26px;
    color: #891113; /* Deep red for title */
    margin-bottom: 6px;
}

.card-course-contain .card .card-body p {
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #891113; /* Deep red for text */
    opacity: 0.9;
    margin-bottom: 18px;
}

.card-course-contain .card .card-body button {
    padding: 10px 18px;
    background: #0e4444; /* Deep teal button */
    border: 2px solid #d3974f; /* Warm gold border */
    border-radius: 8px;
    color: #FFFFFF; /* White for contrast */
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 140%;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.card-course-contain .card .card-body button:hover {
    background: #1a6b6b; /* Lighter teal */
    box-shadow: 0 4px 10px rgba(14, 68, 68, 0.4); /* Teal glow */
}

.card-course-contain .card .card-body .last-item span {
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 18px;
    color: #891113; /* Deep red for text */
}

/* Styles for .card-course-contain-index */
.card-course-contain-index .card {
    border: 3px solid #d3974f; /* Warm gold border */
    border-radius: 16px;
    background-color: #FFFFFF;
    font-family: 'Roboto', Georgia, serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-course-contain-index .card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(14, 68, 68, 0.3); /* Deep teal glow */
}

.card-course-contain-index .card .card-top img {
    border-radius: 7px 7px 0 0;
    height: 240px;
    object-fit: fill;
    width: 100%;
    position: relative; /* Cần thiết để định vị pseudo-element */
    transition: all 0.3s ease; /* Tạo hiệu ứng mượt mà khi hover */
}

.card-course-contain-index .card .card-top img:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%; /* Bắt đầu từ ngoài ảnh */
    width: 50%; /* Độ rộng của ánh sáng */
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    ); /* Gradient tạo hiệu ứng ánh sáng */
    transform: skewX(-25deg); /* Nghiêng ánh sáng để trông tự nhiên hơn */
    animation: shine 0.75s ease forwards; /* Gọi animation khi hover */
}

@keyframes shine {
    100% {
        left: 125%; /* Di chuyển ánh sáng ra khỏi ảnh */
    }
}
/* Đảm bảo thẻ cha không gây ảnh hưởng đến hiệu ứng */
.card-course-contain-index .card .card-top {
    position: relative;
    overflow: hidden; /* Ngăn ánh sáng tràn ra ngoài */
}

.card-img, .card-img-top {
  
    object-fit: cover;
	object-position:top;
    width: 100%;
	height: 250px;
    border-radius: 5px 5px 0 0;
}

.card-course-contain-index .card .card-body {
    padding: 16px 20px 20px;
    background: linear-gradient(180deg, #F0D698, #e8c18a); /* Light gold gradient */
    border-top: 1px solid #f9b75a;
}

.card-course-contain-index .card .card-body .card-title {
    margin-bottom: 10px;
    color: #891113; /* Deep red for title */
    font-family: 'Roboto Condensed', Georgia, serif;
    font-style: normal;
    font-weight: 700;
    font-size: 24px !important;
    line-height: 28px !important;
	text-transform: uppercase;
}

.card-course-contain-index .card .card-body .card-text {
    margin-bottom: 10px;
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #891113; /* Deep red for text */
}

.card-course-contain-index .card .card-body .rate {
    margin-bottom: 24px;
    color: #d3974f; /* Warm gold for rate */
    font-family: 'Roboto', Georgia, serif;
}

.card-course-contain-index .card .card-bottom {
    padding: 20px;
    background: #FFFFFF; /* White for clean contrast */
    border: 2px solid #d3974f; /* Warm gold border */
    border-radius: 0 0 14px 14px;
}

/* Styles for .card-course-contain-index.best */
.card-course-contain-index.best .card-top {
    position: relative;
}

.card-course-contain-index.best .card-top .best-overlay {
    position: absolute;
    top: 24px;
    left: 0;
    padding: 10px 14px;
    background: linear-gradient(135deg, #d3974f, #F0D698); /* Gold gradient */
    border: 2px solid #0e4444; /* Deep teal border */
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
    line-height: 16px;
    color: #FFFFFF; /* White for contrast */
    border-radius: 0 14px 14px 0;
}

.card-course-contain-index.best .card .card-body {
    background: linear-gradient(180deg, #F0D698, #e8c18a);
    border-top: 2px solid #0e4444;
}

.card-course-contain-index.best .card .card-bottom {
    background: #FFFFFF;
    border: 2px solid #d3974f;
    border-radius: 0 0 14px 14px;
}

/* Styles for .card-ne-contain */
.card-ne-contain .card {
    border: 3px solid #d3974f; /* Warm gold border */
    background-color: #FFFFFF;
    border-radius: 7px;
    font-family: 'Roboto', Georgia, serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-ne-contain .card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(14, 68, 68, 0.3);
}

.card-ne-contain .card .cald-img-top {
    height: 180px;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
}

.card-ne-contain .card .card-body {
    padding: 16px 20px 28px;
    background: linear-gradient(180deg, #F0D698, #e8c18a); /* Light gold gradient */
    border-top: 1px dashed #9d6d00;
	border-radius: 0px 0px 5px 5px;
}

.card-ne-contain .card .card-body .card-head {
    margin-bottom: 10px;
}

.card-ne-contain .card .card-body .card-head .time {
    margin-right: 14px;
}

.card-ne-contain .card .card-body .card-head .time h5 {
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    color: #891113; /* Deep red for title */
}

.card-ne-contain .card .card-body .card-head .time span {
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    line-height: 18px;
    color: #891113; /* Deep red for text */
    white-space: nowrap;
}

.card-ne-contain .card .card-body .card-head .title {
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #891113; /* Deep red for title */
}

.card-ne-contain .card .card-body .card-text {
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #891113; /* Deep red for text */
    margin-bottom: 0;

	}

/* Media query for mobile */
@media screen and (max-width: 768px) {
    .card-course-contain .card,
    .card-course-contain-index .card,
    .card-ne-contain .card {
        border-width: 2px; /* Thinner border for mobile */
        border-radius: 14px;
    }

    .card-course-contain .card .img-contain img,
    .card-course-contain-index .card .card-top img,
    .card-img, .card-img-top,
    .card-ne-contain .card .cald-img-top {
        height: 260px; /* Reduced height for mobile */
        border-radius: 12px 12px 0 0;
    }

    .card-course-contain .card .card-body,
    .card-course-contain-index .card .card-body,
    .card-ne-contain .card .card-body {
        padding: 12px 16px;
    }

    .card-course-contain-index .card .card-bottom {
        padding: 16px;
        border-width: 1px;
        border-radius: 0 0 12px 12px;
    }

    .card-course-contain .card .card-body h5,
    .card-course-contain-index .card .card-body .card-title,
    .card-ne-contain .card .card-body .card-head .time h5 {
        font-size: 18px;
        line-height: 24px;
    }

    .card-course-contain .card .card-body p,
    .card-course-contain-index .card .card-body .card-text,
    .card-ne-contain .card .card-body .card-text {
        font-size: 13px;
        line-height: 18px;
    }
}

header nav {
  padding: 20px 0px !important;
}
header nav .navbar-brand .brand-logo {
  width: 100px;
}
header nav .navbar-brand .brand-logo img {
  height: 40px;
}
header nav .navbar-brand b {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0px;
  color: #292a34;
}
header nav ul li a {
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0px;
  color: #292a34;
}
header nav ul li a::after {
  content: "";
  display: block;
  width: 0%;
  height: 3px;
  background-color: #891113;
  transition: 0.5s;
}
header nav ul li a:hover {
  color: #891113;
}
header nav ul li a:hover::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #891113;
}
header nav ul li a.active {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  /* identical to box height, or 125% */
  /* Primary */
  color: #891113 !important;
}
header nav ul li a.active::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #891113;
}
header nav .user-login-success > div > p > a {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  color: #484952;
  padding: 10px 18px;
  background: #ffffff;
  border: 0.8px solid #dedede;
  border-radius: 6px;
}
header nav .user-login-success .card-body {
  z-index: 100;
}
header nav .user-login-success img {
  width: 27px;
  height: 27px;
  object-fit: cover;
  border-radius: 50%;
}
header nav .user-login-success .login-nav a {
  padding: 8px 5px;
  font-size: 19px;
}
header nav .user-login-success .login-nav a::after {
  content: "";
  display: block;
  width: 0%;
  transition: 0.5s;
  height: 5px;
  border-radius: 10px;
}
header nav .user-login-success .login-nav a:hover::after {
  background-color: #891113;
  width: 100%;
}

header.dark {
background: #990000;
background: linear-gradient(90deg, rgba(71, 31, 31, 1) 0%, rgba(161, 0, 0, 1) 50%, rgba(140, 0, 0, 1) 100%);
}
header.dark nav {
  padding: 20px 0px !important;
}
header.dark nav .navbar-brand .brand-logo {
  width: 300px;
}
header.dark nav .navbar-brand b {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0px;
  color: #FFFFFF;
}
header.dark nav .navbar-toggler {
  border-color: white;
}
header.dark nav .navbar-toggler .navbar-toggler-icon {
  color: #FFFFFF;
}
header.dark nav ul li a {
  font-size: 14px;
  font-weight: 100 !important;
  line-height: 20px;
  letter-spacing: 0px;
  color: #ffffff;
  text-transform: uppercase;
  font-family: 'Roboto Condensed' !important;
}
header.dark nav ul li a::after {
  content: "";
  display: block;
  width: 0%;
  height: 3px;
  background-color: #FDC157;
  transition: 0.5s;
}
header.dark nav ul li a:hover {
  color: #FDC157;
}
header.dark nav ul li a:hover::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #FDC157;
}
header.dark nav ul li a.active {
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  /* identical to box height, or 125% */
  /* Primary */
  color: #FDC157 !important;
}
header.dark nav ul li a.active::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #FDC157;
}
header.dark button {
  border: none;
  color: #FFFFFF;
}
header.dark button:hover {
  color: #FFFFFF;
}
header.dark button.btn-custom-primary:hover {
  border: 2px solid #FFFFFF;
}

@media all and (max-width: 767.98px) {
  .user-nav {
    padding: 10px;
  }
  .user-nav button {
    padding: 5px 7px;
    border-radius: 2px;
    color: white;
  }
}
footer {
  position: relative;
  background-image: url('https://phongthuyso.edu.vn/themes/training//assets/img/bg-phongthuyso.jpg');
  background-size: cover;
  background-position: top;
  background-attachment: fixed;
  padding-top: 50px;
  border-top: 6px solid #ffb100;
  overflow: hidden; /* Đảm bảo pseudo-element không tràn ra ngoài */
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(115 0 0 / 90%); /* Lớp phủ màu đen với độ trong suốt 50% */
  z-index: 1;
}

footer > * {
  position: relative;
  z-index: 2; /* Đảm bảo nội dung bên trong footer nằm trên lớp phủ */
}
footer h5 {
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;
  text-align: center;
  color: #ffffff;
  margin-bottom: 24px;
}
footer h2 {
  font-style: normal;
  font-weight: 600;
  font-size: 36px;
  line-height: 44px;
  text-align: center;
  /* Secondary/1 */
  color: #fdc157;
  width: 100%;
  max-width: 842px;
  margin: 0 auto;
  margin-bottom: 12px;
}
footer p {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 35px;
  /* identical to box height, or 219% */
  text-align: center;
  /* Neutral/4 */
  color: #DEDEDE;
  width: 100%;
  max-width: 842px;
  margin: 0 auto;
  margin-bottom: 36px;
}
footer .footer-form-contain {
  max-width: 624px;
  margin: 0 auto;
  margin-bottom: 130px;
}
footer .footer-form-contain input {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  border: none;
  height: 60px;
  padding: 20px 31.97px;
  color: #FFFFFF;
  transition: 0.5s;
  margin-right: 32px;
  max-width: 405px;
}
footer .footer-form-contain input:focus {
  box-shadow: none;
}
footer .footer-bottom-contain nav {
  padding-bottom: 50px;
}
footer .footer-bottom-contain nav a {
  margin: 0px 10px;
  padding-top: 0px;
  padding-bottom: 0px;
  color: #DEDEDE;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  transition: 0.5s;
}
footer .footer-bottom-contain nav a.active {
  color: #FDC157 !important;
  font-style: normal;
  font-weight: 600;
}
footer .footer-bottom-contain nav a:hover {
  color: #FDC157;
}
footer .footer-bottom-contain nav .footer-follow {
  color: #DEDEDE;
}
footer .footer-bottom-contain nav .footer-follow i {
  font-size: 24px;
  margin-left: 7px;
}
footer .footer-bg-icon {
  position: absolute;
}
footer .footer-bg-icon.icon-1 {
  top: 310px;
  left: 90px;
}
footer .footer-bg-icon.icon-2 {
  top: 210px;
  right: 90px;
}

.pagination a {
    width: 40px; /* Slightly smaller for elegance */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', Georgia, serif; /* Match card/header typography */
    font-style: normal;
    font-weight: 600;
    font-size: 16px; /* Refined for modern look */
    line-height: 20px;
    text-align: center;
    color: #F0D698; /* Light gold for luxury and readability */
    margin: 0 6px; /* Increased spacing for balance */
    border: 2px solid #d3974f; /* Warm gold border */
    border-radius: 50%; /* Circular for harmony */
    background: linear-gradient(135deg, #FFFFFF, #F0D698); /* Subtle gold gradient */
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.pagination a:hover {
    background: linear-gradient(135deg, #d3974f, #F0D698); /* Brighter gold on hover */
    box-shadow: 0 4px 10px rgba(14, 68, 68, 0.3); /* Deep teal glow */
    transform: scale(1.1); /* Subtle scale-up for interactivity */
}

a[rel=next],
a[rel=First] {
    border: 2px solid #0e4444; /* Deep teal border for distinction */
    border-radius: 50%;
    background: linear-gradient(135deg, #F0D698, #e8c18a); /* Light gold gradient */
}

a[rel=next]:hover,
a[rel=First]:hover {
    background: linear-gradient(135deg, #0e4444, #1a6b6b); /* Teal gradient on hover */
    color: #FFFFFF; /* White for contrast */
    box-shadow: 0 4px 10px rgba(14, 68, 68, 0.4);
}

.pagination a.active {
    background: linear-gradient(135deg, #891113, #710000); /* Deep red gradient for active state */
    border: 2px solid #d3974f; /* Warm gold border */
    border-radius: 50%;
    color: #FFFFFF; /* White for high contrast */
    box-shadow: 0 4px 12px rgba(137, 17, 19, 0.4); /* Deep red glow */
}

/* Mobile optimization */
@media screen and (max-width: 768px) {
    .pagination a {
        width: 36px; /* Smaller for mobile */
        height: 36px;
        font-size: 14px; /* Reduced font size */
        line-height: 18px;
        margin: 0 4px; /* Tighter spacing */
        border-width: 1px; /* Thinner border */
    }

    .pagination a:hover {
        transform: scale(1.05); /* Reduced scale for mobile */
    }

    a[rel=next],
    a[rel=First] {
        border-width: 1px;
    }

    .pagination a.active {
        border-width: 1px;
    }
}

.banner {
  padding-top: 35px;
  overflow: hidden;
}
.banner .contain-left .form {
  margin-bottom: 43px;
}
.banner .contain-left .form form {
  position: relative;
  max-width: 585px;
  height: 56px;
}
.banner .contain-left .form form input {
  height: 56px;
  width: 100%;
  max-width: 585px;
  border-radius: 24px;
  padding: 8px 20px 8px 20px;
}
.banner .contain-left .form form button {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}
.heading {
	height: 250px;;
}
.banner .contain-left  {
  position: relative;
}
.banner .contain-left .heading h5 {
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;
}
.banner .contain-left .heading h1 {
  /*max-width: 566px;*/
  font-style: normal;
  font-weight: 700;
  font-size: 60px;
  line-height: 78px;
  margin-bottom: 28px;
}
.banner .contain-left .heading a {
  display: block;
  margin-bottom: 90px;
}
.banner .contain-left .heading .banner-underline {
  position: absolute;
  top: 260px;
  left: 176px;
}
.banner .contain-right {
  position: relative;
}
.banner .contain-right .image-contain img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.banner .contain-right .card-absolute-contain {
  position: absolute;
  top: 50%;
  left: 100px;
  width: 246.67px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(5px);
  border-radius: 12px;
  padding: 14px 17px;
}
.banner .contain-right .card-absolute-contain .card-ab-img {
  margin-right: 10px;
}
.banner .contain-right .card-absolute-contain .card-ab-content h6 {
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 15px;
  color: #2c2c2c;
  margin-bottom: 5px;
  margin-top: 7px;
}
.banner .contain-right .card-absolute-contain .card-ab-content p {
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
  line-height: 12px;
  color: rgba(44, 44, 44, 0.7);
}
.banner .contain-right .card-absolute-contain .card-ab-content button {
  padding: 8px 16px;
  border-radius: 6px;
}
.banner .contain-right .card-absolute-contain .card-ab-content button:hover {
  background-color: #FDC157 !important;
}

.chuong-trinh-dao-tao {
  padding: 60px 0px 50px;
background-image: url('https://phongthuyso.edu.vn/themes/training//assets/img/bg-phongthuyso.jpg');
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat; /* Ngăn hình nền lặp lại */
    position: relative;
    overflow: hidden; /* Đảm bảo pseudo-element không tràn ra ngoài */
}
.chuong-trinh-dao-tao::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #020202de; /* Lớp phủ màu đen với độ trong suốt nhẹ 30% */
    z-index: 1;
}

.chuong-trinh-dao-tao > * {
    position: relative;
    z-index: 2; /* Đảm bảo nội dung bên trong nằm trên lớp phủ */
}
.chuong-trinh-dao-tao h2 {
  font-style: normal;
  font-weight: 600;
  font-size: 26px;
  line-height: 44px;
}
.chuong-trinh-dao-tao .head-text {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  width: 100%;
  max-width: 598px;
  margin: 0 auto;
  margin-bottom: 40px;
}
.chuong-trinh-dao-tao .my-slider {
  margin-bottom: 35px;
}

.list-post {
    padding: 20px 0;
    background-image: url('https://phongthuyso.edu.vn/themes/training//assets/img/bg-phongthuyso.jpg');
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat; /* Ngăn hình nền lặp lại */
    position: relative;
    overflow: hidden; /* Đảm bảo pseudo-element không tràn ra ngoài */
}

.list-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #020202de; /* Lớp phủ màu đen với độ trong suốt nhẹ 30% */
    z-index: 1;
}

.list-post > * {
    position: relative;
    z-index: 2; /* Đảm bảo nội dung bên trong nằm trên lớp phủ */
}

.list-post h2 {
  margin-bottom: 40px;
  text-align: center;
  font-style: normal;
  font-weight: 600;
  font-size: 26px;
  line-height: 34px;
  color: #FDC157;
  text-transform: uppercase;
}
.list-post .row {
  margin-bottom: 40px;
}
.list-post a {
  text-decoration: none;
}
.list-post .btn-yellow {
  border: 2px solid #d3974f;
  padding: 16px 145px;
  width: 20px;
  white-space: nowrap;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #FFFFFF;
  border-radius:10px;
}

.list-post.co-opporate .card-ne-contain {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #323548;
  margin-bottom: 8px;
}
.list-post.co-opporate .card-ne-contain .card {
  position: relative;
}
.list-post.co-opporate .card-ne-contain .card .type-overlay {
  position: absolute;
  top: 26px;
  left: 0px;
  background-color: #FDC157;
  padding: 12px 16px;
  color: #FFFFFF;
  border-radius: 0px 16px 16px 0px;
}
.list-post.co-opporate h5 {
  margin-bottom: 2px;
}
.list-post.co-opporate .card-body .card-text {
  margin-bottom: 20px;
}
.list-post.co-opporate a {
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: #FDC157;
}

@media all and (max-width: 767.98px) {
  .banner {
    padding: 20px 0px 20px;
  }
  .banner .contain-left .form {
    margin-bottom: 10px;
  }
  .banner .contain-left .heading h1 {
    font-size: 30px;
    line-height: 44px;
    margin-bottom: 10px;
  }
  .banner .contain-left .heading .banner-underline {
    display: none;
  }
  .banner .contain-left .mouse {
    display: none;
  }
  .banner .contain-left .heading a {
    margin-bottom: 20px;
  }
.banner .contain-right .image-contain img {
    width: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.5);
    transform-origin: center center;
}
  footer .footer-form-contain {
    margin-bottom: 20px;
  }
  footer p {
    margin-bottom: 10px;
  }
  footer .footer-form-contain input {
    height: 45px;
    padding: 0px 20px;
    margin-bottom: 10px;
  }
  footer .footer-form-contain button {
    width: 80%;
  }
  footer h2 {
    font-size: 25px;
    line-height: 30px;
  }
  footer p {
    font-size: 14px;
    line-height: 22px;
  }
}
#courses-page {
  background-color: #f9f9f9;
}

.courses-header {
  position: relative;
  padding: 22px 0px 81px;
  background-color: #323548;
  margin-bottom: 88px;
}
.courses-header h1 {
  font-style: normal;
  font-weight: 600;
  font-size: 44px;
  line-height: 140%;
  /* or 62px */
  text-align: center;
  color: #ffffff;
  max-width: 671px;
  margin: 0 auto;
}
.courses-header .header-search-contain {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
}
.courses-header .header-search-contain .header-search {
  width: 100%;
  max-width: 842px;
  margin: 0 auto;
}
.courses-header .header-search-contain .header-search form {
  width: 100%;
  position: relative;
}
.courses-header .header-search-contain .header-search form input {
  width: 100%;
  max-width: 842px;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  padding: 20px 10px;
  color: #262733;
  background: #ffffff;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  border: none;
}
.courses-header .header-search-contain .header-search form button {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.courses-sort .sort-contain {
  margin-bottom: 20px;
}
.courses-sort .sort-contain * {
  margin-right: 20px;
}
.courses-sort .sort-contain h4 {
  white-space: nowrap;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 140%;
  color: #323548;
  margin-bottom: 0;
}
.courses-sort .sort-contain .select-contain {
  position: relative;
  width: 240px;
}
.courses-sort .sort-contain .select-contain select {
  width: 240px;
  height: 48px;
  /* Neutral/1 */
  background: #ffffff;
  /* Neutral/2 */
  border: 1px solid #f0f0f3;
  border-radius: 16px;
  box-shadow: none;
}
.courses-sort .sort-contain .select-contain i {
  position: absolute;
  top: 50%;
  right: 0px;
  transform: translateY(-50%);
  font-size: 25px;
  color: #666666;
}
.courses-sort .count-result {
  font-style: normal;
  font-size: 18px;
  line-height: 30px;
}
.courses-sort .count-result p {
  margin-bottom: 40px;
}

@media all and (max-width: 767.98px) {
  .courses-header {
    padding-bottom: 40px;
    margin-bottom: 40px;
  }
  .courses-header h1 {
    font-size: 30px;
    line-height: 130%;
  }
  .courses-header .header-search-contain .header-search {
    width: 85%;
  }
  .courses-sort .sort-contain h4 {
    margin-bottom: 10px;
  }
  .courses-sort .sort-contain * {
    margin-bottom: 5px;
  }
  .courses-sort .count-result {
    text-align: center;
  }
  .courses-sort .count-result p {
    margin-bottom: 20px;
    font-size: 25px;
  }
  .paginate {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

.paginate-post {
    padding: 60px 0;
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat; /* Ngăn hình nền lặp lại */
    position: relative;
    overflow: hidden; /* Đảm bảo pseudo-element không tràn ra ngoài */
}

.paginate {
    padding: 60px 0;
    background-image: url('https://phongthuyso.edu.vn/themes/training//assets/img/bg-phongthuyso.jpg');
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat; /* Ngăn hình nền lặp lại */
    position: relative;
    overflow: hidden; /* Đảm bảo pseudo-element không tràn ra ngoài */
}

.paginate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #020202de; /* Lớp phủ màu đen với độ trong suốt nhẹ 30% */
    z-index: 1;
}

.paginate > * {
    position: relative;
    z-index: 2; /* Đảm bảo nội dung bên trong nằm trên lớp phủ */
}

#video-learning .video-learning-title {
    padding: 24px 0; /* Modernized spacing */
    background: linear-gradient(180deg, #F0D698, #e8c18a); /* Light gold gradient for luxury */
    font-family: 'Roboto', Georgia, serif;
}

#video-learning .video-learning-title h1 {
    color: #891113; /* Deep red for prominence */
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
	font-family: 'Roboto condensed', Georgia, serif;
	text-transform: uppercase;
}

#video-learning .video-learning-title p {
    font-weight: 400;
    font-size: 18px; /* Slightly smaller for elegance */
    line-height: 24px;
    color: #891113; /* Deep red for readability */
    margin-bottom: 0;
}

#video-learning .video-learning-iframe {
    background: #FFFFFF; /* White for clean contrast */
    padding: 20px 0 32px;
}

#video-learning .video-learning-iframe .iframe-contain iframe {
    width: 100%;
    max-width: 854px;
    height: 480px;
    object-fit: cover;
    border-radius: 16px; /* Sleeker radius */
    border: 2px solid #d3974f; /* Warm gold border */
}

#video-learning .video-learning-iframe .list-bai-hoc-contain {
    background: #F0D698; /* Light gold for modern look */
    height: 480px;
    overflow-y: scroll;
    color: #891113; /* Deep red text */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* Subtle shadow */
    border-radius: 16px;
    transition: box-shadow 0.3s ease;
}

#video-learning .video-learning-iframe .list-bai-hoc-contain:hover {
    box-shadow: 0 4px 12px rgba(14, 68, 68, 0.3); /* Teal glow */
}

#video-learning .video-learning-iframe .list-bai-hoc-contain .head h5 {
    color: #891113; /* Deep red for consistency */
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}

#video-learning .video-learning-iframe .list-bai-hoc-contain .thumb {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    border: 1px solid #d3974f; /* Warm gold border */
}

#video-learning .video-learning-iframe .list-bai-hoc-contain::-webkit-scrollbar {
    width: 12px;
    background: transparent;
}

#video-learning .video-learning-iframe .list-bai-hoc-contain::-webkit-scrollbar-thumb {
    background: #d3974f; /* Warm gold scrollbar */
    border-radius: 6px;
    border: 3px solid #F0D698;
}

#video-learning .video-learning-iframe .list-bai-hoc-contain .lesson-item {
    background: #FFFFFF;
    border-radius: 12px;
    transition: background 0.3s ease, color 0.3s ease;
}

#video-learning .video-learning-iframe .list-bai-hoc-contain .lesson-item:hover,
#video-learning .video-learning-iframe .list-bai-hoc-contain .lesson-item.active {
    background: linear-gradient(135deg, #891113, #710000); /* Deep red gradient */
    color: #FFFFFF; /* White for contrast */
}

#video-learning .video-learning-detail {
    background: #fff1d1; /* White for clean backdrop */
    padding-top: 40px;
	padding-bottom: 40px;
}

#video-learning .video-learning-detail .nav span {
    color: #F0D698; /* Light gold for elegance */
    border: 2px solid #d3974f; /* Warm gold border */
    border-radius: 12px;
    cursor: pointer;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
}

#video-learning .video-learning-detail .nav span.active {
    background: linear-gradient(135deg, #891113, #710000); /* Deep red gradient */
    border: 2px solid #d3974f;
    color: #FFFFFF; /* White for contrast */
    border-radius: 12px;
}

#video-learning .video-learning-detail .nav-content .course-rate h3 {
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 140%;
    color: #891113; /* Deep red for consistency */
}

#video-learning .video-learning-detail .nav-content .course-rate .user-type-comment img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    margin-right: 16px;
    border-radius: 50%;
    border: 1px solid #d3974f; /* Warm gold border */
}

#video-learning .video-learning-detail .nav-content .course-rate .user-type-comment .type-area {
    width: 100%;
}

#video-learning .video-learning-detail .nav-content .course-rate .user-type-comment .type-area form {
    position: relative;
    width: 100%;
    max-width: 630px;
    height: 200px; /* Slightly smaller for modern look */
}

#video-learning .video-learning-detail .nav-content .course-rate .user-type-comment .type-area form textarea {
    width: 100%;
    max-width: 630px;
    height: 200px;
    border: 2px solid #d3974f; /* Warm gold border */
    background: #FFFFFF;
    padding: 16px 20px;
    resize: none;
    border-radius: 12px;
    font-family: 'Roboto', Georgia, serif;
    font-size: 14px;
    color: #891113;
}

#video-learning .video-learning-detail .nav-content .course-rate .user-type-comment .type-area form .btn-rate-overlay {
    position: absolute;
    bottom: 12px;
    left: 20px;
}

#video-learning .video-learning-detail .nav-content .course-rate .user-type-comment .type-area form .btn-rate-overlay button {
    padding: 8px 14px;
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    color: #FFFFFF;
    border-radius: 25px;
    border: 1px solid #0e4444; /* Deep teal border */
    background: #0e4444; /* Deep teal background */
    margin-right: 8px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#video-learning .video-learning-detail .nav-content .course-rate .user-type-comment .type-area form .btn-rate-overlay button.choose {
    background: #d3974f; /* Warm gold for chosen state */
    border: 1px solid transparent;
    color: #FFFFFF;
}

#video-learning .video-learning-detail .nav-content .course-rate .user-type-comment .type-area form .btn-rate-overlay button:hover {
    background: #1a6b6b; /* Lighter teal on hover */
    box-shadow: 0 4px 10px rgba(14, 68, 68, 0.3); /* Teal glow */
}

#video-learning .video-learning-detail .nav-content .course-rate .all-user-comment h3 {
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 140%;
    color: #891113; /* Deep red for consistency */
}

#video-learning .video-learning-detail .nav-content .course-rate .all-user-comment ul .comment-block-contain .avatar {
    margin-right: 16px;
}

#video-learning .video-learning-detail .nav-content .course-rate .all-user-comment ul .comment-block-contain .avatar img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #d3974f; /* Warm gold border */
}

#video-learning .video-learning-detail .nav-content .course-rate .all-user-comment ul .comment-block-contain .content-contain p {
    padding: 12px 16px;
    width: 100%;
    max-width: 400px;
    background: #F0D698; /* Light gold for contrast */
    border-radius: 12px;
    color: #891113;
    font-size: 14px;
}

#video-learning .video-learning-detail .quality-course-contain .card {
    border: 2px solid #d3974f; /* Warm gold border */
    border-radius: 16px;
    background: linear-gradient(180deg, #F0D698, #e8c18a);
    transition: box-shadow 0.3s ease;
}

#video-learning .video-learning-detail .quality-course-contain .card:hover {
    box-shadow: 0 4px 12px rgba(14, 68, 68, 0.3); /* Teal glow */
}

#video-learning .video-learning-detail .quality-course-contain h4 {
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    color: #891113; /* Deep red for prominence */
}

#video-learning .video-learning-detail .quality-course-contain .after-rate {
    color: #F0D698; /* Light gold for elegance */
}

#video-learning .video-learning-detail .quality-course-contain .price b {
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    color: #891113; /* Deep red for emphasis */
}

#video-learning .video-learning-detail .quality-course-contain .price span {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #891113; /* Deep teal for contrast */
}

#video-learning .video-learning-detail .quality-course-contain button {
    font-family: 'Roboto', Georgia, serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    border-radius: 12px;
    background: #0e4444; /* Deep teal button */
    color: #FFFFFF;
    border: 2px solid #d3974f; /* Warm gold border */
    padding: 10px 20px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#video-learning .video-learning-detail .quality-course-contain button:hover {
    background: #1a6b6b; /* Lighter teal */
    box-shadow: 0 4px 10px rgba(14, 68, 68, 0.3); /* Teal glow */
}

#video-learning .video-learning-detail .skill-contain h3 {
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    color: #891113; /* Deep red for prominence */
}

#video-learning .video-learning-detail .skill-contain button.btn {
    padding: 8px 16px;
    border: 2px solid #d3974f; /* Warm gold border */
    margin-left: 8px;
    margin-bottom: 12px;
    background: #FFFFFF;
    color: #891113;
    border-radius: 12px;
    font-family: 'Roboto', Georgia, serif;
    font-size: 14px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#video-learning .video-learning-detail .skill-contain button.btn.active,
#video-learning .video-learning-detail .skill-contain button.btn:hover {
    background: #d3974f; /* Warm gold for active/hover */
    color: #FFFFFF;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(211, 151, 79, 0.3); /* Gold glow */
}

#video-learning .more-courses {
    padding: 20px 0 30px;
    background: #FFFFFF; /* White for clean backdrop */
}

#video-learning .more-courses h2 {
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 140%;
    color: #891113; /* Deep red for prominence */
}

#video-learning .video-learning-detail .test .contain {
    width: 100%;
    max-width: 514px;
}

#video-learning .video-learning-detail .test .contain span {
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #0e4444; /* Deep teal for contrast */
}

#video-learning .video-learning-detail .test .contain button {
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    background: #0e4444; /* Deep teal button */
    color: #FFFFFF;
    border: 2px solid #d3974f; /* Warm gold border */
    border-radius: 12px;
    padding: 10px 20px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#video-learning .video-learning-detail .test .contain button:hover {
    background: #1a6b6b; /* Lighter teal */
    box-shadow: 0 4px 10px rgba(14, 68, 68, 0.3);
}

#video-learning .quality-course-contain .head b {
    cursor: pointer;
    color: #891113; /* Deep red for emphasis */
}

#video-learning .quality-course-contain .document-link a {
    font-family: 'Roboto', Georgia, serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-decoration: underline;
    color: #0e4444; /* Deep teal for links */
    transition: color 0.3s ease;
}

#video-learning .quality-course-contain .document-link a:hover {
    color: #1a6b6b; /* Lighter teal on hover */
}

#test-page {
    background: #FFFFFF; /* White for consistency */
}

.test-contain {
    width: 100%;
    max-width: 842px;
    margin: 0 auto;
}

/* Mobile optimization */
@media all and (max-width: 767.98px) {
    #video-learning .video-learning-iframe .iframe-contain iframe {
        height: 200px;
        border-radius: 12px;
        border-width: 1px;
    }

    #video-learning .video-learning-iframe {
        padding-bottom: 16px;
    }

    #video-learning .video-learning-iframe .list-bai-hoc-contain {
        height: 200px;
    }

    #video-learning .video-learning-detail {
        padding-top: 24px;
    }

    #video-learning .nav {
        margin-bottom: 8px;
    }

    #video-learning .video-learning-detail .nav-content .course-rate .user-type-comment img {
        margin-right: 8px;
        width: 40px;
        height: 40px;
    }

    #video-learning .video-learning-detail .nav-content .course-rate .user-type-comment .type-area form {
        height: 180px;
    }

    #video-learning .video-learning-detail .nav-content .course-rate .user-type-comment .type-area form textarea {
        height: 180px;
        padding: 12px 16px;
        font-size: 13px;
    }

    #video-learning .video-learning-detail .nav-content .course-rate .user-type-comment .type-area form .btn-rate-overlay {
        bottom: 10px;
        left: 16px;
    }

    #video-learning .video-learning-detail .nav-content .course-rate .user-type-comment .type-area form .btn-rate-overlay button {
        padding: 6px 12px;
        font-size: 11px;
        margin-bottom: 8px;
    }

    #video-learning .video-learning-detail .nav-content .course-rate .user-type-comment {
        margin-bottom: 8px;
    }

    #video-learning .video-learning-detail .nav-content .course-rate .all-user-comment ul .comment-block-contain .content-contain p {
        padding: 8px 12px;
        max-width: 300px;
        font-size: 13px;
    }

    #video-learning .video-learning-iframe .list-bai-hoc-contain .thumb {
        width: 50px;
        height: 50px;
        border-radius: 10px;
    }
}
.head-test {
  padding: 36px 0px;
  position: relative;
}
.head-test .contain h1 {
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  line-height: 38px;
  text-align: center;
  letter-spacing: -0.762769px;
  color: #229a87;
  margin-bottom: 0px;
}
.head-test .contain p {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 38px;
  text-align: center;
  letter-spacing: -0.762769px;
}
.head-test .return-back {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
}
.head-test .return-back span {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #323548;
}

.progress-test .test-contain .progress-contain .progress {
  height: 10px;
}
.progress-test .test-contain .progress-contain .progress .progress-bar {
  background-color: #FDC157;
}

.main-test .test-form {
  background: #ffffff;
  box-shadow: 5px 0px 30px rgba(185, 213, 208, 0.5);
  border-radius: 20px;
  padding: 28px 40px;
  height: 654px;
  overflow-y: scroll;
  color: rgba(0, 0, 0, 0);
  -webkit-text-fill-color: black;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
  transition: color 0.3s ease;
}
.main-test .test-form::-webkit-scrollbar, .main-test .test-form::-webkit-scrollbar-thumb {
  width: 26px;
  border-radius: 13px;
  background-clip: padding-box;
  border: 10px solid transparent;
}
.main-test .test-form::-webkit-scrollbar-thumb {
  box-shadow: inset 0 0 0 10px;
}
.main-test .test-form:hover {
  color: #b30000;
}
.main-test .test-form .question-contain {
  max-width: 700px;
}
.main-test .test-form .question-contain h6 {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  display: flex;
  align-items: center;
  letter-spacing: -0.0142658px;
  color: #282929;
}
.main-test .test-form .question-contain p {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  display: flex;
  align-items: center;
  letter-spacing: -0.0142658px;
  color: #666666;
}
.main-test .test-form .question-contain .aswer-contain .question {
  margin-bottom: 10px;
}
.main-test .test-form .question-contain .aswer-contain b {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  cursor: pointer;
  transition: 0.5s;
}
.main-test .test-form .question-contain .aswer-contain b:hover {
  background-color: #229a87;
  color: white !important;
  -webkit-text-fill-color: white;
}
.main-test .test-form .question-contain .aswer-contain b.choose {
  background-color: #229a87;
  color: white;
}
.main-test .test-form .correct-asw {
  padding: 7px 18px;
  padding-bottom: 0px;
  border-left: 2px solid #FDC157;
}

@media all and (max-width: 767.98px) {
  .test-contain {
    padding: 15px;
  }
  .head-test .return-back {
    top: 34%;
  }
}
#sign .container {
  max-width: 624px !important;
}

.sign-form {
  padding: 56px 0px;
}
.sign-form .sign-form-contain {
  padding: 32px 44px;
}
.sign-form .sign-form-contain .form-description {
  max-width: 470px;
  margin: 0 auto;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #736e6e;
  margin-bottom: 16px;
}
.sign-form .sign-form-contain .update-info {
  margin: 20px 0px;
}
.sign-form .sign-form-contain .update-info input {
  scale: 1.5;
  margin-right: 20px;
}
.sign-form .form-nav {
  margin-bottom: 15px;
}
.sign-form .form-nav ul {
  border: none;
}
.sign-form .form-nav ul li {
  cursor: pointer;
  border: none;
  width: 50%;
  display: flex;
  justify-content: center;
}
.sign-form .form-nav ul li span {
  border: none;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #666666;
  padding: 16px 0px;
}
.sign-form .form-nav ul li.active {
  border-bottom: 2px solid #b30000;
}
.sign-form .form-nav ul li.active span {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  color: #b30000;
  padding: 16px 0px;
}
.sign-form .form-contain label {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #323548;
}
.sign-form .form-contain input,
.sign-form .form-contain select {
  background: #ffffff;
  border: 1px solid #f0f0f3;
  border-radius: 16px;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  padding: 12px 20px;
}
.sign-form .form-contain input:disabled,
.sign-form .form-contain select:disabled {
  background-color: #eee;
}
.sign-form .form-contain .submit {
  margin-bottom: 16px;
}
.sign-form .form-contain .submit button {
  margin-top: 10px;
  padding: 12px 0px;
  display: block;
  width: 100%;
  background: #810000;
  border-radius: 16px;
  text-align: center;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
}
.sign-form .form-contain .sign-up-with-social p {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #b5b5b5;
}
.sign-form .form-contain .sign-up-with-social .social-btn-contain button {
  display: block;
  width: 100%;
  border: 1px solid #5fa077;
}
.sign-form .form-contain .sign-up-with-social .social-btn-contain button span {
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #5fa077;
}
.sign-form .form-contain .policy p {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #666666;
}

.select2-container {
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  padding: 12px 20px;
  height: fit-content !important;
  border-radius: 16px;
  border: 1px solid #f0f0f3;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}

@media all and (max-width: 767.98px) {
  .sign-form .sign-form-contain {
    padding: 20px;
  }
}
#result {
  background-size: cover;
  background-attachment: fixed;
}

.result-head {
  padding: 52px 0px;
}
.result-head .return-back {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
}

.result-detail {
  padding-bottom: 500px;
}
.result-detail .result-main h4 {
  font-style: normal;
  font-weight: 600;
  font-size: 22px;
  line-height: 27px;
  text-align: center;
  letter-spacing: -0.0142658px;
  color: #282929;
}
.result-detail .result-asw {
  margin-bottom: 85px;
}
.result-detail .result-asw img {
  position: absolute;
  max-width: 246px;
  width: 100%;
  top: -40px;
  left: 50%;
  transform: translate(-50%, 0);
}
.result-detail .btn-contain {
  max-width: 500px;
  margin: 0 auto;
}

@media all and (max-width: 767.98px) {
  .result-head .return-back {
    top: 0%;
    left: 50%;
    transform: translate(-50%, -90%);
  }
  .result-detail {
    padding-bottom: 100px;
  }
}
.news-detail-head {
  background-size: cover;
  background-position: center center;
}
.news-detail-head .overlay {
  height: 100%;
  background-color: rgba(74, 74, 74, 0.49);
}
.news-detail-head .contain {
  z-index: 100000;
}

#main-post .thumb {
  height: 400px;
  object-fit: cover;
}

.more-news {
  background-color: transparent;
  padding-bottom: 10px;
}
.more-news .my-slider {
  margin-bottom: 10px;
}
.more-news .my-slider .card {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
.more-news .my-slider .slider-next-arr,
.more-news .my-slider .slider-prev-arr {
  top: 40% !important;
}

.more-courses-in-news img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}/*# sourceMappingURL=main.css.map */

.header.dark form a {
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

.header.dark form a:hover {
  color: #FDC157;
}

header.dark form a button::after {
  content: "";
  display: block;
  width: 0%;
  height: 3px;
  background-color: #FDC157;
  transition: 0.5s;
}

.header.dark form a:hover button::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #FDC157;
}

.footer-follow .align-items-center a img {
  width: 25px;
  height: auto;
}

.btn-custom-primary {
  background-color: #891113 !important;
  color: #FFFFFF;
}

.user-login-success .btn:hover {
  background-color: #b30000 !important;
  color: #FFFFFF;
}

.form-contain .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  color: #6c7c89;
}

.card-course-contain-index .card .card-body .card-title {
  height: 48px;
}

.card-ne-contain .card a img {
  height: 403px;
  width: 100%;
  object-fit: contain;
}

.my-slider-more-courses .slider-nav.slider-prev-arr {
  background: #323548;
  border: 7px solid #ffffff;
}

.lv-1 {
  position: absolute;
  opacity: 0;
  background-color: #ffffff;
  transition: 0.8s;
  border-radius: 10px;
  z-index: 10;
  padding: 0;
}

.me-auto .nav-item .fa-angle-down {
  display: none;
}

.me-auto .nav-item:hover .lv-1 {
  opacity: 1;
  transition: 0.8s;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 1px 1px 4px #cccccc;
}

.me-auto .nav-item .lv-1 li {
  list-style-type: none;
}

.ta-opacity-1:hover .ta-opacity-0 {
  opacity: 1;
  transition: 0.8s;
  padding: 10px 20px;
}

.ta-opacity-0 {
  border-radius: 10px;
  background: #ffffff;
  opacity: 0;
  transition: 0.8s;
}

header.dark button.btn-custom-primary:hover {
  border: none !important; 
}

@media (min-width:100px) {
  .form-active-btn a.active-btn {
    content: "";
    background-color: #b30000 !important;
    color: #FFFFFF;
    border: none !important;
    border-radius: 18px;
    transition: 0.8s;
  }
  header .btn {
    border-radius: 6px !important;
	background: #4d0000;
	margin-right: 5px;
	
  }
}

.card-ne-contain .card .title h5 {
  height: 50px;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.card-ne-contain .card .card-body .card-text {
  height: 60px;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.card-ne-contain .card .card-body {
  padding: 14px 20px 25px;
}

.dynamic-input .form-label {
  background-color: #eee;
  padding: 10px 20px;
  border-radius: 12px;
  transition: 0.8s;
}

.dynamic-input .form-label:hover {
  background-color: #cccccc;
  transition: 0.8s;
}

.icon-right {
  margin-top: -2px;
  margin-left: 3px;
  width: 1.5% !important;
  height: auto !important;
}

.card-course-contain .card .card-body h5 {
  height: 60px;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.card-course-contain .card .card-body p {
  height: 60px;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.lv-1 li a {
  color: #8a8a8a !important;
  transition: 0.8s;
}

.lv-1 li a:hover {
  color: #FDC157 !important;
  transition: 0.8s;
}

.list-post.co-opporate h5 {
  height: 50px;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.blog-post img{
  max-width: 100%;
  height: auto !important;
}

.list-lesson {
	border: 1px solid #d3974f;
	border-radius: 10px;
	background: linear-gradient(180deg, #F0D698, #e8c18a);
	margin-bottom: 10px;
}
.list-leson-head {
	background: linear-gradient(180deg, #F0D698, #e8c18a);
	padding-left: 10px;
	padding-right: 10px;
	height: 40px;
	padding-top: 5px;
	padding-bottom: 5px;
	text-transform: uppercase;
	font-size: 15px !important;
	color: #891113;
	border: 1px solid #d3974f;
	border-radius: 10px 10px 0px 0px;
}

.lesson-thumb {
    width: 160px;
    height: auto;
    object-fit: cover;
	border-radius: 5px;
}

.li-content {
    align-self: flex-start; /* Aligns content to the top */
}

.lesson-title {
    text-transform: uppercase; /* Makes text uppercase */
    font-weight: bold; /* Makes text bold */
	color: #891113;
	Font-family: 'Roboto condensed', Georgia, serif;
}

.clock-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 4px;
}

.lesson-item {
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
	padding: 10px;
}
.lesson-item:hover {
 background: #fff1d1;
border-radius: 5px;
}

.title-khoahoc {
	margin-bottom: 10px;
    text-align: center;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 34px;
    color: red;
	text-transform: uppercase;
}


.image-button {
    /* Set the transparent PNG as background */
    background-image: url('https://phongthuyso.edu.vn/themes/training//assets/img/title-bg-custom.png');
    background-size: contain; /* Fit the image without cropping */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent image repetition */
    background-color: transparent; /* Ensure no background color */

    /* Button dimensions */
    width: 200px; /* Adjust to match PNG dimensions */
    height: 50px; /* Adjust to match PNG dimensions */

    /* Text styling */
    color: #ffffff; /* Text color for contrast with image */
    font-size: 16px; /* Adjust font size */
    font-weight: bold; /* Enhance text visibility */
    text-align: center; /* Center text horizontally */
	font-family: 'Roboto Condensed', Georgia, serif;
    line-height: 50px; /* Vertically center text (match height) */
    
    /* Padding to keep text within non-transparent area */
    padding: 0 15px; /* Horizontal padding to avoid transparent borders */
    
    /* Button properties */
    border: none; /* Remove default border */
    cursor: pointer; /* Pointer cursor on hover */
    display: inline-block; /* Ensure proper button behavior */
    overflow: hidden; /* Prevent text from spilling out */
    white-space: nowrap; /* Prevent text wrapping */
    text-overflow: ellipsis; /* Handle long text gracefully */

    /* Optional: Hover effect */
    transition: opacity 0.3s ease;
}

.image-button:hover {
    opacity: 0.85; /* Subtle opacity change on hover */
}

.dropdown-menu {
  display: none; /* Hide the dropdown by default */
}

/* Show dropdown when hovering over the parent container */
.position-relative:hover .dropdown-menu {
  display: block; /* Show the dropdown on hover */
}

/* Optional: Remove ta-opacity-0 if it only sets opacity */
.card {
  opacity: 1; /* Ensure the card is fully visible when shown */
}

.title01 {
    /* Set the transparent PNG as background */
    background-image: url('https://phongthuyso.edu.vn/themes/training//assets/img/TITLE-BG-PHONGTHUYSO-400x108.png');
    background-size: contain; /* Fit the image without cropping */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent image repetition */
    background-color: transparent; /* Ensure no background color */

    /* Button dimensions */
    width: 400px; /* Adjust to match PNG dimensions */
    height: 108px; /* Adjust to match PNG dimensions */

    /* Text styling */
    color: #e90000; /* Text color for contrast with image */
    font-size: 22px; /* Adjust font size */
    font-weight: bold; /* Enhance text visibility */
    text-align: center; /* Center text horizontally */
    line-height: 50px; /* Vertically center text (match height) */
	font-family: "Roboto Condensed", Roboto !important;
	text-transform: uppercase;
    
    /* Padding to keep text within non-transparent area */
    padding: 0 15px; /* Horizontal padding to avoid transparent borders */
    
    /* Button properties */
    border: none; /* Remove default border */
    cursor: pointer; /* Pointer cursor on hover */
    display: inline-block; /* Ensure proper button behavior */
    overflow: hidden; /* Prevent text from spilling out */
    white-space: nowrap; /* Prevent text wrapping */
    text-overflow: ellipsis; /* Handle long text gracefully */

    /* Optional: Hover effect */
    transition: opacity 0.3s ease;
}

.postbg {
	background: red;
}

/* From Uiverse.io by adeladel522 */ 
.button {
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  padding-block: 0.5rem;
  padding-inline: 1.25rem;
  background-color: rgb(178 0 0);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffff;
  gap: 10px;
  font-weight: bold;
  border: 3px solid #ffffff4d;
  outline: none;
  overflow: hidden;
  font-size: 15px;
  margin-left: 5px;
  margin-right: 5px;
}

.icon {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease-in-out;
}

.button:hover {
  transform: scale(1.05);
  border-color: #fff9;
}

.button:hover .icon {
  transform: translate(4px);
}

.button:hover::before {
  animation: shine 1.5s ease-out infinite;
}

.button::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
  top: 0;
  left: -100px;
  opacity: 0.6;
}

@keyframes shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  to {
    left: 100%;
  }
}

.fixed-button {
            position: fixed;
            left: 0;
            top: 90%;
            transform: translateY(-50%);
            background-color: #007bff;
            color: white;
            padding: 5px 10px;
            border: none;
            border-radius: 0 5px 5px 0;
            cursor: pointer;
            font-size: 16px;
            z-index: 1000;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
        }

        .fixed-button:hover {
            background-color: #0056b3;
        }
/* Ẩn nav trên desktop, chỉ hiển thị trên mobile */
    .mobile-nav {
      display: none;
    }

    @media screen and (max-width: 768px) {
      .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(139, 0, 0, 0.9); /* Đỏ sẫm với độ trong suốt */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);
        justify-content: space-around;
        align-items: center;
        height: 70px;
        z-index: 1000;
        padding-bottom: env(safe-area-inset-bottom);
      }

      .nav-item {
        flex: 1;
        text-align: center;
        text-decoration: none;
        color: #FFFFFF; /* Màu trắng cho văn bản */
        font-size: 11px;
        font-weight: 500;
        transition: all 0.2s ease;
        position: relative;
        padding: 10px 0;
      }

      .nav-item i {
        display: block;
        font-size: 24px;
        color: #FFA500; /* Màu vàng cam cho biểu tượng */
        margin-bottom: 4px;
        transition: transform 0.2s ease;
      }

      .nav-item span {
        display: block;
        letter-spacing: 0.2px;
      }

      /* Biểu tượng ở giữa (Trò chuyện) nổi bật */
      .nav-item.center {
        transform: translateY(-10px);
      }

      .nav-item.center i {
        font-size: 30px;
        background: #FFA500; /* Vàng cam làm nền tròn */
        color: #FFFFFF; /* Trắng cho biểu tượng */
        border-radius: 50%;
        width: 50px;
        height: 50px;
        line-height: 50px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        margin: 0 auto 4px;
      }

      /* Hiệu ứng khi nhấn */
      .nav-item:active {
        background: rgba(255, 255, 255, 0.2); /* Hiệu ứng trắng nhẹ khi nhấn */
        transform: scale(0.95);
      }

      .nav-item:active i {
        transform: scale(1.1);
      }

      /* Hiệu ứng active state */
      .nav-item.active {
        color: #FFA500; /* Màu vàng cam cho trạng thái active */
      }

      .nav-item.active i {
        color: #FFFFFF; /* Màu trắng cho biểu tượng khi active */
        transform: scale(1.1);
      }

      .nav-item.active.center i {
        background: #FFFFFF; /* Nền trắng khi active */
        color: #FFA500; /* Biểu tượng vàng cam */
      }

      /* Hiệu ứng ripple */
      .nav-item::after {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        background: rgba(255, 165, 0, 0.3); /* Vàng cam nhạt cho ripple */
        border-radius: 50%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.3s ease;
        z-index: -1;
      }

      .nav-item:active::after {
        width: 50px;
        height: 50px;
      }
    }
	
.mainblog {
	padding-top: 20px;
	background: red;
}

