/* =========================================================

   KONCEPTUX — NEW HOMEPAGE

   Overrides legacy landing-page styling

   \========================================================= */



:root {

    --kx-blue: #008ed6;

    --kx-blue-dark: #005885;

    --kx-navy: #102a43;

    --kx-text: #334e68;

    --kx-muted: #627d98;

    --kx-light: #f5f8fb;

    --kx-white: #ffffff;

    --kx-border: #d9e2ec;



    --kx-container: 1180px;

    --kx-radius: 10px;

}





/* ---------------------------------------------------------

   GLOBAL

   --------------------------------------------------------- */



.kx-section {

    padding: 90px 0;

}



.kx-container {

    width: min(var(--kx-container), calc(100% - 40px));

    margin: 0 auto;

}



.kx-section-header {

    max-width: 760px;

    margin: 0 auto 55px;

    text-align: center;

}



.kx-section-header h2 {

    margin: 0 0 18px;

    color: var(--kx-navy);

    font-size: 38px;

    line-height: 1.2;

    font-weight: 600;

}



.kx-section-header p {

    margin: 0;

    color: var(--kx-muted);

    font-size: 17px;

    line-height: 1.7;

}





/* ---------------------------------------------------------

   HERO

   --------------------------------------------------------- */



.kx-hero {

    min-height: 720px;

    padding: 150px 0 90px;

    display: flex;

    align-items: center;

    background: #ffffff;

}



.kx-hero-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;

}



.kx-hero-content {

    max-width: 620px;

}



.kx-hero-eyebrow {

    margin: 0 0 20px;

    color: var(--kx-blue);

    font-size: 13px;

    line-height: 1.4;

    font-weight: 700;

    letter-spacing: 2px;

}



.kx-hero h1 {

    margin: 0 0 24px;

    color: var(--kx-navy);

    font-size: 58px;

    line-height: 1.08;

    font-weight: 600;

}



.kx-hero-subtitle {

    margin: 0 0 20px;

    color: var(--kx-text);

    font-size: 21px;

    line-height: 1.5;

}



.kx-hero-description {

    max-width: 570px;

    margin: 0 0 35px;

    color: var(--kx-muted);

    font-size: 17px;

    line-height: 1.75;

}



.kx-hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

}



.kx-hero-button {

    display: inline-block;

    padding: 13px 25px;

    border-radius: 4px;

    text-decoration: none !important;

    font-size: 15px;

    font-weight: 500;

    transition: all .2s ease;

}



.kx-hero-button-primary {

    background: var(--kx-blue);

    color: #fff !important;

}



.kx-hero-button-primary:hover {

    background: var(--kx-blue-dark);

}



.kx-hero-button-secondary {

    background: transparent;

    border: 1px solid var(--kx-blue);

    color: var(--kx-blue) !important;

}



.kx-hero-button-secondary:hover {

    background: var(--kx-blue);

    color: #fff !important;

}



.kx-hero-image {

    text-align: center;

}



.kx-hero-image img {

    display: block;

    width: 100%;

    max-width: 560px;

    height: auto;

    margin: 0 auto;

}





/* ---------------------------------------------------------

   WHAT WE BUILD

   --------------------------------------------------------- */



.kx-build {

    background: var(--kx-light);

}



.kx-build-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}



.kx-card {

    height: 100%;

    padding: 35px 30px;

    background: #fff;

    border: 1px solid var(--kx-border);

    border-radius: var(--kx-radius);

    box-shadow: 0 8px 25px rgba(20, 50, 80, .06);

    transition: transform .2s ease, box-shadow .2s ease;

}



.kx-card:hover {

    transform: translateY(-4px);

    box-shadow: 0 14px 35px rgba(20, 50, 80, .10);

}



.kx-card-icon {

    width: 58px;

    height: 58px;

    margin-bottom: 25px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #eaf6fc;

    color: var(--kx-blue);

    font-size: 25px;

}



.kx-card h3 {

    margin: 0 0 15px;

    color: var(--kx-navy);

    font-size: 22px;

    line-height: 1.3;

}



.kx-card p {

    margin: 0 0 15px;

    color: var(--kx-muted);

    font-size: 15px;

    line-height: 1.7;

}





/* ---------------------------------------------------------

   PROJECTS

   --------------------------------------------------------- */



.kx-projects {

    background: #fff;

}



.kx-project-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}



.kx-project {

    overflow: hidden;

    background: #fff;

    border: 1px solid var(--kx-border);

    border-radius: var(--kx-radius);

    box-shadow: 0 8px 25px rgba(20, 50, 80, .06);

}



.kx-project-image {

    height: 210px;

    overflow: hidden;

    background: #edf2f7;

}



.kx-project-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.kx-project-body {

    padding: 28px;

}



.kx-project-body h3 {

    margin: 0 0 12px;

    color: var(--kx-navy);

    font-size: 21px;

}



.kx-project-body p {

    margin: 0 0 20px;

    color: var(--kx-muted);

    line-height: 1.7;

}



.kx-project-link {

    color: var(--kx-blue);

    font-weight: 600;

    text-decoration: none;

}





/* ---------------------------------------------------------

   PROCESS

   --------------------------------------------------------- */



.kx-process {

    background: var(--kx-light);

}



.kx-process-grid {

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 15px;

}



.kx-process-step {

    position: relative;

    text-align: center;

    padding: 25px 15px;

}



.kx-process-number {

    width: 48px;

    height: 48px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--kx-blue);

    color: #fff;

    font-weight: 700;

}



.kx-process-step h3 {

    margin: 0;

    color: var(--kx-navy);

    font-size: 17px;

}





/* ---------------------------------------------------------

   AUTOMATION

   --------------------------------------------------------- */



.kx-automation {

    background: var(--kx-navy);

    color: #fff;

}



.kx-automation .kx-section-header h2 {

    color: #fff;

}



.kx-automation .kx-section-header p {

    color: #c7d4e0;

}



.kx-automation-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

}



.kx-automation-item {

    padding: 30px;

    border: 1px solid rgba(255,255,255,.15);

    border-radius: var(--kx-radius);

    background: rgba(255,255,255,.05);

}



.kx-automation-item h3 {

    margin: 0 0 10px;

    color: #fff;

    font-size: 20px;

}



.kx-automation-item p {

    margin: 0;

    color: #c7d4e0;

    line-height: 1.7;

}





/* ---------------------------------------------------------

   ABOUT

   --------------------------------------------------------- */



.kx-about {

    background: #fff;

}



.kx-about-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;

}



.kx-about h2 {

    margin: 0 0 20px;

    color: var(--kx-navy);

    font-size: 38px;

}



.kx-about p {

    color: var(--kx-muted);

    font-size: 16px;

    line-height: 1.8;

}





/* ---------------------------------------------------------

   CONTACT

   --------------------------------------------------------- */



.kx-contact {

    background: var(--kx-light);

}



.kx-contact-box {

    max-width: 800px;

    margin: auto;

    text-align: center;

}



.kx-contact-box h2 {

    margin-bottom: 18px;

    color: var(--kx-navy);

    font-size: 38px;

}



.kx-contact-box p {

    margin-bottom: 30px;

    color: var(--kx-muted);

    font-size: 17px;

}





/* ---------------------------------------------------------

   TABLET

   --------------------------------------------------------- */



@media (max-width: 991px) {



    .kx-hero {

        min-height: auto;

        padding: 130px 0 80px;

    }



    .kx-hero-grid {

        grid-template-columns: 1fr;

        gap: 45px;

    }



    .kx-hero-content {

        max-width: 700px;

        margin: auto;

        text-align: center;

    }



    .kx-hero-description {

        margin-left: auto;

        margin-right: auto;

    }



    .kx-hero-buttons {

        justify-content: center;

    }



    .kx-build-grid,

    .kx-project-grid {

        grid-template-columns: repeat(2, 1fr);

    }



    .kx-process-grid {

        grid-template-columns: repeat(3, 1fr);

    }



    .kx-automation-grid {

        grid-template-columns: repeat(2, 1fr);

    }



    .kx-about-grid {

        grid-template-columns: 1fr;

        gap: 40px;

    }

}





/* ---------------------------------------------------------

   MOBILE

   --------------------------------------------------------- */



@media (max-width: 640px) {



    .kx-section {

        padding: 65px 0;

    }



    .kx-container {

        width: calc(100% - 30px);

    }



    .kx-hero {

        padding: 105px 0 65px;

    }



    .kx-hero h1 {

        font-size: 40px;

    }



    .kx-hero-subtitle {

        font-size: 18px;

    }



    .kx-hero-description {

        font-size: 15px;

    }



    .kx-hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }



    .kx-hero-button {

        text-align: center;

    }



    .kx-hero-image img {

        max-width: 90%;

    }



    .kx-section-header h2,

    .kx-about h2,

    .kx-contact-box h2 {

        font-size: 30px;

    }



    .kx-build-grid,

    .kx-project-grid,

    .kx-automation-grid {

        grid-template-columns: 1fr;

    }



    .kx-process-grid {

        grid-template-columns: 1fr;

    }



    .kx-process-step {

        padding: 15px;

    }

}

/* =========================================================
   HERO + NAV FIX — centered content and visible logo
   ========================================================= */

.kx-hero {
    min-height: 760px;
    padding: 135px 0 80px;
    display: block;
    background: #ffffff;
}

.kx-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.kx-hero-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.kx-hero-eyebrow,
.kx-hero-subtitle,
.kx-hero-description {
    margin-left: auto;
    margin-right: auto;
}

.kx-hero-description {
    max-width: 720px;
}

.kx-hero-buttons {
    justify-content: center;
}

.kx-hero-image {
    width: 100%;
    margin-top: 50px;
    text-align: center;
}

.kx-hero-image img {
    max-width: 720px;
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(16, 42, 67, .12);
}

/* Navigation/logo */
.sticky-navigation .kx-container {
    display: flex;
    align-items: center;
}

.sticky-navigation .navbar-header {
    flex: 0 0 auto;
}

.kx-navbar-brand {
    display: flex !important;
    align-items: center;
    height: 70px !important;
    padding: 8px 15px !important;
}

.kx-navbar-brand img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-height: 52px !important;
    max-width: 210px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.sticky-navigation .navbar-collapse {
    flex: 1 1 auto;
}

.language-selector img {
    width: auto;
    height: 18px;
    margin-right: 5px;
    vertical-align: middle;
}

@media (max-width: 991px) {
    .sticky-navigation .kx-container {
        display: block;
    }

    .kx-hero {
        padding-top: 120px;
    }

    .kx-hero-image {
        margin-top: 35px;
    }
}

@media (max-width: 767px) {
    .kx-navbar-brand {
        height: 60px !important;
        padding: 7px 15px !important;
    }

    .kx-navbar-brand img {
        max-height: 44px !important;
        max-width: 175px !important;
    }

    .kx-hero {
        padding: 105px 0 60px;
    }

    .kx-hero h1 {
        font-size: 40px;
    }

    .kx-hero-image img {
        max-width: 100%;
    }
}

/* =========================================================
   TEXT VISIBILITY FIXES
   ========================================================= */

.kx-automation,
.kx-automation p,
.kx-automation h3,
.kx-automation h4 {
    color: #ffffff;
}

.kx-automation .section-description,
.kx-automation .section-eyebrow {
    color: #d9e2ec;
}

.kx-automation .dark-text {
    color: #ffffff !important;
}

/* Normal/light sections must use dark text */
.kx-section:not(.kx-automation) h2,
.kx-section:not(.kx-automation) h3,
.kx-section:not(.kx-automation) h4 {
    color: #102a43;
}

.kx-section:not(.kx-automation) p,
.kx-section:not(.kx-automation) .section-description {
    color: #627d98;
}

/* =========================================================
   SOFTWARE
   ========================================================= */

.kx-software {
    background: #ffffff;
}

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

.kx-software-card {
    padding: 35px 30px;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(20, 50, 80, .06);
}

.kx-software-card h3 {
    margin: 0 0 15px;
    color: #102a43;
    font-size: 22px;
}

.kx-software-card p {
    color: #627d98;
    line-height: 1.7;
}

.kx-tech-list {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #d9e2ec;

    color: #008ed6;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
}

.kx-software-action {
    margin-top: 40px;
    text-align: center;
}

@media (max-width: 767px) {

    .kx-software-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   SMART AUTOMATION SECTION
   ========================================================= */

#automation.kx-automation-light {
    background: #ffffff !important;
    background-image: none !important;
    color: #334e68 !important;
}

#automation.kx-automation-light .kx-section-header h2,
#automation.kx-automation-light h2,
#automation.kx-automation-light h3,
#automation.kx-automation-light h4 {
    color: #102a43 !important;
}

#automation.kx-automation-light p,
#automation.kx-automation-light .section-description {
    color: #627d98 !important;
}

#automation.kx-automation-light .section-eyebrow {
    color: #008ed6 !important;
    font-weight: 700;
    letter-spacing: 2px;
}

#automation.kx-automation-light .colored-line {
    background: #008ed6 !important;
}

.kx-automation-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.kx-automation-service {
    padding: 35px;
    background: #f5f8fb;
    border: 1px solid #d9e2ec;
    border-radius: 10px;
}

.kx-automation-service h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.kx-automation-service p {
    line-height: 1.75;
}

.kx-automation-service .standard-button {
    margin-top: 15px;
}

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

/* =========================================================
   KONCEPTUX LIGHT SECTIONS
   Prevent legacy template styles from forcing white text
   ========================================================= */

.kx-section {
    background-image: none;
}

.kx-section-header h2,
.kx-section h2,
.kx-section h3,
.kx-section h4 {
    color: #102a43;
}

.kx-section p,
.kx-section .section-description {
    color: #627d98;
}

.kx-section .section-eyebrow {
    color: #008ed6;
    font-weight: 700;
    letter-spacing: 2px;
}

.kx-section .colored-line {
    background: #008ed6;
}

/* What We Build */
.kx-build {
    background: #f5f8fb;
}

/* Automation */
.kx-automation-light {
    background: #ffffff;
}

/* Projects */
.kx-projects {
    background: #f5f8fb;
}

/* Process */
.kx-process {
    background: #ffffff;
}

/* Software */
.kx-software {
    background: #f5f8fb;
}

/* About */
.kx-about {
    background: #ffffff;
}