.header-area {
    background-color: #fff !important;
    height: 80px !important;
    position: fixed !important;
    top: 0px;
    left: 0px;
    right: 0px;
    box-shadow: 0px 5px 8px rgba(0,0,0,0.03);
    z-index:1000;
}



.line-text-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Số dòng muốn hiển thị */
    -webkit-box-orient: vertical;
}
.line-text-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp:1; /* Số dòng muốn hiển thị */
    -webkit-box-orient: vertical;
}
.line-text-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Số dòng muốn hiển thị */
    -webkit-box-orient: vertical;
}
.line-text-4 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Số dòng muốn hiển thị */
    -webkit-box-orient: vertical;
}
.line-text-5 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* Số dòng muốn hiển thị */
    -webkit-box-orient: vertical;
}
.line-text-7 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 7; /* Số dòng muốn hiển thị */
    -webkit-box-orient: vertical;
}
.search-form {
    display: flex;
    justify-content: center
}

.search-container {
    margin-top:30px;
    position: relative;
    display: flex;
    align-items: center;
    width:500px;
}

.search-icon {
    position: absolute;
    left: 1rem; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem; /* Equivalent to w-5 */
    height: 1.25rem; /* Equivalent to h-5 */
    color: #6c757d; /* text-gray-400 equivalent */
    z-index: 10;
}

.search-input {
    padding-left: 3rem; /* To make space for the icon */
    padding-right: 8rem; /* To make space for the button */
    height: 3.5rem; /* Equivalent to h-14 */
    font-size: 1.125rem; /* Equivalent to text-lg */
    border: 2px solid #dee2e6; /* border-gray-200 equivalent */
    border-radius: 2rem; /* rounded-full equivalent */
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

    .search-input:focus {
        border-color: #007bff; /* ame-blue equivalent for focus */
        box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25); /* Focus ring */
    }

.search-button-wrapper {
    position: absolute;
    right: 0.25rem; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0.25rem; /* gap-1 equivalent */
}

.search-button {
    height: 3rem; /* Equivalent to h-12 */
    padding-left: 1.5rem; /* px-6 equivalent */
    padding-right: 1.5rem; /* px-6 equivalent */
    border-radius: 2rem; /* rounded-full equivalent */
    font-weight: 500; /* font-medium equivalent */
    background-color: #007bff; /* ame-blue equivalent */
    border-color: #007bff; /* To match background */
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

    .search-button:hover {
        background-color: #0056b3; /* Darker ame-blue on hover */
        border-color: #0056b3;
        transform: translateY(-2px); /* hover:translate-y-[-2px] equivalent */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* hover:shadow-lg equivalent */
    }

/* Adjustments for dark mode if needed (Bootstrap handles some, but for custom colors) */
@media (prefers-color-scheme: dark) {
  

   

        .search-input::placeholder {
            color: #ced4da; /* Lighter placeholder */
        }

    .search-icon {
        color: #ced4da;
    }
}
@media (max-width: 768px) {
    .header-area .logo {
        margin: 0;
        padding: 0;
    }
    .services .naccs .menu >div{
      
       width:22%;
    }
    .services ul.nacc li.active{
        padding:12px;
    }
    .border-first-button.scroll-to-section{
        width:100%; 
        display:flex;
        justify-items:center;
        margin-bottom:16px;
    }
    .down-content .author, .border-first-button {
        display: none !important;
    }
    .post-item .thumb img{
        width:100% !important;
        max-width:100% !important;
    }
    form#contact, .fill-form {
        padding: 16px;
    }

    .post-item .thumb {
        margin-right:0px;
    }

    .post-item .right-content span.category {
        margin-top:16px;
    }
    .post-item .right-content span.date {
        margin-top:20px;
    }
    }