/* ==========================================================================
   KAIRO PEEPS - VISITOR UI THEME & STYLESHEET
   Exact Pixel-Perfect Implementation matching Brand Guidelines
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700;1,800&display=swap');

:root {
    --kp-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Backgrounds */
    --kp-bg-cream: #fbf9f4;
    --kp-bg-dark: #000000;
    --kp-bg-darker: #000000;
    --kp-bg-card-dark: #121417;
    
    /* Brand Accent Colors */
    --kp-coral: #ba4332;
    --kp-coral-hover: #a33829;
    --kp-teal: #2f6963;
    --kp-lime: #9bad33;
    --kp-tan: #c9935e;
    
    /* Service Card Pastel Backgrounds */
    --kp-card-coral: #f19d94;
    --kp-card-lime: #cad871;
    --kp-card-tan: #e6be95;
    --kp-card-teal: #6fab9f;
    --kp-card-pink: #f19d94;
    --kp-card-mint: #a4d4ca;
    
    /* Bento Colors */
    --kp-bento-red: #ba4332;
    --kp-bento-dark: #1c2024;
    --kp-bento-tan: #c9935e;
    --kp-bento-lime: #9bad33;
    
    /* Text Colors */
    --kp-text-dark: #111111;
    --kp-text-muted: #555c66;
    --kp-text-light: #ffffff;
    
    /* Radii */
    --kp-radius-sm: 8px;
    --kp-radius-md: 14px;
    --kp-radius-lg: 18px;
    --kp-radius-pill: 9999px;
    
    --kp-transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Base Setup */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--kp-font);
    background-color: var(--kp-bg-cream);
    color: var(--kp-text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--kp-transition);
}

a:hover {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--kp-font);
    font-weight: 800;
    color: var(--kp-text-dark);
    line-height: 1.12;
    margin: 0 0 14px;
    letter-spacing: -0.03em;
}

/* Buttons */
.kp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: var(--kp-radius-pill);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: var(--kp-transition);
    border: 2px solid transparent;
    text-transform: uppercase;
    text-decoration: none !important;
}

.kp-btn i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.kp-btn:hover i {
    transform: translateX(4px);
}

[dir="rtl"] .kp-btn:hover i {
    transform: translateX(-4px);
}

.kp-btn-coral {
    background-color: var(--kp-coral);
    color: #ffffff !important;
    border-color: var(--kp-coral);
}

.kp-btn-coral:hover {
    background-color: var(--kp-coral-hover);
    border-color: var(--kp-coral-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(186, 67, 50, 0.28);
}

.kp-btn-black {
    background-color: var(--kp-text-dark);
    color: #ffffff !important;
    border-color: var(--kp-text-dark);
    text-transform: none;
    font-size: 14.5px;
    font-weight: 700;
    padding: 13px 30px;
    background-color: #C54439;
}

.kp-btn-black:hover {
    background-color: #262626;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.kp-btn-outline {
    background-color: transparent;
    color: var(--kp-text-dark) !important;
    border-color: #333333;
    text-transform: none;
    font-size: 14.5px;
    font-weight: 700;
    padding: 13px 30px;
}

.kp-btn-outline:hover {
    background-color: #ffffff;
    border-color: var(--kp-text-dark);
    transform: translateY(-2px);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.kp-navbar {
    padding: 22px 0;
    background-color: var(--kp-bg-cream);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--kp-transition);
}

.kp-navbar.scrolled {
    background-color: rgba(251, 249, 244, 0.96);
    backdrop-filter: blur(10px);
    padding: 14px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.kp-navbar-brand img {
    height: 82px;
    width: auto;
    object-fit: contain;
}

.kp-nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kp-nav-link {
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #222222;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.kp-nav-link:hover,
.kp-nav-link.active {
    color: var(--kp-coral);
}

.kp-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--kp-text-dark);
    cursor: pointer;
}

/* Mobile Nav Drawer */
.kp-mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--kp-bg-cream);
    z-index: 2000;
    padding: 36px 24px;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.kp-mobile-nav.open {
    opacity: 1;
    visibility: visible;
    display: flex;
}

.kp-mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kp-mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.kp-mobile-nav-link {
    font-size: 22px;
    font-weight: 800;
    color: var(--kp-text-dark);
    text-transform: uppercase;
}

.kp-mobile-nav-link.active,
.kp-mobile-nav-link:hover {
    color: var(--kp-coral);
}

/* ==========================================================================
   1. HERO SECTION (WITH ROTATED OVERFLOW MASCOTS)
   ========================================================================== */
.kp-hero-section {
    position: relative;
    padding: 60px 0 100px;
    overflow: hidden;
    background-color: var(--kp-bg-cream);
}

.kp-hero-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 5;
}

.kp-hero-title {
    font-size: 68px;
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: #111111;
}

.kp-hero-title span.playground-word {
    color: var(--kp-teal);
    display: inline-block;
}

.kp-hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #444b54;
    max-width: 660px;
    margin: 0 auto 36px;
    font-weight: 400;
}

.kp-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Left & Right Rotated Mascot Blobs */
.kp-hero-blob-left {
    position: absolute;
    left: -75px;
    top: 15%;
    width: 250px;
    max-width: 24vw;
    height: auto;
    z-index: 2;
    pointer-events: none;
    transform: rotate(65deg);
    transform-origin: center center;
    transition: transform 0.3s ease;
}

.kp-hero-blob-right {
    position: absolute;
    right: -80px;
    top: 36%;
    width: 280px;
    max-width: 26vw;
    height: auto;
    z-index: 2;
    pointer-events: none;
    transform: rotate(-68deg);
    transform-origin: center center;
    transition: transform 0.3s ease;
}

/* ==========================================================================
   2. OUR PLAYGROUND (SERVICES) SECTION
   ========================================================================== */
.kp-playground-section {
    padding: 90px 0 110px;
    background-color: var(--kp-bg-dark);
    color: #ffffff;
}

.kp-section-tag {
    font-weight: 800;
    font-size: 24px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: inline-block;
}

.kp-section-tag.coral { color: #d65945; }
.kp-section-tag.teal { color: #438f86; }
.kp-section-tag.lime { color: #a9be3b; }

.kp-playground-headline {
    color: #ffffff;
    font-size: 46px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
}

.kp-playground-desc {
    color: #8c939e;
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 30px;
}

/* Services Grid Layout */
.kp-service-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.kp-service-card {
    border-radius: var(--kp-radius-lg);
    padding: 24px 26px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    transition: var(--kp-transition);
    color: var(--kp-text-dark);
    text-decoration: none !important;
}

.kp-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.kp-service-card.card-coral { background-color: var(--kp-card-coral); }
.kp-service-card.card-lime { background-color: var(--kp-card-lime); }
.kp-service-card.card-tan { background-color: var(--kp-card-tan); grid-column: span 2; }
.kp-service-card.card-teal { background-color: var(--kp-card-teal); }
.kp-service-card.card-pink { background-color: var(--kp-card-pink); }
.kp-service-card.card-mint { background-color: var(--kp-card-mint); }

.kp-card-body-flex {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.kp-card-mascot-left {
    width: 48px;
    height: auto;
    flex-shrink: 0;
    margin-top: 4px;
}

.kp-card-mascot-right {
    width: 64px;
    height: auto;
    flex-shrink: 0;
    margin-top: 4px;
}

.kp-card-mascot-wide {
    position: absolute;
    right: 15%;
    bottom: -20px;
    width: 140px;
    height: auto;
    pointer-events: none;
    transform: rotate(10deg);
}

.kp-card-badge {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: rgba(0, 0, 0, 0.65);
    margin-bottom: 2px;
    display: block;
}

.kp-card-title {
    font-size: 37px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    color: var(--kp-text-dark);
}

.kp-card-desc {
    font-size: 13px;
    color: #2e3338;
    line-height: 1.45;
    margin-bottom: 16px;
    font-weight: 500;
}

.kp-card-link {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--kp-text-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.kp-card-link i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.kp-service-card:hover .kp-card-link i {
    transform: translateX(4px);
}

[dir="rtl"] .kp-service-card:hover .kp-card-link i {
    transform: translateX(-4px);
}

/* ==========================================================================
   3. WHY KP SECTION
   ========================================================================== */
.kp-why-section {
    padding: 100px 0;
    background-color: var(--kp-bg-cream);
}

.kp-why-headline {
    font-size: 46px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--kp-text-dark);
}

.kp-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.kp-bento-card {
    border-radius: var(--kp-radius-lg);
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 190px;
    color: #ffffff;
    position: relative;
    transition: var(--kp-transition);
}

.kp-bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.kp-bento-card.box-coral { background-color: var(--kp-bento-red); }
.kp-bento-card.box-dark { background-color: var(--kp-bento-dark); }
.kp-bento-card.box-tan { background-color: var(--kp-bento-tan); }
.kp-bento-card.box-lime { background-color: var(--kp-bento-lime); }

.kp-bento-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.kp-bento-number {
    font-size: 12px;
    font-weight: 800;
    opacity: 0.85;
    letter-spacing: 0.05em;
}

.kp-bento-arrow {
    font-size: 16px;
    opacity: 0.9;
    transition: transform 0.2s ease;
}

.kp-bento-card:hover .kp-bento-arrow {
    transform: translate(3px, -3px);
}

.kp-bento-title {
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    color: #ffffff;
    line-height: 1.15;
}

.kp-bento-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.45;
    margin: 0;
}

/* ==========================================================================
   4. PEEPS PORTFOLIO SECTION
   ========================================================================== */
.kp-portfolio-section {
    padding: 100px 0;
    background-color: var(--kp-bg-dark);
    color: #ffffff;
}

.kp-portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 20px;
}

.kp-portfolio-headline {
    font-size: 46px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0;
}

.kp-portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.kp-portfolio-featured {
    background-color: #ffffff;
    border-radius: var(--kp-radius-lg);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 360px;
    color: var(--kp-text-dark);
    transition: var(--kp-transition);
}

.kp-portfolio-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.kp-portfolio-stacked {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kp-portfolio-small-card {
    background-color: #ffffff;
    border-radius: var(--kp-radius-lg);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 170px;
    color: var(--kp-text-dark);
    transition: var(--kp-transition);
}

.kp-portfolio-small-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.kp-proj-client {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--kp-text-dark);
    margin: 0;
}

.kp-proj-meta {
    margin-top: 18px;
}

.kp-proj-tags {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666e78;
    margin-bottom: 4px;
}

.kp-proj-link {
    font-size: 13px;
    font-weight: 800;
    color: var(--kp-text-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   5. BANNER STRIP CTA
   ========================================================================== */
.kp-banner-cta {
    padding: 56px 0;
    background-color: var(--kp-coral);
    color: #ffffff;
}

.kp-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.kp-banner-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 0;
    color: #ffffff;
}

.kp-banner-title span {
    color: #24110b;
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
.kp-footer {
    padding: 80px 0 30px;
    background-color: var(--kp-bg-darker);
    color: #ffffff;
}

.kp-footer-title {
    font-size: 34px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 22px;
    max-width: 320px;
}

.kp-mascots-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-top: 32px;
    padding-left: 20px;
}

.kp-mascot-icon {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.kp-footer-heading {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #616771;
    margin-bottom: 18px;
}

.kp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kp-footer-link {
    font-size: 13.5px;
    color: #9ea4ad;
    transition: color 0.2s ease;
}

.kp-footer-link:hover {
    color: #ffffff;
}

.kp-footer-bottom {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #616771;
    flex-wrap: wrap;
    gap: 12px;
}

.kp-footer-bottom a {
    color: #616771;
}

.kp-footer-bottom a:hover {
    color: #9ea4ad;
}

/* Modal */
.kp-modal-content {
    background-color: var(--kp-bg-cream);
    border-radius: var(--kp-radius-lg);
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 20px;
}

.kp-form-control {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid #ddd7cb;
    background-color: #ffffff;
    font-family: var(--kp-font);
    font-size: 14px;
    outline: none;
    transition: var(--kp-transition);
}

.kp-form-control:focus {
    border-color: var(--kp-coral);
    box-shadow: 0 0 0 4px rgba(186, 67, 50, 0.12);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 991px) {
    .kp-nav-links { display: none; }
    .kp-nav-toggle { display: block; }
    
    .kp-hero-title { font-size: 50px; }
    .kp-hero-desc { font-size: 16px; }
    .kp-hero-blob-left { width: 160px; left: -50px; top: 8%; }
    .kp-hero-blob-right { width: 180px; right: -50px; top: 40%; }
    
    .kp-playground-headline,
    .kp-why-headline,
    .kp-portfolio-headline,
    .kp-banner-title { font-size: 34px; }
    
    .kp-portfolio-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   MEET THE PEEPS (ABOUT PAGE) STYLES
   ========================================================================== */
.kp-about-hero {
    background-color: #000000;
    color: #ffffff;
    padding: 100px 0 110px;
    position: relative;
    overflow: hidden;
}

.kp-about-hero-title {
    font-size: 76px;
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: #ffffff;
    margin-bottom: 12px;
}

.kp-about-hero-title span {
    color: #d94833;
}

.kp-about-hero-tag {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 22px;
    display: block;
}

.kp-about-hero-desc {
    font-size: 15.5px;
    line-height: 1.65;
    color: #9ea5ad;
    max-width: 500px;
    margin-bottom: 32px;
}

.kp-btn-teal-pill {
    background: #2e756e;
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 14.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: var(--kp-transition);
}

.kp-btn-teal-pill:hover {
    background: #25615b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 117, 110, 0.35);
}

/* Mascot Cluster in About Hero */
.kp-mascot-cluster {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    height: 290px;
    width: 100%;
}

.kp-cluster-item {
    position: absolute;
    bottom: 0;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.kp-cluster-item:hover {
    transform: translateY(-8px) scale(1.03);
}

.kp-cluster-1 { width: 145px; left: 16%; bottom: 14px; z-index: 2; } /* Red big */
.kp-cluster-3 { width: 85px; left: 44%; bottom: 73px; z-index: 99; } /* Tan round */
.kp-cluster-2 { width: 105px; left: 33%; bottom: 0; z-index: 3; } /* Lime bulb */
.kp-cluster-4 { width: 48px; left: 53%; bottom: 3px; z-index: 100; } /* Teal tall */
.kp-cluster-5 { width: 125px; right: 25%; bottom: 35px; z-index: 2; } /* Red square */

/* About Cream Section (About The Peeps & The KP Team) */
.kp-about-cream-section {
    background-color: #fbf8f2;
    color: #1a1a1a;
    padding: 100px 0;
}

.border-bottom-cream {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.kp-about-headline {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.kp-story-text {
    font-size: 15px;
    line-height: 1.7;
    color: #444b54;
}

.kp-story-right-headline {
    font-size: 54px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #d94833;
    margin: 0;
}

/* The KP Team Grid */
.kp-team-desc {
    font-size: 15px;
    line-height: 1.65;
    color: #5c626c;
}

.kp-team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.kp-team-card {
    text-align: center;
    padding: 10px 4px;
}

.kp-team-avatar-box {
    height: 120px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 14px;
}

.kp-team-avatar {
    max-height: 110px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.kp-team-card:hover .kp-team-avatar {
    transform: translateY(-6px) scale(1.05);
}

.kp-team-name {
    font-size: 15px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.kp-team-role {
    font-size: 12.5px;
    color: #7b828e;
    margin: 0;
}

/* What We Believe Section */
.kp-believe-section {
    padding: 110px 0 120px;
    background-color: #000000;
    color: #ffffff;
    position: relative;
}

.kp-believe-header {
    margin-bottom: 50px;
}

.kp-believe-headline {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0;
}

.kp-believe-card-wrapper {
    position: relative;
    margin-top: 70px;
}

.kp-peeking-peep-left {
    position: absolute;
    top: -85px;
    left: 40px;
    width: 110px;
    height: auto;
    z-index: 1;
}

.kp-peeking-peep-right {
    position: absolute;
    top: -85px;
    right: 55px;
    display: flex;
    align-items: flex-end;
    
    z-index: 1;
}

.kp-peeking-peep-right img:nth-child(1) { width: 75px; }
.kp-peeking-peep-right img:nth-child(2) { width: 48px; }

.kp-believe-card {
    background-color: #fbf8f2;
    border-radius: 16px;
    padding: 42px 36px 36px;
    position: relative;
    z-index: 2;
    color: #1a1a1a;
}

.kp-believe-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.kp-believe-num {
    font-size: 14px;
    font-weight: 900;
    color: #d94833;
    margin-bottom: 4px;
    display: block;
}

.kp-believe-title {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: #d94833;
    margin-bottom: 12px;
    line-height: 1.25;
}

.kp-believe-desc {
    font-size: 12.5px;
    color: #495057;
    line-height: 1.55;
    margin: 0;
}

/* Banner CTA (Split Title & Text) */
.kp-banner-split-section {
    background-color: #4C9489;
    color: #ffffff;
    padding: 70px 0;
}

.kp-banner-split-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0;
}

.kp-banner-split-text {
    font-size: 15.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.95);
    max-width: 460px;
    margin-left: auto;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .kp-banner-split-text {
        margin-left: 0;
        margin-top: 10px;
    }
    .kp-story-right-headline {
        font-size: 40px;
    }
    .kp-team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .kp-believe-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .kp-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .kp-believe-grid {
        grid-template-columns: 1fr;
    }
}

/* Banner With Peeking Mascot */
.kp-banner-with-mascot {
    position: relative;
    overflow: hidden;
}

.kp-banner-peeking-mascot {
    position: absolute;
    right: 6%;
    top: -24px;
    width: 90px;
    height: auto;
    z-index: 1;
}

/* Responsive for About */
@media (max-width: 991px) {
    .kp-about-hero-title { font-size: 54px; }
    .kp-story-right-headline { font-size: 38px; }
    .kp-mascot-cluster { height: 220px; margin-top: 40px; }
    
    .kp-believe-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .kp-team-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .kp-approach-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    
    .kp-banner-peeking-mascot { display: none; }
}

/* ==========================================================================
   OUR PLAYGROUND (SERVICES OVERVIEW & DETAIL) STYLES
   ========================================================================== */

/* Hero Section (Cream) */
.kp-services-hero {
    background-color: #fbf8f2;
    color: #1a1a1a;
    padding: 90px 0 100px;
}

.kp-services-hero-title {
    font-size: 76px;
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: -0.04em;
    color: #1a1a1a;
}

.kp-services-hero-title .playground-word {
    color: #9eb338;
}

.kp-services-hero-tag {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 22px;
    display: block;
}

.kp-services-hero-desc {
    font-size: 15.5px;
    line-height: 1.65;
    color: #444b54;
    max-width: 620px;
    margin: 0 auto 32px;
}

.kp-btn-coral-pill {
    background: #ba4332;
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 14.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: var(--kp-transition);
}

.kp-btn-coral-pill:hover {
    background: #a23829;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(186, 67, 50, 0.35);
}

/* Deep Black Section with 6 Cards & Approach */
.kp-services-dark-section {
    padding: 100px 0 120px;
    background-color: #000000;
    color: #ffffff;
}

.kp-service-tile {
    background-color: #fbf8f2;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 310px;
    transition: var(--kp-transition);
    color: #1a1a1a;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.kp-service-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.kp-service-tile-body {
    padding: 28px 26px 22px;
}

.kp-service-tile-num {
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 8px;
    display: block;
}

.kp-service-tile-title {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: #1a1a1a;
    line-height: 1.15;
    font-weight: 900;
}

.kp-service-tile-subtitle {
    font-size: 13.5px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.35;
}

.kp-service-tile-desc {
    font-size: 12.5px;
    color: #555e69;
    line-height: 1.5;
    margin: 0;
}

.kp-service-tile-footer {
    padding: 14px 26px;
    font-size: 11.5px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kp-service-tile-footer i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.kp-service-tile:hover .kp-service-tile-footer i {
    transform: translateX(4px);
}

[dir="rtl"] .kp-service-tile:hover .kp-service-tile-footer i {
    transform: translateX(-4px);
}

/* Tile Footer Colors */
.tile-coral .kp-service-tile-num { color: #ba4332; }
.tile-coral .kp-service-tile-footer { background-color: #ba4332; }

.tile-lime .kp-service-tile-num { color: #9eb338; }
.tile-lime .kp-service-tile-footer { background-color: #9eb338; }

.tile-tan .kp-service-tile-num { color: #cca470; }
.tile-tan .kp-service-tile-footer { background-color: #cca470; }

.tile-teal .kp-service-tile-num { color: #438f86; }
.tile-teal .kp-service-tile-footer { background-color: #438f86; }

/* Split Process Headline on Black */
.kp-process-headline {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0;
}

.kp-process-headline span {
    color: #C54439;
}

.kp-process-right-text {
    font-size: 15px;
    line-height: 1.7;
    color: #a1a8b1;
}

/* Our Approach Steps Grid on Black */
.kp-approach-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.kp-approach-step-card {
    text-align: left;
}

.kp-step-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 16px;
}

.kp-step-icon-badge.badge-coral { background-color: #ba4332; }
.kp-step-icon-badge.badge-lime { background-color: #9eb338; }
.kp-step-icon-badge.badge-tan { background-color: #cca470; }
.kp-step-icon-badge.badge-teal { background-color: #438f86; }

.kp-step-num {
    font-size: 13.5px;
    font-weight: 900;
    display: block;
    margin-bottom: 4px;
}

.kp-step-num.coral { color: #ba4332; }
.kp-step-num.lime { color: #9eb338; }
.kp-step-num.tan { color: #cca470; }
.kp-step-num.teal { color: #438f86; }

.kp-step-title {
    font-size: 14.5px;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #ffffff;
    margin-bottom: 8px;
}

.kp-step-desc {
    font-size: 12px;
    color: #8c939e;
    line-height: 1.55;
    margin: 0;
}

/* Service FAQ Accordion (Cream) */
.kp-faq-section {
    padding: 100px 0;
    background-color: #fbf8f2;
}

.kp-faq-headline {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #1a1a1a;
    margin: 0;
}

.kp-faq-item {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.kp-faq-btn {
    width: 100%;
    text-align: start;
    padding: 18px 24px;
    font-family: var(--kp-font);
    font-size: 16px;
    font-weight: 800;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.kp-faq-btn:hover {
    opacity: 0.94;
}

.kp-faq-btn.btn-coral { background-color: #ba4332; }
.kp-faq-btn.btn-lime { background-color: #9eb338; }
.kp-faq-btn.btn-tan { background-color: #cca470; }
.kp-faq-btn.btn-teal { background-color: #438f86; }

.kp-faq-btn .faq-icon {
    font-size: 20px;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.kp-faq-btn[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.kp-faq-body {
    background-color: #ffffff;
    padding: 22px 26px;
    font-size: 14.5px;
    line-height: 1.65;
    color: #495057;
}

/* Banner Services CTA (Teal) */
.kp-banner-services-cta {
    background-color: #4C9489;
    color: #ffffff;
    padding: 75px 0;
}

.kp-banner-services-title {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 14px;
}

.kp-banner-services-desc {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    max-width: 620px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .kp-services-hero-title { font-size: 54px; }
    .kp-process-headline { font-size: 38px; }
    .kp-approach-steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .kp-approach-steps-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   BRANDING & REBRANDING PAGE STYLES (PIXEL-PERFECT)
   ========================================================================== */

/* 1. Hero Section */
.kp-service-detail-hero {
    background-color: #ba4332;
    padding: 100px 0 85px;
    color: #ffffff;
    position: relative;
    overflow: visible; /* للسماح للـ Subnav بالظهور متداخلاً */
}

.kp-detail-hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.04em;
    color: #ffffff;
    margin-bottom: 20px;
}

.kp-detail-hero-tagline {
    font-size: 24px;
    font-weight: 900;
    color: #111111;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.kp-detail-hero-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 480px;
    margin-bottom: 32px;
}

.kp-detail-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.kp-btn-white-pill {
    background-color: #ffffff;
    color: #111111 !important;
    border-radius: 50px;
    padding: 11px 26px;
    font-size: 13.5px;
    font-weight: 800;
    border: none;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.kp-btn-white-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    background-color: #f8f9fa;
}

.kp-btn-outline-pill {
    background-color: transparent;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.kp-btn-outline-pill:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* 2. Interactive Mindmap Tree Diagram */
.kp-mindmap-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    max-width: 460px;
    min-height: 220px;
    margin: 0 auto;
}

.kp-mindmap-svg-connectors {
    position: absolute;
    top: 22px;
    left: 8px;
    width: 94%;
    height: 79%;
    pointer-events: none;
    z-index: 1;
}

.kp-mindmap-col {
    display: flex;
    flex-direction: column;
    gap: 36px;
    z-index: 2;
}

.kp-mindmap-pill {
    background-color: #ffffff;
    color: #111111;
    font-size: 12px;
    font-weight: 800;
    border-radius: 8px;
    padding: 10px 16px;
    text-align: center;
    min-width: 130px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    letter-spacing: -0.01em;
}

.kp-mindmap-center-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.kp-mindmap-center-circle {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background-color: #111111;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* Unified Mindmap Layout for 4-Branch Services (Branding, Websites, Social Media, CRM & Content Creation) */
@media (min-width: 992px) {
    .kp-mindmap-container.is-unified-mindmap {
        position: relative;
        max-width: 500px;
        width: 500px;
        height: 220px;
        min-height: 220px;
        margin: 0 auto;
        padding-bottom: 0;
        box-sizing: content-box;
    }
    .kp-mindmap-container.is-unified-mindmap.is-content-creation {
        height: 280px;
        min-height: 280px;
    }
    .kp-mindmap-container.is-unified-mindmap .kp-mindmap-svg-connectors {
        position: absolute;
        top: 0 !important;
        left: 0 !important;
        width: 500px !important;
        height: 100% !important;
        pointer-events: none;
        z-index: 1;
    }
    .kp-mindmap-container.is-unified-mindmap .left-col {
        position: absolute;
        left: 0;
        top: 54px;
        gap: 36px;
        z-index: 2;
    }
    .kp-mindmap-container.is-unified-mindmap .right-col {
        position: absolute;
        right: 0;
        top: 54px;
        gap: 36px;
        z-index: 2;
    }
    .kp-mindmap-container.is-unified-mindmap .kp-mindmap-pill {
        width: 140px;
        height: 38px;
        min-width: 140px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        padding: 0 8px;
    }
    .kp-mindmap-container.is-unified-mindmap .kp-mindmap-center-wrapper {
        position: absolute;
        left: 209px;
        top: 69px;
        width: 82px;
        height: 82px;
        z-index: 3;
    }
    .kp-mindmap-container.is-unified-mindmap.is-content-creation .bottom-col {
        position: absolute;
        left: 50%;
        top: 153px;
        transform: translateX(-50%);
        margin: 0 !important;
        z-index: 4;
        width: auto;
    }
}

@media (max-width: 991.98px) {
    .kp-mindmap-container.is-unified-mindmap {
        width: 100%;
        height: auto;
        min-height: auto;
        padding-bottom: 0;
    }
    .kp-mindmap-container.is-unified-mindmap .left-col,
    .kp-mindmap-container.is-unified-mindmap .right-col,
    .kp-mindmap-container.is-unified-mindmap .kp-mindmap-center-wrapper,
    .kp-mindmap-container.is-unified-mindmap .bottom-col {
        position: static;
        transform: none;
        width: auto;
    }
    .kp-mindmap-container.is-unified-mindmap .bottom-col {
        margin-top: 10px !important;
    }
}

/* Specific Mindmap Layout for Paid Advertising (Custom 3-Node Branching Design) */
@media (min-width: 992px) {
    .kp-mindmap-container.is-paid-advertising {
        position: relative;
        max-width: 440px;
        width: 440px;
        height: 280px;
        min-height: 280px;
        margin: 0 auto;
        box-sizing: content-box;
    }
    .kp-mindmap-container.is-paid-advertising .paid-svg {
        position: absolute;
        top: 0;
        left: 0;
        width: 440px;
        height: 280px;
        pointer-events: none;
        z-index: 1;
    }
    .kp-mindmap-container.is-paid-advertising .paid-circle {
        position: absolute;
        left: 40px;
        top: 99px;
        width: 82px;
        height: 82px;
        border-radius: 50%;
        background: #111111;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 900;
        text-align: center;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
        z-index: 3;
        line-height: 1.25;
    }
    .kp-mindmap-container.is-paid-advertising .paid-node-card {
        position: absolute;
        background: #ffffff;
        color: #111111;
        font-size: 12px;
        font-weight: 800;
        border-radius: 8px;
        width: 100px;
        height: 56px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
        padding: 6px 8px;
        z-index: 2;
        line-height: 1.25;
    }
    .kp-mindmap-container.is-paid-advertising .card-meta {
        left: 136px;
        top: 12px;
    }
    .kp-mindmap-container.is-paid-advertising .card-google {
        left: 270px;
        top: 112px;
    }
    .kp-mindmap-container.is-paid-advertising .card-reporting {
        left: 136px;
        top: 212px;
    }
}

@media (max-width: 991.98px) {
    .kp-mindmap-container.is-paid-advertising {
        width: 100%;
        height: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        padding: 10px 0;
    }
    .kp-mindmap-container.is-paid-advertising .paid-circle {
        position: static;
        width: 82px;
        height: 82px;
        border-radius: 50%;
        background: #111111;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 900;
        text-align: center;
    }
    .kp-mindmap-container.is-paid-advertising .paid-node-card {
        position: static;
        background: #ffffff;
        color: #111111;
        font-size: 12px;
        font-weight: 800;
        border-radius: 8px;
        width: 140px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

/* 3. Sub-Navigation Bar (Split Floating) */
.kp-subnav-bar-wrapper {
    position: absolute;
    bottom: -24px;
    left: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.kp-subnav-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: #ffffff;
    padding: 5px 6px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    flex-wrap: wrap;
    justify-content: center;
}

.kp-subnav-link {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    color: #333333;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.kp-subnav-link:hover {
    background-color: #f1f3f5;
    color: #111111;
}

.kp-subnav-link.active {
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* 4. Service Overview (Cream Section) */
.kp-service-overview-section {
    padding: 110px 0 90px;
    background-color: #fbf8f2;
}

.kp-overview-tag {
    font-size: 26px;
    font-weight: 900;
    color: #438f86;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.kp-overview-desc {
    font-size: 17px;
    line-height: 1.8;
    color: #1a1a1a;
    max-width: 820px;
    margin: 0 auto;
    font-weight: 600;
}

/* 5. Case Studies (Black Section & Folder Cards) */
.kp-service-cases-section {
    padding: 95px 0 105px;
    background-color: #000000;
    color: #ffffff;
}

.kp-cases-header-tag {
    font-size: 26px;
    font-weight: 900;
    color: #ba4332;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Color Palette Constants for Folders */
.folder-coral { background-color: #ba4332; }
.folder-teal  { background-color: #438f86; }
.folder-lime  { background-color: #9eb338; }
.folder-tan   { background-color: #cca470; }

.kp-case-folder-card {
    display: block;
    padding: 16px 18px 18px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 260px;
    text-decoration: none !important;
    /* تطبيق قناع شكل الفولدر مع لسان التبويب */
    -webkit-mask-image: url('../img/vectors/Vector-6.png');
    mask-image: url('../img/vectors/Vector-6.png');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.kp-case-folder-card:hover {
    transform: translateY(-6px);
}

.kp-folder-tab-badge {
    font-size: 10.5px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    display: inline-block;
    padding-left: 4px;
}

.kp-folder-inner-preview {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 14px 14px;
    color: #111111;
    min-height: 180px;
}

.kp-preview-tag {
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #8c939e;
    margin-bottom: 8px;
    display: block;
}

.kp-mockup-window {
    background: #fdfbf7;
    border: 1px solid #e8e5dc;
    border-radius: 8px;
    overflow: hidden;
}

.kp-mockup-bar {
    background: #e8e5dc;
    padding: 5px 8px;
    display: flex;
    gap: 4px;
}

.kp-mockup-bar span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #b5b0a3;
    display: inline-block;
}

.kp-mockup-content {
    padding: 28px 10px;
    text-align: center;
}

.kp-mockup-title {
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: #777e88;
}

/* 6. Sub-Services (Cream Section & Folder Cards) */
.kp-subservices-section {
    padding: 95px 0 110px;
    background-color: #fbf8f2;
}

.kp-subservices-header-tag {
    font-size: 26px;
    font-weight: 900;
    color: #438f86;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.kp-subservices-section .col-lg-6 {
    display: flex;
    flex-direction: column;
}

.kp-subservice-folder-card {
    padding: 50px 28px 28px;
    color: #ffffff;
    height: 100%;
    min-height: 350px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    /* تطبيق قناع شكل الفولدر مع لسان التبويب */
    -webkit-mask-image: url('../img/vectors/Vector-4.png');
    mask-image: url('../img/vectors/Vector-4.png');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.kp-subservice-folder-card:hover {
    transform: translateY(-4px);
}

.kp-subservice-card-title {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 22px;
}

.kp-subservice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.kp-subservice-list li {
    font-size: 13.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 8px;
}

.kp-subservice-list li::before {
    content: '•';
    font-size: 15px;
    line-height: 1;
}

/* 7. Bottom CTA Banner */
.kp-service-cta-banner {
    padding: 90px 0;
    background-color: #ba4332;
    color: #ffffff;
}

.kp-service-cta-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #ffffff;
    max-width: 780px;
    margin: 0 auto;
}

.kp-service-cta-desc {
    font-size: 15.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    max-width: 620px;
    margin: 0 auto;
}

/* 8. Responsive Adjustments */
@media (max-width: 991px) {
    .kp-detail-hero-title { font-size: 50px; }
    .kp-mindmap-container { flex-direction: column; gap: 20px; }
    .kp-service-cta-title { font-size: 32px; }
    .kp-subnav-bar-wrapper { position: static; margin-top: 30px; }
    .kp-service-overview-section { padding-top: 60px; }
}

/* ==========================================================================
   PORTFOLIO PAGE STYLES
   ========================================================================== */
.kp-portfolio-hero-full {
    background-color: var(--kp-bg-dark);
    color: #ffffff;
    padding: 90px 0 110px;
    position: relative;
    overflow: hidden;
}

.kp-portfolio-doodle-arrow {
    width: 65px;
    height: auto;
    margin-left: 20px;
    display: inline-block;
    filter: invert(1);
    opacity: 0.85;
}

.kp-portfolio-mascots-corner {
    position: absolute;
    right: 12%;
    bottom: -5px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    z-index: 1;
}

.kp-portfolio-mascots-corner img:nth-child(1) { width: 56px; }
.kp-portfolio-mascots-corner img:nth-child(2) { width: 86px;     position: absolute;
    left: 49px;
    top: 57px; }

/* Filter Pills */
.kp-filter-bar-section {
    padding: 40px 0 20px;
    background-color: var(--kp-bg-cream);
}

.kp-filter-pills {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.kp-filter-btn {
    padding: 10px 24px;
    border-radius: var(--kp-radius-pill);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--kp-text-dark);
    background-color: transparent;
    border: 1px solid #111111;
    cursor: pointer;
    transition: var(--kp-transition);
}

.kp-filter-btn:hover,
.kp-filter-btn.active {
    background-color: #111111;
    color: #ffffff;
    border-color: #111111;
}

/* Portfolio Cards Grid */
.kp-portfolio-showcase-section {
    padding: 20px 0 100px;
    background-color: var(--kp-bg-cream);
}

.portfolio-item {
    display: flex;
    flex-direction: column;
}

.kp-portfolio-card-solid {
    border-radius: 22px;
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 360px;
    color: #ffffff;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.kp-portfolio-card-solid:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
}

.kp-portfolio-card-solid.card-red { background-color: #ba4332; }
.kp-portfolio-card-solid.card-teal { background-color: #3e847c; }
.kp-portfolio-card-solid.card-tan { background-color: #c9935e; }

.kp-port-card-header {
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .kp-port-card-header {
        min-height: 105px;
    }
}

.kp-port-card-tag {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 6px;
    display: block;
}

.kp-port-card-title {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1.15;
}

.kp-port-card-mockup-wrap {
    background-color: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10.5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: auto;
}

.kp-portfolio-card-solid:hover .kp-port-card-mockup-wrap {
    transform: scale(1.02);
}

.kp-port-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kp-port-card-img.placeholder-img {
    object-fit: contain;
    background-color: #fdfbf9;
}

/* ==========================================================================
   CONTACT / TELL US YOUR STORY PAGE STYLES
   ========================================================================== */

/* Hero Paper Note Card */
.kp-contact-hero-section {
    padding: 90px 0 100px;
    background-color: #fbf8f2;
    overflow: hidden;
}

.kp-paper-note-wrapper {
    position: relative;
    max-width: 620px;
    margin: 30px auto 0;
}

.kp-paper-note {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 48px 44px;
    position: relative;
    z-index: 2;
    transform: rotate(-2deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.kp-paper-note:hover {
    transform: rotate(-0.5deg);
}

.kp-paper-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #1a1a1a;
}

.kp-paper-tag {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a1a1a;
    display: block;
}

.kp-paper-desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: #555e69;
}

.kp-paper-mascot-left {
    position: absolute;
    left: -100px;
    bottom: -20px;
    width: 145px;
    height: auto;
    z-index: 999;
    transform: rotate(-10deg);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.kp-paper-mascot-right {
    position: absolute;
    right: -85px;
    top: -35px;
    width: 140px;
    height: auto;
    z-index: 1;
    transform: rotate(10deg);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

/* Washi Tape / Masking Tape Corner */
.kp-paper-tape {
    position: absolute;
    right: -15px;
    bottom: -15px;
    width: 110px;
    height: 35px;
    background: rgba(230, 222, 205, 0.9);
    transform: rotate(-30deg);
    z-index: 3;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    border-left: 2px dashed rgba(0, 0, 0, 0.1);
    border-right: 2px dashed rgba(0, 0, 0, 0.1);
}

/* Project Inquiry Dark Box */
.kp-inquiry-box {
    background-color: #000000;
    border-radius: 18px;
    padding: 48px 44px;
    max-width: 720px;
    margin: 60px auto 0;
    color: #ffffff;
}

.kp-inquiry-header-tag {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #438f86;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.kp-form-label-dark {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 6px;
    display: block;
}

.kp-input-white {
    width: 100%;
    padding: 12px 18px;
    background-color: #ffffff;
    border-radius: 50px;
    border: none;
    font-family: var(--kp-font);
    font-size: 13.5px;
    color: #1a1a1a;
    outline: none;
    transition: var(--kp-transition);
}

.kp-input-white:focus {
    box-shadow: 0 0 0 3px rgba(67, 143, 134, 0.35);
}

.kp-input-white::placeholder {
    color: #8c939e;
    font-size: 13px;
}

/* Checkbox Pills */
.kp-checkbox-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    background-color: #ffffff;
    border-radius: 50px;
    cursor: pointer;
    user-select: none;
    transition: var(--kp-transition);
    margin: 0;
}

.kp-checkbox-card:hover {
    background-color: #f8f9fa;
}

.kp-checkbox-card input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #ba4332;
    cursor: pointer;
}

.kp-checkbox-card span {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Prefer A Different Way To Connect Section */
.kp-contact-connect-section {
    background-color: #000000;
    padding: 100px 0 110px;
}

.kp-connect-card {
    background-color: #fbf8f2;
    border-radius: 18px;
    padding: 42px 38px;
    max-width: 500px;
    margin: 0 auto;
    color: #1a1a1a;
    text-align: start;
}

.kp-connect-title {
    font-size: 22px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.kp-connect-desc {
    font-size: 13px;
    color: #555e69;
    line-height: 1.45;
}

.kp-connect-divider {
    border-color: rgba(0, 0, 0, 0.08);
}

.kp-connect-channel {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    transition: transform 0.2s ease;
    color: #1a1a1a;
}

.kp-connect-channel:hover {
    transform: translateX(4px);
    color: #1a1a1a;
}

.kp-connect-icon {
    width: 42px;
    height: 42px;
    border: 1.5px solid #ba4332;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #ba4332;
    flex-shrink: 0;
}

.kp-channel-title {
    font-size: 12.5px;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: 0.05em;
}

.kp-channel-detail {
    font-size: 12px;
    color: #777e88;
}

/* Banner Strip */
.kp-contact-banner-section {
    background-color: #3d8b82;
    color: #ffffff;
    padding: 75px 0;
}

.kp-contact-banner-title {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #ffffff;
    max-width: 820px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .kp-paper-mascot-left,
    .kp-paper-mascot-right,
    .kp-paper-tape { display: none; }
    
    .kp-inquiry-box { padding: 30px 20px; }
    .kp-contact-banner-title { font-size: 32px; }
}
/* 1. الحاوية الأساسية للخطوات */
.kp-approach-steps-grid {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* 2. رسم الخط الأفقي الممتد */
.kp-approach-steps-grid::before {
    content: '';
    position: absolute;
    top: 25px; /* اضبط هذا الرقم ليكون نصف ارتفاع الأيقونة تماماً */
    left: 0;
    right: 0;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2); /* لون الخط الرمادي الخفيف */
    z-index: 1;
}

/* 3. كارت الخطوة */
.kp-approach-step-card {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* أو center حسب رغبتك لمحاذاة النص */
    flex: 1;
    max-width: 220px; /* للتحكم في عرض كل عمود */
}

/* 4. جعل خلفية الأيقونة فوق الخط تماماً */
.kp-step-icon-badge {
    position: relative;
    z-index: 3;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.kp-portfolio-doodle-arrow {
    position: absolute;
    left: -302px;
    top: 15px;
    width: 142px;
    height: auto;
    pointer-events: none;
    z-index: 20;
    filter: brightness(0) invert(1);
    opacity: 1 !important;

}

/* ضبط البطاقة الرئيسية */
.kp-service-card {
    position: relative;
    overflow: hidden; /* ضروري لقص الأشكال الزائدة خارج الإطار كما في التصميم */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    padding: 32px;
    border-radius: 20px;
    text-decoration: none;
    z-index: 1;
}

.kp-card-content {
    position: relative;
    z-index: 2; /* يضمن بقاء النص فوق الأشكال */
    padding-left: 61px;
}

.kp-card-link {
    position: relative;
    z-index: 2;
    margin-top: 24px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 61px;
}

/* التموضع المطلق لكل الأشكال */
.mascot {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

/* 01 - القوس الأحمر في اليسار */
.mascot-01 {
    top: 39px;
    left: -34px;
    width: 136px;
}

/* 02 - الشكل الأخضر الليموني أعلى اليسار */
.mascot-02 {
       top: 31px;
    left: 20px;
    width: 85px;

}

/* 03 - البطاقة العريضة */
.kp-card-full-width {
    min-height: 220px;
}
.mascot-03-top {
  top: -89px;
    right: 13%;
    width: 140px;
}
.mascot-03-bottom {
    bottom: -40px;
    right: 32%;
    width: 150px;
}

/* 04 - المستطيل الأخضر بالأسفل على اليسار */
.mascot-04 {
    bottom: -7px;
    left: 12px;
    width: 85px;
}

/* 05 - الشكل في اليمين */
.mascot-05 {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 85px;
}

/* 06 - الشكل في اليمين الخارج من الحافة */
.mascot-06 {
    right: -105px;
    bottom: 25px;
    width: 95px;
    rotate: 270deg;
}



/* ==========================================================================
   3D CONVEX / CYLINDER SERVICES CAROUSEL
   ========================================================================== */
.services-carousel-section {
    position: relative;
    width: 100%;
    margin-bottom: 70px;
}

.services-carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 30px 0 15px;
    overflow-x: clip;
}

@supports not (overflow-x: clip) {
    .services-carousel-wrapper {
        overflow-x: hidden;
    }
}

.services-carousel {
    perspective: 1200px;
    perspective-origin: center center;
    overflow: visible !important;
    width: 100%;
    padding: 40px 0 50px;
}

.services-carousel .swiper-wrapper {
    transform-style: preserve-3d;
    align-items: stretch;
}

.services-carousel .swiper-slide {
    width: 380px;
    max-width: 86vw;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    cursor: grab;
    user-select: none;
    height: auto;
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease-out;
}

.services-carousel .swiper-slide:active {
    cursor: grabbing;
}

.services-carousel .swiper-slide .kp-service-tile {
    width: 100%;
    min-height: 340px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    border-radius: 18px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.services-carousel .swiper-slide-active .kp-service-tile {
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.14);
}

/* Navigation Buttons & Pagination */
.services-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 15px;
    position: relative;
    z-index: 10;
}

.services-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.services-nav-btn:hover {
    background: #ba4332;
    border-color: #ba4332;
    color: #ffffff;
    transform: scale(1.08);
}

.services-nav-btn:active {
    transform: scale(0.96);
}

.services-carousel-pagination {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto !important;
}

.services-carousel-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.services-carousel-pagination .swiper-pagination-bullet-active {
    background: #ba4332;
    width: 28px;
    border-radius: 12px;
}

[dir="rtl"] .services-nav-prev i {
    transform: scaleX(-1);
}
[dir="rtl"] .services-nav-next i {
    transform: scaleX(-1);
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 767.98px) {
    .services-carousel {
        perspective: 800px;
        padding: 25px 0 35px;
    }

    .services-carousel .swiper-slide {
        width: 300px;
        max-width: 82vw;
    }

    .services-carousel .swiper-slide .kp-service-tile {
        min-height: 310px;
    }

    .services-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }

    .services-carousel-controls {
        margin-top: 10px;
        gap: 16px;
    }
}
/* ضبط الكارت العريض بالكامل */
.kp-card-full-width {
    align-items: flex-start !important; /* محاذاة كل العناصر لليسار */
    text-align: left !important;        /* محاذاة النصوص لليسار */
}

/* ضبط حاوية النصوص داخل الكارت العريض */
.kp-card-full-width .kp-card-content {
    text-align: left !important;
    max-width: 520px; /* تحديد العرض لكي لا يتداخل النص مع الأشكال في اليمين */
    margin: 0 !important; /* إلغاء أي auto-margin مسبب للتوسيط */
    padding-left: 0;
}

/* تثبيت وصف الخدمة لليسار */
.kp-card-full-width .kp-card-desc {
    text-align: left !important;
    margin-left: 0 !important;
}

/* تثبيت زر الاستكشاف في اليسار */
.kp-card-full-width .kp-card-link {
    align-self: flex-start !important;
    margin-left: 0 !important;
}
/* تثبيت محاذاة الكروت لليسار */
.kp-service-card.card-coral,
.kp-service-card.card-mint {
    align-items: flex-start !important;
    text-align: left !important;
}

/* ضبط النصوص والمساحة المتاحة لها لعدم التداخل مع الأيقونة في اليمين */
.kp-service-card.card-coral .kp-card-content,
.kp-service-card.card-mint .kp-card-content {
    text-align: left !important;
    margin: 0 !important;
    padding-left: 0 !important;
    max-width: 65%; /* مساحة كافية للنص دون لمس الـ mascot على اليمين */
}

/* تثبيت العناوين والأوصاف لليسار */
.kp-service-card.card-coral .kp-card-title,
.kp-service-card.card-mint .kp-card-title,
.kp-service-card.card-coral .kp-card-desc,
.kp-service-card.card-mint .kp-card-desc {
    text-align: left !important;
    margin-left: 0 !important;
}

/* محاذاة رابط الاستكشاف في الأسفل لليسار */
.kp-service-card.card-coral .kp-card-link,
.kp-service-card.card-mint .kp-card-link {
    align-self: flex-start !important;
    margin-left: 0 !important;
    text-align: left !important;
}
.card-item-01{
    padding-left: 100px !important;
}
.card-item-02{
       padding-left: 60px !important;
}
