/*
========================================
Key Global Projects - Conslor Design System
========================================
*/

/* ==========================================================================
   1. CSS Variables
   ========================================================================== */
:root {
    --theme-primary-color: #e0af14;
    --theme-primary-hover: #002a3d;
    --dark-gray: #1a1d23;
    --body-color: #262b3e;
    --text-color-s2: #233d62;
    --text-color-s3: #687693;
    --white: #fff;
    --footer-text: #d1d1d1;
    --border-light: #d9dde4;
    --heading-font: 'DM Serif Display', serif;
    --base-font: 'Nunito Sans', sans-serif;
}

/* ==========================================================================
   2. Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--base-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8em;
    color: var(--body-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 400;
    color: var(--dark-gray);
    line-height: 1.2em;
    margin: 0 0 15px;
}

h1 {
    font-size: 95px;
    line-height: 90px;
}

h2 {
    font-size: 60px;
    line-height: 55px;
    color: var(--text-color-s2);
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 19px;
}

h5 {
    font-size: 18px;
}

p {
    margin: 0 0 15px;
}

a {
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 120px 0;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left !important;
}

@media (max-width: 1199px) {
    h1 { font-size: 70px; line-height: 70px; }
    h2 { font-size: 50px; line-height: 50px; }
}

@media (max-width: 991px) {
    h1 { font-size: 50px; line-height: 55px; }
    h2 { font-size: 40px; line-height: 45px; }
    .section-padding { padding: 90px 0; }
}

@media (max-width: 767px) {
    h1 { font-size: 40px; line-height: 45px; }
    h2 { font-size: 32px; line-height: 36px; }
    .section-padding { padding: 80px 0; }
    body { font-size: 15px; }
}

/* ==========================================================================
   3. Top Information Bar
   ========================================================================== */
.kgp-top-bar {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #0d0f13 100%);
    padding: 12px 0;
    border-bottom: 1px solid rgba(224, 175, 20, 0.2);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.kgp-top-bar .container-fluid {
    padding: 0 40px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.top-bar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.top-bar-link:hover {
    color: var(--theme-primary-color);
}

.top-bar-link i {
    font-size: 14px;
    color: var(--theme-primary-color);
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.top-bar-link span {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-bar-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    padding: 5px 0;
}

.top-bar-info i {
    font-size: 14px;
    color: var(--theme-primary-color);
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.top-bar-info span {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    .kgp-top-bar {
        padding: 12px 0;
    }

    .kgp-top-bar .container-fluid {
        padding: 0 20px;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: center;
    }

    .top-bar-left {
        gap: 25px;
        margin-bottom: 10px;
    }

    .top-bar-link,
    .top-bar-info {
        gap: 8px;
    }

    .top-bar-link span,
    .top-bar-info span {
        font-size: 13px;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .kgp-top-bar {
        padding: 15px 0;
    }

    .kgp-top-bar .container-fluid {
        padding: 0 15px;
    }

    .top-bar-left {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        margin-bottom: 12px;
    }

    .top-bar-right {
        justify-content: flex-start;
    }

    .top-bar-link,
    .top-bar-info {
        gap: 10px;
    }

    .top-bar-link span,
    .top-bar-info span {
        font-size: 13px;
    }
}

/* Hide on very small screens */
@media (max-width: 480px) {
    .top-bar-right {
        display: none;
    }

    .top-bar-left {
        width: 100%;
    }
}

/* ==========================================================================
   4. Header / Navigation
   ========================================================================== */
.kgp-site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navigation {
    padding: 0;
}

.navigation .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    padding: 10px 0;
    margin-right: 40px;
    flex-shrink: 0;
}

.brand-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-gray);
    font-family: var(--heading-font);
}

.brand-chinese {
    font-size: 14px;
    color: var(--theme-primary-color);
    font-weight: 600;
}

.navbar-collapse {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.nav-item {
    display: inline-block;
}

.nav-link {
    font-size: 16px;
    color: var(--body-color);
    padding: 25px 18px;
    display: block;
    font-weight: 600;
    text-transform: capitalize;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--theme-primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    margin-left: 40px;
    flex-shrink: 0;
}

.theme-btn-header {
    padding: 12px 30px;
    white-space: nowrap;
}

.navbar-toggler {
    border: none;
    padding: 5px 10px;
    background: transparent;
    display: none;
}

.icon-bar {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    display: block;
    margin: 5px 0;
    transition: all 0.3s;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 991px) {
    .navigation .container-fluid {
        padding: 10px 20px;
    }

    .navbar-brand {
        margin-right: auto;
    }

    .navbar-toggler {
        display: block;
        order: 2;
    }

    .navbar-collapse {
        position: fixed;
        left: -300px;
        top: 0;
        width: 300px;
        height: 100vh;
        background: var(--white);
        transition: all 0.3s;
        z-index: 9999;
        padding: 30px;
        flex-direction: column;
        justify-content: flex-start;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
    }

    .navbar-collapse.show {
        left: 0;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        width: 100%;
    }

    .nav-item {
        display: block;
        width: 100%;
    }

    .nav-link {
        padding: 15px 0;
    }

    .header-right {
        margin-top: 20px;
        margin-left: 0;
        width: 100%;
    }

    .theme-btn-header {
        display: block;
        text-align: center;
        width: 100%;
    }
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.theme-btn {
    background: var(--theme-primary-color);
    color: var(--white);
    padding: 20px 40px;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
    display: inline-block;
    transition: all 0.4s ease-in-out;
    border: 2px solid var(--theme-primary-color);
}

.theme-btn:hover {
    background: var(--theme-primary-hover);
    color: var(--white);
    border-color: var(--theme-primary-hover);
}

.theme-btn-s2 {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.theme-btn-s2:hover {
    background: var(--theme-primary-color);
    color: var(--white);
    border-color: var(--theme-primary-color);
}

.theme-btn-header {
    padding: 12px 25px;
    font-size: 14px;
}

@media (max-width: 767px) {
    .theme-btn {
        padding: 15px 25px;
        font-size: 14px;
    }
}

/* ==========================================================================
   5. Hero Section
   ========================================================================== */
.hero-kgp {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--body-color) 100%);
    overflow: hidden;
    padding: 150px 0 100px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-subtitle h5 {
    font-size: 22px;
    color: var(--white);
    font-weight: 400;
    font-family: var(--base-font);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 25px;
    position: relative;
    padding-left: 70px;
}

.hero-subtitle h5::before {
    content: '';
    position: absolute;
    background: var(--white);
    left: 0;
    top: 50%;
    width: 50px;
    height: 2px;
}

.hero-title h1 {
    color: var(--white);
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 22px;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 45px;
    font-family: var(--heading-font);
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-decoration {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--theme-primary-color) 0%, transparent 70%);
    opacity: 0.2;
    border-radius: 50%;
    z-index: 2;
}

@media (max-width: 991px) {
    .hero-kgp {
        min-height: 700px;
        padding: 120px 0 80px;
    }

    .hero-subtitle h5 {
        font-size: 16px;
        letter-spacing: 3px;
        padding-left: 0;
    }

    .hero-subtitle h5::before {
        display: none;
    }

    .hero-text p {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .hero-kgp {
        min-height: 600px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .theme-btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   6. Section Title
   ========================================================================== */
.kgp-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.kgp-section-title h2 {
    margin-bottom: 20px;
}

.kgp-section-title p {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color-s2);
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .kgp-section-title {
        margin-bottom: 40px;
    }

    .kgp-section-title p {
        font-size: 17px;
    }
}

/* ==========================================================================
   7. Challenge Cards
   ========================================================================== */
.kgp-challenges-section {
    background: var(--white);
}

.challenge-card {
    padding: 40px 30px;
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.4s ease-in-out;
    min-height: 320px;
}

.challenge-card:hover {
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.challenge-number {
    font-size: 42px;
    font-family: var(--heading-font);
    color: #c3c3c3;
    margin-bottom: 20px;
}

.challenge-card h3 {
    font-size: 22px;
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-weight: 500;
}

.challenge-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color-s3);
    margin: 0;
}

/* ==========================================================================
   8. Mission Table
   ========================================================================== */
.kgp-mission-section {
    background: #f7f7f7;
}

.mission-table-wrap {
    margin-top: 50px;
}

.mission-table {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.mission-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.mission-row.header-row {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--body-color) 100%);
}

.mission-row.header-row .mission-col {
    color: var(--white);
    font-weight: 700;
    font-size: 20px;
    padding: 30px 25px;
}

.mission-col {
    padding: 35px 25px;
    text-align: center;
    border-right: 1px solid var(--border-light);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color-s2);
}

.mission-col:last-child {
    border-right: none;
}

.mission-row:not(.header-row) {
    border-bottom: 1px solid var(--border-light);
}

.mission-row:last-child {
    border-bottom: none;
}

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

    .mission-col {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
}

/* ==========================================================================
   9. Service Cards
   ========================================================================== */
.kgp-service-section {
    background: var(--white);
}

.service-card {
    padding: 50px 35px 70px;
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.4s ease-in-out;
    min-height: 550px;
    position: relative;
}

.service-card:hover {
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--theme-primary-color) 0%, #f5d673 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 35px;
    color: var(--white);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 20px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 2px;
    background: var(--theme-primary-color);
}

.service-tagline {
    font-size: 15px;
    font-weight: 600;
    color: var(--theme-primary-color);
    font-style: italic;
    margin: 15px 0;
}

.service-features {
    margin: 20px 0;
    padding-left: 0;
}

.service-features li {
    position: relative;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
    color: var(--text-color-s3);
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--theme-primary-color);
    font-weight: 700;
}

.service-link {
    display: inline-block;
    color: var(--theme-primary-color);
    font-weight: 600;
    margin-top: 15px;
    position: absolute;
    bottom: 35px;
}

.service-link:hover {
    color: var(--theme-primary-hover);
}

.service-link i {
    margin-left: 5px;
}

/* ==========================================================================
   10. Process Timeline
   ========================================================================== */
.kgp-process-section {
    background: var(--white);
}

.process-timeline {
    max-width: 900px;
    margin: 50px auto 0;
    position: relative;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: relative;
    flex-shrink: 0;
}

.step-number span {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--theme-primary-color) 0%, #f5d673 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    font-family: var(--heading-font);
    box-shadow: 0 4px 15px rgba(224, 175, 20, 0.3);
}

.step-content {
    flex: 1;
    background: var(--white);
    padding: 30px 35px;
    border-radius: 6px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease-in-out;
}

.step-content:hover {
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.15);
    transform: translateX(10px);
}

.step-icon {
    width: 50px;
    height: 50px;
    background: rgba(224, 175, 20, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-icon i {
    font-size: 22px;
    color: var(--theme-primary-color);
}

.step-content h3 {
    font-size: 22px;
    color: var(--dark-gray);
    margin-bottom: 12px;
    font-weight: 500;
}

.step-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color-s3);
    margin: 0;
}

.step-connector {
    position: absolute;
    left: 35px;
    top: 70px;
    width: 3px;
    height: calc(100% + 50px);
    background: linear-gradient(180deg, var(--theme-primary-color) 0%, rgba(224, 175, 20, 0.3) 100%);
}

.process-step:last-child .step-connector {
    display: none;
}

@media (max-width: 767px) {
    .process-step {
        gap: 20px;
        margin-bottom: 40px;
    }

    .step-number span {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .step-content {
        padding: 25px;
    }

    .step-content h3 {
        font-size: 19px;
    }

    .step-content p {
        font-size: 14px;
    }

    .step-icon {
        width: 45px;
        height: 45px;
    }

    .step-icon i {
        font-size: 20px;
    }

    .step-connector {
        left: 30px;
        top: 60px;
        height: calc(100% + 40px);
    }
}

/* ==========================================================================
   11. Success Stories
   ========================================================================== */
.kgp-success-section {
    background: var(--dark-gray);
}

.kgp-success-section .kgp-section-title h2,
.kgp-success-section .kgp-section-title p {
    color: var(--white);
}

.success-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease-in-out;
}

.success-card:hover {
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(-8px);
}

.success-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--body-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-image i {
    font-size: 70px;
    color: var(--theme-primary-color);
    opacity: 0.85;
}

.success-badge {
    background: var(--theme-primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.success-content {
    padding: 35px 30px;
}

.success-content h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.success-industry {
    font-size: 14px;
    color: var(--theme-primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.success-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color-s3);
    margin: 0;
}

.kgp-success-section .theme-btn {
    margin-top: 40px;
}

/* ==========================================================================
   11. AI Platform Section
   ========================================================================== */
.kgp-ai-section {
    background: #e8e8e8;
}

.ai-features {
    margin: 40px 0;
}

.ai-feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.ai-feature-icon {
    width: 55px;
    height: 55px;
    background: var(--theme-primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.ai-feature-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark-gray);
    font-family: var(--base-font);
    font-weight: 700;
}

.ai-feature-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color-s3);
    margin: 0;
}

.ai-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* AI Chat Mockup */
.ai-chat-mockup {
    width: 100%;
    max-width: 450px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--body-color) 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    background: var(--theme-primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-avatar i {
    font-size: 24px;
    color: var(--white);
}

.chat-info h5 {
    margin: 0;
    font-size: 18px;
    color: var(--white);
    font-weight: 700;
}

.chat-status {
    font-size: 13px;
    color: var(--theme-primary-color);
    font-weight: 600;
}

.chat-messages {
    padding: 25px 20px;
    background: #f9f9f9;
    min-height: 400px;
    max-height: 400px;
    overflow-y: auto;
}

.chat-message {
    margin-bottom: 20px;
    display: flex;
}

.user-message {
    justify-content: flex-end;
}

.ai-message {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 75%;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.user-message .message-bubble {
    background: var(--theme-primary-color);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.ai-message .message-bubble {
    background: var(--white);
    color: var(--text-color-s3);
    border: 1px solid #e0e0e0;
    border-bottom-left-radius: 4px;
}

.chat-input-area {
    display: flex;
    padding: 15px;
    background: var(--white);
    border-top: 1px solid #e0e0e0;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    background: #f5f5f5;
}

.chat-input-area input:focus {
    border-color: var(--theme-primary-color);
    background: var(--white);
}

.chat-send-btn {
    width: 45px;
    height: 45px;
    background: var(--theme-primary-color);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chat-send-btn:hover {
    background: var(--theme-primary-hover);
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .ai-chat-mockup {
        max-width: 100%;
    }

    .chat-messages {
        min-height: 350px;
        max-height: 350px;
    }
}

@media (max-width: 991px) {
    .ai-visual {
        margin-top: 40px;
    }

    .ai-visualization {
        width: 300px;
        height: 300px;
    }
}

/* ==========================================================================
   12. Why Choose Section
   ========================================================================== */
.kgp-why-choose-section {
    background: var(--white);
}

.why-choose-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.4s ease-in-out;
    min-height: 360px;
}

.why-choose-card:hover {
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.why-choose-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--theme-primary-color) 0%, #f5d673 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.why-choose-icon i {
    font-size: 40px;
    color: var(--white);
}

.why-choose-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.why-choose-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color-s3);
    margin: 0;
}

/* ==========================================================================
   13. Testimonials Section
   ========================================================================== */
.kgp-testimonials-section {
    background: #f9f9f9;
}

.testimonial-card {
    background: var(--white);
    border-radius: 6px;
    padding: 40px 30px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.4s ease-in-out;
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.testimonial-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--theme-primary-color) 0%, #f5d673 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-icon i {
    font-size: 24px;
    color: var(--white);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
}

.testimonial-stars i {
    font-size: 16px;
    color: var(--theme-primary-color);
}

.testimonial-content {
    flex: 1;
    margin-bottom: 25px;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color-s3);
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    border-top: 2px solid var(--theme-primary-color);
    padding-top: 20px;
}

.testimonial-author h4 {
    font-size: 20px;
    color: var(--dark-gray);
    margin-bottom: 5px;
    font-family: var(--base-font);
    font-weight: 700;
}

.author-position {
    font-size: 15px;
    color: var(--theme-primary-color);
    font-weight: 600;
    margin-bottom: 3px;
}

.author-company {
    font-size: 14px;
    color: var(--text-color-s3);
    margin: 0;
}

@media (max-width: 991px) {
    .testimonial-card {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .testimonial-card {
        padding: 30px 25px;
    }

    .testimonial-icon {
        width: 50px;
        height: 50px;
    }

    .testimonial-icon i {
        font-size: 20px;
    }

    .testimonial-stars i {
        font-size: 14px;
    }

    .testimonial-content p {
        font-size: 15px;
    }
}

/* ==========================================================================
   14. Stats Section
   ========================================================================== */
.kgp-stats-section {
    background: linear-gradient(135deg, var(--theme-primary-color) 0%, #f5d673 100%);
    padding: 100px 0;
}

.kgp-stats-section .row {
    justify-content: center;
    align-items: stretch;
    gap: 0;
}

.kgp-stats-section .row > [class*="col-"] {
    padding: 0 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 40px 25px;
    text-align: left;
    height: 100%;
    min-height: 180px;
}

.stat-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.stat-icon i {
    font-size: 40px;
    color: var(--white);
}

.stat-content {
    flex: 1;
    min-width: 0;
}

.stat-content h3 {
    font-size: 44px;
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.1;
}

.stat-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
    max-width: 180px;
}

@media (max-width: 991px) {
    .kgp-stats-section {
        padding: 80px 0;
    }

    .kgp-stats-section .row > [class*="col-"] {
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .stat-item {
        justify-content: center;
        padding: 35px 20px;
        gap: 20px;
        min-height: 160px;
    }

    .stat-icon {
        width: 85px;
        height: 85px;
    }

    .stat-icon i {
        font-size: 38px;
    }

    .stat-content h3 {
        font-size: 40px;
    }

    .stat-content p {
        font-size: 14px;
        max-width: 160px;
    }
}

@media (max-width: 767px) {
    .kgp-stats-section {
        padding: 60px 0;
    }

    .kgp-stats-section .row > [class*="col-"] {
        padding: 0 10px;
        margin-bottom: 25px;
    }

    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 30px 15px;
        min-height: auto;
    }

    .stat-icon {
        width: 80px;
        height: 80px;
    }

    .stat-icon i {
        font-size: 36px;
    }

    .stat-content {
        width: 100%;
    }

    .stat-content h3 {
        font-size: 38px;
    }

    .stat-content p {
        font-size: 15px;
        max-width: 100%;
        margin: 0 auto;
    }
}

/* ==========================================================================
   14. Trust Badges Section
   ========================================================================== */
.kgp-trust-section {
    background: #fafafa;
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin: 50px 0 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.trust-badge {
    background: var(--white);
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    border-color: var(--theme-primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.badge-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.badge-icon i {
    font-size: 28px;
    color: #666;
}

.trust-badge h4 {
    font-size: 15px;
    color: var(--dark-gray);
    margin-bottom: 4px;
    font-weight: 700;
    font-family: var(--base-font);
    text-align: center;
}

.trust-badge p {
    font-size: 11px;
    color: #888;
    margin: 0;
    text-align: center;
    line-height: 1.3;
}

@media (max-width: 991px) {
    .trust-badges-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 767px) {
    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .trust-badge {
        padding: 20px 12px;
        min-height: 100px;
    }

    .badge-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 10px;
    }

    .badge-icon i {
        font-size: 24px;
    }

    .trust-badge h4 {
        font-size: 13px;
    }

    .trust-badge p {
        font-size: 10px;
    }
}

/* ==========================================================================
   15. Team Section
   ========================================================================== */
.kgp-team-section {
    background: #f5f5f5;
}

.team-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-card:hover {
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.team-image {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--body-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.team-image i {
    font-size: 80px;
    color: var(--theme-primary-color);
    opacity: 0.9;
}

.team-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--theme-primary-color);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.team-content {
    padding: 35px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-content h3 {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--dark-gray);
}

.team-role {
    font-size: 15px;
    color: var(--theme-primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.team-details h4 {
    font-size: 17px;
    color: var(--dark-gray);
    margin: 18px 0 10px;
    font-family: var(--base-font);
    font-weight: 700;
}

.team-details ul {
    padding-left: 0;
    margin-bottom: 12px;
}

.team-details li {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-color-s3);
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
}

.team-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--theme-primary-color);
}

/* ==========================================================================
   15. Contact Form Section
   ========================================================================== */
.kgp-contact-form-section {
    background: #f9f9f9;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 40px;
}

.contact-info-box {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--body-color) 100%);
    padding: 50px 40px;
    height: 100%;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 55px;
    height: 55px;
    background: var(--theme-primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 22px;
    color: var(--white);
}

.info-content h4 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 8px;
    font-family: var(--base-font);
    font-weight: 700;
}

.info-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
}

.contact-form-box {
    padding: 50px 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-light);
    border-radius: 4px;
    font-size: 15px;
    color: var(--body-color);
    transition: all 0.3s ease;
    font-family: var(--base-font);
}

.form-control:focus {
    outline: none;
    border-color: var(--theme-primary-color);
    box-shadow: 0 0 0 3px rgba(224, 175, 20, 0.1);
}

.form-control::placeholder {
    color: #aaa;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23333' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

.contact-form .theme-btn i {
    margin-right: 8px;
}

@media (max-width: 991px) {
    .contact-info-box {
        padding: 40px 30px;
    }

    .contact-form-box {
        padding: 40px 30px;
    }
}

@media (max-width: 767px) {
    .contact-info-box {
        padding: 35px 25px;
    }

    .contact-form-box {
        padding: 35px 25px;
    }

    .info-item {
        gap: 15px;
        margin-bottom: 30px;
    }

    .info-icon {
        width: 50px;
        height: 50px;
    }

    .info-icon i {
        font-size: 20px;
    }

    .info-content h4 {
        font-size: 16px;
    }

    .info-content p {
        font-size: 14px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-control {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* ==========================================================================
   16. FAQ Section
   ========================================================================== */
.kgp-faq-section {
    background: var(--white);
}

.faq-accordion {
    margin-top: 20px;
}

.faq-item {
    background: var(--white);
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.12);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 35px;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.faq-question h3 {
    font-size: 20px;
    margin: 0;
    color: var(--dark-gray);
    font-weight: 500;
    padding-right: 50px;
    font-family: var(--base-font);
}

.faq-toggle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--theme-primary-color) 0%, #f5d673 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-toggle i {
    font-size: 16px;
    color: var(--white);
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-question h3 {
    color: var(--theme-primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 35px 30px 35px;
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color-s3);
}

@media (max-width: 767px) {
    .faq-question {
        padding: 25px 20px;
    }

    .faq-question h3 {
        font-size: 17px;
        padding-right: 40px;
    }

    .faq-toggle {
        width: 35px;
        height: 35px;
    }

    .faq-toggle i {
        font-size: 14px;
    }

    .faq-answer p {
        padding: 0 20px 25px 20px;
        font-size: 15px;
    }
}

/* ==========================================================================
   16. CTA Section
   ========================================================================== */
.kgp-cta-section {
    background: var(--dark-gray);
}

.kgp-cta-section .kgp-section-title h2,
.kgp-cta-section .kgp-section-title p {
    color: var(--white);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

@media (max-width: 767px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .theme-btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   16. Footer
   ========================================================================== */
.kgp-site-footer {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--body-color) 100%);
    position: relative;
}

.kgp-upper-footer {
    padding: 80px 0;
}

.widget {
    margin-bottom: 30px;
}

.widget-title {
    margin-bottom: 20px;
}

.widget-title h3 {
    font-size: 20px;
    color: var(--white);
    margin: 0;
}

.about-widget .logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.about-widget .brand-text {
    font-size: 26px;
    color: var(--white);
}

.about-widget .brand-chinese {
    font-size: 15px;
    color: var(--theme-primary-color);
}

.about-widget p,
.kgp-contact-widget ul li {
    color: var(--footer-text);
    line-height: 1.8;
}

.link-widget ul li a {
    color: var(--footer-text);
    font-size: 15px;
}

.link-widget ul li a:hover {
    color: var(--theme-primary-color);
}

.link-widget ul li + li {
    padding-top: 12px;
}

.kgp-lower-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.social-widget ul {
    display: flex;
    gap: 12px;
}

.social-widget ul li a {
    border: 1px solid var(--footer-text);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text);
    font-size: 16px;
}

.social-widget ul li a:hover {
    border-color: var(--theme-primary-color);
    color: var(--theme-primary-color);
}

.copyright {
    font-size: 14px;
    color: var(--footer-text);
    margin: 0;
    text-align: right;
}

@media (max-width: 991px) {
    .kgp-upper-footer {
        padding: 60px 0;
    }

    .social-widget ul {
        justify-content: center;
        margin-bottom: 15px;
    }

    .copyright {
        text-align: center;
    }
}

/* ======================================
   Floating Chatbot Widget
   ====================================== */
.floating-chatbot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chatbot-toggle {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--theme-primary-color) 0%, #f5d673 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(224, 175, 20, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(224, 175, 20, 0.6);
}

.chatbot-toggle i {
    font-size: 28px;
    color: var(--white);
}

.chatbot-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: #e74c3c;
    color: var(--white);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--white);
}

.chatbot-window {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 380px;
    height: 600px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(20px);
    transform-origin: bottom right;
    transition: all 0.3s ease;
}

.chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.chatbot-header {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--body-color) 100%);
    padding: 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar-small {
    width: 45px;
    height: 45px;
    background: var(--theme-primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-avatar-small i {
    font-size: 22px;
    color: var(--white);
}

.chatbot-header h4 {
    margin: 0;
    font-size: 17px;
    color: var(--white);
    font-weight: 700;
    font-family: var(--base-font);
}

.status-online {
    font-size: 13px;
    color: var(--theme-primary-color);
    font-weight: 600;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chatbot-close:hover {
    color: var(--theme-primary-color);
    transform: rotate(90deg);
}

.chatbot-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f9f9f9;
}

.chatbot-welcome {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 20px;
}

.welcome-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--theme-primary-color) 0%, #f5d673 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.welcome-icon i {
    font-size: 28px;
    color: var(--white);
}

.chatbot-welcome h5 {
    font-size: 18px;
    color: var(--dark-gray);
    margin-bottom: 8px;
    font-weight: 700;
}

.chatbot-welcome p {
    font-size: 14px;
    color: var(--text-color-s3);
    margin: 0;
    line-height: 1.6;
}

.chatbot-messages {
    margin-bottom: 20px;
}

.chatbot-msg {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.msg-avatar {
    width: 35px;
    height: 35px;
    background: var(--theme-primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.msg-avatar i {
    font-size: 16px;
    color: var(--white);
}

.msg-content {
    flex: 1;
}

.msg-content p {
    background: var(--white);
    padding: 12px 16px;
    border-radius: 12px;
    border-bottom-left-radius: 4px;
    font-size: 14px;
    color: var(--text-color-s3);
    margin: 0 0 5px 0;
    line-height: 1.6;
}

.msg-time {
    font-size: 11px;
    color: #999;
}

.quick-questions {
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
}

.quick-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.quick-btn {
    display: block;
    width: 100%;
    background: rgba(224, 175, 20, 0.1);
    border: 1px solid var(--theme-primary-color);
    color: var(--theme-primary-color);
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.quick-btn:last-child {
    margin-bottom: 0;
}

.quick-btn:hover {
    background: var(--theme-primary-color);
    color: var(--white);
}

.chatbot-footer {
    padding: 15px;
    background: var(--white);
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 12px 12px;
    display: flex;
    gap: 10px;
}

.chatbot-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.chatbot-input:focus {
    border-color: var(--theme-primary-color);
}

.chatbot-send {
    width: 45px;
    height: 45px;
    background: var(--theme-primary-color);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chatbot-send:hover {
    background: var(--theme-primary-hover);
    transform: scale(1.05);
}

@media (max-width: 767px) {
    .floating-chatbot {
        bottom: 20px;
        right: 20px;
    }

    .chatbot-toggle {
        width: 60px;
        height: 60px;
    }

    .chatbot-toggle i {
        font-size: 26px;
    }

    .chatbot-window {
        width: calc(100vw - 40px);
        height: calc(100vh - 100px);
        bottom: 20px;
        right: 20px;
    }
}

/* ======================================
   Back to Top Button
   ====================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--theme-primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(224, 175, 20, 0.4);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--theme-primary-hover);
    box-shadow: 0 6px 20px rgba(0, 42, 61, 0.5);
    transform: translateY(-3px);
}

/* ======================================
   Scroll Animations
   ====================================== */
.fade-in-up,
.challenge-card,
.service-card,
.success-card,
.team-member-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-up.animated,
.challenge-card.animated,
.service-card.animated,
.success-card.animated,
.team-member-card.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for cards */
.challenge-card:nth-child(1),
.service-card:nth-child(1),
.success-card:nth-child(1),
.team-member-card:nth-child(1) {
    transition-delay: 0.1s;
}

.challenge-card:nth-child(2),
.service-card:nth-child(2),
.success-card:nth-child(2),
.team-member-card:nth-child(2) {
    transition-delay: 0.2s;
}

.challenge-card:nth-child(3),
.service-card:nth-child(3),
.success-card:nth-child(3),
.team-member-card:nth-child(3) {
    transition-delay: 0.3s;
}

.challenge-card:nth-child(4),
.service-card:nth-child(4),
.success-card:nth-child(4),
.team-member-card:nth-child(4) {
    transition-delay: 0.4s;
}

/* Header scrolled state */
.kgp-site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Mobile menu active state */
.navbar-toggler.active .icon-bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler.active .icon-bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.active .icon-bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Form error state */
input.error,
textarea.error,
select.error {
    border-color: #e74c3c;
}

input.error:focus,
textarea.error:focus,
select.error:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

/* ======================================
   ANIMATIONS & TRANSITIONS
   ====================================== */

/* Hero Section Animations */
.hero-content h1,
.hero-content p,
.hero-content .hero-btn {
    opacity: 0;
    transform: translateY(30px);
}

.hero-content.animate h1 {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content.animate p {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-content.animate .hero-btn:nth-of-type(1) {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-content.animate .hero-btn:nth-of-type(2) {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Fade-In Animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Card Animations */
.service-card,
.success-card,
.testimonial-card,
.team-card,
.why-choose-card,
.challenge-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.service-card.animate-in {
    animation: fadeInUp 0.3s ease-out forwards;
}

.success-card.animate-in {
    animation: fadeInUp 0.3s ease-out forwards;
}

.testimonial-card.animate-in {
    animation: fadeInUp 0.3s ease-out forwards;
}

.team-card.animate-in {
    animation: fadeInUp 0.3s ease-out forwards;
}

.why-choose-card.animate-in {
    animation: fadeInUp 0.3s ease-out forwards;
}

.challenge-card.animate-in {
    animation: fadeInUp 0.3s ease-out forwards;
}

/* Stagger delays for cards */
.service-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2) { animation-delay: 0.05s; }
.service-card:nth-child(3) { animation-delay: 0.1s; }

.success-card:nth-child(1) { animation-delay: 0s; }
.success-card:nth-child(2) { animation-delay: 0.05s; }
.success-card:nth-child(3) { animation-delay: 0.1s; }
.success-card:nth-child(4) { animation-delay: 0.15s; }

.testimonial-card:nth-child(1) { animation-delay: 0s; }
.testimonial-card:nth-child(2) { animation-delay: 0.05s; }
.testimonial-card:nth-child(3) { animation-delay: 0.1s; }

.team-card:nth-child(1) { animation-delay: 0s; }
.team-card:nth-child(2) { animation-delay: 0.05s; }

.why-choose-card:nth-child(1) { animation-delay: 0s; }
.why-choose-card:nth-child(2) { animation-delay: 0.05s; }
.why-choose-card:nth-child(3) { animation-delay: 0.1s; }

.challenge-card:nth-child(1) { animation-delay: 0s; }
.challenge-card:nth-child(2) { animation-delay: 0.05s; }
.challenge-card:nth-child(3) { animation-delay: 0.1s; }

/* Three-Pillar Table Row Animation */
.pillar-row {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.pillar-row.animate-in {
    animation: fadeInUp 0.3s ease-out forwards;
}

.pillar-row:nth-child(1) { animation-delay: 0s; }
.pillar-row:nth-child(2) { animation-delay: 0.05s; }
.pillar-row:nth-child(3) { animation-delay: 0.1s; }
.pillar-row:nth-child(4) { animation-delay: 0.15s; }
.pillar-row:nth-child(5) { animation-delay: 0.2s; }

/* Mission Table Row Animation */
.mission-row {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.mission-row.animate-in {
    animation: fadeInUp 0.3s ease-out forwards;
}

/* Header row animates first */
.mission-row.header-row {
    animation-delay: 0s;
}

/* Data rows stagger after header */
.mission-row:nth-child(2) { animation-delay: 0.05s; }
.mission-row:nth-child(3) { animation-delay: 0.1s; }
.mission-row:nth-child(4) { animation-delay: 0.15s; }

/* Process Timeline Animation */
.process-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.process-step.animate-in {
    animation: fadeInUp 0.3s ease-out forwards;
}

.process-step:nth-child(1) { animation-delay: 0s; }
.process-step:nth-child(2) { animation-delay: 0.05s; }
.process-step:nth-child(3) { animation-delay: 0.1s; }
.process-step:nth-child(4) { animation-delay: 0.15s; }
.process-step:nth-child(5) { animation-delay: 0.2s; }
.process-step:nth-child(6) { animation-delay: 0.25s; }

/* Trust Badge Animation */
.trust-badge {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.trust-badge.animate-in {
    animation: fadeInUp 0.3s ease-out forwards;
}

.trust-badge:nth-child(1) { animation-delay: 0s; }
.trust-badge:nth-child(2) { animation-delay: 0.05s; }
.trust-badge:nth-child(3) { animation-delay: 0.1s; }
.trust-badge:nth-child(4) { animation-delay: 0.15s; }
.trust-badge:nth-child(5) { animation-delay: 0.2s; }
.trust-badge:nth-child(6) { animation-delay: 0.25s; }

/* FAQ Item Animation */
.faq-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.faq-item.animate-in {
    animation: fadeInUp 0.3s ease-out forwards;
}

.faq-item:nth-child(1) { animation-delay: 0s; }
.faq-item:nth-child(2) { animation-delay: 0.04s; }
.faq-item:nth-child(3) { animation-delay: 0.08s; }
.faq-item:nth-child(4) { animation-delay: 0.12s; }
.faq-item:nth-child(5) { animation-delay: 0.16s; }
.faq-item:nth-child(6) { animation-delay: 0.2s; }
.faq-item:nth-child(7) { animation-delay: 0.24s; }
.faq-item:nth-child(8) { animation-delay: 0.28s; }

/* Section Title Animation */
.kgp-section-title {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.kgp-section-title.animate-in {
    animation: fadeInUp 0.3s ease-out forwards;
}

/* AI Platform Feature Items Animation */
.ai-feature-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.ai-feature-item.animate-in {
    animation: fadeInUp 0.3s ease-out forwards;
}

.ai-feature-item:nth-child(1) { animation-delay: 0s; }
.ai-feature-item:nth-child(2) { animation-delay: 0.05s; }
.ai-feature-item:nth-child(3) { animation-delay: 0.1s; }
.ai-feature-item:nth-child(4) { animation-delay: 0.15s; }
.ai-feature-item:nth-child(5) { animation-delay: 0.2s; }

/* AI Visual Mockup Animation */
.ai-visual {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.ai-visual.animate-in {
    animation: fadeInUp 0.4s ease-out forwards;
    animation-delay: 0.1s;
}

/* Contact Form Box Animation */
.contact-form-box,
.contact-info-box {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.contact-form-box.animate-in {
    animation: fadeInUp 0.3s ease-out forwards;
    animation-delay: 0.1s;
}

.contact-info-box.animate-in {
    animation: fadeInUp 0.3s ease-out forwards;
}

/* CTA Section Content Animation */
.cta-buttons {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.cta-buttons.animate-in {
    animation: fadeInUp 0.3s ease-out forwards;
    animation-delay: 0.1s;
}

/* Stats Section - No animation on stat-item containers */
/* Counter animation handled separately by JavaScript */

/* Enhanced Button Hover Effects */
.theme-btn {
    transition: all 0.3s ease;
}

.theme-btn:hover {
    transform: scale(1.04);
}

.hero-btn {
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
}

/* Enhanced Card Hover Effects */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.success-card {
    transition: all 0.3s ease;
}

.success-card:hover {
    transform: translateY(-5px);
}

.team-card {
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.why-choose-card {
    transition: all 0.3s ease;
}

.why-choose-card:hover {
    transform: translateY(-5px);
}

.challenge-card {
    transition: all 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-5px);
}

/* Stats Counter Animation State */
.stat-number {
    transition: all 0.3s ease;
}

.stat-number.counting {
    color: var(--white);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
