/* ********************************************************

    ** Custom Stylesheet **
    Next Wave Host brand styling for the WHMCS "Six" theme.
    Colors and font match nextwavehost.com.

***************************************************** */

:root {
    --nwh-primary: #245f5c;
    --nwh-dark: #0f2e2c;
    --nwh-deep: #1b5250;
    --nwh-accent: #38aca8;
    --nwh-bright: #00d3ca;
    --nwh-orange: #fd9009;
    --nwh-text: #222222;
    --nwh-soft: #f3f8f7;
}

body,
h1, h2, h3, h4, h5, h6,
.btn, input, select, textarea, .navbar {
    font-family: "Roboto", "Open Sans", Arial, sans-serif;
}
body { color: var(--nwh-text); }

a { color: var(--nwh-primary); }
a:hover, a:focus { color: var(--nwh-dark); }

/* Promo bar */
.nwh-promo {
    background: var(--nwh-dark);
    color: #fff;
    font-size: 14px;
    text-align: center;
    padding: 8px 0;
}
.nwh-promo a { color: var(--nwh-orange); font-weight: 700; }
.nwh-promo a:hover { color: #fff; }
.nwh-promo-sep { margin: 0 10px; opacity: .6; }
@media (max-width: 767px) {
    .nwh-promo span { display: block; }
    .nwh-promo-sep { display: none !important; }
}

/* Header and logo */
section#header { background: #fff; padding: 14px 0; }
#header .logo.nwh-logo img { max-height: 52px; width: auto; }
#header .top-nav a { color: var(--nwh-dark); }
#header .top-nav a.btn { background: var(--nwh-primary); color: #fff; border-color: var(--nwh-primary); }

/* Main navigation */
section#main-menu,
#main-menu .navbar-main {
    background-color: var(--nwh-primary);
    border-color: var(--nwh-primary);
}
#main-menu .navbar-main .navbar-nav > li > a { color: #fff; font-weight: 500; }
#main-menu .navbar-main .navbar-nav > li > a:hover,
#main-menu .navbar-main .navbar-nav > .active > a,
#main-menu .navbar-main .navbar-nav > .open > a,
#main-menu .navbar-main .navbar-nav > .open > a:focus,
#main-menu .navbar-main .navbar-nav > .open > a:hover {
    background-color: var(--nwh-dark);
    color: #fff;
}

/* Homepage banner and shortcuts */
section#home-banner {
    background: linear-gradient(135deg, var(--nwh-dark) 0%, var(--nwh-primary) 100%);
    padding: 50px 0;
}
section#home-banner h2 { font-weight: 900; color: #fff; }
#home-banner .btn.search,
#home-banner .btn-warning,
#home-banner .btn.transfer {
    background: var(--nwh-orange);
    border-color: var(--nwh-orange);
    color: #fff;
    font-weight: 700;
}
#home-banner .btn.transfer { background: var(--nwh-accent); border-color: var(--nwh-accent); }
.home-shortcuts { background: var(--nwh-accent); }
.home-shortcuts .lead { color: #fff; font-weight: 500; }
.home-shortcuts li { border-color: rgba(255,255,255,.25) !important; }
.home-shortcuts li a:hover { background: var(--nwh-deep); }

/* Buttons */
.btn-primary, .btn-success, .btn-info {
    background-color: var(--nwh-primary);
    border-color: var(--nwh-primary);
    border-radius: 8px;
    font-weight: 700;
}
.btn-primary:hover, .btn-success:hover, .btn-info:hover,
.btn-primary:focus, .btn-success:focus, .btn-info:focus {
    background-color: var(--nwh-dark);
    border-color: var(--nwh-dark);
}
.btn-warning { background-color: var(--nwh-orange); border-color: var(--nwh-orange); border-radius: 8px; }

/* Panels, sidebar, headings */
.panel-sidebar .panel-heading,
.panel-primary > .panel-heading {
    background-color: var(--nwh-primary);
    border-color: var(--nwh-primary);
    color: #fff;
}
.panel-sidebar .list-group-item.active,
.panel-sidebar .list-group-item.active:hover {
    background-color: var(--nwh-accent);
    border-color: var(--nwh-accent);
}
.header-lined h1 { color: var(--nwh-dark); font-weight: 800; }
.label-success, .badge-success { background-color: var(--nwh-accent); }

/* Store product cards */
#order-standard_cart .product header,
#order-standard_cart .products .product header { background: var(--nwh-primary); }
#order-standard_cart .btn-success,
#order-standard_cart .btn-order-now { background: var(--nwh-orange); border-color: var(--nwh-orange); }
#order-standard_cart .products .product div.product-pricing span.price { color: var(--nwh-dark); }

/* New homepage sections */
.nwh-section { padding: 48px 0; }
.nwh-section-alt { background: var(--nwh-soft); }
.nwh-h2 { color: var(--nwh-primary); font-weight: 800; font-size: 28px; margin: 0 0 10px; }
.nwh-lead { font-size: 17px; color: #444; margin-bottom: 24px; }
.nwh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.nwh-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #dfe9e8;
    border-radius: 12px;
    padding: 22px;
    color: var(--nwh-text);
    text-decoration: none !important;
    transition: box-shadow .2s, transform .2s;
}
.nwh-card:hover { box-shadow: 0 10px 24px rgba(15,46,44,.12); transform: translateY(-2px); color: var(--nwh-text); }
.nwh-card-title { font-weight: 700; font-size: 18px; color: var(--nwh-dark); }
.nwh-card-price { font-weight: 900; font-size: 26px; color: var(--nwh-primary); margin: 6px 0 8px; }
.nwh-card-price small { font-size: 14px; font-weight: 500; color: #666; }
.nwh-card-text { flex: 1; font-size: 15px; color: #555; }
.nwh-card-cta { margin-top: 14px; font-weight: 700; color: var(--nwh-orange); }
.nwh-more { margin-top: 20px; font-weight: 700; }
.nwh-feature { background: #fff; border-radius: 12px; padding: 22px; border: 1px solid #dfe9e8; }
.nwh-feature i { font-size: 24px; color: var(--nwh-accent); display: block; margin-bottom: 10px; }
.nwh-feature strong { display: block; color: var(--nwh-dark); font-size: 17px; margin-bottom: 6px; }
.nwh-feature span { color: #555; font-size: 15px; }
.nwh-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.nwh-btn { background: var(--nwh-primary); color: #fff !important; border-radius: 8px; font-weight: 700; margin: 0 8px 8px 0; }
.nwh-btn:hover { background: var(--nwh-dark); }
.nwh-btn-outline { border: 2px solid var(--nwh-primary); color: var(--nwh-primary) !important; border-radius: 8px; font-weight: 700; margin: 0 8px 8px 0; background: transparent; }
.nwh-btn-outline:hover { background: var(--nwh-soft); }

/* News on the homepage */
#main-body h2, .announcement-single h3 a { color: var(--nwh-primary); }
.announcement-single .label, #main-body .label-default { background-color: var(--nwh-primary); }

/* Footer */
section#footer { background: var(--nwh-dark); color: #cfe3e1; padding: 40px 0 20px; }
section#footer p { color: #9fbfbc; margin-top: 24px; }
section#footer a { color: #fff; }
section#footer .back-to-top { background: var(--nwh-accent); color: #fff; }
.nwh-footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    text-align: left;
}
.nwh-footer-cols strong { display: block; color: #fff; margin-bottom: 10px; font-size: 16px; }
.nwh-footer-cols a, .nwh-footer-cols span { display: block; color: #cfe3e1 !important; font-size: 14px; margin-bottom: 6px; }
.nwh-footer-cols a:hover { color: var(--nwh-bright) !important; }