/*list service home*/
.service-container {
    background-color: #3b7a53;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 40px;
}

.left-section {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.description {
    color: white;
    font-size: 16px;
    line-height: 1.5em;
    text-align: center;
    margin-bottom: 25px;
}

.learn-more {
    display: inline-block;
    padding: 12px 40px;
    background: white;
    color: #3b7a53;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.learn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: #f5f5f5;
}

.right-section {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

.right-section a {
    text-decoration: none;
}

.service-category {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 250px;
}

.service-category:hover {
    transform: translateY(-5px);
}

.service-category img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

.service-label {
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    backdrop-filter: blur(5px);
    border: 1px solid #fff;
    border-radius: 15px;
    margin-top: 5px;
    margin-bottom: 5px;
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }

    .left-section {
        flex: none;
    }

    .right-section {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }

    .service-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {

    .logo {
        width: 100px;
        /* height: 150px; */
    }

    .logo-text {
        font-size: 90px;
    }

    .container {
        padding: 20px;
    }
    .service-category img {
        height: 200px;
    }
    .service-container {
        padding: 20px;
        border-radius: 15px;
        gap: 20px;
    }
    .description {
        font-size: 14px;
        margin-bottom: 30px;
    }
    .learn-more {
        padding: 10px 30px;
        font-size: 12px;
    }
    .service-label {
        font-size: 12px;
        padding: 5px 20px;
    }
    .right-section {
        display: none;
    }

    .mobile-swiper-container {
        display: block !important;
    }
}

.mobile-swiper-container {
    display: none;
    width: 100%;
    position: relative;
}

.mobile-swiper-container .swiper {
    width: 85%;
    padding: 10px 10px;
}

.mobile-swiper-container .swiper-slide {
    width: auto;
    flex-shrink: 1;
    transform: scale(1); 
}

.mobile-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 30px;
    border-radius: 25px;
    border: 1px solid #ddd;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    user-select: none;
}

.mobile-tab:hover,
.mobile-tab:active {
    transform: translateY(-5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: white;
}

.mobile-button-next,
.mobile-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-button-next i,
.mobile-button-prev i {
    font-size: 14px;
    color: #666;
}

.mobile-button-next:hover,
.mobile-button-prev:hover {
    border-color: #999;
    background: #f9f9f9;
}

.mobile-button-prev {
    left: -10px;
}

.mobile-button-next {
    right: -10px;
}

/* Hide navigation when all items visible */
.swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}

/*slide*/
.slider-container {
    position: relative;
}

.slider-container .swiper {
    max-width: 100%;
    width: 90%;
    padding: 0 0 20px 0;
    /* overflow: visible; */
}

.swiper-wrapper {
    align-items: center;
}

.location-section .swiper-slide {
    width: 280px;
    height: auto;
    opacity: 1;
    transition: all 0.4s ease;
    transform: scale(0.8);
}

.location-section .swiper-slide-active {
    transform: translateZ(0);
    z-index: 10;
}

.location-card-slide {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.location-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.location-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.locationSwiper .swiper-slide-active .location-image::after {
    opacity: 0;
}

.location-section .swiper-slide-active .location-image {
    height: 300px;
    align-items: stretch;
}

.location-content {
    padding: 25px;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
}

.location-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000000;
}

.location-address {
    font-size: 14px;
    color: #000000;
    margin-bottom: 12px;
    line-height: 1.5em;
}

.location-contact {
    font-size: 14px;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.5em;
}

.direction-btn {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    text-decoration: none;
}

.location-section .swiper-slide-active .direction-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.button-next,
.button-prev {
    position: absolute;
    color: #3b7a53;
    top: 50%;
    z-index: 1;
    cursor: pointer;
}

.button-next i::before,
.button-prev i::before {
    font-size: 35px;
}

.button-next {
    right: 0;
}

.button-prev {
    left: 0;
}

@media (max-width: 1024px) {
    .location-section .swiper-slide {
        width: 260px;
    }

    .location-section.swiper-slide-active {
        transform: scale(1.1);
    }

    .button-next i::before,
    .button-prev i::before {
        font-size: 30px;
    }
    .form-group {
        padding-right: 10px;
    }
}

@media (max-width: 768px) {
    .slider-container .swiper {
        width: 60%;
    }
    .location-section .swiper-slide {
        width: 240px;
    }

    .location-section .swiper-slide-active {
        transform: scale(1.05);
    }

    .button-next i::before,
    .button-prev i::before {
        font-size: 20px;
    }
    .location-content {
        padding: 10px;
    }
    .location-name {
        font-size: 20px;
    }
    .location-address, .location-contact {
        font-size: 12px;
    }
}

.header-title {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.header-title img {
    max-width: 100%;
    width: 240px;
    height: auto;
    object-fit: contain;
    padding-bottom: 5px;
}

.featured-blog .card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.featured-blog .thumbnail {
    flex-shrink: 0;
    width: 100px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
}

.featured-blog .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-blog .content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.featured-blog .title {
    font-size: 16px;
    color: #000000;
    line-height: 1.5em;
    font-weight: bold;
    margin-bottom: 4px;
}

.featured-blog .description {
    font-size: 14px;
    color: #000000;
    line-height: 1.5em;
    text-align: left;
    margin-bottom: 0;
}

.featured-blog .learn-more-text {
    color: #3b7a53;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    transition: color 0.3s ease;
    box-shadow: none;
}

.featured-blog .learn-more-text:hover {
    color: #0b5c2a;
}

.featured-blog .learn-more-text::after {
    content: '›';
    font-size: 18px;
}

@media (max-width: 768px) {
    .featured-blog {
        display: none;
    }
    .card {
        flex-direction: column;
    }

    .featured-blog .thumbnail {
        width: 100%;
        height: 200px;
    }
    .header-title img {
        width: 170px;
    }
    .featured-blog .card {
        padding: 10px;
        gap: 15px;
    }
    .featured-blog .content {
        gap: 0px;
    }
    .featured-blog .title {
        font-size: 14px;
    }
    .featured-blog .description {
        font-size: 12px;
    }
    .featured-blog .learn-more-text {
        font-size: 12px;
    }
    .featured-blog .learn-more-text::after {
        font-size: 16px;
    }
}
@media (max-width: 600px) {
     .location-section .swiper-slide-active .location-image {
        height: 200px;
    }
}
.clients-say-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}