/* ====================================== Services Carousel Responsive Styles ====================================== */

/* Read More Button Styling */
.service-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FF6B35;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    margin-top: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.service-read-more .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-read-more:hover {
    color: #19b3b6;
    gap: 12px;
}

.service-read-more:hover .arrow {
    transform: translateX(5px);
}

/* Base Carousel Styles */
.lector-services {
    padding: 80px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.lector-services .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.lector-services-slider {
    overflow: hidden;
    padding: 0 0 50px;
}

.lector-services .post-item {
    height: 100%;
    margin-bottom: 0;
}

.lector-services .post-item-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
}

.lector-services .post-item-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.15);
    border-color: #FF6B35;
}

.lector-services .post-thumb {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF6B35 0%, #19b3b6 100%);
    position: relative;
    overflow: hidden;
}

.lector-services .service-icon {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lector-services .post-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lector-services .post-content h5 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.3;
}

.lector-services .post-content p {
    font-size: 15px;
    line-height: 24px;
    color: #666;
    margin-bottom: auto;
    flex: 1;
}

/* Pagination Dots */
.services-pagination {
    text-align: center;
    margin-top: 30px;
}

.services-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    opacity: 1;
    margin: 0 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.services-pagination .swiper-pagination-bullet-active {
    background: #FF6B35;
    transform: scale(1.3);
}

/* ====================================== Responsive Breakpoints ====================================== */

/* Large Desktop (1920px and above) */
@media (min-width: 1920px) {
    .lector-services .container {
        max-width: 1400px;
    }

    .lector-services .post-content h5 {
        font-size: 22px;
    }

    .lector-services .post-content p {
        font-size: 16px;
        line-height: 26px;
    }

    .lector-services .post-thumb {
        height: 200px;
    }
}

/* Standard Desktop (1440px - 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .lector-services .container {
        max-width: 1280px;
    }

    .lector-services .post-content {
        padding: 24px;
    }
}

/* Desktop (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
    .lector-services .container {
        max-width: 1140px;
    }

    .lector-services .post-content h5 {
        font-size: 19px;
    }

    .lector-services .post-content p {
        font-size: 14px;
        line-height: 22px;
    }
}

/* Laptop (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .lector-services {
        padding: 70px 0;
    }

    .lector-services .container {
        max-width: 960px;
    }

    .lector-services .post-thumb {
        height: 160px;
    }

    .lector-services .post-content {
        padding: 22px;
    }

    .lector-services .post-content h5 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .lector-services .post-content p {
        font-size: 14px;
        line-height: 22px;
    }

    .service-read-more {
        font-size: 13px;
        margin-top: 12px;
    }
}

/* Small Laptop (900px - 1023px) */
@media (min-width: 900px) and (max-width: 1023px) {
    .lector-services {
        padding: 60px 0;
    }

    .lector-services .post-thumb {
        height: 150px;
    }

    .lector-services .post-content {
        padding: 20px;
    }

    .lector-services .post-content h5 {
        font-size: 17px;
    }

    .lector-services .post-content p {
        font-size: 13px;
        line-height: 21px;
    }
}

/* Tablet Landscape (768px - 899px) */
@media (min-width: 768px) and (max-width: 899px) {
    .lector-services {
        padding: 60px 0;
    }

    .lector-services .container {
        padding: 0 20px;
    }

    .lector-services .post-thumb {
        height: 140px;
    }

    .lector-services .post-content {
        padding: 20px;
    }

    .lector-services .post-content h5 {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .lector-services .post-content p {
        font-size: 13px;
        line-height: 20px;
    }

    .service-read-more {
        font-size: 13px;
        margin-top: 10px;
    }

    .section-header .sec-text {
        font-size: 32px !important;
    }

    .section-header .sec-sub-text {
        font-size: 15px !important;
    }
}

/* Tablet Portrait (600px - 767px) */
@media (min-width: 600px) and (max-width: 767px) {
    .lector-services {
        padding: 50px 0;
    }

    .lector-services .container {
        padding: 0 20px;
    }

    .lector-services-slider {
        padding: 20px 0 50px;
    }

    .lector-services .post-thumb {
        height: 130px;
    }

    .lector-services .post-content {
        padding: 18px;
    }

    .lector-services .post-content h5 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .lector-services .post-content p {
        font-size: 13px;
        line-height: 20px;
    }

    .section-header .cap-text {
        font-size: 13px !important;
    }

    .section-header .sec-text {
        font-size: 28px !important;
        line-height: 36px !important;
    }

    .section-header .sec-sub-text {
        font-size: 14px !important;
        line-height: 22px !important;
    }
}

/* Mobile Landscape (480px - 599px) */
@media (min-width: 480px) and (max-width: 599px) {
    .lector-services {
        padding: 50px 0;
    }

    .lector-services .container {
        padding: 0 16px;
    }

    .lector-services-slider {
        padding: 20px 0 40px;
    }

    .lector-services .post-thumb {
        height: 120px;
    }

    .lector-services .post-content {
        padding: 16px;
    }

    .lector-services .post-content h5 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .lector-services .post-content p {
        font-size: 13px;
        line-height: 20px;
    }

    .service-read-more {
        font-size: 12px;
        margin-top: 10px;
    }

    .section-header .cap-text {
        font-size: 12px !important;
    }

    .section-header .sec-text {
        font-size: 24px !important;
        line-height: 32px !important;
    }

    .section-header .sec-sub-text {
        font-size: 13px !important;
        line-height: 21px !important;
    }
}

/* Mobile Portrait (320px - 479px) */
@media (max-width: 479px) {
    .lector-services {
        padding: 40px 0;
    }

    .lector-services .container {
        padding: 0 16px;
    }

    .lector-services-slider {
        padding: 15px 0 35px;
    }

    .lector-services .post-thumb {
        height: 110px;
    }

    .lector-services .post-content {
        padding: 16px;
    }

    .lector-services .post-content h5 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .lector-services .post-content p {
        font-size: 12px;
        line-height: 19px;
    }

    .service-read-more {
        font-size: 12px;
        margin-top: 8px;
    }

    .section-header .cap-text {
        font-size: 11px !important;
        margin-bottom: 15px !important;
    }

    .section-header .sec-text {
        font-size: 22px !important;
        line-height: 30px !important;
        margin-bottom: 20px !important;
    }

    .section-header .sec-sub-text {
        font-size: 13px !important;
        line-height: 20px !important;
    }

    .services-pagination {
        margin-top: 20px;
    }

    .services-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}

/* Extra Small Mobile (below 320px) */
@media (max-width: 319px) {
    .lector-services .post-content h5 {
        font-size: 14px;
    }

    .lector-services .post-content p {
        font-size: 11px;
        line-height: 18px;
    }

    .section-header .sec-text {
        font-size: 20px !important;
        line-height: 28px !important;
    }
}

/* Ensure smooth transitions */
.lector-services * {
    box-sizing: border-box;
}

/* Prevent horizontal scroll */
.lector-services {
    overflow-x: hidden;
    width: 100%;
}

.lector-services .container {
    overflow-x: hidden;
}