.content-box.content-box-silide {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #ccc;
    box-shadow: 0 12px 6px -34px;
    box-sizing: border-box;
    margin-bottom: 47px;
    margin-top: 15px;
    padding: 12px;
}

.gioithieu_home {
    width: 100%;
    margin-bottom: 10px;
}

.title-home1 {
    width: 100%;
    border-bottom: 3px solid #d4a017;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}

.title_home {
    background: #33373d none repeat scroll 0 0;
    color: #fff;
    padding: 0 20px;
    margin: 0;
    position: relative;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    height: 38px;
    line-height: 38px;
    display: flex;
    align-items: center;
}

.title_home::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-width: 38px 0px 0px 30px;
    border-style: solid;
    border-color: transparent transparent transparent #33373d;
    right: -29px;
    bottom: 0;
}

.content_home {
    width: 100%;
    padding: 15px 0;
    line-height: 1.6;
}

.content_home>p {
    width: 100%;
    margin-bottom: 10px;
}

.content_home span {
    font-weight: bold;
    color: #d4a017;
}

.dt-home {
    color: #d4a017;
    font-weight: bold;
    text-align: right;
    width: 100%;
    font-style: italic;
}

.sp-home {
    width: 100%;
    float: left;
}

.sp-home img {
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* Custom Sections */
.services_home,
.why_home,
.fields_home,
.contact_home,
.news_home {
    width: 100%;
    margin-top: 15px;
}

.content_services,
.content_why,
.content_fields,
.content_contact,
.content_news {
    width: 100%;
    padding: 20px 0;
    line-height: 1.6;
}

.services-list-new {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.services-list-new li {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.services-list-new li:hover {
    border: 1px solid #d4a017;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.services-list-new li:hover img {
    transform: scale(1.05);
}

.service-img-new {
    overflow: hidden;
    border-bottom: 1px solid #f5f5f5;
}

.service-img-new img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    padding: 5px;
    box-sizing: border-box;
    display: block;
    transition: transform 0.5s ease;
}

.service-name-new {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    padding: 12px 0 20px;
}

.service-name-new a {
    color: #d4a017;
    text-decoration: none;
}

.service-name-new a:hover {
    color: #33373d;
}

.service-contact-new {
    margin-top: 5px;
    font-weight: bold;
}

.service-contact-new a {
    color: red;
    text-decoration: none;
}

/* Modern styling for Service Fields and Why Choose Us lists */
.content_fields ul,
.content_why ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 15px 0 !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.content_fields ul li,
.content_why ul li {
    background: #fff;
    border: 1px solid #eaeaea;
    padding: 12px 15px 12px 40px;
    /* space for absolute icon */
    margin: 0 !important;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    font-weight: 500;
    color: #444;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    min-height: 48px;
    box-sizing: border-box;
}

.content_fields ul li::before,
.content_why ul li::before {
    content: "\2714";
    /* Unicode Checkmark */
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #d4a017;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.content_fields ul li:hover,
.content_why ul li:hover {
    border-color: #d4a017;
    box-shadow: 0 6px 15px rgba(212, 160, 23, 0.15);
    transform: translateY(-3px);
    color: #000;
}

/* Fallback for contact-desc lists which shared styles previously */
.contact-desc ul {
    padding-left: 20px;
    margin: 10px 0;
}

.contact-desc ul li {
    margin-bottom: 8px;
    list-style-type: disc;
}

/* Section Accordion Styles */
.section-accordion-header {
    position: relative;
    cursor: pointer;
    padding-right: 40px;
    transition: all 0.3s ease;
}

.section-accordion-header:hover .title_home {
    background: #d4a017;
}

.section-accordion-header:hover .title_home::after {
    border-color: transparent transparent transparent #d4a017;
}

.section-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #33373d;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.section-accordion-header:hover .section-toggle {
    background: #d4a017;
}

.section-toggle::before,
.section-toggle::after {
    content: "";
    position: absolute;
    background: #fff;
    transition: all 0.3s ease;
}

.section-toggle::before {
    width: 14px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.section-toggle::after {
    width: 2px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.fields_home.active .section-toggle::after,
.why_home.active .section-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.contact-subtitle {
    font-size: 16px;
    margin-bottom: 10px;
    color: #000;
}

.contact-desc {
    margin-bottom: 15px;
}

.contact-image {
    margin: 15px 0;
}

.contact-btn {
    text-align: left;
    margin-top: 15px;
    margin-bottom: 20px;
}

.btn-quote {
    display: inline-block;
    background: #d4a017;
    color: #fff;
    padding: 12px 25px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(212, 160, 23, 0.3);
}

.btn-quote:hover {
    background: #33373d;
    color: #fff;
    box-shadow: 0 6px 12px rgba(51, 55, 61, 0.3);
    transform: translateY(-2px);
}

.gioithieu_home .btn-quote {
    margin-top: 20px;
}

@media (max-width: 767px) {
    .gioithieu_home {
        margin-top: 20px;
    }
}

.dt-home-services {
    font-weight: 600;
    font-style: italic;
    color: #d4a017;
    text-decoration: none;
    margin-bottom: 5px;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.dt-home-services:hover {
    color: #33373d;
}

/*Responsive*/
@media only screen and (min-width: 320px) and (max-width: 767px) {
    .home #wrap-content section {
        width: 100%;
    }

    .small-entry {
        width: 100%;
        margin-right: 0px !important;
    }
}

@media only screen and (min-width: 320px) and (max-width: 479px) {
    .entry-top {
        height: 95px;
    }
}

@media only screen and (max-width: 800px) {
    .entry-top {
        height: 140px;
    }

    .small-entry-img {
        max-height: 100px;
    }

    .content-box.content-box-silide {
        margin-bottom: 5px;
        padding: 0;
    }
}

@media only screen and (max-width: 480px) {
    .entry-hot {
        width: 50%;
        margin: 0px;
    }
}

@media only screen and (max-width: 319px) {
    .list-sub-category li a {
        font-weight: 500;
    }

    .entry-bottom-img,
    .entry-bottom-main,
    .list-same-tag,
    .entry-bottom-title,
    .entry-bottom-excerpt {
        width: 100%;
    }

    .entry-hot img {
        height: auto;
    }

    .entry-bottom {
        width: 100%;
    }
}

/* Home Layout Updates */
.row-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 4%;
    margin-top: 20px;
    clear: both;
    width: 100%;
}

.col-half {
    width: 48%;
}

.col-third {
    width: 30.66%;
}

@media only screen and (max-width: 767px) {
    .row-flex {
        flex-direction: column;
    }

    .col-half,
    .col-third {
        width: 100%;
    }
}

.home .content-box-1.home-full-content {
    width: 100%;
}

.home #sibar-right {
    display: none;
}

/* Responsive Styles */
@media only screen and (max-width: 1024px) {

    .services-list-new,
    .news-list-new {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media only screen and (max-width: 768px) {

    .services-list-new,
    .news-list-new {
        grid-template-columns: repeat(2, 1fr);
    }

    .title_home {
        font-size: 16px;
    }
}

@media only screen and (max-width: 576px) {
    .title-home1 {
        flex-direction: column;
        align-items: flex-start;
    }

    .title_home {
        width: 100%;
        text-align: center;
        padding: 12px 15px;
        box-sizing: border-box;
    }

    .title_home::after {
        display: none;
        /* Hide the arrow on small screens */
    }

    .dt-home-services {
        margin-top: 10px;
        width: 100%;
        text-align: center;
        background: #f9f9f9;
        border-radius: 4px;
        padding: 8px 0;
    }

    .services-list-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        /* Reduce gap slightly for mobile 2-col */
    }

    .news-list-new {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-name-new {
        font-size: 13px;
        /* Slightly smaller text for 2-col mobile */
        padding: 10px 5px 15px;
    }

    .btn-quote {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        padding: 15px 20px;
        font-size: 16px;
    }

    .content_home,
    .content_services,
    .content_why,
    .content_fields,
    .content_news {
        padding: 15px 10px;
    }

    .gioithieu_home,
    .services_home,
    .why_home,
    .fields_home,
    .sp-home,
    .news_home {
        margin-top: 10px;
        margin-bottom: 8px;
    }
}

/* News List Styles */
.news-list-new {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-list-new li {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.news-list-new li:hover {
    border: 1px solid #d4a017;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.news-img-new {
    overflow: hidden;
    border-bottom: 1px solid #f5f5f5;
}

.news-img-new img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.news-list-new li:hover .news-img-new img {
    transform: scale(1.05);
}

.news-info-new {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-title-new {
    font-size: 16px;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.news-title-new a {
    color: #33373d;
    text-decoration: none;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title-new a:hover {
    color: #d4a017;
}

.news-date-new {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
    font-style: italic;
}

.news-excerpt-new {
    font-size: 14px;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Why Choose Us - Banner Style */
.why_home {
    background-color: #33373d;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.why-overlay {
    background: rgba(40, 44, 52, 0.58);
    padding: 15px 30px;
}

.why-title {
    color: #fff;
    text-align: center;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 30px 0;
    letter-spacing: 1px;
}

.why-grid {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.why-item {
    flex: 1;
    text-align: center;
    padding: 10px;
}

.why-icon {
    margin-bottom: 12px;
}

.why-icon i {
    font-size: 36px;
    color: #d4a017;
}

.why-item-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}

.why-item-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

@media only screen and (max-width: 768px) {
    .why-grid {
        flex-wrap: wrap;
    }

    .why-item {
        flex: 0 0 calc(50% - 10px);
    }

    .why-title {
        font-size: 18px;
    }
}

@media only screen and (max-width: 480px) {
    .why-item {
        flex: 0 0 100%;
    }

    .why-overlay {
        padding: 25px 15px;
    }
}

/* Fields Grid Styles */
.fields_home .title-home1 {
    border-bottom: 1px solid #eaeaea !important;
    align-items: center !important;
    padding-bottom: 10px !important;
}

.fields_home .title_home {
    background: transparent !important;
    color: #333 !important;
    padding: 0 0 0 15px !important;
    height: auto !important;
    line-height: 1.2 !important;
    font-size: 18px !important;
}

.fields_home .title_home::after {
    display: none !important;
}

.fields_home .title_home::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) skewX(-20deg) !important;
    width: 4px !important;
    height: 20px !important;
    background-color: #f39c12 !important;
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.field-item {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 25px 15px;
    text-align: center;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.field-item:hover {
    border-color: #f39c12;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.field-icon {
    margin-bottom: 15px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.field-icon img {
    max-height: 100%;
    max-width: 60px;
    object-fit: contain;
}

.field-item-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.field-item-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

@media only screen and (max-width: 1200px) {
    .fields-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 768px) {
    .fields-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 480px) {
    .fields-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .field-item {
        padding: 15px 10px;
    }

    .field-icon {
        height: 45px;
        margin-bottom: 10px;
    }

    .field-icon img {
        max-width: 45px;
    }

    .field-item-title {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .field-item-desc {
        font-size: 11px;
        line-height: 1.4;
    }
}