/* ========================== */
/*            nav             */
/* ========================== */
/* .header-area .main-nav a.logo {
    background-image: url(../images/BHHH-r.png);
} */

.fix__nav1 {
    background-color: rgb(255, 255, 255);
}

.header-area .main-nav .nav li a {
    color: #ffffff;
}
.header-area .main-nav .nav li a.dropdown-item {
    color: #000000;
}


.btn__contact {
    color: #ffffff !important;
}

.header-area__top__space {
    margin-top: 100px;
}

/* ========================== */
/*          container         */
/* ========================== */
.fix__container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto
}

@media (min-width:576px) {
    .fix__container {
        max-width: 540px
    }
}

@media (min-width:768px) {
    .fix__container {
        max-width: 720px
    }
}

@media (min-width:992px) {
    .fix__container {
        max-width: 960px
    }
}

@media (min-width:1200px) {
    .fix__container {
        max-width: 1140px
    }
}

/* ========================== */
/*          carousel          */
/* ========================== */

.carousel-item {
    height: 500px;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-item {
        height: 100%;
    }
}

/* ========================== */
/*           card             */
/* ========================== */

.fix__card {
    position: relative;
    width: 300px;
    height: 300px;
    background: #fff;
    color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.fix__card__hoverable:hover {
    transform: translateY(-10px);
    background: #1d9d85;

}

.fix__card__image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.fix__card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.fix__card__hoverable:hover .fix__card__image {
    transform: scale(1.05);
}

.fix__card__content {
    padding: 20px;
    position: relative;
    z-index: 1;
    transition: background 0.4s ease, color 0.4s ease;
}

.fix__card__title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.fix__read__more {
    display: inline-block;
    /* margin-top: 15px; */
    padding: 3px 10px;
    font-size: 0.85rem;
    color: #fff;
    background: #1d9d85;
    border: solid #fff;
    /* สีเขียวตามที่คุณต้องการ */
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.fix__read__more:hover {
    background: #ffffff;
    color: #1d9d85;
    /* font-weight: bold; */

    /* สีเขียวเข้มขึ้นตอน hover */
}

.fix__card::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -100%;
    width: 100%;
    height: 100%;
    z-index: 0;
    transition: bottom 0.4s ease;
}

.fix__card__hoverable.hovered {
    transform: translateY(-10px);
    background: #1d9d85;
}

.fix__card__hoverable.hovered .fix__card__image {
    transform: scale(1.05);
}

.fix__card__hoverable.hovered .fix__card__content {
    color: #ffffff;
}

.fix__card__hoverable.hovered .fix__card__text {
    color: #eee;
}

/* Responsive */
@media (max-width: 768px) {
    .fix__card {
        width: 100%;
        height: auto;
    }

    .fix__card__image-wrapper {
        height: 180px;
    }
}