body {
    font-family: 'IBM Plex Mono', sans-serif; /* General body font */
    color: #6b7280;
    background-color: #f8f9fa;
}

h1 {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.2;
    color: #111827;
}

h2 {
    font-size: 1.4rem;
    font-weight:500;
    color:#111827
}

h3 {
    font-size: 1.2rem;
    font-weight:500;
    color:#111827
}

p {
    font-size: 1rem;
    line-height: 1.5;
}

aside.skills {
    color: #6b7280;
}

aside span {
    font-size: 1rem;
    /*line-height: 0rem;*/
    display: block;
}

.btn-primary {
    background-color: #111827;
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
}

.btn-link {
    color: #0f6e87;
    text-decoration: none;
}

.btn-link:hover {
    color: #0a4a5e;
    text-decoration: underline;
}

.navbar-toggler:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

#recent-work {
    scroll-margin-top: 100px; /* Adjust this value based on your navbar height */
}

/* Extra small devices (portrait phones, less than 576px) */
@media (min-width: 575.98px) { 
    /* Your custom styles for extra small devices */
    .intro {
        padding:0 32px 0 0;
    }

/*     .skills {
        padding: 0 0 0 32px;
    } */
}

/* Small devices (landscape phones, less than 768px) */
@media (min-width: 767.98px) { 
    /* Your custom styles for small devices */


}

/* Medium devices (tablets, less than 992px) */
@media (min-width: 991.98px) { 
    /* Your custom styles for medium devices */
    
    /*
    .intro {
        height: 75vh;
    }
    */
}

/* Large devices (desktops, less than 1200px) */
@media (min-width: 1199.98px) { 
    /* Your custom styles for large devices */
}

/* Extra large devices (large desktops, less than 1400px) */
@media (min-width: 1399.98px) { 
    /* Your custom styles for extra large devices */
}

/* Extra extra large devices (larger desktops) */
@media (min-width: 1400px) { 
    /* Your custom styles for extra extra large devices */
}




.custom-container {
    max-width: 1280px !important;
    margin: 0 auto;
}


.custom-section .container {
    max-width: 1280px;
}

.row {
    padding-top: 32px;
    padding-bottom: 32px;
}


/* brand and logo */
.brand {
    display: flex;
}

.logo {
    display: none;
}

.name-title {
    display: flex;
    flex-direction: column;
    align-self: center;
}

.name {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.5;
    color: #111827;
}

.job-title {
    font-size: .9rem;
    line-height: 1.25;
}

.rounded-circle {
    border-radius: 50%;
    /* border: 2px solid #d9c6c698; */
    padding: 5px;
    background-color: #e3e2e279;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

/* tablet and desktop */

@media (min-width: 768px) {

    .logo {
        font-weight: bold;
        color: #0dcaf0;
        font-size: 2rem;
        padding: .7rem 1.2rem;
        background-color: #111827;
        border-radius: 0.375rem;
        align-self: center;
        margin-right: 1rem;
        display: inline-block;
        text-decoration: none;
    }

}

/* Global nav cleanup */
.navbar-toggler {
    border: none;
}

.logo {
    text-decoration: none;
}

/* Resume download button sizing */
.btn-resume {
    --bs-btn-padding-y: .20rem;
    --bs-btn-padding-x: .5rem;
    --bs-btn-font-size: .85rem;
}


/* =============================================================
   Case Study — Audi Dealer Website Aftersales UX Audit
   ============================================================= */

/* Hero */
.cs-hero {
    background-color: #111827;
    background-image: url('https://www.ronaldfigueroa.com/private/images/audi-usa.png');
    background-size: cover;
    background-position: center 40%;
    position: relative;
    padding: 80px 0 64px;
    min-height: 380px;
    display: flex;
    align-items: center;
}

.cs-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(17, 24, 39, 0.92) 60%, rgba(17, 24, 39, 0.68));
}

.cs-hero-inner {
    position: relative;
    z-index: 1;
}

.cs-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0dcaf0;
    margin-bottom: 0.75rem;
}

.cs-hero h1 {
    color: #f9fafb;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.cs-hero p.lead {
    color: #d1d5db;
    font-size: 1rem;
    max-width: 560px;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.cs-meta-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e5e7eb;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin: 3px 4px 3px 0;
    white-space: nowrap;
}

/* Stat cards */
.stat-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px 20px;
    text-align: center;
    height: 100%;
}

.stat-card .stat-num {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0f6e87;
    line-height: 1;
    margin-bottom: 6px;
    font-family: 'IBM Plex Mono', monospace;
}

.stat-card .stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.stat-card .stat-note {
    font-size: 0.75rem;
    color: #9ca3af;
    font-style: italic;
}

.stat-card.stat-warn .stat-num { color: #b45309; }
.stat-card.stat-alert .stat-num { color: #be123c; }

/* Method cards */
.method-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 3px solid #0f6e87;
    border-radius: 6px;
    padding: 22px 20px;
    height: 100%;
}

.method-card .method-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: #0f6e87;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.method-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.method-card p {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0;
    line-height: 1.5;
}

.method-card .method-date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: #9ca3af;
    margin-top: 10px;
}

/* Finding label badge */
.finding-label {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0f6e87;
    background: #e0f2fe;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* Impact severity blocks */
.impact-high,
.impact-medium,
.impact-low {
    padding: 10px 14px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 8px;
}

.impact-high   { background: #fef2f2; border-left: 3px solid #ef4444; }
.impact-medium { background: #fffbeb; border-left: 3px solid #f59e0b; }
.impact-low    { background: #f0fdf4; border-left: 3px solid #22c55e; }

.impact-high p,
.impact-medium p,
.impact-low p {
    font-size: 0.85rem;
    color: #374151;
    margin: 0;
    line-height: 1.45;
}

.impact-badge {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.impact-high .impact-badge   { color: #dc2626; }
.impact-medium .impact-badge { color: #d97706; }
.impact-low .impact-badge    { color: #16a34a; }

/* Recommendation cards */
.reco-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 22px 20px;
    height: 100%;
}

.reco-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 10px;
}

.reco-card ul {
    padding-left: 1.1rem;
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.65;
}

/* Section label */
.section-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0f6e87;
    margin-bottom: 6px;
}

/* Pull quote / callout block */
.quote-block {
    border-left: 3px solid #0f6e87;
    padding: 12px 20px;
    background: #f0f9ff;
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Case study image */
figcaption {
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 6px;
    font-style: italic;
}

img.cs-img {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

/* Performance score bands */
.score-band {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 10px;
}

.score-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.score-poor  { background: #fef2f2; color: #dc2626; border: 2px solid #fca5a5; }
.score-needs { background: #fffbeb; color: #d97706; border: 2px solid #fcd34d; }
.score-good  { background: #f0fdf4; color: #16a34a; border: 2px solid #86efac; }

.score-label { font-size: 0.85rem; color: #111827; font-weight: 600; margin-bottom: 2px; }
.score-sub   { font-size: 0.75rem; color: #9ca3af; }

.score-heading {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
}

.footer-copyright {
    width: 300px;
}

/* GMF hero background — overrides the Audi default set on .cs-hero */
.cs-hero-gmf {
    background-image: url('https://www.ronaldfigueroa.com/images/gmf-myaccount.jpg');
    background-position: center 134%;
}

/* =============================================================
   Case Studies nav dropdown button
   ============================================================= */

/* Base reset — kill Bootstrap's CSS variable defaults so no blue leaks in */
.nav-cs-btn {
    border: none !important;
    background: transparent !important;
    color: #212529 !important;
    --bs-btn-color: #212529;
    --bs-btn-hover-color: #212529;
    --bs-btn-active-color: #212529;
    --bs-btn-active-bg: transparent;
    --bs-btn-active-border-color: transparent;
    --bs-btn-focus-shadow-rgb: 0, 0, 0;
}

/* Every interactive state — no blue, no outline, no box-shadow */
.nav-cs-btn.show,
.nav-cs-btn:hover,
.nav-cs-btn:active,
.nav-cs-btn:focus,
.nav-cs-btn:focus-visible {
    color: #212529 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Active state — when user is on a case-study page (class added by JS or hardcoded in HTML) */
.nav-cs-btn.cs-active,
.nav-cs-btn.cs-active.show,
.nav-cs-btn.cs-active:hover,
.nav-cs-btn.cs-active:focus,
.nav-cs-btn.cs-active:active {
    color: #111827 !important;
    font-weight: 600;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

/* Override Bootstrap's default blue on active dropdown items */
.dropdown-item.active,
.dropdown-item:active {
    background-color: #111827 !important;
    color: #ffffff !important;
}