/* Contact Portfolio public landing core styles.
   Shared by public HomeController views only; admin/user-panel layouts do not load this file. */
:root {
    --cp-primary: #4c23ff;
    --cp-primary-dark: #3112b8;
    --cp-accent: #06b6d4;
    --cp-ink: #101225;
    --cp-muted: #5d6475;
    --cp-soft: #f7f9ff;
    --cp-border: rgba(16, 18, 37, 0.10);
    --cp-shadow: 0 18px 50px rgba(16, 18, 37, 0.08);
}

.cp-section-soft { background: var(--cp-soft); }
.cp-section-white { background: #fff; }
.cp-eyebrow,
.cp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--cp-primary);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.cp-lead {
    color: var(--cp-muted);
    font-size: 18px;
    line-height: 1.75;
}
.cp-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--cp-shadow);
}
.cp-card h3,
.cp-card h4 { margin-bottom: 12px; }
.cp-card p { color: var(--cp-muted); line-height: 1.7; }
.cp-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--cp-primary), var(--cp-accent));
    box-shadow: 0 14px 30px rgba(76, 35, 255, .20);
}
.cp-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.cp-link-card {
    display: block;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid var(--cp-border);
    background: #fff;
    color: var(--cp-ink);
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(16, 18, 37, .05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cp-link-card:hover {
    color: var(--cp-primary);
    border-color: rgba(76, 35, 255, .26);
    box-shadow: 0 18px 45px rgba(16, 18, 37, .10);
    transform: translateY(-2px);
}
.cp-cta-panel {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 44px;
    color: #fff;
    background: linear-gradient(135deg, #101225, #3422a6 58%, #06b6d4);
}
.cp-cta-panel p { color: rgba(255,255,255,.82); }
.cp-cta-panel .btn { margin-top: 14px; }
.cp-list-check {
    padding-left: 0;
    list-style: none;
}
.cp-list-check li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 28px;
    color: var(--cp-muted);
    line-height: 1.65;
}
.cp-list-check li::before {
    content: "\f00c";
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--cp-primary);
}

/* Keep action spacing when a pair wraps onto separate lines. */
.cp-action-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}
.cp-action-group-center { justify-content: center; }
.cp-action-group > .btn {
    margin: 0;
    max-width: 100%;
    white-space: normal;
}
.cp-header-signup .cp-header-signup-mobile { display: none; }

/* validnavs collapses at 1024px and hides attr-right below 550px.
   Keep signup in the header row and let the logo share the available space. */
@media (max-width: 1023px) {
    nav.navbar.validnavs.nav-custom > .container {
        gap: 12px;
        min-height: 76px;
    }
    nav.navbar.validnavs.nav-custom .navbar-header {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        min-width: 0;
    }
    nav.navbar.validnavs.nav-custom .navbar-header::before,
    nav.navbar.validnavs.nav-custom .navbar-header::after { display: none; }
    nav.navbar.validnavs.nav-custom .navbar-header > .navbar-toggle {
        flex: 0 0 44px;
        min-height: 44px;
        margin: 0;
        padding: 0;
    }
    nav.navbar.validnavs.nav-custom .navbar-header > .navbar-brand {
        position: static;
        transform: none;
        float: none;
        min-width: 0;
        margin: 0 auto;
        padding: 0;
    }
    nav.navbar.validnavs.nav-custom .navbar-brand > img.logo {
        width: 170px;
        max-width: 100%;
        max-height: 44px;
        object-fit: contain;
    }
    nav.navbar.validnavs.nav-custom .attr-right {
        display: block !important;
        flex: 0 0 auto;
        margin: 0;
    }
    nav.navbar.validnavs.nav-custom .attr-right .attr-nav li { margin: 0; }
    nav.navbar.validnavs.nav-custom .attr-right .cp-header-signup {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 14px !important;
        font-size: 14px;
        line-height: 1.2;
        white-space: nowrap;
        color: #fff !important;
        background: var(--bg-gradient) !important;
        border-color: transparent;
    }
    .cp-header-signup .cp-header-signup-desktop { display: none; }
    .cp-header-signup .cp-header-signup-mobile { display: inline; }
}
@media (max-width: 991px) {
    .banner-style-six .cp-action-group { justify-content: center; }
}
@media (max-width: 575px) {
    .cp-action-group {
        flex-direction: column;
        align-items: center;
    }
    .cp-action-group > .btn { width: min(100%, 320px); }
}
@media (max-width: 767px) {
    .cp-card { padding: 22px; }
    .cp-cta-panel { padding: 30px 24px; border-radius: 22px; }
    .cp-lead { font-size: 16px; }
}
