/* BANNER */
.carousel-banner .carousel-control-prev,
.carousel-banner .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: rgba(112, 140, 124, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.carousel-banner .carousel-control-prev {
    left: 50px;
}

.carousel-banner .carousel-control-next {
    right: 50px;
}

.carousel-banner .carousel-control-prev-icon,
.carousel-banner .carousel-control-next-icon {
    border-radius: 50%;
    width: 24px;
    height: 24px;
    color: white;
}


.carousel-banner .carousel-item img {
    transition: none !important;
    opacity: 1 !important;
    filter: none !important;
}

.carousel-banner .carousel-item:hover img {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
}

.carousel-banner .carousel-item::before,
.carousel-banner .carousel-item::after {
    background-color: transparent !important;
    opacity: 0 !important;
    transition: none !important;
    content: none !important;
}

.carousel-banner .btn-banner {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 10px 25px;
    border-radius: 8px;
    background-color: rgba(112, 140, 124, 0.9);
    color: white;
    text-decoration: none;
}

.carousel-banner .btn-banner:hover {
    background-color: var(--olive);
}

@media (max-width: 1000px) {}

@media (max-width: 500px) {

    .carousel-banner .carousel-control-prev,
    .carousel-banner .carousel-control-next {
        width: 20px;
        height: 20px;
    }

    .carousel-banner .carousel-control-prev-icon,
    .carousel-banner .carousel-control-next-icon {
        width: 14px;
        height: 14px;
    }

    .carousel-banner .carousel-control-prev {
        left: 10px;
    }

    .carousel-banner .carousel-control-next {
        right: 10px;
    }

    .carousel-banner .btn-banner {
        font-size: 0.5rem;
        font-weight: 600;
        letter-spacing: 0.3px;
        padding: 5px 10px;
        border-radius: 5px;
    }
}

/* GIOI THIEU */
.custom-card {
    padding: 2rem;
    width: 100%;
    min-height: 350px;
    margin-bottom: 40px;
    margin-top: -73px;
    max-width: 66rem;
    width: 90vw;
    background-color: rgba(76, 90, 82, 0.8);
    border-radius: 10px;
}

.custom-card h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.custom-card h2 {
    color: #D5DFCF;
    margin-bottom: 2rem;
}

.custom-card p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: white;
    padding-right: 40%;
    text-align: justify;
}

.custom-button {
    background-color: var(--forest);
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: none;
    text-decoration: none;
}

.custom-button:hover {
    background-color: #A3BA9C;
}

.card {
    background-color: transparent;
    border: solid;
}

.btn-primary {
    background-color: var(--olive);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: var(--forest);
}

@media (max-width: 1000px) {
    .custom-card h1 {
        font-size: 1.2rem;
        margin-bottom: 0.7rem;
    }

    .custom-card h2 {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .custom-card p {
        font-size: 0.9rem;
        padding-right: 0;
        padding-right: 20%;
        text-align: start;
    }

    .custom-button {
        padding: 8px 25px;
        font-size: 0.85rem;
    }

    .custom-card {
        margin-top: 20px;
        min-height: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .custom-card h1 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .custom-card h2 {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .custom-card p {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
        padding-right: 0;
        text-align: justify;
    }

    .custom-button {
        padding: 6px 20px;
        font-size: 0.8rem;
    }

    .custom-card {
        margin-top: 10px;
        min-height: 0;
        margin-bottom: 0;
    }
}

/* DICH VU */

.dichvu-home .card-dich-vu {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-top: 30px;
    margin-bottom: 1.5rem;
}

.dichvu-home .card {
    flex: 1;
    display: flex;
    flex-direction: column;
    border: solid;
}

.dichvu-home .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.dichvu-home .card-custom .card-img {
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
}

.dichvu-home .card-custom .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.dichvu-home .card-custom:hover .card-img img {
    transform: scale(0.9);
}

.dichvu-home .card-custom {
    border-width: 1px;
    border-radius: 10px;
    border-color: rgb(213, 213, 213);
    padding: 20px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.dichvu-home .card-custom:hover {
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #526862;
    color: white;
}

.dichvu-home .icon {
    background-color: rgba(223, 242, 231, 0.8);
    width: 70px;
    height: 70px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 10px;
    transition: background-color 0.3s ease;
}

.dichvu-home .icon img {
    width: 40px;
    height: 40px;
    filter: invert(60%) sepia(80%) saturate(200%) hue-rotate(75deg) brightness(90%) contrast(40%);
}

.dichvu-home .card-custom:hover .icon {
    background-color: rgb(101, 128, 125);
}

.dichvu-home .card-custom:hover .icon img {
    filter: brightness(0) saturate(100%) invert(100%) brightness(100%);
}

.dichvu-home .card-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2rem;
    /* Đảm bảo tiêu đề được phân phối đều không bị cắt */
    flex-grow: 1; /* Giúp tiêu đề mở rộng theo không gian */
    display: flex;
    align-items: center; /* Căn giữa nội dung tiêu đề theo chiều dọc */
}

.dichvu-home .card-text {
    color: rgb(112, 112, 112);
    text-align: justify;
}

.dichvu-home .card-custom:hover .card-text {
    color: white;
}

.dichvu-home .btn-link-custom {
    color: var(--forest);
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    align-self: center;
    margin-top: auto;
    margin-bottom: 10px;

    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    transform: translateX(4px);
}

.dichvu-home .btn-link-custom::after {
    content: '';
    position: absolute;
    width: 92px;
    height: 2px;
    background-color: var(--forest);
    left: 0;
    bottom: -4px;
    transition: all 0.3s ease;
}

.dichvu-home .card-custom:hover .btn-link-custom::after {
    background-color: white;
}

.dichvu-home .card-custom:hover .btn-link-custom {
    color: white;
    transform: translateX(-8px);
}

.dichvu-home .btn-link-custom .fa-arrow-right-long {
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.dichvu-home .card-custom:hover .btn-link-custom .fa-arrow-right-long {
    opacity: 1;
    transform: translateX(4px);
}

.dichvu-home .custom-btn {
    border: 1.7px solid var(--forest);
    border-radius: 50px;
    padding: 10px 30px;
    background-color: transparent;
    color: var(--forest);
    font-weight: 500;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dichvu-home .custom-btn:hover {
    background-color: var(--forest);
    color: #ffffff;
}

.dichvu-home .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20%;
}

@media (max-width: 1200px) {
    .dichvu-home .row {
        padding: 0 10%;
    }
}

@media (max-width: 900px) {
    .dichvu-home .row {
        padding: 0 2%;
    }
}

@media (max-width: 850px) {
    .dichvu-home .card-dich-vu {
        flex: 0 0 100%;
        max-width: 70%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0;

        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .dichvu-home .row {
        padding: 0;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .dichvu-home .card-custom {
        width: 60vw;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .dichvu-home .card-dich-vu {
        flex: 0 0 100%;
        max-width: 70%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0;

        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .dichvu-home .row {
        padding: 0 0;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .dichvu-home .card-custom {
        width: 85vw;
    }
}


/* LY DO CHON */

.lydo-home .section-title h1 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #bfe2da;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.lydo-home .section-title h2 {
    font-size: 2.5rem;
    font-weight: 500;
    color: #ffffff;
}

.lydo-home .section-subtitle {
    color: #ffffff;
    font-size: 1.2rem;
}

.lydo-home .row {
    display: flex;
    flex-wrap: wrap;
}

.lydo-home .col-md-4 {
    display: flex;
    flex-direction: column;
}

.lydo-home .icon-box {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    flex-grow: 1;
}

.lydo-home .icon {
    font-size: 60px;
    color: #ffffff;
    margin-top: -10px;
    background-color: transparent;
}

.lydo-home .icon-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.lydo-home .icon-description {
    color: #ffffff;
    font-size: 1rem;
    text-align: justify;
    flex-grow: 1;
}

.lydo-home .icon-box:hover {
    transform: scale(1.05);
}

.lydo-home .container {
    background-image:
        linear-gradient(rgba(13, 48, 50, 0.7), rgba(13, 48, 50, 0.7)),
        url('../themes/wn-decorgreen-theme/assets/images/anh-vuon.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .lydo-home .section-title h2 {
        font-size: 2rem;
    }

    .lydo-home .section-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .lydo-home .section-title h2 {
        font-size: 1.65rem;
    }

    .lydo-home .section-subtitle {
        font-size: 1.1rem;
    }
}

/* NHUNG CON SO */

.conso-home .counter-section {
    background-color: #f4f2ed;
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.conso-home .row {
    margin-top: 1.5rem;
}

.conso-home .section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #2c4e50;
    margin-top: 2rem;
}

.conso-home .counter-box {
    margin-top: -50px;
    margin-bottom: -30px;
}

.conso-home .counter-number {
    font-size: 3rem;
    font-weight: bold;
    color: #64c2a4;
}

.conso-home .counter-number span {
    font-size: 2rem;
}

.conso-home .counter-label {
    color: #7f8c8d;
    font-size: 1rem;
    font-weight: 400;
    padding-bottom: 3rem;
}

@media (max-width: 576px) {
    .conso-home .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .conso-home .counter-box {
        margin-top: 0;
        margin-bottom: 0;
    }

    .conso-home .counter-number {
        font-size: 2.5rem;
    }

    .conso-home .counter-label {
        padding-bottom: 0;
        font-size: 0.8rem;
    }

    .conso-home .counter-section {
        padding-top: 10px;
        padding-bottom: 2rem;
    }

    .conso-home .row {
        margin-top: 0;
    }
}


/* KET NOI */
@font-face {
    font-family: 'CustomFont';
    src: url('../themes/wn-decorgreen-theme/assets/fonts/NVN-Motherland-Signature.ttf') format('truetype');
}

.ketnoi-home .container {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    z-index: 10;
    margin-top: 60px;
}

.ketnoi-home h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding: 0 27%;
}

.ketnoi-home .ketnoi-title p {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-family: 'CustomFont', sans-serif;
}

.ketnoi-home .ketnoi-title {
    margin-bottom: 2rem;
}

.ketnoi-home .ketnoi-conso .counter-section {
    background-color: transparent;
    margin-bottom: 2rem;
}

.ketnoi-home .ketnoi-conso .counter-box {
    display: inline-block;
    text-align: center;
}

.ketnoi-home .ketnoi-conso .counter-number {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.ketnoi-home .ketnoi-conso .big-number {
    font-size: 4rem;
    color: #b1dec9;
    font-weight: bold;
    margin-right: 5px;
}

.ketnoi-home .ketnoi-conso .small-text {
    font-size: 2rem;
    color: white;
    font-weight: 500;
    letter-spacing: 1px;
    margin-right: 30px;
}

.ketnoi-home .btn {
    position: relative;
    padding: 10px 30px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 500;
    border-radius: 50px;
    overflow: hidden;
    background-color: var(--aloe);
    color: white;
    transition: background-color 0.7s ease;
}

.ketnoi-home .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -150%;
    width: 180%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(60deg);
    transition: left 0.7s ease;
}

.ketnoi-home .btn:hover::before {
    left: 100%;
}

.ketnoi-home .btn:hover {
    background-color: var(--olive);
}

@media (max-width: 1000px) {
    .ketnoi-home h2 {
        font-size: 1.9rem;
        padding: 0 13%;
    }

    .ketnoi-home p {
        font-size: 1.2rem;
        padding: 0 40px;
    }

    .ketnoi-home a.btn-primary {
        font-size: 1rem;
        padding: 10px 25px;
    }

    .ketnoi-home .ketnoi-title {
        margin-bottom: 1rem;
    }

    .ketnoi-home .ketnoi-title p {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .ketnoi-home .ketnoi-conso .counter-section {
        margin-bottom: 0;
    }

    .ketnoi-home .ketnoi-conso .counter-number {
        font-size: 2.3rem;
    }

    .ketnoi-home .ketnoi-conso .big-number {
        font-size: 2.9rem;
        margin-right: 5px;
    }

    .ketnoi-home .ketnoi-conso .small-text {
        font-size: 1.8rem;
        margin-right: 30px;
    }
}

@media (max-width: 576px) {
    .ketnoi-home h2 {
        font-size: 1.4rem;
        padding: 0 10px;
    }

    .ketnoi-home p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .ketnoi-home a.btn-primary {
        font-size: 0.9rem;
        padding: 8px 20px;
    }

    .ketnoi-home .ketnoi-title {
        margin-bottom: 0.5rem;
    }

    .ketnoi-home .ketnoi-title p {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .ketnoi-home .ketnoi-conso .counter-section {
        margin-bottom: 0;
    }

    .ketnoi-home .ketnoi-conso .counter-number {
        font-size: 2rem;
    }

    .ketnoi-home .ketnoi-conso .big-number {
        font-size: 2.5rem;
        margin-right: 5px;
    }

    .ketnoi-home .ketnoi-conso .small-text {
        font-size: 1rem;
        margin-right: 30px;
    }
}

/* DU AN */

.congtrinh-owl-carousel {
    padding: 0 10%;
}

.congtrinh-owl-carousel .item a {
    text-decoration: none;
    color: rgb(79, 79, 79);
}

.congtrinh-owl-carousel .item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    /* Sắp xếp lại cho phần tiêu đề có độ cao bằng nhau */
    align-items: stretch;
}

.congtrinh-owl-carousel .item h3 {
    margin-bottom: 10px;
    text-align: center;
    /* Thiết lập chiều cao tối thiểu cho các tiêu đề để đảm bảo chúng đồng đều */
    min-height: 50px; /* Hoặc giá trị phù hợp với thiết kế của bạn */
    display: flex;
    align-items: center;
    justify-content: center;
}

.congtrinh-owl-carousel .item h3 > a {
    height: 80px;
    vertical-align: middle;
}

.congtrinh-owl-carousel .item img {
    object-fit: cover;
    transition: transform 0.3s ease;
    /* Đảm bảo hình ảnh bao phủ toàn bộ khu vực mà không bị méo */
    height: 550px;
    /* Đặt chiều cao cho tất cả hình ảnh, có thể thay đổi theo ý muốn */
    width: 100%;
}

.congtrinh-owl-carousel .item img:hover {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

@media (max-width: 500px) {
    .congtrinh-owl-carousel {
        padding: 0 8%;
    }

    .congtrinh-owl-carousel h5 {
        font-size: 1rem;
        font-weight: 500;
    }
}

.congtrinh-home {
    padding: 60px;
    padding-bottom: 10px;
}

@media (min-width: 992px) {
    .congtrinh-home .container {
        padding: 0 80px;
    }
}

.congtrinh-home h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: rgb(79, 79, 79);
}

.congtrinh-home .green-text {
    font-size: 1.6rem;
    font-weight: 600;
    color: #92c0b1;
}

.congtrinh-home p {
    font-size: 1rem;
    max-width: 1200px;
    color: rgb(133, 133, 133);
    margin: 2rem 0;
}

.congtrinh-home .short-underline {
    width: 250px;
    height: 3px;
    background-color: #509587;
    margin: 10px auto;
    border: none;
}

.congtrinh-home .btn-custom {
    position: relative;
    overflow: hidden;
    padding: 10px 40px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    color: white;
    transition: background-color 0.7s ease;
    margin-top: 20px;
}

.congtrinh-home .btn-light {
    background-color: #9dc5c3;
    width: 70;
}

.congtrinh-home .btn-dark {
    background-color: #2c3e50;
}

.congtrinh-home .btn-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -150%;
    width: 180%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(60deg);
    transition: left 0.7s ease;
}

.congtrinh-home .btn-custom:hover::before {
    left: 100%;
}

.congtrinh-home .btn-light:hover {
    background-color: #83a3a1;
}

.congtrinh-home .btn-dark:hover {
    background-color: #1d2e3a;
}

@media (max-width: 768px) {
    .congtrinh-home {
        padding: 0 40px;
    }

    .congtrinh-home h2 {
        font-size: 2rem;
    }

    .congtrinh-home .green-text {
        font-size: 1.3rem;
        margin-top: 30px;
    }

    .congtrinh-home p {
        font-size: 1rem;
        margin: 1rem 0;
    }

    .congtrinh-home .btn-custom {
        font-size: 0.9rem;
        padding: 10px 20px;
        width: 30%;
        margin-right: 20px;
    }
}

@media (max-width: 576px) {
    .congtrinh-home {
        padding: 0 20px;
    }

    .congtrinh-home h2 {
        font-size: 1.8rem;
    }

    .congtrinh-home .green-text {
        font-size: 1.2rem;
    }

    .congtrinh-home p {
        font-size: 0.9rem;
        margin: 0.5rem 0;
    }

    .congtrinh-home .col-md-4.text-md-end {
        text-align: center;
    }

    .congtrinh-home .btn-custom {
        width: 50%;
        margin-bottom: 10px;
    }
}


.carousel-container {
    width: 80%;
    height: 80%;
    margin: 0 auto;
}

.carousel-item img {
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    width: 100%;
    height: 500px;
}

.carousel-item img:hover {
    transform: scale(1.05);
    filter: brightness(80%);
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
}

.carousel-caption p {
    padding: 0 10px;
}

.carousel-indicators button {
    background-color: #6a9e78;
}

.carousel-indicators .active {
    background-color: #429c8d;
}

@media (max-width: 1000px) {
    .carousel-container {
        width: 80%;
        height: 80%;
        margin: 0 auto;
    }

    .carousel-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .carousel-container {
        width: 100%;
        height: 80%;
        margin: 0 auto;
    }

    .carousel-caption p {
        font-size: 0.95rem;
    }

    .carousel-caption {
        padding: 10px;
    }

    .carousel-inner h5 {
        font-size: 1.2rem;
    }
}

/* FEEDBACK */

.short-underline {
    width: 60px;
    height: 4px;
    background-color: #ccc;
    margin: 0 auto;
}

.stars i {
    font-size: 1.2rem;
}

.card {
    background-color: #fff;
    border: none;
    padding: 20px;
}

.card-title {
    font-weight: bold;
    margin-top: 20px;
}

.feedback .text-center {
    margin-bottom: 0;
}

.feedback .bi-chat-quote-fill {
    font-size: 1.6rem;
    background-color: #284e4f;
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 0px;
}

.feedback .row {
    margin-top: 0;
    margin-bottom: 10px;
}

.feedback .subheading {
    color: #92c0b1;
    letter-spacing: 1px;
    margin-top: 100px;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.feedback h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: rgb(79, 79, 79);
}

.feedback p {
    margin-top: 10px;
    font-size: 1.1rem;
    color: rgb(79, 79, 79);
}

.feedback hr {
    width: 180px;
    height: 3px;
    background-color: #509587;
    margin: 0 auto;
    border: none;
}

.feedback .testimonial-card {
    border: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    position: relative;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 330px;
    min-height: 400px;
}

.feedback .testimonial-card .card-body {
    flex-grow: 1;
    text-align: start;
}

.feedback .testimonial-card:hover {
    transition: transform 0.3s ease;
    transform: scale(1.03);
}

.feedback .testimonial-card p {
    font-size: 0.95rem;
    color: rgb(79, 79, 79);
    margin-top: -10px;
    text-align: justify;
}

.feedback .testimonial-card h5 {
    font-size: 1.1rem;
}

.feedback .testimonial-card .text-muted {
    font-size: 1rem;
    color: rgb(79, 79, 79);
    margin-top: 0;
}

.feedback .testimonial-img {
    width: 300px;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    margin-left: 15px;
}

.feedback .testimonial-stars {
    color: #509587;
}

.feedback .pagination-indicators {
    padding-top: 3.2rem;
}

.feedback .carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e0e0e0;
    border: 1.5px solid #509587;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 4px;
}

.feedback .carousel-indicators .active {
    background-color: #509587;
    border: 1.5px solid #509587;

}

@media (max-width: 1000px) {
    .feedback h1 {
        font-size: 1.8rem;
        font-weight: bold;
        color: rgb(79, 79, 79);
        padding: 0 20px;
    }

    .feedback .testimonial-card {
        min-height: 420px;
    }

    .feedback .testimonial-card p {
        font-size: 0.8rem;
        color: rgb(79, 79, 79);
        margin-top: -10px;
        text-align: justify;
    }

    .feedback .testimonial-card h5 {
        font-size: 1rem;
    }

    .feedback .text-center {
        margin-bottom: 1rem;
    }

    .feedback .testimonial-card:hover {
        transform: scale(1);
    }

    .feedback .testimonial-img {
        width: 100%;
        height: 230px;
        object-fit: cover;
        border-radius: 5px;
        margin: 0 auto;
        display: block;
        margin-bottom: 20px;
    }

    .feedback .card-body {
        padding: 10px;
    }

    .feedback .bi-chat-quote-fill {
        font-size: 1.3rem;
    }
}

@media (max-width: 500px) {
    .feedback h1 {
        font-size: 1.45rem;
        font-weight: bold;
        color: rgb(79, 79, 79);
        padding: 0 30px;
    }

    .feedback .text-center p {
        padding: 0 20px;
        font-size: 1rem;
    }

    .feedback .testimonial-card p {
        font-size: 0.8rem;
        color: rgb(79, 79, 79);
        margin-top: -10px;
        text-align: justify;
    }

    .feedback .testimonial-card h5 {
        font-size: 1rem;
    }

    .feedback .testimonial-card {
        min-height: 380px;
    }

    .feedback .subheading {
        margin-top: 20px;
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .feedback .text-center {
        margin-bottom: 0;
    }

    .feedback .testimonial-card:hover {
        transform: scale(1);
    }

    .feedback .testimonial-img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 5px;
        margin: 0 auto;
        display: block;
        margin-bottom: 20px;
    }

    .feedback .card-body {
        padding: 10px;
    }

    .feedback .bi-chat-quote-fill {
        font-size: 1.3rem;
    }
}

/* SAN PHAM */
.caytaivuon h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: rgb(79, 79, 79);
    margin-top: 100px;
}

.caytaivuon p {
    margin-top: 10px;
    font-size: 1.1rem;
    color: rgb(79, 79, 79);
}

.caytaivuon hr {
    width: 300px;
    height: 3px;
    background-color: #509587;
    margin: 15px auto;
    border: none;
}

.caytaivuon .product-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    border: none;
}

.caytaivuon .product-image {
    position: relative;
    transition: transform 0.3s ease;
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.caytaivuon .product-image img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.caytaivuon .product-image .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    background-color: rgba(55, 83, 77, 0.33);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

/* .caytaivuon .product-card:hover .overlay {
    opacity: 1;
} */

.caytaivuon .overlay .btn {
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    background-color: #509587;
    color: white;
    border-radius: 7px;
    border-bottom: solid 3px rgb(133, 182, 152);


    bottom: 10px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    text-align: center;
}

.caytaivuon .btn:hover {
    background-color: var(--olive);
}

.caytaivuon .card-body h5 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.caytaivuon .card-body p {
    font-size: 1.1rem;
    font-weight: 400;
}

.caytaivuon .xemthem {
    font-size: 1.2rem;
    font-weight: 400;
    color: #22a8ad;
}

.caytaivuon .custom-btn {
    border: 1.7px solid var(--forest);
    border-radius: 50px;
    padding: 10px 30px;
    background-color: transparent;
    color: var(--forest);
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: -20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.caytaivuon .custom-btn:hover {
    background-color: var(--forest);
    color: #ffffff;
}

.caytaivuon .text-center {
    margin-bottom: 3rem;
}

.caytaivuon .card-body {
    margin-bottom: 0rem;
}

.caytaivuon .row .card {
    padding: 0;
}

@media (max-width: 900px) {
    .caytaivuon h2 {
        margin-top: 20px;
        font-size: 2rem;
    }

    .caytaivuon .card-body h5 {
        font-size: 1.2rem;
    }

    /* .caytaivuon .product-image img {
        width: 100%;
    } */
    .caytaivuon .text-center {
        margin-bottom: 1rem;
    }

    .caytaivuon .card-body {
        margin-bottom: 0rem;
    }
}

@media (max-width: 500px) {
    .caytaivuon h2 {
        margin-top: 0;
        font-size: 1.8rem;
    }

    .caytaivuon .text-center p {
        font-size: 0.9rem;
        padding: 0 20px;
    }

    .caytaivuon .row .card {
        padding: 0;
    }

    .caytaivuon .product-image {
        margin-bottom: 1.5rem;
    }

    .caytaivuon .card-body {
        margin-bottom: 0rem;
    }
}

/* BLOG */

.blog-section .subheading {
    color: #92c0b1;
    letter-spacing: 1px;
    margin-top: 80px;
    margin-bottom: 30px;
    font-size: 1.6rem;
}

.blog-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: rgb(79, 79, 79);
    padding: 10px;
}

.blog-section p {
    font-size: 1.1rem;
    color: rgb(79, 79, 79);
}

.blog-section hr {
    width: 180px;
    height: 3px;
    background-color: #509587;
    margin: 0 auto;
    border: none;
}

.blog-section .blog-card {
    border: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-radius: 15px;
    margin: 10px 0;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-card img {
    border-radius: 15px 15px 0 0;
    object-fit: cover;
    height: 300px;
}

.blog-card .card-body {
    text-align: justify;
}

.blog-card .card-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
    color: rgb(67, 67, 67);
}

.blog-card .card-meta {
    color: gray;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.blog-card .card-text {
    font-size: 1rem;
    color: rgb(79, 79, 79);
}

.blog-section .carousel-control-prev,
.blog-section .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #509587;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.blog-section .carousel-control-prev {
    left: -60px;
}

.blog-section .carousel-control-next {
    right: -60px;
}

.blog-section .carousel-control-prev-icon,
.blog-section .carousel-control-next-icon {
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

/* .blog-section .carousel-indicators {
    display: none;
} */

.blog-section .text-center p {
    padding: 0 20%;
}

@media (max-width: 900px) {
    .blog-section .carousel-item .col-md-4 {
        flex: 0 0 90%;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .blog-section h1 {
        font-size: 2rem;
        font-weight: bold;
        color: rgb(79, 79, 79);
        padding: 10px;
    }

    .blog-section p {
        font-size: 1rem;
        color: rgb(79, 79, 79);
    }

    .blog-section .subheading {
        margin-top: 80px;
    }

    .blog-section .text-center p {
        padding: 0 30px;
    }

    .blog-section .blog-card {
        margin: 10px 15px;
    }
}

@media (max-width: 500px) {
    .blog-section .subheading {
        margin-top: 10px;
        margin-bottom: 0;
    }

    .blog-section h1 {
        font-size: 1.8rem;
        font-weight: bold;
        color: rgb(79, 79, 79);
    }

    .blog-section .subheading {
        margin-top: 70px;
    }

    .blog-section .text-center p {
        padding: 0 25px;
    }

    /* .blog-section .carousel-control-button {
        display: none;
    } */
    .blog-section .blog-card {
        margin: 10px 10px;
    }
}

/* VE CHUNG TOI */

.about-us-carousel {
    padding: 0 10%;
}

.about-us-carousel .img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.about-us-carousel .img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-us-carousel .carousel-control-prev,
.about-us-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
}

.about-us-carousel .carousel-control-prev {
    left: 4%;
}

.about-us-carousel .carousel-control-next {
    right: 4%;
}

.about-us-carousel .carousel-control-prev-icon,
.about-us-carousel .carousel-control-next-icon {
    width: 27px;
    height: 27px;
}

.about-us-carousel .btn {
    position: relative;
    padding: 10px 30px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 500;
    border-radius: 50px;
    overflow: hidden;
    background-color: #92c0b1;
    color: white;
    transition: background-color 0.7s ease;
}

.about-us-carousel .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -150%;
    width: 180%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(60deg);
    transition: left 0.7s ease;
}

.about-us-carousel .btn:hover::before {
    left: 100%;
}

.about-us-carousel .btn:hover {
    background-color: var(--olive);
}

@media (max-width: 500px) {
    .about-us-carousel {
        padding: 0;
    }

    .about-us-carousel .row>* {
        padding-right: 2px;
        padding-left: 2px;
    }

    .about-us-carousel .carousel-control-prev,
    .about-us-carousel .carousel-control-next {
        display: none;
    }

    .about-us-carousel .carousel-control-prev-icon,
    .about-us-carousel .carousel-control-next-icon {
        display: none;
    }
}