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

    ** 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%;
}
.comsys-hero {
    background: linear-gradient(135deg, #0142FC 0%, #0130b8 100%);
    color: #ffffff;
    padding: 90px 0;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 30px;
}

.hero-actions .btn {
    font-weight: 600;
    padding: 12px 26px;
}

.hero-icon {
    font-size: 140px;
    opacity: 0.15;
}
/* STEP 3 – Hero button emphasis */
.hero-actions .btn-primary {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hero-actions .btn-outline-light {
    opacity: 0.85;
}
/* STEP 4 – Reduce visual noise on non-featured cards */
.comsys-product-card:not(.featured) {
    background-color: var(--bg);
    opacity: 0.92;
}
/* STEP 5 – Header brand alignment */

.header {
    border-bottom: 1px solid var(--border-muted);
}

.navbar-brand img {
    max-height: 48px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text);
}

.navbar-nav .nav-link:hover {
    color: #0142FC;
}

.navbar-nav .dropdown-toggle::after {
    opacity: 0.6;
}
/* Trust bar */
.comsys-trust {
    background-color: var(--bg-lifted);
    padding: 30px 0;
}

.comsys-trust strong {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.comsys-trust p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}
/* Space between hero and trust bar */
.comsys-trust {
    margin-top: 40px;
}
/* Improve trust bar readability */
.comsys-trust strong {
    color: var(--neutral-900);
}

.comsys-trust p {
    color: var(--neutral-600);
}
@media (max-width: 768px) {
    .comsys-hero {
        padding: 50px 0;
    }
}

/* =========================================
   STEP 7 – Product Cards Enhancement
   ========================================= */

/* Base card styling */
.card {
    border-radius: 12px;
    border: 1px solid var(--border-muted);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effect */
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

/* Card body spacing */
.card-body {
    padding: 2rem;
}

/* Button inside cards */
.card .btn {
    font-weight: 500;
}

/* Featured card (Shared Hosting) */
.comsys-product-card.featured {
    border: 2px solid #0142FC;
    box-shadow: 0 12px 28px rgba(1, 66, 252, 0.15);
}
/* =========================================
   STEP 8 – CTA Colour Discipline
   ========================================= */

/* Primary CTA – ORANGE (conversion actions) */
.btn-primary {
    background-color: #FAA105;
    border-color: #FAA105;
    color: #1f2937;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #e89204;
    border-color: #e89204;
    color: #1f2937;
}

/* Secondary CTA – BLUE (navigation / secondary) */
.btn-outline-primary {
    color: #0142FC;
    border-color: #0142FC;
}

.btn-outline-primary:hover {
    background-color: #0142FC;
    color: #ffffff;
}

/* Card buttons default to secondary */
.card .btn-primary {
    background-color: #0142FC;
    border-color: #0142FC;
    color: #ffffff;
}

.card .btn-primary:hover {
    background-color: #0130b8;
    border-color: #0130b8;
}
.hero-actions .btn-primary {
    box-shadow: 0 10px 26px rgba(250, 161, 5, 0.35);
}

/* =========================================
   STEP 9 – Support & Account Cards Styling
   ========================================= */

/* Base styling for icon cards */
.action-icon-btns a {
    display: block;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effect */
.action-icon-btns a:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

/* Icon container spacing */
.action-icon-btns .ico-container {
    margin-bottom: 12px;
}

/* Text alignment consistency */
.action-icon-btns a {
    text-align: center;
}
.action-icon-btns a {
    opacity: 0.95;
}


.comsys-support-hero {
    background: linear-gradient(180deg, #0142FC 0%, #0130b8 100%);
    color: #ffffff;
    text-align: center;
    padding: 60px 20px 50px;
    margin-bottom: 40px;
    border-radius: 14px;
}

.comsys-support-hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.comsys-support-hero p {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 720px;
    margin: 0 auto;
}

.support-ticket-container,
.ticket-submit {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    padding: 35px;
}

.ticket-submit button,
.btn-primary {
    background-color: #FAA105;
    border-color: #FAA105;
    color: #1f2937;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ticket-submit button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.15);
}

.support-trust {
    text-align: center;
    color: #6b7280;
    margin-bottom: 20px;
    font-size: 0.95rem;
}


/* =========================================
   COMSYS – Knowledgebase Hero
   ========================================= */

.kb-hero {
    background: linear-gradient(180deg, #0142FC 0%, #0130b8 100%);
    padding: 56px 20px 48px;
    margin: 30px 0 40px;
    border-radius: 18px;
    color: #ffffff;
}

.kb-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.kb-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
}

.kb-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.kb-hero p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile optimization */
@media (max-width: 768px) {
    .kb-hero {
        padding: 42px 16px 36px;
    }

    .kb-hero h1 {
        font-size: 1.8rem;
    }
}

.knowledgebase-search {
    margin-top: 20px;
}

/* =========================================
   COMSYS – Knowledgebase Search CTA Override
   ========================================= */

/* KB search button */
.knowledgebase-search .btn,
.knowledgebase-search button,
#knowledgebaseSearch .btn {
    background-color: #FAA105 !important;
    border-color: #FAA105 !important;
    color: #1f2937 !important;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 22px;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover state */
.knowledgebase-search .btn:hover,
.knowledgebase-search button:hover,
#knowledgebaseSearch .btn:hover {
    background-color: #e89204 !important;
    border-color: #e89204 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* =====================================================
   COMSYS – Knowledgebase Article Count Badges
   ===================================================== */

body[class*="knowledgebase"] .badge-info {
    background-color: #0142FC !important; /* brand blue */
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.75rem;
}

/* KB Search Button – Force Brand Colour */
#btnKnowledgebaseSearch {
    background-color: #FAA105 !important;
    border-color: #FAA105 !important;
    color: #1f2937 !important;
}
