/* ==========================================================================
   KMG Kopela Trading Enterprise — Brand Theme
   Palette complements the logo swoosh: teal -> green -> orange
   Primary  #0E9B97 (teal)   Secondary #5FB347 (green)   Accent #F26F21 (orange)
   ========================================================================== */

:root {
    --primary: #0e9b97;
    --primary-dark: #0b7e7b;
    --primary-light: #14b8a6;
    --primary-soft: #ecf7f5;
    --secondary: #5fb347;
    --secondary-dark: #4a9636;
    --accent: #f26f21;
    --accent-dark: #d85d14;
    --ink: #0f2a30;
    --body: #475569;
    --page: #f6faf9;
    --signature-gradient: linear-gradient(120deg, #0e9b97 0%, #2fa98a 42%, #5fb347 68%, #f26f21 118%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--body);
    background-color: var(--page);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
.font-display {
    font-family: "Plus Jakarta Sans", "Inter", sans-serif;
    color: var(--ink);
    letter-spacing: -0.02em;
}

/* ---- Brand surfaces ---------------------------------------------------- */
.brand-gradient {
    background: var(--signature-gradient);
}

.hero-surface {
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(242, 111, 33, 0.10), transparent 60%),
        radial-gradient(800px 600px at -5% 20%, rgba(95, 179, 71, 0.12), transparent 55%),
        linear-gradient(180deg, #ecf7f5 0%, #f6faf9 100%);
}

.soft-teal {
    background-color: var(--primary-soft);
}

/* ---- Cards & elevation ------------------------------------------------- */
.subtle-shadow {
    box-shadow: 0 10px 30px -14px rgba(15, 42, 48, 0.14);
}

.hover-lift {
    transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.35s ease;
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 50px -20px rgba(15, 42, 48, 0.22);
}

/* ---- Buttons ----------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: 9999px;
    padding: 0.85rem 1.75rem;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 12px 24px -12px rgba(14, 155, 151, 0.7);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-accent {
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 12px 24px -12px rgba(242, 111, 33, 0.7);
}

.btn-accent:hover {
    background-color: var(--accent-dark);
}

.btn-white {
    background-color: #fff;
    color: var(--primary-dark);
    box-shadow: 0 12px 24px -12px rgba(15, 42, 48, 0.4);
}

.btn-white:hover {
    background-color: #f1f5f4;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
}

.btn-outline-white {
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #fff;
    background: transparent;
}

.btn-outline-white:hover {
    background-color: #fff;
    color: var(--primary-dark);
}

/* ---- Pills / chips ----------------------------------------------------- */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ---- Section heading accent bar --------------------------------------- */
.accent-bar {
    width: 4.5rem;
    height: 0.35rem;
    border-radius: 9999px;
    background: var(--signature-gradient);
}

/* ---- Navbar ------------------------------------------------------------ */
.nav-link {
    position: relative;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 0;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-dark);
}

#site-nav.scrolled {
    box-shadow: 0 8px 28px -16px rgba(15, 42, 48, 0.28);
}

/* ---- Icon tiles -------------------------------------------------------- */
.icon-tile {
    width: 3.5rem;
    height: 3.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    font-size: 1.4rem;
}

.icon-tile-primary {
    background: rgba(14, 155, 151, 0.12);
    color: var(--primary);
}

.icon-tile-secondary {
    background: rgba(95, 179, 71, 0.14);
    color: var(--secondary-dark);
}

.icon-tile-accent {
    background: rgba(242, 111, 33, 0.12);
    color: var(--accent);
}

/* ---- Scroll reveal ----------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hover-lift,
    .btn {
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ---- Form controls ----------------------------------------------------- */
.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #d8e2e0;
    background: #fff;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 155, 151, 0.18);
}

/* ---- Footer links ------------------------------------------------------ */
.footer-link {
    color: #9fb0ad;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #fff;
}

.social-btn {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5d3;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}