/* =====================================================================
   INOVATE DIGITAL - Custom Stylesheet
   Namecheap-inspired UI on top of the WHMCS Twenty-One theme.

   Path on server:  templates/inovate-digital/css/custom.css
   This file is loaded LAST (after theme.min.css), so everything here
   wins. Never edit theme.min.css / all.min.css again - do it here.

   SECTIONS
   01. Brand tokens (edit colours here)
   02. Base + typography
   03. Buttons  (also fixes the leftover #369 blue)
   04. Bootstrap primary-colour overrides
   05. Utility top bar
   06. Main header (white, sticky)
   07. Hero + domain search
   08. Homepage sections
   09. Footer
   10. Client area polish
   11. Responsive
   ===================================================================== */


/* ---------------------------------------------------------------------
   01. BRAND TOKENS  <-- change your colours here and nowhere else
   --------------------------------------------------------------------- */
:root {
    --id-navy:        #1F3B57;   /* primary brand navy   */
    --id-navy-dark:   #16293C;   /* top bar / footer     */
    --id-navy-soft:   #2C5378;   /* links, hover states  */
    --id-orange:      #FF6B2C;   /* CTA / accent         */
    --id-orange-dark: #E85818;   /* CTA hover            */
    --id-orange-soft: #FFF1EA;   /* tinted backgrounds   */

    --id-ink:    #1B2733;        /* headings   */
    --id-body:   #4A5A6A;        /* body text  */
    --id-muted:  #7A8B9C;        /* meta text  */
    --id-line:   #E3E8EE;        /* borders    */
    --id-bg:     #F5F7FA;        /* page tint  */

    --id-radius:    10px;
    --id-radius-sm: 6px;
    --id-shadow:    0 2px 8px rgba(27, 39, 51, .06);
    --id-shadow-lg: 0 12px 32px rgba(27, 39, 51, .12);
}


/* ---------------------------------------------------------------------
   02. BASE + TYPOGRAPHY
   --------------------------------------------------------------------- */
html { font-size: 15px; }

body {
    color: var(--id-body);
    background-color: var(--id-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--id-ink);
    font-weight: 700;
    letter-spacing: -0.01em;
}

a { color: var(--id-navy-soft); }
a:hover, a:focus { color: var(--id-orange); text-decoration: none; }

.id-section        { padding: 64px 0; }
.id-section--tint  { background: #fff; }
.id-section-title  { font-size: 1.9rem; margin-bottom: 8px; text-align: center; }
.id-section-sub    { font-size: 1.05rem; color: var(--id-muted); text-align: center;
                     max-width: 640px; margin: 0 auto 40px; }
.id-eyebrow        { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem;
                     font-weight: 700; color: var(--id-orange); margin-bottom: 10px;
                     text-align: center; }


/* ---------------------------------------------------------------------
   03. BUTTONS
   These rules also replace the old Twenty-One blue (#369) that is still
   compiled into theme.min.css.
   --------------------------------------------------------------------- */
.btn {
    border-radius: var(--id-radius-sm);
    font-weight: 600;
    transition: all .15s ease-in-out;
}
.btn-lg { padding: .75rem 1.75rem; font-size: 1rem; border-radius: 8px; }

/* Primary = orange CTA */
.btn-primary,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active {
    background-color: var(--id-orange);
    border-color: var(--id-orange);
    color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--id-orange-dark);
    border-color: var(--id-orange-dark);
    color: #fff;
}
.btn-primary:focus,
.btn-primary.focus { box-shadow: 0 0 0 .2rem rgba(255, 107, 44, .35); }
.btn-primary.disabled, .btn-primary:disabled {
    background-color: var(--id-orange);
    border-color: var(--id-orange);
    opacity: .55;
}

.btn-outline-primary {
    color: var(--id-navy);
    border-color: var(--id-navy);
    background-color: transparent;
}
.btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active {
    background-color: var(--id-navy);
    border-color: var(--id-navy);
    color: #fff;
}
.btn-outline-primary.disabled, .btn-outline-primary:disabled {
    color: var(--id-navy);
    border-color: var(--id-navy);
}

/* Navy button - used for Transfer, secondary CTAs */
.btn-navy {
    background-color: var(--id-navy);
    border-color: var(--id-navy);
    color: #fff;
}
.btn-navy:hover, .btn-navy:focus { background-color: var(--id-navy-dark); color: #fff; }

.btn-link { color: var(--id-navy-soft); }
.btn-link:hover { color: var(--id-orange); }


/* ---------------------------------------------------------------------
   04. BOOTSTRAP PRIMARY-COLOUR OVERRIDES
   Every remaining place theme.min.css still paints the old blue.
   --------------------------------------------------------------------- */
.bg-primary       { background-color: var(--id-navy) !important; }
.text-primary     { color: var(--id-navy) !important; }
.border-primary   { border-color: var(--id-navy) !important; }
.badge-primary    { background-color: var(--id-navy); }
.progress-bar     { background-color: var(--id-orange); }

.page-link        { color: var(--id-navy-soft); }
.page-item.active .page-link {
    background-color: var(--id-navy);
    border-color: var(--id-navy);
}
.list-group-item.active {
    background-color: var(--id-navy);
    border-color: var(--id-navy);
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: var(--id-navy);
}
.dropdown-item.active, .dropdown-item:active {
    background-color: var(--id-navy);
    color: #fff;
}
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--id-navy);
    border-color: var(--id-navy);
}
.custom-range::-webkit-slider-thumb { background-color: var(--id-navy); }
.custom-range::-moz-range-thumb     { background-color: var(--id-navy); }
.custom-range::-ms-thumb            { background-color: var(--id-navy); }

/* Old darkened-blue leftovers (#2b5580) */
.upgrade .products .product .header,
.upgrade .products .product .btn,
.domain-pricing .tld-pricing-header div:nth-child(odd) {
    background-color: var(--id-navy) !important;
}
.status-onhold, .status-payment-pending, .status-delivered {
    background-color: var(--id-navy) !important;
}

/* Cards */
.card {
    border: 1px solid var(--id-line);
    border-radius: var(--id-radius);
    box-shadow: var(--id-shadow);
}

/* Form controls */
.form-control {
    border-color: var(--id-line);
    border-radius: var(--id-radius-sm);
}
.form-control:focus {
    border-color: var(--id-navy-soft);
    box-shadow: 0 0 0 .2rem rgba(44, 83, 120, .15);
}


/* ---------------------------------------------------------------------
   05. UTILITY TOP BAR
   --------------------------------------------------------------------- */
.id-topbar {
    background-color: var(--id-navy-dark);
    color: rgba(255, 255, 255, .75);
    font-size: .8rem;
}
.id-topbar a,
.id-topbar .btn {
    color: rgba(255, 255, 255, .75);
    font-size: .8rem;
    padding: 8px 0;
    display: inline-block;
    line-height: 1.2;
}
.id-topbar a:hover, .id-topbar .btn:hover { color: #fff; }
.id-topbar .id-topbar-list { list-style: none; margin: 0; padding: 0; }
.id-topbar .id-topbar-list li { display: inline-block; margin-right: 20px; }
.id-topbar .id-sep { color: rgba(255, 255, 255, .25); margin: 0 4px; }

/* Stock notification popover + account switcher, restyled for the bar */
header.header .topbar,
.id-topbar .topbar { background: transparent; padding: 0; }
.id-topbar .active-client .input-group-text,
.id-topbar .active-client .btn { color: rgba(255, 255, 255, .8); font-size: .8rem; }
.id-topbar .btn-signup {
    background: var(--id-orange);
    color: #fff;
    border-radius: var(--id-radius-sm);
    padding: 4px 14px;
    margin-left: 10px;
}
.id-topbar .btn-signup:hover { background: var(--id-orange-dark); color: #fff; }


/* ---------------------------------------------------------------------
   06. MAIN HEADER (white, sticky)
   --------------------------------------------------------------------- */
header.header {
    background-color: #fff;
    box-shadow: 0 1px 0 var(--id-line);
    position: relative;
    z-index: 1020;
}
header.header .navbar,
header.header .main-navbar-wrapper { background-color: #fff; }

header.header .logo-img { max-width: 200px; max-height: 44px; }

/* Nav links */
header.header .navbar a { color: var(--id-ink); }
header.header .navbar-nav > li > a {
    font-weight: 600;
    font-size: .95rem;
    padding: 14px 0;
    border-bottom: 3px solid transparent;
}
header.header .navbar-nav > li > a:hover,
header.header .navbar-nav > li.active > a {
    color: var(--id-orange);
    border-bottom-color: var(--id-orange);
}
header.header .main-navbar-wrapper { border-top: 1px solid var(--id-line); }
header.header .main-navbar-wrapper .navbar-collapse { padding: 0 15px; }

header.header .dropdown-menu {
    border: 1px solid var(--id-line);
    border-radius: var(--id-radius);
    box-shadow: var(--id-shadow-lg);
    padding: 8px;
    margin-top: 0;
}
header.header .dropdown-menu .dropdown-item a { padding: 8px 10px !important; border-radius: var(--id-radius-sm); }
header.header .dropdown-menu .dropdown-item a:hover { background: var(--id-bg); color: var(--id-orange); }

/* Toolbar (cart + hamburger) - stock CSS makes these near-white, fix that */
header.header .toolbar .nav-link {
    color: var(--id-ink);
    border-color: var(--id-line);
    border-radius: var(--id-radius-sm);
}
header.header .toolbar .nav-link:hover {
    color: var(--id-orange);
    border-color: var(--id-orange);
}
header.header .toolbar .nav-link .badge {
    background-color: var(--id-orange);
    color: #fff;
    opacity: 1;
}

/* KB search box */
header.header .search {
    border: 1px solid var(--id-line);
    border-radius: 999px;
    background: var(--id-bg);
    overflow: hidden;
    width: 280px;
}
header.header .search .form-control { background: transparent; box-shadow: none; }
header.header .search .btn { color: var(--id-muted); background: transparent; }
header.header .search:focus-within { border-color: var(--id-navy-soft); background: #fff; }

/* Breadcrumb bar */
.master-breadcrumb {
    background-color: #fff;
    border-bottom: 1px solid var(--id-line);
}
.master-breadcrumb .breadcrumb { background: transparent; }
.master-breadcrumb a { color: var(--id-muted); }
.master-breadcrumb a:hover { color: var(--id-orange); }


/* ---------------------------------------------------------------------
   07. HERO + DOMAIN SEARCH
   The hero wraps the stock includes/domain-search.tpl so all WHMCS
   form logic and JavaScript keeps working - we only restyle it.
   --------------------------------------------------------------------- */
.id-hero {
    background: linear-gradient(135deg, var(--id-navy) 0%, var(--id-navy-dark) 100%);
    color: #fff;
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
}
.id-hero::after {           /* soft decorative glow, remove if not wanted */
    content: "";
    position: absolute;
    right: -120px; top: -120px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(255, 107, 44, .22) 0%, transparent 70%);
    pointer-events: none;
}
.id-hero-inner { position: relative; z-index: 2; }
.id-hero h1 {
    color: #fff;
    font-size: 2.75rem;
    line-height: 1.15;
    margin-bottom: 14px;
}
.id-hero h1 .id-hl { color: var(--id-orange); }
.id-hero p.id-hero-sub {
    color: rgba(255, 255, 255, .8);
    font-size: 1.1rem;
    margin-bottom: 32px;
}
.id-hero-badges { list-style: none; padding: 0; margin: 28px 0 0; }
.id-hero-badges li {
    display: inline-block;
    margin: 0 18px 8px 0;
    color: rgba(255, 255, 255, .85);
    font-size: .9rem;
}
.id-hero-badges i { color: var(--id-orange); margin-right: 7px; }

/* --- restyle the stock domain search form --- */
.id-hero .home-domain-search { background: transparent !important; }
.id-hero .home-domain-search .container { padding: 0; max-width: none; }
.id-hero .home-domain-search > .container > .p-5 { padding: 0 !important; }
.id-hero .home-domain-search h2 { display: none; }   /* we use our own headline */

.id-hero .input-group-wrapper { max-width: 780px; margin: 0 auto; }
.id-hero .input-group {
    background: #fff;
    border-radius: 12px;
    padding: 6px;
    box-shadow: var(--id-shadow-lg);
}
.id-hero .input-group .form-control,
.id-hero .input-group textarea {
    border: 0;
    height: 54px;
    font-size: 1.05rem;
    padding-left: 18px;
    box-shadow: none;
    background: transparent;
}
.id-hero .input-group-append { display: flex; gap: 8px; }
.id-hero .input-group-append .btn {
    height: 54px;
    padding: 0 30px;
    font-size: 1rem;
    border-radius: 9px;
}
.id-hero .input-group-append .btn-success {   /* Transfer button */
    background-color: var(--id-navy);
    border-color: var(--id-navy);
    margin-left: 8px;
}
.id-hero .input-group-append .btn-success:hover { background-color: var(--id-navy-dark); }

/* Featured TLD prices -> Namecheap-style chips
   (populate these in Admin > Configuration > Domain Pricing > Featured) */
.id-hero .tld-logos {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    text-align: center;
}
.id-hero .tld-logos li {
    display: inline-block;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    padding: 7px 18px;
    margin: 6px 5px;
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
}
.id-hero .tld-logos li img { max-height: 16px; margin-right: 8px; vertical-align: -2px; }
.id-hero .btn-link {
    color: rgba(255, 255, 255, .8);
    float: none !important;
    display: inline-block;
    margin-top: 14px;
}
.id-hero .btn-link:hover { color: #fff; text-decoration: underline; }


/* ---------------------------------------------------------------------
   08. HOMEPAGE SECTIONS
   --------------------------------------------------------------------- */

/* Trust strip */
.id-trust {
    background: #fff;
    border-bottom: 1px solid var(--id-line);
    padding: 22px 0;
}
.id-trust .id-trust-item { text-align: center; color: var(--id-body); font-size: .92rem; }
.id-trust .id-trust-item i { color: var(--id-orange); font-size: 1.35rem; display: block; margin-bottom: 6px; }
.id-trust .id-trust-item strong { color: var(--id-ink); display: block; }

/* Product / service cards */
.id-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.id-card {
    background: #fff;
    border: 1px solid var(--id-line);
    border-radius: var(--id-radius);
    padding: 28px 26px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    display: flex;
    flex-direction: column;
}
.id-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--id-shadow-lg);
    border-color: #D6DEE8;
}
.id-card-ico {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: var(--id-orange-soft);
    color: var(--id-orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}
.id-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.id-card p  { font-size: .93rem; color: var(--id-body); margin-bottom: 18px; flex-grow: 1; }
.id-card .id-card-link { font-weight: 600; font-size: .93rem; color: var(--id-navy-soft); }
.id-card .id-card-link i { margin-left: 6px; transition: transform .15s ease; }
.id-card:hover .id-card-link { color: var(--id-orange); }
.id-card:hover .id-card-link i { transform: translateX(3px); }

/* Alternating feature rows */
.id-feature-row { padding: 44px 0; border-bottom: 1px solid var(--id-line); }
.id-feature-row:last-child { border-bottom: 0; }
.id-feature-row h3 { font-size: 1.4rem; margin-bottom: 10px; }
.id-feature-row p  { margin-bottom: 14px; }
.id-feature-ico {
    width: 76px; height: 76px;
    border-radius: 50%;
    background: var(--id-navy);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.9rem;
    margin: 0 auto;
}

/* Why-us columns */
.id-why { text-align: center; padding: 0 14px; }
.id-why i { font-size: 2.2rem; color: var(--id-orange); margin-bottom: 16px; }
.id-why h3 { font-size: 1.1rem; margin-bottom: 8px; }
.id-why p  { font-size: .93rem; }

/* Quick action tiles (kept from Twenty-One, restyled) */
.action-icon-btns a {
    display: block;
    background: #fff;
    border: 1px solid var(--id-line);
    border-radius: var(--id-radius);
    padding: 22px 10px;
    text-align: center;
    color: var(--id-ink);
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: 18px;
    transition: all .18s ease;
}
.action-icon-btns a:hover {
    border-color: var(--id-orange);
    color: var(--id-orange);
    box-shadow: var(--id-shadow);
    transform: translateY(-3px);
}
.action-icon-btns .ico-container { margin: 0 0 10px; font-size: 1.7rem; color: var(--id-navy); }
.action-icon-btns a:hover .ico-container { color: var(--id-orange); }

/* FAQ accordion */
.id-faq { max-width: 820px; margin: 0 auto; }
.id-faq .id-faq-item {
    background: #fff;
    border: 1px solid var(--id-line);
    border-radius: var(--id-radius);
    margin-bottom: 12px;
    overflow: hidden;
}
.id-faq .id-faq-q {
    display: block;
    width: 100%;
    text-align: left;
    padding: 18px 22px;
    font-weight: 600;
    color: var(--id-ink);
    background: none;
    border: 0;
}
.id-faq .id-faq-q:hover { color: var(--id-orange); }
.id-faq .id-faq-q i { float: right; color: var(--id-muted); transition: transform .2s ease; }
.id-faq .id-faq-q[aria-expanded="true"] i { transform: rotate(180deg); color: var(--id-orange); }
.id-faq .id-faq-a { padding: 0 22px 20px; font-size: .95rem; }

/* Bottom CTA band */
.id-cta {
    background: linear-gradient(135deg, var(--id-navy) 0%, var(--id-navy-dark) 100%);
    color: #fff;
    border-radius: var(--id-radius);
    padding: 44px 40px;
    text-align: center;
}
.id-cta h2 { color: #fff; font-size: 1.7rem; margin-bottom: 10px; }
.id-cta p  { color: rgba(255, 255, 255, .8); margin-bottom: 24px; }


/* ---------------------------------------------------------------------
   09. FOOTER
   --------------------------------------------------------------------- */
footer.footer {
    background-color: var(--id-navy-dark);
    color: rgba(255, 255, 255, .7);
    padding: 56px 0 28px;
    font-size: .9rem;
}
footer.footer h5 {
    color: #fff;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 16px;
}
footer.footer a, footer.footer .nav-link { color: rgba(255, 255, 255, .7); }
footer.footer a:hover, footer.footer .nav-link:hover { color: var(--id-orange); }
footer.footer .id-foot-list { list-style: none; padding: 0; margin: 0; }
footer.footer .id-foot-list li { margin-bottom: 9px; }
footer.footer .id-foot-about p { color: rgba(255, 255, 255, .6); max-width: 300px; }
footer.footer .id-foot-logo { max-height: 40px; margin-bottom: 16px; }
footer.footer .id-foot-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 36px;
    padding-top: 22px;
}
footer.footer .copyright { margin: 0; color: rgba(255, 255, 255, .55); text-align: left; }
footer.footer .btn {
    background-color: rgba(255, 255, 255, .1);
    border-radius: var(--id-radius-sm);
    color: #fff;
}
footer.footer .btn:hover { background-color: rgba(255, 255, 255, .18); }
footer.footer .id-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    margin-right: 8px;
}
footer.footer .id-social a:hover { background: var(--id-orange); color: #fff; }
footer.footer .id-pay { list-style: none; padding: 0; margin: 0; }
footer.footer .id-pay li {
    display: inline-block;
    color: rgba(255, 255, 255, .5);
    font-size: 1.5rem;
    margin-left: 10px;
}


/* ---------------------------------------------------------------------
   10. CLIENT AREA POLISH
   --------------------------------------------------------------------- */
section#main-body { padding: 36px 0 56px; }
.primary-content .card { border-radius: var(--id-radius); }
.sidebar .list-group-item.active { background: var(--id-navy); border-color: var(--id-navy); }
.panel-sidebar .list-group-item:hover { color: var(--id-orange); }
.table thead th { border-top: 0; color: var(--id-muted); font-size: .8rem;
                  text-transform: uppercase; letter-spacing: .04em; }


/* ---------------------------------------------------------------------
   11. RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1199px) {
    header.header .search { width: 100%; }
    header.header .navbar-nav > li > a { padding: 10px 0; border-bottom: 0; }
}

@media (max-width: 991px) {
    .id-cards { grid-template-columns: repeat(2, 1fr); }
    .id-hero h1 { font-size: 2.1rem; }
}

@media (max-width: 767px) {
    .id-cards { grid-template-columns: 1fr; }
    .id-section { padding: 44px 0; }
    .id-hero { padding: 44px 0 40px; }
    .id-hero h1 { font-size: 1.75rem; }
    .id-hero p.id-hero-sub { font-size: 1rem; }
    .id-hero .input-group { padding: 10px; }
    .id-hero .input-group .form-control { height: 46px; font-size: 1rem; }
    .id-topbar .id-topbar-list li:not(.id-keep-mobile) { display: none; }
    footer.footer { padding: 40px 0 24px; text-align: center; }
    footer.footer .id-foot-about p { margin-left: auto; margin-right: auto; }
    footer.footer .copyright { text-align: center; }
    .id-cta { padding: 32px 22px; }
}
