* {
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.5) transparent;
}

/* Ensure site uses a UI-friendly sans-serif stack */
body {
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif !important;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.8);
}

a {
    border-bottom: 2px solid transparent;
    /* padding-bottom: 0.25rem; */
}

a.active {
    color: rgb(37, 99, 235);
    padding-bottom: 0.25rem;
}

/* Metallic Effect Styles */
.metallic-section {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 246, 255, 0.8) 50%, rgba(225, 239, 255, 0.9) 100%);
    border: 1px solid rgba(200, 220, 255, 0.6);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05),
        0 4px 20px rgba(59, 130, 246, 0.15),
        0 8px 32px rgba(59, 130, 246, 0.08);
}

.metallic-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 248, 255, 0.85) 100%);
    border: 1px solid rgba(200, 220, 255, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 4px 16px rgba(59, 130, 246, 0.12);
}

.metallic-button {
    position: relative;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 4px 12px rgba(37, 99, 235, 0.35);
}

.metallic-button:hover {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 6px 20px rgba(37, 99, 235, 0.45);
}

section {
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    pointer-events: none;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    z-index: 40;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    border: none;
}

/* mobile menu styles */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #e6eefc;
    flex-direction: column;
    padding: 0.5rem 0;
    z-index: 50;
}

.mobile-menu.active {
    display: flex;
}

/* Metallic effect styles (shared) */
.metallic-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(240, 246, 255, 0.86) 50%, rgba(230, 240, 255, 0.95) 100%);
    border: 1px solid rgba(200, 220, 255, 0.6);
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.metallic-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.95));
    border: 1px solid rgba(220, 230, 255, 0.7);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.metallic-button {
    background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 60%, #7c3aed 100%);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.metallic-button:hover {
    transform: translateY(-2px);
}


/* Mosaic / Capabilities styles */
.mosaic-filters {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 247, 255, 0.9));
    border: 1px solid rgba(220, 230, 255, 0.6);
    padding: 1rem;
    border-radius: 12px;
}

.mosaic-filters .filter-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: #0f172a;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.mosaic-filters .filter-btn.active {
    background: linear-gradient(90deg, #eef2ff, #f3f8ff);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width:640px) {
    .mosaic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width:1024px) {
    .mosaic-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.mosaic-card {
    transition: transform 220ms ease, box-shadow 220ms ease;
    cursor: default;
}

.mosaic-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

/* Make card details always visible (disable collapse/expand) */
.mosaic-card .card-details {
    max-height: none;
    overflow: visible;
    transition: none;
}

.mosaic-card .card-meta {
    color: #475569;
    font-size: 0.95rem;
}

/* Experience tabs */
.exp-tabs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 700;
    color: #0f172a;
}

.tab-btn .tab-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
}

.tab-btn.active {
    background: linear-gradient(90deg, #eef2ff, #f3f8ff);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.06);
    border-color: rgba(200, 220, 255, 0.6);
}

.exp-panel {
    display: none;
    padding-top: 1rem;
}

.exp-panel.active {
    display: block;
}

.exp-role {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

/* common icon token used across Experience, FAQ and cards */
.ui-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

@media (max-width:640px) {
    .ui-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }
}

.exp-role .meta {
    color: #475569;
}

/* FAQ accordion */
.faq-accordion .faq-card {
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    text-align: left;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.faq-question h4 {
    margin: 0;
    font-weight: 700;
    color: #0f172a;
}

.faq-chev {
    transition: transform 240ms ease;
    color: #2563eb;
}

.faq-answer {
    padding: 0 1.25rem 1rem 1.25rem;
    color: #475569;
}

.faq-card.open .faq-chev {
    transform: rotate(180deg);
}

/* Who I Am section styles */
.who-stat {
    text-align: center;
}

.who-stat .stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.who-stat .stat-label {
    color: #475569;
    font-weight: 600;
    margin-top: 0.5rem;
}

.who-attributes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.attr-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 255, 0.9));
    border: 1px solid rgba(200, 220, 255, 0.5);
}

.attr-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.attr-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    text-align: center;
}

@media (max-width:768px) {
    .who-stat .stat-value {
        font-size: 1.875rem;
    }

    .who-attributes {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* Subtle top-transparent effect so cards reveal the page background */
.metallic-card {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 0.6) 28%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(6px);
}


/* Global section spacing tweaks
   - On small screens: add left/right gutters and reduce vertical padding
   - Slightly reduce vertical padding site-wide for a tighter layout
*/
section {
    padding-top: 2rem;
    /* slightly reduced from heavy utility spacing */
    padding-bottom: 2rem;
}

@media (max-width: 767px) {
    section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
    }

    /* Also ensure inner containers don't re-introduce wide horizontal gutters */
    .max-w-7xl,
    .max-w-4xl,
    .max-w-full {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .usp {
        flex-direction: column !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    section {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        padding-top: 1.75rem;
        padding-bottom: 1.75rem;
    }
}