/* ==========================================================================
   KLINCHEM SOLUTION - MODERN PREMIUM DESIGN SYSTEM
   ========================================================================== */

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

:root {
    /* Brand Colors */
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --primary-deep: #0c4a6e;
    --accent: #10b981;
    --accent-hover: #059669;
    --dark: #0f172a;
    --slate: #475569;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    
    /* Shadows & Effects */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.25);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--light-bg);
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   NAVIGATION / HEADER
   ========================================================================== */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo img {
    height: 48px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-deep);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--slate);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 10px;
    transition: var(--transition);
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--primary);
    background: rgba(2, 132, 199, 0.08);
}

.nav-cta {
    background: var(--accent);
    color: white !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    box-shadow: var(--shadow-glow);
}

.nav-cta:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-1px);
}

/* ==========================================
   MOBILE MENU
   ========================================== */

.menu-toggle {
    display: none;
    background: var(--primary-deep);
    color: white;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: var(--primary);
}

/* Mobile Navigation */
@media (max-width: 768px) {

    .nav-container {
        position: relative;
        padding: 12px 16px;
    }

    .brand-logo {
        gap: 8px;
    }

    .brand-logo img {
        height: 40px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        flex-direction: column;
        align-items: stretch;

        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);

        padding: 12px 16px 18px;
        margin: 0;

        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);

        box-shadow: 0 10px 25px rgba(0,0,0,0.12);

        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 14px 16px;
        border-radius: 10px;
        font-size: 1rem;
    }

    .nav-links .nav-cta {
        text-align: center;
        margin-top: 6px;
    }

    .hero {
        padding: 65px 18px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
    }

    .send-actions {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   HERO & PROMO SECTIONS
   ========================================================================== */

.hero-banner {
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
    color: white;
    padding: 80px 24px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 20%, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0) 70%);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 640px;
    margin: 0 auto 32px;
}

/* ==========================================================================
   CONVERSION / QUOTATION BUILDER
   ========================================================================== */

.quote-container {
    max-width: 1000px;
    margin: -60px auto 80px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.quote-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 40px;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--slate);
}

.form-input, .form-select {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    background-color: var(--light-bg);
    color: var(--dark);
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

.form-input:focus, .form-select:focus {
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

.add-btn {
    background: var(--primary-deep);
    color: white;
    border: none;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.add-btn:hover {
    background: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   ORDER TABLE & SUMMARY
   ========================================================================== */

.summary-wrapper {
    margin-top: 32px;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.quote-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.quote-table th {
    background: #f1f5f9;
    padding: 16px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--slate);
    text-transform: uppercase;
}

.quote-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--dark);
}

.grand-total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 24px;
    border-radius: 12px;
    margin: 24px 0;
    border: 1px solid var(--border);
}

.grand-total-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate);
}

.grand-total-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-deep);
}

.submit-btn {
    width: 100%;
    background: var(--accent);
    color: white;
    border: none;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}

.submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.trust-item h4 {
    font-size: 0.95rem;
    color: var(--primary-deep);
    margin-bottom: 4px;
}

.trust-item p {
    font-size: 0.85rem;
    color: var(--slate);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2rem; }
    .trust-badges { grid-template-columns: 1fr; gap: 16px; }
    
}
/* BRAND LOGO STYLES */
.brand-name {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo {
    height: 45px; /* Adjust height to fit your navbar preferred height */
    width: auto;
    object-fit: contain;
    border-radius: 6px; /* Optional slight rounding for modern feel */
}