/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */

/* Custom CSS for Nexus Cart
 *
 * This block allows you to customize theme colors and styles for the entire Nexus Cart template.
 *
 * To customize colors:
 * - Replace the var() references with your own hex colors or other CSS values.
 * - For example, instead of --primary: #4b5563; use --primary: #your-color;
 * - You can also override any CSS properties here.
 */

html {
    font-size: 14px;
}

:root {
    --white: #fff;

    /* Neutral shades */
    --neutral-50: #fbf9fa;
    --neutral-100: #f4f5f7;
    --neutral-200: #e4e4e7;
    --neutral-300: #d0d5dd;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    --neutral-950: #030712;

    /* Neutral shades */
    /* define own pallet with brand colors */
    --primary-50: var(--neutral-50);
    --primary-100: var(--neutral-100);
    --primary-200: var(--neutral-200);
    --primary-300: var(--neutral-300);
    --primary-400: var(--neutral-400);
    --primary-500: var(--neutral-500);
    --primary-600: var(--neutral-600);
    --primary-700: var(--neutral-700);
    --primary-800: var(--neutral-800);
    --primary-900: var(--neutral-900);
    --primary-950: var(--neutral-900);

    /* Primary colors */
    /* Use shades from comments if `primary` colors use other colors, then neutral */
    --primary: var(--neutral-900);          /* var(--primary-600) */
    --primary-lifted: var(--neutral-800);   /* var(--primary-700) */
    --primary-accented: var(--neutral-700); /* var(--primary-800) */

    /* Secondary colors */
    --secondary: var(--neutral-500);
    --secondary-lifted: var(--neutral-600);
    --secondary-accented: var(--neutral-700);

    /* Success colors */
    --success: #00a63e;
    --success-lifted: #008236;
    --success-accented: #016630;

    /* Info colors */
    --info: #155dfc;
    --info-lifted: #1447e6;
    --info-accented: #193cb8;

    /* Notice colors */
    --notice: #7f22fe;
    --notice-lifted: #7008e7;
    --notice-accented: #5d0ec0;

    /* Warning colors */
    --warning: #f54a00;
    --warning-lifted: #ca3500;
    --warning-accented: #9f2d00;

    /* Error colors */
    --error: #e7000b;
    --error-lifted: #c10007;
    --error-accented: #9f0712;

    /* Grayscale colors */
    --grayscale: var(--neutral-900);
    --grayscale-lifted: var(--neutral-800);
    --grayscale-accented: var(--neutral-700);

    /* Neutral colors */
    --neutral: var(--neutral-500);
    --neutral-lifted: var(--neutral-600);
    --neutral-accented: var(--neutral-700);

    /* Text neutral colors */
    --text-inverted: var(--white);
    --text-muted: var(--neutral-400);
    --text-lifted: var(--neutral-500);
    --text-accented: var(--neutral-600);
    --text: var(--neutral-900);

    /* Border neutral colors */
    --border-muted: var(--neutral-200);
    --border: var(--neutral-300);
    --border-lifted: var(--neutral-400);
    --border-accented: var(--neutral-600);

    /* Background neutral colors */
    --bg: var(--white);
    --bg-muted: var(--neutral-50);
    --bg-lifted: var(--neutral-100);
    --bg-accented: var(--neutral-200);
    --bg-inverted: var(--neutral-900);

    /* Additional colors */
    --yellow-200: #fff085;
    --yellow-300: #ffdf20;
    --teal-300: #46edd5;
    --teal-400: #00d5be;
    --emerald-300: #5ee9b5;
    --pink-400: #fb64b6;

    /* Additional custom properties */
    /* Font sizes */
    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-md: 0.875rem;
    --text-lg: 1rem;

    /* Spacing */
    --outline-sm: 1px;
    --outline-md: 2px;
    --outline-lg: 3px;

    /* Rounding */
    --rounding-sm: 0.25rem;
    --rounding-md: 0.5rem;
    --rounding-lg: 0.75rem;

    /* Other */
    --letter-spacing: 0em;
    --disabled-opacity: 25%;

    /* =====================================================
       CloudHost.ke brand
       ===================================================== */
    --brand-blue: #1857F2;
    --brand-navy: #0B1830;
    --brand-green: #1C8A4B;
    --brand-offwhite: #F7F9FC;

    /* Wire brand colors into the Nexus Cart palette used
       throughout buttons/links/badges site-wide */
    --primary: var(--brand-blue);
    --primary-lifted: #1247c9;
    --primary-accented: #0d379e;

    --info: var(--brand-blue);
    --info-lifted: #1247c9;
    --info-accented: #0d379e;

    --success: var(--brand-green);
    --success-lifted: #166f3c;
    --success-accented: #12592f;

    --text: var(--brand-navy);
    --bg-inverted: var(--brand-navy);
}

/* =====================================================
   CloudHost.ke — global brand application (all pages)
   ===================================================== */

a,
a:focus {
    color: var(--brand-blue);
}
a:hover {
    color: var(--brand-navy);
}

h1, h2, h3, h4, h5, h6,
.panel-heading,
section#header .logo-text {
    color: var(--brand-navy);
}

.btn-primary {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--brand-navy);
    border-color: var(--brand-navy);
}

.label-success,
.badge-success {
    background-color: var(--brand-green);
}

/* Top utility bar: keep white, this is where the small
   site-wide logo (set via LogoURL) lives on every page */
section#header {
    background-color: #fff;
}

/* Main navigation: navy background, blue hover/active */
.navbar-main {
    background-color: var(--brand-navy);
}
.navbar-main li.account {
    background-color: #071021;
}
.navbar-main .navbar-nav > li > a {
    color: #fff;
}
.navbar-main .navbar-nav > li > a:hover,
.navbar-main .navbar-nav > li > a:focus,
.navbar-main .navbar-nav > .active > a,
.navbar-main .navbar-nav > .active > a:hover,
.navbar-main .navbar-nav > .active > a:focus,
.navbar-main .navbar-nav > .open > a,
.navbar-main .navbar-nav > .open > a:hover,
.navbar-main .navbar-nav > .open > a:focus {
    color: #fff;
    background-color: var(--brand-blue);
}

/* =====================================================
   Homepage hero (heavy customization — homepage only)
   ===================================================== */

.ch-hero {
    background-color: #fff;
    padding: 72px 0 56px;
    text-align: center;
}
.ch-hero img.ch-hero-logo {
    max-width: 360px;
    width: 100%;
    height: auto;
    margin-bottom: 28px;
}
.ch-hero .ch-tagline {
    font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--brand-navy);
    margin-bottom: 32px;
    letter-spacing: 0.01em;
}
.ch-hero .ch-cta {
    display: inline-block;
    background-color: var(--brand-blue);
    color: #fff;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: var(--rounding-md);
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.15s ease;
}
.ch-hero .ch-cta:hover,
.ch-hero .ch-cta:focus {
    background-color: var(--brand-navy);
    color: #fff;
    text-decoration: none;
}

/* Plan comparison */
.ch-plans {
    background-color: var(--brand-offwhite);
    padding: 56px 0;
}
.ch-plans h2 {
    text-align: center;
    margin-bottom: 40px;
}
.ch-plan-card {
    background-color: #fff;
    border: 1px solid #e4e4e7;
    border-radius: var(--rounding-lg);
    padding: 32px 24px;
    text-align: center;
    margin-bottom: 24px;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.ch-plan-card:hover {
    box-shadow: 0 8px 24px rgba(11, 24, 48, 0.1);
    transform: translateY(-2px);
}
.ch-plan-card.ch-plan-featured {
    border: 2px solid var(--brand-blue);
    position: relative;
}
.ch-plan-card .ch-plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--brand-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ch-plan-card h3 {
    color: var(--brand-navy);
    margin-top: 0;
    margin-bottom: 8px;
}
.ch-plan-card .ch-plan-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 4px;
}
.ch-plan-card .ch-plan-price span {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
}
.ch-plan-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}
.ch-plan-card ul li {
    padding: 6px 0;
    color: #4b5563;
}
.ch-plan-card ul li i {
    color: var(--brand-green);
    margin-right: 8px;
    width: 16px;
}
.ch-plan-card .btn-order {
    display: block;
    background-color: var(--brand-navy);
    color: #fff;
    font-weight: 700;
    padding: 12px;
    border-radius: var(--rounding-md);
    text-decoration: none;
    transition: background-color 0.15s ease;
}
.ch-plan-card.ch-plan-featured .btn-order {
    background-color: var(--brand-blue);
}
.ch-plan-card .btn-order:hover,
.ch-plan-card .btn-order:focus {
    background-color: var(--brand-green);
    color: #fff;
    text-decoration: none;
}

/* =====================================================
   Footer (heavy customization — all pages)
   ===================================================== */

section#footer {
    background-color: var(--brand-navy);
    padding: 40px 0 24px;
    color: #c9d2e0;
}
section#footer .ch-footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 16px;
}
section#footer .ch-footer-tagline {
    font-size: 13px;
    color: #8b97ad;
    margin-bottom: 12px;
}
section#footer a {
    color: #9db4e8;
}
section#footer a:hover {
    color: var(--brand-green);
}
section#footer .ch-footer-powered {
    font-size: 11px;
    color: #5c6a82;
    margin-top: 8px;
}
section#footer .back-to-top {
    color: #c9d2e0;
}
