/* =====================================
   BANNER SLIDER STYLES - ISOLATED
===================================== */

.banner-hero-slider {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 330px;
    height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: transparent;
    background-repeat: no-repeat;
    background-image: url(../images/hero/slider-processing-slide-01-bg.webp);
    background-size: cover;
    background-position: 50% 50%;
    min-height: 350px;
    display: flex;
    align-items: center;
}

.banner-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.banner-content {
    text-align: center;
    max-width: 900px;
    width: 100%;
    padding: 20px;
}

.banner-subtitle {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: white;
    line-height: 1.2;
}

.banner-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: white;
}

.banner-highlight {
    color: #ff8e43 !important;
}

.banner-description {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.banner-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

/* Buttons - Isolated styles */
.banner-hero-slider .btn {
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    text-align: center;
    font-size: 14px;
    border: 2px solid;
}

.banner-hero-slider .btn-primary {
    background-color: #F8821D;
    color: white;
    border-color: #F8821D;
}

.banner-hero-slider .btn-primary:hover {
    background-color: transparent;
    color: #F8821D;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(248, 130, 29, 0.2);
}

.banner-hero-slider .btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
}

.banner-hero-slider .btn-secondary:hover {
    background-color: white;
    color: #333;
    border-color: white;
    transform: translateY(-2px);
}

.banner-hero-slider .btn-icon {
    margin-right: 5px;
}

.banner-hero-slider .btn-icon i {
    font-size: 14px;
}

/* Navigation Arrows */
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.banner-nav:hover {
    background: #F8821D;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.banner-prev {
    left: 15px;
}

.banner-next {
    right: 15px;
}

/* Banner Indicators - Isolated */
.banner-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot.active {
    background-color: #F8821D;
    width: 25px;
    border-radius: 5px;
}

/* =====================================
   RESPONSIVE STYLES
===================================== */

@media (max-width: 991px) {
    .banner-hero-slider {
        min-height: 300px;
        height: 300px;
    }

    .banner-title {
        font-size: 24px;
    }

    .banner-description {
        font-size: 14px;
        max-width: 90%;
    }

    .banner-hero-slider .btn {
        min-width: 130px;
        font-size: 13px;
        padding: 7px 18px;
    }
}

@media (max-width: 767px) {
    .banner-hero-slider {
        min-height: 360px;
        height: 360px;
    }

    .banner-title {
        font-size: 22px;
        padding: 0 10px;
    }

    .banner-description {
        font-size: 13px;
        padding: 0 15px;
    }

    .banner-buttons {
        flex-direction: column;
        gap: 8px;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .banner-hero-slider .btn {
        width: 100%;
        min-width: auto;
    }

    .banner-nav {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .banner-prev {
        left: 10px;
    }

    .banner-next {
        right: 10px;
    }

    .banner-indicators {
        bottom: 12px;
    }
}

@media (max-width: 480px) {
    .banner-hero-slider {
        min-height: 400px;
        height: 400px;
    }

    .banner-title {
        font-size: 20px;
    }

    .banner-description {
        font-size: 12px;
    }

    .banner-subtitle {
        font-size: 12px;
    }

    .banner-nav {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }

    .banner-dot {
        width: 8px;
        height: 8px;
    }

    .banner-dot.active {
        width: 20px;
    }
}

/* =====================================
   ABOUT FEATURES SECTION
===================================== */

.about-features-section {
    background-color: #fff;
}

.about-features-content {
    padding-right: 30px;
}

/* Section Title Styles */
.about-features-section .section-sub-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.about-features-section .heading {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.3;
}

/* Feature Cards */
.feature-cards-wrapper {
    margin-top: 20px;
}

.feature-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
    border-left: 4px solid #F8821D;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Feature Card Header with 3D Effect */
.feature-card-header {
    padding: 5px 8px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #F8821D;
    position: relative;
    border-radius: 8px 8px 0 0;
    box-shadow:
        inset 0 -3px 0 rgba(210, 100, 20, 0.4),
        inset 0 3px 0 rgba(255, 255, 255, 0.5),
        inset 3px 0 0 rgba(255, 255, 255, 0.4),
        inset -3px 0 0 rgba(210, 100, 20, 0.3),
        0 4px 8px rgba(248, 130, 29, 0.2);
    background-image:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.2) 0%,
            transparent 25%,
            rgba(255, 180, 100, 0.2) 100%),
        linear-gradient(to bottom, #F8821D, #ff9933);
    border-bottom: 2px solid #e67417;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-card-header {
    transform: translateY(-2px);
    box-shadow:
        inset 0 -4px 0 rgba(210, 100, 20, 0.4),
        inset 0 4px 0 rgba(255, 255, 255, 0.6),
        inset 4px 0 0 rgba(255, 255, 255, 0.4),
        inset -4px 0 0 rgba(210, 100, 20, 0.3),
        0 6px 12px rgba(248, 130, 29, 0.3);
    background-image:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.25) 0%,
            transparent 25%,
            rgba(255, 200, 120, 0.25) 100%),
        linear-gradient(to bottom, #ff9933, #F8821D);
}

.feature-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 0 !important;
    color: #F8821D;
    box-shadow:
        inset 0 -2px 0 rgba(210, 100, 20, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        0 2px 4px rgba(248, 130, 29, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    flex: 1;
    color: white;
    text-shadow: 1px 1px 2px rgba(210, 100, 20, 0.5);
    letter-spacing: 0.5px;
}

/* Feature Card Body */
.feature-card-body {
    padding: 25px;
    background: #f8f9fa;
}

.feature-card-body p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

/* About Image Styles */
.about-features-section .about-single-image-wrap {
    width: 100%;
    height: 100%;
    min-height: 520px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    background: #f5f5f5;
}

.about-features-section .about-single-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-features-section .about-single-image-wrap:hover img {
    transform: scale(1.04);
}

/* =====================================
   SERVICES SLIDER STYLES - 300px HEIGHT
===================================== */

.services-slider-area {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

/* Section Title */
.section-title-wrap {
    margin-bottom: 60px;
}

.section-sub-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #ababab;
}

.heading {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.3;
    color: #222;
}

.text-color-primary {
    color: #F8821D;
}

/* Slider Container */
.services-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.services-slider-container {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.services-slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Service Slide - HEIGHT CONTROLLED HERE */
.service-slide {
    flex: 0 0 50%;
    min-width: 50%;
    padding: 15px;
    box-sizing: border-box;
}

.service-slide-inner {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Set overall height to 300px */
    height: 300px;
}

.service-slide-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(248, 130, 29, 0.15);
}

/* Image Section - HEIGHT CONTROLLED */
.service-image-section {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    /* Image section takes full 300px height */
    height: 100%;
}

.service-image-section img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.6s ease;
}

.service-slide-inner:hover .service-image-section img {
    transform: scale(1.05);
}

.service-number-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: #F8821D;
    color: white;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Content Section - HEIGHT CONTROLLED */
.service-content-section {
    flex: 0 0 55%;
    padding: 25px 30px;
    /* Reduced padding for 300px height */
    display: flex;
    align-items: center;
    height: 100%;
}

.service-content-wrapper {
    width: 100%;
}

.service-title {
    font-size: 20px;
    /* Reduced from 22px */
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
    /* Reduced from 15px */
    line-height: 1.3;
}

.service-description {
    font-size: 14px;
    /* Reduced from 15px */
    line-height: 1.5;
    /* Reduced from 1.6 */
    color: #555;
    margin-bottom: 18px;
    /* Reduced from 25px */
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #F8821D;
    padding: 8px 22px;
    /* Reduced padding */
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    /* Reduced from 14px */
    border: 2px solid #F8821D;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: #F8821D;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(248, 130, 29, 0.2);
}

.read-more-btn i {
    font-size: 11px;
    /* Reduced from 12px */
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(3px);
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.slider-nav {
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.slider-nav:hover {
    background: #F8821D;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(248, 130, 29, 0.3);
}

/* Slide Indicators */
.slide-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #F8821D;
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(248, 130, 29, 0.3);
}

/* Bottom CTA */
.section-under-heading {
    font-size: 18px;
    color: #555;
    font-weight: 500;
}

.cta-link {
    color: #F8821D;
    font-weight: 600;
    text-decoration: none;
    margin-left: 8px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.cta-link:hover {
    border-bottom-color: #F8821D;
}

/* =====================================
   RESPONSIVE STYLES
===================================== */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .services-slider-wrapper {
        padding: 0 50px;
    }

    .service-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .service-slide-inner {
        height: 280px;
        /* Slightly shorter on tablet */
    }

    .service-title {
        font-size: 19px;
    }

    .service-content-section {
        padding: 22px 25px;
    }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    .services-slider-wrapper {
        padding: 0 20px;
    }

    .service-slide-inner {
        flex-direction: column;
        height: auto;
        /* Auto height on mobile */
        min-height: 400px;
        /* Minimum height for mobile */
    }

    .service-image-section {
        flex: 0 0 180px;
        /* Reduced from 250px */
        width: 100%;
        height: 180px;
        /* Fixed height for mobile */
    }

    .service-content-section {
        flex: 1;
        padding: 20px 18px;
        height: auto;
    }

    .heading {
        font-size: 28px;
    }

    .slider-controls {
        margin-top: 30px;
    }

    .slider-nav {
        width: 44px;
        height: 44px;
    }

    .service-title {
        font-size: 18px;
    }

    .service-description {
        font-size: 13.5px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .services-slider-wrapper {
        padding: 0 15px;
    }

    .service-slide-inner {
        min-height: 380px;
    }

    .service-image-section {
        flex: 0 0 220px;
        height: 160px;
    }

    .service-content-section {
        padding: 18px 15px;
    }

    .service-title {
        font-size: 17px;
    }

    .service-description {
        font-size: 13px;
        line-height: 1.4;
    }

    .read-more-btn {
        padding: 7px 18px;
        font-size: 12.5px;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
    }

    .slide-indicators {
        gap: 8px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* Large Desktop (min-width: 1200px) */
@media (min-width: 1200px) {
    .services-slider-wrapper {
        max-width: 1300px;
    }

    .service-slide-inner {
        height: 280px;
    }

    .service-content-section {
        padding: 28px 32px;
    }

    .service-title {
        font-size: 21px;
    }

    .service-description {
        font-size: 14.5px;
    }
}

/* Landscape Tablet */
@media (min-width: 768px) and (max-width: 991px) and (orientation: landscape) {
    .service-slide-inner {
        height: 260px;
        /* Shorter for landscape tablets */
    }

    .service-content-section {
        padding: 20px 22px;
    }

    .service-description {
        font-size: 13.5px;
    }
}

/* =====================================
   TESTIMONIAL CARD DESIGN
===================================== */

.testimonial-card {
    background: white;
    border-radius: 18px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #F8821D;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(248, 130, 29, 0.12);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.testimonial-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #F8821D, #ff9933);
    color: white;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(248, 130, 29, 0.25);
    flex-shrink: 0;
}

.testimonial-rating {
    flex-grow: 1;
}

.testimonial-rating .fa-star {
    color: #FFC107;
    font-size: 14px;
    margin-right: 2px;
}

.testimonial-title {
    font-size: 16px;
    font-weight: 600;
    margin: 4px 0 0;
    color: #222;
}

.testimonial-title span {
    font-weight: 400;
    color: #777;
    display: block;
    font-size: 14px;
    margin-top: 3px;
}

.testimonial-text {
    position: relative;
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    padding: 0 30px 10px;
    text-align: center;
    font-style: italic;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Opening quote - positioned absolutely */
.testimonial-text::before {
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 32px;
    color: #FDD9BB;
    line-height: 1;
    z-index: 1;
    opacity: 0.8;
}

/* Closing quote - positioned absolutely */
.testimonial-text::after {
    content: "\f10e";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 32px;
    color: #FDD9BB;
    line-height: 1;
    z-index: 1;
    opacity: 0.8;
}

/* Quote container to ensure text doesn't overlap quotes */
.quote-container {
    position: relative;
    z-index: 2;
    padding: 0 25px;
}

/* Add subtle pattern in background */
.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(248, 130, 29, 0.03) 0%, transparent 100%);
    border-radius: 0 0 0 100px;
    pointer-events: none;
}

/* =====================================
   RESPONSIVE STYLES
===================================== */

@media (max-width: 767px) {
    .testimonial-card {
        padding: 28px 24px;
        margin: 0 10px;
    }

    .testimonial-header {
        gap: 15px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .testimonial-number {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .testimonial-text {
        padding: 0 25px 5px;
        font-size: 14px;
        line-height: 1.6;
        min-height: 100px;
    }

    .testimonial-text::before,
    .testimonial-text::after {
        font-size: 28px;
    }

    .testimonial-title {
        font-size: 15px;
    }

    .testimonial-title span {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 24px 20px;
    }

    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .testimonial-number {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .testimonial-text {
        padding: 0 20px 5px;
        font-size: 13.5px;
        line-height: 1.5;
    }

    .testimonial-text::before,
    .testimonial-text::after {
        font-size: 24px;
    }

    .quote-container {
        padding: 0 15px;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .testimonial-card {
        padding: 32px;
    }

    .testimonial-text {
        font-size: 14.5px;
    }
}

/* =====================================
   RESPONSIVE STYLES
===================================== */

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .about-features-section .heading {
        font-size: 28px;
        line-height: 1.3;
    }

    .feature-card {
        margin-bottom: 15px;
    }

    .feature-title {
        font-size: 17px;
    }

    .feature-card-body p {
        font-size: 14px;
        line-height: 1.5;
    }

    .about-features-section .about-single-image-wrap {
        min-height: 360px;
        margin-top: 30px;
    }
}

/* Medium Devices (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .feature-cards-wrapper {
        margin-top: 15px;
    }

    .feature-card-body {
        padding: 20px;
    }
}

/* Mobile (max-width: 991px) */
@media only screen and (max-width: 991px) {
    .about-features-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .feature-card {
        margin-bottom: 15px;
    }

    .feature-card-header {
        padding: 3px 2px;
    }

    .feature-card-body {
        padding: 20px;
    }
}

/* Mobile (max-width: 767px) */
@media only screen and (max-width: 767px) {
    .about-features-section .heading {
        font-size: 28px;
    }

    .feature-title {
        font-size: 16px;
    }

    .feature-card-body p {
        font-size: 14px;
    }
}

/* Mobile (max-width: 575px) */
@media only screen and (max-width: 575px) {
    .about-features-section .about-single-image-wrap {
        min-height: 280px;
        border-radius: 10px;
    }
}

/* Small Mobile (max-width: 480px) */
@media only screen and (max-width: 480px) {
    .image-row {
        flex-direction: column;
    }
}