.areas-section .areas-card {
    height: 100%;
    position: relative;
    overflow: hidden;
    background-color: #F9FAFB;
}
.areas-section .areas-card img {
    border: 0;
    height: 185px;
    object-fit: cover;
}
    .areas-section .areas-box {
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 20px 24px 24px; 
}
.areas-section .areas-box h3,
.areas-section .areas-box p {
    font-family: "Poppins",sans-serif;
}
.areas-section .areas-box h3 {
    color:#1C0F13;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
} 
.areas-section .areas-box p {
    position: relative;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;   
    line-height: 24px; 
}
.areas-section .areas-box p:last-child {
    margin-bottom: 0;
}
.stats-counter2 .stat-item {
    padding: 0px;
    position: relative;
    text-align: center;
    border-radius: 0px;
    z-index: 0;
}
.stats-counter2 .stat-item .stat-number {
    color: #000;
    font-family: "Poppins",sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.stats-counter2 .stat-item .stat-label{
    color: #374151;
    text-align: center;
    font-family: "Poppins",sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px; 
    margin-bottom: 0;
}

.blogs-article {
background-color: #F9FAFB;
}
.blogs-article .blogs-card {
    background-color: #fff;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    height: 100%;
}
.blogs-article .blogs-card.compact {
    display: flex;
    align-items: stretch;
}
.blogs-article .blogs-card.compact .compact-image {
    position: relative;
    width: 481px;
    height:278px;
    flex-shrink: 0;
}
.blogs-article .blogs-card.compact .compact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 10px solid #FFE8AA;
}
    .blogs-article .blogs-card.compact .compact-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.blogs-article .blogs-card.compact .compact-content h3 {
    color:#1C0F13;
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
}
.blogs-article .blogs-card.compact .compact-content .compact-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.blogs-article .blogs-card .compact-content .compact-experts{
    color: #6B7280;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; 
}
   
@media (max-width: 992px) {
    .blogs-article .blogs-card.compact {
        flex-direction: column;
    }
    .blogs-article .blogs-card.compact .compact-content {
        padding: 20px 20px 32px;
    }
    .blogs-article .blogs-card.compact .compact-image {
        width: 100%;
        height: 200px;
    }
    .blogs-article .blogs-card.compact .compact-content h3 {
        font-size: 18px;
        line-height: 26px;
    }
    .stats-counter2 .row .gy-4 {
        --bs-gutter-y: 20px; 
    }
    .blogs-article .section-title h2{
        margin-bottom: 24px;
    }

}

.cta2-section {
    background-color: #E4B946;
}

.cta2-section .cta2-boxes:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(50% + 20px);
    background-color: #F3F4F6;
    ;
}

.cta2-item {
    position: relative;
    margin-bottom: 60px;
    padding: 40px 48px;
    background-color: #fff;
}

.our-gallery-section {
    background-color: #ffffff;
}

.gallery-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333;
}

.gallery-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    height: 300px;
    border-radius: 0px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}
.our-gallery-section .gallery-item {
    
}
.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1);
}
.gallery-item-large {
    height: 616px;
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item .gallery-overlay,
.gallery-item:hover .gallery-overlay {
    opacity: 1;
    
}

.video-play-button {
   position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  display: block;
  width: 32px;
  height: 44px;
  border-radius: 50%;
  padding: 18px 20px 18px 28px; 
 
 }

.video-play-button:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 64px;
    height: 64px;
    background:  #e1bb55;
    border-radius: 50%;
    -webkit-animation: pulse-border 1500ms ease-out infinite;
    animation: pulse-border 1500ms ease-out infinite;
 }

.video-play-button:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #E4B946;
    border-radius: 50%;
    -webkit-transition: all 200ms;
    -o-transition: all 200ms;
    transition: all 200ms; 
}

.video-play-button:hover:after {
  background-color: #bf9c3b; }

.video-play-button img {
  position: relative;
  z-index: 3;
  max-width: 100%;
  width: auto;
  height: auto; }

.video-play-button span {
    display: block;
    width: 16.007px;
    height: 18.168px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url(../svg/play_video.svg);
    background-position: center;
    background-repeat: no-repeat;
    z-index: 3;
    position: relative;
}

@-webkit-keyframes pulse-border {
  0% {
    -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1; }
  100% {
    -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0; } }

@keyframes pulse-border {
  0% {
    -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1; }
  100% {
    -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0; } 
}


.video-play-button:hover .play-icon {
    border-left-color: #fff;
}

/* Điều chỉnh responsive cho chiều cao ảnh lớn trên màn hình nhỏ */
@media (max-width: 991.98px) {
    .our-gallery-section .gallery-item.gallery-item-large {
        /* height:390px; */
        
    }
    .our-gallery-section .gallery-item.gallery-item-small {
        height:158px;
    }
}

.areas-pagination {
    display: none;
}

/* Sử dụng Media Query để xử lý Layout trên Desktop */
@media (min-width: 992px) { /* Lớp .col-lg-3 */
    .areas-wrapper .swiper-wrapper {
        display: flex;
        flex-wrap: wrap;
        transform: none !important;
        width: 100% !important;
        margin-left: 0 !important;
    }
    .areas-wrapper .swiper-slide {
        position: relative;
        width: 25% !important; /* Đảm bảo 4 cột */
        margin-right: 0 !important;
        padding: 0 32px 0 0px;
    }
    .areas-wrapper .swiper-slide:last-child {
    padding-right:0px;
    }
   
}
 .logo_clients {
        padding:0 0 32px;
    }
.comm-section .contacts-item {
    margin-top:32px;
}

@media (max-width: 767.98px) { 
    .community-sec1-img {
        margin-top: 14px;
    }
    .areas-pagination {
        display: block; 
        margin-top: 20px;
    }
    .areas-wrapper .swiper-wrapper {
        display: flex; 
        flex-wrap: nowrap;

    }
    .areas-wrapper .col-lg-3 {

    }
    .logo_clients {
        padding: 0px 0 20px;
    }
    .clients, .wrp-carousel {
        padding: 0 0px!important;
    }
}