/* =============================================
   STARK PIXEL - HOME PAGE ENHANCED STYLES
   Pure CSS only - no new JS dependencies
   ============================================= */

/* ---- 1. HERO SLIDER OVERLAY ---- */
.rev_slider_wrapper { position: relative; }

.hero-text-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 20;
    pointer-events: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: linear-gradient(90deg, rgba(4,25,48,0.85) 0%, rgba(4,25,48,0.5) 55%, transparent 100%);
}
.hero-text-overlay .hero-content {
    padding: 0 65px;
    max-width: 640px;
    pointer-events: auto;
}
.hero-title {
    font-size: 40px !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-subtitle {
    font-size: 16px !important;
    color: rgba(255,255,255,0.88) !important;
    margin-bottom: 28px !important;
    line-height: 1.75 !important;
    text-align: left !important;
    font-weight: 300 !important;
}
.btn-hero {
    display: inline-block;
    padding: 13px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 8px;
}
.btn-hero-primary {
    background: #038ECD;
    color: #fff !important;
    margin-right: 10px;
    border: 2px solid #038ECD;
    -webkit-box-shadow: 0 4px 15px rgba(3,142,205,.45);
    box-shadow: 0 4px 15px rgba(3,142,205,.45);
}
.btn-hero-primary:hover {
    background: #025f8a;
    border-color: #025f8a;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    color: #fff !important;
}
.btn-hero-outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,.7);
}
.btn-hero-outline:hover {
    background: #fff;
    color: #038ECD !important;
    border-color: #fff;
}

/* ---- 2. STATS BAR ---- */
.sp-stats-bar {
    background: linear-gradient(135deg, #038ECD 0%, #025b85 100%);
    padding: 38px 0;
    position: relative;
    z-index: 5;
}
.sp-stat-col {
    text-align: center;
    padding: 8px 15px;
    border-right: 1px solid rgba(255,255,255,.22);
}
.sp-stat-col:last-child { border-right: none; }
.sp-stat-col .stat-icon {
    font-size: 28px;
    color: rgba(255,255,255,.85);
    margin-bottom: 6px;
    display: block;
}
.sp-stat-col .count-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 2px;
}
.sp-stat-col .count-text {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    font-family: Poppins, sans-serif;
}
.sp-stat-col .stat-plus {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.sp-stat-col .stat-label {
    font-size: 12px;
    color: rgba(255,255,255,.85);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 5px;
    display: block;
}

/* ---- 3. WHY US SECTION IMPROVED ---- */
.why-us {
    padding: 60px 0;
    background: #f7fafc;
}
.sp-section-heading {
    text-align: center;
    margin-bottom: 40px;
}
.sp-section-heading h2 {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}
.sp-section-heading h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: #038ECD;
    border-radius: 2px;
}
.sp-section-heading p { color: #666; font-size: 15px; margin: 0; }

.sp-service-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 18px;
    text-align: center;
    -webkit-box-shadow: 0 2px 18px rgba(0,0,0,.06);
    box-shadow: 0 2px 18px rgba(0,0,0,.06);
    -webkit-transition: all .35s ease;
    transition: all .35s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: 25px;
    display: block;
    color: #222 !important;
}
.sp-service-card:hover {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
    -webkit-box-shadow: 0 14px 32px rgba(3,142,205,.2);
    box-shadow: 0 14px 32px rgba(3,142,205,.2);
    border-bottom-color: #038ECD;
    color: #222 !important;
}
.sp-service-card img {
    width: 80px;
    height: 80px;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 14px;
    border: 3px solid #e4f2fb;
    -webkit-transition: border-color .3s;
    transition: border-color .3s;
    display: block;
}
.sp-service-card:hover img { border-color: #038ECD; }
.sp-service-card h5 {
    color: #222;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
    margin: 0;
}

/* ---- 4. ABOUT / SERVICE SECTION ---- */
.service { background: #fff; padding: 60px 0; }
.service .section-title h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 14px;
    position: relative;
}
.service .section-title h1::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 48px; height: 3px;
    background: #038ECD;
    border-radius: 2px;
}
.service p { color: #555; line-height: 1.85; font-size: 15px; }

/* ---- 5. OUR SERVICES CARDS IMPROVED ---- */
.our-services.style-2 { padding: 60px 0; background: #f7fafc; }
.our-services.style-2 .section-title { margin-bottom: 35px; }
.our-services.style-2 .section-title h2 {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a2e;
    padding-bottom: 14px;
    position: relative;
}
.our-services.style-2 .section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 48px; height: 3px;
    background: #038ECD;
    border-radius: 2px;
}
.single-our-service {
    background: #fff;
    border-radius: 10px;
    -webkit-box-shadow: 0 2px 18px rgba(0,0,0,.06);
    box-shadow: 0 2px 18px rgba(0,0,0,.06);
    margin-bottom: 28px;
    overflow: hidden;
    -webkit-transition: all .35s ease;
    transition: all .35s ease;
    border: 1px solid #eef0f2;
}
.single-our-service:hover {
    -webkit-transform: translateY(-7px);
    transform: translateY(-7px);
    -webkit-box-shadow: 0 14px 35px rgba(3,142,205,.18);
    box-shadow: 0 14px 35px rgba(3,142,205,.18);
    border-color: rgba(3,142,205,.3);
}
.single-our-service .img-box { overflow: hidden; }
.single-our-service .img-box img {
    width: 100%;
    -webkit-transition: -webkit-transform .5s ease;
    transition: transform .5s ease;
}
.single-our-service:hover .img-box img {
    -webkit-transform: scale(1.07);
    transform: scale(1.07);
}
.single-our-service .text-box { padding: 22px; }
.single-our-service .text-box h2.h1add {
    font-size: 17px;
    color: #1a1a2e;
    margin-bottom: 8px;
    font-weight: 600;
    -webkit-transition: color .3s;
    transition: color .3s;
}
.single-our-service:hover .text-box h2.h1add { color: #038ECD; }
.single-our-service .text-box p { font-size: 14px; line-height: 1.65; color: #666; }
.read-more-link {
    display: inline-block;
    color: #038ECD !important;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.read-more-link::after { content: ' \2192'; }

/* ---- 6. WHY CHOOSE US ---- */
.why-choose-us { padding: 70px 0; background: #fff; }
.why-choose-us .section-title h2 {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    padding-bottom: 14px;
    position: relative;
}
.why-choose-us .section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 48px; height: 3px;
    background: #038ECD;
    border-radius: 2px;
}
.why-choose-us .section-title p.subtext { color: #666; margin-bottom: 28px; font-size: 15px; }

.why-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: flex-start;
    -ms-flex-align: flex-start;
    align-items: flex-start;
    margin-bottom: 18px;
    background: #f7fafc;
    padding: 18px 20px;
    border-radius: 8px;
    border-left: 4px solid transparent;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
.why-item:hover {
    border-left-color: #038ECD;
    background: #edf5fb;
    -webkit-transform: translateX(5px);
    transform: translateX(5px);
}
.why-icon-circle {
    width: 46px; height: 46px;
    min-width: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #038ECD, #025b85);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-right: 16px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
.why-icon-circle i { color: #fff; font-size: 19px; }
.why-item-text h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
}
.why-item-text p {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    text-align: left;
    margin: 0;
}
.wcu-img-wrap { padding-left: 20px; }
.wcu-img-wrap img {
    border-radius: 10px;
    -webkit-box-shadow: 0 10px 40px rgba(0,0,0,.1);
    box-shadow: 0 10px 40px rgba(0,0,0,.1);
    width: 100%;
}

/* ---- 7. CTA BANNER ---- */
.sp-cta-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #025b85 55%, #038ECD 100%);
    padding: 75px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.sp-cta-banner::before {
    content: '';
    position: absolute;
    top: -60px; left: -60px;
    width: 250px; height: 250px;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
}
.sp-cta-banner::after {
    content: '';
    position: absolute;
    bottom: -50px; right: -40px;
    width: 220px; height: 220px;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
}
.sp-cta-banner h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    position: relative; z-index: 2;
}
.sp-cta-banner p {
    font-size: 16px;
    color: rgba(255,255,255,.85);
    margin-bottom: 35px;
    max-width: 520px;
    margin-left: auto; margin-right: auto;
    text-align: center;
    position: relative; z-index: 2;
}
.btn-cta-primary {
    display: inline-block;
    background: #fff;
    color: #038ECD !important;
    padding: 15px 38px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    -webkit-box-shadow: 0 4px 20px rgba(0,0,0,.25);
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
    margin-right: 12px;
    margin-bottom: 10px;
    position: relative; z-index: 2;
}
.btn-cta-primary:hover {
    background: #038ECD;
    color: #fff !important;
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 8px 25px rgba(0,0,0,.3);
    box-shadow: 0 8px 25px rgba(0,0,0,.3);
}
.btn-cta-border {
    display: inline-block;
    background: transparent;
    color: #fff !important;
    padding: 13px 36px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid rgba(255,255,255,.65);
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    margin-bottom: 10px;
    position: relative; z-index: 2;
}
.btn-cta-border:hover {
    background: #fff;
    color: #038ECD !important;
    border-color: #fff;
}

/* ---- 8. TESTIMONIALS SECTION IMPROVED ---- */
.testimonials-section {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 100%);
    padding: 70px 0;
}
.testimonials-section .section-title.center h2 {
    color: #fff;
    font-size: 30px;
    position: relative;
    padding-bottom: 14px;
    display: inline-block;
}
.testimonials-section .section-title.center h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 48px; height: 3px;
    background: #038ECD;
    border-radius: 2px;
}
.slide-item {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    padding: 28px;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
.slide-item:hover {
    background: rgba(3,142,205,.18);
    border-color: rgba(3,142,205,.4);
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
}
.slide-item .author h4 { color: #fff; font-weight: 600; font-size: 16px; }
.slide-item .author a p { color: #038ECD; font-size: 13px; }
.slide-item .slide-text p.white {
    color: rgba(255,255,255,.85) !important;
    font-style: italic;
    font-size: 15px;
    line-height: 1.75;
}

/* ---- RESPONSIVE ---- */

/* Slider: remove any extra gap below */
.rev_slider_wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    display: block;
    line-height: 0;
    font-size: 0;
}
/* RS internal forced-fullwidth wrapper fix */
.forcefullwidth_wrapper_tp_banner,
.tp-simpleresponsive,
.rev_slider_wrapper .tp-fullwidth-forcer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

@media (max-width: 991px) {
    .rev_slider_wrapper { min-height: 0; }
    .hero-title { font-size: 26px !important; }
    .hero-text-overlay .hero-content { padding: 0 35px; max-width: 520px; }
    .sp-stat-col { padding: 10px 8px; }
    .sp-stat-col .count-text { font-size: 30px; }
    .sp-stat-col .stat-plus { font-size: 20px; }
    .wcu-img-wrap { padding-left: 0; }
}
@media (max-width: 768px) {
    .rev_slider_wrapper { min-height: 220px; }
    .hero-text-overlay .hero-content { padding: 15px 20px; max-width: 100%; }
    .hero-title { font-size: 20px !important; line-height: 1.3 !important; }
    .hero-subtitle { font-size: 13px !important; margin-bottom: 16px !important; }
    .btn-hero { padding: 9px 16px; font-size: 12px; margin-right: 6px; }
    /* Stats: 2x2 grid on tablet */
    .sp-stat-col {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.15);
        padding: 14px 10px;
    }
    .sp-stat-col:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.15); }
    .sp-stat-col:last-child { border-bottom: none; }
    .sp-stat-col .count-text { font-size: 28px; }
    .sp-stats-bar { padding: 20px 0; }
    .sp-cta-banner h2 { font-size: 22px; }
    .sp-cta-banner p { font-size: 13px; }
    .wcu-img-wrap { margin-top: 25px; }
    .btn-cta-primary { margin-right: 0; margin-bottom: 12px; display: inline-block; }
    /* What We Offer: compact cards on tablet */
    .sp-service-card { padding: 18px 12px; margin-bottom: 18px; }
    .sp-service-card img { width: 60px; height: 60px; margin-bottom: 10px; }
    .sp-service-card h5 { font-size: 12px; }
    /* Why choose us items on mobile */
    .why-item { padding: 14px 15px; }
    .why-icon-circle { width: 40px; height: 40px; min-width: 40px; margin-right: 12px; }
    .why-icon-circle i { font-size: 16px; }
    .why-item-text h4 { font-size: 14px; }
}

/* What We Offer: horizontal card layout on small mobile */
@media (max-width: 480px) {
    .why-us { padding: 40px 0; }
    .sp-section-heading { margin-bottom: 24px; }
    .sp-section-heading h2 { font-size: 22px; }

    /* Make cards horizontal (image left, text right) */
    .sp-offer-row { margin-left: -8px; margin-right: -8px; }
    .sp-offer-col { padding-left: 8px; padding-right: 8px; width: 100% !important; float: none !important; }
    .sp-service-card {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -webkit-box-orient: horizontal !important;
        -webkit-box-direction: normal !important;
        -ms-flex-direction: row !important;
        flex-direction: row !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
        text-align: left !important;
        padding: 14px 16px !important;
        margin-bottom: 12px !important;
        border-radius: 8px !important;
    }
    .sp-service-card img {
        width: 54px !important;
        height: 54px !important;
        margin: 0 14px 0 0 !important;
        -ms-flex-negative: 0 !important;
        flex-shrink: 0 !important;
    }
    .sp-service-card h5 {
        font-size: 13px !important;
        text-align: left !important;
        margin: 0 !important;
        line-height: 1.4 !important;
    }
}

@media (max-width: 480px) {
    .rev_slider_wrapper { min-height: 180px; }
    .hero-text-overlay {
        background: linear-gradient(180deg, rgba(4,25,48,.75) 0%, rgba(4,25,48,.55) 100%);
    }
    .hero-title { font-size: 17px !important; }
    .hero-subtitle { display: none; }
    .btn-hero-outline { display: none; }
    .btn-hero-primary { padding: 9px 18px; font-size: 12px; }
    /* Stats: single column */
    .sp-stat-col { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.15); padding: 10px 0; }
    .sp-stat-col:last-child { border-bottom: none; }
    .sp-stat-col .count-text { font-size: 26px; }
    .sp-stat-col .stat-plus { font-size: 18px; }
    .sp-cta-banner { padding: 45px 0; }
    .sp-cta-banner h2 { font-size: 20px; }
    .btn-cta-primary, .btn-cta-border { display: block; max-width: 220px; margin: 0 auto 10px; }
    /* Why choose us: stack icon above text */
    .why-item { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; }
    .why-icon-circle { margin-bottom: 10px; margin-right: 0; }
}
