.page-header{
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
h2.price-title{
    color: #f55920;
    position: relative;
    margin-bottom: 15px;
    z-index: 9;
}
h2.price-title b,
.heading-title b,
.ware-title b {
    display: inline-block;
    width: 42px;
    height: 2px;
    background: #ffb607;
    margin: 14px 10px;
}
h2.price-title .text-cam {
    color: #f55920;
}
.page-subtitle{
    font-size: 18px;
    font-weight: 400;
    margin: 10px 0px 0px;
    color: #848484;
    text-align: center;
    position: relative;
    z-index: 9;
}
.pricing-why-title{
    font-size: 1.5em;
    font-weight: 700;
    margin: 1em 0;
}
.list-why-choose li.item-why-choose {
    background: rgba(0, 0, 0, 0) url(../css/images/keyweb_ok.png) no-repeat scroll 0 4px;
    padding-left: 25px;
    font-size: 18px;
    margin-bottom: 0.5em;
}
.bao-gia-btn{
    display: flex;
    justify-content: center;
}
.bao-gia-btn .btn{
    display: inline-block;
    color: #fff;
    padding: 10px 30px;
    border-radius: 99px;
    font-weight: 800;
    font-size: 18px;
    cursor: pointer;
    margin: 20px 0;
    background: #ff0000;
}
.bao-gia-btn .btn:before {
    background: linear-gradient(90deg, #ff0000 0%, var(--sub-cl) 100%);
}

/* Container chính */
.pricing-container {
    width: 100%;
    padding: 100px 0;
}

/* Grid layout */
.pricing-grid {
     display: flex;
  gap: 10px !important;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 0 20px;
}

/* Card gói dịch vụ */
.goi-item {
    width: calc(20% - 10px);
  background: #fff;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
}
.goi-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.goi-item.highlighted {
    z-index: 2;
}

/* Ribbon cho gói nổi bật */
.ribbon {
    height: 80px;
    position: absolute;
    left: 0;
    color: #fff;
    width: 100%;
    top: -60px;
    overflow: hidden;
    z-index: 2;
}

.ribbon span {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 90px;
    height: 90px;
    padding: 5px 0;
    line-height: 1;
    background: #f39c12;
    color: #fff;
    font-weight: 600;
    text-align: center;
    transform-origin: 0 0;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    font-size: 12px;
    transform: rotate(-45deg);
    top: 0px;
    left: -65px;
}
/* Header card */
.goi-header {
    text-align: center;
    min-height: 140px;
    padding: 0 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.goi-price {
    font-size: 38px;
    font-weight: 600;
    display: block;
    text-align: center;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -1px;
}

.goi-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin: 5px 0 0;
    letter-spacing: 0.5px;
}

/* Ghi chú gói */
.goi-note {
    width: 100%;
    position: relative;
    background-color: var(--goi-color);
    display: flex;
    overflow: hidden;
    justify-content: center;
    padding: 10px 0;
}

/* Overlay đen mờ khi có highlight */
.goi-note.highlight::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* lớp phủ đen mờ */
    pointer-events: none;
    z-index: 1;
}

.goi-note span{
    color: #fff;
    font-weight: 500;
    position: relative;
    z-index: 10;
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* Phần nội dung chính */
.features-container {
    padding: 0 15px;
    flex-grow: 1;
    margin: 15px 0;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    padding: 10px 0px;
    line-height: 1.5;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    color: #555;
}

.features-list li i{
    color: #3498db;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: #3498db 2px solid;
    margin-right: 10px;
    font-size: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.goi-item:hover .features-list li i {
    background-color: #3498db;
    color: white;
}
.goi-register-btn{
    margin-top: auto;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
}
.goi-register-btn .btn-dang-ky{
    color: #ffffff;
    font-size: 14px;
    padding: 10px;
    font-weight: 500;
    border-radius: 30px;
}
/* Custom scrollbar (chỉ áp dụng khi cuộn) */
.features-container::-webkit-scrollbar {
    width: 6px;
}

.features-container::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px;
}

.features-container::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 3px;
}
/* Base Styles */
.box-faq-pricing {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f9fbfd 0%, #f0f5f9 100%);
}

.faq-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
    color: #145c92;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.faq-title:after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00AEEF, #2ecc71);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Timeline */
.faq-timeline-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #00AEEF, #2ecc71);
    transform: translateX(-50%);
    z-index: 1;
    border-radius: 3px;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 item 1 hàng */
    gap: 30px; /* khoảng cách giữa các item */
}

/* FAQ Item */
.faq-item {
    width: 100%;
    background: white;
    padding: 25px;
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    overflow: hidden;
}

.faq-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,174,239,0.1) 0%, rgba(46,204,113,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item:nth-child(odd) {
    margin-right: auto;
    flex-direction: row-reverse;
}

.faq-item:nth-child(even) {
    margin-left: auto;
    text-align: left;
}

/* Diamond Indicator */
.faq-diamond-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-diamond {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #00AEEF, #2ecc71);
    transform: rotate(45deg);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.faq-item:hover .faq-diamond {
    transform: rotate(135deg) scale(1.2);
}

/* Content */
.faq-content {
    max-width: 80%;
    position: relative;
    z-index: 2;
}

.faq-content h3 {
    color: #145c92;
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.faq-content h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00AEEF, #2ecc71);
    transition: width 0.3s ease;
}

.faq-item:hover .faq-content h3::after {
    width: 100%;
}

.faq-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-content p {
    color: #333;
}

/* Icon */
.faq-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.faq-icon img {
    max-width: 50px;
    height: auto;
    transition: transform 0.3s ease;
}

.faq-item:hover .faq-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-item:hover .faq-icon img {
    transform: scale(1.1);
}

/* Base Styles */
.extra-service-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.extra-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #1e293b;
    position: relative;
    font-weight: 700;
}

.extra-title:after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Table Styles */
.extra-service-table {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.extra-service-table:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.extra-service-table table {
    width: 100%;
    border-collapse: collapse;
}

.extra-service-table th {
    background: linear-gradient(135deg, #3b82f6, #10b981);
    color: white;
    padding: 18px 25px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.extra-service-table td {
    padding: 16px 25px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.extra-service-table tr:last-child td {
    border-bottom: none;
}

.extra-service-table tbody tr {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.extra-service-table tbody tr:hover {
    background-color: #f8fafc;
}

.extra-service-table tbody tr:hover td {
    transform: translateX(5px);
}

/* Link Styles */
.extra-service-table td a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.extra-service-table td a:hover {
    color: #1d4ed8;
}

.extra-service-table td a i {
    font-size: 0.8em;
    opacity: 0.7;
}

/* Price Tag Styles */
.price-tag {
    background: #fef2f2;
    color: #ef4444;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
}

/* Border Highlight Effect */
.extra-service-table tbody tr {
    position: relative;
}

.extra-service-table tbody tr:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #3b82f6, #10b981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.extra-service-table tbody tr:hover:after {
    opacity: 1;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .pricing-grid {
        gap: 20px;
    }

    .goi-item {
        flex: 0 0 300px;
    }
}
/* Responsive */
@media (max-width: 992px) {
    .faq-grid{
        grid-template-columns: repeat(1, 1fr); 
        gap: 20px;
    }
    .faq-item {
        width: calc(50% - 20px);
    }
    .extra-service-section {
        padding: 60px 0;
    }

    .extra-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
}
@media (max-width: 768px) {
    .page-heading{
        font-size: 22px;
        line-height: 30px;
    }
    .page-heading b{
        display: none !important;
    }
    .faq-grid {
        flex-direction: column;
        align-items: center;
    }

    .faq-diamond-wrapper {
        display: none;
    }

    .faq-item {
        width: 100%;
        margin: 0 auto;
        text-align: left;
        margin-bottom: 10px;
    }

    .faq-content {
        max-width: 100%;
    }

    .faq-timeline-line,
    .arrow {
        display: none;
    }
    .pricing-container {
        padding: 20px 0;
    }

    .pricing-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0 15px;
    }

    .goi-item {
        width: 100%;
        max-width: 380px;
    }

    .goi-item.highlighted {
        transform: none;
        margin-top: 60px;
    }

    .goi-item.highlighted:hover {
        transform: translateY(-10px);
    }

    .features-container {
        max-height: 280px;
        overflow-y: auto;
    }
    .extra-title {
        font-size: 1.75rem;
    }

    .extra-service-table th,
    .extra-service-table td {
        padding: 14px 20px;
    }

}
@media (max-width: 576px) {
    .faq-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-content h3 {
        font-size: 18px;
    }

    .faq-content p {
        font-size: 15px;
    }
    .extra-service-section {
        padding: 30px 15px;
        background: #fff; /* Nền trắng cho mobile */
    }

    .extra-service-table th {
        display: none;
    }

    .extra-title {
        font-size: 1.4rem;
        margin-bottom: 25px;
        color: #1e293b;
    }

    .extra-service-table {
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .extra-service-table td {
        display: flex;
        flex-direction: column;
        padding: 15px;
        text-align: left !important; /* Đảm bảo căn trái */
    }

    .extra-service-table td:before {
        content: attr(data-label);
        position: relative;
        left: 0;
        width: 100%;
        font-weight: 700;
        color: #3b82f6; /* Màu xanh cho label */
        margin-bottom: 5px;
        font-size: 0.9rem;
        text-transform: uppercase;
    }

    .extra-service-table td:last-child {
        background: #f8fafc; /* Background khác biệt cho giá */
        border-radius: 0 0 8px 8px;
        margin-top: -10px; /* Ghép sát với nội dung */
        padding-top: 12px;
    }

    .price-tag {
        background: transparent;
        color: #ef4444;
        padding: 0;
        font-size: 1rem;
        font-weight: 700;
    }

    /* Hiệu ứng đơn giản cho mobile */
    .extra-service-table tbody tr {
        margin-bottom: 10px;
        display: block;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    }

    .extra-service-table tbody tr:hover td {
        transform: none; /* Bỏ hiệu ứng di chuyển trên mobile */
    }

    /* Đảm bảo khoảng cách giữa các mục */
    .extra-service-table tbody tr:not(:last-child) {
        margin-bottom: 15px;
    }
}
@media (max-width: 480px) {
    .goi-price {
        font-size: 40px;
    }

    .goi-title {
        font-size: 20px;
    }

    .goi-note span {
        font-size: 15px;
    }

    .features-list li {
        font-size: 15px;
        padding: 12px 0;
    }

    .btn-dang-ky {
        font-size: 16px;
        padding: 12px 25px;
    }
}
