/* ========================================
   KPS LUCIDE ICON SYSTEM
   Usage: <i data-kps-icon="healthcare" class="kps-icon"></i>
          <i data-lucide="hospital"     class="kps-icon"></i>
   Size is controlled by font-size on the parent or the element itself.
   ======================================== */
.kps-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.kps-icon svg {
    width: 1em;
    height: 1em;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ========================================
   KPS Branding Overrides */
:root {
    --kps-blue: #1e40af;
    --kps-green: #16a34a;
    --theme-color: #1e40af;
    --theme-color-2: #16a34a;
    /* Override pink theme from main.css */
    --theme: #1e40af !important;
    --theme2: #1e40af !important;
}

.hero-2 .hero-image-items h3,
.hero-2 .hero-image-items .content h2,
.hero-2 .hero-image-items .content p,
.hero-2 .hero-image-items .content .link-btn,
.hero-2 .hero-image-items .video-text span,
.hero-2 .hero-image-items .video-text .video-btn {
  color: #fff !important;
}

.hero-2 .hero-image-items .video-text .video-btn {
  border-color: #fff !important;
}

.hero-2 .hero-image-items h3 {
  top: 30px;
  left: 30px;
  right: 30px;
  max-width: calc(100% - 60px);
  text-align: left;
}

.hero-2 .hero-image-items .content {
  left: 30px;
  right: 30px;
  bottom: 30px;
  text-align: left;
}

/* Sticky Header Definition - Fixed from top */
.header-section-2 {
    position: sticky !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#header-sticky.sticky {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #fff;
}

/* Remove Mouse Cursor */
.mouseCursor {
    display: none !important;
}

body {
    cursor: default !important;
}

a,
button {
    cursor: pointer !important;
}

/* Header & Navigation Overrides (No More Pink) */
.header-2 .main-menu ul li a:hover,
.header-2 .main-menu ul li a.active {
    color: var(--kps-blue) !important;
}

.header-2 .main-menu ul li .submenu li a:hover {
    color: var(--kps-green) !important;
}

/* Header Layout - Logo, Menu, and Button Alignment */
.header-2 .header-main {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 30px;
    padding: 15px 0;
}

.header-2 .header-left {
    flex-shrink: 0;
    min-width: auto;
}

.header-2 .header-middle {
    flex: 1;
    display: flex !important;
    justify-content: center !important;
}

.header-2 .header-right {
    flex-shrink: 0;
    gap: 15px !important;
}

/* Kill Pink Border in Submenu and Active Links */
.header-2 .main-menu ul li .submenu {
    border-top: 3px solid var(--kps-blue) !important;
}

.header-2 .main-menu ul li a:hover,
.header-2 .main-menu ul li a.active,
.header-2 .main-menu ul li a:focus {
    color: var(--kps-blue) !important;
}

/* Kill Pink meanmenu icons/borders */
.mean-container .mean-nav ul li a {
    color: #334155;
}

.mean-container .mean-nav ul li a.mean-expand:hover,
.mean-container .mean-nav ul li a:hover,
.mean-container .mean-nav ul li a.active {
    color: var(--kps-blue) !important;
}

.mean-container a.meanmenu-reveal span {
    background-color: var(--kps-blue) !important;
}

.mean-container .mean-nav ul li .submenu {
    border-top: none !important;
}

.mean-container .mean-nav ul li a.mean-expand {
    color: #334155 !important;
}

.mean-container .mean-nav ul li a.mean-expand:hover {
    color: var(--kps-blue) !important;
}

.kps-contact-btn {
    background-color: var(--kps-blue) !important;
    color: white !important;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    text-align: center;
}

.kps-contact-btn:hover {
    background-color: var(--kps-green) !important;
    color: white !important;
}

/* Buttons */
.gt-theme-btn-main .gt-theme-btn {
    background-color: var(--kps-blue) !important;
}

.gt-theme-btn-main .gt-theme-btn-arrow-left,
.gt-theme-btn-main .gt-theme-btn-arrow-right {
    background-color: var(--kps-green) !important;
}

.gt-theme-btn-main:hover .gt-theme-btn {
    background-color: var(--kps-green) !important;
}

.gt-theme-btn-main:hover .gt-theme-btn-arrow-left,
.gt-theme-btn-main:hover .gt-theme-btn-arrow-right {
    background-color: var(--kps-blue) !important;
}

/* Typography & Colors */
.text-anim {
    color: #0f172a !important;
}

.sub-title {
    color: var(--kps-green) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #0f172a !important;
}

/* Service Boxes & Elements (uploaded_media_0 style) */
.global-service-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.global-service-box {
    border: 1px solid #f1f5f9;
    background: #fff;
    padding: 35px 50px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none !important;
    margin-top: 0 !important; /* nullify template's stacking margin-top */
}

@media (max-width: 991px) {
    .global-service-box {
        padding: 28px 24px;
        flex-wrap: wrap;
        gap: 12px;
    }
    .global-service-box .text {
        max-width: 100%;
        margin-right: 0;
    }
    .global-service-box .global-content {
        gap: 20px;
    }
}

.global-service-box:hover {
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.06);
    border-color: var(--kps-blue);
}

.global-service-box .global-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
}

.global-service-box .number {
    font-size: 3rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1;
    transition: all 0.3s ease;
}

.global-service-box:hover .number {
    color: #e2e8f0;
}

.global-service-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.2;
    color: #0f172a;
}

.global-service-box h3 a {
    color: inherit;
    text-decoration: none;
}

.global-service-box .text {
    max-width: 480px;
    color: #64748b;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
    margin-right: 40px;
}

.global-service-box .icon {
    width: 54px;
    height: 54px;
    background-color: #fff !important;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #0f172a;
    transition: all 0.3s ease;
}

.global-service-box:hover .icon {
    background-color: #fff !important;
    color: var(--kps-blue);
    border-color: var(--kps-blue);
    transform: rotate(-10deg);
}

/* Kill any remaining theme pink sub-titles */
.sub-title {
    color: var(--kps-green) !important;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.service-card-item .icon {
    background-color: rgba(30, 64, 175, 0.1) !important;
}

.service-card-item:hover .icon {
    background-color: var(--kps-blue) !important;
}

.star i {
    color: var(--kps-blue) !important;
}

.testimonial-box-items .quote-icon {
    background-color: var(--kps-blue) !important;
}

.array-button button {
    background-color: var(--kps-blue) !important;
    color: white !important;
}

.array-button button:hover {
    background-color: var(--kps-green) !important;
}

.swiper-dot .dot,
.swiper-dot .dot2 {
    background-color: transparent !important;
}

/* Process Section */
.choose-us-wrap-item .left .number {
    color: var(--kps-blue) !important;
}

.choose-us-wrap-item .left .number-line-fill {
    background-color: var(--kps-green) !important;
}

/* Hero Section Badge */
.hero-section-2 .hero-content h6 {
    background: rgba(22, 163, 74, 0.1) !important;
    color: var(--kps-green) !important;
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Footer Overrides */
.footer-widget-items .social-icon a {
    background-color: var(--kps-blue) !important;
}

.footer-widget-items .social-icon a:hover {
    background-color: var(--kps-green) !important;
}

/* Industry Grid Styles (uploaded_media_1 style) */
.industries-section {
    background-color: #f8fafc;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

@media (max-width: 991px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .industry-grid {
        grid-template-columns: 1fr;
    }
}

.industry-card {
    background: #fff;
    padding: 50px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.06);
    border-color: #f1f5f9;
}

.industry-card .icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.industry-card i {
    font-size: 3.5rem;
    color: var(--kps-blue);
    margin-bottom: 0;
}

.industry-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0f172a;
}

.industry-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.industry-card .link-btn {
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.industry-card:hover .link-btn {
    color: var(--kps-blue);
}

.industry-card .link-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.industry-card:hover .link-btn i {
    transform: translate(3px, -3px);
}

/* ========================================
   AGGRESSIVE PINK REMOVAL - ALL ELEMENTS
   ======================================== */

/* Override all navigation link colors */
.main-menu ul li a,
.main-menu ul li a:hover,
.main-menu ul li a:focus,
.main-menu ul li a:active,
.main-menu ul li a.active {
    color: #334155 !important;
}

.main-menu ul li a:hover,
.main-menu ul li a.active {
    color: var(--kps-blue) !important;
}

/* Submenu overrides */
.main-menu ul li .submenu li a {
    color: #334155 !important;
}

.main-menu ul li .submenu li a:hover {
    color: var(--kps-green) !important;
    background-color: #f8fafc !important;
}

/* Remove pink from all button elements */
.gt-theme-btn-main .gt-theme-btn-arrow-left,
.gt-theme-btn-main .gt-theme-btn-arrow-right {
    background-color: var(--kps-green) !important;
}

.gt-theme-btn-main:hover .gt-theme-btn-arrow-left,
.gt-theme-btn-main:hover .gt-theme-btn-arrow-right {
    background-color: var(--kps-blue) !important;
}

/* Override link hover colors */
a:hover,
a:focus,
a:active {
    color: var(--kps-blue) !important;
}

.link-btn:hover {
    color: var(--kps-blue) !important;
}

/* Mobile menu overrides */
.mean-container .mean-nav ul li a {
    color: #334155 !important;
}

.mean-container .mean-nav ul li a:hover,
.mean-container .mean-nav ul li a:focus,
.mean-container .mean-nav ul li a.active {
    color: var(--kps-blue) !important;
}

/* Back to top button */
.back-to-top {
    background-color: var(--kps-blue) !important;
}

.back-to-top:hover {
    background-color: var(--kps-green) !important;
}

/* Cursor colors (if enabled) */
.cursor-outer,
.cursor-inner {
    border-color: var(--kps-blue) !important;
    background-color: var(--kps-blue) !important;
}

/* Theme button overrides */
.theme-btn {
    background-color: var(--kps-blue) !important;
}

.theme-btn:hover {
    background-color: var(--kps-green) !important;
}

/* Override any remaining pink backgrounds */
[style*="background-color: #EC4899"],
[style*="background-color: #ec4899"],
[style*="background: #EC4899"],
[style*="background: #ec4899"] {
    background-color: var(--kps-blue) !important;
}

/* Override any remaining pink text colors */
[style*="color: #EC4899"],
[style*="color: #ec4899"] {
    color: var(--kps-blue) !important;
}

/* Additional navigation specificity */
.header-2 .main-menu ul li a,
.header-section-2 .main-menu ul li a {
    color: #334155 !important;
}

.header-2 .main-menu ul li a:hover,
.header-section-2 .main-menu ul li a:hover,
.header-2 .main-menu ul li a.active,
.header-section-2 .main-menu ul li a.active {
    color: var(--kps-blue) !important;
}

/* Dropdown menu borders */
.header-2 .main-menu ul li .submenu,
.header-section-2 .main-menu ul li .submenu {
    border-top-color: var(--kps-blue) !important;
}

/* Service card hover states */
.service-card-item:hover {
    border-color: var(--kps-blue) !important;
}

.service-card-item:hover h3,
.service-card-item:hover h3 a {
    color: var(--kps-blue) !important;
}

/* ========================================
   RIPPLE/PULSE EFFECT COLOR OVERRIDE
   ======================================== */

/* Override the pink ripple effect on video buttons */
.ripple::before,
.ripple::after {
    background-color: var(--kps-blue) !important;
    border-color: var(--kps-blue) !important;
}

.video-btn.ripple::before,
.video-btn.ripple::after {
    background-color: var(--kps-blue) !important;
    border: 2px solid var(--kps-blue) !important;
}

/* Override any animation keyframes that use pink */
@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.7),
            0 0 0 10px rgba(30, 64, 175, 0.7),
            0 0 0 20px rgba(30, 64, 175, 0.7);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(30, 64, 175, 0.7),
            0 0 0 20px rgba(30, 64, 175, 0.7),
            0 0 0 30px rgba(30, 64, 175, 0);
    }
}

/* Additional ripple overrides for any element */
[class*="ripple"]::before,
[class*="ripple"]::after {
    background-color: var(--kps-blue) !important;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-newsletter-section {
    padding: 120px 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.cta-newsletter-section h2,
.cta-newsletter-section .text-anim,
.cta-newsletter-wrapper h2,
.cta-newsletter-wrapper.style-2 h2 {
    color: #ffffff !important;
}

.cta-newsletter-wrapper.style-2 {
    gap: 60px !important;
    align-items: center !important;
}

/* ========================================
   TESTIMONIAL SLIDER - reposition arrows
   ======================================== */
.testimonial-section-2 .testimonial-slider-2 {
    padding-bottom: 80px;
}

/* Move the swiper-dot (pagination) out of flow overlap */
.testimonial-section-2 .swiper-dot {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin-top: 0 !important;
}

/* Restyle + reposition prev/next arrows to flank the dots */
.testimonial-section-2 .swiper-button-prev,
.testimonial-section-2 .swiper-button-next {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(30, 64, 175, 0.08);
    top: auto;
    bottom: 18px;
    margin-top: 0;
}

.testimonial-section-2 .swiper-button-prev {
    left: calc(50% - 72px);
    right: auto;
}

.testimonial-section-2 .swiper-button-next {
    right: calc(50% - 72px);
    left: auto;
}

.testimonial-section-2 .swiper-button-prev::after,
.testimonial-section-2 .swiper-button-next::after {
    font-size: 13px;
    font-weight: 700;
    color: var(--kps-blue);
}

/* ========================================
   About Section — Mission Quote Card
   ======================================== */
.about-wrapper-2 .about-image-items .content {
    background-color: #ffffff !important;
    background-image: none !important;
    border-left: 4px solid var(--kps-blue);
    border-radius: 0 8px 8px 0;
    padding: 28px 28px 28px 28px;
    box-shadow: 0 4px 24px rgba(30, 64, 175, 0.07);
    position: relative;
}

.about-wrapper-2 .about-image-items .content::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 80px;
    line-height: 1;
    color: var(--kps-blue);
    opacity: 0.15;
    position: absolute;
    top: 10px;
    right: 20px;
    pointer-events: none;
}

.about-wrapper-2 .about-image-items .content h3 {
    color: var(--kps-blue) !important;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.about-wrapper-2 .about-image-items .content p {
    color: #374151 !important;
    font-size: 16px !important;
    font-style: italic;
    line-height: 1.75;
    margin: 0;
}

/* ========================================
   About Section — spacing & readability
   ======================================== */
.about-wrapper-2 .about-content > p {
    line-height: 1.85;
    color: #4b5563;
    margin-top: 20px;
}

.about-counter-area {
    margin-top: 40px;
    padding-top: 36px;
    border-top: 1px solid #e5e7eb;
}

.about-counter-items {
    padding-right: 24px;
}

.about-counter-items h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--kps-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.about-counter-items p {
    font-size: 15px;
    color: #6b7280;
    font-weight: 500;
    margin: 0;
}

.about-wrapper-2 .about-button {
    margin-top: 40px;
}